Skip to content

Let's use AI to Earn!

Update Web

I5bijibne052975e69092
diff --git a/aitoearn_web/aitoearn-web/.env b/aitoearn_web/aitoearn-web/.env
index 4ccb0c1b..65eaae89 100644
--- a/aitoearn_web/aitoearn-web/.env
+++ b/aitoearn_web/aitoearn-web/.env
@@ -1,2 +1,4 @@
# OSS URL
-NEXT_PUBLIC_OSS_URL="https://aitoearn.s3.ap-southeast-1.amazonaws.com/"
\ No newline at end of file
+NEXT_PUBLIC_OSS_URL="https://aitoearn.s3.ap-southeast-1.amazonaws.com/"
+# yika OSS
+NEXT_PUBLIC_YIKA_OSS_HOST=https://yika-bj.oss-cn-beijing.aliyuncs.com
diff --git a/aitoearn_web/aitoearn-web/.env.development b/aitoearn_web/aitoearn-web/.env.development
index 0c5b35ce..76538c68 100644
--- a/aitoearn_web/aitoearn-web/.env.development
+++ b/aitoearn_web/aitoearn-web/.env.development
@@ -1,6 +1,6 @@
NEXT_PUBLIC_EVN=dev
-# NEXT_PUBLIC_API_URL=http://localhost:7000/api
+# NEXT_PUBLIC_API_URL=/api
NEXT_PUBLIC_API_URL=https://dev.aitoearn.ai/api
NEXT_PUBLIC_HOST_URL=https://dev.aitoearn.ai
diff --git a/aitoearn_web/aitoearn-web/.gitignore b/aitoearn_web/aitoearn-web/.gitignore
index e9728ba4..864a877b 100644
--- a/aitoearn_web/aitoearn-web/.gitignore
+++ b/aitoearn_web/aitoearn-web/.gitignore
@@ -40,3 +40,5 @@ certificates
.idea/
*.idea/
+.env.development
+package-lock.json
diff --git a/aitoearn_web/aitoearn-web/@types/resources.d.ts b/aitoearn_web/aitoearn-web/@types/resources.d.ts
index 05535eba..b7c03be0 100644
--- a/aitoearn_web/aitoearn-web/@types/resources.d.ts
+++ b/aitoearn_web/aitoearn-web/@types/resources.d.ts
@@ -10,7 +10,7 @@ interface Resources {
"newWork": "新建作品",
"allPlatforms": "所有平台",
"accountManager": "账号管理器",
- "addAccount": "添加账号",
+ "addAccount": "添加频道",
"mcpManager": "MCP 管理器",
"online": "在线",
"offline": "离线",
@@ -26,7 +26,10 @@ interface Resources {
"unknownAccount": "未知账户",
"addAccountModal": {
"title": "账号添加",
- "subtitle": "选择平台添加账号"
+ "subtitle": "选择平台添加账号",
+ "currentSpace": "当前空间",
+ "pleaseChooseSpaceFirst": "请先选择空间",
+ "addTo": "添加到:"
},
"facebookPages": {
"title": "选择Facebook页面",
@@ -44,7 +47,13 @@ interface Resources {
"title": "发布计划列表",
"recordCount": "共 {{count}} 条发布计划",
"newWork": "新建作品",
- "noRecords": "暂无发布计划"
+ "noRecords": "暂无发布计划",
+ "queue": "列表",
+ "sent": "发布历史",
+ "createdDaysAgo": "您于 {{days}} 天前创建",
+ "viewPost": "查看帖子",
+ "noSentPosts": "暂无已发布的帖子",
+ "selectAccountFirst": "请先选择一个账号"
},
"chooseSpace": "选择空间",
"pleaseChooseSpace": "请选择空间",
@@ -54,7 +63,50 @@ interface Resources {
"loading": "获取IP信息中...",
"error": "IP信息获取失败",
"tooltip": "ASN: {{asn}}\n组织: {{org}}"
- }
+ },
+ "createSpace": {
+ "title": "新建空间",
+ "button": "新建空间",
+ "name": "空间名",
+ "namePlaceholder": "请输入空间名称",
+ "cancel": "取消",
+ "save": "保存",
+ "success": "新建空间成功",
+ "failed": "新建空间失败",
+ "nameRequired": "请输入空间名称"
+ },
+ "locationRestriction": {
+ "cnSpace": "当前空间为中国属地,仅显示国内平台",
+ "nonCnSpace": "当前空间为非中国属地,国内平台暂不可用"
+ },
+ "userManageSidebar": {
+ "allAccounts": "全部账号",
+ "spaces": "空间",
+ "createSpace": "新建空间",
+ "spaceNamePlaceholder": "请输入空间名称",
+ "cannotOperateDefault": "不能操作默认列表",
+ "rename": "重命名",
+ "delete": "删除",
+ "confirmDelete": "提示",
+ "confirmDeleteContent": "请确认是否删除列表:",
+ "deleteSuccess": "删除成功",
+ "createSpaceTitle": "新建空间",
+ "renameSpaceTitle": "重命名空间",
+ "cancel": "取消",
+ "save": "保存",
+ "spaceName": "空间名"
+ },
+ "userManageModal": {
+ "account": "账号",
+ "platform": "平台",
+ "space": "所属列表"
+ },
+ "rednote": "小红书",
+ "kwai": "快手",
+ "bilibili": "哔哩哔哩",
+ "wxgzh": "微信公众号",
+ "douyin": "抖音",
+ "wxsph": "微信视频号"
},
"cgmaterial": {
"header": {
@@ -219,9 +271,44 @@ interface Resources {
},
"header": {
"messages": "消息通知",
+ "income": "收入记录",
+ "wallet": "我的钱包",
"materialLibrary": "素材库",
"draftBox": "草稿箱"
},
+ "tasks": "任务中心",
+ "signIn": {
+ "title": "每日签到得积分",
+ "myPoints": "我的积分",
+ "signIn": "签到",
+ "today": "今天",
+ "rules": "签到规则",
+ "rules1": "连续签到 1-7天, 每天1积分",
+ "rules2": "连续签到 8-21天, 每天2积分",
+ "rules3": "连续签到 22天以上, 每天3积分",
+ "signedIn": "已签到",
+ "notSignedIn": "未签到",
+ "signInSuccess": "签到成功",
+ "signInFailed": "签到失败",
+ "alreadySignedIn": "今日已签到",
+ "consecutiveDays": "连续签到天数",
+ "totalPoints": "总积分"
+ },
+ "downloadApp": {
+ "title": "下载{{appName}}",
+ "operationInApp": "请在{{appName}}中操作添加",
+ "description": "为了更好的用户体验和功能完整性,该操作需要在 {{appName}} 中完成账号添加。请下载并安装 {{appName}} 后继续操作。",
+ "operationDescription": "请在Aitoearn App中操作{{platform}}频道账号<br/>为了更好的用户体验和完整性,请下载并安装Aitoearn App后继续操作。",
+ "scanQrCode": "扫描二维码下载",
+ "downloadLink": "下载链接:",
+ "copy": "复制",
+ "copySuccess": "复制成功",
+ "copyFailed": "复制失败,请手动复制",
+ "copied": "已复制",
+ "close": "关闭",
+ "downloadNow": "立即下载",
+ "tip": "💡 提示:安装完成后,请在App中登录您的账号,然后重新尝试相关操作"
+ },
"websit": {
"termsOfService": {
"title": "用户协议",
@@ -283,23 +370,73 @@ interface Resources {
}
}
},
+ "dataStatistics": {
+ "title": "数据统计",
+ "description": "在这里查看和分析您的数据统计信息。",
+ "accountData": "账号数据",
+ "selectSpace": "选择空间",
+ "inputAccountName": "请输入账号名称",
+ "noAccount": "暂无账号",
+ "totalAccount": "累计账号数",
+ "online": "在线",
+ "offline": "离线",
+ "fansCount": "粉丝数",
+ "growthFansCount": "涨粉数",
+ "loginFailed": "登陆失败",
+ "relogin": "重新登录",
+ "dataDetails": "数据明细",
+ "timeRange": "时间范围:",
+ "yesterdayIncrease": "昨日新增",
+ "readCount": "播放数",
+ "commentCount": "评论数",
+ "likeCount": "点赞数",
+ "collectCount": "收藏数",
+ "forwardCount": "分享数"
+ },
"demo": {
"demoText": "测试文字",
"title": "测试页面标题"
},
+ "engagement": {
+ "title": "互动数据",
+ "columns": {
+ "postId": "帖子ID",
+ "platform": "平台",
+ "title": "标题",
+ "mediaType": "媒体类型",
+ "publishTime": "发布时间",
+ "viewCount": "浏览数",
+ "likeCount": "点赞数",
+ "commentCount": "评论数",
+ "shareCount": "分享数",
+ "clickCount": "点击数",
+ "impressionCount": "曝光数",
+ "favoriteCount": "收藏数",
+ "permaLink": "外链",
+ "open": "打开"
+ },
+ "placeholders": {
+ "uid": "请输入账户UID"
+ },
+ "actions": {
+ "search": "查询",
+ "reset": "重置"
+ }
+ },
"home": {
"releaseBanner": {
"tag": "Release v0.8.0",
"text": "通过插件和繁荣的市场构建和扩展AI工作流程。"
},
"header": {
- "logo": "Aitorarn",
+ "logo": "Aitoearn",
"nav": {
"marketplace": "市场",
"pricing": "价格",
"status": "状态",
- "docs": "问题",
- "blog": "博客"
+ "docs": "文档",
+ "blog": "博客",
+ "download": "下载"
},
"getStarted": "立即开始"
},
@@ -309,59 +446,120 @@ interface Resources {
"github": "GitHub",
"title": "成为最好用的内容营销\nAI Agent",
"subtitle": "从今天起,使用AI轻松管理你的社交媒体。AITOEARN提供从灵感创意、内容制作,内容分发内容互动管理等一站式能力,让AI触手可及。",
- "getStarted": "立即开始"
+ "getStarted": "立即开始",
+ "useMobilePhone": "使用移动设备"
},
"brandBar": {
"title": "支持的社交媒体平台"
},
"buildSection": {
- "badge": "灵感创意",
- "title": "灵感枯竭?",
- "titleBlue": "来看看全网有哪些热点吧",
+ "badge": "功能1",
+ "title": "Content Publishing — 一键发布 · 多平台触达",
+ "titleBlue": "从创意灵感到多平台分发,再到数据分析和商业化",
"features": {
"hotTopic": {
- "title": "AI热点抓取,全网热点一网打尽",
- "description": "通过AI抓取全网热点,AI分析一键生成同款爆款内容,热点流量一网打尽"
+ "title": "多平台分发",
+ "description": "支持全球最多主流社交平台(Douyin, Kwai, Wechat, Bilibili, Rednote, Facebook, Instagram, TikTok, LinkedIn, Threads, Bluesky, YouTube Shorts, Pinterest, Google Business, Mastodon, X)。"
},
"international": {
- "title": "国际站:YouTube 、 TikTok 、 Facebook 、 Instagram 、 LinkedIn 、 X (Twitter) 、 Rednote",
- "description": "海外站热点抓取,让你第一时间了解最新动态"
+ "title": "日历编排",
+ "description": "像操作日历一样规划内容,实现多平台协同发布。"
+ }
+ },
+ "carouselHint": "使用滚轮切换图片"
+ },
+ "hotspotSection": {
+ "badge": "功能2",
+ "title": "Content Hotspot — 爆款灵感引擎",
+ "titleBlue": "爆款案例库与趋势捕捉",
+ "features": {
+ "hotTopic": {
+ "title": "爆款案例库",
+ "description": "随时查看他人如何打造 10,000+ 点赞的内容。"
},
- "domestic": {
- "title": "国内站:抖音 、 快手 、 微信 、 Bilibili",
- "description": "支持国内站的热点抓取,让你不错过每一条热点流量"
+ "international": {
+ "title": "趋势捕捉",
+ "description": "快速发现流行趋势,降低创作焦虑。"
+ }
+ },
+ "carouselHint": "使用滚轮切换图片"
+ },
+ "searchSection": {
+ "badge": "功能3",
+ "title": "Content Search — 品牌与市场洞察",
+ "titleBlue": "品牌监控与内容搜索",
+ "features": {
+ "hotTopic": {
+ "title": "品牌监控",
+ "description": "实时追踪品牌相关讨论,第一时间响应。"
+ },
+ "international": {
+ "title": "内容搜索",
+ "description": "找到目标帖子和话题,高效互动,精准拓展市场。"
+ }
+ },
+ "carouselHint": "使用滚轮切换图片"
+ },
+ "commentsSection": {
+ "badge": "功能4",
+ "title": "Comments Search — 精准用户挖掘",
+ "titleBlue": "智能评论搜索与精准转化",
+ "features": {
+ "hotTopic": {
+ "title": "智能评论搜索",
+ "description": "快速发现\"求链接\"\"怎么购买\"等高转化信号。"
+ },
+ "international": {
+ "title": "精准转化",
+ "description": "主动回复,提升流量变现效率。"
}
},
"carouselHint": "使用滚轮切换图片"
},
"connectSection": {
- "badge": "功能介绍",
- "title": "自媒体运营平台一站式解决方案",
- "titleBlue": "从灵感创意到内容制作,从内容分发到内容互动管理",
+ "badge": "功能5",
+ "title": "Content Engagement — 互动与增长引擎",
+ "titleBlue": "统一后台与主动运营",
"features": {
"creation": {
- "title": "内容创作",
- "description": "AI内容创作,AI图片生成,图文创作等AI能力,让你的内容更加生动有趣"
+ "title": "统一后台",
+ "description": "集中管理所有内容,互动零遗漏。"
},
"distribution": {
- "title": "内容分发",
- "description": "支持国内外多平台分发,让你的内容触达更多用户,一键式管理,让你的内容触达更多用户"
- },
- "interaction": {
- "title": "内容互动管理",
- "description": "支持国内外多平台互动管理,让你的内容互动更加高效,一键式管理,让你的内容互动更加高效"
- },
- "analytics": {
- "title": "数据分析",
- "description": "支持国内外多平台数据分析,让你的数据分析更加高效,一键式管理,让你的数据分析更加高效"
+ "title": "主动运营",
+ "description": "参与热门话题,与潜在用户双向互动。把\"被动内容运营\"变成\"主动流量经营\"。"
}
},
"carouselHint": "使用滚轮切换图片"
},
+ "upcomingSection": {
+ "badge": "即将上线",
+ "title": "AI 驱动的全链路内容增长与变现平台",
+ "titleBlue": "即将上线功能,敬请期待",
+ "features": {
+ "smartImport": {
+ "title": "智能导入",
+ "description": "直接导入历史内容,快速编辑、二次分发。例如:小红书创作者可一键同步到 YouTube,让更多用户看到。"
+ },
+ "analytics": {
+ "title": "Content Analytics — 全景化数据视图",
+ "description": "多平台对比:一个平台不给流量,不代表所有平台不给。全链路监控:追踪内容表现,助力打造下一个百万博主。"
+ },
+ "aiCreation": {
+ "title": "AI Content Creation — 全流程 AI 助手",
+ "description": "AI 文案生成:自动生成标题、描述,高效产出。AI 评论生成:主动出击,获取流量。图文卡片生成,全流程加速创作。支持主流 AI 视频模型和图片模型。"
+ },
+ "marketplace": {
+ "title": "Content Marketplace — 内容交易与变现",
+ "description": "创作者变现:在平台直接出售内容,让优质作品快速找到买家。品牌采购:企业可直接购买现成内容,节省时间与成本。让创作变成收益 —— Let's use AI to earn. Let's earn money together!"
+ }
+ }
+ },
"downloadSection": {
"title": "随时随地开始创作",
"titleBlue": "移动端也能轻松管理",
- "description": "借助 AI ToEarn 移动应用,您的创作不再局限于桌面端。我们还为您提供 iOS 和 Android 移动应用,随时随地释放您的创造力,仅需一部手机即可!",
+ "description": "借助 AI ToEarn 移动应用,您的创作不再局限于桌面端。我们还为您提供App移动应用,随时随地释放您的创造力,仅需一部手机即可!",
+ "qrCodeText": "扫描二维码下载",
"appStore": {
"text": "Download on the",
"store": "App Store"
@@ -420,6 +618,8 @@ interface Resources {
"wechat": "微信群组",
"community": "创作者交流群"
},
+ "wechatPopup": "扫码关注微信公众号",
+ "communityPopup": "扫码加入社区群",
"stats": {
"downloads": {
"number": "20万+",
@@ -441,6 +641,7 @@ interface Resources {
"links": {
"docs": "文档",
"blog": "博客",
+ "download": "下载",
"education": "教育",
"partner": "合作伙伴",
"support": "服务支持",
@@ -499,7 +700,7 @@ interface Resources {
"comments": "评论数",
"collections": "收藏数",
"publishTime": "发布于",
- "fans": "粉丝",
+ "fans": "粉丝数",
"viewMore": "查看更多",
"timeRange": "时间范围",
"filter": "筛选",
@@ -511,13 +712,87 @@ interface Resources {
"noHotTopics": "暂无热点数据",
"noViralTitles": "暂无爆款标题数据",
"noTopicData": "暂无专题数据",
- "total": "共",
+ "total": "总",
"items": "条",
"video": "视频",
"noImage": "暂无图片",
"platform": "平台",
"hotEvents": "热点事件",
- "hotContent": "热点内容"
+ "hotContent": "热点内容",
+ "noTitle": "暂无标题",
+ "baseInfo": "基本信息",
+ "views": "播放数",
+ "recommend": "推荐数",
+ "watch": "在看数",
+ "dailyRank": "日榜",
+ "updateFrequency": "更新时间",
+ "statEndTime": "统计数据截止",
+ "daily": "按日",
+ "sortRule": "排序规则",
+ "sortRuleDesc": "统计当日点赞量前500名的作品推荐",
+ "dataDescription": "数据说明",
+ "expand": "展开",
+ "collapse": "收起",
+ "hotValue": "热度值",
+ "hotTrend": "热度趋势",
+ "shortDrama": "短剧",
+ "cultureTourism": "文旅",
+ "contentOverseas": "内容出海",
+ "hot": "热点",
+ "last3days": "近3天",
+ "last7days": "近7天",
+ "last15days": "近15天",
+ "last30days": "近30天",
+ "backToAll": "返回全部",
+ "last90days": "近90天"
+ },
+ "income": {
+ "title": "我的收入",
+ "subtitle": "管理您的收入记录和提现申请",
+ "currentBalance": "当前余额",
+ "incomeRecords": "收入记录",
+ "withdrawRecords": "提现记录",
+ "incomeId": "收入ID",
+ "amount": "金额",
+ "type": "类型",
+ "description": "描述",
+ "createTime": "创建时间",
+ "actions": "操作",
+ "applyWithdraw": "申请提现",
+ "withdrawId": "提现ID",
+ "status": "状态",
+ "updateTime": "更新时间",
+ "confirmWithdraw": "确认提现申请",
+ "cancel": "取消",
+ "confirm": "确认提现",
+ "withdrawAmount": "提现金额",
+ "incomeType": "收入类型",
+ "withdrawWarning": "⚠️ 提现申请提交后,我们将在1-3个工作日内处理您的申请。",
+ "withdrawWarning2": "请确保您的账户信息正确,提现成功后金额将转入您的指定账户。",
+ "incomeTypes": {
+ "task": "任务收入",
+ "task_back": "任务回退",
+ "reward_back": "奖励回退",
+ "task_withdraw": "任务提现"
+ },
+ "withdrawStatus": {
+ "wait": "等待处理",
+ "success": "提现成功",
+ "fail": "提现失败",
+ "task_withdraw": "任务提现"
+ },
+ "messages": {
+ "getIncomeRecordsFailed": "获取收入记录失败",
+ "getWithdrawRecordsFailed": "获取提现记录失败",
+ "withdrawSubmitted": "提现申请提交成功",
+ "withdrawFailed": "提现申请提交失败",
+ "pleaseLoginFirst": "请先登录",
+ "noIncomeRecords": "暂无收入记录",
+ "noWithdrawRecords": "暂无提现记录",
+ "loading": "加载中...",
+ "totalRecords": "共 {{total}} 条记录"
+ },
+ "myWallet": "我的钱包"
},
"login": {
"welcomeBack": "哎呦赚",
@@ -662,7 +937,6 @@ interface Resources {
"fireflyCardGenerationFailed": "生成流光卡片失败",
"pleaseEnterContentAndTitle": "请输入内容和标题",
"taskSubmittedSuccess": "任务已提交",
- "videoGenerationSuccess": "视频生成成功",
"checkVideoTaskStatusFailed": "检查视频任务状态失败",
"pleaseEnterVideoDescription": "请输入视频描述",
"selectSizePlaceholder": "选择尺寸",
@@ -689,7 +963,110 @@ interface Resources {
"templateEasy": "边框",
"templateWrite": "手写",
"pleaseUploadFirstFrame": "请上传首帧图片",
- "pleaseUploadTailFrame": "请上传尾帧图片"
+ "pleaseUploadTailFrame": "请上传尾帧图片",
+ "imageRequirements": "图片要求",
+ "aspectRatioRange": "宽高比范围",
+ "aspectRatioRangeValue": "(0.4, 2.5)",
+ "dimensionRange": "宽高长度范围",
+ "dimensionRangeValue": "(300px, 6000px)",
+ "imageSizeLimit": "图片大小限制",
+ "imageSizeLimitValue": "小于30MB",
+ "imageFormatSupport": "支持格式",
+ "imageFormatSupportValue": "JPG, PNG, WEBP",
+ "estimatedCreditCost": "预计消耗积分",
+ "credits": "积分",
+ "getImageModelsFailed": "获取图片生成模型失败",
+ "getVideoModelsFailed": "获取视频生成模型失败"
+ }
+ },
+ "notification": {
+ "title": "消息通知",
+ "detailTitle": "通知详情",
+ "markAllAsRead": "全部标记为已读",
+ "markAsRead": "标记为已读",
+ "delete": "删除",
+ "close": "关闭",
+ "noNotifications": "暂无通知",
+ "confirmDelete": "确定要删除这条通知吗?",
+ "confirm": "确定",
+ "cancel": "取消",
+ "deleteSuccess": "删除成功",
+ "deleteFailed": "删除失败",
+ "markSuccess": "标记成功",
+ "markFailed": "标记失败",
+ "markAllSuccess": "全部标记成功",
+ "getNotificationListFailed": "获取通知列表失败",
+ "getNotificationDetailFailed": "获取通知详情失败",
+ "createTime": "创建时间",
+ "readTime": "已读时间",
+ "taskDetail": "任务详情",
+ "acceptTask": "接受任务",
+ "noTaskDetails": "暂无任务详情",
+ "taskProcessing": "任务处理中...",
+ "acceptingTask": "正在接受任务...",
+ "publishingTask": "正在发布任务...",
+ "submittingTask": "正在提交任务...",
+ "taskCompleted": "任务完成",
+ "taskProcessFailed": "任务处理失败",
+ "acceptTaskFailed": "接受任务失败",
+ "publishTaskFailed": "发布任务失败",
+ "submitTaskFailed": "提交任务失败",
+ "getTaskDetailFailed": "获取任务详情失败",
+ "accountInfoFailed": "账号信息获取失败",
+ "appRequiredNotice": "⚠️ 注意:",
+ "appRequiredMessage": "发布账号({{platform}})的任务需要在移动端App中操作,请下载对应App后继续。",
+ "mediaPreview": "媒体预览",
+ "pageInfo": "第 {{start}}-{{end}} 条,共 {{total}} 条",
+ "notificationTypes": {
+ "system": "系统通知",
+ "user": "用户通知",
+ "material": "素材通知",
+ "task_reminder": "任务提醒",
+ "other": "其他通知"
+ },
+ "taskStatus": {
+ "active": "进行中",
+ "inactive": "已结束"
+ },
+ "taskInfo": {
+ "description": "描述",
+ "publisherAccount": "发布账号",
+ "reward": "奖励",
+ "taskType": "任务类型",
+ "platformTypes": "支持平台"
+ },
+ "taskTypes": {
+ "video": "视频",
+ "article": "图文",
+ "article2": "纯文字"
+ },
+ "platforms": {
+ "tiktok": "TikTok",
+ "youtube": "YouTube",
+ "twitter": "Twitter",
+ "bilibili": "哔哩哔哩",
+ "KWAI": "快手",
+ "douyin": "抖音",
+ "xhs": "小红书",
+ "wxSph": "微信视频号",
+ "wxGzh": "微信公众号",
+ "facebook": "Facebook",
+ "instagram": "Instagram",
+ "threads": "Threads",
+ "pinterest": "Pinterest"
+ },
+ "time": {
+ "justNow": "刚刚",
+ "minutesAgo": "{{minutes}}分钟前",
+ "hoursAgo": "{{hours}}小时前",
+ "daysAgo": "{{days}}天前"
+ },
+ "accountSelect": {
+ "title": "选择发布账号",
+ "description": "描述",
+ "noAccounts": "没有符合条件的账号,请先添加账号",
+ "redirectingToAccounts": "正在跳转到账户界面,请添加符合条件的账号",
+ "accountId": "账号ID"
}
},
"pinterest": {
@@ -707,7 +1084,8 @@ interface Resources {
"view": "查看",
"edit": "编辑",
"delete": "删除",
- "link": "链接"
+ "link": "链接",
+ "change": "更改"
},
"stats": {
"followers": "关注者",
@@ -769,7 +1147,8 @@ interface Resources {
"followers": "关注者",
"owner": "拥有者",
"yes": "是",
- "no": "否"
+ "no": "否",
+ "selected": "当前选择"
},
"empty": {
"noBoards": "暂无Board",
@@ -796,7 +1175,8 @@ interface Resources {
"selectImageFile": "请选择图片文件",
"imageSizeLimit": "图片大小不能超过10MB",
"imageUploadSuccess": "图片上传成功",
- "imageUploadFailed": "图片上传失败,请重试"
+ "imageUploadFailed": "图片上传失败,请重试",
+ "noAccountFound": "没有找到Pinterest账户"
},
"validation": {
"boardNameRequired": "请输入Board名称",
@@ -814,6 +1194,7 @@ interface Resources {
"subtitle": "选择最适合您需求的套餐,开始您的AI创作之旅",
"monthly": "月付",
"yearly": "年付",
+ "save25": "省25%",
"save50": "省50%",
"month": "月",
"credits": "积分",
@@ -858,28 +1239,388 @@ interface Resources {
},
"faq": {
"title": "常见问题",
- "items": [
- {
- "question": "如何选择合适的套餐?",
- "answer": "如果您是个人用户或刚开始使用AI创作,建议选择Free套餐体验。如果您需要更多功能和更高的使用限制,Plus套餐是更好的选择。"
- },
- {
- "question": "可以随时升级或降级套餐吗?",
- "answer": "是的,您可以随时升级到更高套餐。降级将在当前计费周期结束后生效。"
- },
- {
- "question": "积分是如何计算的?",
- "answer": "积分根据您生成的内容类型和复杂度计算。视频生成消耗更多积分,图片生成消耗较少积分。"
- },
- {
- "question": "支持哪些支付方式?",
- "answer": "我们支持信用卡、借记卡、PayPal等多种支付方式,确保安全便捷的支付体验。"
- },
- {
- "question": "有退款政策吗?",
- "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"
+ "paymentMethods": {
+ "question": "你们支持哪些支付方式?",
+ "answer": "我们支持多种支付方式,包括主要的信用卡(Visa、MasterCard、American Express)以及支付宝等。如果您在中国使用我们的服务,可以通过支付宝购买一次性服务。"
+ },
+ "creditDeduction": {
+ "question": "图片和视频生成时,积分是如何扣除的?",
+ "answer": "我们的图片和视频生成定价与官方渠道保持一致。通常情况下,如果官方渠道有大额采购折扣,我们也会同步将这些优惠让利给您。",
+ "pricingTable": {
+ "title": "详细价格表",
+ "headers": {
+ "model": "模型",
+ "type": "类型",
+ "duration": "时长",
+ "resolution": "分辨率",
+ "notes": "备注",
+ "credits": "积分",
+ "price": "价格",
+ "channel": "渠道"
+ },
+ "rows": [
+ {
+ "model": "gpt-5",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "大模型价格以官方价格为准",
+ "credits": "每百万tokens",
+ "price": "输入 9元,输出 72元",
+ "channel": "yun"
+ },
+ {
+ "model": "gpt-5-mini",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入 1.8元,输出 14.4元",
+ "channel": "yun"
+ },
+ {
+ "model": "gpt-5-nano",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入 0.36元,输出 2.88元",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-pro",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "支持视频",
+ "notes": "",
+ "credits": "",
+ "price": "输入9元,输出 72元",
+ "channel": "yun"
+ },
+ {
+ "model": "chatgpt-4o-latest",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入 36元,输出 108元",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-flash",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "支持视频",
+ "notes": "",
+ "credits": "",
+ "price": "输入 2.16元,输出 18元",
+ "channel": "yun"
+ },
+ {
+ "model": "qwen-vl-max-latest",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入1.6元,输出4元",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-flash-image",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "又名nano banana,支持多图像输入",
+ "credits": "1",
+ "price": "0.27元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedream-3.0",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "2.6",
+ "price": "0.26元",
+ "channel": "官方"
+ },
+ {
+ "model": "seededit-3.0",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "图片编辑,支持jpeg、png格式",
+ "credits": "3",
+ "price": "0.3元",
+ "channel": "官方"
+ },
+ {
+ "model": "gpt-image-1",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "支持图片编辑",
+ "notes": "",
+ "credits": "促销",
+ "price": "low $0.011-0.016,medium $0.042-0.063,high $0.167-0.25",
+ "channel": "yun"
+ },
+ {
+ "model": "FLUX.1 Kontext [max]",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "支持图片编辑",
+ "notes": "",
+ "credits": "1.5",
+ "price": "0.6元",
+ "channel": "yun"
+ },
+ {
+ "model": "FLUX.1 Kontext [pro]",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "支持图片编辑",
+ "notes": "",
+ "credits": "1",
+ "price": "0.3元",
+ "channel": "yun"
+ },
+ {
+ "model": "Flux 1.1 pro ultra",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "4.5",
+ "price": "0.45元",
+ "channel": "官方"
+ },
+ {
+ "model": "Flux1.1 pro",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "3",
+ "price": "0.3元",
+ "channel": "官方"
+ },
+ {
+ "model": "midjourney relax",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "",
+ "notes": "",
+ "credits": "免费",
+ "price": "",
+ "channel": "yun"
+ },
+ {
+ "model": "midjourney fast/turbo",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "",
+ "notes": "",
+ "credits": "4",
+ "price": "",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "",
+ "credits": "20",
+ "price": "2元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "视频生成",
+ "duration": "10秒",
+ "resolution": "720p",
+ "notes": "",
+ "credits": "40",
+ "price": "4元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "视频生成",
+ "duration": "10秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "70",
+ "price": "7元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling2.1大师",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "100",
+ "price": "10元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling2.1大师",
+ "type": "视频生成",
+ "duration": "10秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "200",
+ "price": "20元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.2-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "480p",
+ "notes": "",
+ "credits": "70",
+ "price": "0.7元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.2-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.1-turbo(14b)",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "不要使用火山渠道",
+ "credits": "12",
+ "price": "1.2元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.1-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "支持首尾帧",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "wanx2.1-vace-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "视频编辑",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "480p",
+ "notes": "支持10秒",
+ "credits": "7.2",
+ "price": "0.72元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "10秒价格翻倍",
+ "credits": "16.4",
+ "price": "1.64元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "36.7",
+ "price": "3.67元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "480p",
+ "notes": "支持首尾帧",
+ "credits": "5",
+ "price": "0.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "支持10秒",
+ "credits": "11",
+ "price": "1.1元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "10秒价格翻倍",
+ "credits": "25",
+ "price": "2.5元",
+ "channel": "yun"
+ }
+ ]
}
- ]
+ },
+ "creditExpiry": {
+ "question": "我的积分会过期吗?",
+ "answer": "我们的积分过期机制非常宽松。积分自获取之日起 12 个自然月后才会过期,您有充足的时间使用。"
+ },
+ "moreCredits": {
+ "question": "如果我需要更多积分怎么办?",
+ "answer": "您可以通过每天发布内容来获取免费积分。同时,也可以通过开通会员或直接购买积分的方式获得更多积分。"
+ },
+ "checkCredits": {
+ "question": "如何查看我的积分情况?",
+ "answer": "点击您的积分余额,即可查看积分的变更明细。"
+ },
+ "hiddenFees": {
+ "question": "是否存在隐藏费用?",
+ "answer": "没有。您所看到的价格就是您最终支付的价格,不会有任何额外的隐性收费。"
+ },
+ "refundPolicy": {
+ "question": "有退款政策吗?",
+ "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"
+ }
}
},
"profile": {
@@ -985,9 +1726,38 @@ interface Resources {
"expire": "过期",
"aiService": "AI服务",
"userRegister": "用户注册",
+ "publish": "发布作品",
+ "point": "积分交易",
"noPointsRecords": "暂无积分记录",
"totalRecords": "共 {{total}} 条记录"
},
+ "pointsPurchase": {
+ "title": "购买积分",
+ "currentPoints": "当前积分",
+ "selectAmount": "选择购买数量",
+ "description": "每1000积分售价15美元,滑动选择购买数量",
+ "purchasePoints": "购买积分",
+ "totalPrice": "总价",
+ "buyNow": "立即购买",
+ "paying": "支付中...",
+ "paymentTip": "支付完成后,请点击下方按钮确认支付状态",
+ "confirmPayment": "我已支付",
+ "purchaseSuccess": "积分购买成功!",
+ "paymentPending": "订单尚未支付成功,请稍后再试",
+ "orderRefunded": "订单已退款",
+ "orderCancelled": "订单已取消",
+ "orderUnknown": "订单状态未知,请稍后再试",
+ "queryFailed": "查询订单状态失败,请重试",
+ "createOrderFailed": "创建支付订单失败,请重试",
+ "redirectingToPayment": "正在跳转到支付页面...",
+ "publish": "发布",
+ "publishDesc": "发布内容获得积分奖励",
+ "vip": "开通会员",
+ "vipDesc": "会员专享积分福利",
+ "buyPoints": "购买积分",
+ "buyPointsDesc": "直接充值获得积分",
+ "getPointsMethods": "获取积分的方法:"
+ },
"freeTrial": {
"title": "🎉 免费会员体验",
"congratulations": "恭喜您获得7天免费会员体验!",
@@ -1046,7 +1816,9 @@ interface Resources {
"regionPlaceholder": "请选择国区",
"category": "视频分类",
"categoryPlaceholder": "请选择视频分类",
- "categoryPlaceholderDisabled": "请先选择国区"
+ "categoryPlaceholderDisabled": "请先选择国区",
+ "board": "Board",
+ "boardPlaceholder": "请选择Board"
},
"upload": {
"finishingUp": "正在完成...",
@@ -1071,11 +1843,19 @@ interface Resources {
"partitionRequired": "您必须选择分区!",
"sourceRequired": "转载时必须填写转载来源!",
"pageRequired": "您必须选择页面!",
+ "boardRequired": "您必须选择Board!",
"coverSizeError": "封面最小尺寸400*400!"
},
"preview": {
"title": "预览",
- "emptyDescription": "在这里看到你的作品预览"
+ "emptyDescription": "在这里看到你的作品预览",
+ "videoInfo": {
+ "filename": "文件名",
+ "format": "格式",
+ "resolution": "分辨率",
+ "size": "大小",
+ "duration": "时长"
+ }
},
"draft": {
"selectDraft": "选择草稿",
@@ -1097,7 +1877,36 @@ interface Resources {
},
"actions": {
"selectMaterial": "选择素材",
- "selectDraft": "选择草稿"
+ "selectDraft": "选择草稿",
+ "cropCover": "裁剪封面"
+ },
+ "tiktok": {
+ "creatorInfo": "创作者信息",
+ "privacy": {
+ "title": "谁可以观看",
+ "placeholder": "请选择隐私级别",
+ "public": "公开",
+ "friends": "朋友",
+ "private": "仅自己"
+ },
+ "interactions": {
+ "title": "允许用户",
+ "comment": "评论",
+ "duet": "合拍",
+ "stitch": "拼接"
+ },
+ "commercial": {
+ "title": "披露视频",
+ "toggle": "开启以披露此视频推广商品或服务以换取价值。",
+ "yourBrand": "您的品牌 - 您正在推广自己或自己的业务。此内容将被分类为品牌有机内容。",
+ "brandedContent": "品牌内容 - 您正在推广另一个品牌或第三方。此内容将被分类为品牌内容。"
+ },
+ "compliance": {
+ "default": "发布即表示您同意 TikTok 的音乐使用确认。",
+ "organic": "发布即表示您同意 TikTok 的音乐使用确认。",
+ "branded": "发布即表示您同意 TikTok 的品牌内容政策音乐使用确认。",
+ "both": "发布即表示您同意 TikTok 的品牌内容政策音乐使用确认。"
+ }
}
},
"route": {
@@ -1106,7 +1915,117 @@ interface Resources {
"publish": "发布",
"hotContent": "热门内容",
"hotContentNew": "热门内容新",
- "navigation": "导航"
+ "download": "下载",
+ "aiTools": "AI工具",
+ "tasks": "任务中心",
+ "interactive": "作品互动",
+ "engagement": "互动数据",
+ "dataStatistics": "数据统计",
+ "navigation": "导航",
+ "aiRank": "AI热榜"
+ },
+ "task": {
+ "title": "任务中心",
+ "subtitle": "接受任务,完成任务,获得奖励",
+ "pendingTasks": "待接受任务",
+ "acceptedTasks": "已接受任务",
+ "taskDetails": "任务详情",
+ "acceptTask": "接受任务",
+ "completeTask": "完成任务",
+ "submitTask": "提交任务",
+ "viewDetails": "查看详情",
+ "taskProcessing": "任务处理中...",
+ "acceptingTask": "正在接受任务...",
+ "publishingTask": "正在发布任务...",
+ "submittingTask": "正在提交任务...",
+ "taskCompleted": "任务完成",
+ "taskStatus": {
+ "pending": "待完成",
+ "doing": "已完成",
+ "accepted": "已接受",
+ "completed": "已完成",
+ "rejected": "已拒绝",
+ "active": "进行中",
+ "inactive": "已结束"
+ },
+ "taskTypes": {
+ "video": "视频",
+ "article": "图文",
+ "article2": "纯文字"
+ },
+ "platforms": {
+ "tiktok": "TikTok",
+ "youtube": "YouTube",
+ "twitter": "Twitter",
+ "bilibili": "哔哩哔哩",
+ "KWAI": "快手",
+ "douyin": "抖音",
+ "xhs": "小红书",
+ "wxSph": "微信视频号",
+ "wxGzh": "微信公众号",
+ "facebook": "Facebook",
+ "instagram": "Instagram",
+ "threads": "Threads",
+ "pinterest": "Pinterest"
+ },
+ "taskInfo": {
+ "publishTime": "发布时间",
+ "endTime": "结束时间",
+ "acceptTime": "接受时间",
+ "submitTime": "提交时间",
+ "reward": "奖励",
+ "type": "类型",
+ "status": "状态",
+ "description": "描述",
+ "account": "发布账号",
+ "currentRecruits": "已接受",
+ "maxRecruits": "最大招募",
+ "people": "人",
+ "firstSubmission": "首次提交"
+ },
+ "messages": {
+ "pleaseLoginFirst": "请先登录以查看任务",
+ "getPendingTasksFailed": "获取待接受任务失败",
+ "getAcceptedTasksFailed": "获取已接受任务失败",
+ "acceptTaskSuccess": "接受任务成功!",
+ "acceptTaskFailed": "接受任务失败",
+ "submitTaskSuccess": "任务提交成功!",
+ "submitTaskFailed": "任务提交失败",
+ "publishTaskFailed": "发布任务失败",
+ "getTaskDetailFailed": "获取任务详情失败",
+ "taskProcessFailed": "任务处理失败",
+ "noPendingTasks": "暂无待接受任务",
+ "noAcceptedTasks": "暂无已接受任务",
+ "noTaskDetails": "暂无任务详情",
+ "loading": "加载中...",
+ "totalRecords": "共 {{total}} 条记录",
+ "pageInfo": "第 {{start}}-{{end}} 条,共 {{total}} 条",
+ "taskInProgress": "任务正在进行中,可以接受",
+ "taskEnded": "任务已结束",
+ "acceptedCount": "已接受 {{current}}/{{max}} 人"
+ },
+ "modal": {
+ "submitTask": "提交任务",
+ "submitLink": "提交链接",
+ "submitLinkPlaceholder": "请输入任务完成后的链接",
+ "submitTip": "请确保您已经完成了任务要求,并提供了正确的提交链接。",
+ "confirmSubmit": "确认提交",
+ "cancel": "取消",
+ "close": "关闭",
+ "mediaPreview": "媒体预览"
+ },
+ "time": {
+ "justNow": "刚刚",
+ "minutesAgo": "{{minutes}}分钟前",
+ "hoursAgo": "{{hours}}小时前",
+ "daysAgo": "{{days}}天前"
+ },
+ "accountSelect": {
+ "title": "选择账号",
+ "description": "请选择要用于发布任务的账号",
+ "accountId": "账号ID",
+ "redirectingToAccounts": "正在跳转到账户页面,请添加频道账号"
+ }
},
"translation": {
"title": "AIToEarn官方网站",
@@ -1126,8 +2045,8 @@ interface Resources {
"description": "选择连续包月或连续包年,可享受7天免费试用期!"
},
"trialText": {
- "month": "前7天免费,之后$15/月",
- "year": "前7天免费,之后$120/年"
+ "month": "前7天免费,之后$19/月",
+ "year": "前7天免费,之后$144/年"
},
"badge": {
"onceMonth": "一次性",
@@ -1152,6 +2071,55 @@ interface Resources {
"year": "年度订阅"
}
},
+ "wallet": {
+ "title": "我的钱包",
+ "columns": {
+ "userName": "真实姓名",
+ "mail": "邮箱",
+ "account": "账号",
+ "type": "类型",
+ "phone": "手机号",
+ "cardNum": "身份证号",
+ "actions": "操作"
+ },
+ "types": {
+ "ZFB": "支付宝",
+ "WX_PAY": "微信支付"
+ },
+ "actions": {
+ "create": "新增账户",
+ "edit": "编辑",
+ "delete": "删除",
+ "deleteConfirm": "确认删除该钱包账户?"
+ },
+ "dialogs": {
+ "createTitle": "新增钱包账户",
+ "editTitle": "编辑钱包账户"
+ },
+ "form": {
+ "userId": "用户ID",
+ "userIdPlaceholder": "自动填充当前用户ID",
+ "mail": "邮箱",
+ "mailPlaceholder": "请输入邮箱",
+ "mailInvalid": "请输入有效的邮箱地址",
+ "userName": "真实姓名",
+ "userNamePlaceholder": "请输入真实姓名(可选)",
+ "account": "账号",
+ "accountPlaceholder": "请输入收款账号",
+ "cardNum": "身份证号",
+ "cardNumPlaceholder": "请输入身份证号(可选)",
+ "phone": "手机号",
+ "phonePlaceholder": "请输入绑定手机号(可选)",
+ "type": "类型",
+ "typePlaceholder": "请选择类型",
+ "required": "必填项"
+ },
+ "messages": {
+ "createSuccess": "创建成功",
+ "updateSuccess": "更新成功",
+ "deleteSuccess": "删除成功"
+ }
+ },
"youtube": {
"youtubeAuth": "YouTube 授权",
"authDescription": "请输入您的邮箱地址以获取 YouTube 授权",
diff --git a/aitoearn_web/aitoearn-web/README.md b/aitoearn_web/aitoearn-web/README.md
index 7f42b636..066bfebc 100644
--- a/aitoearn_web/aitoearn-web/README.md
+++ b/aitoearn_web/aitoearn-web/README.md
@@ -9,3 +9,4 @@ https://dev.aitoearn.ai/api/docs
## 测试地址
https://apitest.aitoearn.ai/api/
+
diff --git a/aitoearn_web/aitoearn-web/docs/api.json b/aitoearn_web/aitoearn-web/docs/api.json
deleted file mode 100644
index 0a7a952e..00000000
--- a/aitoearn_web/aitoearn-web/docs/api.json
+++ /dev/null
@@ -1,12237 +0,0 @@
-{
- "openapi": "3.0.0",
- "paths": {
- "/": {
- "get": {
- "operationId": "AppController_getHello",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "tags": [
- "App"
- ]
- }
- },
- "/api/test/addDefaultContent": {
- "get": {
- "operationId": "TestController_addDefaultContent",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "测试"
- ]
- }
- },
- "/api/user/info/mail/{mail}": {
- "get": {
- "description": "用户信息",
- "operationId": "UserController_infoByMail",
- "parameters": [
- {
- "name": "mail",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "用户信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/mine": {
- "get": {
- "description": "获取自己的用户信息",
- "operationId": "UserController_getUserInfoById",
- "parameters": [],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserResDto"
- }
- }
- }
- },
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取自己的用户信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/info/update": {
- "put": {
- "description": "更新用户信息",
- "operationId": "UserController_updateInfo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateUserInfoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新用户信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/vip/set/experience": {
- "put": {
- "description": "设置用户体验VIP信息",
- "operationId": "UserController_setVipExperience",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "设置用户体验VIP信息",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/user/points/records": {
- "get": {
- "operationId": "UserController_getMyPointsRecords",
- "parameters": [
- {
- "name": "page",
- "required": true,
- "in": "query",
- "description": "页码",
- "schema": {
- "default": 1,
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "query",
- "description": "每页数量",
- "schema": {
- "default": 10,
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PointsRecordsVo"
- }
- }
- }
- }
- },
- "summary": "获取我的积分记录",
- "tags": [
- "用户"
- ]
- }
- },
- "/api/login/mail": {
- "post": {
- "description": "邮箱登陆/注册",
- "operationId": "LoginController_loginByMail",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MailLoginDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "邮箱登陆/注册",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/mail/regist/url": {
- "get": {
- "description": "用户点击链接后,进行注册,返回注册结果的html文本",
- "operationId": "LoginController_registByMail",
- "parameters": [
- {
- "name": "mail",
- "required": true,
- "in": "query",
- "schema": {
- "title": "邮箱",
- "type": "string"
- }
- },
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "邮箱注册确认",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/mail/regist/back": {
- "post": {
- "description": "轮询获取",
- "operationId": "LoginController_getRegistByMailBack",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetRegistByMailBackDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取邮箱注册返回",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/repassword/mail": {
- "post": {
- "description": "邮箱重置密码",
- "operationId": "LoginController_repasswordByMail",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MailRepasswordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "邮箱重置密码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/repassword/mail/back/url": {
- "get": {
- "description": "用户点击链接后,进行重设",
- "operationId": "LoginController_repasswordUrlByMail",
- "parameters": [
- {
- "name": "mail",
- "required": true,
- "in": "query",
- "schema": {
- "title": "邮箱",
- "type": "string"
- }
- },
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "邮箱重设密码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/repassword/mail/back": {
- "post": {
- "description": "轮询获取",
- "operationId": "LoginController_getRepasswordByMailBack",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetRegistByMailBackDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "邮箱重设密码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/google": {
- "post": {
- "description": "google登录",
- "operationId": "LoginController_loginByGoogle",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GoogleLoginDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "google登录",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/cancel/code": {
- "get": {
- "description": "获取注销验证码",
- "operationId": "LoginController_getCancelMailCode",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "获取注销验证码",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/login/cancel": {
- "delete": {
- "description": "注销",
- "operationId": "LoginController_cancelByMail",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserCancelDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "注销",
- "tags": [
- "用户登录-login"
- ]
- }
- },
- "/api/user/pop/code": {
- "get": {
- "operationId": "UserPopController_generateUsePopularizeCode",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "生成并获取自己的推广码",
- "tags": [
- "用户推广"
- ]
- }
- },
- "/api/feedback": {
- "post": {
- "description": "提交反馈",
- "operationId": "FeedbackController_createFeedback",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateFeedBackDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "提交反馈",
- "tags": [
- "反馈"
- ]
- }
- },
- "/api/gologin": {
- "get": {
- "operationId": "GologinController_toTest",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "指纹浏览器"
- ]
- }
- },
- "/api/appConfigs/{appId}": {
- "get": {
- "description": "获取配置",
- "operationId": "AppConfigsController_getAppConfigList",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取配置",
- "tags": [
- "应用配置"
- ]
- }
- },
- "/api/file/uploadUrl": {
- "get": {
- "description": "获取分片上传的签名URL",
- "operationId": "FileController_getUploadPartUrl",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取分片上传的签名URL",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/upload": {
- "post": {
- "description": "存入临时目录",
- "operationId": "FileController_uploadFile",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "multipart/form-data": {
- "schema": {
- "type": "object",
- "properties": {
- "file": {
- "type": "string",
- "format": "binary"
- }
- }
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传文件",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/uploadPart/init": {
- "post": {
- "description": "初始化文件分片上传",
- "operationId": "FileController_initiateMultipartUpload",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InitMultipartUploadDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "初始化文件分片上传",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/uploadPart/upload": {
- "post": {
- "description": "上传文件分片",
- "operationId": "FileController_uploadPart",
- "parameters": [
- {
- "name": "fileId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "文件key",
- "type": "string"
- }
- },
- {
- "name": "uploadId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "上传ID",
- "type": "string"
- }
- },
- {
- "name": "partNumber",
- "required": true,
- "in": "query",
- "schema": {
- "title": "分片索引",
- "type": "number"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "multipart/form-data": {
- "schema": {
- "type": "object",
- "properties": {
- "file": {
- "type": "string",
- "format": "binary"
- },
- "fileId": {
- "type": "string"
- },
- "uploadId": {
- "type": "string"
- },
- "partNumber": {
- "type": "number"
- }
- }
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传文件分片",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/file/uploadPart/complete": {
- "post": {
- "description": "合并文件分片",
- "operationId": "FileController_completeMultipartUpload",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CompletePartDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "合并文件分片",
- "tags": [
- "文件"
- ]
- }
- },
- "/api/plat/publish/create": {
- "post": {
- "operationId": "PublishController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreatePublishDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "创建发布",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/run/{id}": {
- "get": {
- "operationId": "PublishController_run",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "立即执行发布任务(测试用)",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/createRecord": {
- "post": {
- "operationId": "PublishController_createRecord",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreatePublishRecordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "创建发布记录",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/getList": {
- "post": {
- "operationId": "PublishController_getList",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PubRecordListFilterDto"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "返回发布记录列表",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/PublishRecordItemDto"
- }
- }
- }
- }
- },
- "default": {
- "description": ""
- }
- },
- "summary": "获取发布记录",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/updateTaskTime": {
- "post": {
- "operationId": "PublishController_updatePublishRecordTime",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdatePublishRecordTimeDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "修改发布任务时间",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/delete/{id}": {
- "delete": {
- "operationId": "PublishController_delete",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除发布任务,注意,只能删除未发布的任务,不能删除已经发布的记录",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/publish/nowPubTask/{id}": {
- "post": {
- "operationId": "PublishController_nowPubTask",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "立即发布任务(在n天之后的任务想要立即发布)",
- "tags": [
- "plat/publish - 平台发布"
- ]
- }
- },
- "/api/plat/test/authPage": {
- "post": {
- "operationId": "PlatTestController_setAuthPage",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "tags": [
- "plat/test - 平台测试"
- ]
- }
- },
- "/api/plat/test/authPage/{id}": {
- "get": {
- "operationId": "PlatTestController_getAuthPage",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "plat/test - 平台测试"
- ]
- }
- },
- "/api/channel/interact/addArcComment": {
- "post": {
- "operationId": "InteractController_addArcComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AddArcCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "添加作品评论",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/interact/getArcCommentList/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "InteractController_getArcCommentList",
- "parameters": [
- {
- "name": "recordId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取作品的评论列表",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/interact/replyComment": {
- "post": {
- "operationId": "InteractController_replyComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReplyCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "回复评论",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/interact/delComment": {
- "delete": {
- "operationId": "InteractController_delComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DelCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除评论",
- "tags": [
- "渠道互动"
- ]
- }
- },
- "/api/channel/dataCube/accountDataCube/{accountId}": {
- "get": {
- "operationId": "DataCubeController_getAccountDataCube",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/dataCube/getAccountDataBulk/{accountId}": {
- "get": {
- "operationId": "DataCubeController_getAccountDataBulk",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/dataCube/getArcDataCube/{accountId}/{dataId}": {
- "get": {
- "operationId": "DataCubeController_getArcDataCube",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "dataId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/dataCube/getArcDataBulk/{accountId}/{dataId}": {
- "get": {
- "operationId": "DataCubeController_getArcDataBulk",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "dataId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号的统计数据",
- "tags": [
- "渠道用户数据"
- ]
- }
- },
- "/api/channel/skKey": {
- "post": {
- "description": "创建skKey",
- "operationId": "SkKeyController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateSkKeyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "创建skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- },
- "put": {
- "description": "更新skKey",
- "operationId": "SkKeyController_upInfo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SkKeyUpInfoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/ref": {
- "delete": {
- "description": "删除关联",
- "operationId": "SkKeyController_delRefAccount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除关联",
- "tags": [
- "频道MCP的SkKey"
- ]
- },
- "post": {
- "description": "创建关联",
- "operationId": "SkKeyController_addRefAccount",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SkKeyAddRefAccountDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "创建关联",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/{key}": {
- "delete": {
- "description": "删除skKey",
- "operationId": "SkKeyController_del",
- "parameters": [
- {
- "name": "key",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/info/{key}": {
- "get": {
- "description": "获取skKey",
- "operationId": "SkKeyController_getInfo",
- "parameters": [
- {
- "name": "key",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取skKey",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取skKey列表",
- "operationId": "SkKeyController_list",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取skKey列表",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/channel/skKey/ref/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取关联列表",
- "operationId": "SkKeyController_getRefAccountList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "key",
- "required": true,
- "in": "query",
- "description": "key",
- "schema": {
- "title": "key",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "获取关联列表",
- "tags": [
- "频道MCP的SkKey"
- ]
- }
- },
- "/api/plat/bilibili/auth/back/{taskId}": {
- "get": {
- "operationId": "BilibiliController_getAccessToken",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/auth/url/{type}": {
- "get": {
- "operationId": "BilibiliController_getAuthUrl",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取页面的认证URL",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/auth/create-account/{taskId}": {
- "post": {
- "operationId": "BilibiliController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/auth/status/{accountId}": {
- "get": {
- "operationId": "BilibiliController_checkAccountAuthStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/init": {
- "post": {
- "operationId": "BilibiliController_videoInit",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoInitDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "视频初始化",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/part/upload/{accountId}": {
- "post": {
- "operationId": "BilibiliController_uploadVideoPart",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "uploadToken",
- "required": true,
- "in": "query",
- "schema": {
- "title": "上传token",
- "type": "string"
- }
- },
- {
- "name": "partNumber",
- "required": true,
- "in": "query",
- "schema": {
- "title": "分片索引",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传视频分片",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/complete/{accountId}": {
- "post": {
- "operationId": "BilibiliController_videoComplete",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoCompleteDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "视频分片合并",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/cover/upload/{accountId}": {
- "post": {
- "operationId": "BilibiliController_coverUpload",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "封面上传",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/video/upload/{accountId}": {
- "post": {
- "description": "因微服务nats传输限制,只允许20M以下文件",
- "operationId": "BilibiliController_uploadLitVideo",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UploadLitVideoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "上传小视频(注意)",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/archive/add-by-utoken": {
- "post": {
- "operationId": "BilibiliController_archiveAddByUtoken",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ArchiveAddByUtokenBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "视频稿件提交",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/archive/type/list/{accountId}": {
- "get": {
- "operationId": "BilibiliController_archiveTypeList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "分区查询",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/archive/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "BilibiliController_getArchiveList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "status",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string",
- "enum": [
- "all",
- "is_pubing",
- "pubed",
- "not_pubed"
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取稿件列表",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/stat/user/{accountId}": {
- "get": {
- "operationId": "BilibiliController_getUserStat",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取用户数据",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/stat/arc": {
- "get": {
- "operationId": "BilibiliController_getArcStat",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "resourceId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "稿件ID",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取稿件数据",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/bilibili/stat/inc/arc/{accountId}": {
- "get": {
- "operationId": "BilibiliController_getArcIncStat",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取稿件增量数据数据",
- "tags": [
- "plat/bilibili - B站平台"
- ]
- }
- },
- "/api/plat/wxGzh/auth/url/{type}": {
- "get": {
- "operationId": "WxGzhController_createAuthTask",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "发起微信授权登陆",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wxGzh/auth/create-account/{taskId}": {
- "get": {
- "operationId": "WxGzhController_getAuthTaskInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wxGzh/account/userCumulate": {
- "get": {
- "operationId": "WxGzhController_getUserCumulate",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "beginDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "开始日期",
- "type": "string"
- }
- },
- {
- "name": "endDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "结束日期",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取累计用户数据",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wxGzh/account/userRead": {
- "get": {
- "operationId": "WxGzhController_getUserRead",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "title": "账户ID",
- "type": "string"
- }
- },
- {
- "name": "beginDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "开始日期",
- "type": "string"
- }
- },
- {
- "name": "endDate",
- "required": true,
- "in": "query",
- "schema": {
- "title": "结束日期",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取图文阅读概况数据",
- "tags": [
- "plat/wxGzh - 微信公众号"
- ]
- }
- },
- "/api/plat/wx/auth/back": {
- "post": {
- "operationId": "WxPlatController_authBackGet",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AuthBackQueryDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "接收授权回调",
- "tags": [
- "WxPlat"
- ]
- }
- },
- "/api/plat/wx/callback/msg": {
- "post": {
- "operationId": "WxPlatController_callbackMsg",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "接收消息回调",
- "tags": [
- "WxPlat"
- ]
- }
- },
- "/api/plat/youtube/auth/url": {
- "get": {
- "operationId": "YoutubeController_getAuthUrl",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取页面的认证URL",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/callback": {
- "get": {
- "operationId": "YoutubeController_getAccessToken",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/create-account/{taskId}": {
- "post": {
- "operationId": "YoutubeController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/status/{accountId}": {
- "get": {
- "operationId": "YoutubeController_checkAccountAuthStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "检查账号是否已经授权",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/auth/refresh-token/{accountId}": {
- "post": {
- "operationId": "YoutubeController_refreshToken",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "刷新令牌token",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/categories": {
- "get": {
- "operationId": "YoutubeController_getVideoCategories",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "视频类别ID, 注意:id和regionCode必须有且只能选择一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "regionCode",
- "required": false,
- "in": "query",
- "description": "区域代码, 注意:id和regionCode只能选择一个",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取视频类别列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/list": {
- "get": {
- "operationId": "YoutubeController_getVideosList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "chart",
- "required": false,
- "in": "query",
- "description": "用于标识您要检索的图表。这里只有一个值,mostPopular – 返回指定内容区域和视频类别中最热门的视频。id、myRating、chart这三个参数必须且只能选一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "视频ID, 多个id用英文逗号分隔。注意:id、myRating、chart这三个参数必须且只能选一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "myRating",
- "required": false,
- "in": "query",
- "description": "是否获取我喜欢的视频, 注意:id、myRating、chart这三个参数必须且只能选一个",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "maxResults",
- "required": false,
- "in": "query",
- "description": "最大返回结果数",
- "schema": {
- "type": "number"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取视频列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/threads/insert": {
- "post": {
- "operationId": "YoutubeController_insertCommentThreads",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertCommentThreadsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建评论会话",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/threads/list": {
- "get": {
- "operationId": "YoutubeController_getCommentThreadsList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "评论会话ID,多个id以英文逗号隔开,注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "allThreadsRelatedToChannelId",
- "required": false,
- "in": "query",
- "description": "关联的频道ID。注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "videoId",
- "required": false,
- "in": "query",
- "description": "视频ID 注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌,注意:此参数不能与 id 参数结合使用。",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "order",
- "required": false,
- "in": "query",
- "description": "排序方式,注意:此参数不能与 id 参数结合使用。time - 默认,评论会话会按时间排序。relevance - 评论会话按相关性排序。",
- "schema": {
- "type": "string",
- "enum": [
- "time",
- "relevance"
- ]
- }
- },
- {
- "name": "searchTerms",
- "required": false,
- "in": "query",
- "description": "搜索关键词,注意:此参数不能与 id 参数结合使用。",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取评论会话列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/threads/moderation/set": {
- "post": {
- "operationId": "YoutubeController_setCommentThreadsModerationStatus",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SetCommentThreadsModerationStatusDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "设置评论会话的审核状态",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/insert": {
- "post": {
- "operationId": "YoutubeController_insertComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建二级评论",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/list": {
- "get": {
- "operationId": "YoutubeController_getCommentsList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": true,
- "in": "query",
- "description": "评论ID,多个id用英文逗号分隔,注意:id和 parentId 必须有且只能有其中一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "parentId",
- "required": false,
- "in": "query",
- "description": "父评论ID,注意:id和 parentId 必须有且只能有其中一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "maxResults",
- "required": false,
- "in": "query",
- "description": "最大返回结果数",
- "schema": {
- "type": "number"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取子评论列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/update": {
- "post": {
- "operationId": "YoutubeController_updateComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新评论",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/comment/delete": {
- "post": {
- "operationId": "YoutubeController_deleteComment",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteCommentDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除评论",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/rating/set": {
- "post": {
- "operationId": "YoutubeController_setVideoRate",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoRateDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "设置视频的点赞、踩",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/rating": {
- "get": {
- "operationId": "YoutubeController_getVideoRate",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": true,
- "in": "query",
- "description": "视频ID,多个id用英文逗号分隔",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取视频的点赞、踩",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/delete": {
- "post": {
- "operationId": "YoutubeController_deleteVideo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteVideoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除视频",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/video/update": {
- "post": {
- "operationId": "YoutubeController_updateVideo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateVideoDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新视频",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/create": {
- "post": {
- "operationId": "YoutubeController_createPlaylist",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertPlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/update": {
- "post": {
- "operationId": "YoutubeController_updatePlaylist",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdatePlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/delete": {
- "post": {
- "operationId": "YoutubeController_deletePlaylist",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeletePlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/list": {
- "post": {
- "operationId": "YoutubeController_getPlayList",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetPlayListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取播放列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/insert": {
- "post": {
- "operationId": "YoutubeController_insertPlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/InsertPlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "插入播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/update": {
- "post": {
- "operationId": "YoutubeController_updatePlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdatePlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/delete": {
- "post": {
- "operationId": "YoutubeController_deletePlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeletePlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/playlist/items/list": {
- "post": {
- "operationId": "YoutubeController_getPlayListItems",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetPlayItemsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取播放列表项",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/channel/list": {
- "get": {
- "operationId": "YoutubeController_getChannelsList",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "forHandle",
- "required": false,
- "in": "query",
- "description": "标识名,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "forUsername",
- "required": false,
- "in": "query",
- "description": "用户名,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "id",
- "required": false,
- "in": "query",
- "description": "频道ID,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "mine",
- "required": false,
- "in": "query",
- "description": "我的频道,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "maxResults",
- "required": false,
- "in": "query",
- "description": "最大结果数",
- "schema": {
- "type": "number"
- }
- },
- {
- "name": "pageToken",
- "required": false,
- "in": "query",
- "description": "分页令牌",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取频道列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/channel/update/channelId/{accountId}": {
- "get": {
- "operationId": "YoutubeController_updateChannelId",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取频道列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/channel/sections/list": {
- "post": {
- "operationId": "YoutubeController_getChannelsSectionsList",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetChannelsSectionsListDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取频道板块列表",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/youtube/common/params": {
- "get": {
- "operationId": "YoutubeController_getCommonParams",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取通用数据",
- "tags": [
- "plat/youtube - YouTube平台"
- ]
- }
- },
- "/api/plat/kwai/auth/url/{type}": {
- "get": {
- "operationId": "KwaiController_getAuth",
- "parameters": [
- {
- "name": "type",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "开始授权,创建任务",
- "tags": [
- "plat/kwai - 快手平台"
- ]
- }
- },
- "/api/plat/kwai/auth/create-account/{taskId}": {
- "post": {
- "operationId": "KwaiController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号授权状态回调",
- "tags": [
- "plat/kwai - 快手平台"
- ]
- }
- },
- "/api/plat/kwai/auth/back/{taskId}": {
- "get": {
- "operationId": "KwaiController_getAccessToken",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "plat/kwai - 快手平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/url": {
- "post": {
- "operationId": "TiktokController_getAuthUrl",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetAuthUrlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取页面的认证URL",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/info/{taskId}": {
- "get": {
- "operationId": "TiktokController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询认证信息",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/back": {
- "get": {
- "operationId": "TiktokController_createAccountAndSetAccessToken",
- "parameters": [
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "title": "授权码",
- "type": "string"
- }
- },
- {
- "name": "state",
- "required": true,
- "in": "query",
- "schema": {
- "title": "状态码",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "创建账号并设置授权Token",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/refresh-token": {
- "post": {
- "operationId": "TiktokController_refreshAccessToken",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RefreshTokenDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "刷新访问令牌",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/auth/revoke-token/{accountId}": {
- "post": {
- "operationId": "TiktokController_revokeAccessToken",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "撤销访问令牌",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/creator/info/{accountId}": {
- "get": {
- "operationId": "TiktokController_getCreatorInfo",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取创作者信息",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/account/status/{accountId}": {
- "get": {
- "operationId": "TiktokController_checkAccountStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "检查账号状态",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/publish/video/init": {
- "post": {
- "operationId": "TiktokController_initVideoPublish",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoPublishDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "初始化视频发布",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/publish/photo/init": {
- "post": {
- "operationId": "TiktokController_initPhotoPublish",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PhotoPublishDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "初始化照片发布",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/publish/status/{accountId}/{publishId}": {
- "get": {
- "operationId": "TiktokController_getPublishStatus",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "publishId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询发布状态",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/upload/video": {
- "post": {
- "description": "上传视频文件到指定的上传URL",
- "operationId": "TiktokController_uploadVideoFile",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UploadVideoFileDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "上传视频文件",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/tiktok/webhook": {
- "post": {
- "operationId": "TiktokController_handleWebhookEvent",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "TikTok Webhook事件接收",
- "tags": [
- "plat/tiktok - TikTok平台"
- ]
- }
- },
- "/api/plat/pinterest/board": {
- "post": {
- "operationId": "PinterestController_createBoard",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateBoardBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建board",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "get": {
- "operationId": "PinterestController_getBoardList",
- "parameters": [
- {
- "name": "page",
- "required": false,
- "in": "query",
- "schema": {
- "title": "页码",
- "type": "string"
- }
- },
- {
- "name": "size",
- "required": false,
- "in": "query",
- "schema": {
- "title": "每页大小",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取board列表信息",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/board/{id}": {
- "get": {
- "operationId": "PinterestController_getBoardById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取单个board",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "delete": {
- "operationId": "PinterestController_delBoardById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除单个board",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/pin": {
- "post": {
- "operationId": "PinterestController_createPin",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreatePinBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建pin",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "get": {
- "operationId": "PinterestController_getPinList",
- "parameters": [
- {
- "name": "page",
- "required": false,
- "in": "query",
- "schema": {
- "title": "页码",
- "type": "string"
- }
- },
- {
- "name": "size",
- "required": false,
- "in": "query",
- "schema": {
- "title": "每页大小",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取pin列表",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/pin/{id}": {
- "get": {
- "operationId": "PinterestController_getPinById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取pin",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- },
- "delete": {
- "operationId": "PinterestController_delPinById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "accountId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "删除单个pin",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/getAuth": {
- "get": {
- "operationId": "PinterestController_getAuth",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取授权登录页面",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/checkAuth": {
- "get": {
- "operationId": "PinterestController_checkAuth",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询授权结果",
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/pinterest/authWebhook": {
- "get": {
- "operationId": "PinterestController_authWebhook",
- "parameters": [],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "tags": [
- "plat/pinterest - PIN平台"
- ]
- }
- },
- "/api/plat/twitter/auth/url": {
- "post": {
- "operationId": "TwitterController_getAuthUrl",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetAuthUrlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取Twitter oAuth2.0 用户授权页面URL",
- "tags": [
- "plat/twitter - Twitter平台"
- ]
- }
- },
- "/api/plat/twitter/auth/info/{taskId}": {
- "get": {
- "operationId": "TwitterController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询用户oAuth2.0任务状态",
- "tags": [
- "plat/twitter - Twitter平台"
- ]
- }
- },
- "/api/plat/twitter/auth/back": {
- "get": {
- "operationId": "TwitterController_createAccountAndSetAccessToken",
- "parameters": [
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "title": "授权码",
- "type": "string"
- }
- },
- {
- "name": "state",
- "required": true,
- "in": "query",
- "schema": {
- "title": "状态码",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "oAuth认证回调后续操作, 保存AccessToken并创建用户",
- "tags": [
- "plat/twitter - Twitter平台"
- ]
- }
- },
- "/api/plat/meta/auth/url": {
- "post": {
- "operationId": "MetaController_getAuthUrl",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetAuthUrlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取Meta平台 oAuth2.0 用户授权页面URL",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/auth/info/{taskId}": {
- "get": {
- "operationId": "MetaController_getAuthInfo",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询用户oAuth2.0任务状态",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/pages": {
- "get": {
- "operationId": "MetaController_getFacebookPages",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询Facebook用户Pages列表",
- "tags": [
- "plat/meta - Meta平台"
- ]
- },
- "post": {
- "operationId": "MetaController_selectFacebookPages",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/FacebookPageSelectionDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "选择确认Facebook Pages",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/auth/back": {
- "get": {
- "operationId": "MetaController_createAccountAndSetAccessToken",
- "parameters": [
- {
- "name": "code",
- "required": true,
- "in": "query",
- "schema": {
- "title": "授权码",
- "type": "string"
- }
- },
- {
- "name": "state",
- "required": true,
- "in": "query",
- "schema": {
- "title": "状态码",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "oAuth认证回调后续操作, 保存AccessToken并创建用户",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/{accountId}/published_posts": {
- "get": {
- "operationId": "MetaController_getFacebookPagePublishedPosts",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "pageId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的已发布帖子列表",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/{accountId}/insights": {
- "get": {
- "operationId": "MetaController_getFacebookPageInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/facebook/{accountId}/{postId}/insights": {
- "get": {
- "operationId": "MetaController_getFacebookPostInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "postId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/instagram/{accountId}": {
- "get": {
- "operationId": "MetaController_getInstagramAccountInfo",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Instagram Account的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/instagram/{accountId}/insights": {
- "get": {
- "operationId": "MetaController_getInstagramAccountInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Instagram Account的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/instagram/{accountId}/{postId}/insights": {
- "get": {
- "operationId": "MetaController_getInstagramPostInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "postId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "Instagram Post的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/threads/{accountId}/insights": {
- "get": {
- "operationId": "MetaController_getThreadsAccountInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "threads Account的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/plat/meta/threads/{accountId}/{postId}/insights": {
- "get": {
- "operationId": "MetaController_getThreadsPostInsights",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "postId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取Facebook Page的Insights数据",
- "tags": [
- "plat/meta - Meta平台"
- ]
- }
- },
- "/api/channel/interactionRecord": {
- "post": {
- "operationId": "InteractionRecordController_add",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AddInteractionRecordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "添加渠道互动记录",
- "tags": [
- "渠道互动记录"
- ]
- }
- },
- "/api/channel/interactionRecord/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "InteractionRecordController_getArcCommentList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取渠道互动记录列表",
- "tags": [
- "渠道互动记录"
- ]
- }
- },
- "/api/channel/interactionRecord/{id}": {
- "delete": {
- "operationId": "InteractionRecordController_replyComment",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除记录",
- "tags": [
- "渠道互动记录"
- ]
- }
- },
- "/api/channel/replyCommentRecord": {
- "post": {
- "operationId": "ReplyCommentRecordController_add",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AddReplyCommentRecordDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "添加评论回复记录",
- "tags": [
- "评论回复记录"
- ]
- }
- },
- "/api/channel/replyCommentRecord/list/{pageNo}/{pageSize}": {
- "get": {
- "operationId": "ReplyCommentRecordController_getArcCommentList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取评论回复记录列表",
- "tags": [
- "评论回复记录"
- ]
- }
- },
- "/api/channel/replyCommentRecord/{id}": {
- "delete": {
- "operationId": "ReplyCommentRecordController_replyComment",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除评论回复记录",
- "tags": [
- "评论回复记录"
- ]
- }
- },
- "/api/account/login": {
- "post": {
- "operationId": "AccountController_createOrUpdateAccount",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateAccountDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建账号",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/update": {
- "post": {
- "operationId": "AccountController_updateAccountInfo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新账号",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/status": {
- "post": {
- "operationId": "AccountController_updateAccountStatus",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountStatusDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新账号状态",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/{id}": {
- "get": {
- "operationId": "AccountController_getAccountInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取账号信息",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/list/all": {
- "get": {
- "operationId": "AccountController_getUserAccounts",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取用户所有账户",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/deletes": {
- "post": {
- "operationId": "AccountController_deletes",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteAccountsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除多个账户",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/list/ids": {
- "post": {
- "operationId": "AccountController_getAccountListByIds",
- "parameters": [
- {
- "name": "ids",
- "required": true,
- "in": "query",
- "description": "账号ID数组",
- "schema": {
- "type": "array",
- "items": {
- "type": "number"
- }
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取账户列表",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/count": {
- "get": {
- "operationId": "AccountController_getAccountCount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "number"
- }
- }
- }
- }
- },
- "summary": "获取账户总数",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/statistics": {
- "get": {
- "operationId": "AccountController_getAccountStatistics",
- "parameters": [
- {
- "name": "type",
- "required": false,
- "in": "query",
- "description": "账户类型",
- "schema": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取账户统计",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/delete/{id}": {
- "post": {
- "operationId": "AccountController_deleteAccount",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "description": "账号ID",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除账户",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/account/statistics/update": {
- "post": {
- "operationId": "AccountController_updateAccountStatistics",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountStatisticsDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "number"
- }
- }
- }
- }
- },
- "summary": "更新账户统计信息",
- "tags": [
- "账户"
- ]
- }
- },
- "/api/accountGroup/create": {
- "post": {
- "operationId": "AccountGroupController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateAccountGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/accountGroup/update": {
- "post": {
- "operationId": "AccountGroupController_updateGroup",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateAccountGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "更新组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/accountGroup/deletes": {
- "post": {
- "operationId": "AccountGroupController_deletes",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteAccountGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除账户组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/accountGroup/getList": {
- "get": {
- "operationId": "AccountGroupController_getUserAccounts",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "summary": "获取用户所有账户组",
- "tags": [
- "账户组"
- ]
- }
- },
- "/api/fingerprint/generateFingerprint": {
- "post": {
- "description": "生成指纹浏览器参数",
- "operationId": "FingerprintController_cenerateFingerprin",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenerateFingerprintDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "",
- "tags": [
- "指纹生成"
- ]
- }
- },
- "/api/tools/ai/video/title": {
- "post": {
- "description": "视频文件只能输入一个,大小限制为 150 MB,时长限制为 40s。",
- "operationId": "AiToolsController_videoAiTitle",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoAiDesDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "视频AI标题",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "视频AI标题",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/review": {
- "post": {
- "description": "对作品进行智能评论",
- "operationId": "AiToolsController_reviewAi",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReviewAi"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "评论",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "智能评论",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/reviewImg": {
- "post": {
- "description": "对作品封面图进行智能评论",
- "operationId": "AiToolsController_reviewImgAi",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReviewImgAi"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "评论",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "智能评论",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/recover/review": {
- "post": {
- "description": "对作品进行智能评论回复",
- "operationId": "AiToolsController_reviewAiRecover",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReviewAiRecover"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "评论",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "智能评论回复",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/article/html": {
- "post": {
- "description": "生成AI的html图文",
- "operationId": "AiToolsController_aiArticleHtml",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AiArticleHtmlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "生成AI的html图文",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "生成AI的html图文",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/article/html/sse": {
- "post": {
- "description": "暂未用到",
- "operationId": "AiToolsController_aiArticleHtmlSse",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AiArticleHtmlDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "生成AI的html图文",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "生成AI的html图文(SSE)",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/markdown": {
- "post": {
- "description": "文字转Markdown",
- "operationId": "AiToolsController_aiMarkdown",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AdminAiMarkdownDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "任务ID",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "文字转Markdown",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/ai/markdown/{id}": {
- "get": {
- "description": "获取AI的mk结果",
- "operationId": "AiToolsController_getAiMarkdown",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "title": "ID",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "Markdown文本",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取AI的mk结果",
- "tags": [
- "AI工具"
- ]
- }
- },
- "/api/tools/common/text/moderation": {
- "post": {
- "description": "内容安全检测",
- "operationId": "ToolsController_textModeration",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TextModerationDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "是否通过检测",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "内容安全检测",
- "tags": [
- "通用工具"
- ]
- }
- },
- "/api/material/default": {
- "post": {
- "description": "初始化草稿",
- "operationId": "MaterialController_createDefault",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "初始化草稿",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material": {
- "post": {
- "description": "创建草稿",
- "operationId": "MaterialController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMaterialDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建草稿",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/task/create": {
- "post": {
- "description": "创建批量生成草稿任务",
- "operationId": "MaterialController_createTask",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMaterialTaskDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建批量生成草稿任务",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/task/preview/{id}": {
- "get": {
- "description": "预览草稿生成任务",
- "operationId": "MaterialController_previewTask",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "预览草稿生成任务",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/task/start/{id}": {
- "get": {
- "description": "开始草稿生成任务",
- "operationId": "MaterialController_startTask",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "开始草稿生成任务",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/{id}": {
- "delete": {
- "description": "删除素材",
- "operationId": "MaterialController_del",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除素材",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/info/{id}": {
- "put": {
- "description": "更新草稿信息",
- "operationId": "MaterialController_upMaterialInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateMaterialDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新草稿信息",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取素材列表",
- "operationId": "MaterialController_getList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "title",
- "required": false,
- "in": "query",
- "schema": {
- "title": "标题",
- "type": "string"
- }
- },
- {
- "name": "groupId",
- "required": false,
- "in": "query",
- "schema": {
- "title": "组ID",
- "type": "string"
- }
- },
- {
- "name": "status",
- "required": false,
- "in": "query",
- "schema": {
- "title": "草稿状态",
- "type": "number",
- "enum": [
- 0,
- 1,
- -1
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取素材列表",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group": {
- "post": {
- "description": "创建素材组",
- "operationId": "MaterialController_createGroup",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMaterialGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建素材组",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group/{id}": {
- "delete": {
- "description": "删除素材组",
- "operationId": "MaterialController_delGroup",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除素材组",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group/info/{id}": {
- "post": {
- "description": "更新素材组信息",
- "operationId": "MaterialController_updateGroupInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateMaterialGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新素材组信息",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/material/group/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取素材组列表",
- "operationId": "MaterialController_getGroupList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取素材组列表",
- "tags": [
- "草稿"
- ]
- }
- },
- "/api/media/default": {
- "post": {
- "description": "初始化媒体库",
- "operationId": "MediaController_createDefault",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "初始化媒体库",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media": {
- "post": {
- "description": "创建媒体资源",
- "operationId": "MediaController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMediaDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建媒体资源",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/{id}": {
- "delete": {
- "description": "删除媒体资源",
- "operationId": "MediaController_del",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除媒体资源",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取媒体列表",
- "operationId": "MediaController_getList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "groupId",
- "required": false,
- "in": "query",
- "schema": {
- "title": "组ID",
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取媒体列表",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group": {
- "post": {
- "description": "创建发媒体资源组",
- "operationId": "MediaController_createGroup",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateMediaGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建发媒体资源组",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group/{id}": {
- "delete": {
- "description": "删除媒体资源组",
- "operationId": "MediaController_delGroup",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "删除媒体资源",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group/info/{id}": {
- "post": {
- "description": "更新资源组信息",
- "operationId": "MediaController_updateGroupInfo",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateMediaGroupDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "boolean"
- }
- }
- }
- }
- },
- "summary": "更新资源组信息",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/media/group/list/{pageNo}/{pageSize}": {
- "get": {
- "description": "获取媒体组列表",
- "operationId": "MediaController_getGroupList",
- "parameters": [
- {
- "name": "pageNo",
- "required": true,
- "in": "path",
- "description": "页码",
- "schema": {
- "title": "页码",
- "type": "number"
- }
- },
- {
- "name": "pageSize",
- "required": true,
- "in": "path",
- "description": "页数",
- "schema": {
- "title": "页数",
- "type": "number"
- }
- },
- {
- "name": "type",
- "required": false,
- "in": "query",
- "description": "类型",
- "schema": {
- "title": "类型",
- "type": "string",
- "enum": [
- "video",
- "img"
- ]
- }
- }
- ],
- "responses": {
- "default": {
- "description": ""
- }
- },
- "summary": "获取媒体组列表",
- "tags": [
- "媒体资源"
- ]
- }
- },
- "/api/payment/checkout": {
- "get": {
- "operationId": "PaymentController_list",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CheckoutListBody"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "获取订单列表",
- "tags": [
- "payment - strip支付中台"
- ]
- },
- "post": {
- "operationId": "PaymentController_create",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CheckoutBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "创建订单",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/checkout/{id}": {
- "get": {
- "operationId": "PaymentController_getById",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "查询订单",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/refund": {
- "post": {
- "operationId": "PaymentController_refund",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/RefundBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "订单退款",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/subscription": {
- "get": {
- "operationId": "PaymentController_subscription",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SubscriptionBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "订阅列表",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/unsubscribe": {
- "post": {
- "operationId": "PaymentController_unsubscribe",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UnSubscriptionBodyDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "summary": "退订",
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/payment/webhook": {
- "post": {
- "operationId": "PaymentController_webhook",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "tags": [
- "payment - strip支付中台"
- ]
- }
- },
- "/api/task/opportunity/{opportunityId}": {
- "get": {
- "operationId": "TaskController_getTaskInfo",
- "parameters": [
- {
- "name": "opportunityId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TaskWithOpportunityVo"
- }
- }
- }
- }
- },
- "summary": "获取任务信息",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/reward-amount": {
- "get": {
- "operationId": "TaskController_getTotalRewardAmount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TotalAmountVo"
- }
- }
- }
- }
- },
- "summary": "获取进行中任务的金额总数",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/accept": {
- "post": {
- "operationId": "TaskController_acceptTask",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AcceptTaskDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserTaskVo"
- }
- }
- }
- }
- },
- "summary": "用户接取任务",
- "tags": [
- "task - 任务"
- ]
- }
- },
- "/api/task/material/{id}": {
- "get": {
- "operationId": "MaterialController_getMaterial",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MaterialVo"
- }
- }
- }
- }
- },
- "summary": "获取素材信息",
- "tags": [
- "task/material - 素材"
- ]
- }
- },
- "/api/task/material/task/{taskId}": {
- "get": {
- "operationId": "MaterialController_getMaterialsByTaskId",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MaterialVo"
- }
- }
- }
- }
- }
- },
- "summary": "按任务ID获取素材列表",
- "tags": [
- "task/material - 素材"
- ]
- }
- },
- "/api/task/user-task": {
- "get": {
- "operationId": "UserTaskController_getUserTaskList",
- "parameters": [
- {
- "name": "status",
- "required": true,
- "in": "query",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UserTaskWithTaskVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取用户任务列表",
- "tags": [
- "task/user-task - 用户任务"
- ]
- }
- },
- "/api/notification/unread-count": {
- "get": {
- "operationId": "NotificationController_getUnreadCount",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UnreadCountVo"
- }
- }
- }
- }
- },
- "summary": "获取未读通知数量",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification": {
- "get": {
- "operationId": "NotificationController_getUserNotifications",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NotificationListVo"
- }
- }
- }
- }
- },
- "summary": "获取用户通知列表",
- "tags": [
- "notification - 通知"
- ]
- },
- "delete": {
- "operationId": "NotificationController_deleteNotifications",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BatchDeleteDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/OperationResultVo"
- }
- }
- }
- }
- },
- "summary": "删除通知",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification/{id}": {
- "get": {
- "operationId": "NotificationController_getNotificationDetail",
- "parameters": [
- {
- "name": "id",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NotificationVo"
- }
- }
- }
- }
- },
- "summary": "获取通知详情",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification/read": {
- "put": {
- "operationId": "NotificationController_markAsRead",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MarkAsReadDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/OperationResultVo"
- }
- }
- }
- }
- },
- "summary": "标记通知已读",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/notification/read-all": {
- "put": {
- "operationId": "NotificationController_markAllAsRead",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/OperationResultVo"
- }
- }
- }
- }
- },
- "summary": "标记全部通知已读",
- "tags": [
- "notification - 通知"
- ]
- }
- },
- "/api/ai/chat": {
- "post": {
- "operationId": "AiController_chat",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserAiChatRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserAiChatResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI聊天对话",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/logs": {
- "get": {
- "operationId": "AiController_getLogs",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserLogsResponseVo"
- }
- }
- }
- }
- },
- "summary": "获取用户AI使用日志",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/image/generate": {
- "post": {
- "operationId": "AiController_generateImage",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageGenerationRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI图片生成",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/image/edit": {
- "post": {
- "operationId": "AiController_editImage",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageEditRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI图片编辑",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/image/variation": {
- "post": {
- "operationId": "AiController_variationImage",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageVariationRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserImageResponseVo"
- }
- }
- }
- }
- },
- "summary": "AI图片变体",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/mj/submit/video": {
- "post": {
- "operationId": "AiController_mjSubmitVideo",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserVideoGenerationRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MjVideoSubmitResponseVo"
- }
- }
- }
- }
- },
- "summary": "MJ视频生成",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/mj/task/{taskId}/fetch": {
- "get": {
- "operationId": "AiController_mjFetchTask",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/MjTaskFetchResponseVo"
- }
- }
- }
- }
- },
- "summary": "MJ任务查询",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/video/generations": {
- "post": {
- "operationId": "AiController_videoGeneration",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UserVideoGenerationDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoGenerationResponseVo"
- }
- }
- }
- }
- },
- "summary": "通用视频生成",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/video/generations/{taskId}": {
- "get": {
- "operationId": "AiController_getVideoTaskStatus",
- "parameters": [
- {
- "name": "taskId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/VideoTaskStatusResponseVo"
- }
- }
- }
- }
- },
- "summary": "查询视频任务状态",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/md2card": {
- "post": {
- "operationId": "AiController_generateMd2Card",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Md2CardRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Md2CardResponseVo"
- }
- }
- }
- }
- },
- "summary": "Markdown转卡片图片",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/fireflycard": {
- "post": {
- "operationId": "AiController_generateFireflycard",
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/FireflycardRequestDto"
- }
- }
- }
- },
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/FireflycardResponseVo"
- }
- }
- }
- }
- },
- "summary": "Fireflycard生成卡片图片(免费)",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/image/generation": {
- "get": {
- "operationId": "AiController_getImageGenerationModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ImageGenerationModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取图片生成模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/image/edit": {
- "get": {
- "operationId": "AiController_getImageEditModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ImageEditModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取图片编辑模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/video/generation": {
- "get": {
- "operationId": "AiController_getVideoGenerationModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VideoGenerationModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取视频生成模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/ai/models/chat": {
- "get": {
- "operationId": "AiController_getChatModels",
- "parameters": [],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ChatModelVo"
- }
- }
- }
- }
- }
- },
- "summary": "获取对话模型参数",
- "tags": [
- "AI"
- ]
- }
- },
- "/api/statistics/account/latest/{accountId}": {
- "get": {
- "operationId": "StatisticsController_getAccountDataLatest",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取账号最新数据",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/statistics/account/increase/{accountId}": {
- "get": {
- "operationId": "StatisticsController_getAccountDataIncrease",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取账号增量",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- },
- "/api/statistics/account/period/{accountId}": {
- "get": {
- "operationId": "StatisticsController_getAccountDataPeriod",
- "parameters": [
- {
- "name": "accountId",
- "required": true,
- "in": "path",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "startDate",
- "required": true,
- "in": "query",
- "description": "开始日期",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "endDate",
- "required": true,
- "in": "query",
- "description": "结束日期",
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "summary": "获取账号一段时间内数据",
- "tags": [
- "statistics - 数据统计"
- ]
- }
- }
- },
- "info": {
- "title": "aitoearn-gateway",
- "description": "aitoearn-gateway API",
- "version": "",
- "contact": {}
- },
- "tags": [],
- "servers": [],
- "components": {
- "securitySchemes": {
- "bearer": {
- "scheme": "bearer",
- "bearerFormat": "JWT",
- "type": "http"
- }
- },
- "schemas": {
- "UserResDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "title": "用户ID"
- },
- "name": {
- "type": "string",
- "title": "用户名"
- },
- "phone": {
- "type": "string",
- "title": "手机号"
- },
- "gender": {
- "type": "number",
- "title": "性别",
- "enum": [
- 1,
- 2
- ]
- },
- "avatar": {
- "type": "string",
- "title": "头像图片链接"
- },
- "desc": {
- "type": "string",
- "title": "简介"
- }
- },
- "required": [
- "id",
- "name",
- "phone"
- ]
- },
- "UpdateUserInfoDto": {
- "type": "object",
- "properties": {}
- },
- "PointsRecordsVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "list": {
- "description": "积分记录列表",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "description": "记录ID",
- "type": "string"
- },
- "userId": {
- "description": "用户ID",
- "type": "string"
- },
- "amount": {
- "description": "积分变动数量",
- "type": "number"
- },
- "balance": {
- "description": "变动后余额",
- "type": "number"
- },
- "type": {
- "description": "积分变动类型, ai_service ai 生成, user_register 用户注册",
- "type": "string"
- },
- "description": {
- "description": "积分变动描述",
- "type": "string"
- },
- "metadata": {
- "description": "额外信息",
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- }
- },
- "required": [
- "id",
- "userId",
- "amount",
- "balance",
- "type"
- ],
- "additionalProperties": false
- }
- },
- "total": {
- "description": "总记录数",
- "type": "number"
- }
- },
- "required": [
- "list",
- "total"
- ],
- "additionalProperties": false
- },
- "MailLoginDto": {
- "type": "object",
- "properties": {
- "mail": {
- "type": "string",
- "title": "邮箱"
- },
- "password": {
- "type": "string"
- }
- },
- "required": [
- "mail",
- "password"
- ]
- },
- "GetRegistByMailBackDto": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "mail": {
- "type": "string",
- "title": "邮箱"
- },
- "password": {
- "type": "string"
- },
- "inviteCode": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "mail",
- "password"
- ]
- },
- "MailRepasswordDto": {
- "type": "object",
- "properties": {
- "mail": {
- "type": "string",
- "title": "邮箱"
- }
- },
- "required": [
- "mail"
- ]
- },
- "GoogleLoginDto": {
- "type": "object",
- "properties": {
- "clientId": {
- "type": "string",
- "description": "Google客户端ID"
- },
- "credential": {
- "type": "string",
- "description": "Google认证凭证"
- }
- },
- "required": [
- "clientId",
- "credential"
- ]
- },
- "UserCancelDto": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- }
- },
- "required": [
- "code"
- ]
- },
- "CreateFeedBackDto": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "内容"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "description": ""
- },
- "tagList": {
- "description": "标识数组",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "fileUrlList": {
- "description": "文件链接数组",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "content",
- "tagList",
- "fileUrlList"
- ]
- },
- "InitMultipartUploadDto": {
- "type": "object",
- "properties": {
- "fileName": {
- "type": "string",
- "title": "文件名称"
- },
- "secondPath": {
- "type": "string",
- "title": "存放位置"
- },
- "fileSize": {
- "type": "string",
- "title": "文件大小"
- },
- "contentType": {
- "type": "string",
- "title": "文件类型"
- }
- },
- "required": [
- "fileName",
- "secondPath",
- "fileSize",
- "contentType"
- ]
- },
- "CompletePartDto": {
- "type": "object",
- "properties": {
- "fileId": {
- "type": "string",
- "title": "文件key"
- },
- "uploadId": {
- "type": "string",
- "title": "上传ID"
- },
- "parts": {
- "title": "分片",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "fileId",
- "uploadId",
- "parts"
- ]
- },
- "BilibiliPublishOptionDto": {
- "type": "object",
- "properties": {
- "tid": {
- "type": "number",
- "title": "分区ID",
- "description": "由获取分区信息接口得到"
- },
- "no_reprint": {
- "type": "number",
- "title": "是否允许转载",
- "enum": [
- 1,
- 0
- ],
- "description": "0-允许,1-不允许"
- },
- "copyright": {
- "type": "number",
- "title": "版权",
- "enum": [
- 1,
- 2
- ],
- "description": "版权"
- },
- "source": {
- "type": "string",
- "title": "来源",
- "description": "如果copyright为转载,则此字段表示转载来源"
- }
- },
- "required": [
- "tid",
- "no_reprint",
- "copyright",
- "source"
- ]
- },
- "GzhPublishOptionDto": {
- "type": "object",
- "properties": {
- "tid": {
- "type": "number",
- "title": "分区ID",
- "description": "由获取分区信息接口得到"
- }
- },
- "required": [
- "tid"
- ]
- },
- "YoutubePublishOptionDto": {
- "type": "object",
- "properties": {
- "privacyStatus": {
- "type": "string",
- "title": "隐私状态",
- "enum": [
- "public",
- "unlisted",
- "private"
- ],
- "description": "隐私状态"
- },
- "tag": {
- "type": "string",
- "title": "关键词",
- "description": "多个关键词用英文逗号分隔"
- },
- "categoryId": {
- "type": "string",
- "title": "类别ID",
- "description": "类别ID"
- },
- "publishAt": {
- "type": "string",
- "title": "发布时间",
- "description": "发布时间"
- }
- },
- "required": [
- "privacyStatus"
- ]
- },
- "FacebookPostOptionsDto": {
- "type": "object",
- "properties": {
- "content_category": {
- "type": "string",
- "title": "内容分类",
- "description": "内容分类"
- },
- "content_tags": {
- "title": "内容标签",
- "description": "内容标签",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "custom_labels": {
- "title": "自定义标签",
- "description": "自定义标签",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "direct_share_status": {
- "type": "number",
- "title": "直接分享状态",
- "description": "直接分享状态"
- },
- "embeddable": {
- "type": "boolean",
- "title": "是否可嵌入",
- "description": "是否可嵌入"
- }
- }
- },
- "InstagramPostOptionsDto": {
- "type": "object",
- "properties": {
- "content_category": {
- "type": "string",
- "title": "内容分类",
- "description": "内容分类"
- },
- "alt_text": {
- "type": "string",
- "title": "替代文本"
- },
- "caption": {
- "type": "string",
- "title": "标题"
- },
- "collaborators": {
- "title": "协作者",
- "description": "协作者列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_url": {
- "type": "string",
- "title": "封面URL",
- "description": "封面图片的URL"
- },
- "image_url": {
- "type": "string",
- "title": "图片URL",
- "description": "图片的URL"
- },
- "location_id": {
- "type": "string",
- "title": "位置ID",
- "description": "位置ID,用于标记发布内容的位置,通常用于地理标签"
- },
- "product_tags": {
- "title": "产品标签",
- "description": "产品标签列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "user_tags": {
- "title": "用户标签",
- "description": "用户标签列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "ThreadsPostOptionsDto": {
- "type": "object",
- "properties": {
- "reply_control": {
- "type": "string",
- "title": "回复控制",
- "description": "回复控制选项"
- },
- "allowlisted_country_codes": {
- "title": "允许的国家代码",
- "description": "允许的国家代码列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "alt_text": {
- "type": "string",
- "title": "替代文本",
- "description": "替代文本"
- },
- "auto_publish_text": {
- "type": "boolean",
- "title": "自动发布文本",
- "description": "是否自动发布文本"
- },
- "topic_tags": {
- "type": "string",
- "title": "话题标签",
- "description": "话题标签列表"
- }
- }
- },
- "PublishOptionDto": {
- "type": "object",
- "properties": {
- "bilibili": {
- "title": "B站参数",
- "description": "B站参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/BilibiliPublishOptionDto"
- }
- ]
- },
- "wxGzh": {
- "title": "B站参数",
- "description": "微信公众号参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/GzhPublishOptionDto"
- }
- ]
- },
- "youtube": {
- "title": "B站参数",
- "description": "微信公众号参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/YoutubePublishOptionDto"
- }
- ]
- },
- "facebook": {
- "title": "Facebook参数",
- "description": "Facebook参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/FacebookPostOptionsDto"
- }
- ]
- },
- "instagram": {
- "title": "Instagram参数",
- "description": "Instagram参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/InstagramPostOptionsDto"
- }
- ]
- },
- "threads": {
- "title": "Threads参数",
- "description": "Threads参数",
- "allOf": [
- {
- "$ref": "#/components/schemas/ThreadsPostOptionsDto"
- }
- ]
- }
- }
- },
- "CreatePublishDto": {
- "type": "object",
- "properties": {
- "flowId": {
- "type": "string",
- "title": "流水ID",
- "description": "流水ID--使用UUID"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "article"
- ],
- "description": "类型"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "内容"
- },
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "accountType": {
- "type": "string",
- "title": "平台类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ],
- "description": "平台类型"
- },
- "videoUrl": {
- "type": "string",
- "title": "视频路径"
- },
- "coverUrl": {
- "type": "string",
- "title": "封面路径"
- },
- "imgUrlList": {
- "title": "图片列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "publishTime": {
- "format": "date-time",
- "type": "string",
- "title": "发布日期"
- },
- "topics": {
- "title": "话题列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "option": {
- "title": "其他配置",
- "description": "其他配置",
- "allOf": [
- {
- "$ref": "#/components/schemas/PublishOptionDto"
- }
- ]
- }
- },
- "required": [
- "flowId",
- "type",
- "title",
- "desc",
- "accountId",
- "accountType"
- ]
- },
- "CreatePublishRecordDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "flowId": {
- "type": "string"
- },
- "dataId": {
- "type": "string"
- },
- "type": {
- "type": "string",
- "enum": [
- "video",
- "article"
- ]
- },
- "title": {
- "type": "string"
- },
- "desc": {
- "type": "string"
- },
- "accountId": {
- "type": "string"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "accountType": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ]
- },
- "uid": {
- "type": "string"
- },
- "videoUrl": {
- "type": "string"
- },
- "coverUrl": {
- "type": "string"
- },
- "imgUrlList": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "publishTime": {},
- "imgList": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "errorMsg": {
- "type": "string"
- },
- "option": {}
- },
- "required": [
- "dataId",
- "type",
- "accountId",
- "topics",
- "accountType",
- "uid",
- "publishTime",
- "option"
- ],
- "additionalProperties": false
- },
- "PubRecordListFilterDto": {
- "type": "object",
- "properties": {
- "accountType": {
- "type": "string",
- "title": "账户类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ],
- "description": "账户类型"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "article"
- ],
- "description": "类型"
- },
- "status": {
- "type": "number",
- "title": "状态",
- "enum": [
- -1,
- 0,
- 1,
- 2
- ],
- "description": "状态"
- },
- "time": {
- "title": "创建时间区间,必须为UTC时间",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "PublishRecordItemDto": {
- "type": "object",
- "properties": {
- "dataId": {
- "type": "string",
- "description": "数据ID"
- },
- "id": {
- "type": "string",
- "description": "记录ID"
- },
- "flowId": {
- "type": "string",
- "example": "flow001",
- "description": "流程ID"
- },
- "type": {
- "type": "string",
- "example": "video",
- "description": "发布类型(如 video, article)"
- },
- "title": {
- "type": "string",
- "example": "标题示例",
- "description": "发布标题"
- },
- "desc": {
- "type": "string",
- "example": "这是一个描述",
- "description": "发布描述"
- },
- "accountId": {
- "type": "string",
- "example": "ACCOUNT-001",
- "description": "账号ID"
- },
- "accountType": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ],
- "description": "账号类型"
- },
- "uid": {
- "type": "string",
- "example": "USER-001",
- "description": "用户UID"
- },
- "videoUrl": {
- "type": "string",
- "example": "https://example.com/video.mp4",
- "description": "视频地址"
- },
- "coverUrl": {
- "type": "string",
- "example": "https://example.com/cover.jpg",
- "description": "封面图地址"
- },
- "imgUrlList": {
- "example": [
- "https://example.com/image1.jpg",
- "https://example.com/image2.jpg"
- ],
- "description": "图片列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "publishTime": {
- "format": "date-time",
- "type": "string",
- "example": "2025-04-27T18:00:18Z",
- "description": "发布时间"
- },
- "status": {
- "type": "number",
- "enum": [
- -1,
- 0,
- 1,
- 2
- ],
- "description": "发布状态"
- },
- "errorMsg": {
- "type": "string",
- "example": "错误信息(可为空)",
- "description": "错误信息",
- "nullable": true
- }
- },
- "required": [
- "dataId",
- "id",
- "flowId",
- "type",
- "title",
- "desc",
- "accountId",
- "accountType",
- "uid",
- "imgUrlList",
- "publishTime",
- "status",
- "errorMsg"
- ]
- },
- "UpdatePublishRecordTimeDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "title": "数据ID"
- },
- "publishTime": {
- "format": "date-time",
- "type": "string",
- "title": "新的发布时间"
- }
- },
- "required": [
- "id"
- ]
- },
- "AddArcCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- },
- "dataId": {
- "type": "string",
- "title": "作品ID",
- "description": "作品ID"
- },
- "content": {
- "type": "string",
- "title": "内容",
- "description": "内容"
- }
- },
- "required": [
- "accountId",
- "dataId",
- "content"
- ]
- },
- "ReplyCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- },
- "commentId": {
- "type": "string",
- "title": "评论ID",
- "description": "评论ID"
- },
- "content": {
- "type": "string",
- "title": "内容",
- "description": "内容"
- }
- },
- "required": [
- "accountId",
- "commentId",
- "content"
- ]
- },
- "DelCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- },
- "commentId": {
- "type": "string",
- "title": "评论ID",
- "description": "评论ID"
- }
- },
- "required": [
- "accountId",
- "commentId"
- ]
- },
- "CreateSkKeyDto": {
- "type": "object",
- "properties": {
- "desc": {
- "type": "string",
- "title": "备注",
- "description": "备注"
- }
- }
- },
- "SkKeyUpInfoDto": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "title": "key",
- "description": "key"
- },
- "desc": {
- "type": "string",
- "title": "备注",
- "description": "备注"
- }
- },
- "required": [
- "key",
- "desc"
- ]
- },
- "SkKeyAddRefAccountDto": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "title": "key",
- "description": "key"
- },
- "accountId": {
- "type": "string",
- "title": "账号ID",
- "description": "账号ID"
- }
- },
- "required": [
- "key",
- "accountId"
- ]
- },
- "VideoInitDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "name": {
- "type": "string",
- "title": "文件名称(带格式)"
- },
- "utype": {
- "type": "number",
- "enum": [
- 0,
- 1
- ]
- }
- },
- "required": [
- "accountId",
- "name",
- "utype"
- ]
- },
- "VideoCompleteDto": {
- "type": "object",
- "properties": {
- "uploadToken": {
- "type": "string",
- "title": "上传token"
- }
- },
- "required": [
- "uploadToken"
- ]
- },
- "UploadLitVideoDto": {
- "type": "object",
- "properties": {
- "uploadToken": {
- "type": "string",
- "title": "上传token"
- }
- },
- "required": [
- "uploadToken"
- ]
- },
- "ArchiveAddByUtokenBodyDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "uploadToken": {
- "type": "string",
- "title": "上传token"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "cover": {
- "type": "string",
- "title": "封面url"
- },
- "tid": {
- "type": "number",
- "title": "分区ID,由获取分区信息接口得到"
- },
- "noReprint": {
- "type": "number",
- "title": "是否允许转载 0-允许,1-不允许。默认0"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "tag": {
- "title": "标签",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "copyright": {
- "type": "number",
- "title": "1-原创,2-转载(转载时source必填)"
- },
- "source": {
- "type": "string",
- "title": "如果copyright为转载,则此字段表示转载来源"
- }
- },
- "required": [
- "accountId",
- "uploadToken",
- "title",
- "tid",
- "noReprint",
- "copyright"
- ]
- },
- "AuthBackQueryDto": {
- "type": "object",
- "properties": {}
- },
- "InsertCommentThreadsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "channelId": {
- "type": "string",
- "description": "频道ID"
- },
- "videoId": {
- "type": "string",
- "description": "视频ID"
- },
- "textOriginal": {
- "type": "string",
- "description": "评论内容"
- }
- },
- "required": [
- "accountId",
- "channelId",
- "videoId",
- "textOriginal"
- ]
- },
- "SetCommentThreadsModerationStatusDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "评论ID"
- },
- "moderationStatus": {
- "type": "string",
- "description": "审核状态,heldForReview 等待管理员审核 published - 清除要公开显示的评论。 rejected - 不显示该评论",
- "enum": [
- "heldForReview",
- "published",
- "rejected"
- ]
- },
- "banAuthor": {
- "type": "boolean",
- "description": "是否自动拒绝评论作者撰写的任何其他评论 将作者加入黑名单,"
- }
- },
- "required": [
- "accountId",
- "id",
- "moderationStatus"
- ]
- },
- "InsertCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "textOriginal": {
- "type": "string",
- "description": "评论内容, 注意:textOriginal 和 parentId 必须有且只能有一个"
- },
- "parentId": {
- "type": "string",
- "description": "父评论ID, 注意:textOriginal 和 parentId 必须有且只能有一个"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "UpdateCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "评论ID"
- },
- "textOriginal": {
- "type": "string",
- "description": "评论内容"
- }
- },
- "required": [
- "accountId",
- "id",
- "textOriginal"
- ]
- },
- "DeleteCommentDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "评论ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "VideoRateDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "视频ID"
- },
- "rating": {
- "type": "string",
- "description": "点赞、踩 like/dislike/none ",
- "enum": [
- "like",
- "dislike",
- "none"
- ]
- }
- },
- "required": [
- "accountId",
- "id",
- "rating"
- ]
- },
- "DeleteVideoDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "视频ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "UpdateVideoDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "视频ID"
- },
- "title": {
- "type": "string",
- "description": "标题"
- },
- "categoryId": {
- "type": "string",
- "description": "类别ID"
- },
- "defaultLanguage": {
- "type": "string",
- "description": "默认语言"
- },
- "description": {
- "type": "string",
- "description": "描述"
- },
- "privacyStatus": {
- "type": "string",
- "description": "隐私状态"
- },
- "tags": {
- "type": "string",
- "description": "标签"
- },
- "publishAt": {
- "type": "string",
- "description": "发布时间"
- },
- "recordingDate": {
- "type": "string",
- "description": "录制日期"
- }
- },
- "required": [
- "accountId",
- "id",
- "title",
- "categoryId"
- ]
- },
- "InsertPlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "title": {
- "type": "string",
- "description": "标题"
- },
- "description": {
- "type": "string",
- "description": "描述"
- },
- "privacyStatus": {
- "type": "string",
- "description": "隐私状态"
- }
- },
- "required": [
- "accountId",
- "title"
- ]
- },
- "UpdatePlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- },
- "title": {
- "type": "string",
- "description": "标题"
- },
- "description": {
- "type": "string",
- "description": "描述"
- },
- "privacyStatus": {
- "type": "string",
- "description": "隐私状态"
- },
- "podcastStatus": {
- "type": "string",
- "description": "播客状态"
- }
- },
- "required": [
- "accountId",
- "id",
- "title"
- ]
- },
- "DeletePlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "GetPlayListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "channelId": {
- "type": "string",
- "description": "频道ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- },
- "mine": {
- "type": "boolean",
- "description": "我的播放列表"
- },
- "maxResults": {
- "type": "number",
- "description": "最大结果数"
- },
- "pageToken": {
- "type": "string",
- "description": "分页令牌"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "InsertPlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "playlistId": {
- "type": "string",
- "description": "播放列表ID"
- },
- "resourceId": {
- "type": "string",
- "description": "资源ID"
- },
- "position": {
- "type": "number",
- "description": "位置"
- },
- "note": {
- "type": "string",
- "description": "说明"
- },
- "startAt": {
- "type": "string",
- "description": "开始时间"
- },
- "endAt": {
- "type": "string",
- "description": "结束时间"
- }
- },
- "required": [
- "accountId",
- "playlistId",
- "resourceId"
- ]
- },
- "UpdatePlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表项ID"
- },
- "playlistId": {
- "type": "string",
- "description": "播放列表ID"
- },
- "resourceId": {
- "type": "string",
- "description": "资源ID"
- },
- "position": {
- "type": "number",
- "description": "位置"
- },
- "note": {
- "type": "string",
- "description": "说明"
- },
- "startAt": {
- "type": "string",
- "description": "开始时间"
- },
- "endAt": {
- "type": "string",
- "description": "结束时间"
- }
- },
- "required": [
- "accountId",
- "id",
- "playlistId",
- "resourceId"
- ]
- },
- "DeletePlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表项ID"
- }
- },
- "required": [
- "accountId",
- "id"
- ]
- },
- "GetPlayItemsDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "id": {
- "type": "string",
- "description": "播放列表ID"
- },
- "playlistId": {
- "type": "string",
- "description": "我的播放列表"
- },
- "maxResults": {
- "type": "number",
- "description": "最大结果数"
- },
- "pageToken": {
- "type": "string",
- "description": "分页令牌"
- },
- "videoId": {
- "type": "string",
- "description": "视频ID"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "GetChannelsSectionsListDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "账号ID"
- },
- "channelId": {
- "type": "string",
- "description": "频道ID, 注意:channelId、id、mine,必须有且只能有一个"
- },
- "id": {
- "type": "string",
- "description": "板块ID, 多个id用英文逗号分隔,注意:channelId、id、mine,必须有且只能有一个"
- },
- "mine": {
- "type": "boolean",
- "description": "是否查询自己的板块, 注意:channelId、id、mine,必须有且只能有一个"
- }
- },
- "required": [
- "accountId"
- ]
- },
- "GetAuthUrlDto": {
- "type": "object",
- "properties": {
- "platform": {
- "type": "string",
- "title": "平台名称"
- }
- },
- "required": [
- "platform"
- ]
- },
- "RefreshTokenDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "refreshToken": {
- "type": "string",
- "title": "刷新令牌"
- }
- },
- "required": [
- "accountId",
- "refreshToken"
- ]
- },
- "VideoPublishDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "postInfo": {
- "type": "object",
- "title": "发布信息"
- },
- "sourceInfo": {
- "type": "object",
- "title": "源信息"
- }
- },
- "required": [
- "accountId",
- "postInfo",
- "sourceInfo"
- ]
- },
- "PhotoPublishDto": {
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "title": "账户ID"
- },
- "postMode": {
- "type": "string",
- "title": "发布模式"
- },
- "postInfo": {
- "type": "object",
- "title": "发布信息"
- },
- "sourceInfo": {
- "type": "object",
- "title": "源信息"
- }
- },
- "required": [
- "accountId",
- "postMode",
- "postInfo",
- "sourceInfo"
- ]
- },
- "UploadVideoFileDto": {
- "type": "object",
- "properties": {
- "uploadUrl": {
- "type": "string",
- "title": "上传URL"
- },
- "contentType": {
- "type": "string",
- "title": "内容类型"
- }
- },
- "required": [
- "uploadUrl",
- "contentType"
- ]
- },
- "CreateBoardBodyDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "title": "画板名称"
- }
- },
- "required": [
- "name"
- ]
- },
- "MediaSource": {
- "type": "object",
- "properties": {
- "source_type": {
- "type": "object",
- "title": "媒体类型"
- },
- "url": {
- "type": "string",
- "title": "地址"
- }
- },
- "required": [
- "source_type",
- "url"
- ]
- },
- "CreatePinBodyDto": {
- "type": "object",
- "properties": {
- "board_id": {
- "type": "string",
- "title": "此Pin所属board的板块。"
- },
- "link": {
- "type": "string",
- "title": "点击连接跳转的link"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "description": {
- "type": "string",
- "title": "描述"
- },
- "dominant_color": {
- "type": "string",
- "title": "RGB表示的颜色 主引脚颜色。十六进制数,例如“#6E7874”"
- },
- "alt_text": {
- "type": "string",
- "title": "鼠标悬浮描述"
- },
- "media_source": {
- "title": "媒体来源",
- "allOf": [
- {
- "$ref": "#/components/schemas/MediaSource"
- }
- ]
- },
- "items": {
- "title": "点开pin里面包含的图片文案信息",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "board_id",
- "media_source",
- "items"
- ]
- },
- "FacebookPageSelectionDto": {
- "type": "object",
- "properties": {
- "pageIds": {
- "title": "页面ID列表",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "pageIds"
- ]
- },
- "AddInteractionRecordDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "minLength": 1
- },
- "type": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ]
- },
- "worksId": {
- "type": "string",
- "minLength": 1
- },
- "worksTitle": {
- "type": "string"
- },
- "worksCover": {
- "type": "string"
- },
- "worksContent": {
- "type": "string"
- },
- "commentContent": {
- "type": "string"
- },
- "commentRemark": {
- "type": "string"
- },
- "commentTime": {},
- "likeTime": {},
- "collectTime": {}
- },
- "required": [
- "accountId",
- "type",
- "worksId",
- "commentTime",
- "likeTime",
- "collectTime"
- ],
- "additionalProperties": false
- },
- "AddReplyCommentRecordDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "minLength": 1
- },
- "type": {
- "type": "string",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ]
- },
- "commentId": {
- "type": "string",
- "minLength": 1
- },
- "worksId": {
- "type": "string"
- },
- "commentContent": {
- "type": "string",
- "minLength": 1
- },
- "replyContent": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "accountId",
- "type",
- "commentId",
- "commentContent",
- "replyContent"
- ],
- "additionalProperties": false
- },
- "CreateAccountDto": {
- "type": "object",
- "properties": {
- "refresh_token": {
- "type": "string",
- "description": "refresh_token"
- },
- "access_token": {
- "type": "string",
- "description": "access_token"
- },
- "type": {
- "type": "string",
- "description": "平台类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ]
- },
- "loginCookie": {
- "type": "string",
- "description": "登录Cookie"
- },
- "loginTime": {
- "format": "date-time",
- "type": "string",
- "description": "登录时间"
- },
- "uid": {
- "type": "string",
- "description": "平台用户ID"
- },
- "account": {
- "type": "string",
- "description": "账号"
- },
- "avatar": {
- "type": "string",
- "description": "头像"
- },
- "nickname": {
- "type": "string",
- "description": "昵称"
- },
- "fansCount": {
- "type": "number",
- "description": "粉丝数"
- },
- "readCount": {
- "type": "number",
- "description": "阅读数"
- },
- "likeCount": {
- "type": "number",
- "description": "点赞数"
- },
- "collectCount": {
- "type": "number",
- "description": "收藏数"
- },
- "forwardCount": {
- "type": "number",
- "description": "转发数"
- },
- "commentCount": {
- "type": "number",
- "description": "评论数"
- },
- "lastStatsTime": {
- "format": "date-time",
- "type": "string",
- "description": "最后统计时间"
- },
- "workCount": {
- "type": "number",
- "description": "作品数"
- },
- "income": {
- "type": "number",
- "description": "收入"
- },
- "groupId": {
- "type": "string",
- "description": "账户组ID"
- }
- },
- "required": [
- "refresh_token",
- "access_token",
- "type",
- "loginCookie",
- "loginTime",
- "uid",
- "account",
- "avatar",
- "nickname",
- "fansCount",
- "readCount",
- "likeCount",
- "collectCount",
- "forwardCount",
- "commentCount",
- "lastStatsTime",
- "workCount",
- "income",
- "groupId"
- ]
- },
- "UpdateAccountDto": {
- "type": "object",
- "properties": {
- "refresh_token": {
- "type": "string",
- "description": "refresh_token"
- },
- "access_token": {
- "type": "string",
- "description": "access_token"
- },
- "type": {
- "type": "string",
- "description": "平台类型",
- "enum": [
- "douyin",
- "xhs",
- "wxSph",
- "KWAI",
- "youtube",
- "wxGzh",
- "bilibili",
- "twitter",
- "tiktok",
- "facebook",
- "instagram",
- "threads"
- ]
- },
- "loginCookie": {
- "type": "string",
- "description": "登录Cookie"
- },
- "loginTime": {
- "format": "date-time",
- "type": "string",
- "description": "登录时间"
- },
- "uid": {
- "type": "string",
- "description": "平台用户ID"
- },
- "account": {
- "type": "string",
- "description": "账号"
- },
- "avatar": {
- "type": "string",
- "description": "头像"
- },
- "nickname": {
- "type": "string",
- "description": "昵称"
- },
- "fansCount": {
- "type": "number",
- "description": "粉丝数"
- },
- "readCount": {
- "type": "number",
- "description": "阅读数"
- },
- "likeCount": {
- "type": "number",
- "description": "点赞数"
- },
- "collectCount": {
- "type": "number",
- "description": "收藏数"
- },
- "forwardCount": {
- "type": "number",
- "description": "转发数"
- },
- "commentCount": {
- "type": "number",
- "description": "评论数"
- },
- "lastStatsTime": {
- "format": "date-time",
- "type": "string",
- "description": "最后统计时间"
- },
- "workCount": {
- "type": "number",
- "description": "作品数"
- },
- "income": {
- "type": "number",
- "description": "收入"
- },
- "groupId": {
- "type": "string",
- "description": "账户组ID"
- },
- "id": {
- "type": "string",
- "description": "更新ID"
- }
- },
- "required": [
- "id"
- ]
- },
- "UpdateAccountStatusDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "账号ID"
- },
- "status": {
- "type": "number",
- "description": "状态"
- }
- },
- "required": [
- "id",
- "status"
- ]
- },
- "DeleteAccountsDto": {
- "type": "object",
- "properties": {
- "ids": {
- "description": "要删除的ID",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "ids"
- ]
- },
- "UpdateAccountStatisticsDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "账号ID"
- },
- "workCount": {
- "type": "number",
- "description": "作品数"
- },
- "fansCount": {
- "type": "number",
- "description": "粉丝数"
- },
- "readCount": {
- "type": "number",
- "description": "阅读数"
- },
- "likeCount": {
- "type": "number",
- "description": "点赞数"
- },
- "collectCount": {
- "type": "number",
- "description": "收藏数"
- },
- "commentCount": {
- "type": "number",
- "description": "评论数"
- },
- "income": {
- "type": "number",
- "description": "收入"
- }
- },
- "required": [
- "id",
- "workCount",
- "fansCount",
- "readCount",
- "likeCount",
- "collectCount",
- "commentCount",
- "income"
- ]
- },
- "CreateAccountGroupDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "组名称"
- },
- "rank": {
- "type": "number",
- "description": "组排序,默认为 1"
- },
- "proxyIp": {
- "type": "string",
- "description": "代理IP"
- },
- "browserConfig": {
- "type": "object",
- "description": "浏览器配置必须为JSON格式"
- }
- },
- "required": [
- "name",
- "rank",
- "proxyIp",
- "browserConfig"
- ]
- },
- "UpdateAccountGroupDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "组名称"
- },
- "rank": {
- "type": "number",
- "description": "组排序,默认为 1"
- },
- "proxyIp": {
- "type": "string",
- "description": "代理IP"
- },
- "browserConfig": {
- "type": "object",
- "description": "浏览器配置必须为JSON格式"
- },
- "id": {
- "type": "string",
- "description": "更新ID"
- }
- },
- "required": [
- "name",
- "rank",
- "proxyIp",
- "browserConfig",
- "id"
- ]
- },
- "DeleteAccountGroupDto": {
- "type": "object",
- "properties": {
- "ids": {
- "description": "要删除的ID",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "ids"
- ]
- },
- "GenerateFingerprintDto": {
- "type": "object",
- "properties": {
- "operatingSystems": {
- "type": "string",
- "title": "指定要使用的操作系统的字符串 \"windows\" | \"macos\" | \"linux\" | \"android\" | \"ios\""
- }
- },
- "required": [
- "operatingSystems"
- ]
- },
- "VideoAiDesDto": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "title": "视频URL"
- }
- },
- "required": [
- "url"
- ]
- },
- "ReviewAi": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "max": {
- "type": "number",
- "title": "最大字数"
- }
- },
- "required": [
- "title"
- ]
- },
- "ReviewImgAi": {
- "type": "object",
- "properties": {
- "imgUrl": {
- "type": "string",
- "title": "图片链接"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "max": {
- "type": "number",
- "title": "最大字数"
- }
- },
- "required": [
- "imgUrl",
- "title"
- ]
- },
- "ReviewAiRecover": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "评论内容"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "max": {
- "type": "number",
- "title": "最大字数"
- }
- },
- "required": [
- "content"
- ]
- },
- "AiArticleHtmlDto": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "内容"
- }
- },
- "required": [
- "content"
- ]
- },
- "AdminAiMarkdownDto": {
- "type": "object",
- "properties": {
- "prompt": {
- "type": "string",
- "title": "系统提示词"
- },
- "content": {
- "type": "string",
- "title": "内容"
- }
- },
- "required": [
- "prompt",
- "content"
- ]
- },
- "TextModerationDto": {
- "type": "object",
- "properties": {
- "content": {
- "type": "string",
- "title": "内容"
- }
- },
- "required": [
- "content"
- ]
- },
- "MaterialMediaDto": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "title": "资源链接"
- },
- "type": {
- "type": "string",
- "title": "资源类型",
- "enum": [
- "video",
- "img"
- ]
- },
- "content": {
- "type": "string",
- "title": "文本内容"
- }
- },
- "required": [
- "url",
- "type"
- ]
- },
- "CreateMaterialDto": {
- "type": "object",
- "properties": {
- "groupId": {
- "type": "string",
- "title": "组ID"
- },
- "coverUrl": {
- "type": "string",
- "title": "封面图"
- },
- "mediaList": {
- "title": "媒体数组",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MaterialMediaDto"
- }
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "内容"
- },
- "option": {
- "type": "object",
- "title": "其他属性"
- }
- },
- "required": [
- "groupId",
- "mediaList",
- "title"
- ]
- },
- "CreateMaterialTaskDto": {
- "type": "object",
- "properties": {
- "groupId": {
- "type": "string",
- "title": "组ID"
- },
- "num": {
- "type": "number",
- "title": "生成数量"
- },
- "aiModelTag": {
- "type": "string",
- "title": "AI模型tag"
- },
- "prompt": {
- "type": "string",
- "title": "提示词"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- },
- "mediaGroups": {
- "title": "使用的媒体组数组",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "coverGroup": {
- "type": "string",
- "title": "封面媒体组"
- },
- "option": {
- "type": "object",
- "title": "高级设置"
- },
- "textMax": {
- "type": "number",
- "title": "最大文字数量"
- },
- "language": {
- "type": "string",
- "title": "语言"
- }
- },
- "required": [
- "groupId",
- "num",
- "aiModelTag",
- "prompt",
- "mediaGroups",
- "coverGroup"
- ]
- },
- "UpdateMaterialDto": {
- "type": "object",
- "properties": {
- "coverUrl": {
- "type": "string",
- "title": "封面图"
- },
- "mediaList": {
- "title": "媒体数组",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MaterialMediaDto"
- }
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "内容"
- },
- "option": {
- "type": "object",
- "title": "其他属性"
- }
- },
- "required": [
- "mediaList",
- "title"
- ]
- },
- "CreateMaterialGroupDto": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "素材类型",
- "enum": [
- "video",
- "article"
- ]
- },
- "name": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "type",
- "name"
- ]
- },
- "UpdateMaterialGroupDto": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "name"
- ]
- },
- "CreateMediaDto": {
- "type": "object",
- "properties": {
- "groupId": {
- "type": "string",
- "title": "组ID"
- },
- "materialId": {
- "type": "string",
- "title": "素材ID"
- },
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "img"
- ],
- "description": "类型"
- },
- "url": {
- "type": "string",
- "title": "文件链接"
- },
- "thumbUrl": {
- "type": "string",
- "title": "缩略图"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "groupId",
- "type",
- "url",
- "title",
- "desc"
- ]
- },
- "CreateMediaGroupDto": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "title": "类型",
- "enum": [
- "video",
- "img"
- ],
- "description": "类型"
- },
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "type",
- "title",
- "desc"
- ]
- },
- "UpdateMediaGroupDto": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "title": "标题"
- },
- "desc": {
- "type": "string",
- "title": "描述"
- }
- },
- "required": [
- "title",
- "desc"
- ]
- },
- "CheckoutListBody": {
- "type": "object",
- "properties": {
- "page": {
- "type": "number",
- "title": "页面"
- },
- "size": {
- "type": "number",
- "title": "每页个数"
- }
- }
- },
- "MetadataDto": {
- "type": "object",
- "properties": {}
- },
- "CheckoutBodyDto": {
- "type": "object",
- "properties": {
- "success_url": {
- "type": "string",
- "title": "默认回到域名首页,如果指定回调页面只需要加上域名后面path地址即可"
- },
- "payment": {
- "type": "string",
- "title": "付款模式-连续包月-连续包年-一次性付",
- "enum": [
- "month",
- "year",
- "onceYear",
- "onceMonth"
- ]
- },
- "mode": {
- "type": "string",
- "title": "支付模式",
- "enum": [
- "payment",
- "subscription"
- ]
- },
- "metadata": {
- "title": "aitoearn订单信息",
- "allOf": [
- {
- "$ref": "#/components/schemas/MetadataDto"
- }
- ]
- }
- },
- "required": [
- "payment",
- "mode"
- ]
- },
- "RefundBodyDto": {
- "type": "object",
- "properties": {
- "charge": {
- "type": "string",
- "title": "checkout表里面的charge "
- }
- },
- "required": [
- "charge"
- ]
- },
- "SubscriptionBodyDto": {
- "type": "object",
- "properties": {
- "page": {
- "type": "number",
- "title": "页面"
- },
- "size": {
- "type": "number",
- "title": "每页个数"
- }
- },
- "required": [
- "page",
- "size"
- ]
- },
- "UnSubscriptionBodyDto": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "title": "订阅id"
- }
- },
- "required": [
- "id"
- ]
- },
- "TaskWithOpportunityVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "maxRecruits": {
- "type": "number"
- },
- "currentRecruits": {
- "type": "number"
- },
- "deadline": {
- "type": "string",
- "format": "date-time"
- },
- "reward": {
- "type": "number"
- },
- "status": {
- "type": "string"
- },
- "accountTypes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "taskData": {
- "type": "object",
- "properties": {
- "targetWorksId": {
- "type": "string"
- },
- "targetAuthorId": {
- "type": "string"
- },
- "platform": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "materials": {
- "type": "array",
- "items": {}
- },
- "createdAt": {
- "type": "string",
- "format": "date-time"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time"
- },
- "opportunityId": {
- "type": "string"
- },
- "opportunityStatus": {
- "type": "string"
- },
- "expiredAt": {
- "type": "string",
- "format": "date-time"
- },
- "accountId": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "description",
- "type",
- "maxRecruits",
- "currentRecruits",
- "deadline",
- "reward",
- "status",
- "accountTypes",
- "createdAt",
- "updatedAt",
- "opportunityId",
- "opportunityStatus",
- "expiredAt",
- "accountId"
- ],
- "additionalProperties": false
- },
- "TotalAmountVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "totalAmount": {
- "type": "number"
- }
- },
- "required": [
- "totalAmount"
- ],
- "additionalProperties": false
- },
- "AcceptTaskDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "taskId": {
- "type": "string",
- "minLength": 1
- },
- "opportunityId": {
- "type": "string",
- "minLength": 1
- }
- },
- "required": [
- "taskId",
- "opportunityId"
- ],
- "additionalProperties": false
- },
- "UserTaskVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "taskId": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "accountType": {
- "type": "string"
- },
- "uid": {
- "type": "string"
- },
- "account": {
- "type": "string"
- },
- "reward": {
- "type": "number"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time"
- }
- },
- "required": [
- "id",
- "taskId",
- "userId",
- "status",
- "accountType",
- "uid",
- "account",
- "reward",
- "createdAt"
- ],
- "additionalProperties": false
- },
- "MaterialVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "taskId": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "aiPrompt": {
- "type": "string"
- },
- "priority": {
- "type": "number"
- },
- "content": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time"
- }
- },
- "required": [
- "id",
- "taskId",
- "type",
- "status",
- "createdAt",
- "updatedAt"
- ],
- "additionalProperties": false
- },
- "UserTaskWithTaskVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "taskId": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "accountType": {
- "type": "string"
- },
- "uid": {
- "type": "string"
- },
- "account": {
- "type": "string"
- },
- "reward": {
- "type": "number"
- },
- "createdAt": {
- "type": "string",
- "format": "date-time"
- },
- "updatedAt": {
- "type": "string",
- "format": "date-time"
- },
- "task": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "deadline": {
- "type": "string",
- "format": "date-time"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "description",
- "type",
- "deadline",
- "status"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "id",
- "taskId",
- "userId",
- "status",
- "accountType",
- "uid",
- "account",
- "reward",
- "createdAt"
- ],
- "additionalProperties": false
- },
- "UnreadCountVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "count": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "required": [
- "count"
- ],
- "additionalProperties": false
- },
- "NotificationListVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "items": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "readAt": {
- "type": "string"
- },
- "relatedId": {
- "type": "string"
- },
- "createdAt": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "userId",
- "title",
- "content",
- "type",
- "status",
- "relatedId",
- "createdAt",
- "updatedAt"
- ],
- "additionalProperties": false
- }
- },
- "total": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- },
- "page": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "pageSize": {
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- },
- "totalPages": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "required": [
- "items",
- "total",
- "page",
- "pageSize",
- "totalPages"
- ],
- "additionalProperties": false
- },
- "NotificationVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "userId": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "readAt": {
- "type": "string"
- },
- "relatedId": {
- "type": "string"
- },
- "createdAt": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "userId",
- "title",
- "content",
- "type",
- "status",
- "relatedId",
- "createdAt",
- "updatedAt"
- ],
- "additionalProperties": false
- },
- "MarkAsReadDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "notificationIds": {
- "minItems": 1,
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- },
- "required": [
- "notificationIds"
- ],
- "additionalProperties": false
- },
- "OperationResultVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "affectedCount": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "additionalProperties": false
- },
- "BatchDeleteDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "notificationIds": {
- "minItems": 1,
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- },
- "required": [
- "notificationIds"
- ],
- "additionalProperties": false
- },
- "UserAiChatRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "messages": {
- "description": "消息列表",
- "minItems": 1,
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "role": {
- "description": "消息角色",
- "type": "string",
- "enum": [
- "system",
- "user",
- "assistant"
- ]
- },
- "content": {
- "description": "消息内容",
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "text"
- },
- "text": {
- "description": "文本内容",
- "type": "string"
- }
- },
- "required": [
- "type",
- "text"
- ],
- "additionalProperties": false
- },
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "image_url"
- },
- "image_url": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片链接",
- "type": "string",
- "format": "uri"
- },
- "detail": {
- "description": "图片处理质量",
- "type": "string",
- "enum": [
- "auto",
- "low",
- "high"
- ]
- }
- },
- "required": [
- "url"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "type",
- "image_url"
- ],
- "additionalProperties": false
- },
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "video_url"
- },
- "video_url": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片链接",
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "url"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "type",
- "video_url"
- ],
- "additionalProperties": false
- },
- {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "input_audio"
- },
- "input_audio": {
- "type": "object",
- "properties": {
- "data": {
- "description": "图片链接",
- "type": "string",
- "format": "uri"
- },
- "format": {
- "type": "string"
- }
- },
- "required": [
- "data",
- "format"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "type",
- "input_audio"
- ],
- "additionalProperties": false
- }
- ]
- }
- }
- ]
- }
- },
- "required": [
- "role",
- "content"
- ],
- "additionalProperties": false
- }
- },
- "model": {
- "description": "AI模型",
- "default": "qwen-plus",
- "type": "string"
- },
- "temperature": {
- "description": "温度参数",
- "type": "number",
- "minimum": 0,
- "maximum": 2
- },
- "maxTokens": {
- "description": "最大输出token数",
- "type": "integer",
- "minimum": 1,
- "maximum": 9007199254740991
- }
- },
- "required": [
- "messages",
- "model"
- ],
- "additionalProperties": false
- },
- "UserAiChatResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "content": {
- "description": "AI回复内容",
- "anyOf": [
- {
- "type": "string"
- },
- {}
- ]
- },
- "model": {
- "description": "使用的模型",
- "type": "string"
- },
- "usage": {
- "description": "使用情况",
- "type": "object",
- "properties": {
- "input_tokens": {
- "description": "输入token数",
- "type": "number"
- },
- "output_tokens": {
- "description": "输出token数",
- "type": "number"
- },
- "total_tokens": {
- "description": "总token数",
- "type": "number"
- }
- },
- "required": [
- "input_tokens",
- "output_tokens",
- "total_tokens"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "content",
- "model"
- ],
- "additionalProperties": false
- },
- "UserLogsResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "items": {
- "description": "日志列表",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "description": "日志ID",
- "type": "number"
- },
- "created_at": {
- "description": "创建时间",
- "type": "number"
- },
- "content": {
- "description": "内容",
- "type": "string"
- },
- "model_name": {
- "description": "模型名称",
- "type": "string"
- },
- "prompt_tokens": {
- "description": "提示token数",
- "type": "number"
- },
- "completion_tokens": {
- "description": "完成token数",
- "type": "number"
- },
- "use_time": {
- "description": "使用时间",
- "type": "number"
- }
- },
- "required": [
- "id",
- "created_at",
- "content",
- "model_name",
- "prompt_tokens",
- "completion_tokens",
- "use_time"
- ],
- "additionalProperties": false
- }
- },
- "total": {
- "description": "总数",
- "type": "number"
- },
- "page": {
- "description": "页码",
- "type": "number"
- },
- "page_size": {
- "description": "每页大小",
- "type": "number"
- }
- },
- "required": [
- "items",
- "total",
- "page",
- "page_size"
- ],
- "additionalProperties": false
- },
- "UserImageGenerationRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "prompt": {
- "description": "图片描述提示",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "model": {
- "description": "图片生成模型",
- "type": "string"
- },
- "n": {
- "description": "生成图片数量",
- "default": 1,
- "type": "integer",
- "minimum": 1,
- "maximum": 10
- },
- "quality": {
- "description": "图片质量",
- "default": "standard",
- "type": "string",
- "enum": [
- "standard",
- "hd"
- ]
- },
- "response_format": {
- "description": "返回格式",
- "default": "url",
- "type": "string",
- "enum": [
- "url",
- "b64_json"
- ]
- },
- "size": {
- "description": "图片尺寸",
- "default": "1024x1024",
- "type": "string"
- },
- "style": {
- "description": "图片风格",
- "default": "vivid",
- "type": "string",
- "enum": [
- "vivid",
- "natural"
- ]
- },
- "user": {
- "description": "用户标识符",
- "type": "string"
- }
- },
- "required": [
- "prompt",
- "n",
- "response_format",
- "size"
- ],
- "additionalProperties": false
- },
- "UserImageResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "created": {
- "description": "创建时间",
- "type": "number"
- },
- "list": {
- "description": "图片数据",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片URL",
- "type": "string"
- },
- "b64_json": {
- "description": "Base64编码的图片",
- "type": "string"
- },
- "revised_prompt": {
- "description": "修订后的提示",
- "type": "string"
- }
- },
- "additionalProperties": false
- }
- },
- "usage": {
- "description": "使用情况",
- "type": "object",
- "properties": {
- "input_tokens": {
- "description": "输入token数",
- "type": "number"
- },
- "output_tokens": {
- "description": "输出token数",
- "type": "number"
- },
- "total_tokens": {
- "description": "总token数",
- "type": "number"
- }
- },
- "required": [
- "output_tokens",
- "total_tokens"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "created",
- "list"
- ],
- "additionalProperties": false
- },
- "UserImageEditRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "image": {
- "description": "原始图片(base64编码)",
- "type": "string",
- "minLength": 1
- },
- "prompt": {
- "description": "编辑描述",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "mask": {
- "description": "遮罩图片(base64编码)",
- "type": "string"
- },
- "model": {
- "description": "图片编辑模型",
- "type": "string"
- },
- "n": {
- "description": "生成图片数量",
- "default": 1,
- "type": "integer",
- "minimum": 1,
- "maximum": 10
- },
- "size": {
- "description": "图片尺寸",
- "default": "1024x1024",
- "type": "string"
- },
- "response_format": {
- "description": "返回格式",
- "default": "url",
- "type": "string",
- "enum": [
- "url",
- "b64_json"
- ]
- },
- "user": {
- "description": "用户标识符",
- "type": "string"
- }
- },
- "required": [
- "image",
- "prompt",
- "n",
- "size",
- "response_format"
- ],
- "additionalProperties": false
- },
- "UserImageVariationRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "image": {
- "description": "原始图片(base64编码)",
- "type": "string",
- "minLength": 1
- },
- "model": {
- "description": "图片模型",
- "type": "string"
- },
- "n": {
- "description": "生成图片数量",
- "default": 1,
- "type": "integer",
- "minimum": 1,
- "maximum": 10
- },
- "size": {
- "description": "图片尺寸",
- "default": "1024x1024",
- "type": "string"
- },
- "response_format": {
- "description": "返回格式",
- "default": "url",
- "type": "string",
- "enum": [
- "url",
- "b64_json"
- ]
- },
- "user": {
- "description": "用户标识符",
- "type": "string"
- }
- },
- "required": [
- "image",
- "n",
- "size",
- "response_format"
- ],
- "additionalProperties": false
- },
- "UserVideoGenerationRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "base64": {
- "description": "图片base64或prompt里代入图片url",
- "type": "string"
- },
- "mode": {
- "description": "生成模式",
- "type": "string",
- "enum": [
- "fast",
- "relax"
- ]
- },
- "prompt": {
- "description": "url+提示词",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "motion": {
- "description": "动作强度",
- "type": "string",
- "enum": [
- "high",
- "low"
- ]
- },
- "video_type": {
- "description": "视频类型",
- "type": "string",
- "enum": [
- "vid_1.1_i2v_480",
- "vid_1.1_i2v_720",
- "vid_1.1_i2v_1080"
- ]
- },
- "animate_mode": {
- "description": "动画模式",
- "type": "string",
- "enum": [
- "manual",
- "auto"
- ]
- },
- "action": {
- "description": "视频执行动作",
- "type": "string",
- "enum": [
- "rerun",
- "start_frame",
- "auto_low",
- "auto_high",
- "low_motion",
- "high_motion"
- ]
- },
- "taskId": {
- "description": "视频衍生执行动作用到的任务id",
- "type": "string"
- },
- "index": {
- "description": "视频衍生索引",
- "type": "integer",
- "minimum": 0,
- "maximum": 3
- }
- },
- "required": [
- "prompt",
- "motion"
- ],
- "additionalProperties": false
- },
- "MjVideoSubmitResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "code": {
- "description": "响应代码",
- "type": "number"
- },
- "description": {
- "description": "响应描述",
- "type": "string"
- },
- "result": {
- "description": "任务ID",
- "type": "string"
- },
- "properties": {
- "description": "任务属性",
- "type": "object",
- "properties": {
- "prompt": {
- "description": "处理后的提示词",
- "type": "string"
- }
- },
- "required": [
- "prompt"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "code",
- "description",
- "result",
- "properties"
- ],
- "additionalProperties": false
- },
- "MjTaskFetchResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "id": {
- "description": "任务ID",
- "type": "string"
- },
- "prompt": {
- "description": "任务描述",
- "type": "string"
- },
- "imageUrl": {
- "description": "图片地址",
- "type": "string"
- },
- "enqueue_time": {
- "description": "入队时间",
- "type": "string"
- },
- "width": {
- "description": "宽度",
- "type": "number"
- },
- "height": {
- "description": "高度",
- "type": "number"
- },
- "batch_size": {
- "description": "批次大小",
- "type": "number"
- },
- "status": {
- "description": "任务状态",
- "type": "string"
- },
- "job_type": {
- "description": "任务类型",
- "type": "string"
- },
- "video_url": {
- "description": "单条视频URL",
- "type": "string"
- },
- "video_urls": {
- "description": "4条视频URL",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "progress": {
- "description": "任务进度",
- "type": "string"
- },
- "action": {
- "description": "任务动作",
- "type": "string"
- }
- },
- "required": [
- "id",
- "prompt",
- "imageUrl",
- "enqueue_time",
- "width",
- "height",
- "batch_size",
- "status",
- "job_type",
- "video_url",
- "video_urls",
- "progress",
- "action"
- ],
- "additionalProperties": false
- },
- "UserVideoGenerationDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "model": {
- "description": "模型名称",
- "type": "string",
- "minLength": 1
- },
- "prompt": {
- "description": "提示词",
- "type": "string",
- "minLength": 1,
- "maxLength": 4000
- },
- "image": {
- "description": "图片URL或base64",
- "type": "string"
- },
- "mode": {
- "description": "生成模式",
- "type": "string"
- },
- "size": {
- "description": "尺寸",
- "type": "string"
- },
- "duration": {
- "description": "时长",
- "type": "number"
- },
- "metadata": {
- "description": "其他参数",
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- }
- },
- "required": [
- "model",
- "prompt"
- ],
- "additionalProperties": false
- },
- "VideoGenerationResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "task_id": {
- "description": "任务ID",
- "type": "string"
- },
- "status": {
- "description": "任务状态",
- "type": "string"
- },
- "message": {
- "description": "响应消息",
- "type": "string"
- }
- },
- "required": [
- "task_id",
- "status"
- ],
- "additionalProperties": false
- },
- "VideoTaskStatusResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "task_id": {
- "description": "任务ID",
- "type": "string"
- },
- "action": {
- "description": "任务动作",
- "type": "string"
- },
- "status": {
- "description": "任务状态",
- "type": "string"
- },
- "fail_reason": {
- "description": "失败原因或视频URL",
- "type": "string"
- },
- "submit_time": {
- "description": "提交时间",
- "type": "number"
- },
- "start_time": {
- "description": "开始时间",
- "type": "number"
- },
- "finish_time": {
- "description": "完成时间",
- "type": "number"
- },
- "progress": {
- "description": "任务进度",
- "type": "string"
- },
- "data": {
- "description": "任务数据",
- "type": "object",
- "propertyNames": {
- "type": "string"
- },
- "additionalProperties": {}
- }
- },
- "required": [
- "task_id",
- "action",
- "status",
- "submit_time",
- "start_time",
- "finish_time",
- "progress",
- "data"
- ],
- "additionalProperties": false
- },
- "Md2CardRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "markdown": {
- "description": "要转换的 Markdown 文本",
- "default": "# 默认 markdown",
- "type": "string"
- },
- "theme": {
- "description": "卡片主题样式 ID",
- "default": "apple-notes",
- "type": "string"
- },
- "themeMode": {
- "description": "主题的模式 ID",
- "type": "string"
- },
- "width": {
- "description": "卡片宽度(像素)",
- "default": 440,
- "type": "integer",
- "minimum": 100,
- "maximum": 2000
- },
- "height": {
- "description": "卡片高度(像素)",
- "default": 586,
- "type": "integer",
- "minimum": 100,
- "maximum": 3000
- },
- "splitMode": {
- "description": "分割模式",
- "default": "noSplit",
- "type": "string"
- },
- "mdxMode": {
- "description": "是否启用 MDX 模式",
- "default": false,
- "type": "boolean"
- },
- "overHiddenMode": {
- "description": "是否启用溢出隐藏模式",
- "default": false,
- "type": "boolean"
- }
- },
- "required": [
- "markdown",
- "theme",
- "width",
- "height",
- "splitMode",
- "mdxMode",
- "overHiddenMode"
- ],
- "additionalProperties": false
- },
- "Md2CardResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "images": {
- "description": "生成的卡片图片",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "url": {
- "description": "图片URL",
- "type": "string"
- },
- "fileName": {
- "description": "文件名",
- "type": "string"
- }
- },
- "required": [
- "url",
- "fileName"
- ],
- "additionalProperties": false
- }
- }
- },
- "required": [
- "images"
- ],
- "additionalProperties": false
- },
- "FireflycardRequestDto": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "content": {
- "description": "卡片内容",
- "type": "string",
- "minLength": 1
- },
- "temp": {
- "description": "模板类型",
- "default": "tempA",
- "type": "string",
- "enum": [
- "tempA",
- "tempB",
- "tempC",
- "tempJin",
- "tempMemo",
- "tempEasy",
- "tempBlackSun",
- "tempE",
- "tempWrite",
- "code",
- "tempD"
- ]
- },
- "title": {
- "description": "标题",
- "type": "string"
- },
- "style": {
- "description": "样式配置",
- "type": "object",
- "properties": {
- "align": {
- "description": "对齐方式",
- "type": "string"
- },
- "backgroundName": {
- "description": "背景名称",
- "type": "string"
- },
- "backShadow": {
- "description": "背景阴影",
- "type": "string"
- },
- "font": {
- "description": "字体",
- "type": "string"
- },
- "width": {
- "description": "宽度",
- "type": "number"
- },
- "ratio": {
- "description": "比例",
- "type": "string"
- },
- "height": {
- "description": "高度",
- "type": "number"
- },
- "fontScale": {
- "description": "字体缩放",
- "type": "number"
- },
- "padding": {
- "description": "内边距",
- "type": "string"
- },
- "borderRadius": {
- "description": "边框圆角",
- "type": "string"
- },
- "color": {
- "description": "颜色",
- "type": "string"
- },
- "opacity": {
- "description": "透明度",
- "type": "number"
- },
- "blur": {
- "description": "模糊度",
- "type": "number"
- },
- "backgroundAngle": {
- "description": "背景角度",
- "type": "string"
- },
- "lineHeights": {
- "description": "行高设置",
- "type": "object",
- "properties": {
- "content": {
- "description": "内容行高",
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "letterSpacings": {
- "description": "字间距设置",
- "type": "object",
- "properties": {
- "content": {
- "description": "内容字间距",
- "type": "string"
- }
- },
- "additionalProperties": false
- }
- },
- "additionalProperties": false
- },
- "switchConfig": {
- "description": "开关配置",
- "type": "object",
- "properties": {
- "showIcon": {
- "description": "显示图标",
- "type": "boolean"
- },
- "showDate": {
- "description": "显示日期",
- "type": "boolean"
- },
- "showTitle": {
- "description": "显示标题",
- "type": "boolean"
- },
- "showContent": {
- "description": "显示内容",
- "type": "boolean"
- },
- "showAuthor": {
- "description": "显示作者",
- "type": "boolean"
- },
- "showTextCount": {
- "description": "显示文字计数",
- "type": "boolean"
- },
- "showQRCode": {
- "description": "显示二维码",
- "type": "boolean"
- },
- "showPageNum": {
- "description": "显示页码",
- "type": "boolean"
- },
- "showWatermark": {
- "description": "显示水印",
- "type": "boolean"
- }
- },
- "additionalProperties": false
- }
- },
- "required": [
- "content",
- "temp"
- ],
- "additionalProperties": false
- },
- "FireflycardResponseVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "image": {
- "description": "生成的卡片图片base64数据",
- "type": "string"
- }
- },
- "required": [
- "image"
- ],
- "additionalProperties": false
- },
- "ImageGenerationModelVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "name": {
- "description": "模型名称",
- "type": "string"
- },
- "description": {
- "description": "模型描述",
- "type": "string"
- },
- "sizes": {
- "description": "支持的尺寸",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "qualities": {
- "description": "支持的质量选项",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "styles": {
- "description": "支持的风格选项",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "name",
- "description",
- "sizes",
- "qualities",
- "styles"
- ],
- "additionalProperties": false
- },
- "ImageEditModelVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "name": {
- "description": "模型名称",
- "type": "string"
- },
- "description": {
- "description": "模型描述",
- "type": "string"
- },
- "sizes": {
- "description": "支持的尺寸",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "name",
- "description",
- "sizes"
- ],
- "additionalProperties": false
- },
- "VideoGenerationModelVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "name": {
- "description": "模型名称",
- "type": "string"
- },
- "description": {
- "description": "模型描述",
- "type": "string"
- },
- "modes": {
- "description": "支持的模式",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "sizes": {
- "description": "支持的尺寸",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "durations": {
- "description": "支持的时长",
- "type": "array",
- "items": {
- "type": "number"
- }
- }
- },
- "required": [
- "name",
- "description",
- "modes",
- "sizes",
- "durations"
- ],
- "additionalProperties": false
- },
- "ChatModelVo": {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "inputModalities": {
- "description": "输入模态",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "text",
- "image",
- "video",
- "audio"
- ]
- }
- },
- "outputModalities": {
- "description": "输出模态",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "text",
- "image",
- "video",
- "audio"
- ]
- }
- },
- "pricing": {
- "type": "object",
- "properties": {
- "prompt": {
- "type": "string"
- },
- "completion": {
- "type": "string"
- },
- "image": {
- "type": "string"
- },
- "audio": {
- "type": "string"
- }
- },
- "required": [
- "prompt",
- "completion"
- ],
- "additionalProperties": false
- }
- },
- "required": [
- "name",
- "description",
- "inputModalities",
- "outputModalities",
- "pricing"
- ],
- "additionalProperties": false
- }
- }
- }
-}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/next-sitemap.config.js b/aitoearn_web/aitoearn-web/next-sitemap.config.js
index 7b0b688d..d1ed2050 100644
--- a/aitoearn_web/aitoearn-web/next-sitemap.config.js
+++ b/aitoearn_web/aitoearn-web/next-sitemap.config.js
@@ -1,60 +1,109 @@
+// next-sitemap.config.js
const glob = require("glob");
+const { statSync } = require("fs");
+const path = require("path");
+
+const BLOCKLIST_REGEX = /material\/album\/\[id\]/;
+const HAS_DYNAMIC_SEGMENT = /\[[^/]+?\]/;
+const siteUrl = process.env.NEXT_PUBLIC_HOST_URL || "https://aitoearn.ai";
+const languages = ["en", "zh-CN"];
/** @type {import('next-sitemap').IConfig} */
module.exports = {
- siteUrl: process.env.NEXT_PUBLIC_HOST_URL,
+ siteUrl,
generateRobotsTxt: true,
sitemapSize: 7000,
- transform: async (config, path) => {
- if (path.includes("[lng]")) {
- return null;
- }
+ // 主站 URL 生成(保持你现有逻辑,可继续优化)
+ transform: async (_, locPath) => {
+ if (HAS_DYNAMIC_SEGMENT.test(locPath)) return null;
+ if (BLOCKLIST_REGEX.test(locPath)) return null;
+ if (locPath.includes("[lng]")) return null;
return {
- loc: path,
- changefreq: config.changefreq,
- priority: config.priority,
- lastmod: config.autoLastmod ? new Date().toISOString() : undefined,
+ loc: locPath,
+ changefreq: "monthly",
+ priority: 0.7,
+ lastmod: new Date().toISOString(),
};
},
additionalPaths: async () => {
- const languages = ["en", "zh-CN"];
-
- // 找到所有 page 文件,然后过滤
const allPageFiles = glob.sync("src/app/**/page.{js,tsx}", {
cwd: process.cwd(),
ignore: ["**/node_modules/**"],
});
- // 过滤出 [lng] 目录下的文件
- const pageFiles = allPageFiles.filter((file) => file.includes("[lng]"));
+ const pageFiles = allPageFiles
+ .filter((f) => f.includes("[lng]"))
+ .filter((f) => {
+ const unix = f.replace(/\\/g, "/");
+ if (BLOCKLIST_REGEX.test(unix)) return false;
+ const withoutLng = unix.replace("/[lng]", "");
+ return !HAS_DYNAMIC_SEGMENT.test(withoutLng);
+ });
- // 转换为路由路径
- const routes = pageFiles.map((file) => {
- let route = file
- .replace(/\\/g, "/") // 将反斜杠转为正斜杠
- .replace("/page.tsx", "") // 移除 page.tsx
- .replace("src/app/[lng]", ""); // 移除前缀
-
- return route || "/";
+ const routeEntries = pageFiles.map((file) => {
+ let route =
+ file
+ .replace(/\\/g, "/")
+ .replace(/\/page\.(js|tsx)$/, "")
+ .replace("src/app/[lng]", "") || "/";
+ if (route !== "/") route = route.replace(/^\/+/, "/");
+ const lastmod = statSync(path.resolve(file)).mtime.toISOString();
+ return { route, lastmod };
});
const result = [];
+
for (const lang of languages) {
- for (const routePath of routes) {
+ for (const { route, lastmod } of routeEntries) {
+ const isRoot = route === "/";
+ const slug = isRoot ? "" : route.slice(1);
+ const normalized = slug;
+
+ let changefreq = "monthly";
+ let priority = isRoot ? 0.8 : 0.7;
+ if (normalized.includes("hotContent")) {
+ changefreq = "daily";
+ priority = 0.9;
+ } else if (normalized.includes("aiRank")) {
+ changefreq = "weekly";
+ priority = 0.9;
+ }
+
result.push({
- loc: `/${lang}/${routePath}`,
- changefreq: "daily",
- priority: routePath === "/" ? 1.0 : 0.8,
- alternateRefs: languages.map((alternateLang) => ({
- href: `https://apitest.aiearn.ai/${alternateLang}${routePath === "/" ? "" : routePath}`,
- hreflang: alternateLang,
- })),
+ loc: `/${lang}${slug ? "/" + slug : ""}`,
+ changefreq,
+ priority,
+ lastmod,
});
}
}
return result;
},
+
+ // 关键:把子站 sitemap 挂到索引
+ additionalSitemaps: [
+ "https://blog.aitoearn.ai/sitemap.xml",
+ "https://docs.aitoearn.ai/sitemap.xml",
+ "https://hotinfo.aitoearn.ai/sitemap.xml",
+ "https://rank.aitoearn.ai/sitemap.xml",
+ ],
+
+ // 让 robots.txt 也列出
+ robotsTxtOptions: {
+ policies: [
+ {
+ userAgent: "*",
+ disallow: [],
+ },
+ ],
+ additionalSitemaps: [
+ "https://blog.aitoearn.ai/sitemap.xml",
+ "https://docs.aitoearn.ai/sitemap.xml",
+ "https://hotinfo.aitoearn.ai/sitemap.xml",
+ "https://rank.aitoearn.ai/sitemap.xml",
+ ],
+ },
};
diff --git a/aitoearn_web/aitoearn-web/next.config.mjs b/aitoearn_web/aitoearn-web/next.config.mjs
index e5c3b2bb..12eb9d7d 100644
--- a/aitoearn_web/aitoearn-web/next.config.mjs
+++ b/aitoearn_web/aitoearn-web/next.config.mjs
@@ -1,15 +1,50 @@
+import path from "path";
+import { fileURLToPath } from "url";
+
+const __dirname = path.dirname(fileURLToPath(import.meta.url));
+
/** @type {import('next').NextConfig} */
const nextConfig = {
+ webpack(config) {
+ config.module.rules.push({
+ test: /\.svg$/,
+ use: ["@svgr/webpack"],
+ exclude: path.resolve(__dirname, "src/assets/svgs/plat"),
+ });
+
+ config.module.rules.push({
+ test: /\.svg$/,
+ include: path.resolve(__dirname, "src/assets/svgs/plat"),
+ type: "asset/resource",
+ });
+
+ return config;
+ },
sassOptions: {
- includePaths: ['./app', '*.scss'],
+ includePaths: ["./app", "*.scss"],
prependData: `@import "@/app/styles/mixin.scss";`,
},
reactStrictMode: false,
experimental: {
forceSwcTransforms: true,
+ outputFileTracingRoot: undefined,
+ },
+ output: "standalone", // Temporarily disabled to avoid symlink issues on Windows
+ productionBrowserSourceMaps: process.env.NEXT_PUBLIC_EVN === "dev",
+ rewrites: async () => {
+ const rewrites = [
+ ];
+
+ // 存在 NEXT_PUBLIC_PROXY_URL 则代理,本地直连 用
+ // 如:NEXT_PUBLIC_PROXY_URL = http://localhost:8080
+ if (process.env.NEXT_PUBLIC_PROXY_URL) {
+ rewrites.push({
+ source: `/api/:path*`,
+ destination: `${process.env.NEXT_PUBLIC_PROXY_URL}/api/:path*`,
+ })
+ }
+ return rewrites;
},
- output: 'standalone',
- productionBrowserSourceMaps: process.env.NEXT_PUBLIC_EVN === 'dev',
};
const CorsHeaders = [
diff --git a/aitoearn_web/aitoearn-web/package-lock.json b/aitoearn_web/aitoearn-web/package-lock.json
deleted file mode 100644
index b9399bd6..00000000
--- a/aitoearn_web/aitoearn-web/package-lock.json
+++ /dev/null
@@ -1,7861 +0,0 @@
-{
- "name": "aitoearn-web",
- "version": "0.1.0",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {
- "": {
- "name": "aitoearn-web",
- "version": "0.1.0",
- "dependencies": {
- "@ant-design/colors": "^7.2.1",
- "@ant-design/icons": "^6.0.0",
- "@ant-design/nextjs-registry": "^1.0.2",
- "@fullcalendar/core": "^6.1.17",
- "@fullcalendar/daygrid": "^6.1.17",
- "@fullcalendar/react": "^6.1.17",
- "@kwooshung/react-no-ssr": "^1.1.4",
- "@react-oauth/google": "^0.12.2",
- "@szhsin/react-menu": "^4.4.1",
- "@types/blueimp-md5": "^2.18.2",
- "accept-language": "3.0.20",
- "antd": "^5.25.2",
- "axios": "^1.9.0",
- "blueimp-md5": "^2.19.0",
- "cookies-next": "^4.3.0",
- "cropperjs": "^1.6.2",
- "crypto-js": "^4.2.0",
- "dayjs": "^1.11.13",
- "glob": "^11.0.3",
- "i18next": "24.2.3",
- "i18next-browser-languagedetector": "8.0.4",
- "i18next-resources-to-backend": "1.2.1",
- "idb-keyval": "^6.2.2",
- "lodash": "^4.17.21",
- "next": "14.2.29",
- "next-sitemap": "^4.2.3",
- "qs": "^6.14.0",
- "react": "^18",
- "react-dnd": "^16.0.1",
- "react-dnd-html5-backend": "^16.0.1",
- "react-dom": "^18",
- "react-i18next": "15.4.1",
- "react-icons": "^5.5.0",
- "react-sortablejs": "^6.1.4",
- "react-transition-group": "^4.4.5",
- "sass": "^1.59.2",
- "sortablejs": "^1.15.6",
- "swiper": "^11.2.8",
- "zustand": "^5.0.5"
- },
- "devDependencies": {
- "@eslint/eslintrc": "^3",
- "@types/crypto-js": "^4.2.2",
- "@types/lodash": "^4.17.17",
- "@types/node": "^20",
- "@types/qs": "^6.14.0",
- "@types/react": "^18",
- "@types/react-dom": "^18",
- "@types/react-transition-group": "^4.4.12",
- "@typescript-eslint/eslint-plugin": "^8.0.0",
- "@typescript-eslint/parser": "^8.0.0",
- "eslint": "^9",
- "eslint-config-next": "15.3.2",
- "eslint-config-prettier": "^8.8.0",
- "eslint-plugin-prettier": "^5.1.3",
- "eslint-plugin-react": "^7.37.4",
- "eslint-plugin-unused-imports": "^4.1.4",
- "i18next-resources-for-ts": "1.5.0",
- "locize-cli": "9.0.1",
- "prettier": "^3.0.2",
- "typescript": "^5"
- }
- },
- "node_modules/@ant-design/colors": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-7.2.1.tgz",
- "integrity": "sha512-lCHDcEzieu4GA3n8ELeZ5VQ8pKQAWcGGLRTQ50aQM2iqPpq2evTxER84jfdPvsPAtEcZ7m44NI45edFMo8oOYQ==",
- "dependencies": {
- "@ant-design/fast-color": "^2.0.6"
- }
- },
- "node_modules/@ant-design/cssinjs": {
- "version": "1.24.0",
- "resolved": "https://registry.npmjs.org/@ant-design/cssinjs/-/cssinjs-1.24.0.tgz",
- "integrity": "sha512-K4cYrJBsgvL+IoozUXYjbT6LHHNt+19a9zkvpBPxLjFHas1UpPM2A5MlhROb0BT8N8WoavM5VsP9MeSeNK/3mg==",
- "dependencies": {
- "@babel/runtime": "^7.11.1",
- "@emotion/hash": "^0.8.0",
- "@emotion/unitless": "^0.7.5",
- "classnames": "^2.3.1",
- "csstype": "^3.1.3",
- "rc-util": "^5.35.0",
- "stylis": "^4.3.4"
- },
- "peerDependencies": {
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/@ant-design/cssinjs-utils": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@ant-design/cssinjs-utils/-/cssinjs-utils-1.1.3.tgz",
- "integrity": "sha512-nOoQMLW1l+xR1Co8NFVYiP8pZp3VjIIzqV6D6ShYF2ljtdwWJn5WSsH+7kvCktXL/yhEtWURKOfH5Xz/gzlwsg==",
- "dependencies": {
- "@ant-design/cssinjs": "^1.21.0",
- "@babel/runtime": "^7.23.2",
- "rc-util": "^5.38.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@ant-design/fast-color": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-2.0.6.tgz",
- "integrity": "sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA==",
- "dependencies": {
- "@babel/runtime": "^7.24.7"
- },
- "engines": {
- "node": ">=8.x"
- }
- },
- "node_modules/@ant-design/icons": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-6.0.0.tgz",
- "integrity": "sha512-o0aCCAlHc1o4CQcapAwWzHeaW2x9F49g7P3IDtvtNXgHowtRWYb7kiubt8sQPFvfVIVU/jLw2hzeSlNt0FU+Uw==",
- "dependencies": {
- "@ant-design/colors": "^8.0.0",
- "@ant-design/icons-svg": "^4.4.0",
- "@rc-component/util": "^1.2.1",
- "classnames": "^2.2.6"
- },
- "engines": {
- "node": ">=8"
- },
- "peerDependencies": {
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/@ant-design/icons-svg": {
- "version": "4.4.2",
- "resolved": "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz",
- "integrity": "sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA=="
- },
- "node_modules/@ant-design/icons/node_modules/@ant-design/colors": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-8.0.0.tgz",
- "integrity": "sha512-6YzkKCw30EI/E9kHOIXsQDHmMvTllT8STzjMb4K2qzit33RW2pqCJP0sk+hidBntXxE+Vz4n1+RvCTfBw6OErw==",
- "dependencies": {
- "@ant-design/fast-color": "^3.0.0"
- }
- },
- "node_modules/@ant-design/icons/node_modules/@ant-design/fast-color": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-3.0.0.tgz",
- "integrity": "sha512-eqvpP7xEDm2S7dUzl5srEQCBTXZMmY3ekf97zI+M2DHOYyKdJGH0qua0JACHTqbkRnD/KHFQP9J1uMJ/XWVzzA==",
- "engines": {
- "node": ">=8.x"
- }
- },
- "node_modules/@ant-design/nextjs-registry": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@ant-design/nextjs-registry/-/nextjs-registry-1.1.0.tgz",
- "integrity": "sha512-zZ9SKyqTHonUK7l/z/ixpVx0LSnZTlIqYFOccSDI7jx7ojCMTGxzkl3ugGWPPh8xPYDsVxqzwJZBic84H7LgLw==",
- "peerDependencies": {
- "@ant-design/cssinjs": "^1.24.0",
- "antd": "^5.0.0",
- "next": "^14.0.0 || ^15.0.0",
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/@ant-design/react-slick": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-1.1.2.tgz",
- "integrity": "sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA==",
- "dependencies": {
- "@babel/runtime": "^7.10.4",
- "classnames": "^2.2.5",
- "json2mq": "^0.2.0",
- "resize-observer-polyfill": "^1.5.1",
- "throttle-debounce": "^5.0.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0"
- }
- },
- "node_modules/@babel/runtime": {
- "version": "7.28.2",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz",
- "integrity": "sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@corex/deepmerge": {
- "version": "4.0.43",
- "resolved": "https://registry.npmjs.org/@corex/deepmerge/-/deepmerge-4.0.43.tgz",
- "integrity": "sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ=="
- },
- "node_modules/@emnapi/core": {
- "version": "1.4.5",
- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.5.tgz",
- "integrity": "sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "@emnapi/wasi-threads": "1.0.4",
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@emnapi/runtime": {
- "version": "1.4.5",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.5.tgz",
- "integrity": "sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@emnapi/wasi-threads": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.4.tgz",
- "integrity": "sha512-PJR+bOmMOPH8AtcTGAyYNiuJ3/Fcoj2XN/gBEWzDIKh254XO+mM9XoXHk5GNEhodxeMznbg7BlRojVbKN+gC6g==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@emotion/hash": {
- "version": "0.8.0",
- "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz",
- "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow=="
- },
- "node_modules/@emotion/unitless": {
- "version": "0.7.5",
- "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz",
- "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg=="
- },
- "node_modules/@eslint-community/eslint-utils": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
- "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
- "dev": true,
- "dependencies": {
- "eslint-visitor-keys": "^3.4.3"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- },
- "peerDependencies": {
- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
- }
- },
- "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
- "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/@eslint-community/regexpp": {
- "version": "4.12.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
- "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
- "dev": true,
- "engines": {
- "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
- }
- },
- "node_modules/@eslint/config-array": {
- "version": "0.21.0",
- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz",
- "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==",
- "dev": true,
- "dependencies": {
- "@eslint/object-schema": "^2.1.6",
- "debug": "^4.3.1",
- "minimatch": "^3.1.2"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/config-array/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@eslint/config-helpers": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.1.tgz",
- "integrity": "sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA==",
- "dev": true,
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/core": {
- "version": "0.15.2",
- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.2.tgz",
- "integrity": "sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==",
- "dev": true,
- "dependencies": {
- "@types/json-schema": "^7.0.15"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/eslintrc": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
- "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.3.2",
- "espree": "^10.0.1",
- "globals": "^14.0.0",
- "ignore": "^5.2.0",
- "import-fresh": "^3.2.1",
- "js-yaml": "^4.1.0",
- "minimatch": "^3.1.2",
- "strip-json-comments": "^3.1.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/@eslint/eslintrc/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/@eslint/js": {
- "version": "9.33.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.33.0.tgz",
- "integrity": "sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A==",
- "dev": true,
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://eslint.org/donate"
- }
- },
- "node_modules/@eslint/object-schema": {
- "version": "2.1.6",
- "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",
- "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==",
- "dev": true,
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/plugin-kit": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz",
- "integrity": "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==",
- "dev": true,
- "dependencies": {
- "@eslint/core": "^0.15.2",
- "levn": "^0.4.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@fluent/syntax": {
- "version": "0.19.0",
- "resolved": "https://registry.npmjs.org/@fluent/syntax/-/syntax-0.19.0.tgz",
- "integrity": "sha512-5D2qVpZrgpjtqU4eNOcWGp1gnUCgjfM+vKGE2y03kKN6z5EBhtx0qdRFbg8QuNNj8wXNoX93KJoYb+NqoxswmQ==",
- "dev": true,
- "engines": {
- "node": ">=14.0.0",
- "npm": ">=7.0.0"
- }
- },
- "node_modules/@fullcalendar/core": {
- "version": "6.1.19",
- "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.19.tgz",
- "integrity": "sha512-z0aVlO5e4Wah6p6mouM0UEqtRf1MZZPt4mwzEyU6kusaNL+dlWQgAasF2cK23hwT4cmxkEmr4inULXgpyeExdQ==",
- "dependencies": {
- "preact": "~10.12.1"
- }
- },
- "node_modules/@fullcalendar/daygrid": {
- "version": "6.1.19",
- "resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.19.tgz",
- "integrity": "sha512-IAAfnMICnVWPjpT4zi87i3FEw0xxSza0avqY/HedKEz+l5MTBYvCDPOWDATpzXoLut3aACsjktIyw9thvIcRYQ==",
- "peerDependencies": {
- "@fullcalendar/core": "~6.1.19"
- }
- },
- "node_modules/@fullcalendar/react": {
- "version": "6.1.19",
- "resolved": "https://registry.npmjs.org/@fullcalendar/react/-/react-6.1.19.tgz",
- "integrity": "sha512-FP78vnyylaL/btZeHig8LQgfHgfwxLaIG6sKbNkzkPkKEACv11UyyBoTSkaavPsHtXvAkcTED1l7TOunAyPEnA==",
- "peerDependencies": {
- "@fullcalendar/core": "~6.1.19",
- "react": "^16.7.0 || ^17 || ^18 || ^19",
- "react-dom": "^16.7.0 || ^17 || ^18 || ^19"
- }
- },
- "node_modules/@humanfs/core": {
- "version": "0.19.1",
- "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
- "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
- "dev": true,
- "engines": {
- "node": ">=18.18.0"
- }
- },
- "node_modules/@humanfs/node": {
- "version": "0.16.6",
- "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",
- "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==",
- "dev": true,
- "dependencies": {
- "@humanfs/core": "^0.19.1",
- "@humanwhocodes/retry": "^0.3.0"
- },
- "engines": {
- "node": ">=18.18.0"
- }
- },
- "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
- "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
- "dev": true,
- "engines": {
- "node": ">=18.18"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@humanwhocodes/module-importer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
- "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
- "engines": {
- "node": ">=12.22"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@humanwhocodes/retry": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
- "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
- "dev": true,
- "engines": {
- "node": ">=18.18"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@isaacs/balanced-match": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz",
- "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==",
- "engines": {
- "node": "20 || >=22"
- }
- },
- "node_modules/@isaacs/brace-expansion": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
- "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
- "dependencies": {
- "@isaacs/balanced-match": "^4.0.1"
- },
- "engines": {
- "node": "20 || >=22"
- }
- },
- "node_modules/@isaacs/cliui": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
- "dependencies": {
- "string-width": "^5.1.2",
- "string-width-cjs": "npm:string-width@^4.2.0",
- "strip-ansi": "^7.0.1",
- "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
- "wrap-ansi": "^8.1.0",
- "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@js.properties/properties": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/@js.properties/properties/-/properties-0.5.4.tgz",
- "integrity": "sha512-4M/Mb2CxzuI1CtQhVFs6OC9ceuGPAP6SOWnpLcrdB1TcUHroXbsYDVJNOm32koRMfuCoRACbojcm4dPPcQxu0w==",
- "dev": true
- },
- "node_modules/@kwooshung/react-no-ssr": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@kwooshung/react-no-ssr/-/react-no-ssr-1.1.4.tgz",
- "integrity": "sha512-15hA3W5AF/qvhfyTFpMbyzET3lFAXvFsP3U+dEUCQ5+T0iRucddKuGpEsBEsd/74RXgvag8kCqi+WAfkjVMbSQ==",
- "dependencies": {
- "react": "^18.2.0",
- "react-dom": "^18.2.0"
- },
- "peerDependencies": {
- "react": ">=16.6.0",
- "react-dom": ">=16.6.0"
- }
- },
- "node_modules/@napi-rs/wasm-runtime": {
- "version": "0.2.12",
- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz",
- "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "@emnapi/core": "^1.4.3",
- "@emnapi/runtime": "^1.4.3",
- "@tybys/wasm-util": "^0.10.0"
- }
- },
- "node_modules/@next/env": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.29.tgz",
- "integrity": "sha512-UzgLR2eBfhKIQt0aJ7PWH7XRPYw7SXz0Fpzdl5THjUnvxy4kfBk9OU4RNPNiETewEEtaBcExNFNn1QWH8wQTjg=="
- },
- "node_modules/@next/eslint-plugin-next": {
- "version": "15.3.2",
- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.3.2.tgz",
- "integrity": "sha512-ijVRTXBgnHT33aWnDtmlG+LJD+5vhc9AKTJPquGG5NKXjpKNjc62woIhFtrAcWdBobt8kqjCoaJ0q6sDQoX7aQ==",
- "dev": true,
- "dependencies": {
- "fast-glob": "3.3.1"
- }
- },
- "node_modules/@next/eslint-plugin-next/node_modules/fast-glob": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
- "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
- "dev": true,
- "dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.4"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
- "node_modules/@next/swc-darwin-arm64": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.29.tgz",
- "integrity": "sha512-wWtrAaxCVMejxPHFb1SK/PVV1WDIrXGs9ki0C/kUM8ubKHQm+3hU9MouUywCw8Wbhj3pewfHT2wjunLEr/TaLA==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-darwin-x64": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.29.tgz",
- "integrity": "sha512-7Z/jk+6EVBj4pNLw/JQrvZVrAh9Bv8q81zCFSfvTMZ51WySyEHWVpwCEaJY910LyBftv2F37kuDPQm0w9CEXyg==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-arm64-gnu": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.29.tgz",
- "integrity": "sha512-o6hrz5xRBwi+G7JFTHc+RUsXo2lVXEfwh4/qsuWBMQq6aut+0w98WEnoNwAwt7hkEqegzvazf81dNiwo7KjITw==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-arm64-musl": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.29.tgz",
- "integrity": "sha512-9i+JEHBOVgqxQ92HHRFlSW1EQXqa/89IVjtHgOqsShCcB/ZBjTtkWGi+SGCJaYyWkr/lzu51NTMCfKuBf7ULNw==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-x64-gnu": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.29.tgz",
- "integrity": "sha512-B7JtMbkUwHijrGBOhgSQu2ncbCYq9E7PZ7MX58kxheiEOwdkM+jGx0cBb+rN5AeqF96JypEppK6i/bEL9T13lA==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-x64-musl": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.29.tgz",
- "integrity": "sha512-yCcZo1OrO3aQ38B5zctqKU1Z3klOohIxug6qdiKO3Q3qNye/1n6XIs01YJ+Uf+TdpZQ0fNrOQI2HrTLF3Zprnw==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-win32-arm64-msvc": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.29.tgz",
- "integrity": "sha512-WnrfeOEtTVidI9Z6jDLy+gxrpDcEJtZva54LYC0bSKQqmyuHzl0ego+v0F/v2aXq0am67BRqo/ybmmt45Tzo4A==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-win32-ia32-msvc": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.29.tgz",
- "integrity": "sha512-vkcriFROT4wsTdSeIzbxaZjTNTFKjSYmLd8q/GVH3Dn8JmYjUKOuKXHK8n+lovW/kdcpIvydO5GtN+It2CvKWA==",
- "cpu": [
- "ia32"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-win32-x64-msvc": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.29.tgz",
- "integrity": "sha512-iPPwUEKnVs7pwR0EBLJlwxLD7TTHWS/AoVZx1l9ZQzfQciqaFEr5AlYzA2uB6Fyby1IF18t4PL0nTpB+k4Tzlw==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@nodelib/fs.scandir": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
- "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dependencies": {
- "@nodelib/fs.stat": "2.0.5",
- "run-parallel": "^1.1.9"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.stat": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
- "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.walk": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
- "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nolyfill/is-core-module": {
- "version": "1.0.39",
- "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz",
- "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==",
- "dev": true,
- "engines": {
- "node": ">=12.4.0"
- }
- },
- "node_modules/@parcel/watcher": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz",
- "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==",
- "hasInstallScript": true,
- "optional": true,
- "dependencies": {
- "detect-libc": "^1.0.3",
- "is-glob": "^4.0.3",
- "micromatch": "^4.0.5",
- "node-addon-api": "^7.0.0"
- },
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- },
- "optionalDependencies": {
- "@parcel/watcher-android-arm64": "2.5.1",
- "@parcel/watcher-darwin-arm64": "2.5.1",
- "@parcel/watcher-darwin-x64": "2.5.1",
- "@parcel/watcher-freebsd-x64": "2.5.1",
- "@parcel/watcher-linux-arm-glibc": "2.5.1",
- "@parcel/watcher-linux-arm-musl": "2.5.1",
- "@parcel/watcher-linux-arm64-glibc": "2.5.1",
- "@parcel/watcher-linux-arm64-musl": "2.5.1",
- "@parcel/watcher-linux-x64-glibc": "2.5.1",
- "@parcel/watcher-linux-x64-musl": "2.5.1",
- "@parcel/watcher-win32-arm64": "2.5.1",
- "@parcel/watcher-win32-ia32": "2.5.1",
- "@parcel/watcher-win32-x64": "2.5.1"
- }
- },
- "node_modules/@parcel/watcher-android-arm64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz",
- "integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-darwin-arm64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.1.tgz",
- "integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-darwin-x64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.1.tgz",
- "integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-freebsd-x64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.1.tgz",
- "integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-linux-arm-glibc": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.1.tgz",
- "integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==",
- "cpu": [
- "arm"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-linux-arm-musl": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.1.tgz",
- "integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==",
- "cpu": [
- "arm"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-linux-arm64-glibc": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.1.tgz",
- "integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-linux-arm64-musl": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.1.tgz",
- "integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-linux-x64-glibc": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.1.tgz",
- "integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-linux-x64-musl": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.1.tgz",
- "integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-win32-arm64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.1.tgz",
- "integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-win32-ia32": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.1.tgz",
- "integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==",
- "cpu": [
- "ia32"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@parcel/watcher-win32-x64": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz",
- "integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/@pkgr/core": {
- "version": "0.2.9",
- "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",
- "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==",
- "dev": true,
- "engines": {
- "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/pkgr"
- }
- },
- "node_modules/@rc-component/async-validator": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/@rc-component/async-validator/-/async-validator-5.0.4.tgz",
- "integrity": "sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==",
- "dependencies": {
- "@babel/runtime": "^7.24.4"
- },
- "engines": {
- "node": ">=14.x"
- }
- },
- "node_modules/@rc-component/color-picker": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-2.0.1.tgz",
- "integrity": "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==",
- "dependencies": {
- "@ant-design/fast-color": "^2.0.6",
- "@babel/runtime": "^7.23.6",
- "classnames": "^2.2.6",
- "rc-util": "^5.38.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/context": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@rc-component/context/-/context-1.4.0.tgz",
- "integrity": "sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "rc-util": "^5.27.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/mini-decimal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz",
- "integrity": "sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==",
- "dependencies": {
- "@babel/runtime": "^7.18.0"
- },
- "engines": {
- "node": ">=8.x"
- }
- },
- "node_modules/@rc-component/mutate-observer": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz",
- "integrity": "sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==",
- "dependencies": {
- "@babel/runtime": "^7.18.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/portal": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz",
- "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==",
- "dependencies": {
- "@babel/runtime": "^7.18.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/qrcode": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@rc-component/qrcode/-/qrcode-1.0.0.tgz",
- "integrity": "sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==",
- "dependencies": {
- "@babel/runtime": "^7.24.7",
- "classnames": "^2.3.2",
- "rc-util": "^5.38.0"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/tour": {
- "version": "1.15.1",
- "resolved": "https://registry.npmjs.org/@rc-component/tour/-/tour-1.15.1.tgz",
- "integrity": "sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==",
- "dependencies": {
- "@babel/runtime": "^7.18.0",
- "@rc-component/portal": "^1.0.0-9",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/trigger": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@rc-component/trigger/-/trigger-2.3.0.tgz",
- "integrity": "sha512-iwaxZyzOuK0D7lS+0AQEtW52zUWxoGqTGkke3dRyb8pYiShmRpCjB/8TzPI4R6YySCH7Vm9BZj/31VPiiQTLBg==",
- "dependencies": {
- "@babel/runtime": "^7.23.2",
- "@rc-component/portal": "^1.1.0",
- "classnames": "^2.3.2",
- "rc-motion": "^2.0.0",
- "rc-resize-observer": "^1.3.1",
- "rc-util": "^5.44.0"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/util": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@rc-component/util/-/util-1.2.2.tgz",
- "integrity": "sha512-p3zQr9Wu8BKncqmuW23olzBoAFsN8PYMS9FaI4JwJLwknH7DvfHAr1fwbfl9aAWw4Jva64ucpenbgG4fznLUSw==",
- "dependencies": {
- "is-mobile": "^5.0.0",
- "react-is": "^18.2.0"
- },
- "peerDependencies": {
- "react": ">=18.0.0",
- "react-dom": ">=18.0.0"
- }
- },
- "node_modules/@react-dnd/asap": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/@react-dnd/asap/-/asap-5.0.2.tgz",
- "integrity": "sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A=="
- },
- "node_modules/@react-dnd/invariant": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/@react-dnd/invariant/-/invariant-4.0.2.tgz",
- "integrity": "sha512-xKCTqAK/FFauOM9Ta2pswIyT3D8AQlfrYdOi/toTPEhqCuAs1v5tcJ3Y08Izh1cJ5Jchwy9SeAXmMg6zrKs2iw=="
- },
- "node_modules/@react-dnd/shallowequal": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/@react-dnd/shallowequal/-/shallowequal-4.0.2.tgz",
- "integrity": "sha512-/RVXdLvJxLg4QKvMoM5WlwNR9ViO9z8B/qPcc+C0Sa/teJY7QG7kJ441DwzOjMYEY7GmU4dj5EcGHIkKZiQZCA=="
- },
- "node_modules/@react-oauth/google": {
- "version": "0.12.2",
- "resolved": "https://registry.npmjs.org/@react-oauth/google/-/google-0.12.2.tgz",
- "integrity": "sha512-d1GVm2uD4E44EJft2RbKtp8Z1fp/gK8Lb6KHgs3pHlM0PxCXGLaq8LLYQYENnN4xPWO1gkL4apBtlPKzpLvZwg==",
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
- }
- },
- "node_modules/@rtsao/scc": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
- "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",
- "dev": true
- },
- "node_modules/@rushstack/eslint-patch": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.12.0.tgz",
- "integrity": "sha512-5EwMtOqvJMMa3HbmxLlF74e+3/HhwBTMcvt3nqVJgGCozO6hzIPOBlwm8mGVNR9SN2IJpxSnlxczyDjcn7qIyw==",
- "dev": true
- },
- "node_modules/@swc/counter": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
- "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
- },
- "node_modules/@swc/helpers": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz",
- "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",
- "dependencies": {
- "@swc/counter": "^0.1.3",
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@szhsin/react-menu": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/@szhsin/react-menu/-/react-menu-4.4.1.tgz",
- "integrity": "sha512-a5uBCrYPpxiEwp839+cfEiaZh2LKqn9v7VUyBRjHWNjKbhVbSaI1Kyh5G3rIeHBxpbrhSYBmD5KJ5jgzhC2ECw==",
- "dependencies": {
- "react-transition-state": "^2.3.1"
- },
- "peerDependencies": {
- "react": ">=16.14.0",
- "react-dom": ">=16.14.0"
- }
- },
- "node_modules/@tybys/wasm-util": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.0.tgz",
- "integrity": "sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@types/blueimp-md5": {
- "version": "2.18.2",
- "resolved": "https://registry.npmjs.org/@types/blueimp-md5/-/blueimp-md5-2.18.2.tgz",
- "integrity": "sha512-dJ9yRry9Olt5GAWlgCtE5dK9d/Dfhn/V7hna86eEO2Pn76+E8Y0S0n61iEUEGhWXXgtKtHxtZLVNwL8X+vLHzg=="
- },
- "node_modules/@types/cookie": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz",
- "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA=="
- },
- "node_modules/@types/crypto-js": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/@types/crypto-js/-/crypto-js-4.2.2.tgz",
- "integrity": "sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==",
- "dev": true
- },
- "node_modules/@types/estree": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
- "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
- "dev": true
- },
- "node_modules/@types/json-schema": {
- "version": "7.0.15",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true
- },
- "node_modules/@types/json5": {
- "version": "0.0.29",
- "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
- "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
- "dev": true
- },
- "node_modules/@types/lodash": {
- "version": "4.17.20",
- "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz",
- "integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==",
- "dev": true
- },
- "node_modules/@types/node": {
- "version": "20.19.10",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.10.tgz",
- "integrity": "sha512-iAFpG6DokED3roLSP0K+ybeDdIX6Bc0Vd3mLW5uDqThPWtNos3E+EqOM11mPQHKzfWHqEBuLjIlsBQQ8CsISmQ==",
- "devOptional": true,
- "dependencies": {
- "undici-types": "~6.21.0"
- }
- },
- "node_modules/@types/prop-types": {
- "version": "15.7.15",
- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
- "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
- "devOptional": true
- },
- "node_modules/@types/qs": {
- "version": "6.14.0",
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz",
- "integrity": "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==",
- "dev": true
- },
- "node_modules/@types/react": {
- "version": "18.3.23",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.23.tgz",
- "integrity": "sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==",
- "devOptional": true,
- "dependencies": {
- "@types/prop-types": "*",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/@types/react-dom": {
- "version": "18.3.7",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
- "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
- "dev": true,
- "peerDependencies": {
- "@types/react": "^18.0.0"
- }
- },
- "node_modules/@types/react-transition-group": {
- "version": "4.4.12",
- "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz",
- "integrity": "sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==",
- "dev": true,
- "peerDependencies": {
- "@types/react": "*"
- }
- },
- "node_modules/@types/sortablejs": {
- "version": "1.15.8",
- "resolved": "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.15.8.tgz",
- "integrity": "sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==",
- "license": "MIT",
- "peer": true
- },
- "node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.1.tgz",
- "integrity": "sha512-yYegZ5n3Yr6eOcqgj2nJH8cH/ZZgF+l0YIdKILSDjYFRjgYQMgv/lRjV5Z7Up04b9VYUondt8EPMqg7kTWgJ2g==",
- "dev": true,
- "dependencies": {
- "@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.39.1",
- "@typescript-eslint/type-utils": "8.39.1",
- "@typescript-eslint/utils": "8.39.1",
- "@typescript-eslint/visitor-keys": "8.39.1",
- "graphemer": "^1.4.0",
- "ignore": "^7.0.0",
- "natural-compare": "^1.4.0",
- "ts-api-utils": "^2.1.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "@typescript-eslint/parser": "^8.39.1",
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
- "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/@typescript-eslint/parser": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.39.1.tgz",
- "integrity": "sha512-pUXGCuHnnKw6PyYq93lLRiZm3vjuslIy7tus1lIQTYVK9bL8XBgJnCWm8a0KcTtHC84Yya1Q6rtll+duSMj0dg==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/scope-manager": "8.39.1",
- "@typescript-eslint/types": "8.39.1",
- "@typescript-eslint/typescript-estree": "8.39.1",
- "@typescript-eslint/visitor-keys": "8.39.1",
- "debug": "^4.3.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/project-service": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.39.1.tgz",
- "integrity": "sha512-8fZxek3ONTwBu9ptw5nCKqZOSkXshZB7uAxuFF0J/wTMkKydjXCzqqga7MlFMpHi9DoG4BadhmTkITBcg8Aybw==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/tsconfig-utils": "^8.39.1",
- "@typescript-eslint/types": "^8.39.1",
- "debug": "^4.3.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/scope-manager": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.39.1.tgz",
- "integrity": "sha512-RkBKGBrjgskFGWuyUGz/EtD8AF/GW49S21J8dvMzpJitOF1slLEbbHnNEtAHtnDAnx8qDEdRrULRnWVx27wGBw==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/types": "8.39.1",
- "@typescript-eslint/visitor-keys": "8.39.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@typescript-eslint/tsconfig-utils": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.1.tgz",
- "integrity": "sha512-ePUPGVtTMR8XMU2Hee8kD0Pu4NDE1CN9Q1sxGSGd/mbOtGZDM7pnhXNJnzW63zk/q+Z54zVzj44HtwXln5CvHA==",
- "dev": true,
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/type-utils": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.39.1.tgz",
- "integrity": "sha512-gu9/ahyatyAdQbKeHnhT4R+y3YLtqqHyvkfDxaBYk97EcbfChSJXyaJnIL3ygUv7OuZatePHmQvuH5ru0lnVeA==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/types": "8.39.1",
- "@typescript-eslint/typescript-estree": "8.39.1",
- "@typescript-eslint/utils": "8.39.1",
- "debug": "^4.3.4",
- "ts-api-utils": "^2.1.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/types": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.39.1.tgz",
- "integrity": "sha512-7sPDKQQp+S11laqTrhHqeAbsCfMkwJMrV7oTDvtDds4mEofJYir414bYKUEb8YPUm9QL3U+8f6L6YExSoAGdQw==",
- "dev": true,
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.1.tgz",
- "integrity": "sha512-EKkpcPuIux48dddVDXyQBlKdeTPMmALqBUbEk38McWv0qVEZwOpVJBi7ugK5qVNgeuYjGNQxrrnoM/5+TI/BPw==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/project-service": "8.39.1",
- "@typescript-eslint/tsconfig-utils": "8.39.1",
- "@typescript-eslint/types": "8.39.1",
- "@typescript-eslint/visitor-keys": "8.39.1",
- "debug": "^4.3.4",
- "fast-glob": "^3.3.2",
- "is-glob": "^4.0.3",
- "minimatch": "^9.0.4",
- "semver": "^7.6.0",
- "ts-api-utils": "^2.1.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
- "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/@typescript-eslint/utils": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.39.1.tgz",
- "integrity": "sha512-VF5tZ2XnUSTuiqZFXCZfZs1cgkdd3O/sSYmdo2EpSyDlC86UM/8YytTmKnehOW3TGAlivqTDT6bS87B/GQ/jyg==",
- "dev": true,
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.7.0",
- "@typescript-eslint/scope-manager": "8.39.1",
- "@typescript-eslint/types": "8.39.1",
- "@typescript-eslint/typescript-estree": "8.39.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.39.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.1.tgz",
- "integrity": "sha512-W8FQi6kEh2e8zVhQ0eeRnxdvIoOkAp/CPAahcNio6nO9dsIwb9b34z90KOlheoyuVf6LSOEdjlkxSkapNEc+4A==",
- "dev": true,
- "dependencies": {
- "@typescript-eslint/types": "8.39.1",
- "eslint-visitor-keys": "^4.2.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@unrs/resolver-binding-android-arm-eabi": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz",
- "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@unrs/resolver-binding-android-arm64": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz",
- "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@unrs/resolver-binding-darwin-arm64": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz",
- "integrity": "sha512-gPVA1UjRu1Y/IsB/dQEsp2V1pm44Of6+LWvbLc9SDk1c2KhhDRDBUkQCYVWe6f26uJb3fOK8saWMgtX8IrMk3g==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@unrs/resolver-binding-darwin-x64": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz",
- "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@unrs/resolver-binding-freebsd-x64": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz",
- "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz",
- "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz",
- "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz",
- "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-arm64-musl": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz",
- "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz",
- "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz",
- "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz",
- "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz",
- "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-x64-gnu": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz",
- "integrity": "sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-linux-x64-musl": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz",
- "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@unrs/resolver-binding-wasm32-wasi": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz",
- "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==",
- "cpu": [
- "wasm32"
- ],
- "dev": true,
- "optional": true,
- "dependencies": {
- "@napi-rs/wasm-runtime": "^0.2.11"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz",
- "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz",
- "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@unrs/resolver-binding-win32-x64-msvc": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz",
- "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/accept-language": {
- "version": "3.0.20",
- "resolved": "https://registry.npmjs.org/accept-language/-/accept-language-3.0.20.tgz",
- "integrity": "sha512-xklPzRma4aoDEPk0ZfMjeuxB2FP4JBYlAR25OFUqCoOYDjYo6wGwAs49SnTN/MoB5VpnNX9tENfZ+vEIFmHQMQ==",
- "dependencies": {
- "bcp47": "^1.1.2"
- }
- },
- "node_modules/acorn": {
- "version": "8.15.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
- "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
- "dev": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/acorn-jsx": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
- "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
- "peerDependencies": {
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
- }
- },
- "node_modules/agent-base": {
- "version": "7.1.4",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
- "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
- "dev": true,
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/ajv": {
- "version": "6.12.6",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
- "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/android-string-resource": {
- "version": "2.3.10",
- "resolved": "https://registry.npmjs.org/android-string-resource/-/android-string-resource-2.3.10.tgz",
- "integrity": "sha512-Ldzy2znjm+BVWVHbzyhmdiznVdIum/EM2CMtSPjnoVr1/MljZTVPB08giSpm1WIo00fK/sL/kcnvr0+d9wVUzA==",
- "dev": true,
- "dependencies": {
- "rdotjson": "1.1.1",
- "xml-js": "1.6.11"
- }
- },
- "node_modules/ansi-regex": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
- "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
- }
- },
- "node_modules/ansi-styles": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
- "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/antd": {
- "version": "5.27.0",
- "resolved": "https://registry.npmjs.org/antd/-/antd-5.27.0.tgz",
- "integrity": "sha512-o54dmpooLOc08RSGCkeEQBYAGPxUSmnhmYJKCNTHH46vzjOVxdteu+wPTRVkRbAkDTbs2VcNr5VL7Lu67rPIiA==",
- "dependencies": {
- "@ant-design/colors": "^7.2.1",
- "@ant-design/cssinjs": "^1.23.0",
- "@ant-design/cssinjs-utils": "^1.1.3",
- "@ant-design/fast-color": "^2.0.6",
- "@ant-design/icons": "^5.6.1",
- "@ant-design/react-slick": "~1.1.2",
- "@babel/runtime": "^7.26.0",
- "@rc-component/color-picker": "~2.0.1",
- "@rc-component/mutate-observer": "^1.1.0",
- "@rc-component/qrcode": "~1.0.0",
- "@rc-component/tour": "~1.15.1",
- "@rc-component/trigger": "^2.3.0",
- "classnames": "^2.5.1",
- "copy-to-clipboard": "^3.3.3",
- "dayjs": "^1.11.11",
- "rc-cascader": "~3.34.0",
- "rc-checkbox": "~3.5.0",
- "rc-collapse": "~3.9.0",
- "rc-dialog": "~9.6.0",
- "rc-drawer": "~7.3.0",
- "rc-dropdown": "~4.2.1",
- "rc-field-form": "~2.7.0",
- "rc-image": "~7.12.0",
- "rc-input": "~1.8.0",
- "rc-input-number": "~9.5.0",
- "rc-mentions": "~2.20.0",
- "rc-menu": "~9.16.1",
- "rc-motion": "^2.9.5",
- "rc-notification": "~5.6.4",
- "rc-pagination": "~5.1.0",
- "rc-picker": "~4.11.3",
- "rc-progress": "~4.0.0",
- "rc-rate": "~2.13.1",
- "rc-resize-observer": "^1.4.3",
- "rc-segmented": "~2.7.0",
- "rc-select": "~14.16.8",
- "rc-slider": "~11.1.8",
- "rc-steps": "~6.0.1",
- "rc-switch": "~4.1.0",
- "rc-table": "~7.51.1",
- "rc-tabs": "~15.7.0",
- "rc-textarea": "~1.10.2",
- "rc-tooltip": "~6.4.0",
- "rc-tree": "~5.13.1",
- "rc-tree-select": "~5.27.0",
- "rc-upload": "~4.9.2",
- "rc-util": "^5.44.4",
- "scroll-into-view-if-needed": "^3.1.0",
- "throttle-debounce": "^5.0.2"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/ant-design"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/antd/node_modules/@ant-design/icons": {
- "version": "5.6.1",
- "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-5.6.1.tgz",
- "integrity": "sha512-0/xS39c91WjPAZOWsvi1//zjx6kAp4kxWwctR6kuU6p133w8RU0D2dSCvZC19uQyharg/sAvYxGYWl01BbZZfg==",
- "dependencies": {
- "@ant-design/colors": "^7.0.0",
- "@ant-design/icons-svg": "^4.4.0",
- "@babel/runtime": "^7.24.8",
- "classnames": "^2.2.6",
- "rc-util": "^5.31.1"
- },
- "engines": {
- "node": ">=8"
- },
- "peerDependencies": {
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/argparse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true
- },
- "node_modules/aria-query": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
- "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/array-buffer-byte-length": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",
- "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "is-array-buffer": "^3.0.5"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array-includes": {
- "version": "3.1.9",
- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz",
- "integrity": "sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.4",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.24.0",
- "es-object-atoms": "^1.1.1",
- "get-intrinsic": "^1.3.0",
- "is-string": "^1.1.1",
- "math-intrinsics": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array.prototype.findlast": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
- "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0",
- "es-shim-unscopables": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array.prototype.findlastindex": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz",
- "integrity": "sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.4",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.9",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.1.1",
- "es-shim-unscopables": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array.prototype.flat": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz",
- "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.5",
- "es-shim-unscopables": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array.prototype.flatmap": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",
- "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.5",
- "es-shim-unscopables": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array.prototype.tosorted": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
- "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.3",
- "es-errors": "^1.3.0",
- "es-shim-unscopables": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/arraybuffer.prototype.slice": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz",
- "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==",
- "dev": true,
- "dependencies": {
- "array-buffer-byte-length": "^1.0.1",
- "call-bind": "^1.0.8",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.5",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.6",
- "is-array-buffer": "^3.0.4"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/arrify": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz",
- "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/ast-types-flow": {
- "version": "0.0.8",
- "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",
- "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",
- "dev": true
- },
- "node_modules/async": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
- "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
- "dev": true
- },
- "node_modules/async-function": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz",
- "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/asynckit": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
- },
- "node_modules/available-typed-arrays": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
- "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
- "dev": true,
- "dependencies": {
- "possible-typed-array-names": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/axe-core": {
- "version": "4.10.3",
- "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.3.tgz",
- "integrity": "sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/axios": {
- "version": "1.11.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz",
- "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==",
- "dependencies": {
- "follow-redirects": "^1.15.6",
- "form-data": "^4.0.4",
- "proxy-from-env": "^1.1.0"
- }
- },
- "node_modules/axobject-query": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
- "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
- },
- "node_modules/bcp47": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/bcp47/-/bcp47-1.1.2.tgz",
- "integrity": "sha512-JnkkL4GUpOvvanH9AZPX38CxhiLsXMBicBY2IAtqiVN8YulGDQybUydWA4W6yAMtw6iShtw+8HEF6cfrTHU+UQ==",
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/blueimp-md5": {
- "version": "2.19.0",
- "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz",
- "integrity": "sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w=="
- },
- "node_modules/boolbase": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
- "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",
- "dev": true
- },
- "node_modules/brace-expansion": {
- "version": "1.1.12",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
- "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/braces": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
- "dependencies": {
- "fill-range": "^7.1.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/busboy": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
- "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
- "dependencies": {
- "streamsearch": "^1.1.0"
- },
- "engines": {
- "node": ">=10.16.0"
- }
- },
- "node_modules/cacheable-lookup": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz",
- "integrity": "sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==",
- "dev": true,
- "engines": {
- "node": ">=10.6.0"
- }
- },
- "node_modules/call-bind": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz",
- "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",
- "dev": true,
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.0",
- "es-define-property": "^1.0.0",
- "get-intrinsic": "^1.2.4",
- "set-function-length": "^1.2.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/call-bind-apply-helpers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
- "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
- "dependencies": {
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/call-bound": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
- "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.2",
- "get-intrinsic": "^1.3.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001734",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001734.tgz",
- "integrity": "sha512-uhE1Ye5vgqju6OI71HTQqcBCZrvHugk0MjLak7Q+HfoBgoq5Bi+5YnwjP4fjDgrtYr/l8MVRBvzz9dPD4KyK0A==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ]
- },
- "node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/chalk/node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/cheerio": {
- "version": "1.0.0-rc.12",
- "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz",
- "integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==",
- "dev": true,
- "dependencies": {
- "cheerio-select": "^2.1.0",
- "dom-serializer": "^2.0.0",
- "domhandler": "^5.0.3",
- "domutils": "^3.0.1",
- "htmlparser2": "^8.0.1",
- "parse5": "^7.0.0",
- "parse5-htmlparser2-tree-adapter": "^7.0.0"
- },
- "engines": {
- "node": ">= 6"
- },
- "funding": {
- "url": "https://github.com/cheeriojs/cheerio?sponsor=1"
- }
- },
- "node_modules/cheerio-select": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz",
- "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==",
- "dev": true,
- "dependencies": {
- "boolbase": "^1.0.0",
- "css-select": "^5.1.0",
- "css-what": "^6.1.0",
- "domelementtype": "^2.3.0",
- "domhandler": "^5.0.3",
- "domutils": "^3.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
- }
- },
- "node_modules/chokidar": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
- "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
- "dependencies": {
- "readdirp": "^4.0.1"
- },
- "engines": {
- "node": ">= 14.16.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/classnames": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz",
- "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow=="
- },
- "node_modules/client-only": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
- "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
- },
- "node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "node_modules/colors": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
- "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==",
- "dev": true,
- "engines": {
- "node": ">=0.1.90"
- }
- },
- "node_modules/combined-stream": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "dependencies": {
- "delayed-stream": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/commander": {
- "version": "9.5.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz",
- "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==",
- "dev": true,
- "engines": {
- "node": "^12.20.0 || >=14"
- }
- },
- "node_modules/compute-scroll-into-view": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.1.1.tgz",
- "integrity": "sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw=="
- },
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
- },
- "node_modules/content-type": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
- "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
- "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookies-next": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/cookies-next/-/cookies-next-4.3.0.tgz",
- "integrity": "sha512-XxeCwLR30cWwRd94sa9X5lRCDLVujtx73tv+N0doQCFIDl83fuuYdxbu/WQUt9aSV7EJx7bkMvJldjvzuFqr4w==",
- "dependencies": {
- "@types/cookie": "^0.6.0",
- "cookie": "^0.7.0"
- }
- },
- "node_modules/copy-to-clipboard": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz",
- "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==",
- "dependencies": {
- "toggle-selection": "^1.0.6"
- }
- },
- "node_modules/cropperjs": {
- "version": "1.6.2",
- "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.2.tgz",
- "integrity": "sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA=="
- },
- "node_modules/cross-spawn": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
- "dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/crypto-js": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
- "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
- },
- "node_modules/css-select": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz",
- "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==",
- "dev": true,
- "dependencies": {
- "boolbase": "^1.0.0",
- "css-what": "^6.1.0",
- "domhandler": "^5.0.2",
- "domutils": "^3.0.1",
- "nth-check": "^2.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
- }
- },
- "node_modules/css-what": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz",
- "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
- }
- },
- "node_modules/csstype": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
- },
- "node_modules/csvjson": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/csvjson/-/csvjson-5.1.0.tgz",
- "integrity": "sha512-OqALQHA0k2rEGluOWikwFq5qtkRUDyoWP2u0UJy8uFjFx5FPMjPzx7D2Hn2KjBLpc8jkGrT9HDNgTUfopDlqVg==",
- "dev": true
- },
- "node_modules/damerau-levenshtein": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
- "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",
- "dev": true
- },
- "node_modules/data-view-buffer": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",
- "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "es-errors": "^1.3.0",
- "is-data-view": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/data-view-byte-length": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz",
- "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "es-errors": "^1.3.0",
- "is-data-view": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/inspect-js"
- }
- },
- "node_modules/data-view-byte-offset": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz",
- "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "es-errors": "^1.3.0",
- "is-data-view": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/dayjs": {
- "version": "1.11.13",
- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
- "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="
- },
- "node_modules/debug": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
- "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.3"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/deep-is": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true
- },
- "node_modules/define-data-property": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
- "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
- "dev": true,
- "dependencies": {
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "gopd": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/define-properties": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
- "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
- "dev": true,
- "dependencies": {
- "define-data-property": "^1.0.1",
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/detect-libc": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
- "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==",
- "optional": true,
- "bin": {
- "detect-libc": "bin/detect-libc.js"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/diff": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz",
- "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==",
- "dev": true,
- "engines": {
- "node": ">=0.3.1"
- }
- },
- "node_modules/dnd-core": {
- "version": "16.0.1",
- "resolved": "https://registry.npmjs.org/dnd-core/-/dnd-core-16.0.1.tgz",
- "integrity": "sha512-HK294sl7tbw6F6IeuK16YSBUoorvHpY8RHO+9yFfaJyCDVb6n7PRcezrOEOa2SBCqiYpemh5Jx20ZcjKdFAVng==",
- "dependencies": {
- "@react-dnd/asap": "^5.0.1",
- "@react-dnd/invariant": "^4.0.1",
- "redux": "^4.2.0"
- }
- },
- "node_modules/doctrine": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
- "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
- "dev": true,
- "dependencies": {
- "esutils": "^2.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/dom-helpers": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
- "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
- "dependencies": {
- "@babel/runtime": "^7.8.7",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/dom-serializer": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
- "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
- "dev": true,
- "dependencies": {
- "domelementtype": "^2.3.0",
- "domhandler": "^5.0.2",
- "entities": "^4.2.0"
- },
- "funding": {
- "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
- }
- },
- "node_modules/domelementtype": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
- "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/fb55"
- }
- ]
- },
- "node_modules/domhandler": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
- "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
- "dev": true,
- "dependencies": {
- "domelementtype": "^2.3.0"
- },
- "engines": {
- "node": ">= 4"
- },
- "funding": {
- "url": "https://github.com/fb55/domhandler?sponsor=1"
- }
- },
- "node_modules/domutils": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",
- "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",
- "dev": true,
- "dependencies": {
- "dom-serializer": "^2.0.0",
- "domelementtype": "^2.3.0",
- "domhandler": "^5.0.3"
- },
- "funding": {
- "url": "https://github.com/fb55/domutils?sponsor=1"
- }
- },
- "node_modules/dotenv": {
- "version": "16.4.7",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",
- "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://dotenvx.com"
- }
- },
- "node_modules/dunder-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
- "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.1",
- "es-errors": "^1.3.0",
- "gopd": "^1.2.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/eastasianwidth": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
- "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
- },
- "node_modules/emoji-regex": {
- "version": "9.2.2",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
- },
- "node_modules/encoding": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
- "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
- "dev": true,
- "dependencies": {
- "iconv-lite": "^0.6.2"
- }
- },
- "node_modules/entities": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
- "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
- "dev": true,
- "engines": {
- "node": ">=0.12"
- },
- "funding": {
- "url": "https://github.com/fb55/entities?sponsor=1"
- }
- },
- "node_modules/es-abstract": {
- "version": "1.24.0",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.0.tgz",
- "integrity": "sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==",
- "dev": true,
- "dependencies": {
- "array-buffer-byte-length": "^1.0.2",
- "arraybuffer.prototype.slice": "^1.0.4",
- "available-typed-arrays": "^1.0.7",
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.4",
- "data-view-buffer": "^1.0.2",
- "data-view-byte-length": "^1.0.2",
- "data-view-byte-offset": "^1.0.1",
- "es-define-property": "^1.0.1",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.1.1",
- "es-set-tostringtag": "^2.1.0",
- "es-to-primitive": "^1.3.0",
- "function.prototype.name": "^1.1.8",
- "get-intrinsic": "^1.3.0",
- "get-proto": "^1.0.1",
- "get-symbol-description": "^1.1.0",
- "globalthis": "^1.0.4",
- "gopd": "^1.2.0",
- "has-property-descriptors": "^1.0.2",
- "has-proto": "^1.2.0",
- "has-symbols": "^1.1.0",
- "hasown": "^2.0.2",
- "internal-slot": "^1.1.0",
- "is-array-buffer": "^3.0.5",
- "is-callable": "^1.2.7",
- "is-data-view": "^1.0.2",
- "is-negative-zero": "^2.0.3",
- "is-regex": "^1.2.1",
- "is-set": "^2.0.3",
- "is-shared-array-buffer": "^1.0.4",
- "is-string": "^1.1.1",
- "is-typed-array": "^1.1.15",
- "is-weakref": "^1.1.1",
- "math-intrinsics": "^1.1.0",
- "object-inspect": "^1.13.4",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.7",
- "own-keys": "^1.0.1",
- "regexp.prototype.flags": "^1.5.4",
- "safe-array-concat": "^1.1.3",
- "safe-push-apply": "^1.0.0",
- "safe-regex-test": "^1.1.0",
- "set-proto": "^1.0.0",
- "stop-iteration-iterator": "^1.1.0",
- "string.prototype.trim": "^1.2.10",
- "string.prototype.trimend": "^1.0.9",
- "string.prototype.trimstart": "^1.0.8",
- "typed-array-buffer": "^1.0.3",
- "typed-array-byte-length": "^1.0.3",
- "typed-array-byte-offset": "^1.0.4",
- "typed-array-length": "^1.0.7",
- "unbox-primitive": "^1.1.0",
- "which-typed-array": "^1.1.19"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/es-define-property": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
- "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-iterator-helpers": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.1.tgz",
- "integrity": "sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.3",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.6",
- "es-errors": "^1.3.0",
- "es-set-tostringtag": "^2.0.3",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.6",
- "globalthis": "^1.0.4",
- "gopd": "^1.2.0",
- "has-property-descriptors": "^1.0.2",
- "has-proto": "^1.2.0",
- "has-symbols": "^1.1.0",
- "internal-slot": "^1.1.0",
- "iterator.prototype": "^1.1.4",
- "safe-array-concat": "^1.1.3"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-object-atoms": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
- "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
- "dependencies": {
- "es-errors": "^1.3.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-set-tostringtag": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
- "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
- "dependencies": {
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.6",
- "has-tostringtag": "^1.0.2",
- "hasown": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-shim-unscopables": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz",
- "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==",
- "dev": true,
- "dependencies": {
- "hasown": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-to-primitive": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz",
- "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==",
- "dev": true,
- "dependencies": {
- "is-callable": "^1.2.7",
- "is-date-object": "^1.0.5",
- "is-symbol": "^1.0.4"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/escape-string-regexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/eslint": {
- "version": "9.33.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.33.0.tgz",
- "integrity": "sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==",
- "dev": true,
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.12.1",
- "@eslint/config-array": "^0.21.0",
- "@eslint/config-helpers": "^0.3.1",
- "@eslint/core": "^0.15.2",
- "@eslint/eslintrc": "^3.3.1",
- "@eslint/js": "9.33.0",
- "@eslint/plugin-kit": "^0.3.5",
- "@humanfs/node": "^0.16.6",
- "@humanwhocodes/module-importer": "^1.0.1",
- "@humanwhocodes/retry": "^0.4.2",
- "@types/estree": "^1.0.6",
- "@types/json-schema": "^7.0.15",
- "ajv": "^6.12.4",
- "chalk": "^4.0.0",
- "cross-spawn": "^7.0.6",
- "debug": "^4.3.2",
- "escape-string-regexp": "^4.0.0",
- "eslint-scope": "^8.4.0",
- "eslint-visitor-keys": "^4.2.1",
- "espree": "^10.4.0",
- "esquery": "^1.5.0",
- "esutils": "^2.0.2",
- "fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^8.0.0",
- "find-up": "^5.0.0",
- "glob-parent": "^6.0.2",
- "ignore": "^5.2.0",
- "imurmurhash": "^0.1.4",
- "is-glob": "^4.0.0",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "lodash.merge": "^4.6.2",
- "minimatch": "^3.1.2",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.3"
- },
- "bin": {
- "eslint": "bin/eslint.js"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://eslint.org/donate"
- },
- "peerDependencies": {
- "jiti": "*"
- },
- "peerDependenciesMeta": {
- "jiti": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-config-next": {
- "version": "15.3.2",
- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.3.2.tgz",
- "integrity": "sha512-FerU4DYccO4FgeYFFglz0SnaKRe1ejXQrDb8kWUkTAg036YWi+jUsgg4sIGNCDhAsDITsZaL4MzBWKB6f4G1Dg==",
- "dev": true,
- "dependencies": {
- "@next/eslint-plugin-next": "15.3.2",
- "@rushstack/eslint-patch": "^1.10.3",
- "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
- "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
- "eslint-import-resolver-node": "^0.3.6",
- "eslint-import-resolver-typescript": "^3.5.2",
- "eslint-plugin-import": "^2.31.0",
- "eslint-plugin-jsx-a11y": "^6.10.0",
- "eslint-plugin-react": "^7.37.0",
- "eslint-plugin-react-hooks": "^5.0.0"
- },
- "peerDependencies": {
- "eslint": "^7.23.0 || ^8.0.0 || ^9.0.0",
- "typescript": ">=3.3.1"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-config-prettier": {
- "version": "8.10.2",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.2.tgz",
- "integrity": "sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==",
- "dev": true,
- "bin": {
- "eslint-config-prettier": "bin/cli.js"
- },
- "peerDependencies": {
- "eslint": ">=7.0.0"
- }
- },
- "node_modules/eslint-import-resolver-node": {
- "version": "0.3.9",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
- "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
- "dev": true,
- "dependencies": {
- "debug": "^3.2.7",
- "is-core-module": "^2.13.0",
- "resolve": "^1.22.4"
- }
- },
- "node_modules/eslint-import-resolver-node/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/eslint-import-resolver-typescript": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz",
- "integrity": "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==",
- "dev": true,
- "dependencies": {
- "@nolyfill/is-core-module": "1.0.39",
- "debug": "^4.4.0",
- "get-tsconfig": "^4.10.0",
- "is-bun-module": "^2.0.0",
- "stable-hash": "^0.0.5",
- "tinyglobby": "^0.2.13",
- "unrs-resolver": "^1.6.2"
- },
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint-import-resolver-typescript"
- },
- "peerDependencies": {
- "eslint": "*",
- "eslint-plugin-import": "*",
- "eslint-plugin-import-x": "*"
- },
- "peerDependenciesMeta": {
- "eslint-plugin-import": {
- "optional": true
- },
- "eslint-plugin-import-x": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-module-utils": {
- "version": "2.12.1",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.1.tgz",
- "integrity": "sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==",
- "dev": true,
- "dependencies": {
- "debug": "^3.2.7"
- },
- "engines": {
- "node": ">=4"
- },
- "peerDependenciesMeta": {
- "eslint": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-module-utils/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/eslint-plugin-import": {
- "version": "2.32.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.32.0.tgz",
- "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==",
- "dev": true,
- "dependencies": {
- "@rtsao/scc": "^1.1.0",
- "array-includes": "^3.1.9",
- "array.prototype.findlastindex": "^1.2.6",
- "array.prototype.flat": "^1.3.3",
- "array.prototype.flatmap": "^1.3.3",
- "debug": "^3.2.7",
- "doctrine": "^2.1.0",
- "eslint-import-resolver-node": "^0.3.9",
- "eslint-module-utils": "^2.12.1",
- "hasown": "^2.0.2",
- "is-core-module": "^2.16.1",
- "is-glob": "^4.0.3",
- "minimatch": "^3.1.2",
- "object.fromentries": "^2.0.8",
- "object.groupby": "^1.0.3",
- "object.values": "^1.2.1",
- "semver": "^6.3.1",
- "string.prototype.trimend": "^1.0.9",
- "tsconfig-paths": "^3.15.0"
- },
- "engines": {
- "node": ">=4"
- },
- "peerDependencies": {
- "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9"
- }
- },
- "node_modules/eslint-plugin-import/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/eslint-plugin-import/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/eslint-plugin-import/node_modules/semver": {
- "version": "6.3.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/eslint-plugin-jsx-a11y": {
- "version": "6.10.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz",
- "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==",
- "dev": true,
- "dependencies": {
- "aria-query": "^5.3.2",
- "array-includes": "^3.1.8",
- "array.prototype.flatmap": "^1.3.2",
- "ast-types-flow": "^0.0.8",
- "axe-core": "^4.10.0",
- "axobject-query": "^4.1.0",
- "damerau-levenshtein": "^1.0.8",
- "emoji-regex": "^9.2.2",
- "hasown": "^2.0.2",
- "jsx-ast-utils": "^3.3.5",
- "language-tags": "^1.0.9",
- "minimatch": "^3.1.2",
- "object.fromentries": "^2.0.8",
- "safe-regex-test": "^1.0.3",
- "string.prototype.includes": "^2.0.1"
- },
- "engines": {
- "node": ">=4.0"
- },
- "peerDependencies": {
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9"
- }
- },
- "node_modules/eslint-plugin-jsx-a11y/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/eslint-plugin-prettier": {
- "version": "5.5.4",
- "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.4.tgz",
- "integrity": "sha512-swNtI95SToIz05YINMA6Ox5R057IMAmWZ26GqPxusAp1TZzj+IdY9tXNWWD3vkF/wEqydCONcwjTFpxybBqZsg==",
- "dev": true,
- "dependencies": {
- "prettier-linter-helpers": "^1.0.0",
- "synckit": "^0.11.7"
- },
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint-plugin-prettier"
- },
- "peerDependencies": {
- "@types/eslint": ">=8.0.0",
- "eslint": ">=8.0.0",
- "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0",
- "prettier": ">=3.0.0"
- },
- "peerDependenciesMeta": {
- "@types/eslint": {
- "optional": true
- },
- "eslint-config-prettier": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-plugin-react": {
- "version": "7.37.5",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz",
- "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==",
- "dev": true,
- "dependencies": {
- "array-includes": "^3.1.8",
- "array.prototype.findlast": "^1.2.5",
- "array.prototype.flatmap": "^1.3.3",
- "array.prototype.tosorted": "^1.1.4",
- "doctrine": "^2.1.0",
- "es-iterator-helpers": "^1.2.1",
- "estraverse": "^5.3.0",
- "hasown": "^2.0.2",
- "jsx-ast-utils": "^2.4.1 || ^3.0.0",
- "minimatch": "^3.1.2",
- "object.entries": "^1.1.9",
- "object.fromentries": "^2.0.8",
- "object.values": "^1.2.1",
- "prop-types": "^15.8.1",
- "resolve": "^2.0.0-next.5",
- "semver": "^6.3.1",
- "string.prototype.matchall": "^4.0.12",
- "string.prototype.repeat": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- },
- "peerDependencies": {
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
- }
- },
- "node_modules/eslint-plugin-react-hooks": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
- "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "peerDependencies": {
- "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
- }
- },
- "node_modules/eslint-plugin-react/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/eslint-plugin-react/node_modules/resolve": {
- "version": "2.0.0-next.5",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
- "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
- "dev": true,
- "dependencies": {
- "is-core-module": "^2.13.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/eslint-plugin-react/node_modules/semver": {
- "version": "6.3.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/eslint-plugin-unused-imports": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.1.4.tgz",
- "integrity": "sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==",
- "dev": true,
- "peerDependencies": {
- "@typescript-eslint/eslint-plugin": "^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0",
- "eslint": "^9.0.0 || ^8.0.0"
- },
- "peerDependenciesMeta": {
- "@typescript-eslint/eslint-plugin": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-scope": {
- "version": "8.4.0",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
- "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
- "dev": true,
- "dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint-visitor-keys": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
- "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
- "dev": true,
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint/node_modules/glob-parent": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
- "dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/eslint/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/espree": {
- "version": "10.4.0",
- "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
- "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
- "dev": true,
- "dependencies": {
- "acorn": "^8.15.0",
- "acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^4.2.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/esquery": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
- "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
- "dev": true,
- "dependencies": {
- "estraverse": "^5.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fast-deep-equal": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
- },
- "node_modules/fast-diff": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz",
- "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",
- "dev": true
- },
- "node_modules/fast-glob": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
- "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
- "dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.8"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
- "node_modules/fast-json-stable-stringify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
- },
- "node_modules/fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true
- },
- "node_modules/fastq": {
- "version": "1.19.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
- "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
- "dependencies": {
- "reusify": "^1.0.4"
- }
- },
- "node_modules/fdir": {
- "version": "6.4.6",
- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz",
- "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==",
- "dev": true,
- "peerDependencies": {
- "picomatch": "^3 || ^4"
- },
- "peerDependenciesMeta": {
- "picomatch": {
- "optional": true
- }
- }
- },
- "node_modules/file-entry-cache": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
- "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
- "dev": true,
- "dependencies": {
- "flat-cache": "^4.0.0"
- },
- "engines": {
- "node": ">=16.0.0"
- }
- },
- "node_modules/fill-range": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/find-up": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
- "dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/flat": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
- "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
- "dev": true,
- "bin": {
- "flat": "cli.js"
- }
- },
- "node_modules/flat-cache": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
- "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
- "dev": true,
- "dependencies": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.4"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
- "dev": true
- },
- "node_modules/fluent_conv": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/fluent_conv/-/fluent_conv-3.3.0.tgz",
- "integrity": "sha512-OsTQyVWo1WYmEnnH7m3MRlk5NQq/+jXOLzv0WOk8GGn99LdQV1kNp3IOR6HYb+fwDqYebLPLAThS2pFEaDbyHQ==",
- "dev": true,
- "dependencies": {
- "@fluent/syntax": "0.19.0"
- }
- },
- "node_modules/follow-redirects": {
- "version": "1.15.11",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz",
- "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==",
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/RubenVerborgh"
- }
- ],
- "engines": {
- "node": ">=4.0"
- },
- "peerDependenciesMeta": {
- "debug": {
- "optional": true
- }
- }
- },
- "node_modules/for-each": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",
- "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",
- "dev": true,
- "dependencies": {
- "is-callable": "^1.2.7"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/foreground-child": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
- "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
- "dependencies": {
- "cross-spawn": "^7.0.6",
- "signal-exit": "^4.0.1"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/form-data": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",
- "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
- "dependencies": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.8",
- "es-set-tostringtag": "^2.1.0",
- "hasown": "^2.0.2",
- "mime-types": "^2.1.12"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
- },
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/function.prototype.name": {
- "version": "1.1.8",
- "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz",
- "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.3",
- "define-properties": "^1.2.1",
- "functions-have-names": "^1.2.3",
- "hasown": "^2.0.2",
- "is-callable": "^1.2.7"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/functions-have-names": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
- "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
- "dev": true,
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
- "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.2",
- "es-define-property": "^1.0.1",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.1.1",
- "function-bind": "^1.1.2",
- "get-proto": "^1.0.1",
- "gopd": "^1.2.0",
- "has-symbols": "^1.1.0",
- "hasown": "^2.0.2",
- "math-intrinsics": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
- "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
- "dependencies": {
- "dunder-proto": "^1.0.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/get-symbol-description": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",
- "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.6"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-tsconfig": {
- "version": "4.10.1",
- "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz",
- "integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==",
- "dev": true,
- "dependencies": {
- "resolve-pkg-maps": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
- }
- },
- "node_modules/gettext-converter": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/gettext-converter/-/gettext-converter-1.3.0.tgz",
- "integrity": "sha512-vXjx4vRBjw6rd3Zg73IMyNLZuPjs8/lE9gJZs270YJJI0t5vlCpdsyX5E0TmSd+KcRWzwPbwjwd6bnNpF72sFQ==",
- "dev": true,
- "dependencies": {
- "arrify": "^2.0.1",
- "content-type": "1.0.5",
- "encoding": "0.1.13"
- }
- },
- "node_modules/glob": {
- "version": "11.0.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz",
- "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==",
- "dependencies": {
- "foreground-child": "^3.3.1",
- "jackspeak": "^4.1.1",
- "minimatch": "^10.0.3",
- "minipass": "^7.1.2",
- "package-json-from-dist": "^1.0.0",
- "path-scurry": "^2.0.0"
- },
- "bin": {
- "glob": "dist/esm/bin.mjs"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/globals": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
- "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
- "dev": true,
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/globalthis": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
- "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
- "dev": true,
- "dependencies": {
- "define-properties": "^1.2.1",
- "gopd": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/gopd": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
- "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/graceful-fs": {
- "version": "4.2.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
- },
- "node_modules/graphemer": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true
- },
- "node_modules/has-bigints": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",
- "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
- "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
- "dev": true,
- "dependencies": {
- "es-define-property": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-proto": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz",
- "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==",
- "dev": true,
- "dependencies": {
- "dunder-proto": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
- "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-tostringtag": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
- "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
- "dependencies": {
- "has-symbols": "^1.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/hoist-non-react-statics": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
- "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
- "dependencies": {
- "react-is": "^16.7.0"
- }
- },
- "node_modules/hoist-non-react-statics/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "node_modules/html-parse-stringify": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz",
- "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==",
- "dependencies": {
- "void-elements": "3.1.0"
- }
- },
- "node_modules/htmlparser2": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz",
- "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==",
- "dev": true,
- "funding": [
- "https://github.com/fb55/htmlparser2?sponsor=1",
- {
- "type": "github",
- "url": "https://github.com/sponsors/fb55"
- }
- ],
- "dependencies": {
- "domelementtype": "^2.3.0",
- "domhandler": "^5.0.3",
- "domutils": "^3.0.1",
- "entities": "^4.4.0"
- }
- },
- "node_modules/https-proxy-agent": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
- "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
- "dev": true,
- "dependencies": {
- "agent-base": "^7.1.2",
- "debug": "4"
- },
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/i18next": {
- "version": "24.2.3",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-24.2.3.tgz",
- "integrity": "sha512-lfbf80OzkocvX7nmZtu7nSTNbrTYR52sLWxPtlXX1zAhVw8WEnFk4puUkCR4B1dNQwbSpEHHHemcZu//7EcB7A==",
- "funding": [
- {
- "type": "individual",
- "url": "https://locize.com"
- },
- {
- "type": "individual",
- "url": "https://locize.com/i18next.html"
- },
- {
- "type": "individual",
- "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
- }
- ],
- "dependencies": {
- "@babel/runtime": "^7.26.10"
- },
- "peerDependencies": {
- "typescript": "^5"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/i18next-browser-languagedetector": {
- "version": "8.0.4",
- "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-8.0.4.tgz",
- "integrity": "sha512-f3frU3pIxD50/Tz20zx9TD9HobKYg47fmAETb117GKGPrhwcSSPJDoCposXlVycVebQ9GQohC3Efbpq7/nnJ5w==",
- "dependencies": {
- "@babel/runtime": "^7.23.2"
- }
- },
- "node_modules/i18next-resources-for-ts": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/i18next-resources-for-ts/-/i18next-resources-for-ts-1.5.0.tgz",
- "integrity": "sha512-gzVYct/sMeeOzomK0+8nl7YSr61xiDzf4Kg51g7StBaXAaKE/Vb1CLNHZ8dY56sYz6qmbwHRYHqMPanGi0go4w==",
- "dev": true,
- "dependencies": {
- "@babel/runtime": "^7.23.7",
- "yaml": "^2.3.4"
- },
- "bin": {
- "i18next-resources-for-ts": "bin/i18next-resources-for-ts.js"
- }
- },
- "node_modules/i18next-resources-to-backend": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/i18next-resources-to-backend/-/i18next-resources-to-backend-1.2.1.tgz",
- "integrity": "sha512-okHbVA+HZ7n1/76MsfhPqDou0fptl2dAlhRDu2ideXloRRduzHsqDOznJBef+R3DFZnbvWoBW+KxJ7fnFjd6Yw==",
- "dependencies": {
- "@babel/runtime": "^7.23.2"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
- "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
- "dev": true,
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/idb-keyval": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.2.tgz",
- "integrity": "sha512-yjD9nARJ/jb1g+CvD0tlhUHOrJ9Sy0P8T9MF3YaLlHnSRpwPfpTX0XIvpmw3gAJUmEu3FiICLBDPXVwyEvrleg=="
- },
- "node_modules/ignore": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/immutable": {
- "version": "5.1.3",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.3.tgz",
- "integrity": "sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg=="
- },
- "node_modules/import-fresh": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
- "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
- "engines": {
- "node": ">=0.8.19"
- }
- },
- "node_modules/ini": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz",
- "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==",
- "dev": true,
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
- "node_modules/internal-slot": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
- "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==",
- "dev": true,
- "dependencies": {
- "es-errors": "^1.3.0",
- "hasown": "^2.0.2",
- "side-channel": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-array-buffer": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz",
- "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.3",
- "get-intrinsic": "^1.2.6"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-async-function": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz",
- "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",
- "dev": true,
- "dependencies": {
- "async-function": "^1.0.0",
- "call-bound": "^1.0.3",
- "get-proto": "^1.0.1",
- "has-tostringtag": "^1.0.2",
- "safe-regex-test": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-bigint": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz",
- "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==",
- "dev": true,
- "dependencies": {
- "has-bigints": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-boolean-object": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz",
- "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "has-tostringtag": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-bun-module": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz",
- "integrity": "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==",
- "dev": true,
- "dependencies": {
- "semver": "^7.7.1"
- }
- },
- "node_modules/is-callable": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
- "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-core-module": {
- "version": "2.16.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
- "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
- "dev": true,
- "dependencies": {
- "hasown": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-data-view": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz",
- "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "get-intrinsic": "^1.2.6",
- "is-typed-array": "^1.1.13"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-date-object": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz",
- "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "has-tostringtag": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-finalizationregistry": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz",
- "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-generator-function": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz",
- "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "get-proto": "^1.0.0",
- "has-tostringtag": "^1.0.2",
- "safe-regex-test": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-map": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
- "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-mobile": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-5.0.0.tgz",
- "integrity": "sha512-Tz/yndySvLAEXh+Uk8liFCxOwVH6YutuR74utvOcu7I9Di+DwM0mtdPVZNaVvvBUM2OXxne/NhOs1zAO7riusQ=="
- },
- "node_modules/is-negative-zero": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
- "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/is-number-object": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz",
- "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "has-tostringtag": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-regex": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz",
- "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "gopd": "^1.2.0",
- "has-tostringtag": "^1.0.2",
- "hasown": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-set": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
- "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-shared-array-buffer": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz",
- "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-stream": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
- "dev": true,
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/is-string": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz",
- "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "has-tostringtag": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-symbol": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz",
- "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "has-symbols": "^1.1.0",
- "safe-regex-test": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-typed-array": {
- "version": "1.1.15",
- "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz",
- "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",
- "dev": true,
- "dependencies": {
- "which-typed-array": "^1.1.16"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-weakmap": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
- "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-weakref": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz",
- "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-weakset": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz",
- "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "get-intrinsic": "^1.2.6"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/isarray": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
- "dev": true
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
- },
- "node_modules/iterator.prototype": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz",
- "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==",
- "dev": true,
- "dependencies": {
- "define-data-property": "^1.1.4",
- "es-object-atoms": "^1.0.0",
- "get-intrinsic": "^1.2.6",
- "get-proto": "^1.0.0",
- "has-symbols": "^1.1.0",
- "set-function-name": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/jackspeak": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
- "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
- "dependencies": {
- "@isaacs/cliui": "^8.0.2"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
- },
- "node_modules/js-yaml": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
- "dependencies": {
- "argparse": "^2.0.1"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
- "node_modules/json-buffer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true
- },
- "node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
- },
- "node_modules/json-stable-stringify-without-jsonify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true
- },
- "node_modules/json2mq": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz",
- "integrity": "sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==",
- "dependencies": {
- "string-convert": "^0.2.0"
- }
- },
- "node_modules/json5": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
- "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
- "dev": true,
- "dependencies": {
- "minimist": "^1.2.0"
- },
- "bin": {
- "json5": "lib/cli.js"
- }
- },
- "node_modules/jsx-ast-utils": {
- "version": "3.3.5",
- "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",
- "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",
- "dev": true,
- "dependencies": {
- "array-includes": "^3.1.6",
- "array.prototype.flat": "^1.3.1",
- "object.assign": "^4.1.4",
- "object.values": "^1.1.6"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/keyv": {
- "version": "4.5.4",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
- "dependencies": {
- "json-buffer": "3.0.1"
- }
- },
- "node_modules/language-subtag-registry": {
- "version": "0.3.23",
- "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",
- "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",
- "dev": true
- },
- "node_modules/language-tags": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",
- "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",
- "dev": true,
- "dependencies": {
- "language-subtag-registry": "^0.3.20"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/laravelphp": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/laravelphp/-/laravelphp-2.0.4.tgz",
- "integrity": "sha512-rx5X+Yds6MmIxGS+VVQBWhylPYxkOYmKXrWqQHc2rj2ewsoWMZS7OaTXk9UE8y95XV+D5CqLjaEj+IJgRmrIaw==",
- "dev": true,
- "dependencies": {
- "php-parser": "3.1.5"
- }
- },
- "node_modules/levn": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
- "dependencies": {
- "prelude-ls": "^1.2.1",
- "type-check": "~0.4.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/locate-path": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
- "dependencies": {
- "p-locate": "^5.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/locize-cli": {
- "version": "9.0.1",
- "resolved": "https://registry.npmjs.org/locize-cli/-/locize-cli-9.0.1.tgz",
- "integrity": "sha512-m+HUWra8Xs9aZV6EhDKgJNUsVedTbJnf4koIkv+rrnNy1GhmAETd/i54d2hPMPl9rfb4gtbGMWAFWNuwFzHmJA==",
- "dev": true,
- "dependencies": {
- "@js.properties/properties": "0.5.4",
- "android-string-resource": "2.3.10",
- "async": "3.2.6",
- "cacheable-lookup": "6.1.0",
- "colors": "1.4.0",
- "commander": "9.5.0",
- "csvjson": "5.1.0",
- "diff": "7.0.0",
- "dotenv": "16.4.7",
- "flat": "5.0.2",
- "fluent_conv": "3.3.0",
- "gettext-converter": "1.3.0",
- "https-proxy-agent": "7.0.6",
- "ini": "4.1.3",
- "js-yaml": "4.1.0",
- "laravelphp": "2.0.4",
- "locize-xcstrings": "2.0.0",
- "lodash.clonedeep": "4.5.0",
- "mkdirp": "3.0.1",
- "node-fetch": "2.7.0",
- "resx": "2.0.4",
- "rimraf": "4.4.1",
- "strings-file": "0.0.5",
- "tmexchange": "2.0.5",
- "xliff": "6.2.1",
- "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
- },
- "bin": {
- "locize": "bin/locize"
- }
- },
- "node_modules/locize-xcstrings": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locize-xcstrings/-/locize-xcstrings-2.0.0.tgz",
- "integrity": "sha512-Gef3IrMDSB5ZuRbym9ktr7KXCTFjIvs1T2TEnaew5ed7BBwt3od0/sj8C7X9iGpRebHxG1kyF6hR6aK8iBPkLg==",
- "dev": true
- },
- "node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
- },
- "node_modules/lodash.clonedeep": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
- "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==",
- "dev": true
- },
- "node_modules/lodash.merge": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true
- },
- "node_modules/loose-envify": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
- "dependencies": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- },
- "bin": {
- "loose-envify": "cli.js"
- }
- },
- "node_modules/lru-cache": {
- "version": "11.1.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz",
- "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==",
- "engines": {
- "node": "20 || >=22"
- }
- },
- "node_modules/math-intrinsics": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
- "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/merge2": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/micromatch": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
- "dependencies": {
- "braces": "^3.0.3",
- "picomatch": "^2.3.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
- "node_modules/micromatch/node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "license": "MIT",
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/minimatch": {
- "version": "10.0.3",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz",
- "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==",
- "dependencies": {
- "@isaacs/brace-expansion": "^5.0.0"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/minimist": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
- "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/minipass": {
- "version": "7.1.2",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
- "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
- "node_modules/mkdirp": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz",
- "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==",
- "dev": true,
- "bin": {
- "mkdirp": "dist/cjs/src/bin.js"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true
- },
- "node_modules/nanoid": {
- "version": "3.3.11",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
- "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
- "engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
- }
- },
- "node_modules/napi-postinstall": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.3.tgz",
- "integrity": "sha512-uTp172LLXSxuSYHv/kou+f6KW3SMppU9ivthaVTXian9sOt3XM/zHYHpRZiLgQoxeWfYUnslNWQHF1+G71xcow==",
- "dev": true,
- "bin": {
- "napi-postinstall": "lib/cli.js"
- },
- "engines": {
- "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/napi-postinstall"
- }
- },
- "node_modules/natural-compare": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
- },
- "node_modules/next": {
- "version": "14.2.29",
- "resolved": "https://registry.npmjs.org/next/-/next-14.2.29.tgz",
- "integrity": "sha512-s98mCOMOWLGGpGOfgKSnleXLuegvvH415qtRZXpSp00HeEgdmrxmwL9cgKU+h4XrhB16zEI5d/7BnkS3ATInsA==",
- "dependencies": {
- "@next/env": "14.2.29",
- "@swc/helpers": "0.5.5",
- "busboy": "1.6.0",
- "caniuse-lite": "^1.0.30001579",
- "graceful-fs": "^4.2.11",
- "postcss": "8.4.31",
- "styled-jsx": "5.1.1"
- },
- "bin": {
- "next": "dist/bin/next"
- },
- "engines": {
- "node": ">=18.17.0"
- },
- "optionalDependencies": {
- "@next/swc-darwin-arm64": "14.2.29",
- "@next/swc-darwin-x64": "14.2.29",
- "@next/swc-linux-arm64-gnu": "14.2.29",
- "@next/swc-linux-arm64-musl": "14.2.29",
- "@next/swc-linux-x64-gnu": "14.2.29",
- "@next/swc-linux-x64-musl": "14.2.29",
- "@next/swc-win32-arm64-msvc": "14.2.29",
- "@next/swc-win32-ia32-msvc": "14.2.29",
- "@next/swc-win32-x64-msvc": "14.2.29"
- },
- "peerDependencies": {
- "@opentelemetry/api": "^1.1.0",
- "@playwright/test": "^1.41.2",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "sass": "^1.3.0"
- },
- "peerDependenciesMeta": {
- "@opentelemetry/api": {
- "optional": true
- },
- "@playwright/test": {
- "optional": true
- },
- "sass": {
- "optional": true
- }
- }
- },
- "node_modules/next-sitemap": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/next-sitemap/-/next-sitemap-4.2.3.tgz",
- "integrity": "sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==",
- "funding": [
- {
- "url": "https://github.com/iamvishnusankar/next-sitemap.git"
- }
- ],
- "dependencies": {
- "@corex/deepmerge": "^4.0.43",
- "@next/env": "^13.4.3",
- "fast-glob": "^3.2.12",
- "minimist": "^1.2.8"
- },
- "bin": {
- "next-sitemap": "bin/next-sitemap.mjs",
- "next-sitemap-cjs": "bin/next-sitemap.cjs"
- },
- "engines": {
- "node": ">=14.18"
- },
- "peerDependencies": {
- "next": "*"
- }
- },
- "node_modules/next-sitemap/node_modules/@next/env": {
- "version": "13.5.11",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-13.5.11.tgz",
- "integrity": "sha512-fbb2C7HChgM7CemdCY+y3N1n8pcTKdqtQLbC7/EQtPdLvlMUT9JX/dBYl8MMZAtYG4uVMyPFHXckb68q/NRwqg=="
- },
- "node_modules/node-addon-api": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",
- "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",
- "optional": true
- },
- "node_modules/node-fetch": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
- "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
- "dev": true,
- "dependencies": {
- "whatwg-url": "^5.0.0"
- },
- "engines": {
- "node": "4.x || >=6.0.0"
- },
- "peerDependencies": {
- "encoding": "^0.1.0"
- },
- "peerDependenciesMeta": {
- "encoding": {
- "optional": true
- }
- }
- },
- "node_modules/nth-check": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
- "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
- "dev": true,
- "dependencies": {
- "boolbase": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/fb55/nth-check?sponsor=1"
- }
- },
- "node_modules/object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-inspect": {
- "version": "1.13.4",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
- "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.assign": {
- "version": "4.1.7",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz",
- "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.3",
- "define-properties": "^1.2.1",
- "es-object-atoms": "^1.0.0",
- "has-symbols": "^1.1.0",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object.entries": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz",
- "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.4",
- "define-properties": "^1.2.1",
- "es-object-atoms": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.fromentries": {
- "version": "2.0.8",
- "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",
- "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object.groupby": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",
- "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.values": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz",
- "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.3",
- "define-properties": "^1.2.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/obop": {
- "version": "0.2.3",
- "resolved": "https://registry.npmjs.org/obop/-/obop-0.2.3.tgz",
- "integrity": "sha512-xmaHk+pwv4T6QKoq553KeJlkZUV6WBVGU/dO7rppA7YFIvGf+xB1OQAkw8mcORtxtSHpiK5JiTQ+d7Bme/Y7Wg==",
- "dev": true
- },
- "node_modules/optionator": {
- "version": "0.9.4",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
- "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
- "dev": true,
- "dependencies": {
- "deep-is": "^0.1.3",
- "fast-levenshtein": "^2.0.6",
- "levn": "^0.4.1",
- "prelude-ls": "^1.2.1",
- "type-check": "^0.4.0",
- "word-wrap": "^1.2.5"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/own-keys": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz",
- "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==",
- "dev": true,
- "dependencies": {
- "get-intrinsic": "^1.2.6",
- "object-keys": "^1.1.1",
- "safe-push-apply": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/p-limit": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
- "dependencies": {
- "yocto-queue": "^0.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/p-locate": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
- "dependencies": {
- "p-limit": "^3.0.2"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/package-json-from-dist": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
- "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw=="
- },
- "node_modules/parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/parse5": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
- "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
- "dev": true,
- "dependencies": {
- "entities": "^6.0.0"
- },
- "funding": {
- "url": "https://github.com/inikulin/parse5?sponsor=1"
- }
- },
- "node_modules/parse5-htmlparser2-tree-adapter": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz",
- "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==",
- "dev": true,
- "dependencies": {
- "domhandler": "^5.0.3",
- "parse5": "^7.0.0"
- },
- "funding": {
- "url": "https://github.com/inikulin/parse5?sponsor=1"
- }
- },
- "node_modules/parse5/node_modules/entities": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
- "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
- "dev": true,
- "engines": {
- "node": ">=0.12"
- },
- "funding": {
- "url": "https://github.com/fb55/entities?sponsor=1"
- }
- },
- "node_modules/path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-key": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true
- },
- "node_modules/path-scurry": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
- "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
- "dependencies": {
- "lru-cache": "^11.0.0",
- "minipass": "^7.1.2"
- },
- "engines": {
- "node": "20 || >=22"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/php-parser": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/php-parser/-/php-parser-3.1.5.tgz",
- "integrity": "sha512-jEY2DcbgCm5aclzBdfW86GM6VEIWcSlhTBSHN1qhJguVePlYe28GhwS0yoeLYXpM2K8y6wzLwrbq814n2PHSoQ==",
- "dev": true
- },
- "node_modules/picocolors": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
- "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="
- },
- "node_modules/picomatch": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
- "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/possible-typed-array-names": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
- "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/postcss": {
- "version": "8.4.31",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
- "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "nanoid": "^3.3.6",
- "picocolors": "^1.0.0",
- "source-map-js": "^1.0.2"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- }
- },
- "node_modules/preact": {
- "version": "10.12.1",
- "resolved": "https://registry.npmjs.org/preact/-/preact-10.12.1.tgz",
- "integrity": "sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/preact"
- }
- },
- "node_modules/prelude-ls": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/prettier": {
- "version": "3.6.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
- "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
- "dev": true,
- "bin": {
- "prettier": "bin/prettier.cjs"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/prettier/prettier?sponsor=1"
- }
- },
- "node_modules/prettier-linter-helpers": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz",
- "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==",
- "dev": true,
- "dependencies": {
- "fast-diff": "^1.1.2"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/process.argv": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/process.argv/-/process.argv-0.6.1.tgz",
- "integrity": "sha512-WQOWF/VB0pTJu7c3ko0y5w6HWDQf6Wm3ppvKDI7ET4OSYBDOvcliBRM1HFIHHkJPNa/1bYTzmUinjF8492oaBg==",
- "dev": true,
- "dependencies": {
- "obop": "^0.2.2"
- }
- },
- "node_modules/prop-types": {
- "version": "15.8.1",
- "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
- "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
- "dependencies": {
- "loose-envify": "^1.4.0",
- "object-assign": "^4.1.1",
- "react-is": "^16.13.1"
- }
- },
- "node_modules/prop-types/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "node_modules/proxy-from-env": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
- "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
- },
- "node_modules/punycode": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
- "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/qs": {
- "version": "6.14.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
- "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
- "dependencies": {
- "side-channel": "^1.1.0"
- },
- "engines": {
- "node": ">=0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/queue-microtask": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
- "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ]
- },
- "node_modules/rc-cascader": {
- "version": "3.34.0",
- "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.34.0.tgz",
- "integrity": "sha512-KpXypcvju9ptjW9FaN2NFcA2QH9E9LHKq169Y0eWtH4e/wHQ5Wh5qZakAgvb8EKZ736WZ3B0zLLOBsrsja5Dag==",
- "dependencies": {
- "@babel/runtime": "^7.25.7",
- "classnames": "^2.3.1",
- "rc-select": "~14.16.2",
- "rc-tree": "~5.13.0",
- "rc-util": "^5.43.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-checkbox": {
- "version": "3.5.0",
- "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-3.5.0.tgz",
- "integrity": "sha512-aOAQc3E98HteIIsSqm6Xk2FPKIER6+5vyEFMZfo73TqM+VVAIqOkHoPjgKLqSNtVLWScoaM7vY2ZrGEheI79yg==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "^2.3.2",
- "rc-util": "^5.25.2"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-collapse": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.9.0.tgz",
- "integrity": "sha512-swDdz4QZ4dFTo4RAUMLL50qP0EY62N2kvmk2We5xYdRwcRn8WcYtuetCJpwpaCbUfUt5+huLpVxhvmnK+PHrkA==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "2.x",
- "rc-motion": "^2.3.4",
- "rc-util": "^5.27.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-dialog": {
- "version": "9.6.0",
- "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.6.0.tgz",
- "integrity": "sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "@rc-component/portal": "^1.0.0-8",
- "classnames": "^2.2.6",
- "rc-motion": "^2.3.0",
- "rc-util": "^5.21.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-drawer": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-7.3.0.tgz",
- "integrity": "sha512-DX6CIgiBWNpJIMGFO8BAISFkxiuKitoizooj4BDyee8/SnBn0zwO2FHrNDpqqepj0E/TFTDpmEBCyFuTgC7MOg==",
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@rc-component/portal": "^1.1.1",
- "classnames": "^2.2.6",
- "rc-motion": "^2.6.1",
- "rc-util": "^5.38.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-dropdown": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.2.1.tgz",
- "integrity": "sha512-YDAlXsPv3I1n42dv1JpdM7wJ+gSUBfeyPK59ZpBD9jQhK9jVuxpjj3NmWQHOBceA1zEPVX84T2wbdb2SD0UjmA==",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "^2.2.6",
- "rc-util": "^5.44.1"
- },
- "peerDependencies": {
- "react": ">=16.11.0",
- "react-dom": ">=16.11.0"
- }
- },
- "node_modules/rc-field-form": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-2.7.0.tgz",
- "integrity": "sha512-hgKsCay2taxzVnBPZl+1n4ZondsV78G++XVsMIJCAoioMjlMQR9YwAp7JZDIECzIu2Z66R+f4SFIRrO2DjDNAA==",
- "dependencies": {
- "@babel/runtime": "^7.18.0",
- "@rc-component/async-validator": "^5.0.3",
- "rc-util": "^5.32.2"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-image": {
- "version": "7.12.0",
- "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-7.12.0.tgz",
- "integrity": "sha512-cZ3HTyyckPnNnUb9/DRqduqzLfrQRyi+CdHjdqgsyDpI3Ln5UX1kXnAhPBSJj9pVRzwRFgqkN7p9b6HBDjmu/Q==",
- "dependencies": {
- "@babel/runtime": "^7.11.2",
- "@rc-component/portal": "^1.0.2",
- "classnames": "^2.2.6",
- "rc-dialog": "~9.6.0",
- "rc-motion": "^2.6.2",
- "rc-util": "^5.34.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-input": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/rc-input/-/rc-input-1.8.0.tgz",
- "integrity": "sha512-KXvaTbX+7ha8a/k+eg6SYRVERK0NddX8QX7a7AnRvUa/rEH0CNMlpcBzBkhI0wp2C8C4HlMoYl8TImSN+fuHKA==",
- "dependencies": {
- "@babel/runtime": "^7.11.1",
- "classnames": "^2.2.1",
- "rc-util": "^5.18.1"
- },
- "peerDependencies": {
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/rc-input-number": {
- "version": "9.5.0",
- "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-9.5.0.tgz",
- "integrity": "sha512-bKaEvB5tHebUURAEXw35LDcnRZLq3x1k7GxfAqBMzmpHkDGzjAtnUL8y4y5N15rIFIg5IJgwr211jInl3cipag==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "@rc-component/mini-decimal": "^1.0.1",
- "classnames": "^2.2.5",
- "rc-input": "~1.8.0",
- "rc-util": "^5.40.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-mentions": {
- "version": "2.20.0",
- "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-2.20.0.tgz",
- "integrity": "sha512-w8HCMZEh3f0nR8ZEd466ATqmXFCMGMN5UFCzEUL0bM/nGw/wOS2GgRzKBcm19K++jDyuWCOJOdgcKGXU3fXfbQ==",
- "dependencies": {
- "@babel/runtime": "^7.22.5",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "^2.2.6",
- "rc-input": "~1.8.0",
- "rc-menu": "~9.16.0",
- "rc-textarea": "~1.10.0",
- "rc-util": "^5.34.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-menu": {
- "version": "9.16.1",
- "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.16.1.tgz",
- "integrity": "sha512-ghHx6/6Dvp+fw8CJhDUHFHDJ84hJE3BXNCzSgLdmNiFErWSOaZNsihDAsKq9ByTALo/xkNIwtDFGIl6r+RPXBg==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "2.x",
- "rc-motion": "^2.4.3",
- "rc-overflow": "^1.3.1",
- "rc-util": "^5.27.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-motion": {
- "version": "2.9.5",
- "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.5.tgz",
- "integrity": "sha512-w+XTUrfh7ArbYEd2582uDrEhmBHwK1ZENJiSJVb7uRxdE7qJSYjbO2eksRXmndqyKqKoYPc9ClpPh5242mV1vA==",
- "dependencies": {
- "@babel/runtime": "^7.11.1",
- "classnames": "^2.2.1",
- "rc-util": "^5.44.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-notification": {
- "version": "5.6.4",
- "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-5.6.4.tgz",
- "integrity": "sha512-KcS4O6B4qzM3KH7lkwOB7ooLPZ4b6J+VMmQgT51VZCeEcmghdeR4IrMcFq0LG+RPdnbe/ArT086tGM8Snimgiw==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "2.x",
- "rc-motion": "^2.9.0",
- "rc-util": "^5.20.1"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-overflow": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.4.1.tgz",
- "integrity": "sha512-3MoPQQPV1uKyOMVNd6SZfONi+f3st0r8PksexIdBTeIYbMX0Jr+k7pHEDvsXtR4BpCv90/Pv2MovVNhktKrwvw==",
- "dependencies": {
- "@babel/runtime": "^7.11.1",
- "classnames": "^2.2.1",
- "rc-resize-observer": "^1.0.0",
- "rc-util": "^5.37.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-pagination": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-5.1.0.tgz",
- "integrity": "sha512-8416Yip/+eclTFdHXLKTxZvn70duYVGTvUUWbckCCZoIl3jagqke3GLsFrMs0bsQBikiYpZLD9206Ej4SOdOXQ==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "^2.3.2",
- "rc-util": "^5.38.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-picker": {
- "version": "4.11.3",
- "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-4.11.3.tgz",
- "integrity": "sha512-MJ5teb7FlNE0NFHTncxXQ62Y5lytq6sh5nUw0iH8OkHL/TjARSEvSHpr940pWgjGANpjCwyMdvsEV55l5tYNSg==",
- "dependencies": {
- "@babel/runtime": "^7.24.7",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "^2.2.1",
- "rc-overflow": "^1.3.2",
- "rc-resize-observer": "^1.4.0",
- "rc-util": "^5.43.0"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "date-fns": ">= 2.x",
- "dayjs": ">= 1.x",
- "luxon": ">= 3.x",
- "moment": ">= 2.x",
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- },
- "peerDependenciesMeta": {
- "date-fns": {
- "optional": true
- },
- "dayjs": {
- "optional": true
- },
- "luxon": {
- "optional": true
- },
- "moment": {
- "optional": true
- }
- }
- },
- "node_modules/rc-progress": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-4.0.0.tgz",
- "integrity": "sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "^2.2.6",
- "rc-util": "^5.16.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-rate": {
- "version": "2.13.1",
- "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.13.1.tgz",
- "integrity": "sha512-QUhQ9ivQ8Gy7mtMZPAjLbxBt5y9GRp65VcUyGUMF3N3fhiftivPHdpuDIaWIMOTEprAjZPC08bls1dQB+I1F2Q==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "^2.2.5",
- "rc-util": "^5.0.1"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-resize-observer": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.3.tgz",
- "integrity": "sha512-YZLjUbyIWox8E9i9C3Tm7ia+W7euPItNWSPX5sCcQTYbnwDb5uNpnLHQCG1f22oZWUhLw4Mv2tFmeWe68CDQRQ==",
- "dependencies": {
- "@babel/runtime": "^7.20.7",
- "classnames": "^2.2.1",
- "rc-util": "^5.44.1",
- "resize-observer-polyfill": "^1.5.1"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-segmented": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.7.0.tgz",
- "integrity": "sha512-liijAjXz+KnTRVnxxXG2sYDGd6iLL7VpGGdR8gwoxAXy2KglviKCxLWZdjKYJzYzGSUwKDSTdYk8brj54Bn5BA==",
- "dependencies": {
- "@babel/runtime": "^7.11.1",
- "classnames": "^2.2.1",
- "rc-motion": "^2.4.4",
- "rc-util": "^5.17.0"
- },
- "peerDependencies": {
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/rc-select": {
- "version": "14.16.8",
- "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.16.8.tgz",
- "integrity": "sha512-NOV5BZa1wZrsdkKaiK7LHRuo5ZjZYMDxPP6/1+09+FB4KoNi8jcG1ZqLE3AVCxEsYMBe65OBx71wFoHRTP3LRg==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "@rc-component/trigger": "^2.1.1",
- "classnames": "2.x",
- "rc-motion": "^2.0.1",
- "rc-overflow": "^1.3.1",
- "rc-util": "^5.16.1",
- "rc-virtual-list": "^3.5.2"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": "*",
- "react-dom": "*"
- }
- },
- "node_modules/rc-slider": {
- "version": "11.1.8",
- "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-11.1.8.tgz",
- "integrity": "sha512-2gg/72YFSpKP+Ja5AjC5DPL1YnV8DEITDQrcc1eASrUYjl0esptaBVJBh5nLTXCCp15eD8EuGjwezVGSHhs9tQ==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "^2.2.5",
- "rc-util": "^5.36.0"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-steps": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-6.0.1.tgz",
- "integrity": "sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==",
- "dependencies": {
- "@babel/runtime": "^7.16.7",
- "classnames": "^2.2.3",
- "rc-util": "^5.16.1"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-switch": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-4.1.0.tgz",
- "integrity": "sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==",
- "dependencies": {
- "@babel/runtime": "^7.21.0",
- "classnames": "^2.2.1",
- "rc-util": "^5.30.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-table": {
- "version": "7.51.1",
- "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.51.1.tgz",
- "integrity": "sha512-5iq15mTHhvC42TlBLRCoCBLoCmGlbRZAlyF21FonFnS/DIC8DeRqnmdyVREwt2CFbPceM0zSNdEeVfiGaqYsKw==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "@rc-component/context": "^1.4.0",
- "classnames": "^2.2.5",
- "rc-resize-observer": "^1.1.0",
- "rc-util": "^5.44.3",
- "rc-virtual-list": "^3.14.2"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-tabs": {
- "version": "15.7.0",
- "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-15.7.0.tgz",
- "integrity": "sha512-ZepiE+6fmozYdWf/9gVp7k56PKHB1YYoDsKeQA1CBlJ/POIhjkcYiv0AGP0w2Jhzftd3AVvZP/K+V+Lpi2ankA==",
- "dependencies": {
- "@babel/runtime": "^7.11.2",
- "classnames": "2.x",
- "rc-dropdown": "~4.2.0",
- "rc-menu": "~9.16.0",
- "rc-motion": "^2.6.2",
- "rc-resize-observer": "^1.0.0",
- "rc-util": "^5.34.1"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-textarea": {
- "version": "1.10.2",
- "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-1.10.2.tgz",
- "integrity": "sha512-HfaeXiaSlpiSp0I/pvWpecFEHpVysZ9tpDLNkxQbMvMz6gsr7aVZ7FpWP9kt4t7DB+jJXesYS0us1uPZnlRnwQ==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "^2.2.1",
- "rc-input": "~1.8.0",
- "rc-resize-observer": "^1.0.0",
- "rc-util": "^5.27.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-tooltip": {
- "version": "6.4.0",
- "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-6.4.0.tgz",
- "integrity": "sha512-kqyivim5cp8I5RkHmpsp1Nn/Wk+1oeloMv9c7LXNgDxUpGm+RbXJGL+OPvDlcRnx9DBeOe4wyOIl4OKUERyH1g==",
- "dependencies": {
- "@babel/runtime": "^7.11.2",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "^2.3.1",
- "rc-util": "^5.44.3"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-tree": {
- "version": "5.13.1",
- "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.13.1.tgz",
- "integrity": "sha512-FNhIefhftobCdUJshO7M8uZTA9F4OPGVXqGfZkkD/5soDeOhwO06T/aKTrg0WD8gRg/pyfq+ql3aMymLHCTC4A==",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "classnames": "2.x",
- "rc-motion": "^2.0.1",
- "rc-util": "^5.16.1",
- "rc-virtual-list": "^3.5.1"
- },
- "engines": {
- "node": ">=10.x"
- },
- "peerDependencies": {
- "react": "*",
- "react-dom": "*"
- }
- },
- "node_modules/rc-tree-select": {
- "version": "5.27.0",
- "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-5.27.0.tgz",
- "integrity": "sha512-2qTBTzwIT7LRI1o7zLyrCzmo5tQanmyGbSaGTIf7sYimCklAToVVfpMC6OAldSKolcnjorBYPNSKQqJmN3TCww==",
- "dependencies": {
- "@babel/runtime": "^7.25.7",
- "classnames": "2.x",
- "rc-select": "~14.16.2",
- "rc-tree": "~5.13.0",
- "rc-util": "^5.43.0"
- },
- "peerDependencies": {
- "react": "*",
- "react-dom": "*"
- }
- },
- "node_modules/rc-upload": {
- "version": "4.9.2",
- "resolved": "https://registry.npmjs.org/rc-upload/-/rc-upload-4.9.2.tgz",
- "integrity": "sha512-nHx+9rbd1FKMiMRYsqQ3NkXUv7COHPBo3X1Obwq9SWS6/diF/A0aJ5OHubvwUAIDs+4RMleljV0pcrNUc823GQ==",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "classnames": "^2.2.5",
- "rc-util": "^5.2.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-util": {
- "version": "5.44.4",
- "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.44.4.tgz",
- "integrity": "sha512-resueRJzmHG9Q6rI/DfK6Kdv9/Lfls05vzMs1Sk3M2P+3cJa+MakaZyWY8IPfehVuhPJFKrIY1IK4GqbiaiY5w==",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "react-is": "^18.2.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rc-virtual-list": {
- "version": "3.19.1",
- "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.19.1.tgz",
- "integrity": "sha512-DCapO2oyPqmooGhxBuXHM4lFuX+sshQwWqqkuyFA+4rShLe//+GEPVwiDgO+jKtKHtbeYwZoNvetwfHdOf+iUQ==",
- "dependencies": {
- "@babel/runtime": "^7.20.0",
- "classnames": "^2.2.6",
- "rc-resize-observer": "^1.0.0",
- "rc-util": "^5.36.0"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/rdotjson": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/rdotjson/-/rdotjson-1.1.1.tgz",
- "integrity": "sha512-L6wBhp64fAr/FPhjfkuf9Lx6dAbfkznROcBMj55tVamw6ddTvhcgoqu89a3lUJCaALJkZe/mTcQoNM0P09RpQg==",
- "dev": true,
- "dependencies": {
- "cheerio": "1.0.0-rc.12",
- "is-stream": "^2.0.0",
- "process.argv": "^0.6.1"
- },
- "bin": {
- "rdotjson": "rdotjson.cli.js"
- }
- },
- "node_modules/react": {
- "version": "18.3.1",
- "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
- "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
- "dependencies": {
- "loose-envify": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/react-dnd": {
- "version": "16.0.1",
- "resolved": "https://registry.npmjs.org/react-dnd/-/react-dnd-16.0.1.tgz",
- "integrity": "sha512-QeoM/i73HHu2XF9aKksIUuamHPDvRglEwdHL4jsp784BgUuWcg6mzfxT0QDdQz8Wj0qyRKx2eMg8iZtWvU4E2Q==",
- "dependencies": {
- "@react-dnd/invariant": "^4.0.1",
- "@react-dnd/shallowequal": "^4.0.1",
- "dnd-core": "^16.0.1",
- "fast-deep-equal": "^3.1.3",
- "hoist-non-react-statics": "^3.3.2"
- },
- "peerDependencies": {
- "@types/hoist-non-react-statics": ">= 3.3.1",
- "@types/node": ">= 12",
- "@types/react": ">= 16",
- "react": ">= 16.14"
- },
- "peerDependenciesMeta": {
- "@types/hoist-non-react-statics": {
- "optional": true
- },
- "@types/node": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/react-dnd-html5-backend": {
- "version": "16.0.1",
- "resolved": "https://registry.npmjs.org/react-dnd-html5-backend/-/react-dnd-html5-backend-16.0.1.tgz",
- "integrity": "sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==",
- "dependencies": {
- "dnd-core": "^16.0.1"
- }
- },
- "node_modules/react-dom": {
- "version": "18.3.1",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
- "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
- "dependencies": {
- "loose-envify": "^1.1.0",
- "scheduler": "^0.23.2"
- },
- "peerDependencies": {
- "react": "^18.3.1"
- }
- },
- "node_modules/react-i18next": {
- "version": "15.4.1",
- "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-15.4.1.tgz",
- "integrity": "sha512-ahGab+IaSgZmNPYXdV1n+OYky95TGpFwnKRflX/16dY04DsYYKHtVLjeny7sBSCREEcoMbAgSkFiGLF5g5Oofw==",
- "dependencies": {
- "@babel/runtime": "^7.25.0",
- "html-parse-stringify": "^3.0.1"
- },
- "peerDependencies": {
- "i18next": ">= 23.2.3",
- "react": ">= 16.8.0"
- },
- "peerDependenciesMeta": {
- "react-dom": {
- "optional": true
- },
- "react-native": {
- "optional": true
- }
- }
- },
- "node_modules/react-icons": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz",
- "integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==",
- "peerDependencies": {
- "react": "*"
- }
- },
- "node_modules/react-is": {
- "version": "18.3.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
- "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg=="
- },
- "node_modules/react-sortablejs": {
- "version": "6.1.4",
- "resolved": "https://registry.npmjs.org/react-sortablejs/-/react-sortablejs-6.1.4.tgz",
- "integrity": "sha512-fc7cBosfhnbh53Mbm6a45W+F735jwZ1UFIYSrIqcO/gRIFoDyZeMtgKlpV4DdyQfbCzdh5LoALLTDRxhMpTyXQ==",
- "dependencies": {
- "classnames": "2.3.1",
- "tiny-invariant": "1.2.0"
- },
- "peerDependencies": {
- "@types/sortablejs": "1",
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0",
- "sortablejs": "1"
- }
- },
- "node_modules/react-sortablejs/node_modules/classnames": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz",
- "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA=="
- },
- "node_modules/react-transition-group": {
- "version": "4.4.5",
- "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",
- "integrity": "sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==",
- "dependencies": {
- "@babel/runtime": "^7.5.5",
- "dom-helpers": "^5.0.1",
- "loose-envify": "^1.4.0",
- "prop-types": "^15.6.2"
- },
- "peerDependencies": {
- "react": ">=16.6.0",
- "react-dom": ">=16.6.0"
- }
- },
- "node_modules/react-transition-state": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/react-transition-state/-/react-transition-state-2.3.1.tgz",
- "integrity": "sha512-Z48el73x+7HUEM131dof9YpcQ5IlM4xB+pKWH/lX3FhxGfQaNTZa16zb7pWkC/y5btTZzXfCtglIJEGc57giOw==",
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
- }
- },
- "node_modules/readdirp": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
- "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
- "engines": {
- "node": ">= 14.18.0"
- },
- "funding": {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/redux": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
- "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
- "dependencies": {
- "@babel/runtime": "^7.9.2"
- }
- },
- "node_modules/reflect.getprototypeof": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",
- "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.9",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0",
- "get-intrinsic": "^1.2.7",
- "get-proto": "^1.0.1",
- "which-builtin-type": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/regexp.prototype.flags": {
- "version": "1.5.4",
- "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz",
- "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "define-properties": "^1.2.1",
- "es-errors": "^1.3.0",
- "get-proto": "^1.0.1",
- "gopd": "^1.2.0",
- "set-function-name": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/resize-observer-polyfill": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
- "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
- },
- "node_modules/resolve": {
- "version": "1.22.10",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
- "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
- "dev": true,
- "dependencies": {
- "is-core-module": "^2.16.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/resolve-pkg-maps": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
- "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
- "dev": true,
- "funding": {
- "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
- }
- },
- "node_modules/resx": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/resx/-/resx-2.0.4.tgz",
- "integrity": "sha512-b3IW7ge0nxbWOhbUGO/WULL4NG5ctrpey+UgDIwRq5K4Bblna4t1hLMbA2DZC9Y6e8U/zLuRJHg+qEOVKOoypQ==",
- "dev": true,
- "dependencies": {
- "xml2js": "0.5.0"
- }
- },
- "node_modules/reusify": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
- "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
- "engines": {
- "iojs": ">=1.0.0",
- "node": ">=0.10.0"
- }
- },
- "node_modules/rimraf": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz",
- "integrity": "sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==",
- "dev": true,
- "dependencies": {
- "glob": "^9.2.0"
- },
- "bin": {
- "rimraf": "dist/cjs/src/bin.js"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/brace-expansion": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
- "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/rimraf/node_modules/glob": {
- "version": "9.3.5",
- "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz",
- "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "minimatch": "^8.0.2",
- "minipass": "^4.2.4",
- "path-scurry": "^1.6.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/lru-cache": {
- "version": "10.4.3",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
- "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
- "dev": true
- },
- "node_modules/rimraf/node_modules/minimatch": {
- "version": "8.0.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz",
- "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/minipass": {
- "version": "4.2.8",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz",
- "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/rimraf/node_modules/path-scurry": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
- "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
- "dev": true,
- "dependencies": {
- "lru-cache": "^10.2.0",
- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
- },
- "engines": {
- "node": ">=16 || 14 >=14.18"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/path-scurry/node_modules/minipass": {
- "version": "7.1.2",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
- "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
- "dev": true,
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
- "node_modules/run-parallel": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
- "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "dependencies": {
- "queue-microtask": "^1.2.2"
- }
- },
- "node_modules/safe-array-concat": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz",
- "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.2",
- "get-intrinsic": "^1.2.6",
- "has-symbols": "^1.1.0",
- "isarray": "^2.0.5"
- },
- "engines": {
- "node": ">=0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/safe-push-apply": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz",
- "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==",
- "dev": true,
- "dependencies": {
- "es-errors": "^1.3.0",
- "isarray": "^2.0.5"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/safe-regex-test": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz",
- "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "es-errors": "^1.3.0",
- "is-regex": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
- "dev": true
- },
- "node_modules/sass": {
- "version": "1.90.0",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.90.0.tgz",
- "integrity": "sha512-9GUyuksjw70uNpb1MTYWsH9MQHOHY6kwfnkafC24+7aOMZn9+rVMBxRbLvw756mrBFbIsFg6Xw9IkR2Fnn3k+Q==",
- "dependencies": {
- "chokidar": "^4.0.0",
- "immutable": "^5.0.2",
- "source-map-js": ">=0.6.2 <2.0.0"
- },
- "bin": {
- "sass": "sass.js"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "optionalDependencies": {
- "@parcel/watcher": "^2.4.1"
- }
- },
- "node_modules/sax": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz",
- "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==",
- "dev": true
- },
- "node_modules/scheduler": {
- "version": "0.23.2",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
- "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
- "dependencies": {
- "loose-envify": "^1.1.0"
- }
- },
- "node_modules/scroll-into-view-if-needed": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz",
- "integrity": "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==",
- "dependencies": {
- "compute-scroll-into-view": "^3.0.2"
- }
- },
- "node_modules/semver": {
- "version": "7.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
- "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
- "dev": true,
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/set-function-length": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
- "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
- "dev": true,
- "dependencies": {
- "define-data-property": "^1.1.4",
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.4",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/set-function-name": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",
- "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
- "dev": true,
- "dependencies": {
- "define-data-property": "^1.1.4",
- "es-errors": "^1.3.0",
- "functions-have-names": "^1.2.3",
- "has-property-descriptors": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/set-proto": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz",
- "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==",
- "dev": true,
- "dependencies": {
- "dunder-proto": "^1.0.1",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/shebang-command": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dependencies": {
- "shebang-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/side-channel": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
- "dependencies": {
- "es-errors": "^1.3.0",
- "object-inspect": "^1.13.3",
- "side-channel-list": "^1.0.0",
- "side-channel-map": "^1.0.1",
- "side-channel-weakmap": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel-list": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
- "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
- "dependencies": {
- "es-errors": "^1.3.0",
- "object-inspect": "^1.13.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel-map": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
- "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
- "dependencies": {
- "call-bound": "^1.0.2",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.5",
- "object-inspect": "^1.13.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel-weakmap": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
- "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
- "dependencies": {
- "call-bound": "^1.0.2",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.5",
- "object-inspect": "^1.13.3",
- "side-channel-map": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/signal-exit": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
- "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/sortablejs": {
- "version": "1.15.6",
- "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.6.tgz",
- "integrity": "sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A=="
- },
- "node_modules/source-map-js": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/stable-hash": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz",
- "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==",
- "dev": true
- },
- "node_modules/stop-iteration-iterator": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",
- "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==",
- "dev": true,
- "dependencies": {
- "es-errors": "^1.3.0",
- "internal-slot": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/streamsearch": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
- "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==",
- "engines": {
- "node": ">=10.0.0"
- }
- },
- "node_modules/string-convert": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz",
- "integrity": "sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A=="
- },
- "node_modules/string-width": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
- "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
- "dependencies": {
- "eastasianwidth": "^0.2.0",
- "emoji-regex": "^9.2.2",
- "strip-ansi": "^7.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/string-width-cjs": {
- "name": "string-width",
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- }
- },
- "node_modules/string-width-cjs/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/string-width-cjs/node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
- },
- "node_modules/string-width-cjs/node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/string.prototype.includes": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz",
- "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.3"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/string.prototype.matchall": {
- "version": "4.0.12",
- "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz",
- "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.3",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.6",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0",
- "get-intrinsic": "^1.2.6",
- "gopd": "^1.2.0",
- "has-symbols": "^1.1.0",
- "internal-slot": "^1.1.0",
- "regexp.prototype.flags": "^1.5.3",
- "set-function-name": "^2.0.2",
- "side-channel": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.repeat": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",
- "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",
- "dev": true,
- "dependencies": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
- }
- },
- "node_modules/string.prototype.trim": {
- "version": "1.2.10",
- "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz",
- "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.2",
- "define-data-property": "^1.1.4",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.5",
- "es-object-atoms": "^1.0.0",
- "has-property-descriptors": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.trimend": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz",
- "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.2",
- "define-properties": "^1.2.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.trimstart": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz",
- "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/strings-file": {
- "version": "0.0.5",
- "resolved": "https://registry.npmjs.org/strings-file/-/strings-file-0.0.5.tgz",
- "integrity": "sha512-4/Fc8WshjKl/6MctVvdcdH3pQpbSP3J481hMUo9qMSpEK+piDYKYg8oSTGGKFMt2AyeZCQCnGF1uMq3i/xg/wQ==",
- "dev": true,
- "dependencies": {
- "iconv-lite": "^0.4.13"
- }
- },
- "node_modules/strings-file/node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dev": true,
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-ansi": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
- "dependencies": {
- "ansi-regex": "^6.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
- }
- },
- "node_modules/strip-ansi-cjs": {
- "name": "strip-ansi",
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- }
- },
- "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/strip-bom": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
- "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/strip-json-comments": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/styled-jsx": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz",
- "integrity": "sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==",
- "dependencies": {
- "client-only": "0.0.1"
- },
- "engines": {
- "node": ">= 12.0.0"
- },
- "peerDependencies": {
- "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0"
- },
- "peerDependenciesMeta": {
- "@babel/core": {
- "optional": true
- },
- "babel-plugin-macros": {
- "optional": true
- }
- }
- },
- "node_modules/stylis": {
- "version": "4.3.6",
- "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.6.tgz",
- "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ=="
- },
- "node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/swiper": {
- "version": "11.2.10",
- "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.2.10.tgz",
- "integrity": "sha512-RMeVUUjTQH+6N3ckimK93oxz6Sn5la4aDlgPzB+rBrG/smPdCTicXyhxa+woIpopz+jewEloiEE3lKo1h9w2YQ==",
- "funding": [
- {
- "type": "patreon",
- "url": "https://www.patreon.com/swiperjs"
- },
- {
- "type": "open_collective",
- "url": "http://opencollective.com/swiper"
- }
- ],
- "engines": {
- "node": ">= 4.7.0"
- }
- },
- "node_modules/synckit": {
- "version": "0.11.11",
- "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.11.tgz",
- "integrity": "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==",
- "dev": true,
- "dependencies": {
- "@pkgr/core": "^0.2.9"
- },
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/synckit"
- }
- },
- "node_modules/throttle-debounce": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.2.tgz",
- "integrity": "sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==",
- "engines": {
- "node": ">=12.22"
- }
- },
- "node_modules/tiny-invariant": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz",
- "integrity": "sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg=="
- },
- "node_modules/tinyglobby": {
- "version": "0.2.14",
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
- "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
- "dev": true,
- "dependencies": {
- "fdir": "^6.4.4",
- "picomatch": "^4.0.2"
- },
- "engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/SuperchupuDev"
- }
- },
- "node_modules/tmexchange": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/tmexchange/-/tmexchange-2.0.5.tgz",
- "integrity": "sha512-fJQcBIY/ebEYDagOA0IY2PKYs2OJtBo0UGO+O2huyTkL9h+1Fg75DKw0JHkzXA1C56ejQdLW7S9YS/IL9rOpmQ==",
- "dev": true,
- "dependencies": {
- "xml2js": "0.5.0"
- }
- },
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/toggle-selection": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
- "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ=="
- },
- "node_modules/tr46": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
- "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
- "dev": true
- },
- "node_modules/ts-api-utils": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
- "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
- "dev": true,
- "engines": {
- "node": ">=18.12"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4"
- }
- },
- "node_modules/tsconfig-paths": {
- "version": "3.15.0",
- "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
- "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",
- "dev": true,
- "dependencies": {
- "@types/json5": "^0.0.29",
- "json5": "^1.0.2",
- "minimist": "^1.2.6",
- "strip-bom": "^3.0.0"
- }
- },
- "node_modules/tslib": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="
- },
- "node_modules/type-check": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
- "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
- "dependencies": {
- "prelude-ls": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/typed-array-buffer": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",
- "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "es-errors": "^1.3.0",
- "is-typed-array": "^1.1.14"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/typed-array-byte-length": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz",
- "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.8",
- "for-each": "^0.3.3",
- "gopd": "^1.2.0",
- "has-proto": "^1.2.0",
- "is-typed-array": "^1.1.14"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/typed-array-byte-offset": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz",
- "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==",
- "dev": true,
- "dependencies": {
- "available-typed-arrays": "^1.0.7",
- "call-bind": "^1.0.8",
- "for-each": "^0.3.3",
- "gopd": "^1.2.0",
- "has-proto": "^1.2.0",
- "is-typed-array": "^1.1.15",
- "reflect.getprototypeof": "^1.0.9"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/typed-array-length": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz",
- "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "for-each": "^0.3.3",
- "gopd": "^1.0.1",
- "is-typed-array": "^1.1.13",
- "possible-typed-array-names": "^1.0.0",
- "reflect.getprototypeof": "^1.0.6"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/typescript": {
- "version": "5.9.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
- "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
- "devOptional": true,
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=14.17"
- }
- },
- "node_modules/unbox-primitive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz",
- "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.3",
- "has-bigints": "^1.0.2",
- "has-symbols": "^1.1.0",
- "which-boxed-primitive": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/undici-types": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
- "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
- "devOptional": true
- },
- "node_modules/unrs-resolver": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.11.1.tgz",
- "integrity": "sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "napi-postinstall": "^0.3.0"
- },
- "funding": {
- "url": "https://opencollective.com/unrs-resolver"
- },
- "optionalDependencies": {
- "@unrs/resolver-binding-android-arm-eabi": "1.11.1",
- "@unrs/resolver-binding-android-arm64": "1.11.1",
- "@unrs/resolver-binding-darwin-arm64": "1.11.1",
- "@unrs/resolver-binding-darwin-x64": "1.11.1",
- "@unrs/resolver-binding-freebsd-x64": "1.11.1",
- "@unrs/resolver-binding-linux-arm-gnueabihf": "1.11.1",
- "@unrs/resolver-binding-linux-arm-musleabihf": "1.11.1",
- "@unrs/resolver-binding-linux-arm64-gnu": "1.11.1",
- "@unrs/resolver-binding-linux-arm64-musl": "1.11.1",
- "@unrs/resolver-binding-linux-ppc64-gnu": "1.11.1",
- "@unrs/resolver-binding-linux-riscv64-gnu": "1.11.1",
- "@unrs/resolver-binding-linux-riscv64-musl": "1.11.1",
- "@unrs/resolver-binding-linux-s390x-gnu": "1.11.1",
- "@unrs/resolver-binding-linux-x64-gnu": "1.11.1",
- "@unrs/resolver-binding-linux-x64-musl": "1.11.1",
- "@unrs/resolver-binding-wasm32-wasi": "1.11.1",
- "@unrs/resolver-binding-win32-arm64-msvc": "1.11.1",
- "@unrs/resolver-binding-win32-ia32-msvc": "1.11.1",
- "@unrs/resolver-binding-win32-x64-msvc": "1.11.1"
- }
- },
- "node_modules/uri-js": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
- "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/void-elements": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz",
- "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/webidl-conversions": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
- "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
- "dev": true
- },
- "node_modules/whatwg-url": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
- "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
- "dev": true,
- "dependencies": {
- "tr46": "~0.0.3",
- "webidl-conversions": "^3.0.0"
- }
- },
- "node_modules/which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "node-which": "bin/node-which"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/which-boxed-primitive": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz",
- "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",
- "dev": true,
- "dependencies": {
- "is-bigint": "^1.1.0",
- "is-boolean-object": "^1.2.1",
- "is-number-object": "^1.1.1",
- "is-string": "^1.1.1",
- "is-symbol": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/which-builtin-type": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz",
- "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==",
- "dev": true,
- "dependencies": {
- "call-bound": "^1.0.2",
- "function.prototype.name": "^1.1.6",
- "has-tostringtag": "^1.0.2",
- "is-async-function": "^2.0.0",
- "is-date-object": "^1.1.0",
- "is-finalizationregistry": "^1.1.0",
- "is-generator-function": "^1.0.10",
- "is-regex": "^1.2.1",
- "is-weakref": "^1.0.2",
- "isarray": "^2.0.5",
- "which-boxed-primitive": "^1.1.0",
- "which-collection": "^1.0.2",
- "which-typed-array": "^1.1.16"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/which-collection": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",
- "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",
- "dev": true,
- "dependencies": {
- "is-map": "^2.0.3",
- "is-set": "^2.0.3",
- "is-weakmap": "^2.0.2",
- "is-weakset": "^2.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/which-typed-array": {
- "version": "1.1.19",
- "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz",
- "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==",
- "dev": true,
- "dependencies": {
- "available-typed-arrays": "^1.0.7",
- "call-bind": "^1.0.8",
- "call-bound": "^1.0.4",
- "for-each": "^0.3.5",
- "get-proto": "^1.0.1",
- "gopd": "^1.2.0",
- "has-tostringtag": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/word-wrap": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
- "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/wrap-ansi": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
- "dependencies": {
- "ansi-styles": "^6.1.0",
- "string-width": "^5.0.1",
- "strip-ansi": "^7.0.1"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/wrap-ansi-cjs": {
- "name": "wrap-ansi",
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- }
- },
- "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
- },
- "node_modules/wrap-ansi-cjs/node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/xliff": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/xliff/-/xliff-6.2.1.tgz",
- "integrity": "sha512-uLdfmBHCG4ftZdgLHhzP7qFTt8/pOv4Hpr1lWcX0HKLZdvhu5f7zThLlPFHnXH7mHbFT+6LCaf82UB3zbLpweQ==",
- "dev": true,
- "dependencies": {
- "xml-js": "1.6.11"
- }
- },
- "node_modules/xlsx": {
- "version": "0.20.3",
- "resolved": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
- "integrity": "sha512-oLDq3jw7AcLqKWH2AhCpVTZl8mf6X2YReP+Neh0SJUzV/BdZYjth94tG5toiMB1PPrYtxOCfaoUCkvtuH+3AJA==",
- "dev": true
- },
- "node_modules/xml-js": {
- "version": "1.6.11",
- "resolved": "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz",
- "integrity": "sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==",
- "dev": true,
- "dependencies": {
- "sax": "^1.2.4"
- },
- "bin": {
- "xml-js": "bin/cli.js"
- }
- },
- "node_modules/xml2js": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz",
- "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==",
- "dev": true,
- "dependencies": {
- "sax": ">=0.6.0",
- "xmlbuilder": "~11.0.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/xmlbuilder": {
- "version": "11.0.1",
- "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
- "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
- "dev": true,
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/yaml": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz",
- "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==",
- "dev": true,
- "bin": {
- "yaml": "bin.mjs"
- },
- "engines": {
- "node": ">= 14.6"
- }
- },
- "node_modules/yocto-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/zustand": {
- "version": "5.0.7",
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.7.tgz",
- "integrity": "sha512-Ot6uqHDW/O2VdYsKLLU8GQu8sCOM1LcoE8RwvLv9uuRT9s6SOHCKs0ZEOhxg+I1Ld+A1Q5lwx+UlKXXUoCZITg==",
- "engines": {
- "node": ">=12.20.0"
- },
- "peerDependencies": {
- "@types/react": ">=18.0.0",
- "immer": ">=9.0.6",
- "react": ">=18.0.0",
- "use-sync-external-store": ">=1.2.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "immer": {
- "optional": true
- },
- "react": {
- "optional": true
- },
- "use-sync-external-store": {
- "optional": true
- }
- }
- }
- }
-}
diff --git a/aitoearn_web/aitoearn-web/package.json b/aitoearn_web/aitoearn-web/package.json
index b044656e..3e34e53f 100644
--- a/aitoearn_web/aitoearn-web/package.json
+++ b/aitoearn_web/aitoearn-web/package.json
@@ -25,6 +25,7 @@
"@fullcalendar/react": "^6.1.17",
"@kwooshung/react-no-ssr": "^1.1.4",
"@react-oauth/google": "^0.12.2",
+ "@svgr/webpack": "^6.5.1",
"@szhsin/react-menu": "^4.4.1",
"@types/blueimp-md5": "^2.18.2",
"accept-language": "3.0.20",
@@ -35,6 +36,7 @@
"cropperjs": "^1.6.2",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
+ "echarts": "^6.0.0",
"glob": "^11.0.3",
"i18next": "24.2.3",
"i18next-browser-languagedetector": "8.0.4",
@@ -50,6 +52,8 @@
"react-dom": "^18",
"react-i18next": "15.4.1",
"react-icons": "^5.5.0",
+ "react-infinite-scroll-component": "^6.1.0",
+ "react-qrcode-logo": "^4.0.0",
"react-sortablejs": "^6.1.4",
"react-transition-group": "^4.4.5",
"sass": "^1.59.2",
@@ -59,7 +63,9 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3",
+ "@next/eslint-plugin-next": "^15.5.3",
"@types/crypto-js": "^4.2.2",
+ "@types/echarts": "^5.0.0",
"@types/lodash": "^4.17.17",
"@types/node": "^20",
"@types/qs": "^6.14.0",
@@ -73,7 +79,9 @@
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.37.4",
+ "eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-unused-imports": "^4.1.4",
+ "file-loader": "^6.2.0",
"i18next-resources-for-ts": "1.5.0",
"locize-cli": "9.0.1",
"prettier": "^3.0.2",
diff --git a/aitoearn_web/aitoearn-web/pnpm-lock.yaml b/aitoearn_web/aitoearn-web/pnpm-lock.yaml
index 687befa7..4cc70351 100644
--- a/aitoearn_web/aitoearn-web/pnpm-lock.yaml
+++ b/aitoearn_web/aitoearn-web/pnpm-lock.yaml
@@ -16,7 +16,7 @@ importers:
'@ant-design/nextjs-registry':
specifier: ^1.0.2
'@fullcalendar/core':
specifier: ^6.1.17
version: 6.1.17
@@ -32,6 +32,9 @@ importers:
'@react-oauth/google':
specifier: ^0.12.2
+ '@svgr/webpack':
+ specifier: ^6.5.1
+ version: 6.5.1
'@szhsin/react-menu':
specifier: ^4.4.1
@@ -62,6 +65,9 @@ importers:
dayjs:
specifier: ^1.11.13
version: 1.11.13
+ echarts:
+ specifier: ^6.0.0
+ version: 6.0.0
glob:
specifier: ^11.0.3
version: 11.0.3
@@ -82,10 +88,10 @@ importers:
version: 4.17.21
next:
specifier: 14.2.29
next-sitemap:
specifier: ^4.2.3
qs:
specifier: ^6.14.0
version: 6.14.0
@@ -107,6 +113,12 @@ importers:
react-icons:
specifier: ^5.5.0
version: 5.5.0([email protected])
+ react-infinite-scroll-component:
+ specifier: ^6.1.0
+ version: 6.1.0([email protected])
+ react-qrcode-logo:
+ specifier: ^4.0.0
react-sortablejs:
specifier: ^6.1.4
@@ -129,9 +141,15 @@ importers:
'@eslint/eslintrc':
specifier: ^3
version: 3.3.1
+ '@next/eslint-plugin-next':
+ specifier: ^15.5.3
+ version: 15.5.3
'@types/crypto-js':
specifier: ^4.2.2
version: 4.2.2
+ '@types/echarts':
+ specifier: ^5.0.0
+ version: 5.0.0
'@types/lodash':
specifier: ^4.17.17
version: 4.17.17
@@ -167,13 +185,19 @@ importers:
version: 8.10.0([email protected])
eslint-plugin-prettier:
specifier: ^5.1.3
eslint-plugin-react:
specifier: ^7.37.4
version: 7.37.5([email protected])
+ eslint-plugin-react-hooks:
+ specifier: ^5.2.0
+ version: 5.2.0([email protected])
eslint-plugin-unused-imports:
specifier: ^4.1.4
+ file-loader:
+ specifier: ^6.2.0
+ version: 6.2.0([email protected])
i18next-resources-for-ts:
specifier: 1.5.0
version: 1.5.0
@@ -246,2586 +270,4424 @@ packages:
peerDependencies:
react: '>=16.9.0'
- '@babel/[email protected]':
- resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
engines: {node: '>=6.9.0'}
- '@corex/[email protected]':
- resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==}
-
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YsmSKC29MJwf0gF8Rjjrg5LQCmyh+j/nD8/eP7f+BeoQTKYqs9RoWbjGOdy0+1Ekr68RJZMUOPVQaQisnIo4Rw==}
+ engines: {node: '>=6.9.0'}
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==}
+ engines: {node: '>=6.9.0'}
- '@emnapi/[email protected]':
- resolution: {integrity: sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}
+ engines: {node: '>=6.9.0'}
- '@emotion/[email protected]':
- resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}
+ engines: {node: '>=6.9.0'}
- '@emotion/[email protected]':
- resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==}
+ engines: {node: '>=6.9.0'}
- '@eslint-community/[email protected]':
- resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-V9f6ZFIYSLNEbuGA/92uOvYsGCJNsuA8ESZ4ldc09bWk/j8H8TKiPw8Mk1eG6olpnO0ALHJmYfZvF4MEE4gajg==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
-
- '@eslint-community/[email protected]':
- resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
- engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
-
- '@eslint/[email protected]':
- resolution: {integrity: sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/core': ^7.0.0
- '@eslint/[email protected]':
- resolution: {integrity: sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uVDC72XVf8UbrH5qQTc18Agb8emwjTiZrQE11Nv3CuBEZmVvTwwE9CBUEvHku06gQCAyYf8Nv6ja1IN+6LMbxQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@eslint/[email protected]':
- resolution: {integrity: sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
- '@eslint/[email protected]':
- resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
+ engines: {node: '>=6.9.0'}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-E5chM8eWjTp/aNoVpcbfM7mLxu9XGLWYise2eBKGQomAk/Mb4XoxyqXTZbuTohbsl8EKqdlMhnDI2CCLfcs9wA==}
+ engines: {node: '>=6.9.0'}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}
+ engines: {node: '>=6.9.0'}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@fluent/[email protected]':
- resolution: {integrity: sha512-5D2qVpZrgpjtqU4eNOcWGp1gnUCgjfM+vKGE2y03kKN6z5EBhtx0qdRFbg8QuNNj8wXNoX93KJoYb+NqoxswmQ==}
- engines: {node: '>=14.0.0', npm: '>=7.0.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}
+ engines: {node: '>=6.9.0'}
- '@fullcalendar/[email protected]':
- resolution: {integrity: sha512-0W7lnIrv18ruJ5zeWBeNZXO8qCWlzxDdp9COFEsZnyNjiEhUVnrW/dPbjRKYpL0edGG0/Lhs0ghp1z/5ekt8ZA==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==}
+ engines: {node: '>=6.9.0'}
- '@fullcalendar/[email protected]':
- resolution: {integrity: sha512-K7m+pd7oVJ9fW4h7CLDdDGJbc9szJ1xDU1DZ2ag+7oOo1aCNLv44CehzkkknM6r8EYlOOhgaelxQpKAI4glj7A==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- '@fullcalendar/core': ~6.1.17
+ '@babel/core': ^7.0.0
- '@fullcalendar/[email protected]':
- resolution: {integrity: sha512-AA8soHhlfRH5dUeqHnfAtzDiXa2vrgWocJSK/F5qzw/pOxc9MqpuoS/nQBROWtHHg6yQUg3DoGqOOhi7dmylXQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- '@fullcalendar/core': ~6.1.17
- react: ^16.7.0 || ^17 || ^18 || ^19
- react-dom: ^16.7.0 || ^17 || ^18 || ^19
+ '@babel/core': ^7.0.0
- '@humanfs/[email protected]':
- resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
- engines: {node: '>=18.18.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}
+ engines: {node: '>=6.9.0'}
- '@humanfs/[email protected]':
- resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==}
- engines: {node: '>=18.18.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
+ engines: {node: '>=6.9.0'}
- '@humanwhocodes/[email protected]':
- resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
- engines: {node: '>=12.22'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
+ engines: {node: '>=6.9.0'}
- '@humanwhocodes/[email protected]':
- resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==}
- engines: {node: '>=18.18'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
+ engines: {node: '>=6.9.0'}
- '@humanwhocodes/[email protected]':
- resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
- engines: {node: '>=18.18'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-zdf983tNfLZFletc0RRXYrHrucBEg95NIFMkn6K9dbeMYnsgHaSBGcQqdsCSStG2PYwRre0Qc2NNSCXbG+xc6g==}
+ engines: {node: '>=6.9.0'}
- '@isaacs/[email protected]':
- resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}
- engines: {node: 20 || >=22}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==}
+ engines: {node: '>=6.9.0'}
- '@isaacs/[email protected]':
- resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==}
- engines: {node: 20 || >=22}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
- '@isaacs/[email protected]':
- resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
- engines: {node: '>=12'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-QPG3C9cCVRQLxAVwmefEmwdTanECuUBMQZ/ym5kiw3XKCGA7qkuQLcjWWHcrD/GKbn/WmJwaezfuuAOcyKlRPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@js.properties/[email protected]':
- resolution: {integrity: sha512-4M/Mb2CxzuI1CtQhVFs6OC9ceuGPAP6SOWnpLcrdB1TcUHroXbsYDVJNOm32koRMfuCoRACbojcm4dPPcQxu0w==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qNeq3bCKnGgLkEXUuFry6dPlGfCdQNZbn7yUAPCInwAJHMU7THJfrBSozkcWq5sNM6RcF3S8XyQL2A52KNR9IA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@kwooshung/[email protected]':
- resolution: {integrity: sha512-15hA3W5AF/qvhfyTFpMbyzET3lFAXvFsP3U+dEUCQ5+T0iRucddKuGpEsBEsd/74RXgvag8kCqi+WAfkjVMbSQ==}
+ '@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:
- react: '>=16.6.0'
- react-dom: '>=16.6.0'
+ '@babel/core': ^7.0.0
- '@napi-rs/[email protected]':
- resolution: {integrity: sha512-bCsCyeZEwVErsGmyPNSzwfwFn4OdxBj0mmv6hOFucB/k81Ojdu68RbZdxYsRQUPc9l6SU5F/cG+bXgWs3oUgsQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oO02gcONcD5O1iTLi/6frMJBIwWEHceWGSGqrpCmEL8nogiS6J9PBlE48CaK20/Jx1LuRml9aDftLgdjXT8+Cw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.13.0
- resolution: {integrity: sha512-fbb2C7HChgM7CemdCY+y3N1n8pcTKdqtQLbC7/EQtPdLvlMUT9JX/dBYl8MMZAtYG4uVMyPFHXckb68q/NRwqg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-b6YTX108evsvE4YgWyQ921ZAFFQm3Bn+CA3+ZXlNVnPhx+UfsVURoPjfGAPCjBgrqo30yX/C2nZGX96DxvR9Iw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- resolution: {integrity: sha512-UzgLR2eBfhKIQt0aJ7PWH7XRPYw7SXz0Fpzdl5THjUnvxy4kfBk9OU4RNPNiETewEEtaBcExNFNn1QWH8wQTjg==}
+ '@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
- resolution: {integrity: sha512-ijVRTXBgnHT33aWnDtmlG+LJD+5vhc9AKTJPquGG5NKXjpKNjc62woIhFtrAcWdBobt8kqjCoaJ0q6sDQoX7aQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-UT/Jrhw57xg4ILHLFnzFpPDlMbcdEicaAtjPQpbj9wa8T4r5KVWCimHcL/460g8Ht0DMxDyjsLgiWSkVjnwPFg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-wWtrAaxCVMejxPHFb1SK/PVV1WDIrXGs9ki0C/kUM8ubKHQm+3hU9MouUywCw8Wbhj3pewfHT2wjunLEr/TaLA==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [darwin]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-7Z/jk+6EVBj4pNLw/JQrvZVrAh9Bv8q81zCFSfvTMZ51WySyEHWVpwCEaJY910LyBftv2F37kuDPQm0w9CEXyg==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [darwin]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-o6hrz5xRBwi+G7JFTHc+RUsXo2lVXEfwh4/qsuWBMQq6aut+0w98WEnoNwAwt7hkEqegzvazf81dNiwo7KjITw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-9i+JEHBOVgqxQ92HHRFlSW1EQXqa/89IVjtHgOqsShCcB/ZBjTtkWGi+SGCJaYyWkr/lzu51NTMCfKuBf7ULNw==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [linux]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- resolution: {integrity: sha512-B7JtMbkUwHijrGBOhgSQu2ncbCYq9E7PZ7MX58kxheiEOwdkM+jGx0cBb+rN5AeqF96JypEppK6i/bEL9T13lA==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-8Z4TGic6xW70FKThA5HYEKKyBpOOsucTOD1DjU3fZxDg+K3zBJcXMFnt/4yQiZnf5+MiOMSXQ9PaEK/Ilh1DeA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-yCcZo1OrO3aQ38B5zctqKU1Z3klOohIxug6qdiKO3Q3qNye/1n6XIs01YJ+Uf+TdpZQ0fNrOQI2HrTLF3Zprnw==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [linux]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BEOdvX4+M765icNPZeidyADIvQ1m1gmunXufXxvRESy/jNNyfovIqUyE7MVgGBjWktCoJlzvFA1To2O4ymIO3Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-WnrfeOEtTVidI9Z6jDLy+gxrpDcEJtZva54LYC0bSKQqmyuHzl0ego+v0F/v2aXq0am67BRqo/ybmmt45Tzo4A==}
- engines: {node: '>= 10'}
- cpu: [arm64]
- os: [win32]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-NREkZsZVJS4xmTr8qzE5y8AfIPqsdQfRuUiLRTEzb7Qii8iFWCyDKaUV2c0rCuh4ljDZ98ALHP/PetiBV2nddA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-vkcriFROT4wsTdSeIzbxaZjTNTFKjSYmLd8q/GVH3Dn8JmYjUKOuKXHK8n+lovW/kdcpIvydO5GtN+It2CvKWA==}
- engines: {node: '>= 10'}
- cpu: [ia32]
- os: [win32]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cnqkuOtZLapWYZUYM5rVIdv1nXYuFVIltZ6ZJ7nIj585QsjKM5dhL2Fu/lICXZ1OyIAFc7Qy+bvDAtTXqGrlhg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-iPPwUEKnVs7pwR0EBLJlwxLD7TTHWS/AoVZx1l9ZQzfQciqaFEr5AlYzA2uB6Fyby1IF18t4PL0nTpB+k4Tzlw==}
- engines: {node: '>= 10'}
- cpu: [x64]
- os: [win32]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1yxmvN0MJHOhPVmAsmoW5liWwoILobu/d/ShymZmj867bAdxGbehIrew1DuLpw2Ukv+qDSSPQdYW1dLNE7t11A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@nodelib/[email protected]':
- resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
- engines: {node: '>= 8'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D0VcalChDMtuRvJIu3U/fwWjf8ZMykz5iZsg77Nuj821vCKI3zCyRLwRdWbsuJ/uRwZhZ002QtCqIkwC/ZkvbA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@nodelib/[email protected]':
- resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
- engines: {node: '>= 8'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-LtPXlBbRoc4Njl/oh1CeD/3jC+atytbnf/UqLoqTDcEYGUPj022+rvfkbDYieUrSj3CaV4yHDByPE+T2HwfsJg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.12.0
- '@nodelib/[email protected]':
- resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
- engines: {node: '>= 8'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cFOlhIYPBv/iBoc+KS3M6et2XPtbT2HiCRfBXWtfpc9OAyostldxIf9YAYB6ypURBBbx+Qv6nyrLzASfJe+hBA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@nolyfill/[email protected]':
- resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==}
- engines: {node: '>=12.4.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lj9PGWvMTVksbWiDT2tW68zGS/cyo4AkZ/QTp0sQT0mjPopCmrSkzxeXkznjqBxzDI6TclZhOJbBmbBLjuOZUw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [android]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-v1nrSMBiKcodhsyJ4Gf+Z0U/yawmJDBOTpEB3mcQY52r9RIyPneGyAS/yM6seP/8I+mWI3elOMtT5dB8GJVs+A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [darwin]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-gEbkDVGRvjj7+T1ivxrfgygpT7GUd4vmODtYpbs0gZATdkX8/iSnOtZSxiZnsgm1YjTgjI6VKBGSJJevkrclzw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [darwin]
+ '@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
- '@parcel/[email protected]':
- resolution: {integrity: sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [freebsd]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hkGcueTEzuhB30B3eJCbCYeCaaEQOmQR0AdvzpD4LoN0GXMWzzGSuRrxR2xTnCrvNbVwK9N6/jQ92GSLfiZWoQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm]
- os: [linux]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-MHzkWQcEmjzzVW9j2q8LGjwGWpG2mjwaaB0BNQwst3FIjqsg8Ct/mIZlvSPJvfi9y2AC8mi/ktxbFVL9pZ1I4A==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm]
- os: [linux]
-
- '@parcel/[email protected]':
- resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [linux]
-
- '@parcel/[email protected]':
- resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [linux]
-
- '@parcel/[email protected]':
- resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [linux]
-
- '@parcel/[email protected]':
- resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [linux]
-
- '@parcel/[email protected]':
- resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
- engines: {node: '>= 10.0.0'}
- cpu: [arm64]
- os: [win32]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-K8nhUcn3f6iB+P3gwCv/no7OdzOZQcKchW6N389V6PD8NUWKZHzndOd9sPDVbMoBsbmjMqlB4L9fm+fEFNVlwQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==}
- engines: {node: '>= 10.0.0'}
- cpu: [ia32]
- os: [win32]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uspvXnhHvGKf2r4VVtBpeFnuDWsJLQ6MF6lGJLC89jBR1uoVeqM416AZtTuhTezOfgHicpJQmoD5YUakO/YmXQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@parcel/[email protected]':
- resolution: {integrity: sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==}
- engines: {node: '>= 10.0.0'}
- cpu: [x64]
- os: [win32]
+ '@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
- '@parcel/[email protected]':
- resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
- engines: {node: '>= 10.0.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BfbWFFEJFQzLCQ5N8VocnCtA8J1CLkNTe2Ms2wocj75dd6VpiqS5Z5quTYcUoo4Yq+DN0rtikODccuv7RU81sw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-YLT9Zo3oNPJoBjBc4q8G2mjU4tqIbf5CEOORbUUr48dCD9q3umJ3IPlVqOqDakPfd2HuwccBaqlGhN4Gmr5OWg==}
- engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1bQeydJF9Nr1eBCMMbC+hdwmRlsv5XYOMu03YSWFwNs0HsAmtSxxF1fyuYPqemVldVyFmlCU7w8UE14LupUSZQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==}
- engines: {node: '>=14.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-6WVLVJiTjqcQauBhn1LkICsR2H+zm62I3h9faTDKt1qP4jn2o72tSvqMwtGFKGTpojce0gJs+76eZ2uCHRZh0Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0HCFSepIpLTkLcsi86GG3mTUzxV5jpmbv97hTETW3yzrAij8aqlD36toB1D0daVFJM8NK6GvKO0gslVQmm+zZA==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SJvDs5dXxiae4FbSL1aBJlG4wvl594N6YEVVn9e3JGulwioy6z3oPjx/sQBO3Y4NwUu5HNix6KJ3wBZoewcdbw==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==}
- engines: {node: '>=8.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-hqoBX4dcZ1I33jCSWcXrP+1Ku7kdqXf1oeah7ooKOIiAdKQ+uqftgCFNOSzA5AMS2XIHEYeGFg4cKRCdpxzVOQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==}
- engines: {node: '>=8.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iCsytMg/N9/oFq6n+gFTvUYDZQOMK5kEdeYxmxt91fcJGycfxVP9CnrxoliM0oumFERba2i8ZtwRUCMhvP1LnA==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==}
- engines: {node: '>=8.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==}
- engines: {node: '>=8.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-w5N1XzsRbc0PQStASMksmUeqECuzKuTJer7kFagK8AXgpCMkeDMO5S+aaFb7A51ZYDF7XI34qsTX+fkHiIm5yA==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==}
- engines: {node: '>=8.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-iQBE/xC5BV1OxJbp6WG7jq9IWiD+xxlZhLrdwpPkTX3ydmXdvoCpyfJN7acaIBZaOqTfr76pgzqBJflNbeRK+w==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0-0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-/9zuTnWwhQ3S3WT1T8BubuFTT46kvnXgaERR9f4BTKyn61/wpf/BvbImzYBubzJibU707FxwbKszLlHjcLiv1Q==}
- engines: {node: '>=8.x'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SstR5JYy8ddZvD6MhV0tM/j16Qds4mIpJTOd1Yu9J9pJjH93bxHECF7pgtc28XvkzTD6Pxcm/0Z73Hvk7kb3Ng==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': ^7.0.0
- '@rc-component/[email protected]':
- resolution: {integrity: sha512-AUVu6jO+lWjQnUOOECwu8iR0EdElQgWW5NBv5vP/Uf9dWbAX3udhMutRlkVXjuac2E40ghkFy+ve00mc/3Fymg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-f6PiYeqXQ05lYq3TIfIDu/MtliKUbNwkGApPUvyo6+tc7uaR4cPjPe7DFPr15Uyycg2lZU6btZ575CuQoYh7MQ==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=18.0.0'
- react-dom: '>=18.0.0'
+ '@babel/core': ^7.0.0-0
- '@react-dnd/[email protected]':
- resolution: {integrity: sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-aGZh6xMo6q9vq1JGcw58lZ1Z0+i0xB2x0XaauNIUXd6O1xXc3RwoWEBlsTQrY4KQ9Jf0s5rgD6SiNkaUdJegTA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@react-dnd/[email protected]':
- resolution: {integrity: sha512-xKCTqAK/FFauOM9Ta2pswIyT3D8AQlfrYdOi/toTPEhqCuAs1v5tcJ3Y08Izh1cJ5Jchwy9SeAXmMg6zrKs2iw==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fdPKAcujuvEChxDBJ5c+0BTaS6revLV7CJL08e4m3de8qJfNIuCc2nc7XJYOjBoTMJeqSmwXJ0ypE14RCjLwaw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@react-dnd/[email protected]':
- resolution: {integrity: sha512-/RVXdLvJxLg4QKvMoM5WlwNR9ViO9z8B/qPcc+C0Sa/teJY7QG7kJ441DwzOjMYEY7GmU4dj5EcGHIkKZiQZCA==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-373KA2HQzKhQCYiRVIRr+3MjpCObqzDlyrM6u4I201wL8Mp2wHf7uB8GhDwis03k2ti8Zr65Zyyqs1xOxUF/Ew==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@react-oauth/[email protected]':
- resolution: {integrity: sha512-d1GVm2uD4E44EJft2RbKtp8Z1fp/gK8Lb6KHgs3pHlM0PxCXGLaq8LLYQYENnN4xPWO1gkL4apBtlPKzpLvZwg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-SFy8S9plRPbIcxlJ8A6mT/CxFdJx/c04JEctz4jf8YZaVS2px34j7NXRrlGlHkN/M2gnpL37ZpGRGVFLd3l8Ng==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.8.0'
- react-dom: '>=16.8.0'
+ '@babel/core': ^7.0.0-0
- '@rtsao/[email protected]':
- resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-txEAEKzYrHEX4xSZN4kJ+OfKXFVSWKB2ZxM9dpcE3wT7smwkNmXo5ORRlVzMVdJbD+Q8ILTgSD7959uj+3Dm3Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@rushstack/[email protected]':
- resolution: {integrity: sha512-zxnHvoMQVqewTJr/W4pKjF0bMGiKJv1WX7bSrkl46Hg0QjESbzBROWK0Wg4RphzSOS5Jiy7eFimmM3UgMrMZbQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-BQmKPPIuc8EkZgNKsv0X4bPmOoayeu4F1YCwx2/CfmDSXDbp7GnzlUH+/ul5VGfRg1AoFPsrIThlEBj2xb4CAg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-10FVt+X55AjRAYI9BrdISN9/AQWHqldOeZDUoLyif1Kn05a56xVBXb8ZouL8pZ9jem8QpXaOt8TS7RHUIS+GPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@szhsin/[email protected]':
- resolution: {integrity: sha512-a5uBCrYPpxiEwp839+cfEiaZh2LKqn9v7VUyBRjHWNjKbhVbSaI1Kyh5G3rIeHBxpbrhSYBmD5KJ5jgzhC2ECw==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-5J+IhqTi1XPa0DXF83jYOaARrX+41gOewWbkPyjMNRDqgOCqdffGh8L3f/Ek5utaEBZExjSAzcyjmV9SSAWObQ==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- react: '>=16.14.0'
- react-dom: '>=16.14.0'
+ '@babel/core': ^7.0.0-0
- '@tybys/[email protected]':
- resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oThy3BCuCha8kDZ8ZkgOg2exvPYUlprMukKQXI1r1pJ47NCvxfkEy8vK+r/hT9nF0Aa4H1WUPZZjHTFtAhGfmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-dJ9yRry9Olt5GAWlgCtE5dK9d/Dfhn/V7hna86eEO2Pn76+E8Y0S0n61iEUEGhWXXgtKtHxtZLVNwL8X+vLHzg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-edoidOjl/ZxvYo4lSBOQGDSyToYVkTAwyVoa2tkuYTSmjrB1+uAedoL5iROVLXkxH+vRgA7uP4tMg2pUJpZ3Ug==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D6Eujc2zMxKjfa4Zxl4GHMsmhKKZ9VpcqIchJLvwTxad9zWIYulwYItBovpDOoNLISpcZSXoDJ5gaGbQUDqViA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ykDdF5yI4f1WrAolLqeF3hmYU12j9ntLQl/AOG1HAS21jxyg1Q0/J/tpREuYLfatGdGmXp/3yS0ZA76kOlVq9Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2KH4LWGSrJIkVf5tSiBFYuXDAoWRq2MMwgivCf+93dd0GQi8RXLjKA/0EvRnVV5G0hrHczsquXuD01L8s6dmBw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-JfuinvDOsD9FVMTHpzA/pBLisxpv1aSf+OIV8lgH3MuWrks19R27e6a6DipIg4aX1Zm9Wpb04p8wljfKrVSnPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+ZEdQlBoRg9m2NnzvEeLgtvBMO4tkFBw5SQIUgLICgTrumLoU7lr+Oghi6km2PFj+dbUt2u1oby2w3BDO9YQnA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-RRVJ+J3J+WmyOTqnz3PiBLA501eKwXl2noseKOrNo/6+XEHjTAxO4xHvxQB6QuNm+s4WRbn6rSiap8+EA+ykFQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-TtEciroaiODtXvLZv4rmfMhkCv8jx3wgKpL68PuiPh2M4fvz5jhsA7697N1gMvkvr/JTF13DrFYyEbY9U7cVPA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@types/[email protected]':
- resolution: {integrity: sha512-hfrc+1tud1xcdVTABC2JiomZJEklMcXYNTVtZLAeqTVWD+qL5jkHKT+1lOtqDdGxt+mB53DTtiz673vfjU8D1Q==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-V2ABPHIJX4kC7HegLkYoDpfg9PVmuWy/i6vUM5eGK22bx4YVFD3M5F0QQnWQoDs6AGsUWTVOopBiMFQgHaSkVw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N/wH1vcn4oYawbJ13Y/FxcQrWk63jhfNa7jef0ih7PHSIHX2LB7GWE1rkPrOnka9kwMxb6hMl19p7lidA+EHmQ==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-kpb3HUqaILBJcRFVhFUs6Trdd4mkrzcGXss+6/mxUd273PfbWqSDHRzMT2234gIg2QYfAjvXLSquP1xECSg09Q==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-lhInBO5bi/Kowe2/aLdBAawijx+q1pQzicSgnkB6dUPc1+RC8QmJHKf2OjvU+NZWitguJHEaEmbV6VWEouT58g==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- '@types/react': ^18.0.0
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-fBJKiV7F2DxZUkg5EtHKXQdbsbURW3DZKQUWphDum0uRP6eHGGa/He9mc0mypL680pb+e/lDIthRohlv8NCHkg==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- '@types/react': '*'
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RiSILC+nRJM7FY5srIyc4/fGIwUhyDuuBSdWn4y6yT6gm652DpCHZjIipgn6B7MQ1ITOUnAKWixEUjQRIBIcLw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@types/[email protected]':
- resolution: {integrity: sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-4AEiDEBPIZvLQaWlc9liCavE0xRM0dNca41WtBeM3jgFptfUOSG9z0uteLhq6+3rq+WB6jIvUwKDTpXEHPJ2Vg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-TDCXj+YxLgtvxvFlAvpoRv9MAncDLBV2oT9Bd7YBGC/b/sEURoOYuIwLI99rjWOfY3QtDzO+mk0n4AmdFExW8A==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Ysg4v6AmF26k9vpfFuTZg8HRfVWzsh1kVfowA23y9j/Gu6dOuahdUVhkLqpObp3JIv27MLSii6noRnuKN8H0Mg==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- '@typescript-eslint/parser': ^8.33.1
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-uW20S39PnaTImxp39O5qFlHLS9LJEmANjMG7SxIhap8rCHqu0Ik+tLEPX5DKmHn6CsWQ7j3lix2tFOa5YtL12Q==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-xvINq24TRojDuyt6JGtHmkVkrfVV3FPT16uytxImLeBZqW3/H52yN+kM1MGuyPkIQxrzKwPHs5U/MP3qKyzkGw==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-EtkOujbc4cgvb0mlpQefi4NTPBzhSIevblFevACNLUspmrALgmEBdL/XfnyyITfd8fKBZrZys92zOWcik7j9Tw==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ROiDcM+GbYVPYBOeCR6uBXKkQpBExLl8k9HO1ygXEyds39j+vCCsjmj7S8GOniZQlEs81QlkdJZe76IpLSiqpg==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-1cG37d9xOkhlykom55WVwG2QRNC7YXlxMaMzqw2uPeJixBFfKWZgaP/hjAObqMN/u3fr5BrTwTnc31/L9jQ2ww==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==}
peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-oJHWh2gLhU9dW9HHr42q0cI0/iHHXTLGe39qvpAZZzagHy0MzYLCnCVV0symeRvzmjHyVU7mw2K06E6u/JwbhA==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==}
+ engines: {node: '>=6.9.0'}
peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/core': ^7.0.0-0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-52HaBiEQUaRYqAXpfzWSR2U3gxk92Kw006+xZpElaPMg3C4PgM+A5LqwoQI1f9E5aZ/qlxAZxzm42WX+vn92SQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==}
+ engines: {node: '>=6.9.0'}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
+ engines: {node: '>=6.9.0'}
- resolution: {integrity: sha512-i3/wlWjQJXMh1uiGtiv7k1EYvrrS3L1hdwmWJJiz1D8jWy726YFYPIxQWbEIVPVAgrfRR0XNlLrTQwq17cuCGw==}
- cpu: [arm64]
- os: [darwin]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==}
+ engines: {node: '>=6.9.0'}
- resolution: {integrity: sha512-8XXyFvc6w6kmMmi6VYchZhjd5CDcp+Lv6Cn1YmUme0ypsZ/0Kzd+9ESrWtDrWibKPTgSteDTxp75cvBOY64FQQ==}
- cpu: [x64]
- os: [darwin]
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}
+ engines: {node: '>=6.9.0'}
- resolution: {integrity: sha512-0qJBYzP8Qk24CZ05RSWDQUjdiQUeIJGfqMMzbtXgCKl/a5xa6thfC0MQkGIr55LCLd6YmMyO640ifYUa53lybQ==}
- cpu: [x64]
- os: [freebsd]
+ '@corex/[email protected]':
+ resolution: {integrity: sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==}
- resolution: {integrity: sha512-1sGwpgvx+WZf0GFT6vkkOm6UJ+mlsVnjw+Yv9esK71idWeRAG3bbpkf3AoY8KIqKqmnzJExi0uKxXpakQ5Pcbg==}
- cpu: [arm]
- os: [linux]
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==}
- resolution: {integrity: sha512-D/1F/2lTe+XAl3ohkYj51NjniVly8sIqkA/n1aOND3ZMO418nl2JNU95iVa1/RtpzaKcWEsNTtHRogykrUflJg==}
- cpu: [arm]
- os: [linux]
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==}
- resolution: {integrity: sha512-7vFWHLCCNFLEQlmwKQfVy066ohLLArZl+AV/AdmrD1/pD1FlmqM+FKbtnONnIwbHtgetFUCV/SRi1q4D49aTlw==}
- cpu: [arm64]
- os: [linux]
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==}
- resolution: {integrity: sha512-tYkGIx8hjWPh4zcn17jLEHU8YMmdP2obRTGkdaB3BguGHh31VCS3ywqC4QjTODjmhhNyZYkj/1Dz/+0kKvg9YA==}
- cpu: [arm64]
- os: [linux]
+ '@emotion/[email protected]':
+ resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==}
- resolution: {integrity: sha512-6F328QIUev29vcZeRX6v6oqKxfUoGwIIAhWGD8wSysnBYFY0nivp25jdWmAb1GildbCCaQvOKEhCok7YfWkj4Q==}
- cpu: [ppc64]
- os: [linux]
+ '@emotion/[email protected]':
+ resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==}
- resolution: {integrity: sha512-NqhWmiGJGdzbZbeucPZIG9Iav4lyYLCarEnxAceguMx9qlpeEF7ENqYKOwB8Zqk7/CeuYMEcLYMaW2li6HyDzQ==}
- cpu: [riscv64]
- os: [linux]
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ peerDependencies:
+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- resolution: {integrity: sha512-J2RPIFKMdTrLtBdfR1cUMKl8Gcy05nlQ+bEs/6al7EdWLk9cs3tnDREHZ7mV9uGbeghpjo4i8neNZNx3PYUY9w==}
- cpu: [riscv64]
- os: [linux]
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- resolution: {integrity: sha512-bDpGRerHvvHdhun7MmFUNDpMiYcJSqWckwAVVRTJf8F+RyqYJOp/mx04PDc7DhpNPeWdnTMu91oZRMV+gGaVcQ==}
- cpu: [s390x]
- os: [linux]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-G9U7bVmylzRLma3cK39RBm3guoD1HOvY4o0NS4JNm37AD0lS7/xyMt7kn0JejYyc0Im8J+rH69/dXGM9DAJcSQ==}
- cpu: [x64]
- os: [linux]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-7qL20SBKomekSunm7M9Fe5L93bFbn+FbHiGJbfTlp0RKhPVoJDP73vOxf1QrmJHyDPECsGWPFnKa/f8fO2FsHw==}
- cpu: [x64]
- os: [linux]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-jisvIva8MidjI+B1lFRZZMfCPaCISePgTyR60wNT1MeQvIh5Ksa0G3gvI+Iqyj3jqYbvOHByenpa5eDGcSdoSg==}
- engines: {node: '>=14.0.0'}
- cpu: [wasm32]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-G+H5nQZ8sRZ8ebMY6mRGBBvTEzMYEcgVauLsNHpvTUavZoCCRVP1zWkCZgOju2dW3O22+8seTHniTdl1/uLz3g==}
- cpu: [arm64]
- os: [win32]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-Hfy46DBfFzyv0wgR0MMOwFFib2W2+Btc8oE5h4XlPhpelnSyA6nFxkVIyTgIXYGTdFaLoZFNn62fmqx3rjEg3A==}
- cpu: [ia32]
- os: [win32]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-7L8NdsQlCJ8T106Gbz/AjzM4QKWVsoQbKpB9bMBGcIZswUuAnJMHpvbqGW3RBqLHCIwX4XZ5fxSBHEFcK2h9wA==}
- cpu: [x64]
- os: [win32]
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-xklPzRma4aoDEPk0ZfMjeuxB2FP4JBYlAR25OFUqCoOYDjYo6wGwAs49SnTN/MoB5VpnNX9tENfZ+vEIFmHQMQ==}
+ '@fluent/[email protected]':
+ resolution: {integrity: sha512-5D2qVpZrgpjtqU4eNOcWGp1gnUCgjfM+vKGE2y03kKN6z5EBhtx0qdRFbg8QuNNj8wXNoX93KJoYb+NqoxswmQ==}
+ engines: {node: '>=14.0.0', npm: '>=7.0.0'}
- resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
+ '@fullcalendar/[email protected]':
+ resolution: {integrity: sha512-0W7lnIrv18ruJ5zeWBeNZXO8qCWlzxDdp9COFEsZnyNjiEhUVnrW/dPbjRKYpL0edGG0/Lhs0ghp1z/5ekt8ZA==}
+
+ '@fullcalendar/[email protected]':
+ resolution: {integrity: sha512-K7m+pd7oVJ9fW4h7CLDdDGJbc9szJ1xDU1DZ2ag+7oOo1aCNLv44CehzkkknM6r8EYlOOhgaelxQpKAI4glj7A==}
peerDependencies:
- acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
+ '@fullcalendar/core': ~6.1.17
- resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==}
- engines: {node: '>=0.4.0'}
- hasBin: true
+ '@fullcalendar/[email protected]':
+ resolution: {integrity: sha512-AA8soHhlfRH5dUeqHnfAtzDiXa2vrgWocJSK/F5qzw/pOxc9MqpuoS/nQBROWtHHg6yQUg3DoGqOOhi7dmylXQ==}
+ peerDependencies:
+ '@fullcalendar/core': ~6.1.17
+ react: ^16.7.0 || ^17 || ^18 || ^19
+ react-dom: ^16.7.0 || ^17 || ^18 || ^19
- resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==}
- engines: {node: '>= 14'}
+ '@humanfs/[email protected]':
+ resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
+ engines: {node: '>=18.18.0'}
- resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
+ '@humanfs/[email protected]':
+ resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==}
+ engines: {node: '>=18.18.0'}
- resolution: {integrity: sha512-Ldzy2znjm+BVWVHbzyhmdiznVdIum/EM2CMtSPjnoVr1/MljZTVPB08giSpm1WIo00fK/sL/kcnvr0+d9wVUzA==}
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
+ engines: {node: '>=12.22'}
- resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
- engines: {node: '>=8'}
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==}
+ engines: {node: '>=18.18'}
- resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
- engines: {node: '>=12'}
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
+ engines: {node: '>=18.18'}
- resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
- engines: {node: '>=8'}
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}
+ engines: {node: 20 || >=22}
- resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
- engines: {node: '>=12'}
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==}
+ engines: {node: 20 || >=22}
- resolution: {integrity: sha512-yXdWqq1NJSZnD1HoPZWnWuQJGVYYnB3h0Ufsz4sbt3T0N9SdJ4G9GPpLMk8Gn9zWtwBekfR4THPVZ9uzAyhBHQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@isaacs/[email protected]':
+ resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
+ engines: {node: '>=12'}
- resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
- resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}
- engines: {node: '>= 0.4'}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}
- resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}
- engines: {node: '>= 0.4'}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
+ engines: {node: '>=6.0.0'}
- resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==}
- engines: {node: '>= 0.4'}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}
- resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}
- engines: {node: '>= 0.4'}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
- resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}
- engines: {node: '>= 0.4'}
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==}
- resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==}
- engines: {node: '>= 0.4'}
+ '@js.properties/[email protected]':
+ resolution: {integrity: sha512-4M/Mb2CxzuI1CtQhVFs6OC9ceuGPAP6SOWnpLcrdB1TcUHroXbsYDVJNOm32koRMfuCoRACbojcm4dPPcQxu0w==}
- resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==}
- engines: {node: '>= 0.4'}
+ '@kwooshung/[email protected]':
+ resolution: {integrity: sha512-15hA3W5AF/qvhfyTFpMbyzET3lFAXvFsP3U+dEUCQ5+T0iRucddKuGpEsBEsd/74RXgvag8kCqi+WAfkjVMbSQ==}
+ peerDependencies:
+ react: '>=16.6.0'
+ react-dom: '>=16.6.0'
- resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==}
- engines: {node: '>= 0.4'}
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-bCsCyeZEwVErsGmyPNSzwfwFn4OdxBj0mmv6hOFucB/k81Ojdu68RbZdxYsRQUPc9l6SU5F/cG+bXgWs3oUgsQ==}
- resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-fbb2C7HChgM7CemdCY+y3N1n8pcTKdqtQLbC7/EQtPdLvlMUT9JX/dBYl8MMZAtYG4uVMyPFHXckb68q/NRwqg==}
- resolution: {integrity: sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-UzgLR2eBfhKIQt0aJ7PWH7XRPYw7SXz0Fpzdl5THjUnvxy4kfBk9OU4RNPNiETewEEtaBcExNFNn1QWH8wQTjg==}
- resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==}
+ resolution: {integrity: sha512-ijVRTXBgnHT33aWnDtmlG+LJD+5vhc9AKTJPquGG5NKXjpKNjc62woIhFtrAcWdBobt8kqjCoaJ0q6sDQoX7aQ==}
- resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-SdhaKdko6dpsSr0DldkESItVrnPYB1NS2NpShCSX5lc7SSQmLZt5Mug6t2xbiuVWEVDLZSuIAoQyYVBYp0dR5g==}
- resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
+ resolution: {integrity: sha512-wWtrAaxCVMejxPHFb1SK/PVV1WDIrXGs9ki0C/kUM8ubKHQm+3hU9MouUywCw8Wbhj3pewfHT2wjunLEr/TaLA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
- resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
-
- resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-7Z/jk+6EVBj4pNLw/JQrvZVrAh9Bv8q81zCFSfvTMZ51WySyEHWVpwCEaJY910LyBftv2F37kuDPQm0w9CEXyg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
- resolution: {integrity: sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==}
- engines: {node: '>=4'}
+ resolution: {integrity: sha512-o6hrz5xRBwi+G7JFTHc+RUsXo2lVXEfwh4/qsuWBMQq6aut+0w98WEnoNwAwt7hkEqegzvazf81dNiwo7KjITw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
- resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==}
+ resolution: {integrity: sha512-9i+JEHBOVgqxQ92HHRFlSW1EQXqa/89IVjtHgOqsShCcB/ZBjTtkWGi+SGCJaYyWkr/lzu51NTMCfKuBf7ULNw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
- resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-B7JtMbkUwHijrGBOhgSQu2ncbCYq9E7PZ7MX58kxheiEOwdkM+jGx0cBb+rN5AeqF96JypEppK6i/bEL9T13lA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
- resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+ resolution: {integrity: sha512-yCcZo1OrO3aQ38B5zctqKU1Z3klOohIxug6qdiKO3Q3qNye/1n6XIs01YJ+Uf+TdpZQ0fNrOQI2HrTLF3Zprnw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
- resolution: {integrity: sha512-JnkkL4GUpOvvanH9AZPX38CxhiLsXMBicBY2IAtqiVN8YulGDQybUydWA4W6yAMtw6iShtw+8HEF6cfrTHU+UQ==}
- engines: {node: '>=0.10'}
+ resolution: {integrity: sha512-WnrfeOEtTVidI9Z6jDLy+gxrpDcEJtZva54LYC0bSKQqmyuHzl0ego+v0F/v2aXq0am67BRqo/ybmmt45Tzo4A==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
- resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==}
+ resolution: {integrity: sha512-vkcriFROT4wsTdSeIzbxaZjTNTFKjSYmLd8q/GVH3Dn8JmYjUKOuKXHK8n+lovW/kdcpIvydO5GtN+It2CvKWA==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
- resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
+ resolution: {integrity: sha512-iPPwUEKnVs7pwR0EBLJlwxLD7TTHWS/AoVZx1l9ZQzfQciqaFEr5AlYzA2uB6Fyby1IF18t4PL0nTpB+k4Tzlw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
- resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
+ '@nodelib/[email protected]':
+ resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
+ engines: {node: '>= 8'}
- resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}
+ '@nodelib/[email protected]':
+ resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
+ engines: {node: '>= 8'}
- resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
- engines: {node: '>=8'}
+ '@nodelib/[email protected]':
+ resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
+ engines: {node: '>= 8'}
- resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}
- engines: {node: '>=10.16.0'}
+ '@nolyfill/[email protected]':
+ resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==}
+ engines: {node: '>=12.4.0'}
- resolution: {integrity: sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==}
- engines: {node: '>=10.6.0'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm64]
+ os: [android]
- resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
- engines: {node: '>= 0.4'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm64]
+ os: [darwin]
- resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==}
- engines: {node: '>= 0.4'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [x64]
+ os: [darwin]
- resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}
- engines: {node: '>= 0.4'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [x64]
+ os: [freebsd]
- resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
- engines: {node: '>=6'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm]
+ os: [linux]
- resolution: {integrity: sha512-cOuvmUVtKrtEaoKiO0rSc29jcjwMwX5tOHDy4MgVFEWiUXj4uBMJkwI8MDySkgXidpMiHUcviogAvFi4pA2hDQ==}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm]
+ os: [linux]
- resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
- engines: {node: '>=10'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm64]
+ os: [linux]
- resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm64]
+ os: [linux]
- resolution: {integrity: sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==}
- engines: {node: '>= 6'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [x64]
+ os: [linux]
- resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
- engines: {node: '>= 14.16.0'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [x64]
+ os: [linux]
- resolution: {integrity: sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [arm64]
+ os: [win32]
- resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [ia32]
+ os: [win32]
- resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==}
+ engines: {node: '>= 10.0.0'}
+ cpu: [x64]
+ os: [win32]
- resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
- engines: {node: '>=7.0.0'}
+ '@parcel/[email protected]':
+ resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
+ engines: {node: '>= 10.0.0'}
- resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
+ resolution: {integrity: sha512-YLT9Zo3oNPJoBjBc4q8G2mjU4tqIbf5CEOORbUUr48dCD9q3umJ3IPlVqOqDakPfd2HuwccBaqlGhN4Gmr5OWg==}
+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
- resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==}
- engines: {node: '>=0.1.90'}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==}
+ engines: {node: '>=14.x'}
- resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
- engines: {node: '>= 0.8'}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
- engines: {node: ^12.20.0 || >=14}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==}
+ engines: {node: '>=8.x'}
- resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
- engines: {node: '>= 0.6'}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
- engines: {node: '>= 0.6'}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-XxeCwLR30cWwRd94sa9X5lRCDLVujtx73tv+N0doQCFIDl83fuuYdxbu/WQUt9aSV7EJx7bkMvJldjvzuFqr4w==}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-/9zuTnWwhQ3S3WT1T8BubuFTT46kvnXgaERR9f4BTKyn61/wpf/BvbImzYBubzJibU707FxwbKszLlHjcLiv1Q==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
- resolution: {integrity: sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA==}
+ '@rc-component/[email protected]':
+ resolution: {integrity: sha512-AUVu6jO+lWjQnUOOECwu8iR0EdElQgWW5NBv5vP/Uf9dWbAX3udhMutRlkVXjuac2E40ghkFy+ve00mc/3Fymg==}
+ peerDependencies:
+ react: '>=18.0.0'
+ react-dom: '>=18.0.0'
- resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
- engines: {node: '>= 8'}
+ '@react-dnd/[email protected]':
+ resolution: {integrity: sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A==}
- resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
+ '@react-dnd/[email protected]':
+ resolution: {integrity: sha512-xKCTqAK/FFauOM9Ta2pswIyT3D8AQlfrYdOi/toTPEhqCuAs1v5tcJ3Y08Izh1cJ5Jchwy9SeAXmMg6zrKs2iw==}
- resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==}
+ '@react-dnd/[email protected]':
+ resolution: {integrity: sha512-/RVXdLvJxLg4QKvMoM5WlwNR9ViO9z8B/qPcc+C0Sa/teJY7QG7kJ441DwzOjMYEY7GmU4dj5EcGHIkKZiQZCA==}
- resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
- engines: {node: '>= 6'}
+ '@react-oauth/[email protected]':
+ resolution: {integrity: sha512-d1GVm2uD4E44EJft2RbKtp8Z1fp/gK8Lb6KHgs3pHlM0PxCXGLaq8LLYQYENnN4xPWO1gkL4apBtlPKzpLvZwg==}
+ peerDependencies:
+ react: '>=16.8.0'
+ react-dom: '>=16.8.0'
- resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
+ '@rtsao/[email protected]':
+ resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
- resolution: {integrity: sha512-OqALQHA0k2rEGluOWikwFq5qtkRUDyoWP2u0UJy8uFjFx5FPMjPzx7D2Hn2KjBLpc8jkGrT9HDNgTUfopDlqVg==}
+ '@rushstack/[email protected]':
+ resolution: {integrity: sha512-zxnHvoMQVqewTJr/W4pKjF0bMGiKJv1WX7bSrkl46Hg0QjESbzBROWK0Wg4RphzSOS5Jiy7eFimmM3UgMrMZbQ==}
- resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
+ resolution: {integrity: sha512-9PYGcXrAxitycIjRmZB+Q0JaN07GZIWaTBIGQzfaZv+qr1n8X1XUEJ5rZ/vx6OVD9RRYlrNnXWExQXcmZeD/BQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-BcCkm/STipKvbCl6b7QFrMh/vx00vIP63k2eM66MfHJzPr6O2U0jYEViXkHJWqXqQYjdeA9cuCl5KWmlwjDvbA==}
+ engines: {node: '>=14'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-5BcGCBfBxB5+XSDSWnhTThfI9jcO5f0Ai2V24gZpG+wXF14BzwxxdDb4g6trdOux0rhibGs385BeFMSmxtS3uA==}
+ engines: {node: '>=14'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-8DPaVVE3fd5JKuIC29dqyMB54sA6mfgki2H2+swh+zNJoynC8pMPzOkidqHOSc6Wj032fhl8Z0TVn1GiPpAiJg==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
+ resolution: {integrity: sha512-FwOEi0Il72iAzlkaHrlemVurgSQRDFbk0OC8dSvD5fSBPHltNh7JtLsxmZUhjYBZo2PpcU/RJvvi6Q0l7O7ogw==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
+ resolution: {integrity: sha512-gWGsiwjb4tw+ITOJ86ndY/DZZ6cuXMNE/SjcDRg+HLuCmwpcjOktwRF9WgAiycTqJD/QXqL2f8IzE2Rzh7aVXA==}
+ engines: {node: '>=10'}
peerDependencies:
- supports-color: '*'
- peerDependenciesMeta:
- supports-color:
- optional: true
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
- engines: {node: '>=6.0'}
+ resolution: {integrity: sha512-2jT3nTayyYP7kI6aGutkyfJ7UMGtuguD72OjeGLwVNyfPRBD8zQthlvL+fAbAKk5n9ZNcvFkp/b1lZ7VsYqVJg==}
+ engines: {node: '>=10'}
peerDependencies:
- supports-color: '*'
- peerDependenciesMeta:
- supports-color:
- optional: true
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
+ resolution: {integrity: sha512-a1p6LF5Jt33O3rZoVRBqdxL350oge54iZWHNI6LJB5tQ7EelvD/Mb1mfBiZNAan0dt4i3VArkFRjA4iObuNykQ==}
+ engines: {node: '>=12'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-6127fvO/FF2oi5EzSQOAjo1LE3OtNVh11R+/8FXa+mHx1ptAaS4cknIjnUA7e6j6fwGGJ17NzaTJFUwOV2zwCw==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@babel/core': ^7.0.0-0
- resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-/xdLSWxK5QkqG524ONSjvg3V/FkNyCv538OIBdQqPNaAta3AsXj/Bd2FbvR87yMbXO2hFSWiAe/Q6IkVPDw+mw==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
- engines: {node: '>=0.4.0'}
+ resolution: {integrity: sha512-1hnUxxjd83EAxbL4a0JDJoD3Dao3hmjvyvyEV8PzWmLK3B9m9NPlW7GKjFyoWE8nM7HnXzPcmmSyOW8yOddSXw==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==}
- engines: {node: '>=0.10'}
- hasBin: true
+ resolution: {integrity: sha512-+UdQxI3jgtSjCykNSlEMuy1jSRQlGC7pqBCPvkG/2dATdWo082zHTTK3uhnAju2/6XpE6B5mZ3z4Z8Ns01S8Gw==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@svgr/core': ^6.0.0
- resolution: {integrity: sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==}
- engines: {node: '>=0.3.1'}
+ resolution: {integrity: sha512-omvZKf8ixP9z6GWgwbtmP9qQMPX4ODXi+wzbVZgomNFsUIlHA1sf4fThdwTWSsZGgvGAG6yE+b/F5gWUkcZ/iQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@svgr/core': '*'
- resolution: {integrity: sha512-HK294sl7tbw6F6IeuK16YSBUoorvHpY8RHO+9yFfaJyCDVb6n7PRcezrOEOa2SBCqiYpemh5Jx20ZcjKdFAVng==}
+ resolution: {integrity: sha512-cQ/AsnBkXPkEK8cLbv4Dm7JGXq2XrumKnL1dRpJD9rIO2fTIlJI9a1uCciYG1F2aUsox/hJQyNGbt3soDxSRkA==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
- resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
+ resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==}
- resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
+ '@szhsin/[email protected]':
+ resolution: {integrity: sha512-a5uBCrYPpxiEwp839+cfEiaZh2LKqn9v7VUyBRjHWNjKbhVbSaI1Kyh5G3rIeHBxpbrhSYBmD5KJ5jgzhC2ECw==}
+ peerDependencies:
+ react: '>=16.14.0'
+ react-dom: '>=16.14.0'
- resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
+ '@trysound/[email protected]':
+ resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}
+ engines: {node: '>=10.13.0'}
- resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
- engines: {node: '>= 4'}
+ '@tybys/[email protected]':
+ resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
- resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dJ9yRry9Olt5GAWlgCtE5dK9d/Dfhn/V7hna86eEO2Pn76+E8Y0S0n61iEUEGhWXXgtKtHxtZLVNwL8X+vLHzg==}
- resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
- engines: {node: '>=12'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==}
- resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==}
- resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-5uc/16BlYpzH8kU/u8aeRRgY2FV6yRY7RjPnYfUFPowl0F3kvNgfaz09PmeVdLkqdAtMft3XkCfqiJPJjG2DNQ==}
+ deprecated: This is a stub types definition. echarts provides its own type definitions, so you do not need this installed.
- resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}
- resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
- resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
- resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
- engines: {node: '>=0.12'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
- resolution: {integrity: sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==}
- engines: {node: '>=0.12'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
- resolution: {integrity: sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-RRVJ+J3J+WmyOTqnz3PiBLA501eKwXl2noseKOrNo/6+XEHjTAxO4xHvxQB6QuNm+s4WRbn6rSiap8+EA+ykFQ==}
- resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-hfrc+1tud1xcdVTABC2JiomZJEklMcXYNTVtZLAeqTVWD+qL5jkHKT+1lOtqDdGxt+mB53DTtiz673vfjU8D1Q==}
- resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==}
- resolution: {integrity: sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==}
- resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==}
- resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}
+ peerDependencies:
+ '@types/react': ^18.0.0
- resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==}
+ peerDependencies:
+ '@types/react': '*'
- resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}
- engines: {node: '>= 0.4'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==}
- resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
- engines: {node: '>=10'}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==}
- resolution: {integrity: sha512-FerU4DYccO4FgeYFFglz0SnaKRe1ejXQrDb8kWUkTAg036YWi+jUsgg4sIGNCDhAsDITsZaL4MzBWKB6f4G1Dg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-TDCXj+YxLgtvxvFlAvpoRv9MAncDLBV2oT9Bd7YBGC/b/sEURoOYuIwLI99rjWOfY3QtDzO+mk0n4AmdFExW8A==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^7.23.0 || ^8.0.0 || ^9.0.0
- typescript: '>=3.3.1'
- peerDependenciesMeta:
- typescript:
- optional: true
+ '@typescript-eslint/parser': ^8.33.1
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==}
- hasBin: true
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: '>=7.0.0'
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==}
- engines: {node: ^14.18.0 || >=16.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: '*'
- eslint-plugin-import: '*'
- eslint-plugin-import-x: '*'
- peerDependenciesMeta:
- eslint-plugin-import:
- optional: true
- eslint-plugin-import-x:
- optional: true
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==}
- engines: {node: '>=4'}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-1cG37d9xOkhlykom55WVwG2QRNC7YXlxMaMzqw2uPeJixBFfKWZgaP/hjAObqMN/u3fr5BrTwTnc31/L9jQ2ww==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': '*'
- eslint: '*'
- eslint-import-resolver-node: '*'
- eslint-import-resolver-typescript: '*'
- eslint-import-resolver-webpack: '*'
- peerDependenciesMeta:
- '@typescript-eslint/parser':
- optional: true
- eslint:
- optional: true
- eslint-import-resolver-node:
- optional: true
- eslint-import-resolver-typescript:
- optional: true
- eslint-import-resolver-webpack:
- optional: true
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==}
- engines: {node: '>=4'}
- peerDependencies:
- '@typescript-eslint/parser': '*'
- eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9
- peerDependenciesMeta:
- '@typescript-eslint/parser':
- optional: true
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==}
- engines: {node: '>=4.0'}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==}
- engines: {node: ^14.18.0 || >=16.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-52HaBiEQUaRYqAXpfzWSR2U3gxk92Kw006+xZpElaPMg3C4PgM+A5LqwoQI1f9E5aZ/qlxAZxzm42WX+vn92SQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@types/eslint': '>=8.0.0'
- eslint: '>=8.0.0'
- eslint-config-prettier: '>= 7.0.0 <10.0.0 || >=10.1.0'
- prettier: '>=3.0.0'
- peerDependenciesMeta:
- '@types/eslint':
- optional: true
- eslint-config-prettier:
- optional: true
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <5.9.0'
- resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==}
- engines: {node: '>=10'}
- peerDependencies:
- eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}
- engines: {node: '>=4'}
- peerDependencies:
- eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
+ resolution: {integrity: sha512-i3/wlWjQJXMh1uiGtiv7k1EYvrrS3L1hdwmWJJiz1D8jWy726YFYPIxQWbEIVPVAgrfRR0XNlLrTQwq17cuCGw==}
+ cpu: [arm64]
+ os: [darwin]
- resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==}
- peerDependencies:
- '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0
- eslint: ^9.0.0 || ^8.0.0
- peerDependenciesMeta:
- '@typescript-eslint/eslint-plugin':
- optional: true
+ resolution: {integrity: sha512-8XXyFvc6w6kmMmi6VYchZhjd5CDcp+Lv6Cn1YmUme0ypsZ/0Kzd+9ESrWtDrWibKPTgSteDTxp75cvBOY64FQQ==}
+ cpu: [x64]
+ os: [darwin]
- resolution: {integrity: sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-0qJBYzP8Qk24CZ05RSWDQUjdiQUeIJGfqMMzbtXgCKl/a5xa6thfC0MQkGIr55LCLd6YmMyO640ifYUa53lybQ==}
+ cpu: [x64]
+ os: [freebsd]
- resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ resolution: {integrity: sha512-1sGwpgvx+WZf0GFT6vkkOm6UJ+mlsVnjw+Yv9esK71idWeRAG3bbpkf3AoY8KIqKqmnzJExi0uKxXpakQ5Pcbg==}
+ cpu: [arm]
+ os: [linux]
- resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-D/1F/2lTe+XAl3ohkYj51NjniVly8sIqkA/n1aOND3ZMO418nl2JNU95iVa1/RtpzaKcWEsNTtHRogykrUflJg==}
+ cpu: [arm]
+ os: [linux]
- resolution: {integrity: sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- hasBin: true
- peerDependencies:
- jiti: '*'
- peerDependenciesMeta:
- jiti:
- optional: true
+ resolution: {integrity: sha512-7vFWHLCCNFLEQlmwKQfVy066ohLLArZl+AV/AdmrD1/pD1FlmqM+FKbtnONnIwbHtgetFUCV/SRi1q4D49aTlw==}
+ cpu: [arm64]
+ os: [linux]
- resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-tYkGIx8hjWPh4zcn17jLEHU8YMmdP2obRTGkdaB3BguGHh31VCS3ywqC4QjTODjmhhNyZYkj/1Dz/+0kKvg9YA==}
+ cpu: [arm64]
+ os: [linux]
- resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}
- engines: {node: '>=0.10'}
+ resolution: {integrity: sha512-6F328QIUev29vcZeRX6v6oqKxfUoGwIIAhWGD8wSysnBYFY0nivp25jdWmAb1GildbCCaQvOKEhCok7YfWkj4Q==}
+ cpu: [ppc64]
+ os: [linux]
- resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
- engines: {node: '>=4.0'}
+ resolution: {integrity: sha512-NqhWmiGJGdzbZbeucPZIG9Iav4lyYLCarEnxAceguMx9qlpeEF7ENqYKOwB8Zqk7/CeuYMEcLYMaW2li6HyDzQ==}
+ cpu: [riscv64]
+ os: [linux]
- resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
- engines: {node: '>=4.0'}
+ resolution: {integrity: sha512-J2RPIFKMdTrLtBdfR1cUMKl8Gcy05nlQ+bEs/6al7EdWLk9cs3tnDREHZ7mV9uGbeghpjo4i8neNZNx3PYUY9w==}
+ cpu: [riscv64]
+ os: [linux]
- resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-bDpGRerHvvHdhun7MmFUNDpMiYcJSqWckwAVVRTJf8F+RyqYJOp/mx04PDc7DhpNPeWdnTMu91oZRMV+gGaVcQ==}
+ cpu: [s390x]
+ os: [linux]
- resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
+ resolution: {integrity: sha512-G9U7bVmylzRLma3cK39RBm3guoD1HOvY4o0NS4JNm37AD0lS7/xyMt7kn0JejYyc0Im8J+rH69/dXGM9DAJcSQ==}
+ cpu: [x64]
+ os: [linux]
- resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==}
+ resolution: {integrity: sha512-7qL20SBKomekSunm7M9Fe5L93bFbn+FbHiGJbfTlp0RKhPVoJDP73vOxf1QrmJHyDPECsGWPFnKa/f8fO2FsHw==}
+ cpu: [x64]
+ os: [linux]
- resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==}
- engines: {node: '>=8.6.0'}
+ resolution: {integrity: sha512-jisvIva8MidjI+B1lFRZZMfCPaCISePgTyR60wNT1MeQvIh5Ksa0G3gvI+Iqyj3jqYbvOHByenpa5eDGcSdoSg==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
- resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}
- engines: {node: '>=8.6.0'}
+ resolution: {integrity: sha512-G+H5nQZ8sRZ8ebMY6mRGBBvTEzMYEcgVauLsNHpvTUavZoCCRVP1zWkCZgOju2dW3O22+8seTHniTdl1/uLz3g==}
+ cpu: [arm64]
+ os: [win32]
- resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
+ resolution: {integrity: sha512-Hfy46DBfFzyv0wgR0MMOwFFib2W2+Btc8oE5h4XlPhpelnSyA6nFxkVIyTgIXYGTdFaLoZFNn62fmqx3rjEg3A==}
+ cpu: [ia32]
+ os: [win32]
- resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
+ resolution: {integrity: sha512-7L8NdsQlCJ8T106Gbz/AjzM4QKWVsoQbKpB9bMBGcIZswUuAnJMHpvbqGW3RBqLHCIwX4XZ5fxSBHEFcK2h9wA==}
+ cpu: [x64]
+ os: [win32]
- resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}
- resolution: {integrity: sha512-4BG7puHpVsIYxZUbiUE3RqGloLaSSwzYie5jvasC4LWuBWzZawynvYouhjbQKw2JuIGYdm0DzIxl8iVidKlUEw==}
- peerDependencies:
- picomatch: ^3 || ^4
- peerDependenciesMeta:
- picomatch:
- optional: true
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==}
- resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
- engines: {node: '>=16.0.0'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==}
- resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
- engines: {node: '>=8'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==}
- resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
- engines: {node: '>=10'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==}
- resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
- engines: {node: '>=16'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==}
- resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==}
- hasBin: true
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==}
- resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==}
- resolution: {integrity: sha512-OsTQyVWo1WYmEnnH7m3MRlk5NQq/+jXOLzv0WOk8GGn99LdQV1kNp3IOR6HYb+fwDqYebLPLAThS2pFEaDbyHQ==}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==}
- resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
- engines: {node: '>=4.0'}
- peerDependencies:
- debug: '*'
- peerDependenciesMeta:
- debug:
- optional: true
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==}
- resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==}
- engines: {node: '>= 0.4'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==}
- resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
- engines: {node: '>=14'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==}
- resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
- engines: {node: '>= 6'}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==}
- resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==}
- resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+ '@webassemblyjs/[email protected]':
+ resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}
- resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}
- resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
+ resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
- resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-xklPzRma4aoDEPk0ZfMjeuxB2FP4JBYlAR25OFUqCoOYDjYo6wGwAs49SnTN/MoB5VpnNX9tENfZ+vEIFmHQMQ==}
- resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==}
+ engines: {node: '>=10.13.0'}
+ peerDependencies:
+ acorn: ^8.14.0
- resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
+ peerDependencies:
+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
- resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==}
+ resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
- resolution: {integrity: sha512-vXjx4vRBjw6rd3Zg73IMyNLZuPjs8/lE9gJZs270YJJI0t5vlCpdsyX5E0TmSd+KcRWzwPbwjwd6bnNpF72sFQ==}
+ resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}
+ engines: {node: '>=0.4.0'}
+ hasBin: true
- resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
- engines: {node: '>= 6'}
+ resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==}
+ engines: {node: '>= 14'}
- resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
- engines: {node: '>=10.13.0'}
+ resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}
+ peerDependencies:
+ ajv: ^8.0.0
+ peerDependenciesMeta:
+ ajv:
+ optional: true
- resolution: {integrity: sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==}
- engines: {node: 20 || >=22}
- hasBin: true
+ resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==}
+ peerDependencies:
+ ajv: ^6.9.1
- resolution: {integrity: sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==}
- engines: {node: '>=16 || 14 >=14.17'}
+ resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==}
+ peerDependencies:
+ ajv: ^8.8.2
- resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
- engines: {node: '>=18'}
+ resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
- resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==}
- resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
+ resolution: {integrity: sha512-Ldzy2znjm+BVWVHbzyhmdiznVdIum/EM2CMtSPjnoVr1/MljZTVPB08giSpm1WIo00fK/sL/kcnvr0+d9wVUzA==}
+
+ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-yXdWqq1NJSZnD1HoPZWnWuQJGVYYnB3h0Ufsz4sbt3T0N9SdJ4G9GPpLMk8Gn9zWtwBekfR4THPVZ9uzAyhBHQ==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+
+ resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+ resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
+ resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==}
+ resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
+ resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==}
+ resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
+ resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
+ resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
+ resolution: {integrity: sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==}
+
+ resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
+ resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
- resolution: {integrity: sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==}
+ resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
- resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==}
+ resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
- engines: {node: '>= 14'}
+ resolution: {integrity: sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==}
+ engines: {node: '>=4'}
- resolution: {integrity: sha512-f3frU3pIxD50/Tz20zx9TD9HobKYg47fmAETb117GKGPrhwcSSPJDoCposXlVycVebQ9GQohC3Efbpq7/nnJ5w==}
+ resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==}
- resolution: {integrity: sha512-gzVYct/sMeeOzomK0+8nl7YSr61xiDzf4Kg51g7StBaXAaKE/Vb1CLNHZ8dY56sYz6qmbwHRYHqMPanGi0go4w==}
- hasBin: true
+ resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-okHbVA+HZ7n1/76MsfhPqDou0fptl2dAlhRDu2ideXloRRduzHsqDOznJBef+R3DFZnbvWoBW+KxJ7fnFjd6Yw==}
+ resolution: {integrity: sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
- resolution: {integrity: sha512-lfbf80OzkocvX7nmZtu7nSTNbrTYR52sLWxPtlXX1zAhVw8WEnFk4puUkCR4B1dNQwbSpEHHHemcZu//7EcB7A==}
+ resolution: {integrity: sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==}
peerDependencies:
- typescript: ^5
- peerDependenciesMeta:
- typescript:
- optional: true
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
- resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==}
+ peerDependencies:
+ '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
- resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
- resolution: {integrity: sha512-yjD9nARJ/jb1g+CvD0tlhUHOrJ9Sy0P8T9MF3YaLlHnSRpwPfpTX0XIvpmw3gAJUmEu3FiICLBDPXVwyEvrleg==}
+ resolution: {integrity: sha512-JnkkL4GUpOvvanH9AZPX38CxhiLsXMBicBY2IAtqiVN8YulGDQybUydWA4W6yAMtw6iShtw+8HEF6cfrTHU+UQ==}
+ engines: {node: '>=0.10'}
- resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
- engines: {node: '>= 4'}
+ resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==}
- resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==}
- engines: {node: '>= 4'}
+ resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==}
- resolution: {integrity: sha512-qHKXW1q6liAk1Oys6umoaZbDRqjcjgSrbnrifHsfsttza7zcvRAsL7mMV6xWcyhwQy7Xj5v4hhbr6b+iDYwlmQ==}
+ resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
- resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}
- engines: {node: '>=6'}
+ resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
- resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
- engines: {node: '>=0.8.19'}
+ resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}
- resolution: {integrity: sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==}
- engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
+ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
+ engines: {node: '>=8'}
- resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-4jYpcjabC606xJ3kw2QwGEZKX0Aw7sgQdZCvIK9dhVSPh76BKo+C+btT1RRofH7B+8iNpEbgGNVWiLki5q93yg==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
- resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}
+ engines: {node: '>=10.16.0'}
- resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==}
+ engines: {node: '>=10.6.0'}
- resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}
+ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==}
-
- resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
+ resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}
+ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
+ engines: {node: '>=6'}
- resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-cOuvmUVtKrtEaoKiO0rSc29jcjwMwX5tOHDy4MgVFEWiUXj4uBMJkwI8MDySkgXidpMiHUcviogAvFi4pA2hDQ==}
- resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==}
- resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}
- resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==}
+ engines: {node: '>= 6'}
- resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
+ engines: {node: '>= 14.16.0'}
- resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}
+ engines: {node: '>=6.0'}
- resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==}
- resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
- engines: {node: '>=0.12.0'}
+ resolution: {integrity: sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==}
- resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
- resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
+ engines: {node: '>=7.0.0'}
- resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
- resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==}
+ engines: {node: '>=0.1.90'}
- resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
+ engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
- resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
+ engines: {node: '>= 10'}
- resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==}
+ engines: {node: ^12.20.0 || >=14}
- resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==}
- resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
- resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
+ resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
+ engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
+ resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
- resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
+ engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==}
- engines: {node: 20 || >=22}
+ resolution: {integrity: sha512-XxeCwLR30cWwRd94sa9X5lRCDLVujtx73tv+N0doQCFIDl83fuuYdxbu/WQUt9aSV7EJx7bkMvJldjvzuFqr4w==}
- resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
+ resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==}
- resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
- hasBin: true
+ resolution: {integrity: sha512-tqTt5T4PzsMIZ430XGviK4vzYSoeNJ6CXODi6c/voxOT6IZqBht5/EKaSNnYiEjjRYxjVz7DQIsOsY0XNi8PIA==}
- resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}
+ resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
+ resolution: {integrity: sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA==}
- resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
+ resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
+ engines: {node: '>= 8'}
- resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==}
+ resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
- resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
- hasBin: true
+ resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==}
- resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}
- engines: {node: '>=4.0'}
+ resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==}
- resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
+ resolution: {integrity: sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==}
+ engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}
+ resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
+ engines: {node: '>= 6'}
- resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}
- engines: {node: '>=0.10'}
+ resolution: {integrity: sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==}
+ engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-rx5X+Yds6MmIxGS+VVQBWhylPYxkOYmKXrWqQHc2rj2ewsoWMZS7OaTXk9UE8y95XV+D5CqLjaEj+IJgRmrIaw==}
+ resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
- resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
- engines: {node: '>= 0.8.0'}
+ resolution: {integrity: sha512-OqALQHA0k2rEGluOWikwFq5qtkRUDyoWP2u0UJy8uFjFx5FPMjPzx7D2Hn2KjBLpc8jkGrT9HDNgTUfopDlqVg==}
- resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
- engines: {node: '>=10'}
+ resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
- resolution: {integrity: sha512-m+HUWra8Xs9aZV6EhDKgJNUsVedTbJnf4koIkv+rrnNy1GhmAETd/i54d2hPMPl9rfb4gtbGMWAFWNuwFzHmJA==}
- hasBin: true
+ resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-Gef3IrMDSB5ZuRbym9ktr7KXCTFjIvs1T2TEnaew5ed7BBwt3od0/sj8C7X9iGpRebHxG1kyF6hR6aK8iBPkLg==}
+ resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==}
+ resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
+ resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
- resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+ resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
- resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
- hasBin: true
+ resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==}
+ engines: {node: '>=6.0'}
+ peerDependencies:
+ supports-color: '*'
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
- resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
+ resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
- resolution: {integrity: sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==}
- engines: {node: 20 || >=22}
+ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
+ engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
+ resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
- engines: {node: '>= 8'}
+ resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
- engines: {node: '>=8.6'}
+ resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
+ engines: {node: '>=0.4.0'}
- resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
- engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==}
+ engines: {node: '>=0.10'}
+ hasBin: true
- resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
- engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==}
+ engines: {node: '>=0.3.1'}
- resolution: {integrity: sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==}
- engines: {node: 20 || >=22}
+ resolution: {integrity: sha512-HK294sl7tbw6F6IeuK16YSBUoorvHpY8RHO+9yFfaJyCDVb6n7PRcezrOEOa2SBCqiYpemh5Jx20ZcjKdFAVng==}
- resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
+ resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
+ engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==}
- engines: {node: '>=16 || 14 >=14.17'}
+ resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}
- resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}
- engines: {node: '>=16 || 14 >=14.17'}
+ resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==}
- resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
+ resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
- resolution: {integrity: sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
- resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
- engines: {node: '>=16 || 14 >=14.17'}
+ resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==}
+ engines: {node: '>= 4'}
- resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==}
- engines: {node: '>=10'}
- hasBin: true
+ resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
+ engines: {node: '>= 4'}
- resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+ resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
- resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
- engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
- hasBin: true
+ resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
- resolution: {integrity: sha512-ZEzHJwBhZ8qQSbknHqYcdtQVr8zUgGyM/q6h6qAyhtyVMNrSgDhrC4disf03dYW0e+czXyLnZINnCTEkWy0eJg==}
- engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
- hasBin: true
+ resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
+ engines: {node: '>=12'}
- resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
+ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==}
- engines: {node: '>=14.18'}
- hasBin: true
- peerDependencies:
- next: '*'
+ resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
- resolution: {integrity: sha512-s98mCOMOWLGGpGOfgKSnleXLuegvvH415qtRZXpSp00HeEgdmrxmwL9cgKU+h4XrhB16zEI5d/7BnkS3ATInsA==}
- engines: {node: '>=18.17.0'}
- hasBin: true
- peerDependencies:
- '@opentelemetry/api': ^1.1.0
- '@playwright/test': ^1.41.2
- react: ^18.2.0
- react-dom: ^18.2.0
- sass: ^1.3.0
- peerDependenciesMeta:
- '@opentelemetry/api':
- optional: true
- '@playwright/test':
- optional: true
- sass:
- optional: true
+ resolution: {integrity: sha512-Tte/grDQRiETQP4xz3iZWSvoHrkCQtwqd6hs+mifXcjrCuo2iKWbajFObuLJVBlDIJlOzgQPd1hsaKt/3+OMkQ==}
- resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
+ resolution: {integrity: sha512-TIvGp57UpeNetj/wV/xpFNpWGb0b/ROw372lHPx5Aafx02gjTBtWnEEcaSX3W2dLM3OSdGGyHX/cHl01JQsLaQ==}
- resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
- engines: {node: 4.x || >=6.0.0}
- peerDependencies:
- encoding: ^0.1.0
- peerDependenciesMeta:
- encoding:
- optional: true
+ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
- resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
+ resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
- resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
- engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==}
+ engines: {node: '>= 4'}
- resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==}
- resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==}
+ engines: {node: '>=10.13.0'}
- resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
- resolution: {integrity: sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
+ engines: {node: '>=0.12'}
- resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}
+ resolution: {integrity: sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==}
+ engines: {node: '>=0.12'}
+
+ resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}
+
+ resolution: {integrity: sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}
+ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}
+ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-xmaHk+pwv4T6QKoq553KeJlkZUV6WBVGU/dO7rppA7YFIvGf+xB1OQAkw8mcORtxtSHpiK5JiTQ+d7Bme/Y7Wg==}
+ resolution: {integrity: sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
- engines: {node: '>= 0.8.0'}
+ resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}
- resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
+ resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
- engines: {node: '>=10'}
+ resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
- engines: {node: '>=10'}
+ resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
+ resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
+ resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==}
-
- resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}
+ resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-FerU4DYccO4FgeYFFglz0SnaKRe1ejXQrDb8kWUkTAg036YWi+jUsgg4sIGNCDhAsDITsZaL4MzBWKB6f4G1Dg==}
+ peerDependencies:
+ eslint: ^7.23.0 || ^8.0.0 || ^9.0.0
+ typescript: '>=3.3.1'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
- resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
- engines: {node: '>=8'}
+ resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==}
+ hasBin: true
+ peerDependencies:
+ eslint: '>=7.0.0'
- resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
+ resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==}
- resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
- engines: {node: '>=16 || 14 >=14.18'}
+ resolution: {integrity: sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ peerDependencies:
+ eslint: '*'
+ eslint-plugin-import: '*'
+ eslint-plugin-import-x: '*'
+ peerDependenciesMeta:
+ eslint-plugin-import:
+ optional: true
+ eslint-plugin-import-x:
+ optional: true
- resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}
- engines: {node: 20 || >=22}
+ resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ '@typescript-eslint/parser': '*'
+ eslint: '*'
+ eslint-import-resolver-node: '*'
+ eslint-import-resolver-typescript: '*'
+ eslint-import-resolver-webpack: '*'
+ peerDependenciesMeta:
+ '@typescript-eslint/parser':
+ optional: true
+ eslint:
+ optional: true
+ eslint-import-resolver-node:
+ optional: true
+ eslint-import-resolver-typescript:
+ optional: true
+ eslint-import-resolver-webpack:
+ optional: true
- resolution: {integrity: sha512-jEY2DcbgCm5aclzBdfW86GM6VEIWcSlhTBSHN1qhJguVePlYe28GhwS0yoeLYXpM2K8y6wzLwrbq814n2PHSoQ==}
+ resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ '@typescript-eslint/parser': '*'
+ eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9
+ peerDependenciesMeta:
+ '@typescript-eslint/parser':
+ optional: true
- resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+ resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==}
+ engines: {node: '>=4.0'}
+ peerDependencies:
+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9
- resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
- engines: {node: '>=8.6'}
+ resolution: {integrity: sha512-9dF+KuU/Ilkq27A8idRP7N2DH8iUR6qXcjF3FR2wETY21PZdBrIjwCau8oboyGj9b7etWmTGEeM8e7oOed6ZWg==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+ peerDependencies:
+ '@types/eslint': '>=8.0.0'
+ eslint: '>=8.0.0'
+ eslint-config-prettier: '>= 7.0.0 <10.0.0 || >=10.1.0'
+ prettier: '>=3.0.0'
+ peerDependenciesMeta:
+ '@types/eslint':
+ optional: true
+ eslint-config-prettier:
+ optional: true
- resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
- engines: {node: '>=12'}
+ resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
- resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}
+ engines: {node: '>=4'}
+ peerDependencies:
+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
- resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
- engines: {node: ^10 || ^12 || >=14}
+ resolution: {integrity: sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==}
+ peerDependencies:
+ '@typescript-eslint/eslint-plugin': ^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0
+ eslint: ^9.0.0 || ^8.0.0
+ peerDependenciesMeta:
+ '@typescript-eslint/eslint-plugin':
+ optional: true
- resolution: {integrity: sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==}
+ resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
+ engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
- engines: {node: '>= 0.8.0'}
+ resolution: {integrity: sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}
- engines: {node: '>=6.0.0'}
+ resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
- engines: {node: '>=14'}
+ resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ resolution: {integrity: sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true
+ peerDependencies:
+ jiti: '*'
+ peerDependenciesMeta:
+ jiti:
+ optional: true
- resolution: {integrity: sha512-WQOWF/VB0pTJu7c3ko0y5w6HWDQf6Wm3ppvKDI7ET4OSYBDOvcliBRM1HFIHHkJPNa/1bYTzmUinjF8492oaBg==}
+ resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
+ resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==}
+ engines: {node: '>=0.10'}
- resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
+ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
+ engines: {node: '>=4.0'}
- resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
- engines: {node: '>=6'}
+ resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==}
+ engines: {node: '>=4.0'}
- resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
- engines: {node: '>=0.6'}
+ resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
+ engines: {node: '>=4.0'}
- resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
+ resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
+ engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-KpXypcvju9ptjW9FaN2NFcA2QH9E9LHKq169Y0eWtH4e/wHQ5Wh5qZakAgvb8EKZ736WZ3B0zLLOBsrsja5Dag==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
+ engines: {node: '>=0.8.x'}
- resolution: {integrity: sha512-aOAQc3E98HteIIsSqm6Xk2FPKIER6+5vyEFMZfo73TqM+VVAIqOkHoPjgKLqSNtVLWScoaM7vY2ZrGEheI79yg==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
- resolution: {integrity: sha512-swDdz4QZ4dFTo4RAUMLL50qP0EY62N2kvmk2We5xYdRwcRn8WcYtuetCJpwpaCbUfUt5+huLpVxhvmnK+PHrkA==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==}
- resolution: {integrity: sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==}
+ engines: {node: '>=8.6.0'}
- resolution: {integrity: sha512-DX6CIgiBWNpJIMGFO8BAISFkxiuKitoizooj4BDyee8/SnBn0zwO2FHrNDpqqepj0E/TFTDpmEBCyFuTgC7MOg==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}
+ engines: {node: '>=8.6.0'}
- resolution: {integrity: sha512-YDAlXsPv3I1n42dv1JpdM7wJ+gSUBfeyPK59ZpBD9jQhK9jVuxpjj3NmWQHOBceA1zEPVX84T2wbdb2SD0UjmA==}
- peerDependencies:
- react: '>=16.11.0'
- react-dom: '>=16.11.0'
+ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
- resolution: {integrity: sha512-hgKsCay2taxzVnBPZl+1n4ZondsV78G++XVsMIJCAoioMjlMQR9YwAp7JZDIECzIu2Z66R+f4SFIRrO2DjDNAA==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
- resolution: {integrity: sha512-cZ3HTyyckPnNnUb9/DRqduqzLfrQRyi+CdHjdqgsyDpI3Ln5UX1kXnAhPBSJj9pVRzwRFgqkN7p9b6HBDjmu/Q==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==}
- resolution: {integrity: sha512-bKaEvB5tHebUURAEXw35LDcnRZLq3x1k7GxfAqBMzmpHkDGzjAtnUL8y4y5N15rIFIg5IJgwr211jInl3cipag==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
- resolution: {integrity: sha512-KXvaTbX+7ha8a/k+eg6SYRVERK0NddX8QX7a7AnRvUa/rEH0CNMlpcBzBkhI0wp2C8C4HlMoYl8TImSN+fuHKA==}
+ resolution: {integrity: sha512-4BG7puHpVsIYxZUbiUE3RqGloLaSSwzYie5jvasC4LWuBWzZawynvYouhjbQKw2JuIGYdm0DzIxl8iVidKlUEw==}
peerDependencies:
- react: '>=16.0.0'
- react-dom: '>=16.0.0'
+ picomatch: ^3 || ^4
+ peerDependenciesMeta:
+ picomatch:
+ optional: true
- resolution: {integrity: sha512-w8HCMZEh3f0nR8ZEd466ATqmXFCMGMN5UFCzEUL0bM/nGw/wOS2GgRzKBcm19K++jDyuWCOJOdgcKGXU3fXfbQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
+ engines: {node: '>=16.0.0'}
- resolution: {integrity: sha512-ghHx6/6Dvp+fw8CJhDUHFHDJ84hJE3BXNCzSgLdmNiFErWSOaZNsihDAsKq9ByTALo/xkNIwtDFGIl6r+RPXBg==}
+ resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==}
+ engines: {node: '>= 10.13.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ webpack: ^4.0.0 || ^5.0.0
- resolution: {integrity: sha512-w+XTUrfh7ArbYEd2582uDrEhmBHwK1ZENJiSJVb7uRxdE7qJSYjbO2eksRXmndqyKqKoYPc9ClpPh5242mV1vA==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
+ engines: {node: '>=8'}
- resolution: {integrity: sha512-KcS4O6B4qzM3KH7lkwOB7ooLPZ4b6J+VMmQgT51VZCeEcmghdeR4IrMcFq0LG+RPdnbe/ArT086tGM8Snimgiw==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-3MoPQQPV1uKyOMVNd6SZfONi+f3st0r8PksexIdBTeIYbMX0Jr+k7pHEDvsXtR4BpCv90/Pv2MovVNhktKrwvw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
+ engines: {node: '>=16'}
- resolution: {integrity: sha512-8416Yip/+eclTFdHXLKTxZvn70duYVGTvUUWbckCCZoIl3jagqke3GLsFrMs0bsQBikiYpZLD9206Ej4SOdOXQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==}
+ hasBin: true
- resolution: {integrity: sha512-MJ5teb7FlNE0NFHTncxXQ62Y5lytq6sh5nUw0iH8OkHL/TjARSEvSHpr940pWgjGANpjCwyMdvsEV55l5tYNSg==}
- engines: {node: '>=8.x'}
+ resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==}
+
+ resolution: {integrity: sha512-OsTQyVWo1WYmEnnH7m3MRlk5NQq/+jXOLzv0WOk8GGn99LdQV1kNp3IOR6HYb+fwDqYebLPLAThS2pFEaDbyHQ==}
+
+ resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==}
+ engines: {node: '>=4.0'}
peerDependencies:
- date-fns: '>= 2.x'
- dayjs: '>= 1.x'
- luxon: '>= 3.x'
- moment: '>= 2.x'
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ debug: '*'
peerDependenciesMeta:
- date-fns:
- optional: true
- dayjs:
- optional: true
- luxon:
- optional: true
- moment:
+ debug:
optional: true
- resolution: {integrity: sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-QUhQ9ivQ8Gy7mtMZPAjLbxBt5y9GRp65VcUyGUMF3N3fhiftivPHdpuDIaWIMOTEprAjZPC08bls1dQB+I1F2Q==}
- engines: {node: '>=8.x'}
- peerDependencies:
+ resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
+ engines: {node: '>=14'}
+
+ resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
+
+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+
+ resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
+
+ resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
+ engines: {node: '>=6.9.0'}
+
+ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==}
+
+ resolution: {integrity: sha512-vXjx4vRBjw6rd3Zg73IMyNLZuPjs8/lE9gJZs270YJJI0t5vlCpdsyX5E0TmSd+KcRWzwPbwjwd6bnNpF72sFQ==}
+
+ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
+
+ resolution: {integrity: sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==}
+ engines: {node: 20 || >=22}
+ hasBin: true
+
+ resolution: {integrity: sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+
+ resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
+
+ resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
+
+ resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
+
+ resolution: {integrity: sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==}
+
+ resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==}
+
+ resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}
+ engines: {node: '>= 14'}
+
+ resolution: {integrity: sha512-f3frU3pIxD50/Tz20zx9TD9HobKYg47fmAETb117GKGPrhwcSSPJDoCposXlVycVebQ9GQohC3Efbpq7/nnJ5w==}
+
+ resolution: {integrity: sha512-gzVYct/sMeeOzomK0+8nl7YSr61xiDzf4Kg51g7StBaXAaKE/Vb1CLNHZ8dY56sYz6qmbwHRYHqMPanGi0go4w==}
+ hasBin: true
+
+ resolution: {integrity: sha512-okHbVA+HZ7n1/76MsfhPqDou0fptl2dAlhRDu2ideXloRRduzHsqDOznJBef+R3DFZnbvWoBW+KxJ7fnFjd6Yw==}
+
+ resolution: {integrity: sha512-lfbf80OzkocvX7nmZtu7nSTNbrTYR52sLWxPtlXX1zAhVw8WEnFk4puUkCR4B1dNQwbSpEHHHemcZu//7EcB7A==}
+ peerDependencies:
+ typescript: ^5
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
+ resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-yjD9nARJ/jb1g+CvD0tlhUHOrJ9Sy0P8T9MF3YaLlHnSRpwPfpTX0XIvpmw3gAJUmEu3FiICLBDPXVwyEvrleg==}
+
+ resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==}
+ engines: {node: '>= 4'}
+
+ resolution: {integrity: sha512-qHKXW1q6liAk1Oys6umoaZbDRqjcjgSrbnrifHsfsttza7zcvRAsL7mMV6xWcyhwQy7Xj5v4hhbr6b+iDYwlmQ==}
+
+ resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}
+ engines: {node: '>=0.8.19'}
+
+ resolution: {integrity: sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==}
+ engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
+
+ resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
+
+ resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==}
+
+ resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
+ engines: {node: '>=0.12.0'}
+
+ resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}
+ engines: {node: '>= 0.4'}
+
+ 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'}
+
+ resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
+
+ resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
+
+ resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
+ engines: {node: '>= 10.13.0'}
+
+ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
+
+ resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==}
+ engines: {node: '>=6'}
+ 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-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
+
+ resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
+
+ resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
+
+ resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==}
+
+ 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-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}
+ engines: {node: '>=4.0'}
+
+ resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
+
+ resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}
+
+ resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}
+ engines: {node: '>=0.10'}
+
+ resolution: {integrity: sha512-rx5X+Yds6MmIxGS+VVQBWhylPYxkOYmKXrWqQHc2rj2ewsoWMZS7OaTXk9UE8y95XV+D5CqLjaEj+IJgRmrIaw==}
+
+ resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
+
+ resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==}
+ engines: {node: '>=6.11.5'}
+
+ resolution: {integrity: sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==}
+ engines: {node: '>=8.9.0'}
+
+ resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-m+HUWra8Xs9aZV6EhDKgJNUsVedTbJnf4koIkv+rrnNy1GhmAETd/i54d2hPMPl9rfb4gtbGMWAFWNuwFzHmJA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-Gef3IrMDSB5ZuRbym9ktr7KXCTFjIvs1T2TEnaew5ed7BBwt3od0/sj8C7X9iGpRebHxG1kyF6hR6aK8iBPkLg==}
+
+ resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==}
+
+ resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
+
+ resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
+
+ resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+
+ resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
+ hasBin: true
+
+ resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}
+
+ resolution: {integrity: sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
+
+ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==}
+
+ resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
+
+ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
+ engines: {node: '>= 8'}
+
+ 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-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
+
+ resolution: {integrity: sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
+
+ resolution: {integrity: sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
+ engines: {node: '>=16 || 14 >=14.17'}
+
+ resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+
+ resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
+ resolution: {integrity: sha512-ZEzHJwBhZ8qQSbknHqYcdtQVr8zUgGyM/q6h6qAyhtyVMNrSgDhrC4disf03dYW0e+czXyLnZINnCTEkWy0eJg==}
+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+ hasBin: true
+
+ resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
+
+ resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
+
+ resolution: {integrity: sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==}
+ engines: {node: '>=14.18'}
+ hasBin: true
+ peerDependencies:
+ next: '*'
+
+ resolution: {integrity: sha512-s98mCOMOWLGGpGOfgKSnleXLuegvvH415qtRZXpSp00HeEgdmrxmwL9cgKU+h4XrhB16zEI5d/7BnkS3ATInsA==}
+ engines: {node: '>=18.17.0'}
+ hasBin: true
+ peerDependencies:
+ '@opentelemetry/api': ^1.1.0
+ '@playwright/test': ^1.41.2
+ react: ^18.2.0
+ react-dom: ^18.2.0
+ sass: ^1.3.0
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@playwright/test':
+ optional: true
+ sass:
+ optional: true
+
+ resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
+
+ resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
+ engines: {node: 4.x || >=6.0.0}
+ peerDependencies:
+ encoding: ^0.1.0
+ peerDependenciesMeta:
+ encoding:
+ optional: true
+
+ resolution: {integrity: sha512-7gK6zSXEH6neM212JgfYFXe+GmZQM+fia5SsusuBIUgnPheLFBmIPhtFoAQRj8/7wASYQnbDlHPVwY0BefoFgA==}
+
+ resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
+
+ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-xmaHk+pwv4T6QKoq553KeJlkZUV6WBVGU/dO7rppA7YFIvGf+xB1OQAkw8mcORtxtSHpiK5JiTQ+d7Bme/Y7Wg==}
+
+ resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
+ engines: {node: '>=10'}
+
+ resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
+
+ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==}
+
+ resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}
+
+ resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
+
+ resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}
+ engines: {node: '>=16 || 14 >=14.18'}
+
+ resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}
+ engines: {node: 20 || >=22}
+
+ resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-jEY2DcbgCm5aclzBdfW86GM6VEIWcSlhTBSHN1qhJguVePlYe28GhwS0yoeLYXpM2K8y6wzLwrbq814n2PHSoQ==}
+
+ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+
+ resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
+ engines: {node: '>=8.6'}
+
+ resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution: {integrity: sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==}
+
+ resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
+ engines: {node: '>= 0.8.0'}
+
+ resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==}
+ engines: {node: '>=6.0.0'}
+
+ resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
+ engines: {node: '>=14'}
+ hasBin: true
+
+ resolution: {integrity: sha512-WQOWF/VB0pTJu7c3ko0y5w6HWDQf6Wm3ppvKDI7ET4OSYBDOvcliBRM1HFIHHkJPNa/1bYTzmUinjF8492oaBg==}
+
+ resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
+
+ resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
+
+ resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-mZSiP6RnbHl4xL2Ap5HfkjLnmxfKcPWpWe/c+5XxCuetEenqmNFf1FH/ftXPCtFG5/TDobjsjz6sSNL0Sr8Z9g==}
+
+ resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
+ engines: {node: '>=0.6'}
+
+ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
+
+ resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}
+
+ resolution: {integrity: sha512-KpXypcvju9ptjW9FaN2NFcA2QH9E9LHKq169Y0eWtH4e/wHQ5Wh5qZakAgvb8EKZ736WZ3B0zLLOBsrsja5Dag==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-aOAQc3E98HteIIsSqm6Xk2FPKIER6+5vyEFMZfo73TqM+VVAIqOkHoPjgKLqSNtVLWScoaM7vY2ZrGEheI79yg==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-swDdz4QZ4dFTo4RAUMLL50qP0EY62N2kvmk2We5xYdRwcRn8WcYtuetCJpwpaCbUfUt5+huLpVxhvmnK+PHrkA==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-DX6CIgiBWNpJIMGFO8BAISFkxiuKitoizooj4BDyee8/SnBn0zwO2FHrNDpqqepj0E/TFTDpmEBCyFuTgC7MOg==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-YDAlXsPv3I1n42dv1JpdM7wJ+gSUBfeyPK59ZpBD9jQhK9jVuxpjj3NmWQHOBceA1zEPVX84T2wbdb2SD0UjmA==}
+ peerDependencies:
+ react: '>=16.11.0'
+ react-dom: '>=16.11.0'
+
+ resolution: {integrity: sha512-hgKsCay2taxzVnBPZl+1n4ZondsV78G++XVsMIJCAoioMjlMQR9YwAp7JZDIECzIu2Z66R+f4SFIRrO2DjDNAA==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-cZ3HTyyckPnNnUb9/DRqduqzLfrQRyi+CdHjdqgsyDpI3Ln5UX1kXnAhPBSJj9pVRzwRFgqkN7p9b6HBDjmu/Q==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-bKaEvB5tHebUURAEXw35LDcnRZLq3x1k7GxfAqBMzmpHkDGzjAtnUL8y4y5N15rIFIg5IJgwr211jInl3cipag==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-KXvaTbX+7ha8a/k+eg6SYRVERK0NddX8QX7a7AnRvUa/rEH0CNMlpcBzBkhI0wp2C8C4HlMoYl8TImSN+fuHKA==}
+ peerDependencies:
+ react: '>=16.0.0'
+ react-dom: '>=16.0.0'
+
+ resolution: {integrity: sha512-w8HCMZEh3f0nR8ZEd466ATqmXFCMGMN5UFCzEUL0bM/nGw/wOS2GgRzKBcm19K++jDyuWCOJOdgcKGXU3fXfbQ==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-ghHx6/6Dvp+fw8CJhDUHFHDJ84hJE3BXNCzSgLdmNiFErWSOaZNsihDAsKq9ByTALo/xkNIwtDFGIl6r+RPXBg==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-w+XTUrfh7ArbYEd2582uDrEhmBHwK1ZENJiSJVb7uRxdE7qJSYjbO2eksRXmndqyKqKoYPc9ClpPh5242mV1vA==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-KcS4O6B4qzM3KH7lkwOB7ooLPZ4b6J+VMmQgT51VZCeEcmghdeR4IrMcFq0LG+RPdnbe/ArT086tGM8Snimgiw==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-3MoPQQPV1uKyOMVNd6SZfONi+f3st0r8PksexIdBTeIYbMX0Jr+k7pHEDvsXtR4BpCv90/Pv2MovVNhktKrwvw==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-8416Yip/+eclTFdHXLKTxZvn70duYVGTvUUWbckCCZoIl3jagqke3GLsFrMs0bsQBikiYpZLD9206Ej4SOdOXQ==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-MJ5teb7FlNE0NFHTncxXQ62Y5lytq6sh5nUw0iH8OkHL/TjARSEvSHpr940pWgjGANpjCwyMdvsEV55l5tYNSg==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ date-fns: '>= 2.x'
+ dayjs: '>= 1.x'
+ luxon: '>= 3.x'
+ moment: '>= 2.x'
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+ peerDependenciesMeta:
+ date-fns:
+ optional: true
+ dayjs:
+ optional: true
+ luxon:
+ optional: true
+ moment:
+ optional: true
+
+ resolution: {integrity: sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-QUhQ9ivQ8Gy7mtMZPAjLbxBt5y9GRp65VcUyGUMF3N3fhiftivPHdpuDIaWIMOTEprAjZPC08bls1dQB+I1F2Q==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-YZLjUbyIWox8E9i9C3Tm7ia+W7euPItNWSPX5sCcQTYbnwDb5uNpnLHQCG1f22oZWUhLw4Mv2tFmeWe68CDQRQ==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-liijAjXz+KnTRVnxxXG2sYDGd6iLL7VpGGdR8gwoxAXy2KglviKCxLWZdjKYJzYzGSUwKDSTdYk8brj54Bn5BA==}
+ peerDependencies:
+ react: '>=16.0.0'
+ react-dom: '>=16.0.0'
+
+ resolution: {integrity: sha512-NOV5BZa1wZrsdkKaiK7LHRuo5ZjZYMDxPP6/1+09+FB4KoNi8jcG1ZqLE3AVCxEsYMBe65OBx71wFoHRTP3LRg==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '*'
+ react-dom: '*'
+
+ resolution: {integrity: sha512-2gg/72YFSpKP+Ja5AjC5DPL1YnV8DEITDQrcc1eASrUYjl0esptaBVJBh5nLTXCCp15eD8EuGjwezVGSHhs9tQ==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-FDZu8aolhSYd3v9KOc3lZOVAU77wmRRu44R0Wfb8Oj1dXRUsloFaXMSl6f7yuWZUxArJTli7k8TEOX2mvhDl4A==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-/HzDV1VqOsUWyuC0c6AkxVYFjvx9+rFPKZ32ejxX0Uc7QCzcEjTA9/xMgv4HemPKwzBNX8KhGVbbumDjnj92aA==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-ai9IkanNuyBS4x6sOL8qu/Ld40e6cEs6pgk93R+XLYg0mDSjNBGey6/ZpDs5+gNLD7urQ14po3V6Ck2dJLt9SA==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-kqyivim5cp8I5RkHmpsp1Nn/Wk+1oeloMv9c7LXNgDxUpGm+RbXJGL+OPvDlcRnx9DBeOe4wyOIl4OKUERyH1g==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-2qTBTzwIT7LRI1o7zLyrCzmo5tQanmyGbSaGTIf7sYimCklAToVVfpMC6OAldSKolcnjorBYPNSKQqJmN3TCww==}
+ peerDependencies:
+ react: '*'
+ react-dom: '*'
+
+ resolution: {integrity: sha512-FNhIefhftobCdUJshO7M8uZTA9F4OPGVXqGfZkkD/5soDeOhwO06T/aKTrg0WD8gRg/pyfq+ql3aMymLHCTC4A==}
+ engines: {node: '>=10.x'}
+ peerDependencies:
+ react: '*'
+ react-dom: '*'
+
+ resolution: {integrity: sha512-nHx+9rbd1FKMiMRYsqQ3NkXUv7COHPBo3X1Obwq9SWS6/diF/A0aJ5OHubvwUAIDs+4RMleljV0pcrNUc823GQ==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-resueRJzmHG9Q6rI/DfK6Kdv9/Lfls05vzMs1Sk3M2P+3cJa+MakaZyWY8IPfehVuhPJFKrIY1IK4GqbiaiY5w==}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-TQ5SsutL3McvWmmxqQtMIbfeoE3dGjJrRSfKekgby7WQMpPIFvv4ghytp5Z0s3D8Nik9i9YNOCqHBfk86AwgAA==}
+ engines: {node: '>=8.x'}
+ peerDependencies:
+ react: '>=16.9.0'
+ react-dom: '>=16.9.0'
+
+ resolution: {integrity: sha512-L6wBhp64fAr/FPhjfkuf9Lx6dAbfkznROcBMj55tVamw6ddTvhcgoqu89a3lUJCaALJkZe/mTcQoNM0P09RpQg==}
+ hasBin: true
+
+ resolution: {integrity: sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==}
+
+ resolution: {integrity: sha512-QeoM/i73HHu2XF9aKksIUuamHPDvRglEwdHL4jsp784BgUuWcg6mzfxT0QDdQz8Wj0qyRKx2eMg8iZtWvU4E2Q==}
+ peerDependencies:
+ '@types/hoist-non-react-statics': '>= 3.3.1'
+ '@types/node': '>= 12'
+ '@types/react': '>= 16'
+ react: '>= 16.14'
+ peerDependenciesMeta:
+ '@types/hoist-non-react-statics':
+ optional: true
+ '@types/node':
+ optional: true
+ '@types/react':
+ optional: true
+
+ resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
+ peerDependencies:
+ react: ^18.3.1
+
+ resolution: {integrity: sha512-ahGab+IaSgZmNPYXdV1n+OYky95TGpFwnKRflX/16dY04DsYYKHtVLjeny7sBSCREEcoMbAgSkFiGLF5g5Oofw==}
+ peerDependencies:
+ i18next: '>= 23.2.3'
+ react: '>= 16.8.0'
+ react-dom: '*'
+ react-native: '*'
+ peerDependenciesMeta:
+ react-dom:
+ optional: true
+ react-native:
+ optional: true
+
+ resolution: {integrity: sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==}
+ peerDependencies:
+ react: '*'
+
+ resolution: {integrity: sha512-SQu5nCqy8DxQWpnUVLx7V7b7LcA37aM7tvoWjTLZp1dk6EJibM5/4EJKzOnl07/BsM1Y40sKLuqjCwwH/xV0TQ==}
+ peerDependencies:
+ react: '>=16.0.0'
+
+ resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
+
+ resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}
+
+ resolution: {integrity: sha512-TcDdsJQe7P0OY7uA7Do4Z0DfIIjjqx81RbBGQY+90T2Ba42pUCx/cSI2UTwPPoH9WwE0StLb8A98mFgKIAI4JQ==}
+ peerDependencies:
+ react: '>=18.0.0'
+ react-dom: '>=18.0.0'
+
+ resolution: {integrity: sha512-fc7cBosfhnbh53Mbm6a45W+F735jwZ1UFIYSrIqcO/gRIFoDyZeMtgKlpV4DdyQfbCzdh5LoALLTDRxhMpTyXQ==}
+ peerDependencies:
+ '@types/sortablejs': '1'
react: '>=16.9.0'
react-dom: '>=16.9.0'
+ sortablejs: '1'
+
+ resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
+ peerDependencies:
+ react: '>=16.6.0'
+ react-dom: '>=16.6.0'
+
+ resolution: {integrity: sha512-Z48el73x+7HUEM131dof9YpcQ5IlM4xB+pKWH/lX3FhxGfQaNTZa16zb7pWkC/y5btTZzXfCtglIJEGc57giOw==}
+ peerDependencies:
+ react: '>=16.8.0'
+ react-dom: '>=16.8.0'
+
+ resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
+ engines: {node: '>= 14.18.0'}
+
+ resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==}
+
+ 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-ulzJYRb0qgR4t8eTgHeL7nnKL/4ul2yjnuTBEDIpYG7cSs8CcADE1q18RFFChXLP8WwRgPrHThGbYplvASdujw==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==}
+
+ resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==}
+ hasBin: true
+
+ resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==}
+
+ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
+
+ resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==}
+ engines: {node: '>= 0.4'}
+ hasBin: true
+
+ resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-b3IW7ge0nxbWOhbUGO/WULL4NG5ctrpey+UgDIwRq5K4Bblna4t1hLMbA2DZC9Y6e8U/zLuRJHg+qEOVKOoypQ==}
+
+ resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==}
+ engines: {node: '>=14'}
+ hasBin: true
+
+ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
+
+ resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
+ engines: {node: '>=0.4'}
+
+ resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
+
+ resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
+
+ resolution: {integrity: sha512-eMLLkl+qz7tx/0cJ9wI+w09GQ2zodTkcE/aVfywwdlRcI3EO19xGnbmJwg/JMIm+5MxVJ6outddLZ4Von4E++Q==}
+ engines: {node: '>=14.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==}
+
+ resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
+
+ resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==}
+ engines: {node: '>= 10.13.0'}
+
+ resolution: {integrity: sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==}
+ engines: {node: '>= 10.13.0'}
+
+ resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==}
+
+ resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
+
+ resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
+ engines: {node: '>=8'}
- resolution: {integrity: sha512-YZLjUbyIWox8E9i9C3Tm7ia+W7euPItNWSPX5sCcQTYbnwDb5uNpnLHQCG1f22oZWUhLw4Mv2tFmeWe68CDQRQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
+ engines: {node: '>=8'}
- resolution: {integrity: sha512-liijAjXz+KnTRVnxxXG2sYDGd6iLL7VpGGdR8gwoxAXy2KglviKCxLWZdjKYJzYzGSUwKDSTdYk8brj54Bn5BA==}
- peerDependencies:
- react: '>=16.0.0'
- react-dom: '>=16.0.0'
+ resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-NOV5BZa1wZrsdkKaiK7LHRuo5ZjZYMDxPP6/1+09+FB4KoNi8jcG1ZqLE3AVCxEsYMBe65OBx71wFoHRTP3LRg==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '*'
- react-dom: '*'
+ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-2gg/72YFSpKP+Ja5AjC5DPL1YnV8DEITDQrcc1eASrUYjl0esptaBVJBh5nLTXCCp15eD8EuGjwezVGSHhs9tQ==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==}
- engines: {node: '>=8.x'}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+ engines: {node: '>=14'}
- resolution: {integrity: sha512-FDZu8aolhSYd3v9KOc3lZOVAU77wmRRu44R0Wfb8Oj1dXRUsloFaXMSl6f7yuWZUxArJTli7k8TEOX2mvhDl4A==}
- engines: {node: '>=8.x'}
+ resolution: {integrity: sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==}
+
+ 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-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}
+
+ resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==}
+ deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility'
+
+ resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
+ engines: {node: '>=10.0.0'}
+
+ resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==}
+
+ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==}
+
+ resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-4/Fc8WshjKl/6MctVvdcdH3pQpbSP3J481hMUo9qMSpEK+piDYKYg8oSTGGKFMt2AyeZCQCnGF1uMq3i/xg/wQ==}
+
+ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
+ engines: {node: '>=4'}
+
+ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}
+ engines: {node: '>= 12.0.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@babel/core': '*'
+ babel-plugin-macros: '*'
+ react: '>= 16.8.0 || 17.x.x || ^18.0.0-0'
+ peerDependenciesMeta:
+ '@babel/core':
+ optional: true
+ babel-plugin-macros:
+ optional: true
- resolution: {integrity: sha512-/HzDV1VqOsUWyuC0c6AkxVYFjvx9+rFPKZ32ejxX0Uc7QCzcEjTA9/xMgv4HemPKwzBNX8KhGVbbumDjnj92aA==}
- engines: {node: '>=8.x'}
+ resolution: {integrity: sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==}
+
+ 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'}
+
+ resolution: {integrity: sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ==}
+
+ resolution: {integrity: sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-RMeVUUjTQH+6N3ckimK93oxz6Sn5la4aDlgPzB+rBrG/smPdCTicXyhxa+woIpopz+jewEloiEE3lKo1h9w2YQ==}
+ engines: {node: '>= 4.7.0'}
+
+ resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==}
+ engines: {node: ^14.18.0 || >=16.0.0}
+
+ resolution: {integrity: sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==}
+ engines: {node: '>= 10.13.0'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ '@swc/core': '*'
+ esbuild: '*'
+ uglify-js: '*'
+ webpack: ^5.1.0
+ peerDependenciesMeta:
+ '@swc/core':
+ optional: true
+ esbuild:
+ optional: true
+ uglify-js:
+ optional: true
- resolution: {integrity: sha512-ai9IkanNuyBS4x6sOL8qu/Ld40e6cEs6pgk93R+XLYg0mDSjNBGey6/ZpDs5+gNLD7urQ14po3V6Ck2dJLt9SA==}
+ resolution: {integrity: sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-H7oLPV0P7+jgvrk+6mwwwBDmxTaxnu9HMXmloNLXwnNO0ZxZ31Orah2n8lU1eMPvsaowP2CX+USCgyovXfdOFQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==}
+ engines: {node: '>=12.22'}
+
+ resolution: {integrity: sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==}
+
+ resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
+ engines: {node: '>=12.0.0'}
+
+ resolution: {integrity: sha512-fJQcBIY/ebEYDagOA0IY2PKYs2OJtBo0UGO+O2huyTkL9h+1Fg75DKw0JHkzXA1C56ejQdLW7S9YS/IL9rOpmQ==}
+
+ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
+ engines: {node: '>=8.0'}
+
+ resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==}
+
+ resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+
+ resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
+ engines: {node: '>=18.12'}
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ typescript: '>=4.8.4'
+
+ resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
+
+ resolution: {integrity: sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==}
+
+ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
+ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
+ engines: {node: '>= 0.8.0'}
+
+ 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-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
+ resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
+ engines: {node: '>= 0.4'}
+
+ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
- resolution: {integrity: sha512-kqyivim5cp8I5RkHmpsp1Nn/Wk+1oeloMv9c7LXNgDxUpGm+RbXJGL+OPvDlcRnx9DBeOe4wyOIl4OKUERyH1g==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
+ engines: {node: '>=4'}
- resolution: {integrity: sha512-2qTBTzwIT7LRI1o7zLyrCzmo5tQanmyGbSaGTIf7sYimCklAToVVfpMC6OAldSKolcnjorBYPNSKQqJmN3TCww==}
- peerDependencies:
- react: '*'
- react-dom: '*'
+ resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==}
+ engines: {node: '>=4'}
- resolution: {integrity: sha512-FNhIefhftobCdUJshO7M8uZTA9F4OPGVXqGfZkkD/5soDeOhwO06T/aKTrg0WD8gRg/pyfq+ql3aMymLHCTC4A==}
- engines: {node: '>=10.x'}
- peerDependencies:
- react: '*'
- react-dom: '*'
+ resolution: {integrity: sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==}
+ engines: {node: '>=4'}
- resolution: {integrity: sha512-nHx+9rbd1FKMiMRYsqQ3NkXUv7COHPBo3X1Obwq9SWS6/diF/A0aJ5OHubvwUAIDs+4RMleljV0pcrNUc823GQ==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==}
+ engines: {node: '>=4'}
- resolution: {integrity: sha512-resueRJzmHG9Q6rI/DfK6Kdv9/Lfls05vzMs1Sk3M2P+3cJa+MakaZyWY8IPfehVuhPJFKrIY1IK4GqbiaiY5w==}
- peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ resolution: {integrity: sha512-OhuAzBImFPjKNgZ2JwHMfGFUA6NSbRegd1+BPjC1Y0E6X9Y/vJ4zKeGmIMqmlYboj6cMNEwKI+xQisrg4J0HaQ==}
- resolution: {integrity: sha512-TQ5SsutL3McvWmmxqQtMIbfeoE3dGjJrRSfKekgby7WQMpPIFvv4ghytp5Z0s3D8Nik9i9YNOCqHBfk86AwgAA==}
- engines: {node: '>=8.x'}
+ resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
+ hasBin: true
peerDependencies:
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
+ browserslist: '>= 4.21.0'
- resolution: {integrity: sha512-L6wBhp64fAr/FPhjfkuf9Lx6dAbfkznROcBMj55tVamw6ddTvhcgoqu89a3lUJCaALJkZe/mTcQoNM0P09RpQg==}
- hasBin: true
+ resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
- resolution: {integrity: sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==}
+ resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
+ engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-QeoM/i73HHu2XF9aKksIUuamHPDvRglEwdHL4jsp784BgUuWcg6mzfxT0QDdQz8Wj0qyRKx2eMg8iZtWvU4E2Q==}
- peerDependencies:
- '@types/hoist-non-react-statics': '>= 3.3.1'
- '@types/node': '>= 12'
- '@types/react': '>= 16'
- react: '>= 16.14'
- peerDependenciesMeta:
- '@types/hoist-non-react-statics':
- optional: true
- '@types/node':
- optional: true
- '@types/react':
- optional: true
+ resolution: {integrity: sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==}
+ engines: {node: '>=10.13.0'}
- resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
- peerDependencies:
- react: ^18.3.1
+ resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
- resolution: {integrity: sha512-ahGab+IaSgZmNPYXdV1n+OYky95TGpFwnKRflX/16dY04DsYYKHtVLjeny7sBSCREEcoMbAgSkFiGLF5g5Oofw==}
+ resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
peerDependencies:
- i18next: '>= 23.2.3'
- react: '>= 16.8.0'
- react-dom: '*'
- react-native: '*'
+ webpack-cli: '*'
peerDependenciesMeta:
- react-dom:
- optional: true
- react-native:
+ webpack-cli:
optional: true
- resolution: {integrity: sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==}
- peerDependencies:
- react: '*'
+ resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
- resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
+ resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}
+ resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-fc7cBosfhnbh53Mbm6a45W+F735jwZ1UFIYSrIqcO/gRIFoDyZeMtgKlpV4DdyQfbCzdh5LoALLTDRxhMpTyXQ==}
- peerDependencies:
- '@types/sortablejs': '1'
- react: '>=16.9.0'
- react-dom: '>=16.9.0'
- sortablejs: '1'
+ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
- peerDependencies:
- react: '>=16.6.0'
- react-dom: '>=16.6.0'
+ resolution: {integrity: sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==}
+ engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-Z48el73x+7HUEM131dof9YpcQ5IlM4xB+pKWH/lX3FhxGfQaNTZa16zb7pWkC/y5btTZzXfCtglIJEGc57giOw==}
- peerDependencies:
- react: '>=16.8.0'
- react-dom: '>=16.8.0'
+ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
+ engines: {node: '>= 8'}
+ hasBin: true
- resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
+ resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
- engines: {node: '>= 14.18.0'}
+ resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==}
+ resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
+ engines: {node: '>=12'}
- resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}
- engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-uLdfmBHCG4ftZdgLHhzP7qFTt8/pOv4Hpr1lWcX0HKLZdvhu5f7zThLlPFHnXH7mHbFT+6LCaf82UB3zbLpweQ==}
- resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}
- engines: {node: '>= 0.4'}
+ xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz:
+ resolution: {tarball: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz}
+ version: 0.20.3
+ engines: {node: '>=0.8'}
+ hasBin: true
- resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==}
+ resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==}
+ hasBin: true
- resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
- engines: {node: '>=4'}
+ resolution: {integrity: sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==}
+ engines: {node: '>=4.0.0'}
- resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
+ resolution: {integrity: sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==}
+ engines: {node: '>=4.0'}
- resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==}
- engines: {node: '>= 0.4'}
- hasBin: true
+ resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
- resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==}
+ resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
+ engines: {node: '>= 6'}
+
+ resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==}
+ engines: {node: '>= 14.6'}
hasBin: true
- resolution: {integrity: sha512-b3IW7ge0nxbWOhbUGO/WULL4NG5ctrpey+UgDIwRq5K4Bblna4t1hLMbA2DZC9Y6e8U/zLuRJHg+qEOVKOoypQ==}
+ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
+ engines: {node: '>=10'}
- resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
- engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
+ resolution: {integrity: sha512-41dFXEEXuJpNecuUQq6JlbybmnHaqqpGlbH1yxnA5V9MMP4SbohSVZsJIwz+zdjQXSSlR1Vc34EgH1zxyTDvhg==}
- resolution: {integrity: sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==}
- engines: {node: '>=14'}
- hasBin: true
+ resolution: {integrity: sha512-mILtRfKW9xM47hqxGIxCv12gXusoY/xTSHBYApXozR0HmQv299whhBeeAcRy+KrPPybzosvJBCOmVjq6x12fCg==}
+ engines: {node: '>=12.20.0'}
+ peerDependencies:
+ '@types/react': '>=18.0.0'
+ immer: '>=9.0.6'
+ react: '>=18.0.0'
+ use-sync-external-store: '>=1.2.0'
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ immer:
+ optional: true
+ react:
+ optional: true
+ use-sync-external-store:
+ optional: true
- resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
+snapshots:
- resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
- engines: {node: '>=0.4'}
+ '@ant-design/[email protected]':
+ dependencies:
+ '@ant-design/fast-color': 2.0.6
- resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==}
- engines: {node: '>= 0.4'}
+ '@ant-design/[email protected]':
+ dependencies:
+ '@ant-design/fast-color': 3.0.0
- resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@ant-design/cssinjs': 1.23.0([email protected]([email protected]))([email protected])
+ '@babel/runtime': 7.27.6
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+
+ dependencies:
+ '@babel/runtime': 7.27.6
+ '@emotion/hash': 0.8.0
+ '@emotion/unitless': 0.7.5
+ classnames: 2.5.1
+ csstype: 3.1.3
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+ stylis: 4.3.6
+
+ '@ant-design/[email protected]':
+ dependencies:
+ '@babel/runtime': 7.27.6
+
+ '@ant-design/[email protected]': {}
+
+ '@ant-design/[email protected]': {}
+
+ dependencies:
+ '@ant-design/colors': 7.2.1
+ '@ant-design/icons-svg': 4.4.2
+ '@babel/runtime': 7.27.6
+ classnames: 2.5.1
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
- resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
+ dependencies:
+ '@ant-design/colors': 8.0.0
+ '@ant-design/icons-svg': 4.4.2
+ classnames: 2.5.1
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
- resolution: {integrity: sha512-eMLLkl+qz7tx/0cJ9wI+w09GQ2zodTkcE/aVfywwdlRcI3EO19xGnbmJwg/JMIm+5MxVJ6outddLZ4Von4E++Q==}
- engines: {node: '>=14.0.0'}
- hasBin: true
+ dependencies:
+ '@ant-design/cssinjs': 1.23.0([email protected]([email protected]))([email protected])
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
- resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==}
+ dependencies:
+ '@babel/runtime': 7.27.6
+ classnames: 2.5.1
+ json2mq: 0.2.0
+ react: 18.3.1
+ resize-observer-polyfill: 1.5.1
+ throttle-debounce: 5.0.2
- resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-validator-identifier': 7.27.1
+ js-tokens: 4.0.0
+ picocolors: 1.1.1
- resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==}
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.28.3
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
+ '@babel/helpers': 7.28.4
+ '@babel/parser': 7.28.4
+ '@babel/template': 7.27.2
+ '@babel/traverse': 7.28.4
+ '@babel/types': 7.28.4
+ '@jridgewell/remapping': 2.3.5
+ convert-source-map: 2.0.0
+ debug: 4.4.1
+ gensync: 1.0.0-beta.2
+ json5: 2.2.3
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
- hasBin: true
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.28.4
+ '@babel/types': 7.28.4
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.30
+ jsesc: 3.1.0
- resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==}
- engines: {node: '>=10'}
- hasBin: true
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.4
- resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
- engines: {node: '>= 0.4'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/compat-data': 7.28.4
+ '@babel/helper-validator-option': 7.27.1
+ browserslist: 4.25.4
+ lru-cache: 5.1.1
+ semver: 6.3.1
- resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-member-expression-to-functions': 7.27.1
+ '@babel/helper-optimise-call-expression': 7.27.1
+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/traverse': 7.28.4
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ regexpu-core: 6.3.0
+ semver: 6.3.1
- resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
- engines: {node: '>=8'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ debug: 4.4.1
+ lodash.debounce: 4.0.8
+ resolve: 1.22.10
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
- engines: {node: '>=8'}
+ '@babel/[email protected]': {}
- resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==}
- engines: {node: '>= 0.4'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.28.4
+ '@babel/types': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}
- engines: {node: '>= 0.4'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.28.4
+ '@babel/types': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}
- engines: {node: '>= 0.4'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.4
- resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
- engines: {node: '>=14'}
+ '@babel/[email protected]': {}
- resolution: {integrity: sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-wrap-function': 7.28.3
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
- engines: {node: '>=0.10.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-member-expression-to-functions': 7.27.1
+ '@babel/helper-optimise-call-expression': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.28.4
+ '@babel/types': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
- engines: {node: '>= 0.4'}
+ '@babel/[email protected]': {}
- resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
- engines: {node: '>=10.0.0'}
+ '@babel/[email protected]': {}
- resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==}
+ '@babel/[email protected]': {}
- resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
- engines: {node: '>=8'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.27.2
+ '@babel/traverse': 7.28.4
+ '@babel/types': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
- engines: {node: '>=12'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.27.2
+ '@babel/types': 7.28.4
- resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==}
- engines: {node: '>= 0.4'}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.28.4
- resolution: {integrity: sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}
- engines: {node: '>= 0.4'}
+ '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-4/Fc8WshjKl/6MctVvdcdH3pQpbSP3J481hMUo9qMSpEK+piDYKYg8oSTGGKFMt2AyeZCQCnGF1uMq3i/xg/wQ==}
+ '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/[email protected])':
+ dependencies:
+ '@babel/core': 7.28.4
- resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
- engines: {node: '>=8'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
- engines: {node: '>=12'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
- engines: {node: '>=4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
- engines: {node: '>=8'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}
- engines: {node: '>= 12.0.0'}
- peerDependencies:
- '@babel/core': '*'
- babel-plugin-macros: '*'
- react: '>= 16.8.0 || 17.x.x || ^18.0.0-0'
- peerDependenciesMeta:
- '@babel/core':
- optional: true
- babel-plugin-macros:
- optional: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
- engines: {node: '>=8'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-remap-async-to-generator': 7.27.1(@babel/[email protected])
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-remap-async-to-generator': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-RMeVUUjTQH+6N3ckimK93oxz6Sn5la4aDlgPzB+rBrG/smPdCTicXyhxa+woIpopz+jewEloiEE3lKo1h9w2YQ==}
- engines: {node: '>= 4.7.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==}
- engines: {node: ^14.18.0 || >=16.0.0}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==}
- engines: {node: '>=12.22'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
- engines: {node: '>=12.0.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-globals': 7.28.0
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-fJQcBIY/ebEYDagOA0IY2PKYs2OJtBo0UGO+O2huyTkL9h+1Fg75DKw0JHkzXA1C56ejQdLW7S9YS/IL9rOpmQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/template': 7.27.2
- resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
- engines: {node: '>=8.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
- engines: {node: '>=18.12'}
- peerDependencies:
- typescript: '>=4.8.4'
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/plugin-transform-destructuring': 7.28.0(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
- engines: {node: '>= 0.8.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
- engines: {node: '>=14.17'}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-OhuAzBImFPjKNgZ2JwHMfGFUA6NSbRegd1+BPjC1Y0E6X9Y/vJ4zKeGmIMqmlYboj6cMNEwKI+xQisrg4J0HaQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==}
- engines: {node: '>=0.10.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-module-transforms': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==}
- engines: {node: '>= 0.4'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/plugin-transform-destructuring': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.27.7(@babel/[email protected])
+ '@babel/traverse': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
- engines: {node: '>= 8'}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-replace-supers': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}
- engines: {node: '>=0.10.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
- engines: {node: '>=10'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
- engines: {node: '>=12'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-uLdfmBHCG4ftZdgLHhzP7qFTt8/pOv4Hpr1lWcX0HKLZdvhu5f7zThLlPFHnXH7mHbFT+6LCaf82UB3zbLpweQ==}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz:
- resolution: {tarball: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz}
- version: 0.20.3
- engines: {node: '>=0.8'}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==}
- engines: {node: '>=4.0.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==}
- engines: {node: '>=4.0'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==}
- engines: {node: '>= 14.6'}
- hasBin: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/plugin-transform-react-jsx': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
- engines: {node: '>=10'}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])
+ '@babel/types': 7.28.4
+ transitivePeerDependencies:
+ - supports-color
- resolution: {integrity: sha512-mILtRfKW9xM47hqxGIxCv12gXusoY/xTSHBYApXozR0HmQv299whhBeeAcRy+KrPPybzosvJBCOmVjq6x12fCg==}
- engines: {node: '>=12.20.0'}
- peerDependencies:
- '@types/react': '>=18.0.0'
- immer: '>=9.0.6'
- react: '>=18.0.0'
- use-sync-external-store: '>=1.2.0'
- peerDependenciesMeta:
- '@types/react':
- optional: true
- immer:
- optional: true
- react:
- optional: true
- use-sync-external-store:
- optional: true
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-plugin-utils': 7.27.1
-snapshots:
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- '@ant-design/[email protected]':
dependencies:
- '@ant-design/fast-color': 2.0.6
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
- '@ant-design/[email protected]':
dependencies:
- '@ant-design/fast-color': 3.0.0
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
dependencies:
- '@ant-design/cssinjs': 1.23.0([email protected]([email protected]))([email protected])
- '@babel/runtime': 7.27.6
- react: 18.3.1
- react-dom: 18.3.1([email protected])
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
dependencies:
- '@babel/runtime': 7.27.6
- '@emotion/hash': 0.8.0
- '@emotion/unitless': 0.7.5
- classnames: 2.5.1
- csstype: 3.1.3
- react: 18.3.1
- react-dom: 18.3.1([email protected])
- stylis: 4.3.6
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
- '@ant-design/[email protected]':
dependencies:
- '@babel/runtime': 7.27.6
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- '@ant-design/[email protected]': {}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
- '@ant-design/[email protected]': {}
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
dependencies:
- '@ant-design/colors': 7.2.1
- '@ant-design/icons-svg': 4.4.2
- '@babel/runtime': 7.27.6
- classnames: 2.5.1
- react: 18.3.1
- react-dom: 18.3.1([email protected])
+ '@babel/core': 7.28.4
+ '@babel/helper-annotate-as-pure': 7.27.3
+ '@babel/helper-create-class-features-plugin': 7.28.3(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-skip-transparent-expression-wrappers': 7.27.1
+ '@babel/plugin-syntax-typescript': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/[email protected])
+ '@babel/helper-plugin-utils': 7.27.1
+
+ dependencies:
+ '@babel/compat-data': 7.28.4
+ '@babel/core': 7.28.4
+ '@babel/helper-compilation-targets': 7.27.2
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-option': 7.27.1
+ '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.27.1(@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.3(@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.27.1(@babel/[email protected])
+ '@babel/plugin-syntax-import-attributes': 7.27.1(@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.28.0(@babel/[email protected])
+ '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-block-scoping': 7.28.4(@babel/[email protected])
+ '@babel/plugin-transform-class-properties': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-class-static-block': 7.28.3(@babel/[email protected])
+ '@babel/plugin-transform-classes': 7.28.4(@babel/[email protected])
+ '@babel/plugin-transform-computed-properties': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-destructuring': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-dynamic-import': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-explicit-resource-management': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-exponentiation-operator': 7.27.1(@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.27.1(@babel/[email protected])
+ '@babel/plugin-transform-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@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.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-umd': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-new-target': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-object-rest-spread': 7.28.4(@babel/[email protected])
+ '@babel/plugin-transform-object-super': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-parameters': 7.27.7(@babel/[email protected])
+ '@babel/plugin-transform-private-methods': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-property-literals': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-regenerator': 7.28.4(@babel/[email protected])
+ '@babel/plugin-transform-regexp-modifiers': 7.27.1(@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.27.1(@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.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-unicode-sets-regex': 7.27.1(@babel/[email protected])
+ '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/[email protected])
+ babel-plugin-polyfill-corejs2: 0.4.14(@babel/[email protected])
+ babel-plugin-polyfill-corejs3: 0.13.0(@babel/[email protected])
+ babel-plugin-polyfill-regenerator: 0.6.5(@babel/[email protected])
+ core-js-compat: 3.45.1
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
- '@ant-design/colors': 8.0.0
- '@ant-design/icons-svg': 4.4.2
- classnames: 2.5.1
- react: 18.3.1
- react-dom: 18.3.1([email protected])
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/types': 7.28.4
+ esutils: 2.0.3
dependencies:
- '@ant-design/cssinjs': 1.23.0([email protected]([email protected]))([email protected])
- react: 18.3.1
- react-dom: 18.3.1([email protected])
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-option': 7.27.1
+ '@babel/plugin-transform-react-display-name': 7.28.0(@babel/[email protected])
+ '@babel/plugin-transform-react-jsx': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-react-jsx-development': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-react-pure-annotations': 7.27.1(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
dependencies:
- '@babel/runtime': 7.27.6
- classnames: 2.5.1
- json2mq: 0.2.0
- react: 18.3.1
- resize-observer-polyfill: 1.5.1
- throttle-debounce: 5.0.2
+ '@babel/core': 7.28.4
+ '@babel/helper-plugin-utils': 7.27.1
+ '@babel/helper-validator-option': 7.27.1
+ '@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-typescript': 7.28.0(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
'@babel/[email protected]': {}
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/parser': 7.28.4
+ '@babel/types': 7.28.4
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.28.3
+ '@babel/helper-globals': 7.28.0
+ '@babel/parser': 7.28.4
+ '@babel/template': 7.27.2
+ '@babel/types': 7.28.4
+ debug: 4.4.1
+ transitivePeerDependencies:
+ - supports-color
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+
'@corex/[email protected]': {}
'@emnapi/[email protected]':
@@ -2936,6 +4798,30 @@ snapshots:
wrap-ansi: 8.1.0
wrap-ansi-cjs: [email protected]
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/trace-mapping': 0.3.30
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.30
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.30
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.5
+
'@js.properties/[email protected]': {}
@@ -2958,6 +4844,10 @@ snapshots:
dependencies:
fast-glob: 3.3.1
+ dependencies:
+ fast-glob: 3.3.1
+
optional: true
@@ -3152,6 +5042,95 @@ snapshots:
'@rushstack/[email protected]': {}
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@svgr/babel-plugin-add-jsx-attribute': 6.5.1(@babel/[email protected])
+ '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/[email protected])
+ '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/[email protected])
+ '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1(@babel/[email protected])
+ '@svgr/babel-plugin-svg-dynamic-title': 6.5.1(@babel/[email protected])
+ '@svgr/babel-plugin-svg-em-dimensions': 6.5.1(@babel/[email protected])
+ '@svgr/babel-plugin-transform-react-native-svg': 6.5.1(@babel/[email protected])
+ '@svgr/babel-plugin-transform-svg-component': 6.5.1(@babel/[email protected])
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@svgr/babel-preset': 6.5.1(@babel/[email protected])
+ '@svgr/plugin-jsx': 6.5.1(@svgr/[email protected])
+ camelcase: 6.3.0
+ cosmiconfig: 7.1.0
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/types': 7.28.4
+ entities: 4.5.0
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@svgr/babel-preset': 6.5.1(@babel/[email protected])
+ '@svgr/core': 6.5.1
+ '@svgr/hast-util-to-babel-ast': 6.5.1
+ svg-parser: 2.0.4
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@svgr/core': 6.5.1
+ cosmiconfig: 7.1.0
+ deepmerge: 4.3.1
+ svgo: 2.8.0
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/plugin-transform-react-constant-elements': 7.27.1(@babel/[email protected])
+ '@babel/preset-env': 7.28.3(@babel/[email protected])
+ '@babel/preset-react': 7.27.1(@babel/[email protected])
+ '@babel/preset-typescript': 7.27.1(@babel/[email protected])
+ '@svgr/core': 6.5.1
+ '@svgr/plugin-jsx': 6.5.1(@svgr/[email protected])
+ '@svgr/plugin-svgo': 6.5.1(@svgr/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
'@swc/[email protected]': {}
@@ -3165,6 +5144,8 @@ snapshots:
react-dom: 18.3.1([email protected])
react-transition-state: 2.3.1([email protected]([email protected]))([email protected])
+ '@trysound/[email protected]': {}
+
dependencies:
tslib: 2.8.1
@@ -3176,6 +5157,20 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ echarts: 6.0.0
+
+ '@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]': {}
@@ -3188,6 +5183,8 @@ snapshots:
dependencies:
undici-types: 6.21.0
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -3352,18 +5349,117 @@ snapshots:
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:
bcp47: 1.1.2
+ dependencies:
+ acorn: 8.15.0
+
dependencies:
acorn: 8.14.1
+
+ optionalDependencies:
+ ajv: 8.17.1
+
+ dependencies:
+ ajv: 6.12.6
+
+ dependencies:
+ ajv: 8.17.1
+ fast-deep-equal: 3.1.3
+
dependencies:
fast-deep-equal: 3.1.3
@@ -3371,6 +5467,13 @@ snapshots:
json-schema-traverse: 0.4.1
uri-js: 4.4.1
+ dependencies:
+ fast-deep-equal: 3.1.3
+ fast-uri: 3.1.0
+ json-schema-traverse: 1.0.0
+ require-from-string: 2.0.2
+
dependencies:
rdotjson: 1.1.1
@@ -3541,10 +5644,36 @@ snapshots:
+ dependencies:
+ '@babel/compat-data': 7.28.4
+ '@babel/core': 7.28.4
+ '@babel/helper-define-polyfill-provider': 0.6.5(@babel/[email protected])
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-define-polyfill-provider': 0.6.5(@babel/[email protected])
+ core-js-compat: 3.45.1
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.28.4
+ '@babel/helper-define-polyfill-provider': 0.6.5(@babel/[email protected])
+ transitivePeerDependencies:
+ - supports-color
+
+
@@ -3562,6 +5691,15 @@ snapshots:
dependencies:
fill-range: 7.1.1
+ dependencies:
+ caniuse-lite: 1.0.30001741
+ electron-to-chromium: 1.5.215
+ node-releases: 2.0.20
+ update-browserslist-db: 1.1.3([email protected])
+
+
dependencies:
streamsearch: 1.1.0
@@ -3587,8 +5725,12 @@ snapshots:
+
+
dependencies:
ansi-styles: 4.3.0
@@ -3617,6 +5759,8 @@ snapshots:
dependencies:
readdirp: 4.1.2
+
@@ -3635,6 +5779,10 @@ snapshots:
dependencies:
delayed-stream: 1.0.0
+
+
@@ -3643,6 +5791,8 @@ snapshots:
+
@@ -3654,6 +5804,18 @@ snapshots:
dependencies:
toggle-selection: 1.0.6
+ dependencies:
+ browserslist: 4.25.4
+
+ dependencies:
+ '@types/parse-json': 4.0.2
+ import-fresh: 3.3.1
+ parse-json: 5.2.0
+ path-type: 4.0.0
+ yaml: 1.10.2
+
@@ -3664,6 +5826,14 @@ snapshots:
+ dependencies:
+ boolbase: 1.0.0
+ css-what: 6.1.0
+ domhandler: 4.3.1
+ domutils: 2.8.0
+ nth-check: 2.1.1
+
dependencies:
boolbase: 1.0.0
@@ -3672,8 +5842,17 @@ snapshots:
domutils: 3.2.2
nth-check: 2.1.1
+ dependencies:
+ mdn-data: 2.0.14
+ source-map: 0.6.1
+
+ dependencies:
+ css-tree: 1.1.3
+
@@ -3710,6 +5889,8 @@ snapshots:
+
dependencies:
es-define-property: 1.0.1
@@ -3744,6 +5925,12 @@ snapshots:
'@babel/runtime': 7.27.6
csstype: 3.1.3
+ dependencies:
+ domelementtype: 2.3.0
+ domhandler: 4.3.1
+ entities: 2.2.0
+
dependencies:
domelementtype: 2.3.0
@@ -3752,10 +5939,20 @@ snapshots:
+ dependencies:
+ domelementtype: 2.3.0
+
dependencies:
domelementtype: 2.3.0
+ dependencies:
+ dom-serializer: 1.4.1
+ domelementtype: 2.3.0
+ domhandler: 4.3.1
+
dependencies:
dom-serializer: 2.0.0
@@ -3772,18 +5969,38 @@ snapshots:
+ dependencies:
+ tslib: 2.3.0
+ zrender: 6.0.0
+
+
+
dependencies:
iconv-lite: 0.6.3
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.2.3
+
+
+ dependencies:
+ is-arrayish: 0.2.1
+
dependencies:
array-buffer-byte-length: 1.0.2
@@ -3864,6 +6081,8 @@ snapshots:
iterator.prototype: 1.1.5
safe-array-concat: 1.1.3
+
dependencies:
es-errors: 1.3.0
@@ -3885,6 +6104,8 @@ snapshots:
is-date-object: 1.1.0
is-symbol: 1.1.1
+
@@ -3993,13 +6214,14 @@ snapshots:
safe-regex-test: 1.1.0
string.prototype.includes: 2.0.1
dependencies:
eslint: 9.28.0
prettier: 3.5.3
prettier-linter-helpers: 1.0.0
synckit: 0.11.8
optionalDependencies:
+ '@types/eslint': 9.6.1
eslint-config-prettier: 8.10.0([email protected])
@@ -4034,6 +6256,11 @@ snapshots:
optionalDependencies:
'@typescript-eslint/eslint-plugin': 8.33.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ dependencies:
+ esrecurse: 4.3.0
+ estraverse: 4.3.0
+
dependencies:
esrecurse: 4.3.0
@@ -4097,10 +6324,14 @@ snapshots:
dependencies:
estraverse: 5.3.0
+
+
@@ -4125,6 +6356,8 @@ snapshots:
+
dependencies:
reusify: 1.1.0
@@ -4137,6 +6370,12 @@ snapshots:
dependencies:
flat-cache: 4.0.1
+ dependencies:
+ loader-utils: 2.0.4
+ schema-utils: 3.3.0
+ webpack: 5.101.3
+
dependencies:
to-regex-range: 5.0.1
@@ -4193,6 +6432,8 @@ snapshots:
+
dependencies:
call-bind-apply-helpers: 1.0.2
@@ -4235,6 +6476,8 @@ snapshots:
dependencies:
is-glob: 4.0.3
+
dependencies:
foreground-child: 3.3.1
@@ -4364,6 +6607,8 @@ snapshots:
call-bound: 1.0.4
get-intrinsic: 1.3.0
+
dependencies:
async-function: 1.0.0
@@ -4490,16 +6735,30 @@ snapshots:
dependencies:
'@isaacs/cliui': 8.0.2
+ dependencies:
+ '@types/node': 20.19.0
+ merge-stream: 2.0.0
+ supports-color: 8.1.1
+
dependencies:
argparse: 2.0.1
+
+
+
+
@@ -4510,6 +6769,8 @@ snapshots:
dependencies:
minimist: 1.2.8
+
dependencies:
array-includes: 3.1.9
@@ -4536,6 +6797,16 @@ snapshots:
prelude-ls: 1.2.1
type-check: 0.4.0
+
+
+ dependencies:
+ big.js: 5.2.2
+ emojis-list: 3.0.0
+ json5: 2.2.3
+
dependencies:
p-locate: 5.0.0
@@ -4576,6 +6847,8 @@ snapshots:
+
@@ -4588,8 +6861,16 @@ snapshots:
+ dependencies:
+ yallist: 3.1.1
+
+
+
@@ -4635,15 +6916,17 @@ snapshots:
+
dependencies:
'@corex/deepmerge': 4.0.43
'@next/env': 13.5.11
fast-glob: 3.3.3
minimist: 1.2.8
dependencies:
'@next/env': 14.2.29
'@swc/helpers': 0.5.5
@@ -4653,7 +6936,7 @@ snapshots:
postcss: 8.4.31
react: 18.3.1
react-dom: 18.3.1([email protected])
- styled-jsx: 5.1.1([email protected])
+ styled-jsx: 5.1.1(@babel/[email protected])([email protected])
optionalDependencies:
'@next/swc-darwin-arm64': 14.2.29
'@next/swc-darwin-x64': 14.2.29
@@ -4678,6 +6961,8 @@ snapshots:
optionalDependencies:
encoding: 0.1.13
+
dependencies:
boolbase: 1.0.0
@@ -4755,6 +7040,13 @@ snapshots:
dependencies:
callsites: 3.1.0
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ error-ex: 1.3.2
+ json-parse-even-better-errors: 2.3.1
+ lines-and-columns: 1.2.4
+
dependencies:
domhandler: 5.0.3
@@ -4780,6 +7072,8 @@ snapshots:
lru-cache: 11.1.0
minipass: 7.1.2
+
@@ -4820,12 +7114,18 @@ snapshots:
+
dependencies:
side-channel: 1.1.0
+ dependencies:
+ safe-buffer: 5.2.1
+
dependencies:
'@babel/runtime': 7.27.6
@@ -5186,10 +7486,21 @@ snapshots:
dependencies:
react: 18.3.1
+ dependencies:
+ react: 18.3.1
+ throttle-debounce: 2.3.0
+
+ dependencies:
+ qrcode-generator: 2.0.4
+ react: 18.3.1
+ react-dom: 18.3.1([email protected])
+
dependencies:
'@types/sortablejs': 1.15.8
@@ -5234,6 +7545,12 @@ snapshots:
get-proto: 1.0.1
which-builtin-type: 1.2.1
+ dependencies:
+ regenerate: 1.4.2
+
+
dependencies:
call-bind: 1.0.8
@@ -5243,6 +7560,23 @@ 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.12.0
+ unicode-match-property-ecmascript: 2.0.0
+ unicode-match-property-value-ecmascript: 2.2.1
+
+
+ dependencies:
+ jsesc: 3.0.2
+
+
@@ -5283,6 +7617,8 @@ snapshots:
has-symbols: 1.1.0
isarray: 2.0.5
+
dependencies:
es-errors: 1.3.0
@@ -5310,6 +7646,19 @@ snapshots:
dependencies:
loose-envify: 1.4.0
+ dependencies:
+ '@types/json-schema': 7.0.15
+ ajv: 6.12.6
+ ajv-keywords: 3.5.2([email protected])
+
+ 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:
compute-scroll-into-view: 3.1.1
@@ -5318,6 +7667,10 @@ snapshots:
+ dependencies:
+ randombytes: 2.1.0
+
dependencies:
define-data-property: 1.1.4
@@ -5380,8 +7733,17 @@ snapshots:
+ dependencies:
+ buffer-from: 1.1.2
+ source-map: 0.6.1
+
+
+
dependencies:
es-errors: 1.3.0
@@ -5469,10 +7831,12 @@ snapshots:
dependencies:
client-only: 0.0.1
react: 18.3.1
+ optionalDependencies:
+ '@babel/core': 7.28.4
@@ -5480,14 +7844,50 @@ snapshots:
dependencies:
has-flag: 4.0.0
+ dependencies:
+ has-flag: 4.0.0
+
+
+ dependencies:
+ '@trysound/sax': 0.2.0
+ commander: 7.2.0
+ css-select: 4.3.0
+ css-tree: 1.1.3
+ csso: 4.2.0
+ picocolors: 1.1.1
+ stable: 0.1.8
+
dependencies:
'@pkgr/core': 0.2.7
+
+ dependencies:
+ '@jridgewell/trace-mapping': 0.3.30
+ jest-worker: 27.5.1
+ schema-utils: 4.3.2
+ serialize-javascript: 6.0.2
+ terser: 5.44.0
+ webpack: 5.101.3
+
+ dependencies:
+ '@jridgewell/source-map': 0.3.11
+ acorn: 8.15.0
+ commander: 2.20.3
+ source-map-support: 0.5.21
+
+
@@ -5520,6 +7920,8 @@ snapshots:
minimist: 1.2.8
strip-bom: 3.0.0
+
@@ -5570,6 +7972,17 @@ snapshots:
+
+ dependencies:
+ unicode-canonical-property-names-ecmascript: 2.0.1
+ unicode-property-aliases-ecmascript: 2.1.0
+
+
+
dependencies:
napi-postinstall: 0.2.4
@@ -5592,14 +8005,59 @@ snapshots:
'@unrs/resolver-binding-win32-ia32-msvc': 1.7.11
'@unrs/resolver-binding-win32-x64-msvc': 1.7.11
+ dependencies:
+ browserslist: 4.25.4
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
dependencies:
punycode: 2.3.1
+ dependencies:
+ glob-to-regexp: 0.4.1
+ graceful-fs: 4.2.11
+
+
+ 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.25.4
+ chrome-trace-event: 1.0.4
+ enhanced-resolve: 5.18.3
+ es-module-lexer: 1.7.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.0
+ mime-types: 2.1.35
+ neo-async: 2.6.2
+ schema-utils: 4.3.2
+ tapable: 2.2.3
+ terser-webpack-plugin: 5.3.14([email protected])
+ watchpack: 2.4.4
+ webpack-sources: 3.3.3
+ transitivePeerDependencies:
+ - '@swc/core'
+ - esbuild
+ - uglify-js
+
dependencies:
tr46: 0.0.3
@@ -5681,10 +8139,18 @@ snapshots:
+
+
+ dependencies:
+ tslib: 2.3.0
+
optionalDependencies:
'@types/react': 18.3.23
diff --git a/aitoearn_web/aitoearn-web/src/api/account.ts b/aitoearn_web/aitoearn-web/src/api/account.ts
index 624b4883..8e5d9e2f 100644
--- a/aitoearn_web/aitoearn-web/src/api/account.ts
+++ b/aitoearn_web/aitoearn-web/src/api/account.ts
@@ -71,7 +71,6 @@ export const deleteAccountGroupApi = (ids: string[]) => {
// 获取所有账户组
export const getAccountGroupApi = async () => {
const res:any = await http.get<AccountGroupItem[]>("accountGroup/getList");
- console.log(res.data);
// res.data.push({
// id: "68a6d3e5861d0b23ca010123",
// ip: "188.166.188.86",
diff --git a/aitoearn_web/aitoearn-web/src/api/ai.ts b/aitoearn_web/aitoearn-web/src/api/ai.ts
index 0ba53f2d..56f0a86a 100644
--- a/aitoearn_web/aitoearn-web/src/api/ai.ts
+++ b/aitoearn_web/aitoearn-web/src/api/ai.ts
@@ -1,5 +1,10 @@
import http from "@/utils/request";
+// 获取聊天大模型列表
+export const getChatModels = () => {
+ return http.get("ai/models/chat");
+};
+
// 文生图 - 新的接口
export const generateImage = (data: {
prompt: string;
diff --git a/aitoearn_web/aitoearn-web/src/api/apiReq.ts b/aitoearn_web/aitoearn-web/src/api/apiReq.ts
index 377bb39f..9d165170 100644
--- a/aitoearn_web/aitoearn-web/src/api/apiReq.ts
+++ b/aitoearn_web/aitoearn-web/src/api/apiReq.ts
@@ -18,7 +18,7 @@ export interface RegistCheckParams {
}
// 获取用户信息
-export const getUserInfoApi = () => {
+export const getUserInfoApi = () => {
return http.get<UserInfo>("user/mine");
};
@@ -94,3 +94,13 @@ export const getPointsRecordsApi = async (params: { page: number; pageSize: numb
);
return res;
};
+
+// 积分充值相关API
+export interface RechargePointsParams {
+ amount: number; // 充值数量(1000积分为单位)
+ totalPrice: number; // 总价格
+}
+
+export const rechargePointsApi = (data: RechargePointsParams) => {
+ return http.post<any>("user/points/recharge", data);
+};
diff --git a/aitoearn_web/aitoearn-web/src/api/dataStatistics.ts b/aitoearn_web/aitoearn-web/src/api/dataStatistics.ts
new file mode 100644
index 00000000..47a2d1d2
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/dataStatistics.ts
@@ -0,0 +1,13 @@
+import http from "@/utils/request";
+import {
+ StatisticsPeriodApiParams,
+ StatisticsPeriodModel,
+} from "@/api/types/dataStatistics";
+
+// 获取数据统计信息
+export const getStatisticsPeriodApi = (data: StatisticsPeriodApiParams) => {
+ return http.post<StatisticsPeriodModel>(
+ "statistics/channels/period-batch",
+ data,
+ );
+};
diff --git a/aitoearn_web/aitoearn-web/src/api/engagement.ts b/aitoearn_web/aitoearn-web/src/api/engagement.ts
new file mode 100644
index 00000000..d9bacdcf
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/engagement.ts
@@ -0,0 +1,34 @@
+import http from '@/utils/request';
+import { EngagementPostsParams, EngagementPostsResponse, EngagementCommentsParams, EngagementCommentsResponse, EngagementReplyParams, PostCommentsParamsV2, PostCommentsResponseV2, PublishPostCommentParams, PublishCommentReplyParams, CommentRepliesParams, CommentRepliesResponse } from './types/engagement';
+
+export async function apiGetEngagementPosts(params: EngagementPostsParams) {
+ return http.post<EngagementPostsResponse>('channel/engagement/posts', params);
+}
+
+export async function apiGetEngagementComments(params: EngagementCommentsParams) {
+ return http.post<EngagementCommentsResponse>('channel/engagement/comments', params);
+}
+
+export async function apiReplyEngagementComment(params: EngagementReplyParams) {
+ return http.post<{}>('channel/engagement/comment/reply', params);
+}
+
+// 获取作品一级评论(V2)
+export async function apiGetPostComments(params: PostCommentsParamsV2) {
+ return http.post<PostCommentsResponseV2>('channel/engagement/post/comments', params);
+}
+
+export async function apiPublishPostComment(params: PublishPostCommentParams) {
+ return http.post<{}>('channel/engagement/post/comments/publish', params);
+}
+
+export async function apiPublishCommentReply(params: PublishCommentReplyParams) {
+ return http.post<{}>('channel/engagement/comment/replies/publish', params);
+}
+
+// 获取评论的回复列表
+export async function apiGetCommentReplies(params: CommentRepliesParams) {
+ return http.post<CommentRepliesResponse>('channel/engagement/comment/replies', params);
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/api/hot.ts b/aitoearn_web/aitoearn-web/src/api/hot.ts
index 712d9ccf..ad59578c 100644
--- a/aitoearn_web/aitoearn-web/src/api/hot.ts
+++ b/aitoearn_web/aitoearn-web/src/api/hot.ts
@@ -1,13 +1,12 @@
-import { Pagination } from './types';
-import { HotTopic } from './types/hotTopic';
-import { Topic } from './types/topic';
-import { ViralTitle } from './types/viralTitles';
-import { request } from '@/utils/request';
-import { APP_HOT_URL } from '@/constant';
+import { Pagination } from "./types";
+import { HotTopic } from "./types/hotTopic";
+import { Topic } from "./types/topic";
+import { ViralTitle } from "./types/viralTitles";
+import { request } from "@/utils/request";
import {
GetAiToolsRankingApiParams,
GetAiToolsRankingApiRes,
-} from './types/platform.type';
+} from "./types/platform.type";
export interface Platform {
id: string;
@@ -51,7 +50,7 @@ export interface PlatformRanking {
platformId: string;
parentId: string;
platform: Platform;
- type: 'daily' | 'weekly' | 'monthly';
+ type: "daily" | "weekly" | "monthly";
description: string;
icon: string;
status: number;
@@ -65,6 +64,16 @@ export interface PlatformRanking {
items?: RankingItem[];
}
+// 榜单日期
+export interface RankingDate {
+ originalQueryDate: string;
+ queryDate: string;
+ rankingId: string;
+ showDate: string;
+ spiderTime: string;
+ value: string;
+}
+
export interface Author {
id: string;
name: string;
@@ -87,17 +96,22 @@ export interface RankingContent {
title: string;
cover: string;
url: string;
+ photoId: string;
rankingPosition: number;
category: string;
publishTime: string;
+ subCategory: string;
author: {
name: string;
avatar: string;
fansCount: number;
+ id: string;
};
stats: Stats;
+ collectCount?: number;
+ shareCount?: number;
anaAdd: {
- addCollectedCunt: number;
+ addCollectCount: number;
addCommentCount: number;
addInteractiveCount: number;
addLikeCount: number;
@@ -122,7 +136,6 @@ export interface PaginationMeta {
currentPage: number;
}
-
export interface RankingContentsResponse {
items: RankingContent[];
meta: PaginationMeta;
@@ -133,7 +146,7 @@ export const platformApi = {
getPlatformList() {
return request<Platform[]>({
url: `hotdata/hotinfo/platform`,
- method: 'GET'
+ method: "GET",
});
},
@@ -141,7 +154,7 @@ export const platformApi = {
getPlatformRanking(platformId: string) {
return request<PlatformRanking[]>({
url: `hotdata/ranking/platform?platformId=${platformId}`,
- method: 'GET'
+ method: "GET",
});
},
@@ -158,7 +171,7 @@ export const platformApi = {
pageSize,
};
- if (category && category !== '全部') {
+ if (category && category !== "全部") {
params.category = category;
}
@@ -168,7 +181,7 @@ export const platformApi = {
return request<RankingContentsResponse>({
url: `hotdata/ranking/${rankingId}/contents`,
- method: 'GET',
+ method: "GET",
params,
});
},
@@ -177,29 +190,28 @@ export const platformApi = {
getRankingLabel(rankingId: string) {
return request<string[]>({
url: `hotdata/ranking/label/${rankingId}`,
- method: 'GET',
-
+ method: "GET",
});
},
// 获取榜单日期
getRankingDates(rankingId: string) {
- return request<string[]>({
+ return request<RankingDate[]>({
url: `hotdata/ranking/hotinfo/${rankingId}/dates`,
- method: 'GET',
-
+ method: "GET",
});
},
// 获取八大平台热点事件
getAllHotTopics() {
- return request<{
- platform: Platform;
- hotTopic: HotTopic;
- }[]>({
+ return request<
+ {
+ platform: Platform;
+ topics: HotTopic[];
+ }[]
+ >({
url: `hotdata/hot-topics/all`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -209,8 +221,7 @@ export const platformApi = {
getTopics() {
return request<string[]>({
url: `hotdata/topics/topics`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -218,8 +229,7 @@ export const platformApi = {
getMsgType() {
return request<string[]>({
url: `hotdata/topics/msgType`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -227,8 +237,7 @@ export const platformApi = {
getTopicLabels(msgType: string) {
return request<string[]>({
url: `hotdata/topics/labels/${msgType}`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -236,8 +245,7 @@ export const platformApi = {
getTopicTimeTypes(msgType: string) {
return request<string[]>({
url: `hotdata/topics/timeType/${msgType}`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -255,8 +263,8 @@ export const platformApi = {
}) {
return request<Pagination<Topic>>({
url: `hotdata/topics`,
- method: 'GET',
-
+ method: "GET",
+
params,
});
},
@@ -266,8 +274,7 @@ export const platformApi = {
findPlatformsWithData() {
return request<Platform[]>({
url: `hotdata/viral-titles/platforms`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -275,8 +282,7 @@ export const platformApi = {
findCategoriesByPlatform(platformId: string) {
return request<string[]>({
url: `hotdata/viral-titles/platforms/${platformId}/categories`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -285,13 +291,15 @@ export const platformApi = {
platformId: string,
timeType?: string, // 时间分类
) {
- return request<{
- category: string;
- titles: ViralTitle[];
- }[]>({
+ return request<
+ {
+ category: string;
+ titles: ViralTitle[];
+ }[]
+ >({
url: `hotdata/viral-titles/platforms/${platformId}/top-by-categories`,
- method: 'GET',
-
+ method: "GET",
+
params: {
timeType,
},
@@ -312,8 +320,8 @@ export const platformApi = {
) {
return request<Pagination<ViralTitle>>({
url: `hotdata/viral-titles/platforms/${platformId}`,
- method: 'GET',
-
+ method: "GET",
+
params,
});
},
@@ -322,8 +330,7 @@ export const platformApi = {
getViralTitleTimeTypes() {
return request<string[]>({
url: `hotdata/viral-titles/timeType`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -332,8 +339,7 @@ export const platformApi = {
findTalksPlatforms() {
return request<Platform[]>({
url: `hotdata/talks/platforms`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -341,11 +347,10 @@ export const platformApi = {
findTalksColumn(platformId: string) {
return request<string[]>({
url: `hotdata/talks/column`,
- method: 'GET',
+ method: "GET",
params: {
platformId,
},
-
});
},
@@ -353,8 +358,7 @@ export const platformApi = {
getXhsDates() {
return request<string[]>({
url: `hotdata/xhs/dates`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -362,8 +366,7 @@ export const platformApi = {
getXhsCategories() {
return request<string[]>({
url: `hotdata/xhs/category`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -371,9 +374,8 @@ export const platformApi = {
getXhsSubjectsRank(data: { phone: string }) {
return request<string>({
url: `hotdata/xhs/contents`,
- method: 'POST',
+ method: "POST",
data,
-
});
},
@@ -381,8 +383,7 @@ export const platformApi = {
getDyDates() {
return request<string[]>({
url: `hotdata/dy/dates`,
- method: 'GET',
-
+ method: "GET",
});
},
@@ -390,7 +391,7 @@ export const platformApi = {
getAiToolsRankingApi(data: GetAiToolsRankingApiParams) {
return request<GetAiToolsRankingApiRes>({
url: `hotdata/products/ranking/ai`,
- method: 'POST',
+ method: "POST",
data: {
...data,
pageSize: 100,
@@ -398,4 +399,16 @@ export const platformApi = {
},
});
},
+
+ // 获取热点数据 公众号 链接
+ getDetailUrl(photoId: string) {
+ return request<string>({
+ url: `hotdata/contents/query/getDetailUrl`,
+ method: "POST",
+ data: {
+ platform: 0,
+ photoId,
+ },
+ });
+ },
};
diff --git a/aitoearn_web/aitoearn-web/src/api/income.ts b/aitoearn_web/aitoearn-web/src/api/income.ts
new file mode 100644
index 00000000..dcfb62d1
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/income.ts
@@ -0,0 +1,33 @@
+import { request } from '@/utils/request';
+import { IncomeRecord } from './types/income';
+
+/**
+ * 获取收入列表
+ */
+export const apiGetIncomeList = (page: {
+ pageNo: number;
+ pageSize: number;
+}, params: {
+ type?: string
+}) => {
+ return request<{ list: IncomeRecord[], total: number }>({
+ url: `income/list/${page.pageNo}/${page.pageSize}`,
+ method: 'GET',
+ params
+ });
+};
+
+/**
+ * 提交提现
+ */
+export const apiSubmitWithdraw = (incomeRecordId: string, userWalletAccountId?: string, flowId?: string) => {
+ return request<any>({
+ url: `income/withdraw`,
+ method: 'POST',
+ data: {
+ incomeRecordId,
+ userWalletAccountId,
+ flowId
+ }
+ });
+};
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/material.ts b/aitoearn_web/aitoearn-web/src/api/material.ts
index 0c260529..c9bd4642 100644
--- a/aitoearn_web/aitoearn-web/src/api/material.ts
+++ b/aitoearn_web/aitoearn-web/src/api/material.ts
@@ -7,10 +7,16 @@ export interface MaterialMedia {
content?: string;
}
+export enum MaterialType {
+ VIDEO = 'video', // 视频
+ ARTICLE = 'article', // 文章
+}
+
export interface NewMaterialTask {
groupId: string;
num: number;
aiModelTag: string;
+ type: MaterialType;
prompt: string;
title?: string;
desc?: string;
@@ -20,7 +26,7 @@ export interface NewMaterialTask {
coverGroup: string;
option?: Record<string, any>;
textMax?: number;
- language?: "中文" | "英文";
+ language?: string;
}
// 创建素材草稿组
diff --git a/aitoearn_web/aitoearn-web/src/api/media.ts b/aitoearn_web/aitoearn-web/src/api/media.ts
index 5511cd5b..befd507f 100644
--- a/aitoearn_web/aitoearn-web/src/api/media.ts
+++ b/aitoearn_web/aitoearn-web/src/api/media.ts
@@ -71,3 +71,11 @@ export const updateMediaInfo = (
) => {
return http.put(`media/info/${id}`, data);
};
+
+export const apiAddUseCount = (id: string) => {
+ return http.put(`media/addUseCount`, { data: { id } });
+};
+
+export const apiAddUseCountOfList = (ids: string[]) => {
+ return http.put(`media/addUseCountOfList`, { data: { ids } });
+};
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/notification.ts b/aitoearn_web/aitoearn-web/src/api/notification.ts
index f80f742e..8ae53993 100644
--- a/aitoearn_web/aitoearn-web/src/api/notification.ts
+++ b/aitoearn_web/aitoearn-web/src/api/notification.ts
@@ -88,6 +88,7 @@ export interface TaskItem {
opportunityStatus: string;
expiredAt: string;
accountId: string;
+ materialIds: string[];
}
export interface TaskResponse {
@@ -96,10 +97,15 @@ export interface TaskResponse {
// 获取任务详情
export const getTaskDetail = (opportunityId: string) => {
- return http.get<TaskResponse>(`task/opportunity/${opportunityId}`);
+ return http.get<TaskResponse>(`task/opportunity/info/${opportunityId}`);
};
// 接受任务
-export const acceptTask = (taskId: string, opportunityId: string) => {
- return http.post("task/accept", { taskId, opportunityId });
-};
\ No newline at end of file
+export const acceptTask = (taskId: string, opportunityId: string, accountId?: string) => {
+ return http.post("task/accept", { taskId, opportunityId, accountId });
+};
+
+// 提交任务
+export const submitTask = (userTaskId: string, materialId: string) => {
+ return http.post("task/submit", { userTaskId: userTaskId, materialId });
+};
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/payment.ts b/aitoearn_web/aitoearn-web/src/api/payment.ts
new file mode 100644
index 00000000..a063ef57
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/payment.ts
@@ -0,0 +1,64 @@
+import { request } from '@/utils/request';
+import type {
+ Order,
+ OrderListParams,
+ SubscriptionListParams,
+ RefundParams,
+ UnsubscribeParams,
+ PaymentApiResponse,
+ PaginatedResponse
+} from './types/payment';
+
+/**
+ * 获取订单列表
+ */
+export const getOrderListApi = (params: OrderListParams) => {
+ return request<PaginatedResponse<Order>>({
+ url: 'payment/checkout',
+ method: 'GET',
+ params
+ });
+};
+
+/**
+ * 查询单个订单
+ */
+export const getOrderDetailApi = (id: string) => {
+ return request<Order>({
+ url: `payment/checkout/${id}`,
+ method: 'GET'
+ });
+};
+
+/**
+ * 获取订阅列表
+ */
+export const getSubscriptionListApi = (params: SubscriptionListParams) => {
+ return request<PaginatedResponse<Order>>({
+ url: 'payment/subscription',
+ method: 'GET',
+ params
+ });
+};
+
+/**
+ * 订单退款
+ */
+export const refundOrderApi = (params: RefundParams) => {
+ return request<any>({
+ url: 'payment/refund',
+ method: 'POST',
+ data: params
+ });
+};
+
+/**
+ * 退订
+ */
+export const unsubscribeApi = (params: UnsubscribeParams) => {
+ return request<any>({
+ url: 'payment/unsubscribe',
+ method: 'POST',
+ data: params
+ });
+};
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/plat/types/publish.types.ts b/aitoearn_web/aitoearn-web/src/api/plat/types/publish.types.ts
index 73ca8421..4b87814c 100644
--- a/aitoearn_web/aitoearn-web/src/api/plat/types/publish.types.ts
+++ b/aitoearn_web/aitoearn-web/src/api/plat/types/publish.types.ts
@@ -27,6 +27,8 @@ export interface PublishParams {
topics?: string[];
publishTime?: string;
option?: any;
+ userTaskId?: string;
+ materialId?: string;
}
// 查询发布列表入参
diff --git a/aitoearn_web/aitoearn-web/src/api/sent.ts b/aitoearn_web/aitoearn-web/src/api/sent.ts
new file mode 100644
index 00000000..61fdb6b4
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/sent.ts
@@ -0,0 +1,11 @@
+import { request } from "@/utils/request";
+import { SentPostsParams, SentPostsResponse } from "./types/sent.types";
+
+// 获取已发布帖子列表
+export const getSentPosts = (params: SentPostsParams) => {
+ return request<SentPostsResponse>({
+ url: "channel/engagement/posts",
+ method: "POST",
+ data: params,
+ });
+};
diff --git a/aitoearn_web/aitoearn-web/src/api/signIn.ts b/aitoearn_web/aitoearn-web/src/api/signIn.ts
index 3c152cd0..ae4595d7 100644
--- a/aitoearn_web/aitoearn-web/src/api/signIn.ts
+++ b/aitoearn_web/aitoearn-web/src/api/signIn.ts
@@ -11,25 +11,67 @@ export enum SignInType {
PUL_VIDEO = "pul_video",
}
+export interface SignInResponse {
+ success: boolean;
+ message?: string;
+ score?: number; // 签到后更新的积分
+ data?: any;
+}
+
+export interface PublishDayInfo {
+ _id: string;
+ userId: string;
+ publishTotal: number;
+ createdAt: string;
+ updatedAt: string;
+}
+
+export interface PublishDayInfoResponse {
+ total: number;
+ list: PublishDayInfo[];
+}
+
+export interface PublishInfoData {
+ _id: string;
+ userId: string;
+ days: number; // 连续签到天数
+ createdAt: string;
+ updatedAt: string;
+ upInfoDate: string;
+ id: string;
+}
+
+export interface PublishInfoResponse {
+ code: number;
+ data: PublishInfoData;
+}
+
export const signInApi = {
/**
* 创建签到
*/
- async createSignInRecord(type: SignInType = SignInType.PUL_VIDEO) {
- const res = await http.post<any>(`reward/signIn`, {
+ async createSignInRecord(type: SignInType = SignInType.PUL_VIDEO): Promise<SignInResponse> {
+ const res = await http.post<SignInResponse>(`reward/signIn`, {
type,
});
return res!.data;
},
/**
- * 获取签到列表
+ * 获取签到日历数据
*/
- async getSignInList(params: { type: SignInType; time?: [Date, Date] }) {
- const res = await http.get<any>(`reward/signIn/list`, {
- isToken: true,
- params,
- });
+ async getSignInCalendar(year: number, month: number): Promise<PublishDayInfoResponse> {
+ const res = await http.get<PublishDayInfoResponse>(`plat/publish/publishDayInfo/list/1/99`);
return res!.data;
},
+
+ /**
+ * 获取连续签到天数
+ */
+ async getConsecutiveDays(): Promise<PublishInfoResponse> {
+ const res:any = await http.get<PublishInfoResponse>(`plat/publish/publishInfo/data`);
+ return res;
+ },
+
+
};
diff --git a/aitoearn_web/aitoearn-web/src/api/task.ts b/aitoearn_web/aitoearn-web/src/api/task.ts
new file mode 100644
index 00000000..cfe7ca0c
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/task.ts
@@ -0,0 +1,107 @@
+import http from "@/utils/request";
+import { AccountType } from "./types/account.type";
+
+export enum TaskOpportunityStatus {
+ PENDING = 'pending', // 待接取
+ ACCEPTED = 'accepted', // 已接取
+ EXPIRED = 'expired', // 已过期
+}
+
+export interface TaskOpportunity {
+ _id: string;
+ id: string;
+ taskId: string
+ accountId: string
+ userId: string
+ accountType: AccountType
+ uid: string
+ status: TaskOpportunityStatus
+ expiredAt: Date
+ metadata?: Record<string, any> // 额外信息,如匹配得分等
+}
+
+export enum UserTaskStatus {
+ DOING = 'doing', // 进行中
+ PENDING = 'pending', // 待审核
+ APPROVED = 'approved', // 已通过
+ REJECTED = 'rejected', // 已拒绝
+ CANCELLED = 'cancelled', // 已取消
+ DEL = 'del', // 已删除或回退
+}
+
+interface UserTaskAutoData {
+ status: -1 | 0 | 1
+ message?: string
+}
+
+export interface UserTask {
+ _id: string;
+ id: string;
+ userId: string
+ taskId: string
+ accountId: string
+ accountType: AccountType
+ uid: string
+ status: UserTaskStatus
+ keepTime: number // 保持时间(秒)
+ submissionUrl?: string // 提交的视频、文章或截图URL
+ submissionTime?: Date // 提交时间
+ taskMaterialId?: string // 任务的素材ID
+ screenshotUrls?: string[] // 任务完成截图
+ qrCodeScanResult?: string // 二维码扫描结果
+ completionTime?: Date // 完成时间
+ rejectionReason?: string // 拒绝原因
+ metadata?: Record<string, any> // 额外信息,如审核反馈等
+ isFirstTimeSubmission: boolean // 是否首次提交,用于确定是否给予首次奖励
+ verificationNote?: string // 人工核查备注
+ reward: number // 奖励金额
+ rewardTime?: Date // 奖励发放时间
+ verifiedBy?: string // 核查人员ID
+ autoData?: UserTaskAutoData // 自动任务数据
+}
+
+// 获取待接受的任务列表
+export const apiGetTaskOpportunityList = (params: {
+ page?: number;
+ pageSize?: number;
+}) => {
+ return http.get<{list: TaskOpportunity[]}>(`task/opportunity/list/${params.page}/${params.pageSize}` );
+};
+
+/**
+ * 接取任务
+ * @param opportunityId
+ * @returns
+ */
+export const apiAcceptTask = (opportunityId: string) => {
+ return http.post<any>(`task/accept`, { opportunityId });
+};
+
+
+// 获取已接受的任务列表
+export const apiGetUserTaskList = (params: {
+ page?: number;
+ pageSize?: number;
+}) => {
+ return http.get<{list: UserTask[]}>(`task/userTask/list/${params.page}/${params.pageSize}` );
+
+};
+
+
+/**
+ * 已接受的任务详情
+ * @param id
+ * @returns
+ */
+export const apiGetUserTaskDetail = (id: string) => {
+ return http.get<any>(`task/userTask/info/${id}`);
+};
+
+/**
+ * 接取任务
+ * @param userTaskId
+ * @returns
+ */
+export const apiSubmitTask = (userTaskId: string, submissionUrl: string) => {
+ return http.post<any>(`task/submit`, { userTaskId, submissionUrl });
+};
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/types/account.type.ts b/aitoearn_web/aitoearn-web/src/api/types/account.type.ts
index f0d9003a..2c1fc7ff 100644
--- a/aitoearn_web/aitoearn-web/src/api/types/account.type.ts
+++ b/aitoearn_web/aitoearn-web/src/api/types/account.type.ts
@@ -1,5 +1,20 @@
import { PlatType } from "@/app/config/platConfig";
+export enum AccountType {
+ Douyin = 'douyin', // 抖音
+ Xhs = 'xhs', // 小红书
+ WxSph = 'wxSph', // 微信视频号
+ KWAI = 'KWAI', // 快手
+ YOUTUBE = 'youtube', // youtube
+ WxGzh = 'wxGzh', // 微信公众号
+ BILIBILI = 'bilibili', // B站
+ Twitter = 'twitter', // 推特
+ TikTok = 'tiktok', // TikTok
+ Facebook = 'facebook', // Facebook
+ Instagram = 'instagram', // Instagram
+ Threads = 'threads', // Threads
+}
+
// 三方账户类型定义
export interface SocialAccount {
id: string;
diff --git a/aitoearn_web/aitoearn-web/src/api/types/dataStatistics.ts b/aitoearn_web/aitoearn-web/src/api/types/dataStatistics.ts
new file mode 100644
index 00000000..31438ad5
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/types/dataStatistics.ts
@@ -0,0 +1,72 @@
+// getStatisticsPeriodApi 入参
+import { PlatType } from "@/app/config/platConfig";
+
+export interface StatisticsPeriodApiParams {
+ startDate: string;
+ endDate: string;
+ queries: {
+ platform: string;
+ uid: string;
+ }[];
+}
+
+export interface StatisticsPeriodModel {
+ items?: StatisticsPeriodItems[];
+ queryCount: number;
+ successCount: number;
+ groupedByDate: GroupedByDate[];
+}
+
+export interface StatisticsPeriodItems {
+ platform: PlatType;
+ uid: string;
+ items?: StatisticsPeriodItems2[];
+}
+
+export interface StatisticsPeriodItems2 {
+ id: string;
+ platform: string;
+ snapshotDate: string;
+ uid: string;
+ accountId: string;
+ commentCount?: number;
+ createdAt: string;
+ followingCount?: number;
+ likeCount?: number;
+ status: number;
+ updatedAt: string;
+ userId: string;
+ snapshotDateAsDate: string;
+ fansCount: number;
+ readCount?: number;
+ collectCount?: number;
+ forwardCount?: number;
+ workCount: number;
+}
+
+export interface GroupedByDate {
+ date: string;
+ records: Records[];
+ count: number;
+}
+
+export interface Records {
+ id: string;
+ platform: string;
+ snapshotDate: string;
+ uid: string;
+ accountId: string;
+ commentCount: number;
+ createdAt: string;
+ followingCount: number;
+ likeCount: number;
+ status: number;
+ updatedAt: string;
+ userId: string;
+ snapshotDateAsDate: string;
+ fansCount: number;
+ readCount: number;
+ collectCount: number;
+ forwardCount: number;
+ workCount: number;
+}
diff --git a/aitoearn_web/aitoearn-web/src/api/types/engagement.ts b/aitoearn_web/aitoearn-web/src/api/types/engagement.ts
new file mode 100644
index 00000000..6f328ff7
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/types/engagement.ts
@@ -0,0 +1,148 @@
+export type EngagementPlatform =
+ | 'bilibili'
+ | 'douyin'
+ | 'facebook'
+ | 'wxGzh'
+ | 'instagram'
+ | 'KWAI'
+ | 'pinterest'
+ | 'threads'
+ | 'tiktok'
+ | 'twitter'
+ | 'xhs'
+ | 'youtube';
+
+export type EngagementMediaType = 'video' | 'image' | 'article';
+
+export interface EngagementPostsParams {
+ platform: EngagementPlatform;
+ uid: string;
+ page: number;
+ pageSize: number;
+}
+
+export interface EngagementPostItem {
+ postId: string;
+ platform: EngagementPlatform;
+ title: string;
+ content: string;
+ thumbnail: string;
+ mediaType: EngagementMediaType;
+ permaLink: string;
+ publishTime: number; // ms timestamp
+ viewCount: number;
+ commentCount: number;
+ likeCount: number;
+ shareCount: number;
+ clickCount: number;
+ impressionCount: number;
+ favoriteCount: number;
+}
+
+export interface EngagementPostsResponse {
+ total: number;
+ posts: EngagementPostItem[];
+ hasMore: boolean;
+}
+
+export interface EngagementCommentItem {
+ id: string;
+ postId: string;
+ userId: string;
+ userName?: string;
+ userAvatar?: string;
+ content: string;
+ likeCount: number;
+ createdAt: number; // ms timestamp
+ parentId?: string; // 回复时存在
+}
+
+export interface EngagementCommentsParams {
+ postId: string;
+ page: number;
+ pageSize: number;
+}
+
+export interface EngagementCommentsResponse {
+ total: number;
+ comments: EngagementCommentItem[];
+ hasMore: boolean;
+}
+
+export interface EngagementReplyParams {
+ postId: string;
+ parentId?: string;
+ content: string;
+}
+
+// 新版:平台一级评论(支持 keyset/offset 分页)
+export type PostCommentPlatform = 'facebook' | 'instagram' | 'twitter' | 'youtube' | 'tiktok';
+
+export interface PostCommentsAuthor {
+ id?: string;
+ name?: string;
+ avatar?: string;
+}
+
+export interface PostCommentItemV2 {
+ id: string;
+ message: string;
+ author: PostCommentsAuthor;
+ createdAt: string; // ISO 8601
+ hasReplies: boolean;
+}
+
+export interface PostCommentsParamsV2 {
+ accountId: string;
+ platform: PostCommentPlatform;
+ postId: string;
+ pagination?: {
+ before?: string;
+ after?: string;
+ limit?: number;
+ };
+}
+
+export interface PostCommentsResponseV2 {
+ comments: PostCommentItemV2[];
+ total?: number; // offset 模式才会返回
+ cursor?: {
+ before?: string;
+ after?: string;
+ };
+}
+
+export interface PublishPostCommentParams {
+ accountId: string;
+ platform: PostCommentPlatform;
+ postId: string;
+ message: string; // 1-500 chars
+}
+
+export interface PublishCommentReplyParams {
+ accountId: string;
+ platform: PostCommentPlatform;
+ commentId: string;
+ message: string; // 1-500 chars
+}
+
+export interface CommentRepliesParams {
+ accountId: string;
+ platform: PostCommentPlatform;
+ commentId: string;
+ pagination?: {
+ before?: string;
+ after?: string;
+ limit?: number;
+ };
+}
+
+export interface CommentRepliesResponse {
+ comments: PostCommentItemV2[];
+ cursor?: {
+ before?: string;
+ after?: string;
+ };
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/api/types/hotTopic.ts b/aitoearn_web/aitoearn-web/src/api/types/hotTopic.ts
index 539bcfca..d233a9e0 100644
--- a/aitoearn_web/aitoearn-web/src/api/types/hotTopic.ts
+++ b/aitoearn_web/aitoearn-web/src/api/types/hotTopic.ts
@@ -1,8 +1,8 @@
import { Platform } from '../hot';
-interface HotValueHistory {
- timestamp: Date; // 记录时间
- value: number; // 热度值
+export interface HotValueHistory {
+ updateTime: string; // 记录时间
+ hotValue: number; // 热度值
}
export interface HotTopic {
diff --git a/aitoearn_web/aitoearn-web/src/api/types/income.ts b/aitoearn_web/aitoearn-web/src/api/types/income.ts
new file mode 100644
index 00000000..fd7465a0
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/types/income.ts
@@ -0,0 +1,21 @@
+export enum IncomeType {
+ TASK = 'task', // 任务
+ TASK_BACK = 'task_back', // 任务回退
+ REWARD_BACK = 'reward_back', // 奖励回退
+}
+
+// 订单类型 (根据实际API返回结构)
+export interface IncomeRecord {
+ _id: string;
+ id: string;
+ userId: string;
+ amount: number;
+ relId?: string
+ type: IncomeType
+ desc?: string
+ metadata?: Record<string, unknown>
+ // 提现状态:1=可提现,0=已申请
+ status?: number
+ createdAt: Date
+ updatedAt: Date
+}
diff --git a/aitoearn_web/aitoearn-web/src/api/types/index.ts b/aitoearn_web/aitoearn-web/src/api/types/index.ts
index 3304e5d2..2a0d72df 100644
--- a/aitoearn_web/aitoearn-web/src/api/types/index.ts
+++ b/aitoearn_web/aitoearn-web/src/api/types/index.ts
@@ -25,4 +25,5 @@ export class Pagination<T> {
) {}
}
-
+// 导出支付相关类型
+export * from './payment';
diff --git a/aitoearn_web/aitoearn-web/src/api/types/payment.ts b/aitoearn_web/aitoearn-web/src/api/types/payment.ts
new file mode 100644
index 00000000..e35bf160
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/types/payment.ts
@@ -0,0 +1,81 @@
+// 订单状态枚举 (根据实际API返回的数字状态)
+export enum OrderStatus {
+ SUCCEEDED = 1, // 支付成功
+ CREATED = 2, // 订单创建成功等待支付
+ REFUNDED = 3, // 退款成功
+ EXPIRED = 4 // 订单取消/过期
+}
+
+// 套餐类型枚举
+export enum PaymentType {
+ MONTH = 'month', // 月度订阅
+ YEAR = 'year', // 年度订阅
+ ONCE_MONTH = 'onceMonth', // 一次性月度
+ ONCE_YEAR = 'onceYear' // 一次性年度
+}
+
+// 订单类型 (根据实际API返回结构)
+export interface Order {
+ _id: string;
+ amount: number;
+ amount_refunded: number;
+ created: number; // 时间戳
+ currency: string;
+ customer: any;
+ customer_details: any;
+ expires_at: number;
+ id: string; // stripe checkout session id
+ info: any;
+ metadata: {
+ userId: string;
+ payment: string;
+ mode: string;
+ };
+ mode: string;
+ payment_intent: string | null;
+ price: string;
+ status: OrderStatus;
+ subscription: any;
+ success_url: string;
+ url: string;
+ userId: string;
+}
+
+// 订单查询参数
+export interface OrderListParams {
+ price?: string;
+ page: number;
+ size: number;
+}
+
+// 订阅列表查询参数
+export interface SubscriptionListParams {
+ page: number;
+ size: number;
+}
+
+// 退款参数
+export interface RefundParams {
+ charge: string;
+ payment_intent: string;
+ userId: string;
+}
+
+// 退订参数
+export interface UnsubscribeParams {
+ id: string;
+ userId: string;
+}
+
+// API响应类型
+export interface PaymentApiResponse<T> {
+ code: number;
+ message: string;
+ data: T;
+}
+
+// 分页响应 (根据实际API返回结构: data.count 和 data.list)
+export interface PaginatedResponse<T> {
+ count: number;
+ list: T[];
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/types/sent.types.ts b/aitoearn_web/aitoearn-web/src/api/types/sent.types.ts
new file mode 100644
index 00000000..68d62460
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/types/sent.types.ts
@@ -0,0 +1,37 @@
+// Sent界面相关的类型定义
+
+export interface SentPost {
+ postId: string;
+ platform: string;
+ title: string;
+ content: string;
+ thumbnail: string;
+ mediaType: 'video' | 'image' | 'article';
+ permaLink: string;
+ publishTime: number; // 时间戳,毫秒级
+ viewCount: number;
+ commentCount: number;
+ likeCount: number;
+ shareCount: number;
+ clickCount: number;
+ impressionCount: number;
+ favoriteCount: number;
+}
+
+export interface SentPostsResponse {
+ code: number;
+ message: string;
+ url: string;
+ data: {
+ total: number;
+ posts: SentPost[];
+ hasMore: boolean;
+ };
+}
+
+export interface SentPostsParams {
+ platform: string;
+ uid: string;
+ page: number;
+ pageSize: number;
+}
diff --git a/aitoearn_web/aitoearn-web/src/api/types/topic.ts b/aitoearn_web/aitoearn-web/src/api/types/topic.ts
index 673d2153..74c98dcd 100644
--- a/aitoearn_web/aitoearn-web/src/api/types/topic.ts
+++ b/aitoearn_web/aitoearn-web/src/api/types/topic.ts
@@ -12,8 +12,14 @@ export interface Topic {
shareCount: number;
likeCount: number;
watchingCount: number;
+ commentCount: number;
+ collectCount: number;
readCount: number;
- publishTime?: Date;
+ publishTime?: string;
+ fans: number;
+ cover: string;
+ avatar: string;
createTime: Date;
+ authorUrl: string;
updateTime: Date;
}
diff --git a/aitoearn_web/aitoearn-web/src/api/types/withdraw.ts b/aitoearn_web/aitoearn-web/src/api/types/withdraw.ts
new file mode 100644
index 00000000..f27882b8
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/types/withdraw.ts
@@ -0,0 +1,27 @@
+export enum WithdrawRecordType {
+ TASK = 'task', // 任务
+ REWARD = 'reward', // 奖励
+}
+
+export enum WithdrawRecordStatus {
+ WAIT = 0,
+ SUCCESS = 1,
+ FAIL = -1,
+ TASK_WITHDRAW = 2, // 任务提现
+}
+
+export interface WithdrawRecord {
+ _id: string;
+ id: string;
+ userId: string;
+ flowId?: string
+ type: WithdrawRecordType
+ amount: number;
+ incomeRecordId?: string
+ relId?: string
+ desc?: string
+ screenshotUrls?: string[] // 发放截图列表
+ status: WithdrawRecordStatus
+ createdAt: Date
+ updatedAt: Date
+}
diff --git a/aitoearn_web/aitoearn-web/src/api/userWalletAccount.ts b/aitoearn_web/aitoearn-web/src/api/userWalletAccount.ts
new file mode 100644
index 00000000..dbabbb0c
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/userWalletAccount.ts
@@ -0,0 +1,43 @@
+import http from "@/utils/request";
+
+export type WalletType = "ZFB" | "WX_PAY";
+
+export interface UserWalletAccountCreateDto {
+ userId: string;
+ mail: string; // email
+ userName?: string;
+ account: string;
+ cardNum?: string;
+ phone?: string;
+ type: WalletType;
+}
+
+export interface UserWalletAccount extends UserWalletAccountCreateDto {
+ _id: string;
+ createdAt?: string;
+ updatedAt?: string;
+}
+
+export function createUserWalletAccount(data: UserWalletAccountCreateDto) {
+ return http.post<UserWalletAccount>("userWalletAccount", data);
+}
+
+export function updateUserWalletAccount(id: string, data: Partial<UserWalletAccountCreateDto>) {
+ return http.put<UserWalletAccount>("userWalletAccount", { id, ...data });
+}
+
+export function deleteUserWalletAccount(id: string) {
+ return http.delete<null>(`userWalletAccount/${id}`);
+}
+
+export function getUserWalletAccountInfo(id: string) {
+ return http.get<UserWalletAccount>(`userWalletAccount/info/${id}`);
+}
+
+export function getUserWalletAccountList(pageNo: number, pageSize: number) {
+ return http.get<{ list: UserWalletAccount[]; total: number }>(`userWalletAccount/list/${pageNo}/${pageSize}`);
+}
+
+export const EMAIL_REGEX = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;
+
+
diff --git a/aitoearn_web/aitoearn-web/src/api/vip.ts b/aitoearn_web/aitoearn-web/src/api/vip.ts
new file mode 100644
index 00000000..a686645b
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/vip.ts
@@ -0,0 +1,48 @@
+import { request } from '@/utils/request';
+
+// 会员类型枚举
+export enum VipCycleType {
+ MONTH = 1, // 月卡会员
+ YEAR = 2, // 年卡会员
+}
+
+// 支付类型枚举
+export enum PaymentType {
+ MONTH = 'month', // 月度订阅
+ YEAR = 'year', // 年度订阅
+ ONCE_MONTH = 'onceMonth', // 一次性月度
+ ONCE_YEAR = 'onceYear', // 一次性年度
+ POINTS = 'points' // 积分购买
+}
+
+// 创建支付订单参数接口
+export interface CreatePaymentOrderParams {
+ success_url?: string;
+ mode: string;
+ payment: PaymentType;
+ flagTrialPeriodDays?: number; // 订阅模式下是否给七天免费试用时长, 0 - 不给, 1-给
+ quantity?: number; // 购买数量,用于积分购买
+ metadata: {
+ userId: string;
+ };
+}
+
+// 创建支付订单
+export const createPaymentOrderApi = (params: CreatePaymentOrderParams) => {
+ return request({
+ url: 'payment/checkout',
+ method: 'POST',
+ data: params
+ });
+};
+
+// 设置会员类型
+export const setVipApi = (cycleType: VipCycleType) => {
+ return request({
+ url: 'user/vip/set',
+ method: 'PUT',
+ data: {
+ cycleType
+ }
+ });
+};
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/api/withdraw.ts b/aitoearn_web/aitoearn-web/src/api/withdraw.ts
new file mode 100644
index 00000000..62a57159
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/api/withdraw.ts
@@ -0,0 +1,13 @@
+import { request } from '@/utils/request';
+import { WithdrawRecord } from './types/withdraw';
+
+/**
+ * 获取提现列表
+ */
+export const apiGetWithdrawRecordList = (page: {pageNo: number, pageSize: number}, params: { status?: number }) => {
+ return request<{list: WithdrawRecord[], total: number}>({
+ url: `withdraw/list/${page.pageNo}/${page.pageSize}`,
+ method: 'GET',
+ params
+ });
+};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/ConditionalHeader.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/ConditionalHeader.tsx
deleted file mode 100644
index 4fa76ff9..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/ConditionalHeader.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-"use client";
-
-import { usePathname } from "next/navigation";
-import LyaoutHeader from "@/app/layout/LyaoutHeader";
-
-export default function ConditionalHeader() {
- const pathname = usePathname();
-
- // 检查是否是根页面(/zh-CN 或 /en 等)或 websit 下的页面
- const shouldHideHeader = (pathname: string) => {
- // 移除语言前缀,获取实际路径
- const pathWithoutLang = pathname.replace(/^\/[a-z]{2}(-[A-Z]{2})?/, '') || '/';
-
- // 如果是根页面或 websit 下的页面,则隐藏 LyaoutHeader
- return pathWithoutLang === '/' || pathWithoutLang.startsWith('/websit');
- };
-
- if (shouldHideHeader(pathname)) {
- return null;
- }
-
- return <LyaoutHeader />;
-}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/accountCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/accountCore.tsx
index 689f61f2..e5fa383f 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/accountCore.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/accountCore.tsx
@@ -3,24 +3,76 @@
import styles from "./accounts.module.scss";
import { useAccountStore } from "@/store/account";
import { useShallow } from "zustand/react/shallow";
-import { useEffect } from "react";
+import { useEffect, useState } from "react";
import { NoSSR } from "@kwooshung/react-no-ssr";
import AccountSidebar from "@/app/[lng]/accounts/components/AccountSidebar/AccountSidebar";
import CalendarTiming from "@/app/[lng]/accounts/components/CalendarTiming";
+import AddAccountModal from "@/app/[lng]/accounts/components/AddAccountModal";
+import { PlatType } from "@/app/config/platConfig";
+import { SocialAccount } from "@/api/types/account.type";
-export default function AccountPageCore() {
- const { accountInit, accountActive, setAccountActive } = useAccountStore(
+interface AccountPageCoreProps {
+ searchParams?: {
+ platform?: string;
+ spaceId?: string;
+ };
+}
+
+export default function AccountPageCore({ searchParams }: AccountPageCoreProps) {
+ const { accountInit, accountActive, setAccountActive, accountGroupList } = useAccountStore(
useShallow((state) => ({
accountInit: state.accountInit,
setAccountActive: state.setAccountActive,
accountActive: state.accountActive,
+ accountGroupList: state.accountGroupList,
})),
);
+ // 添加账号弹窗状态
+ const [addAccountModalOpen, setAddAccountModalOpen] = useState(false);
+ const [targetPlatform, setTargetPlatform] = useState<PlatType | undefined>();
+ const [targetSpaceId, setTargetSpaceId] = useState<string | undefined>();
+
useEffect(() => {
accountInit();
}, []);
+ // 处理URL参数
+ useEffect(() => {
+ if (searchParams?.platform || searchParams?.spaceId) {
+ // 验证平台类型是否有效
+ const platform = searchParams.platform as PlatType;
+ const validPlatforms = Object.values(PlatType);
+
+ if (searchParams.platform && validPlatforms.includes(platform)) {
+ setTargetPlatform(platform);
+ }
+
+ if (searchParams.spaceId) {
+ setTargetSpaceId(searchParams.spaceId);
+ }
+
+ // 打开添加账号弹窗
+ setAddAccountModalOpen(true);
+ }
+ }, [searchParams]);
+
+ const handleAddAccountSuccess = (accountInfo: SocialAccount) => {
+ setAddAccountModalOpen(false);
+ // 可以在这里添加成功提示或其他逻辑
+ };
+
+ const handleAddAccountClose = () => {
+ setAddAccountModalOpen(false);
+ // 清除URL参数(可选)
+ if (typeof window !== 'undefined') {
+ const url = new URL(window.location.href);
+ url.searchParams.delete('platform');
+ url.searchParams.delete('spaceId');
+ window.history.replaceState({}, '', url.toString());
+ }
+ };
+
return (
<NoSSR>
<div className={styles.accounts}>
@@ -35,6 +87,16 @@ export default function AccountPageCore() {
}}
/>
<CalendarTiming />
+
+ {/* 添加账号弹窗 */}
+ <AddAccountModal
+ open={addAccountModalOpen}
+ onClose={handleAddAccountClose}
+ onAddSuccess={handleAddAccountSuccess}
+ targetGroupId={targetSpaceId}
+ showSpaceSelector={!targetSpaceId}
+ autoTriggerPlatform={targetPlatform}
+ />
</div>
</NoSSR>
);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.module.scss
index 70d39220..37d334b3 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.module.scss
@@ -12,6 +12,11 @@
}
:global {
+ .ant-collapse {
+ height: 100%;
+ overflow: auto;
+ }
+
.ant-skeleton-paragraph {
margin-top: 15px !important;
}
@@ -90,7 +95,7 @@
}
.accountSidebar-footer {
- padding: 5px 0;
+ padding: 10px;
border-top: 1px solid var(--grayColor3);
text-align: center;
}
@@ -169,8 +174,6 @@
}
.ant-collapse {
- overflow: auto;
- height: 100%;
border: none;
background: transparent;
.ant-collapse-content-box {
@@ -357,6 +360,8 @@
overflow: hidden;
position: relative;
padding: 10px;
+ display: flex;
+ flex-direction: column;
&-head {
display: flex;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.tsx
index 2524d4aa..243995e6 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/AccountSidebar.tsx
@@ -8,7 +8,17 @@ import {
useState,
} from "react";
import styles from "./AccountSidebar.module.scss";
-import { Avatar, Button, Collapse, Popover, Skeleton, Tooltip } from "antd";
+import {
+ Avatar,
+ Button,
+ Collapse,
+ Popover,
+ Skeleton,
+ Tooltip,
+ Modal,
+ Input,
+ message,
+} from "antd";
// import { accountLogin, acpAccountLoginCheck } from "@/icp/account";
import {
CheckCircleOutlined,
@@ -25,7 +35,14 @@ import { AccountStatus } from "@/app/config/accountConfig";
import { SocialAccount } from "@/api/types/account.type";
import { getOssUrl } from "@/utils/oss";
import { useTransClient } from "@/app/i18n/client";
-import { getIpLocation, IpLocationInfo, formatLocationInfo } from "@/utils/ipLocation";
+import {
+ getIpLocation,
+ IpLocationInfo,
+ formatLocationInfo,
+ extractCountry,
+} from "@/utils/ipLocation";
+import { createAccountGroupApi, updateAccountApi } from "@/api/account";
+import AddAccountModal from "../AddAccountModal";
export interface IAccountSidebarRef {}
@@ -82,7 +99,7 @@ const AccountPopoverInfo = ({
<p>{t("platform")}:</p>
<p>
<img src={platInfo?.icon} />
- {platInfo.name }
+ {platInfo.name}
</p>
</div>
</div>
@@ -139,12 +156,14 @@ const AccountSidebar = memo(
const {
accountList: fullAccountList,
getAccountList,
+ getAccountGroup,
accountGroupList,
accountLoading,
} = useAccountStore(
useShallow((state) => ({
accountList: state.accountList,
getAccountList: state.getAccountList,
+ getAccountGroup: state.getAccountGroup,
accountGroupList: state.accountGroupList,
accountLoading: state.accountLoading,
})),
@@ -153,11 +172,31 @@ const AccountSidebar = memo(
const userManageModalRef = useRef<IUserManageModalRef>(null);
const [mcpManagerModalOpen, setMcpManagerModalOpen] = useState(false);
const mcpManagerModalRef = useRef<IMCPManagerModalRef>(null);
-
+
// IP地理位置信息状态
- const [ipLocationInfo, setIpLocationInfo] = useState<IpLocationInfo | null>(null);
+ const [ipLocationInfo, setIpLocationInfo] =
+ useState<IpLocationInfo | null>(null);
const [ipLocationLoading, setIpLocationLoading] = useState(false);
+ // 新建空间状态
+ const [openCreateGroup, setOpenCreateGroup] = useState(false);
+ const [groupName, setGroupName] = useState("");
+ const [createGroupLoading, setCreateGroupLoading] = useState(false);
+
+ // 新建空间相关函数
+ const createGroupCancel = () => {
+ setOpenCreateGroup(false);
+ setGroupName("");
+ };
+
+ // 添加账号相关状态
+ const [isAddAccountOpen, setIsAddAccountOpen] = useState(false);
+ const preAccountIds = useRef<Set<string>>(new Set());
+ const pendingGroupIdRef = useRef<string | null>(null);
+ const isAssigningRef = useRef(false);
+ const snapshotReadyRef = useRef(false);
+ const allUser = useRef("-1");
+
// 在组件内部过滤账号列表,而不是在 useAccountStore 中过滤
const accountList = useMemo(() => {
return fullAccountList.filter(
@@ -177,7 +216,7 @@ const AccountSidebar = memo(
const info = await getIpLocation();
setIpLocationInfo(info);
} catch (error) {
- console.error('获取IP地理位置信息失败:', error);
+ console.error("获取IP地理位置信息失败:", error);
} finally {
setIpLocationLoading(false);
}
@@ -187,6 +226,55 @@ const AccountSidebar = memo(
fetchIpLocation();
}, []);
+ // 添加账号流程
+ const openAddAccountFlow = async () => {
+ if (accountGroupList.length === 0) {
+ message.error("请先创建空间");
+ return;
+ }
+
+ // 直接打开AddAccountModal,让用户选择空间
+ if ((useAccountStore.getState().accountList || []).length === 0) {
+ await getAccountList();
+ }
+ preAccountIds.current = new Set(
+ (useAccountStore.getState().accountList || []).map((v) => v.id),
+ );
+ snapshotReadyRef.current = true;
+ setIsAddAccountOpen(true);
+ };
+
+ // 监听账号列表变化,自动分配新账号到当前空间
+ useEffect(() => {
+ const maybeAssign = async () => {
+ if (!pendingGroupIdRef.current) return;
+ if (isAssigningRef.current) return;
+ if (!snapshotReadyRef.current) return;
+ const currList = fullAccountList || [];
+ const newAccounts = currList.filter(
+ (a) => !preAccountIds.current.has(a.id),
+ );
+ if (newAccounts.length === 0) return;
+ isAssigningRef.current = true;
+ try {
+ const targetGroupId = pendingGroupIdRef.current!;
+ for (const acc of newAccounts) {
+ try {
+ await updateAccountApi({ id: acc.id, groupId: targetGroupId });
+ } catch {}
+ }
+ await getAccountList();
+ message.success(t("accountAddedToSpace"));
+ } finally {
+ pendingGroupIdRef.current = null;
+ preAccountIds.current = new Set();
+ isAssigningRef.current = false;
+ snapshotReadyRef.current = false;
+ }
+ };
+ maybeAssign();
+ }, [fullAccountList]);
+
return (
<>
<UserManageModal
@@ -199,6 +287,95 @@ const AccountSidebar = memo(
open={mcpManagerModalOpen}
onClose={setMcpManagerModalOpen}
/>
+
+ <AddAccountModal
+ open={isAddAccountOpen}
+ onClose={async () => {
+ setIsAddAccountOpen(false);
+ }}
+ onAddSuccess={async (acc) => {
+ try {
+ if (pendingGroupIdRef.current) {
+ await updateAccountApi({
+ id: acc.id,
+ groupId: pendingGroupIdRef.current,
+ });
+ message.success(t("accountAddedToSpace"));
+ }
+ } finally {
+ pendingGroupIdRef.current = null;
+ await getAccountList();
+ }
+ }}
+ showSpaceSelector={true}
+ />
+
+ {/* 新建空间Modal */}
+ <Modal
+ open={openCreateGroup}
+ title={t("createSpace.title")}
+ onCancel={createGroupCancel}
+ footer={
+ <>
+ <Button onClick={createGroupCancel}>
+ {t("createSpace.cancel")}
+ </Button>
+ <Button
+ type="primary"
+ onClick={async () => {
+ if (!groupName.trim()) {
+ message.error(t("createSpace.nameRequired"));
+ return;
+ }
+ setCreateGroupLoading(true);
+ try {
+ await createAccountGroupApi({
+ name: groupName.trim(),
+ });
+ await getAccountGroup();
+ message.success(t("createSpace.success"));
+ createGroupCancel();
+ } catch (error) {
+ message.error(t("createSpace.failed"));
+ } finally {
+ setCreateGroupLoading(false);
+ }
+ }}
+ loading={createGroupLoading}
+ >
+ {t("createSpace.save")}
+ </Button>
+ </>
+ }
+ >
+ <div className={styles.createGroup}>
+ <label>{t("createSpace.name")}</label>
+ <Input
+ value={groupName}
+ placeholder={t("createSpace.namePlaceholder")}
+ onChange={(e) => setGroupName(e.target.value)}
+ onPressEnter={async () => {
+ if (!groupName.trim()) {
+ message.error(t("createSpace.nameRequired"));
+ return;
+ }
+ setCreateGroupLoading(true);
+ try {
+ await createAccountGroupApi({
+ name: groupName.trim(),
+ });
+ await getAccountGroup();
+ message.success(t("createSpace.success"));
+ createGroupCancel();
+ } catch (error) {
+ message.error(t("createSpace.failed"));
+ } finally {
+ setCreateGroupLoading(false);
+ }
+ }}
+ />
+ </div>
+ </Modal>
{/*TODO 在线状态检测 */}
{/*<PubAccountDetModule*/}
{/* title="账号检测"*/}
@@ -207,7 +384,7 @@ const AccountSidebar = memo(
{/* accounts={accountList}*/}
{/* isFooter={false}*/}
{/*/>*/}
-
+
<div className={styles.accountSidebar}>
<div className="accountSidebar-top">
<div className="accountSidebar-top-box">
@@ -219,7 +396,6 @@ const AccountSidebar = memo(
<UserOutlined />
{t("accountManager")}
</Button>
-
</div>
{/* mcp 按钮 */}
<div className="accountSidebar-top-box">
@@ -251,13 +427,14 @@ const AccountSidebar = memo(
// 为默认分组添加IP和地址信息
const isDefaultGroup = v.isDefault;
const showIpInfo = isDefaultGroup && ipLocationInfo;
-
return {
key: v.id,
label: (
<>
<div className="accountSidebar-groupLabel">
- <span className="accountSidebar-groupName">{v.name}</span>
+ <span className="accountSidebar-groupName">
+ {v.name}
+ </span>
<span className="accountSidebar-userCount">
{v.children?.length}/
{
@@ -267,28 +444,40 @@ const AccountSidebar = memo(
}
</span>
{/* 根据proxyIp判断显示IP信息 */}
- {(!v.proxyIp || v.proxyIp === "") ? (
+ {!v.proxyIp || v.proxyIp === "" ? (
// 本地IP显示
<div className="accountSidebar-ipInfo">
{ipLocationLoading ? (
- <span className="accountSidebar-ipLoading">{t("ipInfo.loading")}</span>
+ <span className="accountSidebar-ipLoading">
+ {t("ipInfo.loading")}
+ </span>
) : ipLocationInfo ? (
- <Tooltip title={t("ipInfo.tooltip", { asn: ipLocationInfo.asn, org: ipLocationInfo.org })}>
+ <Tooltip
+ title={t("ipInfo.tooltip", {
+ asn: ipLocationInfo.asn,
+ org: ipLocationInfo.org,
+ })}
+ >
<span className="accountSidebar-ipText">
{formatLocationInfo(ipLocationInfo)}
</span>
</Tooltip>
) : (
- <span className="accountSidebar-ipError">{t("ipInfo.error")}</span>
+ <span className="accountSidebar-ipError">
+ {t("ipInfo.error")}
+ </span>
)}
</div>
) : (
// 数据中的IP显示
- v.ip && v.location && (
+ v.ip &&
+ v.location && (
<div className="accountSidebar-ipInfo">
- <Tooltip title={`IP: ${v.ip}\n位置: ${v.location}`}>
+ <Tooltip
+ title={`IP: ${v.ip}\n位置: ${v.location}`}
+ >
<span className="accountSidebar-ipText">
- {v.ip} | {v.location}
+ {extractCountry(v.location)} | {v.ip}
</span>
</Tooltip>
</div>
@@ -366,16 +555,27 @@ const AccountSidebar = memo(
/>
)}
- {/*<div className="accountSidebar-footer">*/}
- {/* <Button*/}
- {/* type="link"*/}
- {/* onClick={() => {*/}
- {/* pubAccountDetModuleRef.current?.startDet();*/}
- {/* }}*/}
- {/* >*/}
- {/* {t("checkAllLoginStatus")}*/}
- {/* </Button>*/}
- {/*</div>*/}
+ <div className="accountSidebar-footer">
+ <Button
+ type="default"
+ icon={<PlusOutlined />}
+ onClick={openAddAccountFlow}
+ style={{ width: "100%", marginBottom: "10px" }}
+ >
+ {t("addAccount")}
+ </Button>
+
+ <Button
+ type="primary"
+ icon={<PlusOutlined />}
+ onClick={() => {
+ setOpenCreateGroup(true);
+ }}
+ style={{ width: "100%" }}
+ >
+ {t("createSpace.button")}
+ </Button>
+ </div>
</div>
</>
);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageModal.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageModal.tsx
index e9489f07..57fc324e 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageModal.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageModal.tsx
@@ -39,7 +39,7 @@ import AvatarPlat from "@/components/AvatarPlat";
import { deleteAccountsApi, updateAccountApi } from "@/api/account";
import { useTransClient } from "@/app/i18n/client";
import AddAccountModal from "../AddAccountModal";
-import { getIpLocation, IpLocationInfo, formatLocationInfo } from "@/utils/ipLocation";
+import { getIpLocation, IpLocationInfo, formatLocationInfo, extractCountry } from "@/utils/ipLocation";
export interface IUserManageModalRef {
setActiveGroup: (groupId: string) => void;
@@ -194,7 +194,7 @@ const SpaceInfoCard = ({
cursor: 'help',
fontWeight: '500'
}}>
- {currentSpace.ip} | {currentSpace.location}
+ {extractCountry(currentSpace.location)} | {currentSpace.ip}
</span>
</Tooltip>
</div>
@@ -256,8 +256,6 @@ const UserManageModal = memo(
const [cutLoading, setCutLoading] = useState(false);
const [isAddAccountOpen, setIsAddAccountOpen] = useState(false);
const [targetGroupIdForModal, setTargetGroupIdForModal] = useState<string | undefined>(undefined);
- const [chooseGroupOpen, setChooseGroupOpen] = useState(false);
- const [chosenGroupId, setChosenGroupId] = useState<string | undefined>(undefined);
const preAccountIds = useRef<Set<string>>(new Set());
const pendingGroupIdRef = useRef<string | null>(null);
const isAssigningRef = useRef(false);
@@ -266,7 +264,7 @@ const UserManageModal = memo(
const columns = useMemo(() => {
const columns: TableProps<SocialAccount>["columns"] = [
{
- title: "账号",
+ title: t("userManageModal.account"),
render: (text, am) => {
return (
<div
@@ -287,7 +285,7 @@ const UserManageModal = memo(
key: "nickname",
},
{
- title: "平台",
+ title: t("userManageModal.platform"),
render: (text, am) => {
const platInfo = AccountPlatInfoMap.get(am.type)!;
return (
@@ -337,7 +335,7 @@ const UserManageModal = memo(
key: "nickname",
},
{
- title: "所属列表",
+ title: t("userManageModal.space"),
render: (text, am) => {
return (
<UserGroupSelect
@@ -410,13 +408,14 @@ const UserManageModal = memo(
};
useImperativeHandle(ref, () => imperativeHandle);
- const openAddAccountFlow = async () => {
+ const openAddAccountFlow = async () => {
const currentGroupId = activeGroup;
close();
if (currentGroupId === allUser.current) {
- setChosenGroupId(accountGroupList[0]?.id);
- setChooseGroupOpen(true);
+ // 如果选择的是"全部账号",需要用户选择空间
+ setIsAddAccountOpen(true);
} else {
+ // 如果选择的是具体空间,直接使用该空间
pendingGroupIdRef.current = currentGroupId;
setTargetGroupIdForModal(currentGroupId);
if ((useAccountStore.getState().accountList || []).length === 0) {
@@ -586,34 +585,7 @@ const UserManageModal = memo(
</div>
</Spin>
</Modal>
- <Modal
- open={chooseGroupOpen}
- title={t("chooseSpace" as any)}
- onCancel={() => setChooseGroupOpen(false)}
- onOk={async () => {
- if (!chosenGroupId) return message.warning(t("pleaseChooseSpace" as any));
- pendingGroupIdRef.current = chosenGroupId;
- setTargetGroupIdForModal(chosenGroupId);
- if ((useAccountStore.getState().accountList || []).length === 0) {
- await getAccountList();
- }
- preAccountIds.current = new Set(
- (useAccountStore.getState().accountList || []).map((v) => v.id),
- );
- snapshotReadyRef.current = true;
- setChooseGroupOpen(false);
- setIsAddAccountOpen(true);
- }}
- width={420}
- >
- <Select
- style={{ width: "100%" }}
- placeholder={t("pleaseChooseSpace" as any)}
- value={chosenGroupId}
- onChange={setChosenGroupId}
- options={accountGroupList.map((g) => ({ value: g.id, label: g.name }))}
- />
- </Modal>
+
<AddAccountModal
open={isAddAccountOpen}
@@ -633,6 +605,7 @@ const UserManageModal = memo(
}
}}
targetGroupId={targetGroupIdForModal}
+ showSpaceSelector={activeGroup === allUser.current}
/>
</>
);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageSidebar.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageSidebar.tsx
index dc208af9..264f1586 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageSidebar.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AccountSidebar/UserManageSidebar.tsx
@@ -17,6 +17,7 @@ import {
updateAccountGroupApi,
} from "@/api/account";
import { AccountGroupItem } from "@/api/types/account.type";
+import { useTransClient } from "@/app/i18n/client";
export interface IUserManageSidebarRef {}
@@ -37,6 +38,7 @@ const UserManageSidebar = memo(
{ activeGroup, allUser, onChange, onSortEnd }: IUserManageSidebarProps,
ref: ForwardedRef<IUserManageSidebarRef>,
) => {
+ const { t } = useTransClient("account");
const {
accountGroupList,
accountList,
@@ -84,16 +86,16 @@ const UserManageSidebar = memo(
setGroupName(rightClickOperateData!.name);
}}
>
- 重命名
+ {t("userManageSidebar.rename")}
</MenuItem>
<MenuItem
onClick={() => {
confirm({
- title: "提示",
+ title: t("userManageSidebar.confirmDelete"),
icon: <ExclamationCircleFilled />,
content: (
<>
- 请确认是否删除列表:
+ {t("userManageSidebar.confirmDeleteContent")}
<span
style={{
color: "var(--colorPrimary6)",
@@ -107,22 +109,22 @@ const UserManageSidebar = memo(
onOk: async () => {
await deleteAccountGroupApi([rightClickOperateData!.id]);
await getAccountGroup();
- message.success("删除成功");
+ message.success(t("userManageSidebar.deleteSuccess"));
},
});
}}
>
- 删除
+ {t("userManageSidebar.delete")}
</MenuItem>
</ControlledMenu>
<Modal
open={openCreateGroup}
- title={createGroupId === "-1" ? "新建空间" : "重命名空间"}
+ title={createGroupId === "-1" ? t("userManageSidebar.createSpaceTitle") : t("userManageSidebar.renameSpaceTitle")}
onCancel={createGroupCancel}
footer={
<>
- <Button onClick={createGroupCancel}>取消</Button>
+ <Button onClick={createGroupCancel}>{t("userManageSidebar.cancel")}</Button>
<Button
type="primary"
onClick={async () => {
@@ -144,16 +146,16 @@ const UserManageSidebar = memo(
}}
loading={createGroupLoading}
>
- 保存
+ {t("userManageSidebar.save")}
</Button>
</>
}
>
<div className={styles.createGroup}>
- <label>空间名</label>
+ <label>{t("userManageSidebar.spaceName")}</label>
<Input
value={groupName}
- placeholder="请输入空间名称"
+ placeholder={t("userManageSidebar.spaceNamePlaceholder")}
onChange={(e) => setGroupName(e.target.value)}
/>
</div>
@@ -170,13 +172,13 @@ const UserManageSidebar = memo(
onChange(allUser);
}}
>
- <span className="userManage-sidebar-name">全部账号</span>
+ <span className="userManage-sidebar-name">{t("userManageSidebar.allAccounts")}</span>
<span className="userManage-sidebar-count">
{accountList.length}
</span>
</div>
<div className="userManage-sidebar-list">
- <p className="userManage-sidebar-list-title">空间</p>
+ <p className="userManage-sidebar-list-title">{t("userManageSidebar.spaces")}</p>
<ReactSortable
className="userManage-sidebar-list-sortable"
@@ -206,7 +208,7 @@ const UserManageSidebar = memo(
onContextMenu={(e) => {
e.preventDefault();
if (v.isDefault) {
- return message.error("不能操作默认列表");
+ return message.error(t("userManageSidebar.cannotOperateDefault"));
}
setAnchorPoint({ x: e.clientX, y: e.clientY });
setOpen(true);
@@ -239,7 +241,7 @@ const UserManageSidebar = memo(
setOpenCreateGroup(true);
}}
>
- 新建空间
+ {t("userManageSidebar.createSpace")}
</Button>
</div>
</div>
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/AddAccountModal.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/AddAccountModal.module.scss
index 98980748..2446d580 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/AddAccountModal.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/AddAccountModal.module.scss
@@ -6,26 +6,34 @@
}
.addAccountModal_plats {
display: grid;
- grid-template-columns: repeat(8, 1fr);
+ grid-template-columns: repeat(6, 1fr);
+ gap: 12px;
max-height: 400px;
overflow-y: auto;
+ margin-bottom: 20px;
&-item {
- padding: 13px 0;
+ padding: 8px;
border-radius: 8px;
- height: auto;
+ height: 90px;
white-space: nowrap;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
&-con {
display: flex;
flex-direction: column;
align-items: center;
+ gap: 8px;
width: 100%;
img {
- width: 35px;
- margin-bottom: 4px;
+ width: 40px;
+ height: 40px;
}
}
span {
- font-size: var(--fs-xs);
+ font-size: 12px;
+ text-align: center;
}
}
}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/index.tsx
index e60ed9d8..837a44df 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/AddAccountModal/index.tsx
@@ -1,6 +1,6 @@
import { ForwardedRef, forwardRef, memo, useEffect, useMemo, useState } from "react";
import styles from "./AddAccountModal.module.scss";
-import { Button, Modal, Tooltip } from "antd";
+import { Button, Modal, Tooltip, Select, Space, Typography } from "antd";
import { AccountPlatInfoArr, PlatType } from "@/app/config/platConfig";
import { SocialAccount } from "@/api/types/account.type";
import { useTransClient } from "@/app/i18n/client";
@@ -15,8 +15,12 @@ import { threadsSkip } from "../../plat/ThreadsLogin";
import { wxGzhSkip } from "../../plat/WxGzh";
import { pinterestSkip } from "../../plat/PinterestLogin";
import { useAccountStore } from "@/store/account";
+import { useShallow } from "zustand/react/shallow";
import { getIpLocation, IpLocationInfo } from "@/utils/ipLocation";
import DownloadAppModal from "@/components/common/DownloadAppModal";
+import { updateAccountApi } from "@/api/account";
+
+const { Text } = Typography;
export interface IAddAccountModalRef {}
@@ -26,21 +30,34 @@ export interface IAddAccountModalProps {
onAddSuccess: (accountInfo: SocialAccount) => void;
// 目标空间ID,用于根据空间属地(CN)过滤可添加平台
targetGroupId?: string;
+ // 是否显示空间选择器(当从AccountSidebar的"添加账号"按钮打开时显示)
+ showSpaceSelector?: boolean;
+ // 自动触发平台,用于在打开时直接尝试跳转授权
+ autoTriggerPlatform?: PlatType;
}
const AddAccountModal = memo(
forwardRef(
- (
- { open, onClose, onAddSuccess, targetGroupId }: IAddAccountModalProps,
+ (
+ { open, onClose, onAddSuccess, targetGroupId, showSpaceSelector = false, autoTriggerPlatform }: IAddAccountModalProps,
ref: ForwardedRef<IAddAccountModalRef>,
) => {
const { t } = useTransClient('account');
const [showFacebookPagesModal, setShowFacebookPagesModal] = useState(false);
- const accountGroupList = useAccountStore((state) => state.accountGroupList);
+ const { accountGroupList, getAccountList } = useAccountStore(
+ useShallow((state) => ({
+ accountGroupList: state.accountGroupList,
+ getAccountList: state.getAccountList,
+ }))
+ );
const [downloadVisible, setDownloadVisible] = useState(false);
const [downloadPlatform, setDownloadPlatform] = useState<string>("");
const aitoearnDownloadUrl = process.env.NEXT_PUBLIC_AITOEARN_APP_DOWNLOAD_URL || "";
+ // 空间选择相关状态
+ const [selectedSpaceId, setSelectedSpaceId] = useState<string | undefined>(targetGroupId);
+ const [spaceSelectionRequired, setSpaceSelectionRequired] = useState(false);
+
// 判断location是否属于中国(CN)
const isLocationCN = (location?: string | null): boolean => {
if (!location) return false;
@@ -52,14 +69,39 @@ const AddAccountModal = memo(
const [isCnSpace, setIsCnSpace] = useState<boolean | null>(null);
const [isLocLoading, setIsLocLoading] = useState(false);
+ // 初始化空间选择 - 简化版本
useEffect(() => {
- if (!open || !targetGroupId) {
+ if (!open) {
+ setSpaceSelectionRequired(false);
+ setSelectedSpaceId(undefined);
+ return;
+ }
+
+ if (showSpaceSelector) {
+ setSpaceSelectionRequired(true);
+ // 默认选择第一个默认空间
+ const defaultSpace = accountGroupList.find(group => group.isDefault);
+ if (defaultSpace && !selectedSpaceId) {
+ setSelectedSpaceId(defaultSpace.id);
+ }
+ } else {
+ setSpaceSelectionRequired(false);
+ if (targetGroupId) {
+ setSelectedSpaceId(targetGroupId);
+ }
+ }
+ }, [open, showSpaceSelector, targetGroupId, accountGroupList, selectedSpaceId]);
+
+
+
+ useEffect(() => {
+ if (!open || !selectedSpaceId) {
setIsCnSpace(null);
setIsLocLoading(false);
return;
}
- const currentSpace = (accountGroupList || []).find((g: any) => g.id === targetGroupId);
+ const currentSpace = (accountGroupList || []).find((g: any) => g.id === selectedSpaceId);
if (!currentSpace) {
setIsCnSpace(null);
return;
@@ -88,20 +130,42 @@ const AddAccountModal = memo(
return () => {
cancelled = true;
};
- }, [open, targetGroupId, accountGroupList]);
+ }, [open, selectedSpaceId]);
+
+ // 自动触发平台授权
+ useEffect(() => {
+ if (open && autoTriggerPlatform && selectedSpaceId) {
+ // 延迟一下确保弹窗完全打开
+ const timer = setTimeout(() => {
+ const platformInfo = AccountPlatInfoArr.find(([key]) => key === autoTriggerPlatform);
+ if (platformInfo) {
+ handlePlatformClick(autoTriggerPlatform, platformInfo[1]);
+ }
+ }, 500);
+
+ return () => clearTimeout(timer);
+ }
+ }, [open, autoTriggerPlatform, selectedSpaceId]);
// 判断平台是否在当前属地可用
const isPlatformAvailable = (platType: PlatType): boolean => {
+ // TODO: 暂时屏蔽国内平台 @@.@@
+ // return true;
if (isCnSpace === null) return true; // 未确定属地时显示所有平台
const cnOnlyPlatforms = new Set<PlatType>([
- PlatType.Xhs,
PlatType.Douyin,
PlatType.KWAI,
PlatType.WxGzh,
+ PlatType.WxSph,
PlatType.BILIBILI,
]);
+ // 小红书是全球平台,不受IP限制
+ if (platType === PlatType.Xhs) {
+ return true;
+ }
+
if (isCnSpace === true) {
// 中国属地:仅国内平台可用
return cnOnlyPlatforms.has(platType);
@@ -111,8 +175,6 @@ const AddAccountModal = memo(
}
};
-
-
const handleOk = () => {
onClose();
};
@@ -133,6 +195,127 @@ const AddAccountModal = memo(
// 可以在这里添加成功提示或其他逻辑
};
+ // 处理平台点击
+ const handlePlatformClick = async (key: PlatType, value: any) => {
+ // 如果需要选择空间但未选择,提示用户
+ if (spaceSelectionRequired && !selectedSpaceId) {
+ return;
+ }
+
+ // 如果平台在当前属地不可用,则提示
+ if (!isPlatformAvailable(key)) {
+ return;
+ }
+
+ // 如果该平台在PC端不可用,则提示下载Aitoearn App
+ if (value.pcNoThis) {
+ setDownloadPlatform(value.name);
+ setDownloadVisible(true);
+ return;
+ }
+
+ // 记录授权前的账号数量,用于后续识别新账号
+ const beforeAuthCount = accountGroupList.reduce((total, group) => total + group.children.length, 0);
+
+ switch (key) {
+ case PlatType.KWAI:
+ await kwaiSkip(key);
+ break;
+ case PlatType.BILIBILI:
+ await bilibiliSkip(key);
+ break;
+ case PlatType.YouTube:
+ await youtubeSkip(key);
+ break;
+ case PlatType.Twitter:
+ await twitterSkip(key);
+ break;
+ case PlatType.Tiktok:
+ await tiktokSkip(key);
+ break;
+ case PlatType.Facebook:
+ try {
+ await facebookSkip(key);
+ // Facebook授权成功后显示页面选择弹窗
+ handleFacebookAuthSuccess();
+ } catch (error) {
+ console.error('Facebook授权失败:', error);
+ }
+ break;
+ case PlatType.Instagram:
+ await instagramSkip(key);
+ break;
+ case PlatType.Threads:
+ await threadsSkip(key);
+ break;
+ case PlatType.WxGzh:
+ await wxGzhSkip(key);
+ break;
+ case PlatType.Pinterest:
+ await pinterestSkip(key);
+ break;
+ }
+
+ // 如果指定了目标空间,等待授权完成后移动新账号
+ if (selectedSpaceId) {
+ // 检查选中的空间是否是默认空间
+ const targetGroup = accountGroupList.find(group => group.id === selectedSpaceId);
+ const isDefaultSpace = targetGroup?.isDefault;
+
+ // console.log('移动空间调试信息:', {
+ // selectedSpaceId,
+ // targetGroupName: targetGroup?.name,
+ // isDefaultSpace,
+ // showSpaceSelector,
+ // spaceSelectionRequired
+ // });
+
+ // 只有当选择了非默认空间时才移动账号
+ if (!isDefaultSpace) {
+ console.log('准备移动账号到空间:', targetGroup?.name);
+ setTimeout(async () => {
+ try {
+ // 刷新账号列表
+ await getAccountList();
+
+ // 获取最新的账号组列表
+ const currentState = useAccountStore.getState();
+ const defaultGroup = currentState.accountGroupList.find(group => group.isDefault);
+
+ if (defaultGroup) {
+ // 找到相同平台类型的最后一个账号(最新添加的)
+ const sameTypeAccounts = defaultGroup.children.filter(account => account.type === key);
+ const latestAccount = sameTypeAccounts[sameTypeAccounts.length - 1];
+
+ if (latestAccount) {
+ console.log('找到最新账号:', latestAccount.account, '平台:', key);
+
+ // 将新账号移动到指定空间
+ console.log('移动账号:', latestAccount.account, '到空间:', targetGroup?.name);
+ await updateAccountApi({
+ id: latestAccount.id,
+ groupId: selectedSpaceId
+ });
+ } else {
+ console.log('未找到相同平台类型的账号');
+ }
+
+ // 再次刷新账号列表以更新UI
+ await getAccountList();
+ console.log('账号移动完成');
+ }
+ } catch (error) {
+ console.error('移动账号到指定空间失败:', error);
+ }
+ }, 3000); // 等待3秒让授权完成
+ } else {
+ console.log('选择的是默认空间,无需移动账号');
+ }
+ } else {
+ console.log('未选择空间,不移动账号');
+ }
+ };
+
return (
<>
<Modal
@@ -145,82 +328,67 @@ const AddAccountModal = memo(
>
<div className={styles.addAccountModal}>
<h1>{t('addAccountModal.subtitle')}</h1>
+
+ {/* 空间选择器 */}
+ {spaceSelectionRequired && (
+ <div style={{
+ marginBottom: '20px',
+ paddingBottom: '16px',
+ borderBottom: '1px solid var(--grayColor3)'
+ }}>
+ <Space align="center" style={{ width: '100%' }}>
+ <Text strong style={{ fontSize: '14px', minWidth: '80px' }}>{t('addAccountModal.addTo')}</Text>
+ <Select
+ style={{ width: '200px' }}
+ placeholder={t('pleaseChooseSpace')}
+ value={selectedSpaceId}
+ onChange={setSelectedSpaceId}
+ options={accountGroupList.map((g) => ({ value: g.id, label: g.name }))}
+ />
+ </Space>
+ </div>
+ )}
+
+ {/* 当前选择的空间信息 */}
+ {selectedSpaceId && !spaceSelectionRequired && (
+ <div style={{
+ marginBottom: '20px',
+ padding: '12px',
+ backgroundColor: 'var(--grayColor1)',
+ borderRadius: '6px',
+ border: '1px solid var(--grayColor3)',
+ fontSize: 'var(--fs-xs)',
+ color: 'var(--grayColor6)'
+ }}>
+ <Text>{t('addAccountModal.currentSpace')}: {accountGroupList.find(g => g.id === selectedSpaceId)?.name}</Text>
+ </div>
+ )}
+
<div className="addAccountModal_plats">
{AccountPlatInfoArr.map(([key, value]) => {
const isAvailable = isPlatformAvailable(key as PlatType);
return (
- // !value.pcNoThis &&
<Tooltip title={value.tips?.account} key={key}>
-
<Button
type="text"
className={`addAccountModal_plats-item ${!isAvailable ? 'disabled' : ''}`}
- disabled={!isAvailable}
- onClick={async () => {
- // 如果平台在当前属地不可用,则提示
- if (!isAvailable) {
- return;
- }
- // 如果该平台在PC端不可用,则提示下载Aitoearn App
- if (value.pcNoThis) {
- setDownloadPlatform(value.name);
- setDownloadVisible(true);
- return;
- }
- switch (key) {
- case PlatType.KWAI:
- await kwaiSkip(key);
- break;
- case PlatType.BILIBILI:
- await bilibiliSkip(key);
- break;
- case PlatType.YouTube:
- await youtubeSkip(key);
- break;
- case PlatType.Twitter:
- await twitterSkip(key);
- break;
- case PlatType.Tiktok:
- await tiktokSkip(key);
- break;
- case PlatType.Facebook:
- try {
- await facebookSkip(key);
- // Facebook授权成功后显示页面选择弹窗
- handleFacebookAuthSuccess();
- } catch (error) {
- console.error('Facebook授权失败:', error);
- }
- break;
- case PlatType.Instagram:
- await instagramSkip(key);
- break;
- case PlatType.Threads:
- await threadsSkip(key);
- break;
- case PlatType.WxGzh:
- await wxGzhSkip(key);
- break;
- case PlatType.Pinterest:
- await pinterestSkip(key);
- break;
- }
- }}
+ disabled={!isAvailable || (spaceSelectionRequired && !selectedSpaceId)}
+ onClick={() => handlePlatformClick(key as PlatType, value)}
+
>
-
<div className="addAccountModal_plats-item-con">
- {/*<LoadingOutlined style={{ fontSize: '20px' }} />*/}
- <img src={value.icon} style={{ opacity: isAvailable ? 1 : 0.5 }} />
+ <img
+ src={value.icon}
+ style={{ opacity: isAvailable ? 1 : 0.5 }}
+ />
<span style={{ opacity: isAvailable ? 1 : 0.5 }}>{value.name}</span>
</div>
-
-
</Button>
-
</Tooltip>
);
})}
</div>
+
{/* 属地限制提示 */}
{isCnSpace !== null && (
<div style={{
@@ -233,11 +401,26 @@ const AddAccountModal = memo(
textAlign: 'center'
}}>
{isCnSpace ?
- '当前空间为中国属地,仅显示国内平台' :
- '当前空间为非中国属地,国内平台暂不可用'
+ t('locationRestriction.cnSpace') :
+ t('locationRestriction.nonCnSpace')
}
</div>
)}
+
+ {/* 空间选择提示 */}
+ {spaceSelectionRequired && !selectedSpaceId && (
+ <div style={{
+ marginTop: '16px',
+ padding: '12px',
+ backgroundColor: 'var(--warningColor1)',
+ borderRadius: '6px',
+ fontSize: 'var(--fs-xs)',
+ color: 'var(--warningColor)',
+ textAlign: 'center'
+ }}>
+ {t('addAccountModal.pleaseChooseSpaceFirst')}
+ </div>
+ )}
</div>
</Modal>
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/SentList.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/SentList.tsx
new file mode 100644
index 00000000..c8c5b510
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/SentList.tsx
@@ -0,0 +1,264 @@
+import React, { useEffect, useState } from 'react';
+import { List, Card, Avatar, Typography, Space, Tag, Button, Skeleton, Empty } from 'antd';
+import { EyeOutlined, LikeOutlined, MessageOutlined, ShareAltOutlined, HeartOutlined } from '@ant-design/icons';
+import { useTransClient } from '@/app/i18n/client';
+import { getSentPosts } from '@/api/sent';
+import { SentPost } from '@/api/types/sent.types';
+import styles from './listMode.module.scss';
+
+const { Text, Title } = Typography;
+
+interface SentListProps {
+ platform: string;
+ uid: string;
+ onDataChange?: (count: number) => void;
+ accountInfo?: {
+ avatar: string;
+ nickname: string;
+ account: string;
+ };
+}
+
+const SentList: React.FC<SentListProps> = ({ platform, uid, onDataChange, accountInfo }) => {
+ const { t } = useTransClient("account");
+ const [posts, setPosts] = useState<SentPost[]>([]);
+ const [loading, setLoading] = useState(false);
+ const [hasMore, setHasMore] = useState(false);
+ const [page, setPage] = useState(1);
+
+ const loadPosts = async (pageNum: number = 1, append: boolean = false) => {
+ setLoading(true);
+ try {
+ const response = await getSentPosts({
+ platform,
+ uid,
+ page: pageNum,
+ pageSize: 20
+ });
+
+ // 处理新的API响应格式
+ const responseData = (response as any)?.data || response;
+
+ console.log('SentList API Response:', {
+ code: (response as any)?.code,
+ message: (response as any)?.message,
+ data: responseData
+ });
+
+ if (append) {
+ setPosts(prev => [...prev, ...(responseData?.posts || [])]);
+ } else {
+ setPosts(responseData?.posts || []);
+ }
+ setHasMore(responseData?.hasMore || false);
+
+ // 通知父组件数据变化
+ if (onDataChange) {
+ onDataChange(responseData?.total || 0);
+ }
+ } catch (error) {
+ console.error('Failed to load sent posts:', error);
+ // 发生错误时重置数据
+ if (!append) {
+ setPosts([]);
+ setHasMore(false);
+ if (onDataChange) {
+ onDataChange(0);
+ }
+ }
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ useEffect(() => {
+ if (platform && uid) {
+ loadPosts(1, false);
+ }
+ }, [platform, uid]);
+
+ const loadMore = () => {
+ const nextPage = page + 1;
+ setPage(nextPage);
+ loadPosts(nextPage, true);
+ };
+
+ const formatTime = (timestamp: number) => {
+ const date = new Date(timestamp);
+ return {
+ date: date.toLocaleDateString('zh-CN', { month: '2-digit', day: '2-digit' }),
+ time: date.toLocaleTimeString('zh-CN', { hour: '2-digit', minute: '2-digit', hour12: false })
+ };
+ };
+
+ const getMediaTypeTag = (mediaType: string) => {
+ const typeMap = {
+ video: { color: 'red', text: '视频' },
+ image: { color: 'blue', text: '图片' },
+ article: { color: 'green', text: '文章' }
+ };
+ return typeMap[mediaType as keyof typeof typeMap] || { color: 'default', text: mediaType };
+ };
+
+ const renderPostItem = (post: SentPost) => {
+ const timeInfo = formatTime(post.publishTime);
+ const daysAgo = Math.floor((Date.now() - post.publishTime) / (1000 * 60 * 60 * 24));
+
+ return (
+ <div key={post.postId} className={styles.sentPostItem}>
+ <div className={styles.postCard}>
+ {/* 日期时间头部 */}
+ <div className={styles.postDateHeader}>
+ <div className={styles.dateTime}>
+ <span className={styles.dateText}>{timeInfo.date}</span>
+ <span className={styles.timeText}>{timeInfo.time}</span>
+ </div>
+ </div>
+
+ {/* 帖子内容 */}
+ <div className={styles.postContent}>
+ {/* 用户信息 */}
+ <div className={styles.userInfo}>
+ <Avatar
+ size={40}
+ src={accountInfo?.avatar}
+ className={styles.userAvatar}
+ >
+ {accountInfo?.nickname?.charAt(0) || post.title.charAt(0)}
+ </Avatar>
+ <div className={styles.userDetails}>
+ <div className={styles.username}>{accountInfo?.nickname || post.title}</div>
+ <div className={styles.userSubtitle}>{accountInfo?.account || post.content}</div>
+ </div>
+ {/* <div className={styles.chatIcon}>💬</div> */}
+ </div>
+
+ {/* 帖子文本 */}
+ <div className={styles.postText}>
+ {post.content}
+ </div>
+
+
+
+ {/* 媒体内容 */}
+ {post.thumbnail && (
+ <div className={styles.mediaContainer}>
+ <div className={styles.mediaWrapper}>
+ <img
+ src={post.thumbnail}
+ alt={post.title || post.content}
+ className={styles.mediaImage}
+ />
+ {post.mediaType === 'video' && (
+ <div className={styles.playButton}>
+ <div className={styles.playIcon}>▶</div>
+ </div>
+ )}
+ </div>
+ </div>
+ )}
+
+ {/* 互动数据 */}
+ <div className={styles.engagementMetrics}>
+ <div className={styles.metricsRow}>
+ <div className={styles.metricItem}>
+ <div className={styles.metricIcon}>👍</div>
+ <div className={styles.metricLabel}>Likes</div>
+ <div className={styles.metricValue}>{post.likeCount}</div>
+ </div>
+ <div className={styles.metricItem}>
+ <div className={styles.metricIcon}>🔄</div>
+ <div className={styles.metricLabel}>Shares</div>
+ <div className={styles.metricValue}>{post.shareCount}</div>
+ </div>
+ <div className={styles.metricItem}>
+ <div className={styles.metricIcon}>👁️</div>
+ <div className={styles.metricLabel}>Views</div>
+ <div className={styles.metricValue}>{post.viewCount }</div>
+ </div>
+ <div className={styles.metricItem}>
+ <div className={styles.metricIcon}>💬</div>
+ <div className={styles.metricLabel}>Comments</div>
+ <div className={styles.metricValue}>{post.commentCount }</div>
+ </div>
+ <div className={styles.metricItem}>
+ <div className={styles.metricIcon}>❤️</div>
+ <div className={styles.metricLabel}>Favorites</div>
+ <div className={styles.metricValue}>{post.favoriteCount}</div>
+ </div>
+ <div className={styles.chartIcon}>📊</div>
+ </div>
+ </div>
+
+ {/* 底部信息 */}
+ <div className={styles.postFooter}>
+ <div className={styles.creationInfo}>
+ {t('listMode.createdDaysAgo' as any, { days: daysAgo })}
+ </div>
+ <div className={styles.actionButtons}>
+ <Button
+ type="link"
+ size="small"
+ className={styles.viewPostBtn}
+ onClick={() => window.open(post.permaLink, '_blank')}
+ >
+ {t('listMode.viewPost' as any)} ↗️
+ </Button>
+ <Button
+ type="text"
+ size="small"
+ className={styles.moreBtn}
+ >
+ ⋮
+ </Button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+ };
+
+ if (loading && posts.length === 0) {
+ return (
+ <div className={styles.sentList}>
+ <div className={styles.loadingContainer}>
+ <Skeleton active paragraph={{ rows: 3 }} />
+ <Skeleton active paragraph={{ rows: 3 }} />
+ <Skeleton active paragraph={{ rows: 3 }} />
+ </div>
+ </div>
+ );
+ }
+
+ return (
+ <div className={styles.sentList}>
+ {posts.length > 0 ? (
+ <>
+ <div className={styles.postsContainer}>
+ {posts.map(renderPostItem)}
+ </div>
+ {hasMore && (
+ <div className={styles.loadMoreContainer}>
+ <Button
+ loading={loading}
+ onClick={loadMore}
+ className={styles.loadMoreButton}
+ >
+ 加载更多
+ </Button>
+ </div>
+ )}
+ </>
+ ) : (
+ <div className={styles.emptyState}>
+ <Empty
+ description={t('listMode.noSentPosts' as any)}
+ />
+ </div>
+ )}
+ </div>
+ );
+};
+
+export default SentList;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/index.tsx
index 199725a9..ab823632 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/index.tsx
@@ -1,6 +1,6 @@
import { ForwardedRef, forwardRef, memo, useEffect, useState } from "react";
import styles from "./listMode.module.scss";
-import { Button, List, Skeleton, Empty } from "antd";
+import { Button, List, Skeleton, Empty, Tabs } from "antd";
import { PlusOutlined } from "@ant-design/icons";
import { useTransClient } from "@/app/i18n/client";
import { useCalendarTiming } from "@/app/[lng]/accounts/components/CalendarTiming/useCalendarTiming";
@@ -10,6 +10,8 @@ import { getDays } from "@/app/[lng]/accounts/components/CalendarTiming/calendar
import CalendarRecord from "@/app/[lng]/accounts/components/CalendarTiming/CalendarTimingItem/CalendarRecord";
import { HTML5Backend } from "react-dnd-html5-backend";
import { DndProvider } from "react-dnd";
+import SentList from "./SentList";
+import { useAccountStore } from "@/store/account";
export interface IListModeRef {}
export interface IListModeProps {
@@ -28,6 +30,14 @@ const ListMode = memo(
})),
);
+ const { accountActive } = useAccountStore(
+ useShallow((state) => ({
+ accountActive: state.accountActive,
+ })),
+ );
+
+ const [sentCount, setSentCount] = useState(0);
+
// 将所有记录转换为列表格式
const allRecords = Array.from(recordMap.values()).flat();
@@ -80,49 +90,73 @@ const ListMode = memo(
);
}
- return (
- <div className={styles.listMode}>
- <div className={styles.listHeader}>
- <div className={styles.listHeaderLeft}>
- <h3>{t('listMode.title' as any)}</h3>
- <span className={styles.recordCount}>
- {t('listMode.recordCount' as any, { count: sortedRecords.length })}
- </span>
+ const queueTabContent = (
+ <div className={styles.tabContent}>
+ <DndProvider backend={HTML5Backend}>
+ {sortedRecords.length > 0 ? (
+ <List
+ dataSource={sortedRecords}
+ renderItem={renderRecordItem}
+ className={styles.recordList}
+ />
+ ) : (
+ <Empty
+ description={t('listMode.noRecords' as any)}
+ className={styles.emptyState}
+ />
+ )}
+ </DndProvider>
+ </div>
+ );
+
+ const sentTabContent = accountActive ? (
+ <SentList
+ platform={accountActive.type}
+ uid={accountActive.uid}
+ onDataChange={setSentCount}
+ accountInfo={{
+ avatar: accountActive.avatar,
+ nickname: accountActive.nickname,
+ account: accountActive.account
+ }}
+ />
+ ) : (
+ <Empty
+ description={t('listMode.selectAccountFirst' as any)}
+ className={styles.emptyState}
+ />
+ );
+
+ const tabItems = [
+ {
+ key: 'queue',
+ label: (
+ <div className={styles.tabLabel}>
+ <span>{t('listMode.queue' as any)}</span>
+ <span className={styles.tabBadge}>{sortedRecords.length}</span>
</div>
- <div className={styles.listHeaderRight}>
- <Button
- size="small"
- icon={<PlusOutlined />}
- onClick={() => {
- if (onClickPub) {
- const now = new Date();
- const tomorrow = new Date(now);
- tomorrow.setDate(tomorrow.getDate() + 1);
- tomorrow.setHours(10, 0, 0, 0);
- onClickPub(tomorrow.toISOString());
- }
- }}
- >
- {t('listMode.newWork' as any)}
- </Button>
+ ),
+ children: queueTabContent,
+ },
+ {
+ key: 'sent',
+ label: (
+ <div className={styles.tabLabel}>
+ <span>{t('listMode.sent' as any)}</span>
+ {sentCount>0?<span className={styles.tabBadge}>{sentCount}</span>:''}
</div>
- </div>
- <div className={styles.listContent}>
- <DndProvider backend={HTML5Backend}>
- {sortedRecords.length > 0 ? (
- <List
- dataSource={sortedRecords}
- renderItem={renderRecordItem}
- className={styles.recordList}
- />
- ) : (
- <Empty
- description={t('listMode.noRecords' as any)}
- className={styles.emptyState}
- />
- )}
- </DndProvider>
- </div>
+ ),
+ children: sentTabContent,
+ },
+ ];
+
+ return (
+ <div className={styles.listMode}>
+ <Tabs
+ items={tabItems}
+ className={styles.listTabs}
+ size="small"
+ />
</div>
);
},
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss
index ee4161fd..b7c85e42 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss
@@ -3,7 +3,6 @@
height: 100%;
display: flex;
flex-direction: column;
- overflow: hidden;
padding: 10px 15px 15px 15px;
box-sizing: border-box;
@@ -39,14 +38,115 @@
}
}
- .listContent {
+ .listTabs {
flex: 1;
- overflow-y: auto;
- overflow-x: hidden;
- padding-right: 5px;
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+
+ :global {
+ .ant-tabs {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .ant-tabs-content-holder {
+ flex: 1;
+ min-height: 0;
+ padding: 16px 0 0 0;
+ }
+
+ .ant-tabs-tabpane {
+ height: 100%;
+ overflow-y: auto;
+ overflow-x: hidden;
+ }
+
+ .ant-tabs-nav {
+ margin-bottom: 0;
+ flex-shrink: 0;
+ background: transparent;
+ border-bottom: 1px solid #e8e8e8;
+ padding: 0;
+ }
+
+ .ant-tabs-tab {
+ font-weight: 500;
+ padding: 12px 16px;
+ border-radius: 0;
+ transition: all 0.2s ease;
+ margin: 0;
+ border: none;
+ background: transparent;
+ position: relative;
+ color: #666;
+ }
+
+ .ant-tabs-tab-active {
+ font-weight: 600;
+ color: #1890ff;
+ background: transparent;
+ }
+
+ .ant-tabs-tab-active::after {
+ content: '';
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 2px;
+ background: #1890ff;
+ border-radius: 1px;
+ }
+
+ .ant-tabs-tab:hover:not(.ant-tabs-tab-active) {
+ background: rgba(0, 0, 0, 0.04);
+ color: #333;
+ }
+
+ .ant-tabs-ink-bar {
+ display: none;
+ }
+ }
+ }
+
+ .tabLabel {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ font-size: 14px;
+ }
+
+ .tabBadge {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 20px;
+ height: 20px;
+ padding: 0 6px;
+ background: #f0f0f0;
+ color: #666;
+ border-radius: 10px;
+ font-size: 12px;
+ font-weight: 500;
+ line-height: 1;
+ }
+
+ .tabContent {
+ height: 100%;
+ padding: 0 5px 0 0;
+ }
+
+ .listContent {
+ height: 100%;
+ padding: 0 5px 0 0;
.recordList {
background: transparent;
+ flex: 1;
+ overflow-y: auto;
+ overflow-x: hidden;
:global {
.ant-list-item {
@@ -117,4 +217,321 @@
border-bottom: none;
}
}
+
+ // Sent列表相关样式 - 全新设计
+ .sentList {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ padding: 0;
+
+ .postsContainer {
+ flex: 1;
+ overflow-y: auto;
+ overflow-x: hidden;
+ padding: 0;
+ }
+
+ .sentPostItem {
+ margin-bottom: 24px;
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ .postCard {
+ background: white;
+ border-radius: 12px;
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
+ border: 1px solid #f0f0f0;
+ overflow: hidden;
+ transition: all 0.3s ease;
+
+ &:hover {
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
+ transform: translateY(-2px);
+ }
+ }
+
+ .postDateHeader {
+ padding: 16px 20px 12px 20px;
+ border-bottom: 1px solid #f5f5f5;
+
+ .dateTime {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+
+ .dateText {
+ font-size: 14px;
+ color: #666;
+ font-weight: 500;
+ }
+
+ .timeText {
+ font-size: 14px;
+ color: #666;
+ font-weight: 500;
+ }
+ }
+ }
+
+ .postContent {
+ padding: 20px;
+
+ .userInfo {
+ display: flex;
+ align-items: flex-start;
+ gap: 12px;
+ margin-bottom: 16px;
+
+ .userAvatar {
+ flex-shrink: 0;
+ border: 2px solid #f0f0f0;
+ }
+
+ .userDetails {
+ flex: 1;
+ min-width: 0;
+
+ .username {
+ font-size: 16px;
+ font-weight: 600;
+ color: #333;
+ margin-bottom: 4px;
+ line-height: 1.3;
+ }
+
+ .userSubtitle {
+ font-size: 14px;
+ color: #666;
+ line-height: 1.4;
+ }
+ }
+
+ .chatIcon {
+ font-size: 16px;
+ color: #999;
+ cursor: pointer;
+ padding: 4px;
+ border-radius: 4px;
+ transition: all 0.2s ease;
+
+ &:hover {
+ background: #f5f5f5;
+ color: #666;
+ }
+ }
+ }
+
+ .postText {
+ font-size: 16px;
+ color: #333;
+ line-height: 1.5;
+ margin-bottom: 16px;
+ word-wrap: break-word;
+ }
+
+ .shareIcon {
+ font-size: 16px;
+ color: #999;
+ margin-bottom: 16px;
+ cursor: pointer;
+ display: inline-block;
+ padding: 4px;
+ border-radius: 4px;
+ transition: all 0.2s ease;
+
+ &:hover {
+ background: #f5f5f5;
+ color: #666;
+ }
+ }
+
+ .mediaContainer {
+ margin-bottom: 20px;
+
+ .mediaWrapper {
+ position: relative;
+ border-radius: 8px;
+ overflow: hidden;
+ background: #f5f5f5;
+ max-width: 300px;
+
+ .mediaImage {
+ width: 100%;
+ height: auto;
+ display: block;
+ border-radius: 8px;
+ }
+
+ .playButton {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 48px;
+ height: 48px;
+ background: rgba(0, 0, 0, 0.7);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ transition: all 0.2s ease;
+
+ &:hover {
+ background: rgba(0, 0, 0, 0.8);
+ transform: translate(-50%, -50%) scale(1.1);
+ }
+
+ .playIcon {
+ color: white;
+ font-size: 16px;
+ margin-left: 2px;
+ }
+ }
+ }
+ }
+
+ .engagementMetrics {
+ margin-bottom: 20px;
+ padding: 16px;
+ background: #fafafa;
+ border-radius: 8px;
+
+ .metricsRow {
+ display: flex;
+ align-items: center;
+ gap: 24px;
+ flex-wrap: wrap;
+
+ .metricItem {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 4px;
+ min-width: 60px;
+
+ .metricIcon {
+ font-size: 16px;
+ color: #666;
+ }
+
+ .metricLabel {
+ font-size: 12px;
+ color: #999;
+ font-weight: 500;
+ text-align: center;
+ }
+
+ .metricValue {
+ font-size: 14px;
+ color: #666;
+ font-weight: 600;
+ }
+ }
+
+ .chartIcon {
+ margin-left: auto;
+ font-size: 16px;
+ color: #999;
+ cursor: pointer;
+ padding: 4px;
+ border-radius: 4px;
+ transition: all 0.2s ease;
+
+ &:hover {
+ background: #f0f0f0;
+ color: #666;
+ }
+ }
+ }
+ }
+
+ .postFooter {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding-top: 16px;
+ border-top: 1px solid #f0f0f0;
+
+ .creationInfo {
+ font-size: 14px;
+ color: #999;
+ }
+
+ .actionButtons {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+
+ .viewPostBtn {
+ font-size: 14px;
+ color: #1890ff;
+ padding: 4px 8px;
+ height: auto;
+ border-radius: 4px;
+ border: 1px solid #d9d9d9;
+ background: white;
+ transition: all 0.2s ease;
+
+ &:hover {
+ border-color: #1890ff;
+ background: #f6ffed;
+ }
+ }
+
+ .moreBtn {
+ font-size: 16px;
+ color: #999;
+ padding: 4px 8px;
+ height: auto;
+ border-radius: 4px;
+ transition: all 0.2s ease;
+
+ &:hover {
+ background: #f5f5f5;
+ color: #666;
+ }
+ }
+ }
+ }
+ }
+
+ .loadMoreContainer {
+ display: flex;
+ justify-content: center;
+ padding: 24px 0;
+ flex-shrink: 0;
+
+ .loadMoreButton {
+ border-radius: 20px;
+ padding: 10px 32px;
+ height: auto;
+ font-size: 14px;
+ font-weight: 500;
+ }
+ }
+
+ .emptyState {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ min-height: 300px;
+ }
+
+ .loadingContainer {
+ padding: 20px 0;
+
+ :global {
+ .ant-skeleton {
+ margin-bottom: 20px;
+ }
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/calendarTiming.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/calendarTiming.module.scss
index 020f9479..d86d75a3 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/calendarTiming.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/calendarTiming.module.scss
@@ -3,7 +3,7 @@
height: 100%;
display: flex;
flex-direction: column;
- overflow: hidden;
+ overflow: auto;
padding: 10px 15px 15px 15px;
box-sizing: border-box;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/index.tsx
index b4189bf7..8e403442 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/components/CalendarTiming/index.tsx
@@ -6,6 +6,7 @@ import {
useRef,
useState,
} from "react";
+import { useSearchParams } from "next/navigation";
import styles from "./calendarTiming.module.scss";
import FullCalendar from "@fullcalendar/react";
import dayGridPlugin from "@fullcalendar/daygrid";
@@ -38,6 +39,7 @@ const CalendarTiming = memo(
forwardRef(
({}: ICalendarTimingProps, ref: ForwardedRef<ICalendarTimingRef>) => {
const lng = useGetClientLng();
+ const searchParams = useSearchParams();
const calendarRef = useRef<FullCalendar | null>(null);
const [animating, setAnimating] = useState(false);
// 方向:'left'(下月)、'right'(上月)、'fade'(今天)
@@ -95,6 +97,36 @@ const CalendarTiming = memo(
return () => window.removeEventListener("resize", handleResize);
}, []);
+ // 监听 URL 参数,自动打开发布弹窗
+ useEffect(() => {
+ const openPublish = searchParams.get('openPublish');
+ const fromSignIn = searchParams.get('fromSignIn');
+
+ if (openPublish === 'true' && fromSignIn === 'true') {
+ setPublishDialogOpen(true);
+ // 清除 URL 参数,避免刷新页面时重复打开
+ const url = new URL(window.location.href);
+ url.searchParams.delete('openPublish');
+ url.searchParams.delete('fromSignIn');
+ window.history.replaceState({}, '', url.toString());
+ }
+ }, [searchParams]);
+
+ // 监听自定义事件,打开发布弹窗
+ useEffect(() => {
+ const handleOpenPublishDialog = (event: CustomEvent) => {
+ if (event.detail?.fromSignIn) {
+ setPublishDialogOpen(true);
+ }
+ };
+
+ window.addEventListener('openPublishDialog', handleOpenPublishDialog as EventListener);
+
+ return () => {
+ window.removeEventListener('openPublishDialog', handleOpenPublishDialog as EventListener);
+ };
+ }, []);
+
useEffect(() => {
getPubRecord();
}, [accountActive, getPubRecord]);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/page.tsx
index 00716d8a..cbc22f06 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/page.tsx
@@ -15,6 +15,13 @@ export async function generateMetadata({ params }: PageParams) {
);
}
-export default function Page() {
- return <AccountPageCore />;
+interface AccountsPageProps {
+ searchParams: {
+ platform?: string;
+ spaceId?: string;
+ };
+}
+
+export default function Page({ searchParams }: AccountsPageProps) {
+ return <AccountPageCore searchParams={searchParams} />;
}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/BilibiliLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/BilibiliLogin.ts
index d1042d05..2e8562e1 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/BilibiliLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/BilibiliLogin.ts
@@ -28,12 +28,14 @@ export async function bilibiliSkip(platType: PlatType) {
export function bilibiliLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await apiCheckBilibiliAuth(taskId);
- console.log('authRess', authRess);
let authRes = authRess;
if (authRes?.code === 0 && authRes?.data.status == 1) {
// message.success('授权成功');
@@ -43,6 +45,13 @@ export function bilibiliLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -55,6 +64,9 @@ export function bilibiliLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/FacebookLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/FacebookLogin.ts
index a8461100..586eeeb1 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/FacebookLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/FacebookLogin.ts
@@ -30,9 +30,13 @@ export async function facebookSkip(platType: PlatType) {
export function facebookLogin(taskId: any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess: any = await checkMetaAuthApi(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function facebookLogin(taskId: any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function facebookLogin(taskId: any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/InstagramLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/InstagramLogin.ts
index a1eb0fe7..31f3800d 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/InstagramLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/InstagramLogin.ts
@@ -28,9 +28,13 @@ export async function instagramSkip(platType: PlatType) {
export function instagramLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await checkMetaAuthApi(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function instagramLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function instagramLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/PinterestLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/PinterestLogin.ts
index f5c1d4d0..e1ecfcf1 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/PinterestLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/PinterestLogin.ts
@@ -28,9 +28,13 @@ export async function pinterestSkip(platType: PlatType) {
export function pinterestLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await checkPinterestAuthApi(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function pinterestLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function pinterestLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/ThreadsLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/ThreadsLogin.ts
index 789fdcfc..80b7d6a9 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/ThreadsLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/ThreadsLogin.ts
@@ -29,9 +29,13 @@ export async function threadsSkip(platType: PlatType) {
export function threadsLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await checkMetaAuthApi(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -43,6 +47,13 @@ export function threadsLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -55,6 +66,9 @@ export function threadsLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TiktokLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TiktokLogin.ts
index 8c7ab665..6ec3bb55 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TiktokLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TiktokLogin.ts
@@ -28,9 +28,13 @@ export async function tiktokSkip(platType: PlatType) {
export function tiktokLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await checkTiktokAuthApi(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function tiktokLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function tiktokLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TwtterLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TwtterLogin.ts
index a463eb17..e9b27452 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TwtterLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/TwtterLogin.ts
@@ -28,9 +28,13 @@ export async function twitterSkip(platType: PlatType) {
export function twitterLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await apiCheckTwitterAuth(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function twitterLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function twitterLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/WxGzh.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/WxGzh.ts
index 6d68f387..8b8554bf 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/WxGzh.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/WxGzh.ts
@@ -28,9 +28,13 @@ export async function wxGzhSkip(platType: PlatType) {
export function wxGzhLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await checkWxGzAuthApi(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function wxGzhLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function wxGzhLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/YoutubeLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/YoutubeLogin.ts
index 1dc0061b..0fee7a9a 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/YoutubeLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/YoutubeLogin.ts
@@ -21,16 +21,20 @@ export async function youtubeSkip(platType: PlatType) {
const url = res.data.url;
window.open(`${url}`);
- const bilibiliLoginRes = await bilibiliLogin(res.data.taskId);
+ const youtubeLoginRes = await youtubeLogin(res.data.taskId);
}
-export function bilibiliLogin(taskId:any): Promise<any> {
+export function youtubeLogin(taskId:any): Promise<any> {
return new Promise(async (resolve, reject) => {
try {
+ let pollCount = 0;
+ const maxPollCount = 30; // 最大轮询次数
+
// 开始轮询检查授权状态
const checkAuthStatus = async () => {
try {
+ pollCount++;
const authRess:any = await apiCheckYoutubeAuth(taskId);
let authRes = authRess;
console.log('authRes', authRes)
@@ -42,6 +46,13 @@ export function bilibiliLogin(taskId:any): Promise<any> {
resolve(authRes);
return true;
}
+
+ // 检查是否达到最大轮询次数
+ if (pollCount >= maxPollCount) {
+ console.log('达到最大轮询次数,停止轮询');
+ return true;
+ }
+
// return false;
} catch (error) {
console.error('检查授权状态失败:', error);
@@ -54,6 +65,9 @@ export function bilibiliLogin(taskId:any): Promise<any> {
const isSuccess = await checkAuthStatus();
if (isSuccess) {
clearInterval(interval);
+ if (pollCount >= maxPollCount) {
+ reject(new Error('授权超时,已达到最大轮询次数'));
+ }
}
}, 2000);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/kwaiLogin.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/kwaiLogin.ts
index c10c37f3..bd6f3b4e 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/kwaiLogin.ts
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/accounts/plat/kwaiLogin.ts
@@ -14,7 +14,9 @@ export async function kwaiSkip(platType: PlatType) {
window.open(res?.data.url);
let queryCount = 0;
- while (queryCount < 120) {
+ const maxQueryCount = 30; // 最大轮询次数
+
+ while (queryCount < maxQueryCount) {
const autoStatusRes = await getKwaiAuthStatus(res.data.taskId);
if (!autoStatusRes?.data) break;
@@ -26,4 +28,9 @@ export async function kwaiSkip(platType: PlatType) {
queryCount++;
await sleep(1000);
}
+
+ // 如果达到最大轮询次数仍未成功,记录日志
+ if (queryCount >= maxQueryCount) {
+ console.log('快手授权达到最大轮询次数,停止轮询');
+ }
}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRank.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRank.module.scss
new file mode 100644
index 00000000..d1d4f291
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRank.module.scss
@@ -0,0 +1,16 @@
+.aiRank {
+ height: 100%;
+ min-height: 0;
+ display: flex;
+ :global {
+ .ant-menu {
+ height: 100%;
+ box-sizing: border-box;
+ flex-shrink: 0;
+ padding-top: 20px;
+ svg {
+ font-size: 20px;
+ }
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/aiRanking.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/aiRanking.module.scss
new file mode 100644
index 00000000..ff9566c4
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/aiRanking.module.scss
@@ -0,0 +1,134 @@
+.aiRanking {
+ padding: 15px;
+ width: 100%;
+ min-width: 0;
+ height: 100%;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+ font-size: 14px;
+ :global {
+ .aiRanking-rank {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ height: 30px;
+ text-align: center;
+ line-height: 30px;
+ font-size: var(--fs-md);
+ .ant-tag {
+ margin-top: 6px;
+ }
+ &-up, &-down {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 0;
+ height: 20px;
+ margin: 0;
+ min-width: 40px;
+ .anticon {
+ margin: 0 2px 0 0 !important;
+ }
+ }
+ &-up {
+ background: var(red);
+ }
+ &-down {
+ }
+ }
+ .ant-table-tbody {
+ .ant-table-row {
+ &:nth-child(odd) {
+ background: #f2f5f6;
+ }
+ td {
+ .anticon {
+ margin-left: 5px;
+ cursor: pointer;
+ }
+ }
+ }
+ }
+ .aiRanking-topthree {
+ width: 30px;
+ color: #fff;
+ background: url("../images/bg-rank-index.png") no-repeat center / cover;
+ }
+ .ant-table-thead {
+ th {
+ white-space: nowrap;
+ color: #9a9a9a !important;
+ padding-top: 10px !important;
+ padding-bottom: 10px !important;
+ font-weight: 400 !important;
+ .anticon {
+ margin-right: 3px;
+ }
+ }
+ }
+ .aiRanking-title {
+ margin-bottom: 20px;
+ font-weight: 900;
+ font-size: 24px;
+ }
+ .aiRanking-productName {
+ display: flex;
+ align-items: center;
+ overflow: hidden;
+ label {
+ font-size: var(--fs-md);
+ margin-bottom: 6px;
+ }
+ .ant-avatar {
+ white-space: nowrap;
+ flex-shrink: 0;
+ }
+ &-con {
+ overflow: hidden;
+ margin-left: 10px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ &-des {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ width: 100%;
+ color: var(--grayColor8);
+ font-size: var(--fs-xs);
+ }
+ }
+ }
+ .aiRanking-head {
+ width: 100%;
+ margin-bottom: 10px;
+ background: var(--grayColor0);
+ border-radius: 6px;
+ padding: 15px;
+ box-sizing: border-box;
+ .aiRanking-head-item {
+ display: flex;
+ align-items: center;
+ margin-bottom: 15px;
+ &:last-of-type {
+ margin-bottom: 0;
+ }
+ .aiRanking-head-title {
+ margin-right: 20px;
+ color: var(--grayColor7);
+ }
+ }
+ }
+
+ .aiRanking-content {
+ height: 100%;
+ min-width: 0;
+ display: flex;
+ min-height: 0;
+ @include table-flex-container-with-selectors;
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/echarts-weekPie.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/echarts-weekPie.ts
new file mode 100644
index 00000000..c59721fd
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/echarts-weekPie.ts
@@ -0,0 +1,43 @@
+import * as echarts from "echarts";
+
+type EChartsOption = echarts.EChartsOption;
+
+const initWeepPie = (
+ chartDom: HTMLDivElement,
+ data: {
+ value: number;
+ name: string;
+ }[],
+) => {
+ if (!chartDom) return;
+ const myChart = echarts.init(chartDom);
+
+ const option: EChartsOption = {
+ tooltip: {
+ trigger: "item",
+ formatter: (params: any) => {
+ const total = data.reduce((sum, item) => sum + item.value, 0);
+ const percent = (((params.value as number) / total) * 100).toFixed(2); // 计算百分比并保留两位小数
+ return `${params.name}: ${params.value} (${percent}%)`; // 格式化显示文本
+ },
+ },
+ series: [
+ {
+ type: "pie",
+ radius: "60%",
+ label: {
+ formatter: (params: any) => {
+ const total = data.reduce((sum, item) => sum + item.value, 0);
+ const percent = ((params.value / total) * 100).toFixed(0); // 百分比
+ return `${params.name} ${params.value}(${percent}%) `; // 自定义显示名称、数值和百分比
+ },
+ },
+ data,
+ },
+ ],
+ };
+
+ if (option) myChart.setOption(option);
+};
+
+export default initWeepPie;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/page.tsx
new file mode 100644
index 00000000..46d68257
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/aiRanking/page.tsx
@@ -0,0 +1,344 @@
+"use client";
+
+import styles from "./aiRanking.module.scss";
+import RankingTags from "../components/RankingTags";
+import Cycleselects, { CycleTypeEnum } from "../components/CycleSelects";
+import { useEffect, useMemo, useRef, useState } from "react";
+import { Avatar, Popover, Table, TableProps, Tag, Tooltip } from "antd";
+import {
+ CaretDownOutlined,
+ CaretUpOutlined,
+ QuestionCircleOutlined,
+ SearchOutlined,
+} from "@ant-design/icons";
+import initWeepPie from "./echarts-weekPie";
+import {
+ AiToolsRankingItemType,
+ GetAiToolsRankingApiParams,
+} from "@/api/types/platform.type";
+import { platformApi } from "@/api/hot";
+
+const optionsTags = [
+ {
+ label: "总榜",
+ value: "1",
+ },
+ {
+ label: "国内榜",
+ value: "2",
+ },
+ {
+ label: "国外榜",
+ value: "3",
+ },
+];
+
+function parseChineseNumber(input: string): number {
+ if (!input) return 0;
+ const units: { [key: string]: number } = {
+ 千: 1000,
+ 万: 10000,
+ 亿: 100000000,
+ };
+
+ let result = 0;
+ let currentNumber = 0;
+ let decimalPart = 0;
+ let isDecimal = false;
+ let decimalScale = 0.1;
+
+ for (const char of input) {
+ if (char === ".") {
+ isDecimal = true; // 标记进入小数部分
+ continue;
+ }
+
+ if (char in units) {
+ if (isDecimal) {
+ result += (currentNumber + decimalPart) * units[char];
+ } else {
+ result += currentNumber * units[char];
+ }
+ currentNumber = 0;
+ decimalPart = 0;
+ isDecimal = false;
+ decimalScale = 0.1;
+ } else {
+ const num = parseInt(char, 10);
+ if (!isNaN(num)) {
+ if (isDecimal) {
+ decimalPart += num * decimalScale;
+ decimalScale *= 0.1;
+ } else {
+ currentNumber = currentNumber * 10 + num;
+ }
+ }
+ }
+ }
+
+ // 如果最后还有剩余的数字或小数部分,直接加到结果里
+ result += currentNumber + decimalPart;
+
+ return result;
+}
+
+export default function Page() {
+ const [params, setParams] = useState<GetAiToolsRankingApiParams>({
+ dateType: "",
+ startDate: "",
+ area: "1",
+ });
+ const [loading, setLoading] = useState(false);
+ const [data, setData] = useState<AiToolsRankingItemType[]>([]);
+ const aiRankingContentRef = useRef<HTMLDivElement>(null);
+
+ useEffect(() => {
+ if (params.dateType === "" || params.startDate === "") return;
+ if (loading) return;
+ setLoading(true);
+ platformApi
+ .getAiToolsRankingApi(params)
+ .then((res) => {
+ setLoading(false);
+ setData(res?.data.items ?? []);
+ document.querySelector(".ant-table-body")!.scrollTo(0, 0);
+ })
+ .catch(() => setLoading(false));
+ }, [params]);
+
+ const columns = useMemo(() => {
+ const columns: TableProps<AiToolsRankingItemType>["columns"] = [
+ {
+ title: () => <p style={{ textAlign: "center" }}>#</p>,
+ render: (text, prm, ind) => {
+ return (
+ <div className="aiRanking-rank">
+ {ind <= 2 ? (
+ <div className="aiRanking-topthree">{ind + 1}</div>
+ ) : (
+ <span>{ind + 1}</span>
+ )}
+ {prm.rankChange > 0 && (
+ <Tag className="aiRanking-rank-up" color="error">
+ <CaretUpOutlined />
+ {prm.rankChange}
+ </Tag>
+ )}
+ {prm.rankChange < 0 && (
+ <Tag className="aiRanking-rank-down" color="success">
+ <CaretDownOutlined />
+ {Math.abs(prm.rankChange)}
+ </Tag>
+ )}
+ </div>
+ );
+ },
+ width: "40px",
+ key: "序号",
+ },
+ {
+ title: "产品名",
+ render: (text, prm) => {
+ return (
+ <div className="aiRanking-productName">
+ <Avatar src={prm.cover} size="large" />
+ <div className="aiRanking-productName-con">
+ <label style={{ marginBottom: "4px", display: "inline-block" }}>
+ {prm.title}
+ </label>
+ <div
+ className="aiRanking-productName-con-des"
+ title={prm.description}
+ >
+ {prm.description}
+ </div>
+ </div>
+ </div>
+ );
+ },
+ width: 250,
+ key: "title",
+ },
+ {
+ title: "标签",
+ render: (text, prm) => {
+ return (
+ <div className="aiRanking-productName">
+ <div className="aiRanking-productName-con" title={prm.intro}>
+ {prm.intro}
+ </div>
+ </div>
+ );
+ },
+ width: 200,
+ key: "title",
+ },
+ {
+ title: "月访问量",
+ render: (text, prm) => {
+ return prm.stats.viewCount;
+ },
+ sorter: (a, b) =>
+ parseChineseNumber(b.stats.viewCount) -
+ parseChineseNumber(a.stats.viewCount),
+ width: 80,
+ key: "title",
+ },
+ {
+ title: "月下载量",
+ render: (text, prm) => {
+ return prm.downCount;
+ },
+ sorter: (a, b) =>
+ parseChineseNumber(b.downCount) - parseChineseNumber(a.downCount),
+ width: 80,
+ key: "月下载量",
+ },
+ {
+ title: () => {
+ return (
+ <>
+ <Tooltip title="统计AI工具排行榜的周提及作品数">
+ <QuestionCircleOutlined />
+ </Tooltip>
+ 周提及量
+ </>
+ );
+ },
+ sorter: (a, b) => b.referCount - a.referCount,
+ render: (text, prm, ind) => {
+ return (
+ <>
+ {prm.referCount}
+ <Popover
+ content={() => {
+ return (
+ <>
+ <div
+ className={`weekChat${ind}`}
+ style={{ width: "350px", height: "200px" }}
+ />
+ </>
+ );
+ }}
+ onOpenChange={() => {
+ setTimeout(() => {
+ initWeepPie(
+ document.querySelector(`.weekChat${ind}`)!,
+ Object.keys(prm.detail).map((key) => {
+ return {
+ name: key,
+ value: prm.detail[key as "抖音"],
+ };
+ }),
+ );
+ }, 10);
+ }}
+ >
+ <SearchOutlined />
+ </Popover>
+ </>
+ );
+ },
+ width: 90,
+ key: "referCount",
+ },
+ {
+ title: () => {
+ return (
+ <>
+ <Tooltip title="统计AI工具排行榜的提及作品、传播范围等多维度数据分析做出的综合评分">
+ <QuestionCircleOutlined />
+ </Tooltip>
+ 声望值
+ </>
+ );
+ },
+ sorter: (a, b) => b.volumeCount - a.volumeCount,
+ render: (text, prm) => {
+ return prm.volumeCount;
+ },
+ width: 80,
+ key: "volumeCount",
+ },
+ {
+ title: () => {
+ return (
+ <>
+ <Tooltip title="统计AI工具排行榜的用户使用情况等多维度数据分析做出的综合评分">
+ <QuestionCircleOutlined />
+ </Tooltip>
+ 综合评分
+ </>
+ );
+ },
+ sorter: (a, b) => b.exponentCount - a.exponentCount,
+ render: (text, prm) => {
+ return (
+ <span style={{ color: "var(--colorPrimary6)" }}>
+ {prm.exponentCount}
+ </span>
+ );
+ },
+ width: 90,
+ key: "exponentCount",
+ },
+ ];
+ return columns;
+ }, []);
+
+ return (
+ <div className={styles.aiRanking}>
+ <div className="aiRanking-title">
+ AI工具排行榜 · {optionsTags.find((v) => v.value === params.area)?.label}{" "}
+ ·{params.dateType === CycleTypeEnum.Week ? "周榜" : "月榜"}
+ </div>
+ <div className="aiRanking-head">
+ <div className="aiRanking-head-item">
+ <div className="aiRanking-head-title">类型</div>
+ <RankingTags
+ options={optionsTags}
+ defaultValue={optionsTags[0].value}
+ onChange={(val) => {
+ setParams((prevState) => {
+ const newState = { ...prevState };
+ newState.area = val;
+ return newState;
+ });
+ }}
+ />
+ </div>
+ <div className="aiRanking-head-item">
+ <div className="aiRanking-head-title">周期</div>
+ <div className="aiRanking-head-cycleselects">
+ <Cycleselects
+ defaultType={CycleTypeEnum.Week}
+ onChange={(v) => {
+ setParams((prevState) => {
+ const newState = { ...prevState };
+ newState.dateType = v.type;
+ newState.startDate = v.value;
+ return newState;
+ });
+ }}
+ />
+ </div>
+ </div>
+ </div>
+
+ <div className="aiRanking-content" ref={aiRankingContentRef}>
+ <Table<AiToolsRankingItemType>
+ columns={columns}
+ dataSource={data}
+ rowKey="id"
+ loading={loading}
+ pagination={false}
+ scroll={{
+ // 高度通过css flex设置为自适应
+ y: 0,
+ }}
+ />
+ </div>
+ </div>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/CycleSelects/cycleSelects.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/CycleSelects/cycleSelects.module.scss
new file mode 100644
index 00000000..f76f73fc
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/CycleSelects/cycleSelects.module.scss
@@ -0,0 +1,24 @@
+.cycleSelects {
+ display: flex;
+ :global {
+ .cycleSelects-item {
+ display: flex;
+ align-items: center;
+ height: 32px;
+ margin-right: 30px;
+ &-label {
+ height: 100%;
+ display: flex;
+ align-items: center;
+ padding: 0 10px;
+ border-radius: 8px 0 0 8px;
+ background: var(--colorPrimary3);
+ color: var(--colorPrimary8);
+ }
+ .ant-select-selector {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/CycleSelects/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/CycleSelects/index.tsx
new file mode 100644
index 00000000..fb1074f8
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/CycleSelects/index.tsx
@@ -0,0 +1,195 @@
+import { ForwardedRef, forwardRef, memo, useEffect, useState } from "react";
+import styles from "./cycleSelects.module.scss";
+import { Button, Select } from "antd";
+import dayjs from "dayjs";
+import isoWeek from "dayjs/plugin/isoWeek";
+
+dayjs.extend(isoWeek);
+
+export enum CycleTypeEnum {
+ Week = "week",
+ Month = "month",
+}
+
+type CycleItemType = {
+ value: string;
+ label: string;
+};
+
+export interface ICycleselectsRef {}
+
+export interface ICycleselectsProps {
+ onChange: (params: { type: CycleTypeEnum; value: string }) => void;
+ defaultType: CycleTypeEnum;
+ disable?: boolean;
+}
+
+const CycleseCore = ({
+ title,
+ options,
+ onChange,
+ onActiveClick,
+ isActive,
+ value,
+}: {
+ onChange: (value: string) => void;
+ title: string;
+ options: CycleItemType[];
+ onActiveClick: () => void;
+ isActive: boolean;
+ value: string;
+}) => {
+ return (
+ <div className="cycleSelects-item">
+ {isActive}
+ {isActive ? (
+ <>
+ <div className="cycleSelects-item-label">{title}</div>
+ <Select options={options} value={value} onChange={onChange}></Select>
+ </>
+ ) : (
+ <Button onClick={onActiveClick}>{title}</Button>
+ )}
+ </div>
+ );
+};
+
+/**
+ * 获取指定数量的月份
+ * @param {number} skipMonths 跳过的月份数(当前月不算)
+ * @param {number} numberOfMonths 获取的月份数
+ */
+function getMonths(skipMonths: number, numberOfMonths: number) {
+ const currentMonth = dayjs().startOf("month"); // 当前月的开始时间
+ const months: CycleItemType[] = [];
+
+ for (let i = 0; i < numberOfMonths; i++) {
+ const month = currentMonth.subtract(skipMonths + i + 1, "month");
+ months.push({
+ label: month.format("YYYY年MM月"),
+ value: month.format("YYYY-MM-DD"),
+ });
+ }
+
+ return months;
+}
+
+/**
+ * 获取指定周范围的周
+ * @param {number} skipWeeks 跳过的周数(当前周不算)
+ * @param {number} numberOfWeeks 获取的周数
+ */
+function getWeekRanges(skipWeeks: number, numberOfWeeks: number) {
+ const currentWeekStart = dayjs().startOf("isoWeek"); // 当前周的开始时间(周一)
+ const ranges: CycleItemType[] = [];
+
+ for (let i = 0; i < numberOfWeeks; i++) {
+ const startOfWeek = currentWeekStart
+ .subtract(skipWeeks + i + 1, "week")
+ .startOf("isoWeek");
+ const endOfWeek = startOfWeek.endOf("isoWeek");
+ ranges.push({
+ label: `${startOfWeek.format("MM月DD日")} - ${endOfWeek.format("MM月DD日")}`,
+ value: startOfWeek.format("YYYY-MM-DD"),
+ });
+ }
+
+ return ranges;
+}
+
+/**
+ * 获取指定数量的日期
+ * @param {number} skipDays 跳过的天数(当前日不算)
+ * @param {number} numberOfDays 获取的天数
+ */
+function getDays(skipDays: number, numberOfDays: number) {
+ const currentDay = dayjs().startOf("day"); // 当前天的起始时间
+ const days: CycleItemType[] = [];
+
+ for (let i = 0; i < numberOfDays; i++) {
+ const day = currentDay.subtract(skipDays + i + 1, "day");
+ days.push({
+ value: day.format("YYYY年MM月DD日"),
+ label: day.format("YYYY-MM-DD"),
+ });
+ }
+
+ return days;
+}
+
+const Cycleselects = memo(
+ forwardRef(
+ (
+ { onChange, defaultType, disable }: ICycleselectsProps,
+ ref: ForwardedRef<ICycleselectsRef>,
+ ) => {
+ // 1周榜 2=月榜
+ const [active, setActive] = useState<CycleTypeEnum>(defaultType);
+ const [value, setValue] = useState("");
+ const [weekOptions, setWeekOptions] = useState<CycleItemType[]>([]);
+ const [monthsOptions, setMonthsOptions] = useState<CycleItemType[]>([]);
+
+ useEffect(() => {
+ const weekOptions = getWeekRanges(1, 3);
+ setWeekOptions(weekOptions);
+
+ const monthsOptions = getMonths(0, 3);
+ setMonthsOptions(monthsOptions);
+
+ if (defaultType === CycleTypeEnum.Week) {
+ setValue(weekOptions[0].value);
+ }
+ }, []);
+
+ useEffect(() => {
+ if (!value) return;
+ onChange({
+ type: active,
+ value,
+ });
+ }, [value]);
+
+ useEffect(() => {
+ if (active === CycleTypeEnum.Week) {
+ if (weekOptions[0]?.value) setValue(weekOptions[0]?.value);
+ return;
+ }
+ if (active === CycleTypeEnum.Month) {
+ if (monthsOptions[0]?.value) setValue(monthsOptions[0]?.value);
+ return;
+ }
+ }, [active]);
+
+ return (
+ <div className={styles.cycleSelects}>
+ <CycleseCore
+ value={value}
+ isActive={active === CycleTypeEnum.Week}
+ onActiveClick={() => {
+ if (disable) return;
+ setActive(CycleTypeEnum.Week);
+ }}
+ onChange={setValue}
+ title="周榜"
+ options={weekOptions}
+ />
+
+ <CycleseCore
+ value={value}
+ isActive={active === CycleTypeEnum.Month}
+ onActiveClick={() => {
+ if (disable) return;
+ setActive(CycleTypeEnum.Month);
+ }}
+ onChange={setValue}
+ title="月榜"
+ options={monthsOptions}
+ />
+ </div>
+ );
+ },
+ ),
+);
+Cycleselects.displayName = "Cycleselects";
+
+export default Cycleselects;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/RankingTags/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/RankingTags/index.tsx
new file mode 100644
index 00000000..882c9819
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/RankingTags/index.tsx
@@ -0,0 +1,51 @@
+import { ForwardedRef, forwardRef, memo, useState } from "react";
+import styles from "./rankingTags.module.scss";
+
+export interface IRankingtagsRef {}
+
+export interface IRankingtagsProps {
+ options: {
+ label: string;
+ value: string;
+ }[];
+ defaultValue: string;
+ disable?: boolean;
+ onChange: (value: string) => void;
+}
+
+const Rankingtags = memo(
+ forwardRef(
+ (
+ { options, defaultValue, disable, onChange }: IRankingtagsProps,
+ ref: ForwardedRef<IRankingtagsRef>,
+ ) => {
+ const [activeValue, setActiveValue] = useState(defaultValue);
+
+ return (
+ <div className={styles.rankingTags}>
+ {options.map((v) => {
+ return (
+ <div
+ className={[
+ "rankingTags-tag",
+ activeValue === v.value ? "rankingTags-tag--active" : "",
+ ].join(" ")}
+ key={v.value}
+ onClick={() => {
+ if (disable) return;
+ onChange(v.value);
+ setActiveValue(v.value);
+ }}
+ >
+ {v.label}
+ </div>
+ );
+ })}
+ </div>
+ );
+ },
+ ),
+);
+Rankingtags.displayName = "Rankingtags";
+
+export default Rankingtags;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/RankingTags/rankingTags.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/RankingTags/rankingTags.module.scss
new file mode 100644
index 00000000..2d22f8dc
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/components/RankingTags/rankingTags.module.scss
@@ -0,0 +1,23 @@
+.rankingTags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+ :global {
+ .rankingTags-tag {
+ cursor: pointer;
+ font-size: var(--fs-sm);
+ border-radius: 3px;
+ padding: 2px 8px;
+ color: #333;
+ background: transparent;
+ transition: 0.3s;
+ &:hover {
+ color: var(--colorPrimary6);
+ }
+ &--active {
+ background: var(--colorPrimary6);
+ color: #fff !important;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/images/bg-rank-index.png b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/images/bg-rank-index.png
new file mode 100644
index 00000000..ed4c7e69
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/images/bg-rank-index.png differ
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/layout.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/layout.tsx
new file mode 100644
index 00000000..8ea3d6dd
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/layout.tsx
@@ -0,0 +1,53 @@
+"use client";
+import { Menu, MenuProps } from "antd";
+import styles from "./aiRank.module.scss";
+import Ranking from "./svgs/ranking.svg";
+import Icon from "@ant-design/icons";
+import { usePathname, useRouter, useSearchParams } from "next/navigation";
+import { useEffect, useState } from "react";
+import { removeLocalePrefix } from "@/app/layout/layout.utils";
+
+type MenuItem = Required<MenuProps>["items"][number];
+
+const items: MenuItem[] = [
+ {
+ key: "/aiRank/aiRanking",
+ label: "AI工具排行榜",
+ icon: <Icon component={Ranking} />,
+ },
+].map((v) => {
+ // @ts-ignore
+ v.label = <span title={v.label}>{v.label}</span>;
+ return v;
+});
+
+export default function AiRankLayout({
+ children,
+}: {
+ children: React.ReactNode;
+}) {
+ const router = useRouter();
+ const pathname = usePathname();
+ const searchParams = useSearchParams();
+ const [currChooseRoute, setCurrChooseRoute] = useState<string>();
+
+ useEffect(() => {
+ setCurrChooseRoute(removeLocalePrefix(pathname));
+ }, [pathname, searchParams]);
+
+ return (
+ <div className={styles.aiRank}>
+ <Menu
+ selectedKeys={[currChooseRoute || ""]}
+ style={{ width: 200 }}
+ inlineIndent={15}
+ mode="inline"
+ items={items}
+ onClick={(e) => {
+ router.push(e.key as string);
+ }}
+ />
+ {children}
+ </div>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/page.tsx
new file mode 100644
index 00000000..1551ab49
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/page.tsx
@@ -0,0 +1,16 @@
+"use client";
+
+import { useRouter } from "next/navigation";
+import { useEffect } from "react";
+
+const App = () => {
+ const router = useRouter();
+
+ useEffect(() => {
+ router.replace("/aiRank/aiRanking");
+ }, [router]);
+
+ return null;
+};
+
+export default App;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/svgs/ranking.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/svgs/ranking.svg
new file mode 100644
index 00000000..3cbaf7e0
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/aiRank/svgs/ranking.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1744720956242" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6046" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M924 467.1H768.2c-10.8 0-19.5 8.7-19.5 19.5s8.7 19.5 19.5 19.5h136.3v331.1H690.3V175c0-21.5-17.4-38.9-38.9-38.9H378.7c-21.5 0-38.9 17.4-38.9 38.9v662.1H125.6V408.7h136.3c10.8 0 19.5-8.7 19.5-19.5s-8.7-19.5-19.5-19.5H106.1c-10.8 0-19.5 8.7-19.5 19.5v467.4c0 10.8 8.7 19.5 19.5 19.5H924c10.8 0 19.5-8.7 19.5-19.5v-370c0-10.8-8.8-19.5-19.5-19.5z m-272.6 370H378.7V213.9c0-21.5 17.4-38.9 38.9-38.9h194.7c21.5 0 38.9 17.4 38.9 38.9v623.2zM456.6 311.3v19.5H515v97.4h39V252.9h-39l-58.4 58.4z" p-id="6047"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/cgmaterial/cgmaterialPageCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/cgmaterial/cgmaterialPageCore.tsx
index bfa3b374..9523e166 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/cgmaterial/cgmaterialPageCore.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/cgmaterial/cgmaterialPageCore.tsx
@@ -24,11 +24,14 @@ import { PlatType } from "@/app/config/platConfig";
import { PublishStatus } from "@/api/plat/types/publish.types";
import { useTransClient } from "@/app/i18n/client";
import { PubType } from "@/app/config/publishConfig";
+import { useParams } from "next/navigation";
+import { getChatModels } from "@/api/ai";
const { TextArea } = Input;
export default function CgMaterialPageCore() {
const { t } = useTransClient('cgmaterial');
+ const { lng } = useParams();
// 草稿箱组相关
const [groupList, setGroupList] = useState<any[]>([]);
@@ -69,6 +72,8 @@ export default function CgMaterialPageCore() {
const [creating, setCreating] = useState(false);
const [batchModal, setBatchModal] = useState(false);
const [batchTaskLoading, setBatchTaskLoading] = useState(false);
+ const [chatModels, setChatModels] = useState<any[]>([]);
+ const [chatModelsLoading, setChatModelsLoading] = useState(false);
// 批量生成草稿相关
const [batchMediaGroups, setBatchMediaGroups] = useState<string[]>([]);
@@ -384,6 +389,17 @@ export default function CgMaterialPageCore() {
// 拉取媒体组
const res = await getMediaGroupList(1, 50);
setMediaGroups(((res?.data as any)?.list as any[]) || []);
+ // 拉取聊天大模型
+ try {
+ setChatModelsLoading(true);
+ const chatRes = await getChatModels();
+ setChatModels(((chatRes?.data as any[]) || []));
+ } catch (e) {
+ // 忽略加载失败,不阻塞弹窗
+ setChatModels([]);
+ } finally {
+ setChatModelsLoading(false);
+ }
// 获取地理位置
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
@@ -423,7 +439,7 @@ export default function CgMaterialPageCore() {
// 预览批量生成草稿
async function handlePreviewMaterial() {
const values = await batchForm.validateFields();
- const params = getBatchTaskParams();
+ const params: any = getBatchTaskParams();
// 判断参数是否变化
if (!lastTaskParams || JSON.stringify(params) !== JSON.stringify(lastTaskParams)) {
setCurrentTaskId(null);
@@ -455,7 +471,7 @@ export default function CgMaterialPageCore() {
// 批量生成草稿
async function handleBatchMaterial() {
const values = await batchForm.validateFields();
- const params = getBatchTaskParams();
+ const params: any = getBatchTaskParams();
setBatchTaskLoading(true);
try {
let taskId = currentTaskId;
@@ -821,6 +837,11 @@ export default function CgMaterialPageCore() {
// 获取平台显示名称
function getPlatformName(type: string) {
+ if (lng === 'en') {
+ return type;
+ }
+
+ // 中文显示名称
const platformNames: Record<string, string> = {
'tiktok': 'TikTok',
'youtube': 'YouTube',
@@ -902,7 +923,7 @@ export default function CgMaterialPageCore() {
<EditOutlined /> {t('sidebar.edit')}
</span>
<span
- className={styles.groupActionBtn}
+ className={styles.groupActionBtn}
onClick={e => {
e.stopPropagation();
Modal.confirm({
@@ -1322,7 +1343,7 @@ export default function CgMaterialPageCore() {
color: '#95a5a6',
marginTop: 4
}}>
- {item.mediaCount || 0} {t('mediaCount')}
+ {item.mediaList.total || 0} {t('mediaCount')}
</div>
{selectedMediaGroup?._id === item._id && (
<div style={{
@@ -1827,37 +1848,42 @@ export default function CgMaterialPageCore() {
{/* 批量生成草稿弹窗 */}
<Modal
open={batchModal}
- title="批量生成草稿"
+ title={t('batchGenerate.title')}
onOk={handleBatchMaterial}
onCancel={()=>setBatchModal(false)}
confirmLoading={batchTaskLoading}
footer={[
- <Button key="preview" onClick={handlePreviewMaterial} loading={previewLoading} type="default">预览</Button>,
- <Button key="submit" type="primary" onClick={handleBatchMaterial} loading={batchTaskLoading}>开始任务</Button>,
- <Button key="cancel" onClick={()=>setBatchModal(false)}>取消</Button>,
+ <Button key="preview" onClick={handlePreviewMaterial} loading={previewLoading} type="default">{t('batchGenerate.preview')}</Button>,
+ <Button key="submit" type="primary" onClick={handleBatchMaterial} loading={batchTaskLoading}>{t('batchGenerate.startTask')}</Button>,
+ <Button key="cancel" onClick={()=>setBatchModal(false)}>{t('batchGenerate.cancel')}</Button>,
]}
>
<Form form={batchForm} layout="vertical">
- <Form.Item label="大模型" name="model" rules={[{required:true,message:'请选择大模型'}]}>
- <Select options={[{label:'阿里1.0',value:'ali'},]} style={{width:200}}/>
+ <Form.Item label={t('batchGenerate.model')} name="model" rules={[{required:true,message:t('batchGenerate.modelPlaceholder')}]}>
+ <Select
+ style={{width:200}}
+ loading={chatModelsLoading}
+ options={chatModels.map((m:any)=>({ label: m?.description || m?.name, value: m?.name }))}
+ placeholder={t('batchGenerate.modelPlaceholder')}
+ />
</Form.Item>
- <Form.Item label="提示词" name="prompt">
- <Input/>
+ <Form.Item label={t('batchGenerate.prompt')} name="prompt">
+ <Input placeholder={t('batchGenerate.promptPlaceholder')}/>
</Form.Item>
- <Form.Item label="标题" name="title">
- <Input/>
+ <Form.Item label={t('title')} name="title">
+ <Input placeholder={t('batchGenerate.titlePlaceholder')}/>
</Form.Item>
- <Form.Item label="简介" name="desc">
- <TextArea rows={3}/>
+ <Form.Item label={t('description')} name="desc">
+ <TextArea rows={3} placeholder={t('batchGenerate.descPlaceholder')}/>
</Form.Item>
- <Form.Item label="封面组" name="coverGroup" rules={[{required:true,message:'请选择封面组'}]}>
+ <Form.Item label={t('batchGenerate.coverGroup')} name="coverGroup" rules={[{required:true,message:t('batchGenerate.coverGroupPlaceholder')}]}>
<Select
options={mediaGroups.map((g:any)=>({label:g.title,value:g._id}))}
style={{width:200}}
onChange={v=>setBatchCoverGroup(v)}
/>
</Form.Item>
- <Form.Item label="素材组" name="mediaGroups" rules={[{required:true,message:'请选择素材组'}]}>
+ <Form.Item label={t('batchGenerate.mediaGroups')} name="mediaGroups" rules={[{required:true,message:t('batchGenerate.mediaGroupsPlaceholder')}]}>
<Select
mode="multiple"
options={mediaGroups.map((g:any)=>({label:g.title,value:g._id}))}
@@ -1865,12 +1891,12 @@ export default function CgMaterialPageCore() {
onChange={v=>setBatchMediaGroups(v)}
/>
</Form.Item>
- <Form.Item label="生成数量" name="num" initialValue={4} rules={[{required:true}]}>
+ <Form.Item label={t('batchGenerate.num')} name="num" initialValue={4} rules={[{required:true}]}>
<InputNumber min={1} max={20}/>
</Form.Item>
- <Form.Item label="地理位置" name="location">
+ {/* <Form.Item label="地理位置" name="location">
<Input value={batchLocation.join(',')} disabled />
- </Form.Item>
+ </Form.Item> */}
</Form>
</Modal>
{/* 预览弹窗 */}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/DataStatisticsCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/DataStatisticsCore.tsx
new file mode 100644
index 00000000..6ca0f51f
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/DataStatisticsCore.tsx
@@ -0,0 +1,90 @@
+"use client";
+
+import styles from "./dataStatistics.module.scss";
+import DataStatisticsHeader from "@/app/[lng]/dataStatistics/components/DataStatisticsHeader";
+import { useDataStatisticsStore } from "@/app/[lng]/dataStatistics/useDataStatistics";
+import { useShallow } from "zustand/react/shallow";
+import { useEffect } from "react";
+import { useAccountStore } from "@/store/account";
+import DataStatisticsDetails from "@/app/[lng]/dataStatistics/components/DataStatisticsDetails";
+import { Spin } from "antd";
+import DataStatisticsTable from "@/app/[lng]/dataStatistics/components/DataStatisticsTable";
+
+export const DataStatisticsCore = () => {
+ const {
+ setChoosedGroupIds,
+ setFilteredAccountList,
+ choosedGroupIds,
+ getStatistics,
+ timeRangeValue,
+ init,
+ filteredAccountList,
+ currentDetailType,
+ sortingData,
+ loading,
+ accountSearchValue,
+ } = useDataStatisticsStore(
+ useShallow((state) => ({
+ setChoosedGroupIds: state.setChoosedGroupIds,
+ setFilteredAccountList: state.setFilteredAccountList,
+ choosedGroupIds: state.choosedGroupIds,
+ init: state.init,
+ getStatistics: state.getStatistics,
+ timeRangeValue: state.timeRangeValue,
+ filteredAccountList: state.filteredAccountList,
+ currentDetailType: state.currentDetailType,
+ sortingData: state.sortingData,
+ loading: state.loading,
+ accountSearchValue: state.accountSearchValue,
+ })),
+ );
+ const { accountGroupList, accountList } = useAccountStore(
+ useShallow((state) => ({
+ accountGroupList: state.accountGroupList,
+ accountList: state.accountList,
+ })),
+ );
+
+ useEffect(() => {
+ init();
+ }, []);
+
+ // 数据明细切换,重新分拣数据
+ useEffect(() => {
+ sortingData();
+ }, [currentDetailType, sortingData]);
+
+ // 获取数据统计
+ useEffect(() => {
+ getStatistics();
+ }, [timeRangeValue, getStatistics, filteredAccountList]);
+
+ // 初始化选择所有账户组
+ useEffect(() => {
+ if (accountGroupList.length > 0) {
+ setChoosedGroupIds(accountGroupList.map((group) => group.id));
+ }
+ }, [setChoosedGroupIds, accountGroupList]);
+
+ // 过滤账户
+ useEffect(() => {
+ setFilteredAccountList(
+ accountList.filter((v) => {
+ return (
+ choosedGroupIds.includes(v.groupId) &&
+ v.nickname.includes(accountSearchValue)
+ );
+ }),
+ );
+ }, [choosedGroupIds, accountList, accountSearchValue]);
+
+ return (
+ <Spin spinning={loading}>
+ <div className={styles.dataStatistics}>
+ <DataStatisticsHeader />
+ <DataStatisticsDetails />
+ <DataStatisticsTable />
+ </div>
+ </Spin>
+ );
+};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsDetails/dataStatisticsDetails.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsDetails/dataStatisticsDetails.module.scss
new file mode 100644
index 00000000..3563493e
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsDetails/dataStatisticsDetails.module.scss
@@ -0,0 +1,81 @@
+.dataStatisticsDetails {
+ :global {
+ .dataStatisticsDetails-head {
+ display: flex;
+ justify-content: space-between;
+ margin: 30px 0;
+
+ h3 {
+ position: relative;
+ padding-left: 20px;
+ &:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 45%;
+ transform: translateY(-50%);
+ left: 0;
+ width: 2px;
+ height: 50%;
+ background: var(--colorPrimary5);
+ }
+ }
+ }
+
+ .dataStatisticsDetails-content {
+ display: flex;
+ gap: 15px;
+ &-item {
+ background: rgb(247, 250, 250);
+ flex: 1;
+ border-radius: 8px;
+ box-sizing: border-box;
+ padding: 15px;
+ height: 105px;
+ border: 1px solid transparent;
+ cursor: pointer;
+ &-title {
+ margin-bottom: 5px;
+ }
+ &-count {
+ font-size: var(--fs-lg);
+ }
+ &-yesterday {
+ margin-top: 5px;
+ background: rgb(237, 242, 242);
+ display: inline-block;
+ border-radius: 30px;
+ padding: 2px 8px;
+ font-size: var(--fs-xs);
+ b {
+ margin-left: 5px;
+ }
+ }
+ &-icon {
+ display: inline-block;
+ margin-right: 10px;
+ svg, {
+ font-size: 18px;
+ fill: var(--colorPrimary5);
+ }
+ }
+ &:hover {
+ opacity: 0.7;
+ }
+ &--active {
+ background: #fff;
+ border: 1px solid var(--colorPrimary5);
+ .dataStatisticsDetails-content-item-title {
+ color: var(--colorPrimary5);
+ }
+ @include triangle-indicator(12px, #fff, var(--colorPrimary5), 1px);
+ }
+ }
+ }
+
+ #dataStatisticsEchartLine {
+ width: 100%;
+ height: 400px;
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsDetails/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsDetails/index.tsx
new file mode 100644
index 00000000..2155a4a3
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsDetails/index.tsx
@@ -0,0 +1,91 @@
+import { ForwardedRef, forwardRef, memo } from "react";
+import styles from "./dataStatisticsDetails.module.scss";
+import { useDataStatisticsStore } from "@/app/[lng]/dataStatistics/useDataStatistics";
+import { useShallow } from "zustand/react/shallow";
+import Icon from "@ant-design/icons";
+import { DatePicker } from "antd";
+import { Dayjs } from "dayjs";
+import { useTransClient } from "@/app/i18n/client";
+
+export interface IDataStatisticsDetailsRef {}
+
+export interface IDataStatisticsDetailsProps {}
+
+const DataStatisticsDetails = memo(
+ forwardRef(
+ (
+ {}: IDataStatisticsDetailsProps,
+ ref: ForwardedRef<IDataStatisticsDetailsRef>,
+ ) => {
+ const {
+ currentDetailType,
+ dataDetails,
+ setTimeRangeValue,
+ setCurrentDetailType,
+ timeRangeValue,
+ } = useDataStatisticsStore(
+ useShallow((state) => ({
+ dataDetails: state.dataDetails,
+ currentDetailType: state.currentDetailType,
+ setCurrentDetailType: state.setCurrentDetailType,
+ setTimeRangeValue: state.setTimeRangeValue,
+ timeRangeValue: state.timeRangeValue,
+ })),
+ );
+ const { t } = useTransClient("dataStatistics");
+
+ return (
+ <div className={styles.dataStatisticsDetails}>
+ <div className="dataStatisticsDetails-head">
+ <h3>{t("dataDetails")}</h3>
+ <div className="dataStatisticsDetails-head-rangePicker">
+ <label>{t("timeRange")}</label>
+ <DatePicker.RangePicker
+ value={timeRangeValue}
+ allowClear={false}
+ onChange={(e) => {
+ const dates = e as [Dayjs, Dayjs];
+ setTimeRangeValue(dates);
+ }}
+ />
+ </div>
+ </div>
+
+ <div className="dataStatisticsDetails-content">
+ {dataDetails.map((detail) => (
+ <div
+ key={detail.value}
+ className={`dataStatisticsDetails-content-item ${
+ currentDetailType === detail.value
+ ? "dataStatisticsDetails-content-item--active"
+ : ""
+ }`}
+ onClick={() => {
+ setCurrentDetailType(detail.value);
+ }}
+ >
+ <p className="dataStatisticsDetails-content-item-title">
+ <span className="dataStatisticsDetails-content-item-icon">
+ <Icon component={detail.icon} />
+ </span>
+ {detail.title}
+ </p>
+ <p className="dataStatisticsDetails-content-item-count">
+ {detail.total}
+ </p>
+ <p className="dataStatisticsDetails-content-item-yesterday">
+ {t("yesterdayIncrease")}
+ <b>{detail.yesterday}</b>
+ </p>
+ </div>
+ ))}
+ </div>
+
+ <div id="dataStatisticsEchartLine" />
+ </div>
+ );
+ },
+ ),
+);
+
+export default DataStatisticsDetails;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsHeader/dataStatisticsHeader.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsHeader/dataStatisticsHeader.module.scss
new file mode 100644
index 00000000..2c56f2a2
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsHeader/dataStatisticsHeader.module.scss
@@ -0,0 +1,149 @@
+.dataStatisticsHeader {
+ :global {
+ .dataStatisticsHeader-top {
+ display: flex;
+ justify-content: space-between;
+
+ &-options {
+ display: flex;
+
+ .ant-select {
+ margin-right: 20px;
+ }
+ }
+ }
+
+ .dataStatisticsHeader-accounts {
+ display: flex;
+ margin-top: 15px;
+ height: 145px;
+
+ .dataStatisticsHeader-accountCount {
+ background: rgb(247, 250, 250);
+ width: 200px;
+ box-sizing: border-box;
+ padding: 10px 20px;
+ border-radius: 8px;
+ flex-shrink: 0;
+
+ &-title {
+ display: flex;
+ align-items: center;
+ svg {
+ margin-right: 5px;
+ }
+ }
+ &-number {
+ font-size: 26px;
+ font-weight: bold;
+ margin: 5px 0;
+ }
+
+ .ant-tag {
+ background: rgb(236, 240, 240);
+ &:nth-of-type(1) {
+ margin-bottom: 10px;
+ svg {
+ color: var(--success-color);
+ }
+ }
+ &:nth-of-type(2) {
+ svg {
+ color: var(--warning-color);
+ }
+ }
+ b {
+ margin-left: 5px;
+ display: inline-block;
+ }
+ }
+ }
+
+ &-swiper {
+ display: flex;
+ align-items: center;
+ background: rgb(247, 250, 250);
+ width: 100%;
+ min-width: 0;
+ height: 100%;
+ border-radius: 8px;
+ margin-left: 20px;
+
+ .accounts-swiper-item {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ padding: 0 15px;
+ height: 100%;
+ box-sizing: border-box;
+ text-overflow: ellipsis;
+ &-info {
+ max-width: 100%;
+ display: flex;
+ align-items: center;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ margin-bottom: 10px;
+ &-name {
+ margin-left: 10px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ width: 100%;
+ overflow: hidden;
+ }
+ }
+ &-fans {
+ color: var(--grayColor8);
+ span {
+ display: inline-block;
+ margin-left: 20px;
+ }
+ }
+ &-offline {
+ background: rgb(237, 242, 242);
+ padding: 2px 5px;
+ font-size: var(--fs-xs);
+ border-radius: 8px;
+ .anticon {
+ color: red;
+ margin-right: 3px;
+ }
+ a {
+ margin-left: 15px;
+ }
+ }
+ &:after {
+ content: '';
+ position: absolute;
+ top: 50%;
+ transform: translateY(-50%);
+ right: 0;
+ width: 2px;
+ height: 40%;
+ background: rgb(230, 230, 230);
+ }
+ }
+
+ .swiper-slide:nth-of-type(4n) .accounts-swiper-item::after,
+ .swiper-slide:last-of-type .accounts-swiper-item::after
+ {
+ display: none;
+ }
+
+ button {
+ width: 25px;
+ height: 40px;
+ }
+
+ .swiper {
+ width: 100%;
+ height: 100%;
+ padding: 15px;
+ box-sizing: border-box;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsHeader/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsHeader/index.tsx
new file mode 100644
index 00000000..286ca06f
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsHeader/index.tsx
@@ -0,0 +1,192 @@
+import { ForwardedRef, forwardRef, memo, useState } from "react";
+import styles from "./dataStatisticsHeader.module.scss";
+import AccountCount from "../../svgs/accountCount.svg";
+import { Swiper, SwiperSlide } from "swiper/react";
+import { useAccountStore } from "@/store/account";
+import { useShallow } from "zustand/react/shallow";
+import { Button, Empty, Input, Select, Skeleton, Tag, Tooltip } from "antd";
+import { useDataStatisticsStore } from "@/app/[lng]/dataStatistics/useDataStatistics";
+import {
+ CheckCircleOutlined,
+ ExclamationCircleOutlined,
+ LeftOutlined,
+ RightOutlined,
+ WarningOutlined,
+} from "@ant-design/icons";
+import { Navigation } from "swiper/modules";
+import "swiper/css";
+import "swiper/css/navigation";
+import AvatarPlat from "@/components/AvatarPlat";
+import AddAccountModal from "@/app/[lng]/accounts/components/AddAccountModal";
+import { useTransClient } from "@/app/i18n/client";
+
+export interface IDataStatisticsHeaderRef {}
+
+export interface IDataStatisticsHeaderProps {}
+
+const DataStatisticsHeader = memo(
+ forwardRef(
+ (
+ {}: IDataStatisticsHeaderProps,
+ ref: ForwardedRef<IDataStatisticsHeaderRef>,
+ ) => {
+ const { accountGroupList } = useAccountStore(
+ useShallow((state) => ({
+ accountGroupList: state.accountGroupList,
+ })),
+ );
+ const {
+ choosedGroupIds,
+ setChoosedGroupIds,
+ filteredAccountList,
+ setAccountSearchValue,
+ } = useDataStatisticsStore(
+ useShallow((state) => ({
+ setChoosedGroupIds: state.setChoosedGroupIds,
+ choosedGroupIds: state.choosedGroupIds,
+ filteredAccountList: state.filteredAccountList,
+ setAccountSearchValue: state.setAccountSearchValue,
+ })),
+ );
+ const [addAccountModalOpen, setAddAccountModalOpen] = useState(false);
+ const { t } = useTransClient("dataStatistics");
+
+ return (
+ <div className={styles.dataStatisticsHeader}>
+ {/* 添加账号弹窗 */}
+ <AddAccountModal
+ open={addAccountModalOpen}
+ onClose={() => setAddAccountModalOpen(false)}
+ onAddSuccess={() => setAddAccountModalOpen(false)}
+ // targetGroupId={targetSpaceId}
+ // showSpaceSelector={!targetSpaceId}
+ // autoTriggerPlatform={targetPlatform}
+ />
+
+ <div className="dataStatisticsHeader-top">
+ <h2>{t("accountData")}</h2>
+ <div className="dataStatisticsHeader-top-options">
+ <Select
+ mode="multiple"
+ value={choosedGroupIds}
+ style={{ width: "220px" }}
+ options={accountGroupList}
+ fieldNames={{ value: "id", label: "name" }}
+ placeholder={t("selectSpace")}
+ maxTagCount={1}
+ onChange={(value) => {
+ setChoosedGroupIds(value);
+ }}
+ />
+ <Input.Search
+ style={{ width: "300px" }}
+ placeholder={t("inputAccountName")}
+ allowClear
+ onSearch={(value) => {
+ setAccountSearchValue(value);
+ }}
+ />
+ </div>
+ </div>
+
+ <div className="dataStatisticsHeader-accounts">
+ {filteredAccountList.length === 0 ? (
+ <>
+ <Empty
+ style={{ width: "100%", height: "100%" }}
+ description={t("noAccount")}
+ />
+ </>
+ ) : (
+ <>
+ <div className="dataStatisticsHeader-accountCount">
+ <div className="dataStatisticsHeader-accountCount-title">
+ <AccountCount />
+ {t("totalAccount")}
+ </div>
+ <div className="dataStatisticsHeader-accountCount-number">
+ {filteredAccountList.length}
+ </div>
+ <Tag bordered={false} icon={<CheckCircleOutlined />}>
+ {t("online")}{" "}
+ <b>
+ {filteredAccountList.filter((v) => v.status === 1).length}
+ </b>
+ </Tag>
+ <br />
+ <Tag bordered={false} icon={<WarningOutlined />}>
+ {t("offline")}{" "}
+ <b>
+ {filteredAccountList.filter((v) => v.status === 0).length}
+ </b>
+ </Tag>
+ </div>
+
+ <div className="dataStatisticsHeader-accounts-swiper">
+ <Button className="swiper-prev" icon={<LeftOutlined />} />
+
+ {accountGroupList.length === 0 ? (
+ <Skeleton active />
+ ) : (
+ <Swiper
+ modules={[Navigation]}
+ slidesPerView={4}
+ slidesPerGroup={4}
+ navigation={{
+ prevEl: ".swiper-prev",
+ nextEl: ".swiper-next",
+ }}
+ >
+ {filteredAccountList.map((account) => {
+ return (
+ <SwiperSlide key={account.id}>
+ <div className="accounts-swiper-item">
+ <div className="accounts-swiper-item-info">
+ <AvatarPlat account={account} size="large" />
+ <Tooltip title={account.nickname}>
+ <div className="accounts-swiper-item-info-name">
+ {account.nickname}
+ </div>
+ </Tooltip>
+ </div>
+
+ {account.status === 1 ? (
+ <div className="accounts-swiper-item-fans">
+ {t("fansCount")}{" "}
+ <span>{account.fansCount}</span>
+ </div>
+ ) : (
+ <div className="accounts-swiper-item-offline">
+ <span>
+ <ExclamationCircleOutlined />
+ {t("loginFailed")}
+ </span>
+ <a
+ onClick={(e) => {
+ e.preventDefault();
+ setAddAccountModalOpen(true);
+ }}
+ >
+ {t("relogin")}
+ </a>
+ </div>
+ )}
+ </div>
+ </SwiperSlide>
+ );
+ })}
+ </Swiper>
+ )}
+
+ <Button className="swiper-next" icon={<RightOutlined />} />
+ </div>
+ </>
+ )}
+ </div>
+ </div>
+ );
+ },
+ ),
+);
+
+export default DataStatisticsHeader;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsTable/dataStatisticsTable.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsTable/dataStatisticsTable.module.scss
new file mode 100644
index 00000000..35126f16
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsTable/dataStatisticsTable.module.scss
@@ -0,0 +1,10 @@
+.dataStatisticsTable {
+ margin-top: 20px;
+ :global {
+ .ant-table-thead {
+ .ant-table-cell {
+ padding: 10px 16px;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsTable/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsTable/index.tsx
new file mode 100644
index 00000000..55dfa404
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/components/DataStatisticsTable/index.tsx
@@ -0,0 +1,127 @@
+import React, { ForwardedRef, forwardRef, memo, useMemo } from "react";
+import styles from "./dataStatisticsTable.module.scss";
+import { Table } from "antd";
+import type { TableProps } from "antd";
+import {
+ StatisticsPeriodItems,
+ StatisticsPeriodItems2,
+} from "@/api/types/dataStatistics";
+import { useDataStatisticsStore } from "@/app/[lng]/dataStatistics/useDataStatistics";
+import { useShallow } from "zustand/react/shallow";
+import { useAccountStore } from "@/store/account";
+import AvatarPlat from "@/components/AvatarPlat";
+
+export interface IDataStatisticsTableRef {}
+
+export interface IDataStatisticsTableProps {}
+
+const DataStatisticsTable = memo(
+ forwardRef(
+ (
+ {}: IDataStatisticsTableProps,
+ ref: ForwardedRef<IDataStatisticsTableRef>,
+ ) => {
+ const { originData, dataDetails } = useDataStatisticsStore(
+ useShallow((state) => ({
+ originData: state.originData,
+ dataDetails: state.dataDetails,
+ })),
+ );
+ const { accountList } = useAccountStore(
+ useShallow((state) => ({
+ accountList: state.accountList,
+ })),
+ );
+
+ // key=uid, value=该账号对应的数据,此数据是累加的值
+ const data = useMemo(() => {
+ const d: { [key: string]: Partial<StatisticsPeriodItems2> } = {};
+
+ originData?.items?.map((v) => {
+ if (!d[v.uid]) {
+ d[v.uid] = {
+ commentCount: 0,
+ followingCount: 0,
+ likeCount: 0,
+ fansCount: 0,
+ readCount: 0,
+ collectCount: 0,
+ forwardCount: 0,
+ workCount: 0,
+ };
+ }
+ // 累加该账号的各项数据
+ v.items?.map((item) => {
+ d[v.uid]!.commentCount! += item.commentCount || 0;
+ d[v.uid]!.followingCount! += item.followingCount || 0;
+ d[v.uid]!.likeCount! += item.likeCount || 0;
+ d[v.uid]!.fansCount! += item.fansCount || 0;
+ d[v.uid]!.readCount! += item.readCount || 0;
+ d[v.uid]!.collectCount! += item.collectCount || 0;
+ d[v.uid]!.forwardCount! += item.forwardCount || 0;
+ d[v.uid]!.workCount! += item.workCount || 0;
+ });
+ });
+
+ return d;
+ }, [originData]);
+
+ const columns = useMemo(() => {
+ const columns: TableProps<StatisticsPeriodItems>["columns"] = [
+ {
+ title: "账号",
+ key: "uid",
+ render: (text, item) => {
+ const account = accountList.find((v) => v.uid === item.uid)!;
+
+ return (
+ <div>
+ <AvatarPlat account={account} />
+ <span style={{ display: "inline-block", marginLeft: "10px" }}>
+ {account?.nickname}
+ </span>
+ </div>
+ );
+ },
+ },
+ ];
+
+ dataDetails.map((v) => {
+ columns.push({
+ title: v.title,
+ key: v.value,
+ sorter: (a, b) => {
+ // @ts-ignore
+ const aValue = data[a.uid]?.[v.value] || 0;
+ // @ts-ignore
+ const bValue = data[b.uid]?.[v.value] || 0;
+ return aValue - bValue;
+ },
+ render: (text, item) => {
+ // @ts-ignore
+ return <span>{data[item.uid]?.[v.value] || 0}</span>;
+ },
+ });
+ });
+
+ return columns;
+ }, [accountList, data, dataDetails]);
+
+ return (
+ <div className={styles.dataStatisticsTable}>
+ <Table<StatisticsPeriodItems>
+ columns={columns}
+ key="uid"
+ dataSource={originData?.items?.map((item) => ({
+ ...item,
+ key: item.uid,
+ }))}
+ scroll={{ y: "400px" }}
+ />
+ </div>
+ );
+ },
+ ),
+);
+
+export default DataStatisticsTable;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/dataStatistics.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/dataStatistics.module.scss
new file mode 100644
index 00000000..efc7582a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/dataStatistics.module.scss
@@ -0,0 +1,3 @@
+.dataStatistics {
+ padding: 20px;
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/echart/drawDataStatisticsEchartLine.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/echart/drawDataStatisticsEchartLine.ts
new file mode 100644
index 00000000..06ba514b
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/echart/drawDataStatisticsEchartLine.ts
@@ -0,0 +1,64 @@
+import * as echarts from "echarts";
+import { useDataStatisticsStore } from "../useDataStatistics";
+import { describeNumber } from "@/utils"; // 引入store
+
+type EChartsOption = echarts.EChartsOption;
+
+export default function drawDataStatisticsEchartLine(elId: string) {
+ const chartDom = document.getElementById(elId)!;
+ const chartDomAny = chartDom as any;
+ // 先销毁已有实例,防止重复初始化报错
+ if (echarts.getInstanceByDom(chartDom)) {
+ echarts.dispose(chartDom);
+ }
+ const myChart = echarts.init(chartDom);
+
+ // 获取store中的echartData
+ const { legend, xAxis, series } =
+ useDataStatisticsStore.getState().echartData;
+
+ const option: EChartsOption = {
+ tooltip: {
+ trigger: "axis",
+ },
+ legend: {
+ top: 25,
+ data: legend,
+ },
+ grid: {
+ left: "3%",
+ right: "4%",
+ bottom: "3%",
+ containLabel: true,
+ },
+ xAxis: {
+ type: "category",
+ boundaryGap: false,
+ data: xAxis,
+ },
+ yAxis: {
+ type: "value",
+ axisLabel: {
+ formatter: function (value: number) {
+ return describeNumber(value);
+ },
+ },
+ },
+ // @ts-ignore
+ series: series,
+ };
+
+ if (option) {
+ myChart.setOption(option);
+ }
+
+ // 先移除旧的resize事件监听,防止重复绑定
+ if (chartDomAny._resizeHandler) {
+ window.removeEventListener("resize", chartDomAny._resizeHandler);
+ }
+ function handleResize() {
+ myChart.resize();
+ }
+ window.addEventListener("resize", handleResize);
+ chartDomAny._resizeHandler = handleResize;
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/page.tsx
new file mode 100644
index 00000000..09d95e42
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/page.tsx
@@ -0,0 +1,20 @@
+import { PageParams } from "@/app/globals";
+import { useTranslation } from "@/app/i18n";
+import { getMetadata } from "@/utils/general";
+import { DataStatisticsCore } from "@/app/[lng]/dataStatistics/DataStatisticsCore";
+
+export async function generateMetadata({ params }: PageParams) {
+ const { lng } = await params;
+ const { t } = await useTranslation(lng, "dataStatistics");
+ return await getMetadata(
+ {
+ title: t("title"),
+ description: t("description"),
+ },
+ lng,
+ );
+}
+
+export default function Page() {
+ return <DataStatisticsCore />;
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/accountCount.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/accountCount.svg
new file mode 100644
index 00000000..9ac17d20
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/accountCount.svg
@@ -0,0 +1 @@
+<svg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'><g id='Group 4096'><rect id='Rectangle 165' width='18' height='18' rx='4' fill='#FF7800' fill-opacity='0.1'/><path id='Union' fill-rule='evenodd' clip-rule='evenodd' d='M4.91678 13.1861C4.91678 10.1054 6.67109 9.03566 8.21145 8.69336C7.82636 8.47942 7.48405 8.13712 7.3129 7.62366C6.67108 6.4256 7.14175 4.88524 8.25424 4.24342C9.36672 3.6016 10.8215 4.02948 11.3778 5.27033C11.9768 6.51118 11.5489 8.05154 10.3508 8.69336C11.8912 9.03566 13.6455 10.1481 13.6455 13.1861C13.6455 13.9991 12.6614 13.9991 9.28115 13.9991C5.94369 13.9991 4.91678 13.9991 4.91678 13.1861ZM11.5917 8.3504C11.4633 8.43597 11.5061 8.60712 11.6344 8.64991C12.9609 9.035 14.3301 10.0619 14.544 12.3725C14.544 12.458 14.6296 12.5008 14.7152 12.5008C15.2714 12.4152 15.4854 12.2441 15.4854 11.9018C15.4854 9.67682 14.3301 8.6927 13.1748 8.3504C13.0464 8.30761 13.0464 8.13646 13.132 8.05088C13.9022 7.45185 14.1161 6.38216 13.6883 5.48361C13.3887 4.84179 12.7897 4.49949 12.1907 4.41391C12.0623 4.41391 11.9767 4.54228 12.0623 4.67064C12.1051 4.75622 12.1479 4.83109 12.1907 4.90597C12.2335 4.98085 12.2763 5.05573 12.319 5.14131C12.8325 6.25379 12.533 7.623 11.5917 8.3504ZM7.05614 8.3504C7.1845 8.43597 7.14172 8.60712 7.01335 8.64991C5.72972 9.035 4.3605 10.0619 4.10378 12.3725C4.10378 12.458 4.0182 12.5008 3.93263 12.5008C3.37638 12.4152 3.16244 12.2441 3.16244 11.9018C3.16244 9.67682 4.31772 8.6927 5.47299 8.3504C5.60135 8.30761 5.60135 8.13646 5.51578 8.05088C4.74559 7.45185 4.53166 6.38216 4.95953 5.48361C5.25905 4.84179 5.85808 4.4567 6.45711 4.41391C6.58547 4.41391 6.67105 4.54228 6.58547 4.67064C6.54269 4.75622 6.4999 4.83109 6.45711 4.90597C6.41432 4.98085 6.37153 5.05573 6.32875 5.14131C5.81529 6.25379 6.11481 7.623 7.05614 8.3504Z' fill='#FF7800'/></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/collectCount.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/collectCount.svg
new file mode 100644
index 00000000..96b75f29
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/collectCount.svg
@@ -0,0 +1 @@
+<svg width='24' height='24' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'><g id='Frame 3984'><path id='Vector' d='M3.41383 10C3.21949 10 3.02515 9.94231 2.86026 9.82115C2.5658 9.61346 2.42447 9.26154 2.48336 8.91539L2.84259 6.85C2.84848 6.82692 2.8367 6.79808 2.81903 6.78654L1.28787 5.32692C1.02875 5.07885 0.934523 4.71538 1.04642 4.375C1.15831 4.03462 1.45276 3.79231 1.812 3.74039L3.92618 3.44038C3.94974 3.43462 3.9733 3.42308 3.98507 3.4L4.93322 1.51923C5.09223 1.20192 5.42202 1 5.78125 1C6.14637 1 6.47027 1.19615 6.62928 1.51923L7.57742 3.4C7.5892 3.42308 7.61276 3.43462 7.63632 3.44038L9.7505 3.74039C10.1097 3.79231 10.4042 4.03462 10.5161 4.375C10.628 4.71538 10.5338 5.07885 10.2746 5.32692L8.74347 6.78654C8.7258 6.80385 8.71991 6.82692 8.71991 6.85L9.07914 8.91539C9.13803 9.26731 8.9967 9.61346 8.70224 9.82115C8.40779 10.0288 8.025 10.0577 7.70698 9.89038L5.81658 8.91539C5.79303 8.90385 5.76947 8.90385 5.74591 8.91539L3.85552 9.89038C3.71418 9.96538 3.56695 10 3.41383 10Z' fill='#a66ae4'/></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/fansCount.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/fansCount.svg
new file mode 100644
index 00000000..2ca82343
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/fansCount.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1757680278444" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5392" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M778.24 931.84c-71.68 23.893333-184.32 27.306667-307.2 27.306667-235.52 0-416.426667-27.306667-416.426667-98.986667 0-133.12 122.88-249.173333 300.373334-286.72-102.4-47.786667-160.426667-163.84-136.533334-276.48C242.346667 184.32 341.333333 102.4 453.973333 102.4c112.64 0 208.213333 78.506667 235.52 191.146667 23.893333 112.64-27.306667 228.693333-129.706666 276.48 27.306667 6.826667 54.613333 13.653333 81.92 23.893333-27.306667 23.893333-40.96 58.026667-40.96 95.573333-3.413333 122.88 112.64 197.973333 177.493333 242.346667z m-27.306667-334.506667c27.306667 0 51.2 13.653333 68.266667 34.133334 17.066667-20.48 40.96-34.133333 68.266667-34.133334 51.2 0 92.16 40.96 92.16 95.573334 0 105.813333-116.053333 163.84-153.6 197.973333l-3.413334 3.413333-6.826666-6.826666c-37.546667-34.133333-153.6-88.746667-153.6-197.973334 0-51.2 40.96-92.16 88.746666-92.16z" p-id="5393"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/forwardCount.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/forwardCount.svg
new file mode 100644
index 00000000..8833c830
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/svgs/forwardCount.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1757680365284" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7235" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z" p-id="7236"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/useDataStatistics.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/useDataStatistics.tsx
new file mode 100644
index 00000000..8358ec0f
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/dataStatistics/useDataStatistics.tsx
@@ -0,0 +1,318 @@
+import { create } from "zustand/index";
+import { combine } from "zustand/middleware";
+import { SocialAccount } from "@/api/types/account.type";
+import FansCount from "./svgs/fansCount.svg";
+import CollectCount from "./svgs/collectCount.svg";
+import ForwardCount from "./svgs/forwardCount.svg";
+import {
+ HeartFilled,
+ VideoCameraFilled,
+ MessageFilled,
+} from "@ant-design/icons";
+import dayjs, { Dayjs } from "dayjs";
+import { getStatisticsPeriodApi } from "@/api/dataStatistics";
+import { StatisticsPeriodModel } from "@/api/types/dataStatistics";
+import { message } from "antd";
+import drawDataStatisticsEchartLine from "@/app/[lng]/dataStatistics/echart/drawDataStatisticsEchartLine";
+import { directTrans } from "@/app/i18n/client";
+import { AccountPlatInfoMap, PlatType } from "@/app/config/platConfig";
+
+export interface IDataStatisticsStore {
+ // 当前选择的账户组IDs
+ choosedGroupIds: string[];
+ // 过滤之后的账户
+ filteredAccountList: SocialAccount[];
+ // 数据明细
+ dataDetails: {
+ title: string;
+ value: string;
+ icon: any;
+ // 总数
+ total: number;
+ // 昨日数
+ yesterday: number;
+ }[];
+ // 当前选择的明细类型
+ currentDetailType: string;
+ // 账号搜索value
+ accountSearchValue: string;
+ // 日期范围
+ timeRangeValue: [Dayjs, Dayjs];
+ // 源数据
+ originData?: StatisticsPeriodModel;
+ // loading
+ loading: boolean;
+ // echart 数据,直接适配 ECharts 格式
+ echartData: {
+ legend: string[];
+ xAxis: string[];
+ series: {
+ name: string;
+ type: string;
+ data: number[];
+ }[];
+ };
+}
+
+const state: IDataStatisticsStore = {
+ accountSearchValue: "",
+ choosedGroupIds: [],
+ filteredAccountList: [],
+ dataDetails: [],
+ currentDetailType: "",
+ timeRangeValue: [dayjs().subtract(7, "day"), dayjs()],
+ loading: false,
+ originData: undefined,
+ echartData: {
+ legend: [],
+ xAxis: [],
+ series: [],
+ },
+};
+
+export const useDataStatisticsStore = create(
+ combine(
+ {
+ ...state,
+ },
+ (set, get) => {
+ const methods = {
+ async init() {
+ const dataDetails = [
+ {
+ title: directTrans("dataStatistics", "growthFansCount"),
+ value: "fansCount",
+ icon: FansCount,
+ total: 0,
+ yesterday: 0,
+ },
+ {
+ title: directTrans("dataStatistics", "readCount"),
+ value: "readCount",
+ icon: VideoCameraFilled,
+ total: 0,
+ yesterday: 0,
+ },
+ {
+ title: directTrans("dataStatistics", "commentCount"),
+ value: "commentCount",
+ icon: MessageFilled,
+ total: 0,
+ yesterday: 0,
+ },
+ {
+ title: directTrans("dataStatistics", "likeCount"),
+ value: "likeCount",
+ icon: HeartFilled,
+ total: 0,
+ yesterday: 0,
+ },
+ {
+ title: directTrans("dataStatistics", "collectCount"),
+ value: "collectCount",
+ icon: CollectCount,
+ total: 0,
+ yesterday: 0,
+ },
+ {
+ title: directTrans("dataStatistics", "forwardCount"),
+ value: "forwardCount",
+ icon: ForwardCount,
+ total: 0,
+ yesterday: 0,
+ },
+ ];
+
+ set({
+ dataDetails,
+ currentDetailType: dataDetails[0].value,
+ });
+ },
+
+ // 获取数据统计
+ async getStatistics() {
+ if (get().filteredAccountList.length === 0) {
+ return;
+ }
+
+ set({
+ loading: true,
+ });
+ // 过滤掉无效的account和account.type
+ const validAccounts = get().filteredAccountList.filter(
+ (account) => account && account.type && account.uid,
+ );
+ const res = await getStatisticsPeriodApi({
+ startDate: get().timeRangeValue[0].format("YYYY-MM-DD"),
+ endDate: get().timeRangeValue[1].format("YYYY-MM-DD"),
+ queries: validAccounts.map((account) => ({
+ platform: account.type,
+ uid: account.uid,
+ })),
+ });
+ set({
+ loading: false,
+ });
+
+ if (!res || !res.data) {
+ message.error("获取数据统计失败,请稍后重试");
+ return;
+ }
+ set({
+ originData: res.data,
+ });
+
+ methods.sortingData();
+ },
+
+ // 分拣数据
+ sortingData() {
+ const data = get().originData;
+
+ if (!data) return;
+
+ // 1. 汇总各指标总数
+ const metrics = get().dataDetails.map((e) => e.value);
+ const totals: Record<string, number> = {};
+ metrics.forEach((m) => (totals[m] = 0));
+
+ data.groupedByDate.forEach((day) => {
+ day.records.forEach((rec) => {
+ metrics.forEach((m) => {
+ // @ts-ignore
+ totals[m] += rec[m] ?? 0;
+ });
+ });
+ });
+
+ set({
+ dataDetails: get().dataDetails.map((item) => ({
+ ...item,
+ total: totals[item.value] ?? 0,
+ })),
+ });
+
+ // 2. 统计前一天数据
+ const endDate = get().timeRangeValue[1].format("YYYY-MM-DD");
+ const prevDay = dayjs(endDate)
+ .subtract(1, "day")
+ .format("YYYY-MM-DD");
+ const prevDayData = data.groupedByDate.find(
+ (d) => d.date === prevDay,
+ );
+ const yesterdayTotals: Record<string, number> = {};
+ if (prevDayData) {
+ const metrics = get().dataDetails.map((e) => e.value);
+ metrics.forEach((m) => (yesterdayTotals[m] = 0));
+ prevDayData.records.forEach((rec) => {
+ metrics.forEach((m) => {
+ // @ts-ignore
+ yesterdayTotals[m] += rec[m] ?? 0;
+ });
+ });
+ }
+
+ // 3. 更新 dataDetails
+ set({
+ dataDetails: get().dataDetails.map((item) => ({
+ ...item,
+ yesterday:
+ prevDayData && typeof yesterdayTotals[item.value] === "number"
+ ? yesterdayTotals[item.value]
+ : item.yesterday,
+ })),
+ });
+
+ // 4. 生成 ECharts 适配数据
+ const currentField = get().currentDetailType;
+
+ // 日期
+ const dates = Array.from(
+ new Set(data.groupedByDate.map((e) => e.date)),
+ ).sort();
+ const dateIndex: Record<string, number> = {};
+ dates.forEach((d, i) => (dateIndex[d] = i));
+
+ // 平台
+ const platformSet = new Set<string>();
+ data.groupedByDate.forEach((g) =>
+ g.records.forEach((r) => platformSet.add(r.platform)),
+ );
+ const platforms = Array.from(platformSet).sort() as PlatType[];
+
+ // 初始化矩阵
+ const chartData: Record<string, number[]> = {};
+ platforms.forEach(
+ (p) => (chartData[p] = Array(dates.length).fill(0)),
+ );
+
+ // 填充数据
+ data.groupedByDate.forEach((g) => {
+ const dIdx = dateIndex[g.date];
+ g.records.forEach((r) => {
+ const p = r.platform;
+ if (chartData[p]) {
+ // @ts-ignore
+ chartData[p][dIdx] = r[currentField] ?? 0;
+ }
+ });
+ });
+
+ // 组装 ECharts 格式
+ const legend = platforms.map(
+ (v) => AccountPlatInfoMap.get(v)?.name || v,
+ );
+ const xAxis = dates;
+ const series = platforms.map((p) => ({
+ name: AccountPlatInfoMap.get(p)?.name || p,
+ type: "line",
+ data: chartData[p],
+ }));
+
+ set({
+ echartData: {
+ legend,
+ xAxis,
+ series,
+ },
+ });
+
+ drawDataStatisticsEchartLine("dataStatisticsEchartLine");
+ },
+
+ // 设置 timeRangeValue
+ setTimeRangeValue(timeRangeValue: [Dayjs, Dayjs]) {
+ set({
+ timeRangeValue,
+ });
+ },
+ // 设置 currentDetailType
+ setCurrentDetailType(currentDetailType: string) {
+ set({
+ currentDetailType,
+ });
+ },
+ // 设置选择账户组IDs
+ setChoosedGroupIds(choosedGroupIds: string[]) {
+ set({
+ choosedGroupIds,
+ });
+ },
+ // 设置过滤之后的账户
+ setFilteredAccountList(filteredAccountList: SocialAccount[]) {
+ set({
+ filteredAccountList,
+ });
+ },
+ // 设置 accountSearchValue
+ setAccountSearchValue(accountSearchValue: string) {
+ set({
+ accountSearchValue,
+ });
+ },
+ };
+
+ return methods;
+ },
+ ),
+);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoData.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoData.tsx
deleted file mode 100644
index e6f7a56a..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoData.tsx
+++ /dev/null
@@ -1,44 +0,0 @@
-"use client";
-
-import { apiGetAccountDataBulk, apiGetAccountDataCube } from "@/api/plat/dataCube";
-const account = "686bc457e9a745f012552abf";
-
-export const DemoData = () => {
- const getAccountDataCube = async () => {
- try {
- const res: any = await apiGetAccountDataCube(account);
- console.log("获取数据成功:---", res);
-
- if (res?.data?.data) {
- console.log("创建记录成功:", res.data.data);
- }
- } catch (error) {
- console.error("创建记录失败:", error);
- }
- };
-
- const getAccountDataBulk = async () => {
- try {
- const res: any = await apiGetAccountDataBulk(account);
- console.log("获取数据成功:---", res);
-
- if (res?.data?.data) {
- console.log("创建记录成功:", res.data.data);
- }
- } catch (error) {
- console.error("创建记录失败:", error);
- }
- };
-
- return (
- <div>
- <div style={{ marginTop: "20px" }}>
- <h3>数据板块测试:</h3>
- <div>
- <button onClick={getAccountDataCube}>获取账号总量数据</button>
- <button onClick={getAccountDataBulk}>获取账号增量数据</button>
- </div>
- </div>
- </div>
- );
-};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoInteract.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoInteract.tsx
deleted file mode 100644
index 685f93c9..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoInteract.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-"use client";
-import { apiAddArcComment, apiGetArcCommentList } from "@/api/plat/interact";
-const accountId = "686bc457e9a745f012552abf";
-const dataId = "686bc457e9a745f012552abf";
-const content = "感谢各位粉丝的关注!";
-
-export const DemoInteract = () => {
- const addArcComment = async () => {
- try {
- const res: any = await apiAddArcComment({
- accountId: accountId,
- dataId,
- content,
- });
- console.log("获取数据成功:---", res);
-
- if (res?.data?.data) {
- console.log("创建记录成功:", res.data.data);
- }
- } catch (error) {
- console.error("创建记录失败:", error);
- }
- };
-
- return (
- <div>
- <div style={{ marginTop: "20px" }}>
- <h3>渠道互动测试:</h3>
- <div>
- <button onClick={addArcComment}>添加作品评论</button>
- </div>
- </div>
- </div>
- );
-};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoMaterial.module.css b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoMaterial.module.css
deleted file mode 100644
index 1ecf058b..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoMaterial.module.css
+++ /dev/null
@@ -1,3 +0,0 @@
-.demoMaterial {
- background-color: #fafafa;
-}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoMaterial.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoMaterial.tsx
deleted file mode 100644
index f4876871..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoMaterial.tsx
+++ /dev/null
@@ -1,195 +0,0 @@
-"use client";
-
-import { useEffect, useState } from "react";
-import { getMediaGroupList } from "@/api/media";
-import {
- apiCreateMaterialGroup,
- apiCreateMaterialTask,
- apiPreviewMaterialTask,
- apiStartMaterialTask,
- apiGetMaterialGroupList,
- NewMaterialTask,
-} from "@/api/material";
-import styles from "./demoMaterial.module.css";
-import { PubType } from "@/app/config/publishConfig";
-
-interface NewMaterialGroup {
- type: PubType;
- name: string;
- desc?: string;
-}
-
-export const DemoMaterial = () => {
- const [newMaterialGroup, setNewMaterialGroup] = useState<NewMaterialGroup>({
- type: PubType.ImageText,
- name: "测试素材组",
- desc: "美景鉴赏者素材组",
- });
-
- const [taskId, setTaskId] = useState<string>("");
- const [groupId, setGroupId] = useState<string>("");
-
- const [newMaterialTask, setNewMaterialTask] = useState<NewMaterialTask>({
- groupId,
- num: 10,
- aiModelTag: "ali",
- prompt: "语调优美,多用成语和感叹词。",
- title: "景色优美,人人共赏",
- desc: "作为一个美景鉴赏者",
- location: [0, 0],
- publishTime: new Date().toISOString(),
- mediaGroups: [],
- coverGroup: "",
- option: {},
- });
-
- const [mediaGroupList, setMediaGroupList] = useState<any[]>([]);
- const [materialGroupList, setMaterialGroupList] = useState<any[]>([]);
-
- useEffect(() => {
- getMediaGroups();
- getMaterialGroupList();
- //
- }, []);
-
- async function createMaterialGroup() {
- const res = await apiCreateMaterialGroup(newMaterialGroup);
- console.log("------ createMaterialGroup ---- ", res);
- }
-
- /**
- * 创建任务
- * @param groupId
- */
- async function createMaterialTask(groupId: string) {
- const res = await apiCreateMaterialTask({
- ...newMaterialTask,
- groupId,
- });
- console.log("------ createMaterialTask ---- ", res);
-
- setGroupId(groupId);
- setTaskId(res!.data._id);
- }
-
- async function previewMaterialTask() {
- const res = await apiPreviewMaterialTask(taskId);
- console.log("------ startMaterialTask ---- ", res);
- }
-
- async function startMaterialTask() {
- const res = await apiStartMaterialTask(taskId);
- console.log("------ startMaterialTask ---- ", res);
- }
-
- async function getMediaGroups() {
- // 获取素材组列表
- const res = await getMediaGroupList(1, 10);
- console.log("----- res", res);
- setMediaGroupList(res?.data.list || []);
- }
-
- // 设置封面素材组
- async function setCoverGroup(groupId: string) {
- console.log("----- setCoverGroup", groupId);
-
- setNewMaterialTask({
- ...newMaterialTask,
- coverGroup: groupId,
- });
- }
-
- // 设置媒体素材组
- async function setMediaGroup(groupId: string) {
- newMaterialTask.mediaGroups?.push(groupId);
- setNewMaterialGroup({
- ...newMaterialGroup,
- });
- }
-
- // 获取素材组列表
- async function getMaterialGroupList() {
- const res = await apiGetMaterialGroupList(1, 10);
- console.log("----- apiGetMaterialGroupList res", res);
- setMaterialGroupList(res?.data.list || []);
- }
-
- return (
- <div className={styles.demoMaterial}>
- <div>========= 素材草稿 ==============</div>
- <div>
- <p>----- 媒体组列表 STR -----</p>
- {mediaGroupList.map((item) => (
- <div key={item.id}>
- <div>{item.title}</div>
- <button
- className="btn btn-primary"
- onClick={() => setCoverGroup(item._id)}
- >
- 作为封面媒体组
- </button>
- <button onClick={() => setMediaGroup(item._id)}>
- 作为内容媒体组
- </button>
- </div>
- ))}
- <p>----- 媒体组列表 END -----</p>
- </div>
- <div>
- <p>----- 草稿组信息 STR -----</p>
- {newMaterialGroup && (
- <div>
- <div>{newMaterialGroup.type}</div>
- <div>{newMaterialGroup.name}</div>
- <div>{newMaterialGroup.desc}</div>
- </div>
- )}
- <p>----- 素材信息 END -----</p>
- </div>
- <div>
- <button onClick={createMaterialGroup}>创建素材组</button>
- </div>
- <div>
- <p>----- 素材组列表 STR -----</p>
- <div>
- {materialGroupList.map((item) => (
- <div key={item.id}>
- <div>ID:{item.id}</div>
- <div>标题:{item.title}</div>
- <div>描述:{item.desc}</div>
- <div>封面素材组ID:{item.coverGroup}</div>
-
- <button onClick={() => createMaterialTask(item._id)}>
- 创建任务
- </button>
- </div>
- ))}
- </div>
-
- <p>----- 任务信息 STR -----</p>
- {newMaterialGroup && (
- <div>
- <div>{newMaterialTask.groupId}</div>
- <div>{newMaterialTask.title}</div>
- <div>{newMaterialTask.desc}</div>
- <div>{newMaterialTask.aiModelTag}</div>
- <div>{newMaterialTask.prompt}</div>
- <div>{newMaterialTask.location}</div>
- <div>{newMaterialTask.publishTime?.toString()}</div>
- <div>
- 内容媒体组数组:
- {newMaterialTask.mediaGroups?.map((item) => (
- <span>--{item}</span>
- ))}
- </div>
- <div>封面媒体组ID:{newMaterialTask.coverGroup}</div>
- </div>
- )}
- <p>----- 任务信息 END -----</p>
-
- <button onClick={() => previewMaterialTask()}>预览</button>
- <button onClick={() => startMaterialTask()}>开始任务</button>
- </div>
- </div>
- );
-};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoPageCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoPageCore.tsx
deleted file mode 100644
index 12c32974..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoPageCore.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-"use client";
-
-export const DemoPageCore = () => {
- return <>demo</>;
-};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoPublish.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoPublish.tsx
deleted file mode 100644
index dfcf3b4c..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/demoPublish.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-"use client";
-
-import { PubType } from "@/app/config/publishConfig";
-import dayjs from "dayjs";
-import utc from "dayjs/plugin/utc";
-import { apiCreatePublish } from "@/api/plat/publish";
-import { PlatType } from "@/app/config/platConfig";
-// import timezone from "dayjs/plugin/timezone";
-
-dayjs.extend(utc);
-// dayjs.extend(timezone);
-
-export const DemoPublish = () => {
- const createPublish = async () => {
- const publishTime = dayjs().add(31, "minute").utc().format();
- try {
- const res: any = await apiCreatePublish({
- flowId: "cd296d3bda0f465f977b1cbf200e21d6",
- type: PubType.VIDEO,
- title: "测试视频标题",
- desc: "测试视频描述",
- accountId: "686ba36565c9020dc1f3a043",
- accountType: PlatType.BILIBILI,
- videoUrl:
- "https://v2-zj-bjcm.kwaicdn.com/upic/2025/06/24/09/BMjAyNTA2MjQwOTI3MjlfNDQwMjk3NjY1Nl8xNjc1OTkwOTUzNzBfMl8z_b_Bea472124f75ea09e1483d87c112ede39.mp4?tag=1-1751887066-unknown-0-uqpbdciha7-0f5473b4478e400b&provider=self&clientCacheKey=3xcwhdmk5jcyv8y_b.mp4&di=dfa08272&bp=14944&x-ks-ptid=167599095370&Aecs=172.17.4.195&ocid=100001260&tt=b&ss=vpm",
- coverUrl: "https://education.yikart.cn/images/swiper/swiper1.png",
- // imgList: ["imgList1", "imgList2"],
- publishTime,
- option: {
- isAutoPublish: true,
- isAutoDelete: true,
- isAutoCover: true,
- isAutoImg: true,
- bilibili: {
- tid: 21,
- copyright: 1,
- },
- },
- });
- if (res?.data?.data) {
- console.log("创建记录成功:", res.data.data);
- }
- } catch (error) {
- console.error("创建记录失败:", error);
- }
- };
-
- return (
- <div>
- <div>========= 发布记录 ==============</div>
- <div>
- <button onClick={createPublish}>创建记录</button>
- </div>
-
- <div style={{ marginTop: "20px" }}>
- <h3>发布记录列表组件测试:</h3>
- {/* <Page
- height="400px"
- onChange={(record) => {
- console.log('选中的记录:', record);
- }}
- /> */}
- </div>
- </div>
- );
-};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/ipTest.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/ipTest.tsx
deleted file mode 100644
index 76dc15b0..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/ipTest.tsx
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * IP地理位置获取测试页面
- * 用于测试IP获取功能是否正常工作
- */
-
-import { useState } from 'react';
-import { Button, Card, Space, Typography } from 'antd';
-import { getIpLocation, IpLocationInfo } from '@/utils/ipLocation';
-
-const { Title, Text, Paragraph } = Typography;
-
-const IpTestPage = () => {
- const [ipInfo, setIpInfo] = useState<IpLocationInfo | null>(null);
- const [loading, setLoading] = useState(false);
- const [error, setError] = useState<string | null>(null);
-
- /**
- * 测试获取IP地理位置信息
- */
- const handleTestIpLocation = async () => {
- try {
- setLoading(true);
- setError(null);
- const info = await getIpLocation();
- setIpInfo(info);
- } catch (err) {
- setError(err instanceof Error ? err.message : '获取IP信息失败');
- } finally {
- setLoading(false);
- }
- };
-
- return (
- <div style={{ padding: '20px', maxWidth: '800px', margin: '0 auto' }}>
- <Title level={2}>IP地理位置获取测试</Title>
-
- <Card title="功能说明" style={{ marginBottom: '20px' }}>
- <Paragraph>
- 此页面用于测试IP地理位置获取功能。点击下方按钮将调用JSONP接口获取当前IP地址和地理位置信息。
- </Paragraph>
- <Paragraph>
- <Text code>https://ping0.cc/geo/jsonp/callback</Text> 接口将返回以下信息:
- </Paragraph>
- <ul>
- <li><Text strong>IP地址</Text>:当前访问者的公网IP地址</li>
- <li><Text strong>地理位置</Text>:IP地址对应的地理位置信息</li>
- <li><Text strong>ASN</Text>:自治系统号码</li>
- <li><Text strong>组织</Text>:网络服务提供商信息</li>
- </ul>
- </Card>
-
- <Card title="测试结果" style={{ marginBottom: '20px' }}>
- <Space direction="vertical" style={{ width: '100%' }}>
- <Button
- type="primary"
- onClick={handleTestIpLocation}
- loading={loading}
- size="large"
- >
- {loading ? '获取中...' : '获取IP地理位置信息'}
- </Button>
-
- {error && (
- <Card size="small" style={{ backgroundColor: '#fff2f0', borderColor: '#ffccc7' }}>
- <Text type="danger">错误信息:{error}</Text>
- </Card>
- )}
-
- {ipInfo && (
- <Card size="small" style={{ backgroundColor: '#f6ffed', borderColor: '#b7eb8f' }}>
- <Space direction="vertical" style={{ width: '100%' }}>
- <div>
- <Text strong>IP地址:</Text>
- <Text copyable>{ipInfo.ip}</Text>
- </div>
- <div>
- <Text strong>地理位置:</Text>
- <Text>{ipInfo.location}</Text>
- </div>
- <div>
- <Text strong>ASN:</Text>
- <Text code>{ipInfo.asn}</Text>
- </div>
- <div>
- <Text strong>组织:</Text>
- <Text>{ipInfo.org}</Text>
- </div>
- </Space>
- </Card>
- )}
- </Space>
- </Card>
-
- <Card title="技术实现" style={{ marginBottom: '20px' }}>
- <Paragraph>
- <Text strong>实现方式:</Text> 使用JSONP(JSON with Padding)技术调用第三方IP地理位置服务
- </Paragraph>
- <Paragraph>
- <Text strong>核心代码:</Text>
- </Paragraph>
- <pre style={{ backgroundColor: '#f5f5f5', padding: '10px', borderRadius: '4px' }}>
-{`// 创建动态回调函数
-const callbackName = \`ipLocationCallback_\${Date.now()}_\${Math.random()}\`;
-
-// 定义回调函数
-window[callbackName] = (ip, location, asn, org) => {
- // 处理返回的数据
- resolve({ ip, location, asn, org });
-};
-
-// 动态加载script标签
-const script = document.createElement('script');
-script.src = \`https://ping0.cc/geo/jsonp/\${callbackName}\`;
-document.head.appendChild(script);`}
- </pre>
- </Card>
- </div>
- );
-};
-
-export default IpTestPage;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/page.tsx
deleted file mode 100644
index e0f0d1b5..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/page.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-import { useTranslation } from "@/app/i18n";
-import { PageParams } from "@/app/globals";
-import * as React from "react";
-import { getMetadata } from "@/utils/general";
-import { DemoPageCore } from "@/app/[lng]/demo/demoPageCore";
-import { DemoPublish } from "@/app/[lng]/demo/demoPublish";
-import { DemoMaterial } from "@/app/[lng]/demo/demoMaterial";
-import { DemoData } from "./demoData";
-import { DemoInteract } from "./demoInteract";
-
-export async function generateMetadata({ params }: PageParams) {
- const { lng } = await params;
- const { t } = await useTranslation(lng, "demo");
- return await getMetadata(
- {
- title: t("title"),
- },
- lng,
- );
-}
-
-export default async function Page({ params }: PageParams) {
- const { lng } = await params;
- const { t } = await useTranslation(lng, "demo");
-
- return (
- <>
- <div>{t("demoText")} 1</div>
- <DemoPageCore />
- <DemoPublish />
- <DemoMaterial />
- <DemoData />
- <DemoInteract />
- </>
- );
-}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/pubDemo/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/pubDemo/page.tsx
deleted file mode 100644
index b3e4988c..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/pubDemo/page.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import { DemoPublish } from "@/app/[lng]/demo/demoPublish";
-
-export default function Page() {
- return <DemoPublish />;
-}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/uploadExample.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/demo/uploadExample.tsx
deleted file mode 100644
index 457394b7..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/demo/uploadExample.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-"use client";
-
-import React, { useState } from "react";
-import { uploadToOss } from "@/api/oss";
-import { toolsApi } from "@/api/tools";
-
-export const UploadExample = () => {
- const [file, setFile] = useState<File | null>(null);
- const [uploading, setUploading] = useState(false);
- const [progress, setProgress] = useState(0);
- const [uploadType, setUploadType] = useState<'oss' | 'temp'>('oss');
- const [result, setResult] = useState<string>('');
-
- const handleFileChange = (e: React.ChangeEvent<HTMLInputElement>) => {
- if (e.target.files && e.target.files[0]) {
- setFile(e.target.files[0]);
- setResult('');
- }
- };
-
- const handleUpload = async () => {
- if (!file) return;
-
- setUploading(true);
- setProgress(0);
- setResult('');
-
- try {
- let key: string;
-
- if (uploadType === 'oss') {
- // 使用 uploadToOss
- key = await uploadToOss(file, (prog) => {
- setProgress(prog);
- });
- } else {
- // 使用 uploadFileTemp
- key = await toolsApi.uploadFileTemp(file, (prog) => {
- setProgress(prog);
- });
- }
-
- setResult(`上传成功!文件Key: ${key}`);
- console.log('上传成功:', key);
- } catch (error) {
- console.error("上传失败:", error);
- setResult(`上传失败: ${error instanceof Error ? error.message : '未知错误'}`);
- } finally {
- setUploading(false);
- }
- };
-
- const formatFileSize = (bytes: number) => {
- if (bytes === 0) return '0 Bytes';
- const k = 1024;
- const sizes = ['Bytes', 'KB', 'MB', 'GB'];
- const i = Math.floor(Math.log(bytes) / Math.log(k));
- return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
- };
-
- return (
- <div className="p-6 max-w-2xl mx-auto">
- <h2 className="text-2xl font-bold mb-6">文件上传示例</h2>
-
- <div className="mb-6">
- <label className="block mb-2 text-sm font-medium text-gray-700">
- 选择上传类型
- </label>
- <div className="flex gap-4">
- <label className="flex items-center">
- <input
- type="radio"
- value="oss"
- checked={uploadType === 'oss'}
- onChange={(e) => setUploadType(e.target.value as 'oss')}
- className="mr-2"
- />
- OSS上传
- </label>
- <label className="flex items-center">
- <input
- type="radio"
- value="temp"
- checked={uploadType === 'temp'}
- onChange={(e) => setUploadType(e.target.value as 'temp')}
- className="mr-2"
- />
- 临时上传
- </label>
- </div>
- </div>
-
- <div className="mb-6">
- <label className="block mb-2 text-sm font-medium text-gray-700">
- 选择文件
- </label>
- <input
- type="file"
- onChange={handleFileChange}
- disabled={uploading}
- className="block w-full text-sm text-gray-500
- file:mr-4 file:py-2 file:px-4
- file:rounded file:border-0
- file:text-sm file:font-semibold
- file:bg-blue-50 file:text-blue-700
- hover:file:bg-blue-100"
- />
- </div>
-
- {file && (
- <div className="mb-6 p-4 bg-gray-50 rounded-lg">
- <h3 className="font-medium mb-2">文件信息:</h3>
- <p><span className="font-medium">文件名:</span> {file.name}</p>
- <p><span className="font-medium">文件大小:</span> {formatFileSize(file.size)}</p>
- <p><span className="font-medium">文件类型:</span> {file.type || "未知"}</p>
- <p className="mt-2 text-sm text-gray-600">
- {file.size > 10 * 1024 * 1024
- ? "⚠️ 文件大于10MB,将使用分片上传"
- : "✅ 文件小于10MB,将使用普通上传"}
- </p>
- </div>
- )}
-
- <button
- onClick={handleUpload}
- disabled={!file || uploading}
- className="px-6 py-2 bg-blue-600 text-white rounded-lg disabled:bg-gray-400 hover:bg-blue-700 transition-colors"
- >
- {uploading ? "上传中..." : "开始上传"}
- </button>
-
- {uploading && (
- <div className="mt-6">
- <div className="flex justify-between mb-1">
- <span className="text-sm font-medium">上传进度</span>
- <span className="text-sm font-medium">{progress}%</span>
- </div>
- <div className="w-full bg-gray-200 rounded-full h-2.5">
- <div
- className="bg-blue-600 h-2.5 rounded-full transition-all duration-300"
- style={{ width: `${progress}%` }}
- ></div>
- </div>
- </div>
- )}
-
- {result && (
- <div className={`mt-6 p-4 rounded-lg ${
- result.includes('成功')
- ? 'bg-green-50 text-green-800 border border-green-200'
- : 'bg-red-50 text-red-800 border border-red-200'
- }`}>
- <p className="font-medium">{result}</p>
- </div>
- )}
-
- <div className="mt-8 p-4 bg-blue-50 rounded-lg">
- <h3 className="font-medium mb-2 text-blue-800">功能说明:</h3>
- <ul className="text-sm text-blue-700 space-y-1">
- <li>• 文件小于10MB:使用普通上传</li>
- <li>• 文件大于10MB:自动使用分片上传(5MB/片)</li>
- <li>• 支持进度回调,实时显示上传进度</li>
- <li>• 支持OSS上传和临时上传两种方式</li>
- </ul>
- </div>
- </div>
- );
-};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hot-content/page.css b/aitoearn_web/aitoearn-web/src/app/[lng]/hot-content/page.css
deleted file mode 100644
index a5b9d3e6..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/hot-content/page.css
+++ /dev/null
@@ -1,962 +0,0 @@
-.hot-content-layout {
- background: #f0f2f5;
- height: 100%;
- min-height: 0;
-}
-
-.main-content {
- flex-grow: 1;
- margin: 24px;
- padding: 0;
- background: none;
- box-shadow: none;
- display: flex;
- flex-direction: column;
-}
-
-/* 预览弹窗样式 */
-.preview-modal .ant-modal-content {
- padding: 0;
- border-radius: 8px;
- overflow: hidden;
-}
-
-.preview-modal .ant-modal-header {
- margin: 0;
- padding: 16px 24px;
- border-bottom: 1px solid #f0f0f0;
-}
-
-.preview-modal .ant-modal-body {
- padding: 0;
-}
-
-/* 响应式布局 */
-@media screen and (max-width: 768px) {
- .main-content {
- margin: 12px;
- }
-
- .preview-modal {
- width: 100% !important;
- max-width: 100%;
- margin: 0;
- top: 0;
- padding: 0;
- }
-
- .preview-modal .ant-modal-content {
- border-radius: 0;
- }
-}
-
-/* 热点事件样式 */
-.hot-events-container {
- width: 100%;
- flex-grow: 1;
- padding: 24px;
- background: #f0f2f5;
- border-radius: 8px;
- display: flex;
- flex-direction: column;
-}
-
-.hot-events-container .grid {
- width: 100%;
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
- gap: 16px;
-}
-
-.hot-topic-card {
- display: flex;
- flex-direction: column;
- height: auto;
- height: 451px;
- background: white;
- border-radius: 8px;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
- transition: all 0.3s ease;
- overflow: hidden;
-}
-
-.hot-topic-card:hover {
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
- transform: translateY(-2px);
-}
-
-.hot-topic-item {
- display: flex;
- align-items: center;
- padding: 8px 0;
- border-bottom: 1px solid #f7f7f7;
- transition: background-color 0.2s ease;
- cursor: pointer;
-}
-
-.hot-topic-item:hover {
- background-color: #f9fafb;
-}
-
-.hot-topic-item:last-child {
- border-bottom: none;
-}
-
-.hot-topic-details {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex: 1;
- min-width: 0;
-}
-
-.hot-value-trend {
- flex-shrink: 0;
- width: 40px;
- height: 16px;
-}
-
-.hot-value-trend svg {
- width: 100%;
- height: 100%;
-}
-
-.hot-value-trend polyline {
- stroke: #ff4d4f;
- stroke-width: 1.5;
- fill: none;
- stroke-linecap: round;
- stroke-linejoin: round;
- transition: stroke 0.3s ease;
-}
-
-.hot-topic-item:hover .hot-value-trend polyline {
- stroke: #ff7875;
-}
-
-.platform-header {
- display: flex;
- align-items: center;
- padding: 12px 16px;
- border-bottom: 1px solid #f0f0f0;
- background-color: #ffffff;
- border-radius: 8px 8px 0 0;
- flex-shrink: 0;
-}
-
-.platform-icon {
- width: 20px;
- height: 20px;
- border-radius: 4px;
- margin-right: 8px;
- object-fit: contain;
-}
-
-.platform-name {
- font-size: 15px;
- font-weight: 500;
- color: #1f2937;
-}
-
-.hot-topic-content {
- flex: 1;
- padding: 8px 16px;
- overflow-y: auto;
-}
-
-.hot-topic-rank {
- flex-shrink: 0;
- width: 24px;
- text-align: center;
- font-size: 14px;
- font-weight: 500;
- color: #6b7280;
-}
-
-.hot-topic-rank.top-3 {
- color: #ff4d4f;
-}
-
-.hot-topic-title {
- flex: 1;
- margin: 0 12px 0 8px;
- font-size: 14px;
- color: #333;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.hot-topic-metrics {
- display: flex;
- align-items: center;
- flex-shrink: 0;
- gap: 8px;
-}
-
-.hot-topic-value {
- font-size: 13px;
- color: #ff4d4f;
- font-weight: 500;
- white-space: nowrap;
-}
-
-.hot-topic-trend {
- display: flex;
- align-items: center;
- gap: 4px;
-}
-
-.hot-topic-trend.up {
- color: #ff4d4f;
-}
-
-.hot-topic-trend.down {
- color: #52c41a;
-}
-
-/* 加载状态样式 */
-.loading-container,
-.empty-state {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- flex-grow: 1;
- min-height: 200px;
- width: 100%;
-}
-
-.loading-text,
-.empty-state-text {
- color: #6b7280;
- font-size: 14px;
-}
-
-.empty-state-icon {
- font-size: 40px;
- margin-bottom: 12px;
- color: #d1d5db;
-}
-
-/* 响应式布局调整 */
-@media screen and (max-width: 768px) {
- .hot-events-container {
- padding: 12px;
- min-height: calc(100vh - 24px);
- }
-
- .main-content {
- margin: 12px;
- }
-
- .hot-topic-card {
- min-height: 350px;
- }
-
- .hot-topic-content {
- padding: 8px 12px;
- }
-
- .platform-header {
- padding: 10px 12px;
- }
-
- .platform-name {
- font-size: 14px;
- }
-
- .hot-topic-rank {
- font-size: 13px;
- }
-
- .hot-topic-title {
- font-size: 13px;
- margin: 0 8px;
- }
-
- .hot-topic-value {
- font-size: 12px;
- }
-
- .hot-value-trend {
- width: 30px;
- }
-}
-
-/* 热点事件样式 */
-.custom-scrollbar {
- scrollbar-width: thin;
- scrollbar-color: #d1d5db transparent;
-}
-
-.custom-scrollbar::-webkit-scrollbar {
- width: 4px;
-}
-
-.custom-scrollbar::-webkit-scrollbar-track {
- background: transparent;
-}
-
-.custom-scrollbar::-webkit-scrollbar-thumb {
- background-color: #d1d5db;
- border-radius: 2px;
-}
-
-.custom-scrollbar::-webkit-scrollbar-thumb:hover {
- background-color: #9ca3af;
-}
-
-/* 标题列表容器 */
-.viral-title-list {
- display: flex;
- flex-direction: column;
- background: #fff;
- border-radius: 8px;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
- overflow: hidden;
-}
-
-/* 列表项 */
-.viral-title-list-item {
- display: flex;
- align-items: center;
- padding: 12px 16px;
- border-bottom: 1px solid #f0f0f0;
- cursor: pointer;
- transition: background-color 0.2s ease;
-}
-
-.viral-title-list-item:last-child {
- border-bottom: none;
-}
-
-.viral-title-list-item:hover {
- background-color: #f9fafb;
-}
-
-.list-item-rank {
- font-size: 16px;
- font-weight: bold;
- width: 40px; /* 固定宽度 */
- text-align: center;
- flex-shrink: 0;
-}
-
-.list-item-rank.top {
- color: #a66ae4;
-}
-
-.list-item-details {
- flex-grow: 1;
- display: flex;
- align-items: center;
- min-width: 0; /* 允许flex项缩小 */
-}
-
-.list-item-category {
- font-size: 14px;
- color: #666;
- margin-right: 12px;
- flex-shrink: 0;
-}
-
-.list-item-title {
- font-size: 15px;
- color: #333;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap; /* 标题不换行 */
- flex-grow: 1;
- margin-right: 12px;
-}
-
-.list-item-engagement {
- font-size: 14px;
- color: #a66ae4; /* 互动量使用主题色 */
- font-weight: 500;
- flex-shrink: 0;
- white-space: nowrap;
-}
-
-/* 查看更多按钮 */
-.view-more-button {
- display: flex;
- justify-content: center;
- margin-top: 24px;
-}
-
-.view-more-btn {
- padding: 8px 24px;
- font-size: 14px;
- font-weight: 500;
- color: #a66ae4;
- border: 1px solid #a66ae4;
- border-radius: 6px;
- background: transparent;
- cursor: pointer;
- transition: all 0.3s;
-}
-
-.view-more-btn:hover {
- background: #a66ae4;
- color: #fff;
-}
-
-/* 加载和空状态 */
-.loading-state,
-.empty-state {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 32px;
- color: #666;
-}
-
-.empty-state-icon {
- font-size: 32px;
- margin-bottom: 8px;
-}
-
-/* 筛选区域 */
-.viral-title-filter {
- background: #fff;
- border-radius: 8px;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
- padding: 16px;
- margin-bottom: 16px;
-}
-
-.filter-section {
- margin-bottom: 16px;
-}
-
-.filter-section:last-child {
- margin-bottom: 0;
-}
-
-.filter-label {
- color: #666;
- font-size: 14px;
- margin-right: 12px;
-}
-
-.filter-buttons {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
-}
-
-.filter-button {
- padding: 8px 16px;
- font-size: 14px;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.3s;
- border: none;
- background: #f5f5f5;
- color: #333;
-}
-
-.filter-button.active {
- background: #a66ae4;
- color: #fff;
-}
-
-.filter-button:hover {
- background: #e6e6e6;
-}
-
-.filter-button.active:hover {
- background: #8f5bc4;
-}
-
-/* 分类标题样式 */
-.category-title {
- font-size: 18px;
- font-weight: 600;
- color: #333;
- margin: 16px 0;
- padding: 0 16px;
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.category-title::after {
- content: '';
- flex: 1;
- height: 1px;
- background: #e8e8e8;
- margin-left: 16px;
-}
-
-/* 热门专题样式 */
-.topic-container {
- width: 100%;
- flex-grow: 1;
- padding: 24px;
- background: #f0f2f5;
- border-radius: 8px;
- display: flex;
- flex-direction: column;
-}
-
-.topic-filter-container {
- padding: 16px;
- margin-bottom: 16px;
- background: white;
- border-radius: 8px;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
-}
-
-.topic-filter-options {
- display: flex;
- flex-direction: column;
- gap: 16px;
-}
-
-.topic-filter-group {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
-}
-
-.topic-filter-section {
- display: flex;
- align-items: center;
-}
-
-.topic-filter-label {
- margin-right: 12px;
- font-size: 14px;
- color: #6b7280;
-}
-
-.topic-filter-buttons {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
-}
-
-.topic-filter-button {
- padding: 8px 16px;
- border-radius: 6px;
- font-size: 14px;
- transition: all 0.2s ease;
- border: none;
- outline: none;
- cursor: pointer;
-}
-
-.topic-filter-button.active {
- background-color: #a66ae4;
- color: white;
-}
-
-.topic-filter-button:not(.active):hover {
- background-color: #f3e8ff;
- color: #a66ae4;
-}
-
-.topic-list-container {
- background: white;
- border-radius: 8px;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
-}
-
-.topic-loading-state,
-.topic-empty-state {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- padding: 32px;
- color: #6b7280;
- font-size: 14px;
-}
-
-.topic-loading-text,
-.topic-empty-state-text {
- margin-top: 12px;
-}
-
-.topic-list-header {
- display: grid;
- grid-template-columns: 60px 100px auto 80px repeat(4, 80px);
- padding: 16px;
- font-size: 14px;
- color: #6b7280;
- background-color: #f9fafb;
- border-bottom: 1px solid #f3f4f6;
-}
-
-.topic-header-col {
- text-align: center;
-}
-
-.topic-header-col.rank-col {
- text-align: center;
-}
-
-.topic-header-col.cover-col {
- text-align: left;
- padding-left: 8px;
-}
-
-.topic-header-col.info-col {
- text-align: left;
- padding-left: 8px;
-}
-
-.topic-header-col.category-col {
- text-align: center;
-}
-
-.topic-header-col.stats-col {
- text-align: center;
-}
-
-.topic-list-item {
- display: grid;
- grid-template-columns: 60px 100px auto 80px repeat(4, 80px);
- align-items: center;
- padding: 20px 16px;
- border-bottom: 1px solid #f3f4f6;
- cursor: pointer;
- transition: background-color 0.2s ease;
-}
-
-.topic-list-item:hover {
- background-color: #f9fafb;
-}
-
-.topic-item-col {
- text-align: center;
-}
-
-.topic-item-col.rank-col {
- font-size: 18px;
- font-weight: bold;
- color: #f97316; /* Orange 500 */
- text-align: center;
-}
-
-.topic-item-col.cover-col {
- text-align: left;
- padding-left: 8px;
-}
-
-.topic-item-cover-wrapper {
- position: relative;
- width: 90px; /* Adjusted width */
- height: 50px; /* Adjusted height */
- overflow: hidden;
- background-color: #e5e7eb; /* Gray 100 */
- border-radius: 8px; /* Large rounded corners */
-}
-
-.topic-item-cover-image {
- object-fit: cover;
- width: 100%;
- height: 100%;
-}
-
-.topic-item-cover-placeholder {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
- text-align: center;
- color: #9ca3af; /* Gray 400 */
- font-size: 12px;
-}
-
-.topic-item-cover-video-tag {
- position: absolute;
- bottom: 8px;
- right: 8px;
- padding: 4px 8px;
- font-size: 10px; /* Adjusted font size */
- color: white;
- background-color: rgba(0, 0, 0, 0.6);
- border-radius: 4px;
-}
-
-.topic-item-col.info-col {
- text-align: left;
- padding-left: 16px; /* Increased padding */
-}
-
-.topic-item-title {
- font-size: 16px; /* Base font size */
- font-weight: 500; /* Medium font weight */
- /* max-height: 40px; /* Limit title height to 2 lines */
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2; /* Limit to 2 lines */
- -webkit-box-orient: vertical;
- text-align: left; /* Ensure text aligns left */
- margin-bottom: 8px; /* Space below title */
-}
-
-.topic-item-title:hover {
- color: #a66ae4; /* Primary color on hover */
-}
-
-.topic-item-author-info {
- display: flex;
- align-items: center;
- margin-top: 8px;
-}
-
-.topic-author-details {
- display: flex;
- align-items: center;
-}
-
-.topic-author-avatar {
- width: 20px; /* Avatar size */
- height: 20px; /* Avatar size */
- margin-right: 4px; /* Space after avatar */
- border-radius: 50%; /* Circular avatar */
-}
-
-.topic-author-avatar-placeholder {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 20px;
- height: 20px;
- margin-right: 4px;
- background-color: #e5e7eb;
- border-radius: 50%;
-}
-
-.topic-author-name {
- margin-right: 8px; /* Space after author name */
- font-size: 14px; /* Author name font size */
- color: #4b5563; /* Gray 600 */
-}
-
-.topic-author-fans,
-.topic-publish-time {
- font-size: 12px; /* Smaller font size for fans and time */
- color: #9ca3af; /* Gray 400 */
-}
-
-.topic-author-fans {
- margin-right: 8px;
-}
-
-.topic-item-col.category-col {
- text-align: center;
-}
-
-.topic-item-category {
- font-size: 14px;
- color: #4b5563; /* Gray 600 */
-}
-
-.topic-item-subcategory {
- margin-top: 4px;
- font-size: 12px;
- color: #9ca3af; /* Gray 400 */
-}
-
-.topic-item-col.stats-col {
- text-align: center;
-}
-
-.topic-stat-value {
- font-size: 16px; /* Larger font for stats */
- font-weight: 500;
- color: #a66ae4; /* Primary color */
-}
-
-.topic-stat-label {
- font-size: 12px;
- color: #9ca3af; /* Gray 400 */
- margin-top: 4px;
-}
-
-.topic-pagination-container {
- display: flex;
- justify-content: center;
- padding: 24px;
-}
-
-/* 热门专题响应式调整 */
-@media screen and (max-width: 1200px) {
- .topic-list-header,
- .topic-list-item {
- grid-template-columns: 40px 80px auto 60px repeat(4, 60px); /* Adjusted grid columns */
- }
-
- .topic-header-col.rank-col,
- .topic-item-col.rank-col {
- width: 40px;
- font-size: 16px;
- }
-
- .topic-header-col.cover-col,
- .topic-item-col.cover-col {
- width: 80px;
- padding-left: 4px;
- }
-
- .topic-item-cover-wrapper {
- width: 70px; /* Adjusted width */
- height: 40px; /* Adjusted height */
- }
-
- .topic-header-col.info-col,
- .topic-item-col.info-col {
- padding-left: 12px; /* Adjusted padding */
- }
-
- .topic-item-title {
- font-size: 14px; /* Adjusted font size */
- }
-
- .topic-header-col.category-col,
- .topic-item-col.category-col {
- width: 60px;
- }
-
- .topic-header-col.stats-col,
- .topic-item-col.stats-col {
- width: 60px;
- }
-
- .topic-stat-value {
- font-size: 14px;
- }
-}
-
-@media screen and (max-width: 768px) {
- .topic-container {
- padding: 12px;
- }
-
- .topic-filter-container {
- padding: 12px;
- }
-
- .topic-filter-options {
- gap: 12px;
- }
-
- .topic-filter-group {
- gap: 6px;
- }
-
- .topic-filter-label {
- margin-right: 8px;
- font-size: 12px;
- }
-
- .topic-filter-button {
- padding: 6px 12px;
- font-size: 12px;
- }
-
- .topic-list-header,
- .topic-list-item {
- grid-template-columns: 30px 60px auto 50px repeat(4, 50px); /* Further adjusted grid columns */
- }
-
- .topic-header-col.rank-col,
- .topic-item-col.rank-col {
- width: 30px;
- font-size: 14px;
- }
-
- .topic-header-col.cover-col,
- .topic-item-col.cover-col {
- width: 60px;
- padding-left: 2px;
- }
-
- .topic-item-cover-wrapper {
- width: 50px;
- height: 30px;
- border-radius: 4px;
- }
-
- .topic-item-cover-placeholder {
- font-size: 10px;
- }
-
- .topic-item-cover-video-tag {
- bottom: 4px;
- right: 4px;
- padding: 2px 4px;
- font-size: 8px;
- border-radius: 2px;
- }
-
- .topic-header-col.info-col,
- .topic-item-col.info-col {
- padding-left: 8px;
- }
-
- .topic-item-title {
- font-size: 12px;
- margin-bottom: 4px;
- }
-
- .topic-item-author-info {
- margin-top: 4px;
- }
-
- .topic-author-avatar,
- .topic-author-avatar-placeholder {
- width: 16px;
- height: 16px;
- margin-right: 2px;
- }
-
- .topic-author-name,
- .topic-author-fans,
- .topic-publish-time {
- font-size: 10px;
- }
-
- .topic-author-name {
- margin-right: 4px;
- }
-
- .topic-header-col.category-col,
- .topic-item-col.category-col {
- width: 50px;
- }
-
- .topic-item-category {
- font-size: 12px;
- }
-
- .topic-item-subcategory {
- font-size: 10px;
- }
-
- .topic-header-col.stats-col,
- .topic-item-col.stats-col {
- width: 50px;
- }
-
- .topic-stat-value {
- font-size: 12px;
- }
-
- .topic-stat-label {
- font-size: 10px;
- margin-top: 2px;
- }
-
- .topic-pagination-container {
- padding: 16px;
- }
-}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hot-content/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hot-content/page.tsx
deleted file mode 100644
index 56b69883..00000000
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/hot-content/page.tsx
+++ /dev/null
@@ -1,1766 +0,0 @@
-'use client';
-
-import React, { useState, useEffect } from 'react';
-import { Layout, Modal, Pagination } from 'antd';
-import dayjs from 'dayjs';
-import { PlatformRanking, RankingContent, Platform } from '@/api/hot';
-import { platformApi } from '@/api/hot';
-import SideMenu from '@/components/hot-content/SideMenu';
-import HotContent from '@/components/hot-content/HotContent';
-import './page.css';
-import { HotTopic } from '@/api/types/hotTopic';
-import { useTransClient } from '@/app/i18n/client';
-
-// 添加必要的类型定义
-interface ResponseType<T> {
- data: T;
- code: number;
- message: string;
-}
-
-
-interface TopicContent {
- id: string;
- title: string;
- type: string;
- description: string | null;
- msgType: string;
- category: string;
- subCategory: string | null;
- author: string;
- avatar: string;
- cover: string;
- authorId: string;
- fans: number;
- topics: string[];
- rank: number;
- shareCount: number;
- likeCount: number;
- watchingCount: number | null;
- readCount: number;
- publishTime: string;
- url: string;
- platformId: {
- id: string;
- name: string;
- icon: string;
- };
- hotValue?: number;
- commentCount: number;
- collectCount: number;
-}
-
-interface PaginationMeta {
- currentPage: number;
- itemsPerPage: number;
- totalItems: number;
- totalPages: number;
- itemCount: number;
-}
-
-interface ApiViralTitle {
- id: string;
- title: string;
- category: string;
- platform: string;
- timeType: string;
- engagement: number;
- url: string;
-}
-
-interface PlatformHotTopics {
- platform: {
- id: string;
- name: string;
- icon: string;
- type: string;
- };
- topics: {
- id: string;
- title: string;
- hotValue: number;
- url: string;
- rank: number;
- rankChange: number;
- isRising: boolean;
- hotValueHistory: {
- hotValue: number;
- timestamp: string;
- }[];
- }[];
-}
-
-interface HotValueHistoryItem {
- hotValue: number | string;
- sentence?: string;
- updateTime: string;
-}
-
-interface HotTopicItem {
- _id: string;
- originalId: string;
- title: string;
- hotValue: string;
- url: string;
- rank: number;
- rankChange: number;
- hotValueHistory: HotValueHistoryItem[];
- plat_name: string;
- platformId: string;
- createdAt: string;
- updatedAt: string;
- fetchTime: string;
-}
-
-interface ApiResponse {
- platform: Platform;
- hotTopic: HotTopic;
-}
-
-const { Content } = Layout;
-
-const buttonStyles = {
- base: 'px-4 py-2 text-sm font-medium rounded-lg transition-colors duration-200',
- primary: 'bg-[#a66ae4] text-white hover:bg-[#8f5bc4]',
- secondary: 'bg-gray-100 text-gray-700 hover:bg-gray-200'
-};
-
-const HotContentNew: React.FC = () => {
- const { t } = useTransClient('hot-content');
- // 状态管理
- const [platforms, setPlatforms] = useState<Platform[]>([]);
- const [selectedPlatform, setSelectedPlatform] = useState<Platform | null>(null);
- const [rankingList, setRankingList] = useState<PlatformRanking[]>([]);
- const [selectedRanking, setSelectedRanking] = useState<PlatformRanking | null>(null);
- const [rankingContents, setRankingContents] = useState<RankingContent[]>([]);
- const [rankingLoading, setRankingLoading] = useState(false);
- const [pagination, setPagination] = useState({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 0,
- });
- const [categories, setCategories] = useState<string[]>([]);
- const [selectedCategory, setSelectedCategory] = useState<string>('全部');
- const [expandedStates, setExpandedStates] = useState({
- topic: false,
- hotEvent: false,
- viralTitle: false,
- talk: false,
- hotPlatform: false
- });
- const [contentExpanded, setContentExpanded] = useState(true);
- const [categoryListExpanded, setCategoryListExpanded] = useState(true);
- const [selectedDate, setSelectedDate] = useState(dayjs().format('YYYY-MM-DD'));
- const [rankingMinDate, setRankingMinDate] = useState('');
- const [rankingMaxDate, setRankingMaxDate] = useState('');
- const [previewVisible, setPreviewVisible] = useState(false);
- const [previewUrl, setPreviewUrl] = useState('');
- const [previewTitle, setPreviewTitle] = useState('');
- const [msgTypeList, setMsgTypeList] = useState<string[]>([]);
- const [selectedMsgType, setSelectedMsgType] = useState<string>('');
- const [topicTypes, setTopicTypes] = useState<string[]>([]);
- const [selectedTopicType, setSelectedTopicType] = useState<string>('');
- const [timeTypes, setTimeTypes] = useState<string[]>([]);
- const [selectedTimeType, setSelectedTimeType] = useState<string>('');
- const [topicContents, setTopicContents] = useState<TopicContent[]>([]);
- const [topicLoading, setTopicLoading] = useState(false);
- const [topicPagination, setTopicPagination] = useState<PaginationMeta>({
- currentPage: 1,
- itemsPerPage: 10,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0
- });
- const [viralTitlePlatforms, setViralTitlePlatforms] = useState<Platform[]>([]);
- const [selectedViralPlatform, setSelectedViralPlatform] = useState<Platform | null>(null);
- const [viralTitleCategories, setViralTitleCategories] = useState<string[]>([]);
- const [selectedViralCategory, setSelectedViralCategory] = useState<string>('');
- const [viralTitleData, setViralTitleData] = useState<Record<string, ApiViralTitle[]>>({});
- const [viralTitleLoading, setViralTitleLoading] = useState(false);
- const [viralTitlePagination, setViralTitlePagination] = useState<PaginationMeta>({
- currentPage: 1,
- itemsPerPage: 10,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0
- });
- const [hotTopics, setHotTopics] = useState<PlatformHotTopics[]>([]);
- const [hotTopicLoading, setHotTopicLoading] = useState(false);
- const [imgErrors, setImgErrors] = useState<Record<string, boolean>>({});
-
- // 获取平台列表
- useEffect(() => {
- const fetchPlatforms = async () => {
- try {
- const response = await platformApi.getPlatformList();
- if (response && response.data) {
- setPlatforms(response.data);
- if (response.data.length > 0) {
- setSelectedPlatform(response.data[0]);
- }
- }
- } catch (error) {
- console.error('获取平台列表失败:', error);
- }
- };
-
- fetchPlatforms();
- }, []);
-
- // 获取平台榜单数据
- useEffect(() => {
- const fetchPlatformRankings = async () => {
- if (!selectedPlatform) return;
-
- try {
- const response = await platformApi.getPlatformRanking(selectedPlatform.id);
- if (response && response.data) {
- setRankingList(response.data);
- if (response.data.length > 0) {
- setSelectedRanking(response.data[0]);
- }
- }
- } catch (error) {
- console.error('获取平台榜单失败:', error);
- }
- };
-
- fetchPlatformRankings();
- }, [selectedPlatform]);
-
- // 获取榜单内容数据
- useEffect(() => {
- const fetchRankingContents = async () => {
- if (!selectedRanking) return;
-
- setRankingLoading(true);
- try {
- const response = await platformApi.getRankingContents(
- selectedRanking.id,
- pagination.currentPage,
- pagination.itemsPerPage,
- selectedCategory === '全部' ? undefined : selectedCategory,
- selectedDate
- );
-
- if (response && response.data) {
- setRankingContents(response.data.items);
- setPagination({
- ...pagination,
- totalItems: response.data.meta.totalItems,
- totalPages: response.data.meta.totalPages,
- });
-
- // 获取日期范围
- const datesResponse:any = await platformApi.getRankingDates(selectedRanking.id);
- if (datesResponse && datesResponse.data && datesResponse.data.length > 0) {
- setSelectedDate(datesResponse.data[0].queryDate);
- setRankingMaxDate(datesResponse.data[0].queryDate);
- setRankingMinDate(datesResponse.data[datesResponse.data.length - 1].queryDate);
- }
-
- // 获取分类列表
- const categoriesResponse = await platformApi.getRankingLabel(selectedRanking.id);
- if (categoriesResponse && categoriesResponse.data) {
- setCategories(['全部', ...categoriesResponse.data]);
- }
- }
- } catch (error) {
- console.error('获取榜单内容失败:', error);
- } finally {
- setRankingLoading(false);
- }
- };
-
- fetchRankingContents();
- }, [selectedRanking, selectedDate, pagination.currentPage, selectedCategory]);
-
- // 获取专题分类和时间类型
- useEffect(() => {
- const fetchTopicData = async () => {
- try {
- const topicData = await platformApi.getMsgType();
- if (topicData?.data) {
- setMsgTypeList(topicData.data);
- if (topicData.data.length > 0) {
- setSelectedMsgType(topicData.data[0]);
- fetchTopicTimeTypes(topicData.data[0]);
- }
- }
- } catch (error) {
- console.error('获取专题分类失败:', error);
- }
- };
-
- fetchTopicData();
- }, []);
-
- // 获取专题时间类型
- const fetchTopicTimeTypes = async (msgType: string) => {
- try {
- const timeTypeData = await platformApi.getTopicTimeTypes(msgType);
- if (timeTypeData?.data) {
- setTimeTypes(timeTypeData.data);
- if (timeTypeData.data.length > 0) {
- setSelectedTimeType(timeTypeData.data[0]);
- }
- }
- } catch (error) {
- console.error('获取专题时间类型失败:', error);
- setTimeTypes([]);
- }
- };
-
- // 获取专题类型
- const fetchTopicTypes = async (msgType: string) => {
- console.log('fetchTopicTypes called with msgType:', msgType); // 添加日志
- try {
- const response = await platformApi.getTopicLabels(msgType);
- console.log('getTopicLabels response for', msgType, ':', response); // 添加日志
- if (response?.data) {
- setTopicTypes(response.data);
- console.log('获取到的分类数据:', response.data);
- if (response.data.length > 0) {
- setSelectedTopicType(response.data[0]);
- }
- }
- } catch (error) {
- console.error('获取专题类型失败:', error);
- }
- };
-
- // 获取时间类型
- const fetchTimeTypes = async () => {
- try {
- const response = await platformApi.getViralTitleTimeTypes();
- if (response?.data && Array.isArray(response.data)) {
- setTimeTypes(response.data);
- if (response.data.length > 0) {
- setSelectedTimeType(response.data[0]);
- }
- }
- } catch (error) {
- console.error('获取时间类型失败:', error);
- }
- };
-
- // 获取专题内容
- const fetchTopicContents = async (
- msgType: string,
- page: number = 1,
- timeType: string = '',
- platformId?: string,
- topicType?: string,
- ) => {
- if (!msgType) return;
-
- setTopicLoading(true);
- try {
- // 构建查询参数
- const params: any = {
- msgType,
- page,
- limit: 20,
- };
-
- // 添加平台ID参数
- if (platformId) {
- params.platformId = platformId;
- }
-
- // 添加专题类型参数
- if (topicType) {
- params.type = topicType;
- }
-
- // 添加时间类型参数
- if (timeType) {
- params.timeType = timeType;
- }
-
- const response = await platformApi.getAllTopics(params);
- if (response?.data) {
- const formattedItems = response.data.items.map((item: any) => ({
- id: item._id || '',
- title: item.title || '',
- type: item.type || '',
- description: item.description || null,
- msgType: item.msgType || '',
- category: item.category || '',
- subCategory: item.subCategory || null,
- author: item.author || '',
- avatar: item.avatar || '',
- cover: item.coverUrl || '',
- authorId: item.authorId || '',
- fans: item.fans || 0,
- topics: item.topics || [],
- rank: item.rank || 0,
- shareCount: item.shareCount || 0,
- likeCount: item.likeCount || 0,
- watchingCount: item.watchingCount || null,
- readCount: item.readCount || 0,
- publishTime: item.publishTime || '',
- url: item.url || '',
- platformId: {
- id: item.platformId?.id || '',
- name: item.platformId?.name || '',
- icon: item.platformId?.icon || '',
- },
- hotValue: item.hotValue || 0,
- commentCount: item.commentCount || 0,
- collectCount: item.collectCount || 0,
- }));
- setTopicContents(formattedItems);
-
- // 转换分页数据
- const meta = response.data.meta;
- if (meta) {
- setTopicPagination({
- currentPage: meta.currentPage || 1,
- itemsPerPage: meta.itemsPerPage || 20,
- totalItems: meta.totalItems || 0,
- totalPages: meta.totalPages || 1,
- itemCount: meta.itemCount || 0,
- });
- }
- } else {
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- }
- } catch (error) {
- console.error('获取专题内容失败:', error);
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- } finally {
- setTopicLoading(false);
- }
- };
-
- // 获取爆款标题平台
- const fetchViralTitlePlatforms = async () => {
- try {
- const [platformsResponse, timeTypeResponse] = await Promise.all([
- platformApi.findPlatformsWithData(),
- platformApi.getViralTitleTimeTypes()
- ]);
-
- const platforms = platformsResponse?.data || [];
- const timeTypeData = timeTypeResponse?.data || [];
-
- setViralTitlePlatforms(platforms);
- if (platforms.length > 0) {
- setSelectedViralPlatform(platforms[0]);
- fetchViralTitleCategories(platforms[0].id);
- if (timeTypeData.length > 0) {
- setTimeTypes(timeTypeData);
- setSelectedTimeType(timeTypeData[0]);
- fetchViralTitleContents(platforms[0].id, timeTypeData[0]);
- }
- }
- } catch (error) {
- console.error('获取爆款标题平台失败:', error);
- setViralTitlePlatforms([]);
- }
- };
-
- // 获取爆款标题分类
- const fetchViralTitleCategories = async (platformId: string) => {
- try {
- const response = await platformApi.findCategoriesByPlatform(platformId);
- const categories = response?.data || [];
- setViralTitleCategories(categories);
- if (categories.length > 0) {
- setSelectedViralCategory('');
- }
- } catch (error) {
- console.error('获取爆款标题分类失败:', error);
- setViralTitleCategories([]);
- }
- };
-
- // 获取爆款标题内容
- const fetchViralTitleContents = async (platformId: string, timeType: string) => {
- setViralTitleLoading(true);
- try {
- const response = await platformApi.findTopByPlatformAndCategories(platformId, timeType);
- console.log('原始爆款标题数据:', response?.data); // 添加日志
- if (response?.data) {
- // response.data 已经是按分类分组的数据
- // 转换为方便处理的格式
- const categorizedTitles = response.data.reduce<Record<string, ApiViralTitle[]>>((acc, item) => {
- if (item.category) {
- acc[item.category] = item.titles.map(title => ({
- id: title._id || '',
- title: title.title,
- category: item.category,
- platform: platformId,
- timeType: timeType,
- engagement: title.engagement || 0,
- url: title.url || ''
- }));
- }
- return acc;
- }, {});
-
- setViralTitleData(categorizedTitles);
-
- // 提取所有分类用于筛选按钮
- const categories = Object.keys(categorizedTitles);
- setViralTitleCategories(categories);
-
- } else {
- setViralTitleData({});
- setViralTitleCategories([]);
- }
- } catch (error) {
- console.error('获取爆款标题内容失败:', error);
- setViralTitleData({});
- setViralTitleCategories([]);
- } finally {
- setViralTitleLoading(false);
- }
- };
-
- // 获取八大平台热点
- const fetchHotTopics = async () => {
- setHotTopicLoading(true);
- try {
- const response:any = await platformApi.getAllHotTopics();
- if (response?.data && Array.isArray(response.data)) {
- setHotTopics(response?.data);
- } else {
- setHotTopics([]);
- }
- } catch (error) {
- console.error('获取热点事件失败:', error);
- setHotTopics([]);
- } finally {
- setHotTopicLoading(false);
- }
- };
-
- // 处理平台选择
- const handlePlatformSelect = (platform: Platform) => {
- setSelectedPlatform(platform);
- setPagination({ ...pagination, currentPage: 1 });
- };
-
- // 处理榜单选择
- const handleRankingSelect = (ranking: PlatformRanking) => {
- setSelectedRanking(ranking);
- setPagination({ ...pagination, currentPage: 1 });
- };
-
- // 处理分类选择
- const handleCategorySelect = (category: string) => {
- setSelectedCategory(category);
- setPagination({ ...pagination, currentPage: 1 });
- };
-
- // 处理日期变化
- const handleDateChange = (date: dayjs.Dayjs | null) => {
- if (date) {
- setSelectedDate(date.format('YYYY-MM-DD'));
- setPagination({ ...pagination, currentPage: 1 });
- }
- };
-
- // 处理页码变化
- const handlePageChange = (page: number) => {
- setPagination({ ...pagination, currentPage: page });
- };
-
- // 处理内容点击
- const handleContentClick = (url: string, title: string) => {
- setPreviewUrl(url);
- setPreviewTitle(title);
- setPreviewVisible(true);
- };
-
- // 处理左侧菜单展开/收起
- const handleMenuExpandToggle = (section: keyof typeof expandedStates) => {
- setExpandedStates(prev => {
- const newState = { ...prev };
- // 如果点击的是当前已经展开的项,则收起
- if (newState[section]) {
- newState[section] = false;
- } else {
- // 展开点击的项,同时收起其他所有项
- Object.keys(newState).forEach(key => {
- (newState as any)[key] = key === section;
- });
- }
- return newState;
- });
- // setContentExpanded(false); // 移除这行,让expandedStates控制主内容显示
- };
-
- // 处理右侧内容区域展开/收起
- const handleContentExpandToggle = () => {
- setContentExpanded(prev => !prev);
- };
-
- // 处理分类列表展开/收起
- const handleCategoryListExpandToggle = () => {
- setCategoryListExpanded(prev => !prev);
- };
-
- // 获取图片URL
- const getImageUrl = (path: string) => {
- return path.startsWith('http') ? path : `${process.env.NEXT_PUBLIC_HOST_URL}/api/${path}`;
- };
-
- // 格式化数字
- const formatNumber = (num: number | null) => {
- if (num === null || num === undefined) return '-';
- if (num >= 10000) {
- return `${(num / 10000).toFixed(1)}w`;
- }
- return num.toLocaleString();
- };
-
- // 处理热门专题点击
- const handleTopicExpandClick = async () => {
- const newTopicExpanded = !expandedStates.topic;
- console.log('切换热门专题展开状态:', newTopicExpanded);
-
- // 更新展开状态
- setExpandedStates(prev => ({
- ...prev,
- topic: newTopicExpanded,
- hotEvent: false,
- viralTitle: false,
- talk: false,
- hotPlatform: false
- }));
- setContentExpanded(false);
-
- // 如果是展开热门专题,并且有消息类型,则加载数据
- if (newTopicExpanded && msgTypeList.length > 0) {
- console.log('准备加载热门专题数据');
-
- // 如果没有选择消息类型,则自动选择第一个
- if (!selectedMsgType && msgTypeList.length > 0) {
- setSelectedMsgType(msgTypeList[0]);
- }
-
- // 使用当前选择的消息类型或第一个消息类型
- const msgType = selectedMsgType || msgTypeList[0];
-
- // 获取时间类型
- await fetchTopicTimeTypes(msgType);
-
- // 获取分类数据
- try {
- const response = await platformApi.getTopicLabels(msgType);
- if (response?.data) {
- setTopicTypes(response.data);
- console.log('获取到的分类数据:', response.data);
- } else {
- setTopicTypes([]);
- }
- } catch (error) {
- console.error('获取专题分类失败:', error);
- setTopicTypes([]);
- }
-
- // 如果没有选择平台,则使用第一个平台
- if (!selectedPlatform?.id && platforms.length > 0) {
- setSelectedPlatform(platforms[0]);
- }
-
- // 调用处理函数获取数据
- setTopicLoading(true);
- try {
- // 获取专题数据 - 使用时间类型参数和当前选择的平台
- const response = await platformApi.getAllTopics({
- msgType: msgType,
- platformId: selectedPlatform?.id || (platforms.length > 0 ? platforms[0].id : undefined),
- timeType: selectedTimeType || selectedTimeType,
- });
-
- if (response?.data) {
- const { items, meta } = response.data;
- // 类型转换,确保类型兼容
- setTopicContents(items as unknown as TopicContent[]);
- if (meta) {
- setTopicPagination({
- currentPage: meta.currentPage || 1,
- totalPages: meta.totalPages || 1,
- totalItems: meta.totalItems || 0,
- itemCount: meta.itemCount || 0,
- itemsPerPage: meta.itemsPerPage || 20,
- });
- }
- } else {
- setTopicContents([]);
- }
- } catch (error) {
- console.error('获取专题数据失败:', error);
- setTopicContents([]);
- } finally {
- setTopicLoading(false);
- }
- }
- };
-
- // 处理爆款标题点击
- const handleViralTitleExpandClick = async () => {
- const newViralTitleExpanded = !expandedStates.viralTitle;
- setExpandedStates(prev => ({
- ...prev,
- viralTitle: newViralTitleExpanded,
- topic: false,
- hotEvent: false,
- talk: false,
- hotPlatform: false
- }));
- setContentExpanded(false);
-
- if (newViralTitleExpanded) {
- await fetchViralTitlePlatforms();
- }
- };
-
- // 处理热点事件点击
- const handleHotEventExpandClick = async () => {
- const newHotEventExpanded = !expandedStates.hotEvent;
- setExpandedStates(prev => ({
- ...prev,
- hotEvent: newHotEventExpanded,
- topic: false,
- viralTitle: false,
- talk: false,
- hotPlatform: false
- }));
- setContentExpanded(false);
-
- if (newHotEventExpanded) {
- await fetchHotTopics();
- }
- };
-
- // 处理图片加载错误
- const handleImageError = (key: string) => {
- setImgErrors(prev => ({
- ...prev,
- [key]: true
- }));
- };
-
- // 处理爆款标题平台选择
- const handleViralPlatformSelect = (platform: Platform) => {
- setSelectedViralPlatform(platform);
- fetchViralTitleCategories(platform.id);
- platformApi.getViralTitleTimeTypes().then(response => {
- if (response?.data && response.data.length > 0) {
- setTimeTypes(response.data);
- setSelectedTimeType(response.data[0]);
- fetchViralTitleContents(platform.id, response.data[0]);
- }
- });
- };
-
- // 重置所有展开状态
- const handleResetExpandedStates = () => {
- setExpandedStates({
- topic: false,
- hotEvent: false,
- viralTitle: false,
- talk: false,
- hotPlatform: false,
- });
- };
-
- // 处理筛选变化
- const handleFilterChange = async (platformId?: string) => {
- if (!selectedMsgType) return;
-
- console.log('handleFilterChange called'); // 添加日志
- setTopicLoading(true);
- try {
- const currentPlatformId = platformId || selectedPlatform?.id;
- const params: any = {
- msgType: selectedMsgType,
- timeType: selectedTimeType,
- page: 1,
- limit: 20,
- };
-
- if (currentPlatformId) {
- params.platformId = currentPlatformId;
- }
-
- if (selectedTopicType) {
- params.type = selectedTopicType;
- }
-
- console.log('Fetching topics with params:', params); // 添加日志
- const response = await platformApi.getAllTopics(params);
- console.log('getAllTopics response:', response); // 添加日志
-
- if (response?.data) {
- const formattedItems = response.data.items.map((item: any) => ({
- id: item._id || '',
- title: item.title || '',
- type: item.type || '',
- description: item.description || null,
- msgType: item.msgType || '',
- category: item.category || '',
- subCategory: item.subCategory || null,
- author: item.author || '',
- avatar: item.avatar || '',
- cover: item.coverUrl || '',
- authorId: item.authorId || '',
- fans: item.fans || 0,
- topics: item.topics || [],
- rank: item.rank || 0,
- shareCount: item.shareCount || 0,
- likeCount: item.likeCount || 0,
- watchingCount: item.watchingCount || null,
- readCount: item.readCount || 0,
- publishTime: item.publishTime || '',
- url: item.url || '',
- platformId: {
- id: item.platformId?.id || '',
- name: item.platformId?.name || '',
- icon: item.platformId?.icon || '',
- },
- hotValue: item.hotValue || 0,
- commentCount: item.commentCount || 0,
- collectCount: item.collectCount || 0,
- }));
- setTopicContents(formattedItems);
-
- // 转换分页数据
- const meta = response.data.meta;
- if (meta) {
- setTopicPagination({
- currentPage: meta.currentPage || 1,
- itemsPerPage: meta.itemsPerPage || 20,
- totalItems: meta.totalItems || 0,
- totalPages: meta.totalPages || 1,
- itemCount: meta.itemCount || 0,
- });
- }
- } else {
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- }
- } catch (error) {
- console.error('筛选专题数据失败:', error);
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- } finally {
- setTopicLoading(false);
- }
- };
-
- // 处理时间范围变化
- const handleTimeRangeChange = async (timeRange: string) => {
- if (!selectedMsgType) return;
-
- console.log('handleTimeRangeChange called with timeRange:', timeRange); // 添加日志
- setSelectedTimeType(timeRange);
- setTopicLoading(true);
- try {
- const params: any = {
- msgType: selectedMsgType,
- timeType: timeRange,
- page: 1,
- limit: 20,
- };
-
- if (selectedPlatform?.id) {
- params.platformId = selectedPlatform.id;
- }
-
- if (selectedTopicType) {
- params.type = selectedTopicType;
- }
-
- console.log('Fetching topics with params:', params); // 添加日志
- const response = await platformApi.getAllTopics(params);
- console.log('getAllTopics response:', response); // 添加日志
-
- if (response?.data) {
- const formattedItems = response.data.items.map((item: any) => ({
- id: item._id || '',
- title: item.title || '',
- type: item.type || '',
- description: item.description || null,
- msgType: item.msgType || '',
- category: item.category || '',
- subCategory: item.subCategory || null,
- author: item.author || '',
- avatar: item.avatar || '',
- cover: item.coverUrl || '',
- authorId: item.authorId || '',
- fans: item.fans || 0,
- topics: item.topics || [],
- rank: item.rank || 0,
- shareCount: item.shareCount || 0,
- likeCount: item.likeCount || 0,
- watchingCount: item.watchingCount || null,
- readCount: item.readCount || 0,
- publishTime: item.publishTime || '',
- url: item.url || '',
- platformId: {
- id: item.platformId?.id || '',
- name: item.platformId?.name || '',
- icon: item.platformId?.icon || '',
- },
- hotValue: item.hotValue || 0,
- commentCount: item.commentCount || 0,
- collectCount: item.collectCount || 0,
- }));
- setTopicContents(formattedItems);
-
- // 转换分页数据
- const meta = response.data.meta;
- if (meta) {
- setTopicPagination({
- currentPage: meta.currentPage || 1,
- itemsPerPage: meta.itemsPerPage || 20,
- totalItems: meta.totalItems || 0,
- totalPages: meta.totalPages || 1,
- itemCount: meta.itemCount || 0,
- });
- }
- } else {
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- }
- } catch (error) {
- console.error('筛选专题数据失败:', error);
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- } finally {
- setTopicLoading(false);
- }
- };
-
- // 处理专题分页变化
- const handleTopicPageChange = async (page: number) => {
- if (!selectedMsgType || page === topicPagination?.currentPage) return;
-
- setTopicLoading(true);
- try {
- const params: any = {
- msgType: selectedMsgType,
- timeType: selectedTimeType,
- page,
- limit: 20,
- };
-
- if (selectedPlatform?.id) {
- params.platformId = selectedPlatform.id;
- }
-
- if (selectedTopicType) {
- params.type = selectedTopicType;
- }
-
- const response = await platformApi.getAllTopics(params);
- if (response?.data) {
- const formattedItems = response.data.items.map((item: any) => ({
- id: item._id || '',
- title: item.title || '',
- type: item.type || '',
- description: item.description || null,
- msgType: item.msgType || '',
- category: item.category || '',
- subCategory: item.subCategory || null,
- author: item.author || '',
- avatar: item.avatar || '',
- cover: item.coverUrl || '',
- authorId: item.authorId || '',
- fans: item.fans || 0,
- topics: item.topics || [],
- rank: item.rank || 0,
- shareCount: item.shareCount || 0,
- likeCount: item.likeCount || 0,
- watchingCount: item.watchingCount || null,
- readCount: item.readCount || 0,
- publishTime: item.publishTime || '',
- url: item.url || '',
- platformId: {
- id: item.platformId?.id || '',
- name: item.platformId?.name || '',
- icon: item.platformId?.icon || '',
- },
- hotValue: item.hotValue || 0,
- commentCount: item.commentCount || 0,
- collectCount: item.collectCount || 0,
- }));
- setTopicContents(formattedItems);
-
- // 转换分页数据
- const meta = response.data.meta;
- if (meta) {
- setTopicPagination({
- currentPage: meta.currentPage || 1,
- itemsPerPage: meta.itemsPerPage || 20,
- totalItems: meta.totalItems || 0,
- totalPages: meta.totalPages || 1,
- itemCount: meta.itemCount || 0,
- });
- }
-
- // 滚动到顶部
- window.scrollTo({
- top: 0,
- behavior: 'smooth',
- });
- }
- } catch (error) {
- console.error('获取专题数据失败:', error);
- setTopicContents([]);
- setTopicPagination({
- currentPage: 1,
- itemsPerPage: 20,
- totalItems: 0,
- totalPages: 1,
- itemCount: 0,
- });
- } finally {
- setTopicLoading(false);
- }
- };
-
- // 处理爆款标题分类选择
- const handleViralTitleCategorySelect = async (category: string) => {
- if (!selectedViralPlatform) return;
-
- setViralTitleLoading(true);
- try {
- // 调用获取某个平台某个分类全部标题的API
- const response = await platformApi.findByPlatformAndCategory(
- selectedViralPlatform.id,
- { category: category }
- );
-
- if (response?.data && Array.isArray(response.data.items)) {
- // 更新状态,显示该分类的全部数据
- setViralTitleData(prevData => ({
- ...prevData,
- [category]: response.data.items.map((title: any) => ({
- id: title._id || '',
- title: title.title,
- category: title.category,
- platform: selectedViralPlatform.id,
- timeType: selectedTimeType,
- engagement: title.engagement || 0,
- url: title.url || ''
- }))
- }));
- } else {
- // 如果没有数据,清空该分类的数据
- setViralTitleData(prevData => ({
- ...prevData,
- [category]: []
- }));
- }
- // 设置当前选中的分类
- setSelectedViralCategory(category);
- } catch (error) {
- console.error(`获取分类 ${category} 爆款标题详情失败:`, error);
- // 出错时也清空该分类的数据
- setViralTitleData(prevData => ({
- ...prevData,
- [category]: []
- }));
- setSelectedViralCategory(category);
- } finally {
- setViralTitleLoading(false);
- }
- };
-
- // 处理查看更多点击
- const handleViewMoreClick = async (category: string) => {
- if (!selectedViralPlatform) return;
-
- setViralTitleLoading(true);
- try {
- // 调用获取某个平台某个分类全部标题的API
- const response = await platformApi.findByPlatformAndCategory(
- selectedViralPlatform.id,
- { category: category }
- );
-
- if (response?.data && Array.isArray(response.data.items)) {
- // 更新状态,显示该分类的全部数据
- // 将获取到的该分类的全部数据覆盖viralTitleData中该分类的数据
- setViralTitleData(prevData => ({
- ...prevData,
- [category]: response.data.items.map((title: any) => ({
- id: title._id || '',
- title: title.title,
- category: title.category,
- platform: selectedViralPlatform.id,
- timeType: selectedTimeType,
- engagement: title.engagement || 0,
- url: title.url || ''
- }))
- }));
- // 设置当前选中的分类,触发详情视图的渲染
- setSelectedViralCategory(category);
- } else {
- // 如果没有数据,清空该分类的数据并切换到该分类视图
- setViralTitleData(prevData => ({
- ...prevData,
- [category]: []
- }));
- setSelectedViralCategory(category);
- }
- } catch (error) {
- console.error(`获取分类 ${category} 爆款标题详情失败:`, error);
- // 出错时也尝试切换到该分类视图,但数据可能为空或旧数据
- setViralTitleData(prevData => ({
- ...prevData,
- [category]: []
- }));
- setSelectedViralCategory(category);
- } finally {
- setViralTitleLoading(false);
- }
- };
-
- // 添加消息类型点击处理函数
- const handleMsgTypeClick = async (type: string) => {
- setSelectedMsgType(type);
- setTopicLoading(true);
- setContentExpanded(false);
- setSelectedTopicType('');
-
- try {
- // 获取该分类的时间类型
- await fetchTopicTimeTypes(type);
-
- // 获取专题数据 - 传递当前的筛选条件
- await fetchTopicContents(
- type, // msgType
- 1, // page
- selectedTimeType, // timeType
- selectedPlatform?.id, // platformId
- '' // topicType,因为切换msgType时清空了专题类型
- );
-
- } catch (error) {
- console.error('获取专题数据失败:', error);
- setTopicContents([]);
- } finally {
- setTopicLoading(false);
- }
- };
-
- // 分页组件类型定义
- interface PaginationProps {
- current: number;
- total: number;
- pageSize: number;
- showSizeChanger?: boolean;
- showQuickJumper?: boolean;
- showTotal?: (total: number) => string;
- onChange?: (page: number) => void;
- }
-
- return (
- <div className="hot-content-layout" style={{ display: 'flex', flexDirection: 'row' }}>
- <SideMenu
- platforms={platforms}
- selectedPlatform={selectedPlatform}
- loading={rankingLoading}
- contentExpanded={contentExpanded}
- topicExpanded={expandedStates.topic}
- hotEventExpanded={expandedStates.hotEvent}
- viralTitleExpanded={expandedStates.viralTitle}
- talkExpanded={expandedStates.talk}
- hotPlatformExpanded={expandedStates.hotPlatform}
- viralTitleLoading={viralTitleLoading}
- viralTitlePlatforms={viralTitlePlatforms}
- selectedViralPlatform={selectedViralPlatform}
- msgTypeList={msgTypeList}
- selectedMsgType={selectedMsgType}
- onPlatformSelect={handlePlatformSelect}
- onContentExpand={handleContentExpandToggle}
- onTopicExpand={handleTopicExpandClick}
- onHotEventExpand={handleHotEventExpandClick}
- onViralTitleExpand={handleViralTitleExpandClick}
- onTalkExpand={() => handleMenuExpandToggle('talk')}
- onHotPlatformExpand={() => handleMenuExpandToggle('hotPlatform')}
- onViralPlatformSelect={handleViralPlatformSelect}
- onMsgTypeClick={handleMsgTypeClick}
- onHotContentClick={handleResetExpandedStates}
- onViralTitleCategorySelect={handleViralTitleCategorySelect}
- // getImageUrl={getImageUrl}
- />
- <div className="main-content">
- {!expandedStates.topic && !expandedStates.hotEvent && !expandedStates.viralTitle && !expandedStates.talk && !expandedStates.hotPlatform ? (
- <HotContent
- rankingList={rankingList}
- selectedRanking={selectedRanking}
- rankingContents={rankingContents}
- rankingLoading={rankingLoading}
- pagination={pagination}
- categories={categories}
- selectedCategory={selectedCategory}
- isExpanded={categoryListExpanded}
- selectedDate={selectedDate}
- rankingMinDate={rankingMinDate}
- rankingMaxDate={rankingMaxDate}
- onRankingSelect={handleRankingSelect}
- onCategorySelect={handleCategorySelect}
- onDateChange={handleDateChange}
- onPageChange={handlePageChange}
- onContentClick={handleContentClick}
- onExpandToggle={handleCategoryListExpandToggle}
- getImageUrl={getImageUrl}
- formatNumber={formatNumber}
- />
- ) : expandedStates.viralTitle ? (
- <div className="viral-title-container">
- {/* 顶部筛选区 */}
- <div className="viral-title-filter">
- {/* 分类筛选 */}
- <div className="filter-section">
- <span className="filter-label">{t('category')}:</span>
- <div className="filter-buttons">
- <button
- className={`filter-button ${selectedViralCategory === '' ? 'active' : ''}`}
- onClick={() => {
- if (selectedViralPlatform) {
- fetchViralTitleContents(selectedViralPlatform.id, selectedTimeType);
- setSelectedViralCategory('');
- }
- }}
- >
- {t('all')}
- </button>
- {viralTitleCategories.map((category) => (
- <button
- key={category}
- className={`filter-button ${selectedViralCategory === category ? 'active' : ''}`}
- onClick={() => handleViralTitleCategorySelect(category)}
- >
- {category}
- </button>
- ))}
- </div>
- </div>
-
- {/* 时间筛选 */}
- <div className="filter-section">
- <span className="filter-label">{t('timeRange')}:</span>
- <div className="filter-buttons">
- {timeTypes.map((timeRange) => (
- <button
- key={timeRange}
- className={`filter-button ${selectedTimeType === timeRange ? 'active' : ''}`}
- onClick={() => handleTimeRangeChange(timeRange)}
- >
- {timeRange}
- </button>
- ))}
- </div>
- </div>
- </div>
-
- {/* 爆款标题内容 */}
- <div className="viral-title-content">
- {viralTitleLoading ? (
- <div className="loading-state">
- <span>{t('loading')}</span>
- </div>
- ) : Object.keys(viralTitleData).length > 0 ? (
- selectedViralCategory === '' ? (
- Object.keys(viralTitleData).map(category => (
- <div key={category} className="category-section">
- <h3 className="category-title">{category}</h3>
- <div className="viral-title-list">
- {viralTitleData[category].slice(0,5).map((title, index) => (
- <div
- key={title.id || index}
- className="viral-title-list-item"
- onClick={() => title.url && handleContentClick(title.url, title.title)}
- >
- <span className={`list-item-rank ${index < 3 ? 'top' : ''}`}>
- {index + 1}
- </span>
- <div className="list-item-details">
- <div className="list-item-title">{title.title}</div>
- <span className="list-item-engagement">
- {t('engagement')}: {formatNumber(title.engagement)}
- </span>
- </div>
- </div>
- ))}
- </div>
- <div className="view-more-button">
- <button
- className="view-more-btn"
- onClick={() => handleViewMoreClick(category)}
- >
- {t('viewMore')}
- </button>
- </div>
- </div>
- ))
- ) : (
- <div className="category-section">
- <h3 className="category-title">{selectedViralCategory}</h3>
- <div className="viral-title-list">
- {viralTitleData[selectedViralCategory]?.map((title, index) => (
- <div
- key={title.id || index}
- className="viral-title-list-item"
- onClick={() => title.url && handleContentClick(title.url, title.title)}
- >
- <span className={`list-item-rank ${index < 3 ? 'top' : ''}`}>
- {index + 1}
- </span>
- <div className="list-item-details">
- <span className="list-item-category">{title.category}</span>
- <div className="list-item-title">{title.title}</div>
- <span className="list-item-engagement">
- {t('engagement')}: {formatNumber(title.engagement)}
- </span>
- </div>
- </div>
- ))}
- </div>
- </div>
- )
- ) : (
- <div className="empty-state">
- <div className="empty-state-icon">📝</div>
- <div>{t('noViralTitles')}</div>
- </div>
- )}
- </div>
- </div>
- ) : expandedStates.topic ? (
- <div className="topic-container">
- {/* 顶部筛选区 */}
- <div className="topic-filter-container">
- {/* 平台筛选 */}
- <div className="topic-filter-options">
- <div className="topic-filter-group">
- {platforms.map((platform) => (
- <button
- key={platform.id}
- className={`topic-filter-button ${
- selectedPlatform?.id === platform.id ? 'active' : ''
- }`}
- onClick={() => {
- const platformId = platform.id;
- setSelectedPlatform(platform);
- handleFilterChange(platformId);
- }}
- >
- <div className="flex items-center space-x-2">
- {platform.icon && !imgErrors[`platform-${platform.id}`] ? (
- <img
- src={getImageUrl(platform.icon)}
- alt={platform.name}
- className="w-4 h-4"
- onError={() => handleImageError(`platform-${platform.id}`)}
- />
- ) : (
- <div className="flex items-center justify-center w-4 h-4 bg-gray-200 rounded">
- <span className="text-xs text-gray-500">
- {platform.name?.charAt(0)?.toUpperCase() || '?'}
- </span>
- </div>
- )}
- <span>{platform.name}</span>
- </div>
- </button>
- ))}
- </div>
-
- {/* 时间筛选 */}
- <div className="topic-filter-section">
- <span className="topic-filter-label">{t('timeRange')}:</span>
- <div className="topic-filter-buttons">
- {timeTypes.map((timeRange) => (
- <button
- key={timeRange}
- className={`topic-filter-button ${selectedTimeType === timeRange ? 'active' : ''}`}
- onClick={() => handleTimeRangeChange(timeRange)}
- >
- {timeRange}
- </button>
- ))}
- </div>
- </div>
-
- {/* 分类筛选 */}
- {selectedMsgType === 'aigc' && topicTypes.length > 1 && (
- <div className="topic-filter-section">
- <span className="topic-filter-label">{t('category')}:</span>
- <div className="topic-filter-buttons">
- {topicTypes.map((type) => (
- <button
- key={type}
- className={`topic-filter-button ${selectedTopicType === type ? 'active' : ''}`}
- onClick={() => {
- setSelectedTopicType(type === selectedTopicType ? '' : type);
- handleFilterChange();
- }}
- >
- {type}
- </button>
- ))}
- </div>
- </div>
- )}
- </div>
- </div>
-
- {/* 专题内容列表 */}
- <div className="topic-list-container">
- {topicLoading ? (
- <div className="topic-loading-state">
- <span className="topic-loading-text">{t('loading')}</span>
- </div>
- ) : topicContents.length > 0 ? (
- <>
- {/* 表头 */}
- <div className="topic-list-header">
- <div className="topic-header-col topic-header-col.rank-col">{t('rank')}</div>
- <div className="topic-header-col topic-header-col.cover-col">{t('cover')}</div>
- <div className="topic-header-col topic-header-col.info-col">{t('title')}/{t('author')}</div>
- <div className="topic-header-col topic-header-col.category-col">{t('category')}</div>
- <div className="topic-header-col topic-header-col.stats-col">{t('likes')}</div>
- <div className="topic-header-col topic-header-col.stats-col">{t('shares')}</div>
- <div className="topic-header-col topic-header-col.stats-col">{t('comments')}</div>
- <div className="topic-header-col topic-header-col.stats-col">{t('collections')}</div>
- </div>
-
- {/* 内容列表 */}
- {topicContents.map((item, index) => (
- <div
- key={item.id}
- className="topic-list-item"
- onClick={() => handleContentClick(item.url, item.title)}
- >
- {/* 排名 */}
- <div className="topic-item-col topic-item-col.rank-col">
- {((topicPagination?.currentPage || 1) - 1) *
- (topicPagination?.itemsPerPage || 20) +
- index +
- 1}
- </div>
-
- {/* 封面 */}
- <div className="topic-item-col topic-item-col.cover-col">
- <div className="topic-item-cover-wrapper">
- {item.cover && !imgErrors[item.id as string] ? (
- <img
- src={getImageUrl(item.cover)}
- alt={item.title}
- className="topic-item-cover-image"
- onError={() =>
- handleImageError(item.id as string)
- }
- />
- ) : (
- <div className="topic-item-cover-placeholder">
- {t('noImage')}
- </div>
- )}
- {item.type === 'video' && (
- <div className="topic-item-cover-video-tag">
- {t('video')}
- </div>
- )}
- </div>
- </div>
-
- {/* 标题和作者信息 */}
- <div className="topic-item-col topic-item-col.info-col">
- <h3 className="topic-item-title">
- {item.title}
- </h3>
- <div className="topic-item-author-info">
- <div className="topic-author-details">
- {item.avatar &&
- !imgErrors[`avatar-${item.id}`] ? (
- <img
- src={getImageUrl(item.avatar)}
- alt={item.author}
- className="topic-author-avatar"
- onError={() =>
- handleImageError(`avatar-${item.id}`)
- }
- />
- ) : (
- <div className="topic-author-avatar-placeholder">
- <span className="text-xs text-gray-500">
- {item.author?.charAt(0)?.toUpperCase() ||
- '?'}
- </span>
- </div>
- )}
- <span className="topic-author-name">
- {item.author}
- </span>
- {item.fans > 0 && (
- <span className="topic-author-fans">
- {item.fans >= 10000
- ? `${(item.fans / 10000).toFixed(1)}万${t('fans')}`
- : `${item.fans}${t('fans')}`}
- </span>
- )}
- <span className="topic-publish-time">
- {t('publishTime')}{' '}
- {dayjs(item.publishTime).format(
- 'YYYY-MM-DD HH:mm',
- )}
- </span>
- </div>
- </div>
- </div>
-
- {/* 分类信息 */}
- <div className="topic-item-col topic-item-col.category-col">
- <div className="topic-item-category">{item.category}</div>
- {item.subCategory && (
- <div className="topic-item-subcategory">
- {item.subCategory}
- </div>
- )}
- </div>
-
- {/* 点赞数 */}
- <div className="topic-item-col topic-item-col.stats-col">
- <div className="topic-stat-value">
- {item.likeCount >= 10000
- ? `${(item.likeCount / 10000).toFixed(1)}w`
- : item.likeCount}
- </div>
- <div className="topic-stat-label">{t('likes')}</div>
- </div>
-
- {/* 分享数 */}
- <div className="topic-item-col topic-item-col.stats-col">
- <div className="topic-stat-value">
- {item.shareCount >= 10000
- ? `${(item.shareCount / 10000).toFixed(1)}w`
- : item.shareCount}
- </div>
- <div className="topic-stat-label">{t('shares')}</div>
- </div>
-
- {/* 评论数 */}
- <div className="topic-item-col topic-item-col.stats-col">
- <div className="topic-stat-value">
- {item.commentCount
- ? item.commentCount >= 10000
- ? `${(item.commentCount / 10000).toFixed(1)}w`
- : item.commentCount
- : '-'}
- </div>
- <div className="topic-stat-label">{t('comments')}</div>
- </div>
-
- {/* 收藏数 */}
- <div className="topic-item-col topic-item-col.stats-col">
- <div className="topic-stat-value">
- {item.collectCount
- ? item.collectCount >= 10000
- ? `${(item.collectCount / 10000).toFixed(1)}w`
- : item.collectCount
- : '-'}
- </div>
- <div className="topic-stat-label">{t('collections')}</div>
- </div>
- </div>
- ))}
-
- {/* 分页组件 */}
- {topicPagination && topicPagination.totalPages > 1 && (
- <div className="topic-pagination-container">
- <Pagination
- current={topicPagination.currentPage}
- total={topicPagination.totalItems}
- pageSize={topicPagination.itemsPerPage}
- showSizeChanger={false}
- showQuickJumper
- showTotal={(total) => `${t('total')} ${total} ${t('items')}`}
- onChange={handleTopicPageChange}
- />
- </div>
- )}
- </>
- ) : (
- <div className="topic-empty-state">
- {t('noTopicData')}
- </div>
- )}
- </div>
- </div>
- ) : (
- <div className="hot-events-container">
- <div className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
- {hotTopicLoading ? (
- <div className="loading-container col-span-full">
- <span className="loading-text">{t('loading')}</span>
- </div>
- ) : hotTopics && hotTopics.length > 0 ? (
- hotTopics.map((platformData) => (
- <div
- key={platformData.platform.id}
- className="hot-topic-card h-full"
- >
- {/* 平台标题 */}
- <div className="platform-header">
- <div className="flex items-center space-x-2">
- {platformData.platform.icon && !imgErrors[`platform-${platformData.platform.id}`] ? (
- <img
- src={getImageUrl(platformData.platform.icon)}
- alt={platformData.platform.name}
- className="platform-icon"
- onError={() => handleImageError(`platform-${platformData.platform.id}`)}
- />
- ) : (
- <div className="platform-icon bg-[#fff1f0] flex items-center justify-center">
- <span className="text-[#ff4d4f]">
- {platformData.platform.name?.charAt(0)?.toUpperCase() || '?'}
- </span>
- </div>
- )}
- <span className="platform-name">
- {platformData.platform.name} · {t('hotTopics')}
- </span>
- </div>
- </div>
-
- {/* 热点列表 */}
- <div className="hot-topic-content">
- <div className="space-y-2">
- {platformData.topics && platformData.topics.length > 0 ? (
- platformData.topics.map((topic, index) => (
- <div
- key={topic.id || index}
- className="hot-topic-item"
- onClick={() => topic.url && handleContentClick(topic.url, topic.title)}
- >
- {/* 排名 */}
- <div className="hot-topic-rank">
- <span className={index < 3 ? 'top-3' : ''}>
- {index + 1}
- </span>
- </div>
-
- {/* 标题和热度 */}
- <div className="hot-topic-details">
- <div className="hot-topic-title">
- {topic.title}
- </div>
- <div className="hot-topic-metrics">
- {topic.isRising && (
- <span className="text-xs text-[#ff4d4f] bg-[#fff1f0] px-1 rounded">
- {t('rising')}
- </span>
- )}
- <span className="hot-topic-value">
- {(topic.hotValue / 10000).toFixed(1)}w
- </span>
- <div className="hot-value-trend">
- <svg width="100%" height="100%" viewBox="0 0 100 20" preserveAspectRatio="none">
- <polyline
- points={topic.hotValueHistory?.map((item, i) => {
- const x = (i / (topic.hotValueHistory.length - 1)) * 100 || 0;
- const maxHot = Math.max(...topic.hotValueHistory.map(h => h.hotValue));
- const minHot = Math.min(...topic.hotValueHistory.map(h => h.hotValue));
- const range = maxHot - minHot;
- const y = range === 0 ? 10 : 20 - ((item.hotValue - minHot) / range) * 20;
- return `${x},${y}`;
- }).join(' ')}
- />
- </svg>
- </div>
- </div>
- </div>
- </div>
- ))
- ) : (
- <div className="empty-state">
- <div className="empty-state-icon">📊</div>
- <div className="empty-state-text">{t('noHotTopics')}</div>
- </div>
- )}
- </div>
- </div>
- </div>
- ))
- ) : (
- <div className="empty-state col-span-full">
- <div className="empty-state-icon">📊</div>
- <div className="empty-state-text">{t('noHotTopics')}</div>
- </div>
- )}
- </div>
- </div>
- )}
- </div>
-
- {/* 预览弹窗 */}
- <Modal
- title={previewTitle}
- open={previewVisible}
- onCancel={() => setPreviewVisible(false)}
- footer={null}
- width={800}
- className="preview-modal"
- >
- <iframe
- src={previewUrl}
- style={{ width: '100%', height: '600px', border: 'none' }}
- title={t('hotContent')}
- />
- </Modal>
- </div>
- );
-};
-
-export default HotContentNew;
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/HotContentCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/HotContentCore.tsx
new file mode 100644
index 00000000..fc2e8780
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/HotContentCore.tsx
@@ -0,0 +1,49 @@
+"use client";
+import styles from "./hotContent.module.scss";
+import HotContentSidebar from "@/app/[lng]/hotContent/components/HotContentSidebar";
+import HotContent from "@/app/[lng]/hotContent/components/HotContent";
+import { useHotContent } from "@/app/[lng]/hotContent/useHotContent";
+import { useShallow } from "zustand/react/shallow";
+import { HotType } from "@/app/[lng]/hotContent/hotContent.enum";
+import HotEvent from "@/app/[lng]/hotContent/components/HotEvent";
+import HotFeatures from "@/app/[lng]/hotContent/components/HotFeatures";
+import HotTitle from "@/app/[lng]/hotContent/components/HotTitle";
+import { Spin } from "antd";
+import { RankingContentsResponse } from "@/api/hot";
+
+export const HotContentCore = ({
+ defaultHotContentData,
+}: {
+ defaultHotContentData?: RankingContentsResponse;
+}) => {
+ const { hotType, pageLoading } = useHotContent(
+ useShallow((state) => ({
+ hotType: state.hotType,
+ pageLoading: state.pageLoading,
+ })),
+ );
+
+ return (
+ <Spin
+ spinning={pageLoading}
+ size="large"
+ wrapperClassName={styles.hotContent}
+ >
+ <div className="hotContent-wrapper">
+ <HotContentSidebar />
+
+ <div className="hotContent-content">
+ {hotType === HotType.hotContent ? (
+ <HotContent defaultHotContentData={defaultHotContentData} />
+ ) : hotType === HotType.hotEvent ? (
+ <HotEvent />
+ ) : hotType === HotType.hotFeatures ? (
+ <HotFeatures />
+ ) : (
+ <HotTitle />
+ )}
+ </div>
+ </div>
+ </Spin>
+ );
+};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/hotContent.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/hotContent.module.scss
new file mode 100644
index 00000000..483b4e93
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/hotContent.module.scss
@@ -0,0 +1,239 @@
+.hotContent {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ :global {
+ .hotContent-rankLabel {
+ display: flex;
+ gap: 10px;
+ margin-bottom: 15px;
+ &-item {
+ padding: 4px 10px;
+ cursor: pointer;
+ border-radius: 6px;
+ display: flex;
+ align-items: center;
+ .anticon {
+ margin-right: 6px;
+ font-size: 16px;
+ }
+ &--active {
+ background: var(--colorPrimary5);
+ color: #fff;
+ }
+ }
+ }
+
+ .hotContent-options {
+ margin-top: 15px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ color: var(--grayColor6);
+ &-select {
+ display: flex;
+ align-items: center;
+ height: 32px;
+ margin-right: 30px;
+ &-label {
+ height: 100%;
+ display: flex;
+ align-items: center;
+ padding: 0 10px;
+ border-radius: 3px 0 0 3px;
+ background: var(--colorPrimary1);
+ color: var(--colorPrimary5);
+ }
+ .ant-select-selector {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+ }
+ }
+
+ &-explain {
+ .anticon {
+ margin-left: 5px;
+ }
+ }
+ }
+
+ .ant-spin-container, .ant-spin-nested-loading {
+ height: 100%;
+ min-height: 0;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .hotContent--wechat, .hotContent--bilibili {
+ .baseInfo-cover {
+ width: 110px !important;
+ height: 75px !important;
+ }
+ }
+ }
+}
+
+.rankingTopthree {
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
+ text-align: center;
+ color: #fff;
+ background: url("../../../../../images/bg-rank-index.png") no-repeat center / cover;
+}
+
+.baseInfo {
+ display: flex;
+ & > img {
+ object-fit: cover;
+ width: 74px;
+ height: 86px;
+ flex-shrink: 0;
+ border-radius: 4px;
+ margin-right: 15px;
+ }
+
+ :global {
+ .baseInfo-right {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ &-title {
+ @include omitText(2);
+ }
+ &-noTitle {
+ color: var(--grayColor5);
+ }
+ &-author {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ font-size: var(--fs-xs);
+ &-avatar {
+ }
+ &-name {
+ margin: 0 10px 0 5px;
+ }
+ &-fans {
+ margin-right: 10px;
+ color: var(--grayColor7);
+ }
+ &-pubTime {
+ color: var(--grayColor7);
+ }
+
+ &:hover {
+ .baseInfo-right-author-name {
+ color: var(--colorPrimary5);
+ }
+ }
+ }
+ }
+
+ .baseInfo-cover {
+
+ }
+ }
+}
+
+.hotContent-table {
+ height: 100%;
+ box-sizing: border-box;
+ overflow: auto;
+ margin-top: 15px;
+ position: relative;
+ @include table-flex-container-with-selectors;
+
+ scrollbar-width: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+
+ :global {
+ .infinite-scroll-component {
+ overflow: visible !important;
+ }
+
+ .ant-table-thead {
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ .ant-table-cell {
+ background: rgba(237, 242, 242);
+ padding: 10px 16px;
+ font-weight: 400 !important;
+
+ &:last-of-type {
+ border-bottom-right-radius: 8px;
+ }
+ &:first-of-type {
+ border-bottom-left-radius: 8px;
+ }
+ }
+ }
+
+ .ant-table-tbody {
+ .ant-table-cell {
+ padding: 10px;
+ }
+ tr {
+ cursor: pointer;
+ }
+ }
+ }
+}
+
+.anaAddCall {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ :global {
+ .anaAddCall-add {
+ font-family: 'DIN';
+ white-space: nowrap;
+ .anticon {
+ font-size: 14px;
+ margin-right: 3px;
+ color: red;
+ }
+ }
+
+ .anaAddCall-total {
+ border: 1px solid var(--grayColor3);
+ color: var(--grayColor8);
+ padding: 1px 8px;
+ border-radius: 30px;
+ font-size: var(--fs-xs);
+ font-family: 'DIN';
+ white-space: nowrap;
+ }
+ }
+}
+.anaAddCall-highlight {
+ color: var(--colorPrimary5);
+ :global {
+ .anaAddCall-total {
+ color: var(--colorPrimary5);
+ }
+ }
+}
+
+.baseInfoPopver {
+ display: flex;
+ flex-direction: column;
+ width: 500px;
+ height: 400px;
+ :global {
+ .baseInfoPopver-head {
+
+ }
+ .baseInfoPopver-content {
+ height: 100%;
+ overflow: auto;
+ }
+ .baseInfoPopver-footer {
+
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/hotContentCommonWidget.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/hotContentCommonWidget.tsx
new file mode 100644
index 00000000..9c827ee9
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/hotContentCommonWidget.tsx
@@ -0,0 +1,122 @@
+import styles from "@/app/[lng]/hotContent/components/HotContent/hotContent.module.scss";
+import Icon from "@ant-design/icons";
+import Uparrow from "@/app/[lng]/hotContent/svgs/uparrow.svg";
+import { describeNumber } from "@/utils";
+import { Avatar, Popover } from "antd";
+import { useTransClient } from "@/app/i18n/client";
+
+export const AnaAddCall = ({
+ add,
+ total,
+ highlight = false,
+}: {
+ add: number;
+ total: number;
+ highlight?: boolean;
+}) => {
+ const { t } = useTransClient("hot-content");
+ return (
+ <div
+ className={`${styles.anaAddCall} ${highlight ? styles["anaAddCall-highlight"] : ""}`}
+ >
+ <div className="anaAddCall-add">
+ {add ? (
+ <>
+ <Icon component={Uparrow} />
+ {describeNumber(add)}
+ </>
+ ) : (
+ "-"
+ )}
+ </div>
+ <div className="anaAddCall-total">
+ {t("total")}
+ {describeNumber(total)}
+ </div>
+ </div>
+ );
+};
+
+export const SingleNumberCall = ({
+ total,
+ highlight = false,
+}: {
+ total: number;
+ highlight?: boolean;
+}) => {
+ return (
+ <p
+ style={{
+ textAlign: "center",
+ fontSize: "var(--fs-md)",
+ color: highlight ? "var(--colorPrimary5)" : "#3d4242",
+ fontFamily: "DIN",
+ fontWeight: 100,
+ }}
+ >
+ {describeNumber(total)}
+ </p>
+ );
+};
+
+export const HotContentBaseInfo = ({
+ cover,
+ title,
+ avatar,
+ nickname,
+ fansCount,
+ publishTime,
+ onClick,
+ coverPopoverContent,
+}: {
+ cover: string;
+ title: string;
+ avatar: string;
+ nickname: string;
+ fansCount?: number;
+ publishTime: string;
+ coverPopoverContent?: React.ReactNode;
+ onClick?: () => void;
+}) => {
+ const { t } = useTransClient("hot-content");
+ return (
+ <div className={styles.baseInfo}>
+ <Popover placement="right" content={coverPopoverContent}>
+ <img className="baseInfo-cover" src={cover} />
+ </Popover>
+ <div className="baseInfo-right">
+ {title ? (
+ <div className="baseInfo-right-title" title={title}>
+ {title}
+ </div>
+ ) : (
+ <div className="baseInfo-right-noTitle">{t("noTitle")}</div>
+ )}
+
+ <div
+ className="baseInfo-right-author"
+ onClick={(e) => {
+ e.stopPropagation();
+ if (onClick) onClick();
+ }}
+ >
+ <Avatar
+ className="baseInfo-right-author-avatar"
+ src={avatar}
+ size="small"
+ />
+ <p className="baseInfo-right-author-name">{nickname}</p>
+ {fansCount && (
+ <p className="baseInfo-right-author-fans">
+ {t("fans")} {describeNumber(fansCount)}
+ </p>
+ )}
+ <p className="baseInfo-right-author-pubTime">
+ {t("publishTime")}
+ {publishTime}
+ </p>
+ </div>
+ </div>
+ </div>
+ );
+};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/index.tsx
new file mode 100644
index 00000000..5f074f2b
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/index.tsx
@@ -0,0 +1,569 @@
+import {
+ ForwardedRef,
+ forwardRef,
+ memo,
+ useCallback,
+ useEffect,
+ useMemo,
+ useRef,
+ useState,
+} from "react";
+import { useHotContent } from "@/app/[lng]/hotContent/useHotContent";
+import { useShallow } from "zustand/react/shallow";
+import HotContentLabel from "@/app/[lng]/hotContent/components/HotContentLabel";
+import styles from "./hotContent.module.scss";
+import { Popover, Select, Skeleton, Spin, Table } from "antd";
+import Icon, { QuestionCircleOutlined } from "@ant-design/icons";
+import type { TableProps } from "antd";
+import {
+ platformApi,
+ PlatformRanking,
+ RankingContent,
+ RankingContentsResponse,
+} from "@/api/hot";
+import InfiniteScroll from "react-infinite-scroll-component";
+import HotSvg from "../../svgs/hotContent.svg";
+import ReadSvg from "./svgs/read.svg";
+import {
+ AnaAddCall,
+ HotContentBaseInfo,
+ SingleNumberCall,
+} from "@/app/[lng]/hotContent/components/HotContent/hotContentCommonWidget";
+import { useTransClient } from "@/app/i18n/client";
+import CryptoJS from "crypto-js";
+import { AccountPlatInfoMap, PlatType } from "@/app/config/platConfig";
+
+export interface IHotContentRef {}
+
+export interface IHotContentProps {
+ defaultHotContentData?: RankingContentsResponse;
+}
+
+const icons = {
+ wechat: [ReadSvg, HotSvg],
+};
+
+const HotContent = memo(
+ forwardRef(
+ (
+ { defaultHotContentData }: IHotContentProps,
+ ref: ForwardedRef<IHotContentRef>,
+ ) => {
+ const {
+ labelData,
+ rankingData,
+ currentRankCategory,
+ datesData,
+ twoMenuKey,
+ setCurrentRankCategory,
+ } = useHotContent(
+ useShallow((state) => ({
+ labelData: state.labelData,
+ rankingData: state.rankingData,
+ datesData: state.datesData,
+ twoMenuKey: state.twoMenuKey,
+ currentRankCategory: state.currentRankCategory,
+ setCurrentRankCategory: state.setCurrentRankCategory,
+ })),
+ );
+ const { t } = useTransClient("hot-content");
+ const all = useRef<string>(t("all"));
+ // 当前选中的标签
+ const [labelValue, setLabelValue] = useState(all.current);
+ // 当前选中的日期
+ const [dateValue, setDateValue] = useState("");
+ // 数据loading
+ const [loading, setLoading] = useState(false);
+ // 表格数据
+ const [dataSource, setDataSource] = useState<RankingContent[]>([]);
+ // 总数
+ const [total, setTotal] = useState(0);
+ const page = useRef(0);
+ const [isReset, setIsReset] = useState(false);
+
+ // 获取当前选中的标签、日期、榜单
+ const selectedLabelInfo = useMemo(() => {
+ const platId = twoMenuKey.split("_")[1];
+ return {
+ // 所有榜单
+ allRanking: rankingData[platId] || [],
+ // 当前选择榜单
+ ranking: (rankingData[platId]?.find(
+ (v) => v.id === currentRankCategory,
+ ) ?? {}) as PlatformRanking,
+ labelData: labelData[platId] || [],
+ datesData: datesData[platId] || [],
+ };
+ }, [labelData, rankingData, datesData, twoMenuKey, currentRankCategory]);
+
+ // 跳转到作者主页
+ const goAuthorPage = useCallback(
+ (data: RankingContent) => {
+ switch (selectedLabelInfo.ranking.platform.type) {
+ case "douyin":
+ console.log(data);
+ break;
+ case "xiaohongshu":
+ window.open(
+ `https://www.xiaohongshu.com/user/profile/${data.author.id}`,
+ "_blank",
+ );
+ break;
+ case "kuaishou":
+ break;
+ case "bilibili":
+ break;
+ case "shipinhao":
+ break;
+ }
+ },
+ [selectedLabelInfo],
+ );
+
+ // 热门内容的平台类型转换到本地枚举
+ const getPlatEnum = (type: string) => {
+ switch (type) {
+ case "douyin":
+ return {
+ plat: PlatType.Douyin,
+ };
+ case "xiaohongshu":
+ return {
+ plat: PlatType.Xhs,
+ };
+ case "kuaishou":
+ return {
+ plat: PlatType.KWAI,
+ };
+ case "bilibili":
+ return {
+ plat: PlatType.BILIBILI,
+ };
+ case "shipinhao":
+ return {
+ plat: PlatType.WxSph,
+ };
+ case "wechat":
+ return {
+ plat: PlatType.WxGzh,
+ };
+ }
+ };
+
+ const columns = useMemo(() => {
+ const callParamsColumnsCommon = (title: string) => {
+ return {
+ width: 90,
+ title: () => {
+ return <p style={{ textAlign: "center" }}>{title}</p>;
+ },
+ };
+ };
+ const plat = selectedLabelInfo?.ranking?.platform?.type;
+
+ const anaAddColumns: TableProps<RankingContent>["columns"] = [
+ ...(dataSource[1]?.anaAdd?.addCollectCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("collections")),
+ render: (text: string, data: RankingContent) => (
+ <AnaAddCall
+ add={data.anaAdd.addCollectCount!}
+ total={data.anaAdd.useCollectCount!}
+ />
+ ),
+ },
+ ]
+ : []),
+ {
+ ...callParamsColumnsCommon(t("shares")),
+ render: (text, data) => (
+ <AnaAddCall
+ add={data.anaAdd.addShareCount}
+ total={data.anaAdd.useShareCount}
+ />
+ ),
+ },
+ {
+ ...callParamsColumnsCommon(t("comments")),
+ render: (text, data) => (
+ <AnaAddCall
+ add={data.anaAdd.addCommentCount}
+ total={data.anaAdd.useCommentCount}
+ />
+ ),
+ },
+ ...(dataSource[0]?.anaAdd?.addViewCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("views")),
+ render: (text: string, data: RankingContent) => (
+ <AnaAddCall
+ add={data.anaAdd.addViewCount!}
+ total={data.anaAdd.useViewCount!}
+ />
+ ),
+ },
+ ]
+ : []),
+ {
+ ...callParamsColumnsCommon(t("likes")),
+ render: (text, data) => (
+ <AnaAddCall
+ highlight={plat !== "xiaohongshu"}
+ add={data.anaAdd.addLikeCount}
+ total={data.anaAdd.useLikeCount}
+ />
+ ),
+ },
+ ...(plat === "xiaohongshu"
+ ? [
+ {
+ ...callParamsColumnsCommon(t("engagement")),
+ render: (text: string, data: RankingContent) => (
+ <AnaAddCall
+ highlight={true}
+ add={data.anaAdd.addInteractiveCount!}
+ total={data.anaAdd.interactiveCount!}
+ />
+ ),
+ },
+ ]
+ : []),
+ ];
+ // 视频号
+ const wxSphColumns: TableProps<RankingContent>["columns"] = [
+ {
+ ...callParamsColumnsCommon(t("comments")),
+ render: (text, data) => (
+ <SingleNumberCall total={data.stats.commentCount} />
+ ),
+ },
+ {
+ ...callParamsColumnsCommon(t("shares")),
+ render: (text, data) => (
+ <SingleNumberCall total={data.shareCount!} />
+ ),
+ },
+ {
+ ...callParamsColumnsCommon(t("likes")),
+ render: (text, data) => (
+ <SingleNumberCall total={data.stats.likeCount} />
+ ),
+ },
+ {
+ ...callParamsColumnsCommon(t("recommend")),
+ render: (text, data) => (
+ <SingleNumberCall total={data.stats.likeCount} />
+ ),
+ },
+ ];
+ // 微信公众号
+ const wxGzhColumns: TableProps<RankingContent>["columns"] = [
+ ...(dataSource[1]?.stats.watchCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("watch")),
+ render: (text: string, data: RankingContent) => (
+ <SingleNumberCall total={data.stats.watchCount} />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.stats.likeCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("likes")),
+ render: (text: string, data: RankingContent) => (
+ <SingleNumberCall total={data.stats.likeCount} />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.shareCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("shares")),
+ render: (text: string, data: RankingContent) => (
+ <SingleNumberCall total={data.shareCount!} />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.stats.viewCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("views")),
+ render: (text: string, data: RankingContent) => (
+ <SingleNumberCall
+ total={data.stats.viewCount}
+ highlight={true}
+ />
+ ),
+ },
+ ]
+ : []),
+ ];
+
+ const columns: TableProps<RankingContent>["columns"] = [
+ {
+ title: t("rank"),
+ dataIndex: "rankingPosition",
+ key: "rankingPosition",
+ width: 60,
+ render: (text, data, ind) => (
+ <>
+ {ind <= 2 ? (
+ <div className={styles.rankingTopthree}>{ind + 1}</div>
+ ) : (
+ <p style={{ width: "30px", textAlign: "center" }}>
+ {ind + 1}
+ </p>
+ )}
+ </>
+ ),
+ },
+ {
+ title: t("baseInfo"),
+ dataIndex: "baseInfo",
+ render: (text, data) => {
+ const platInfo = getPlatEnum(
+ selectedLabelInfo.ranking?.platform?.type,
+ );
+ const platConfig = AccountPlatInfoMap.get(
+ platInfo?.plat ?? PlatType.Xhs,
+ )!;
+
+ return (
+ <HotContentBaseInfo
+ // coverPopoverContent={
+ // <div className={styles.baseInfoPopver}>
+ // <div className="baseInfoPopver-head"></div>
+ // <div className="baseInfoPopver-content"></div>
+ // <div className="baseInfoPopver-footer"></div>
+ // </div>
+ // }
+ title={data.title}
+ avatar={data.author.avatar}
+ publishTime={data.publishTime}
+ fansCount={data.author.fansCount}
+ nickname={data.author.name}
+ cover={data.cover}
+ onClick={() => {
+ goAuthorPage(data);
+ }}
+ />
+ );
+ },
+ },
+ {
+ title: () => <p style={{ textAlign: "center" }}>{t("category")}</p>,
+ dataIndex: "category",
+ key: "category",
+ width: 120,
+ render: (text, data) => (
+ <div style={{ textAlign: "center" }}>
+ <p>
+ <b>{text}</b>
+ </p>
+ <p>{data.subCategory}</p>
+ </div>
+ ),
+ },
+
+ ...(plat === "shipinhao"
+ ? wxSphColumns
+ : plat === "wechat"
+ ? wxGzhColumns
+ : anaAddColumns),
+ ];
+ return columns;
+ }, [selectedLabelInfo, dataSource, t]);
+
+ const getTableData = useCallback(async () => {
+ if (loading) return;
+
+ const res = await platformApi.getRankingContents(
+ selectedLabelInfo.ranking.id,
+ page.current,
+ 20,
+ labelValue === all.current ? "全部" : labelValue,
+ dateValue,
+ );
+ page.current += 1;
+ setDataSource((prevState) => {
+ return [...prevState, ...(res?.data.items || [])];
+ });
+ setTotal(res?.data.meta.totalItems || 0);
+ }, [selectedLabelInfo.ranking, labelValue, dateValue]);
+
+ // 当平台切换时,重置数据
+ useEffect(() => {
+ if (selectedLabelInfo.datesData.length > 0) {
+ setDateValue(selectedLabelInfo.datesData[0].value);
+ setLabelValue(all.current);
+ setIsReset(true);
+ }
+ }, [selectedLabelInfo.datesData, twoMenuKey]);
+
+ // 请求列表数据
+ useEffect(() => {
+ if (isReset && selectedLabelInfo.ranking?.id) {
+ page.current = 1;
+ setDataSource([]);
+ setLoading(true);
+ getTableData().then(() => setLoading(false));
+ setIsReset(false);
+ }
+ }, [
+ labelValue,
+ dateValue,
+ selectedLabelInfo.datesData,
+ selectedLabelInfo.ranking?.id,
+ isReset,
+ currentRankCategory,
+ ]);
+
+ return (
+ <div className={`${styles.hotContent}`}>
+ {selectedLabelInfo.allRanking.length > 1 && (
+ <div className="hotContent-rankLabel">
+ {selectedLabelInfo.allRanking.map((v, i) => {
+ const icon = (icons[v.platform.type as "wechat"] ?? [])[i];
+
+ return (
+ <div
+ className={`hotContent-rankLabel-item ${v.id === currentRankCategory ? "hotContent-rankLabel-item--active" : ""}`}
+ key={v.id}
+ onClick={() => {
+ setCurrentRankCategory(v.id);
+ setIsReset(true);
+ }}
+ >
+ <Icon component={icon} />
+ {v.name}
+ </div>
+ );
+ })}
+ </div>
+ )}
+
+ <HotContentLabel
+ labels={[all.current, ...(selectedLabelInfo.labelData ?? [])]}
+ value={labelValue}
+ onChange={(value) => {
+ setLabelValue(value);
+ setIsReset(true);
+ }}
+ />
+
+ <div className="hotContent-options">
+ <div className="hotContent-options-select">
+ <div className="hotContent-options-select-label">
+ {t("dailyRank")}
+ </div>
+ <Select
+ options={selectedLabelInfo.datesData.map((v) => ({
+ label: v.showDate,
+ value: v.value,
+ }))}
+ value={dateValue}
+ onChange={(e) => {
+ setDateValue(e);
+ setIsReset(true);
+ }}
+ ></Select>
+ </div>
+
+ <Popover
+ content={
+ <>
+ <p>
+ {t("updateFrequency")}:
+ {selectedLabelInfo.ranking.updateFrequency}
+ </p>
+ <p>
+ {t("statEndTime")}:{selectedLabelInfo.ranking.updateTime}
+ </p>
+ <p>
+ {t("updateFrequency")}:{t("daily")}
+ </p>
+ <p>
+ {t("sortRule")}:{t("sortRuleDesc")}
+ </p>
+ </>
+ }
+ placement="bottomLeft"
+ >
+ <div className="hotContent-options-explain">
+ {t("dataDescription")}
+ <QuestionCircleOutlined />
+ </div>
+ </Popover>
+ </div>
+
+ <Spin spinning={loading}>
+ <div
+ className={`${styles["hotContent-table"]} hotContent--${selectedLabelInfo?.ranking?.platform?.type}`}
+ id="hotContent-table"
+ >
+ <InfiniteScroll
+ dataLength={dataSource.length}
+ next={getTableData}
+ hasMore={dataSource.length < total}
+ loader={
+ !loading ? <Skeleton active paragraph={{ rows: 1 }} /> : <></>
+ }
+ endMessage={<></>}
+ scrollableTarget="hotContent-table"
+ >
+ <Table
+ dataSource={defaultHotContentData?.items ?? dataSource}
+ rowKey={(record) => record.id}
+ columns={columns}
+ pagination={false}
+ onRow={(record) => {
+ return {
+ onClick: async () => {
+ if (
+ selectedLabelInfo.ranking.platform.type === "wechat"
+ ) {
+ setLoading(true);
+ const res = await platformApi.getDetailUrl(
+ record.photoId,
+ );
+ setLoading(false);
+
+ const key =
+ CryptoJS.enc.Utf8.parse("cdxbxhs147258369");
+ const encrypted = res?.data ?? "";
+
+ const decrypted = CryptoJS.AES.decrypt(
+ encrypted,
+ key,
+ {
+ mode: CryptoJS.mode.ECB,
+ padding: CryptoJS.pad.Pkcs7,
+ },
+ );
+ const result = CryptoJS.enc.Utf8.stringify(decrypted);
+ window.open(result, "_blank");
+ return;
+ }
+
+ if (!record.url) return;
+ window.open(record.url, "_blank");
+ },
+ };
+ }}
+ />
+ </InfiniteScroll>
+ </div>
+ </Spin>
+ </div>
+ );
+ },
+ ),
+);
+
+export default HotContent;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/svgs/read.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/svgs/read.svg
new file mode 100644
index 00000000..066be90a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContent/svgs/read.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758102669578" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4587" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M979.222 415.474C894.954 332.02 776.31 192.004 509.958 192.004c-266.316 0-384.962 140.016-469.23 223.47-19.86 19.682-30.788 45.784-30.788 73.534 0 27.728 10.93 53.85 30.788 73.51 84.27 83.476 202.896 223.47 469.23 223.47 266.368 0 384.996-139.994 469.264-223.47 19.86-19.66 30.79-45.784 30.79-73.51C1010.01 461.256 999.082 435.156 979.222 415.474zM940.882 524.282C862.556 601.838 756.802 732 509.958 732c-246.81 0-352.564-130.164-430.89-207.718-9.548-9.468-14.8-22.01-14.8-35.276 0-13.288 5.252-25.806 14.8-35.252 78.344-77.578 184.098-207.764 430.89-207.764 246.826 0 352.58 130.186 430.924 207.764 9.55 9.446 14.802 21.966 14.802 35.252C955.684 502.272 950.432 514.812 940.882 524.282zM509.974 335.996c-84.868 0-153.928 68.652-153.928 152.988 0 84.358 69.06 153.01 153.928 153.01 84.872 0 153.93-68.652 153.93-153.01C663.904 404.648 594.846 335.996 509.974 335.996zM509.974 588.008c-54.912 0-99.6-44.428-99.6-99.024 0-54.574 44.69-98.978 99.6-98.978 54.912 0 99.6 44.404 99.6 98.978C609.576 543.58 564.888 588.008 509.974 588.008z" p-id="4588"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentLabel/hotContentLabel.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentLabel/hotContentLabel.module.scss
new file mode 100644
index 00000000..686d5ade
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentLabel/hotContentLabel.module.scss
@@ -0,0 +1,39 @@
+.hotContentLabelWrapper {
+ position: relative;
+
+ :global {
+ .hotContentLabel {
+ display: flex;
+ gap: 10px;
+ flex-wrap: wrap;
+ padding-right: 35px;
+
+ .hotContentLabel-item {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+ padding: 4px 8px;
+ border-radius: 6px;
+
+ .hotContentLabel-icon {
+ width: 18px;
+ border-radius: 3px;
+ margin-right: 4px;
+ }
+
+ &--active {
+ background: var(--colorPrimary1);
+ color: var(--colorPrimary5);
+ }
+ &:hover {
+ color: var(--colorPrimary5);
+ }
+ }
+ }
+ .hotContentLabel-toggle {
+ position: absolute;
+ right: 0;
+ top: 4px;
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentLabel/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentLabel/index.tsx
new file mode 100644
index 00000000..fae79270
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentLabel/index.tsx
@@ -0,0 +1,97 @@
+import {
+ ForwardedRef,
+ forwardRef,
+ memo,
+ useRef,
+ useState,
+ useLayoutEffect,
+ CSSProperties,
+} from "react";
+import styles from "./hotContentLabel.module.scss";
+import { useTransClient } from "@/app/i18n/client";
+
+export interface IHotContentLabelRef {}
+
+export interface IHotContentLabelProps {
+ labels: string[];
+ icons?: string[];
+ value: string;
+ onChange: (label: string) => void;
+ style?: CSSProperties;
+}
+
+const HotContentLabel = memo(
+ forwardRef(
+ (
+ { labels, value, onChange, style, icons }: IHotContentLabelProps,
+ ref: ForwardedRef<IHotContentLabelRef>,
+ ) => {
+ const listRef = useRef<HTMLUListElement>(null);
+ const [expanded, setExpanded] = useState(false);
+ const [showToggle, setShowToggle] = useState(false);
+ const [collapsedHeight, setCollapsedHeight] = useState(0);
+ const [fullHeight, setFullHeight] = useState(0);
+ const { t } = useTransClient("hot-content");
+
+ useLayoutEffect(() => {
+ const ul = listRef.current;
+ if (ul) {
+ const firstLi = ul.querySelector("li");
+ if (firstLi) {
+ const lineHeight = firstLi.getBoundingClientRect().height;
+ setCollapsedHeight(lineHeight);
+ setFullHeight(ul.scrollHeight);
+ setShowToggle(ul.scrollHeight > lineHeight + 2);
+ }
+ }
+ }, [labels]);
+
+ return (
+ <div className={styles.hotContentLabelWrapper} style={style}>
+ <ul
+ className="hotContentLabel"
+ ref={listRef}
+ style={{
+ maxHeight: expanded ? fullHeight : collapsedHeight,
+ overflow: "hidden",
+ transition: "max-height 0.3s cubic-bezier(0.4,0,0.2,1)",
+ }}
+ >
+ {labels.map((label, i) => (
+ <li
+ key={label}
+ className={`hotContentLabel-item ${
+ label === value ? "hotContentLabel-item--active" : ""
+ }`}
+ title={label}
+ onClick={() => onChange(label)}
+ >
+ {icons && icons[i] && (
+ <img
+ src={icons[i]}
+ alt={label}
+ className="hotContentLabel-icon"
+ />
+ )}
+ {label}
+ </li>
+ ))}
+ </ul>
+ {showToggle && (
+ <a
+ className="hotContentLabel-toggle"
+ onClick={(e) => {
+ e.preventDefault();
+ setExpanded((v) => !v);
+ }}
+ >
+ {expanded ? t("collapse") : t("expand")}
+ </a>
+ )}
+ </div>
+ );
+ },
+ ),
+);
+
+export default HotContentLabel;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentSidebar/hotContentSidebar.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentSidebar/hotContentSidebar.module.scss
new file mode 100644
index 00000000..7b9eaa5a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentSidebar/hotContentSidebar.module.scss
@@ -0,0 +1,8 @@
+.hotContentSidebar {
+ height: 100%;
+ :global {
+ .ant-menu {
+ height: 100%;
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentSidebar/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentSidebar/index.tsx
new file mode 100644
index 00000000..5f4f70e3
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotContentSidebar/index.tsx
@@ -0,0 +1,161 @@
+import { ForwardedRef, forwardRef, memo, useEffect, useMemo } from "react";
+import styles from "./hotContentSidebar.module.scss";
+import React from "react";
+import Icon from "@ant-design/icons";
+import { Menu } from "antd";
+import type { GetProp, MenuProps } from "antd";
+import HotContentSvg from "../../svgs/hotContent.svg";
+import HotEventSvg from "../../svgs/hotEvent.svg";
+import HotFeaturesSvg from "../../svgs/hotFeatures.svg";
+import HotTitleSvg from "../../svgs/hotTitle.svg";
+import { HotType } from "@/app/[lng]/hotContent/hotContent.enum";
+import { useShallow } from "zustand/react/shallow";
+import { useHotContent } from "@/app/[lng]/hotContent/useHotContent";
+import { useTransClient } from "@/app/i18n/client";
+
+type MenuItem = GetProp<MenuProps, "items">[number];
+
+export interface IHotContentSidebarRef {}
+
+export interface IHotContentSidebarProps {}
+
+const yikaOss = process.env.NEXT_PUBLIC_YIKA_OSS_HOST;
+
+const HotContentSidebar = memo(
+ forwardRef(
+ ({}: IHotContentSidebarProps, ref: ForwardedRef<IHotContentSidebarRef>) => {
+ const {
+ setHotType,
+ hotType,
+ hotContentPlatformList,
+ twoMenuKey,
+ setTwoMenuKey,
+ init,
+ hotTitlePlatformList,
+ changeHotContentPlatform,
+ } = useHotContent(
+ useShallow((state) => ({
+ setHotType: state.setHotType,
+ hotType: state.hotType,
+ hotContentPlatformList: state.hotContentPlatformList,
+ setTwoMenuKey: state.setTwoMenuKey,
+ twoMenuKey: state.twoMenuKey,
+ init: state.init,
+ hotTitlePlatformList: state.hotTitlePlatformList,
+ changeHotContentPlatform: state.changeHotContentPlatform,
+ })),
+ );
+ const { t } = useTransClient("hot-content");
+
+ const items = useMemo(() => {
+ const items: MenuItem[] = [
+ {
+ key: HotType.hotContent,
+ icon: <Icon component={HotContentSvg} />,
+ label: <b>{t("hotContent")}</b>,
+ children: hotContentPlatformList.map((platform) => ({
+ key: `${HotType.hotContent}_${platform.id}`,
+ label: platform.name,
+ icon: (
+ <img
+ src={`${yikaOss}/${platform.icon}`}
+ style={{ width: "18px" }}
+ />
+ ),
+ })),
+ },
+ {
+ key: HotType.hotEvent,
+ icon: <Icon component={HotEventSvg} />,
+ label: <b>{t("hotEvents")}</b>,
+ },
+ {
+ key: HotType.hotFeatures,
+ icon: <Icon component={HotFeaturesSvg} />,
+ label: <b>{t("hotTopics")}</b>,
+ children: [
+ {
+ key: "AIGC",
+ label: "AIGC",
+ },
+ {
+ key: "短剧",
+ label: t("shortDrama"),
+ },
+ {
+ key: "文旅",
+ label: t("cultureTourism"),
+ },
+ {
+ key: "内容出海",
+ label: t("contentOverseas"),
+ },
+ ],
+ },
+ {
+ key: HotType.hotTitle,
+ icon: <Icon component={HotTitleSvg} />,
+ label: <b>{t("viralTitles")}</b>,
+ children: hotTitlePlatformList.map((platform) => ({
+ key: `${HotType.hotTitle}_${platform.id}`,
+ label: platform.name,
+ icon: (
+ <img
+ src={`${yikaOss}/${platform.icon}`}
+ style={{ width: "18px" }}
+ />
+ ),
+ })),
+ },
+ ];
+ return items;
+ }, [hotContentPlatformList, hotTitlePlatformList, t]);
+
+ useEffect(() => {
+ init();
+ }, [init]);
+
+ return (
+ <div className={styles.hotContentSidebar}>
+ <Menu
+ style={{ width: 180 }}
+ defaultSelectedKeys={[hotType]}
+ defaultOpenKeys={[
+ HotType.hotContent,
+ HotType.hotEvent,
+ HotType.hotFeatures,
+ HotType.hotTitle,
+ ]}
+ selectedKeys={twoMenuKey ? [twoMenuKey, hotType] : [hotType]}
+ onClick={(e) => {
+ const hotType = e["keyPath"][e["keyPath"].length - 1] as HotType;
+ // 热门内容分类设置
+ setHotType(hotType);
+
+ switch (hotType) {
+ case HotType.hotContent:
+ changeHotContentPlatform(e.key);
+ break;
+ case HotType.hotTitle:
+ changeHotContentPlatform(e.key);
+ break;
+ }
+
+ if (e.keyPath.length === 2) {
+ // 侧边栏二级菜单选择
+ setTwoMenuKey(e.key);
+ } else {
+ setTwoMenuKey("");
+ }
+ }}
+ items={items}
+ mode="inline"
+ inlineIndent={10}
+ />
+ </div>
+ );
+ },
+ ),
+);
+
+export default HotContentSidebar;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/echart/drawHotEventEchartLine.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/echart/drawHotEventEchartLine.ts
new file mode 100644
index 00000000..62942344
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/echart/drawHotEventEchartLine.ts
@@ -0,0 +1,76 @@
+import * as echarts from "echarts";
+import { HotValueHistory } from "@/api/types/hotTopic";
+import { describeNumber } from "@/utils";
+import { directTrans } from "@/app/i18n/client";
+
+type EChartsOption = echarts.EChartsOption;
+
+export default function drawHotEventEchartLine(
+ elId: string,
+ data: HotValueHistory[],
+) {
+ if (!data || data.length === 0) return;
+
+ const chartDom = document.getElementById(elId)!;
+ if (!chartDom) return;
+ if (echarts.getInstanceByDom(chartDom)) {
+ echarts.dispose(chartDom);
+ }
+ const myChart = echarts.init(chartDom);
+
+ // 只有一个点时,设置上下各留 50% 空间
+ let yMin, yMax;
+ if (data.length === 1) {
+ const v = data[0].hotValue;
+ yMin = v * 0.5;
+ yMax = v * 1.5;
+ }
+
+ // 处理每个点的颜色
+ const seriesData = data.map((item) => {
+ if (item.hotValue === null || item.hotValue === undefined) {
+ return {
+ value: null,
+ itemStyle: { color: "#a66ae4" },
+ };
+ }
+ return item.hotValue;
+ });
+
+ const option: EChartsOption = {
+ grid: { left: 0, right: 0, top: 0, bottom: 0, containLabel: false },
+ tooltip: {
+ appendTo: "body",
+ trigger: "axis",
+ show: true,
+ formatter: (params: any) => {
+ const item = params[0];
+ return `${item.axisValue}<br/>${directTrans("hot-content", "hotValue")}: ${describeNumber(item.data)}`;
+ },
+ },
+ xAxis: {
+ type: "category",
+ data: data.map((item) => item.updateTime),
+ show: false,
+ boundaryGap: false,
+ },
+ yAxis: {
+ type: "value",
+ show: false,
+ min: yMin,
+ max: yMax,
+ },
+ series: [
+ {
+ type: "line",
+ data: seriesData,
+ smooth: true,
+ symbol: data.length === 1 ? "circle" : "none",
+ symbolSize: 6,
+ lineStyle: { width: 2, color: "#a66ae4" },
+ },
+ ],
+ };
+
+ myChart.setOption(option);
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/hotEvent.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/hotEvent.module.scss
new file mode 100644
index 00000000..1cdfedf7
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/hotEvent.module.scss
@@ -0,0 +1,95 @@
+.hotEvent {
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ :global {
+ .hotEvent-item {
+ width: calc(50% - 15px);
+ margin-bottom: 30px;
+ .anticon {
+ font-size: 20px;
+ margin-right: 8px;
+ }
+ &-head {
+ box-sizing: border-box;
+ padding: 0 15px;
+ height: 45px;
+ line-height: 45px;
+ border-radius: 10px 10px 0 0;
+ }
+ }
+ }
+}
+
+.hotEvent-item-content {
+ :global {
+ .ant-table-body {
+ scrollbar-width: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+ }
+ thead {
+ .ant-table-cell {
+ background: #fff !important;
+ padding: 8px 10px !important;
+ font-weight: 400 !important;
+ font-size: var(--fs-xs) !important;
+ color: var(--grayColor7) !important;
+ border: none !important;
+ &:before {
+ display: none !important;
+ }
+ }
+ }
+ tbody {
+ .ant-table-cell {
+ padding: 10px !important;
+ border: none !important;
+ }
+ tr {
+ cursor: pointer;
+ }
+ }
+ }
+}
+
+.hotEventTitle {
+ @include omitText(1);
+ &:hover {
+ color: var(--colorPrimary5);
+ }
+}
+
+.ranking {
+ position: relative;
+ display: flex;
+ align-items: center;
+ :global {
+ .rankingTopthree-rise, .rankingTopthree-fall {
+ position: absolute;
+ display: flex;
+ align-items: center;
+ top: 50%;
+ right: 0;
+ transform: translate(40%, -50%);
+ .anticon {
+ font-size: 12px;
+ }
+ }
+ .rankingTopthree-name {
+ position: relative;
+ left: -10px;
+ font-size: var(--fs-xs);
+ }
+ .rankingTopthree-rise {
+ color: var(--error-color);
+ }
+ .rankingTopthree-fall {
+ color: var(--success-color);
+ .anticon {
+ transform: rotate(180deg);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/index.tsx
new file mode 100644
index 00000000..b482585d
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/index.tsx
@@ -0,0 +1,225 @@
+import {
+ ForwardedRef,
+ forwardRef,
+ memo,
+ useCallback,
+ useEffect,
+ useState,
+} from "react";
+import styles from "./hotEvent.module.scss";
+import { Platform, platformApi } from "@/api/hot";
+import { HotTopic, HotValueHistory } from "@/api/types/hotTopic";
+import KwaiSvg from "./svgs/kwai.svg";
+import XhsSvg from "./svgs/xhs.svg";
+import BaiduSvg from "./svgs/baidu.svg";
+import DouyinSvg from "./svgs/douyin.svg";
+import TaotiaoSvg from "./svgs/totiao.svg";
+import WeiboSvg from "./svgs/weibo.svg";
+import ZhihuSvg from "./svgs/zhihu.svg";
+import BiblSvg from "./svgs/bibl.svg";
+import Icon from "@ant-design/icons";
+import { Spin, Table, type TableProps } from "antd";
+import { describeNumber } from "@/utils";
+import hotContentStyles from "../HotContent/hotContent.module.scss";
+import drawHotEventEchartLine from "@/app/[lng]/hotContent/components/HotEvent/echart/drawHotEventEchartLine";
+import Uparrow from "../../svgs/uparrow.svg";
+import { useTransClient } from "@/app/i18n/client"; // 新增
+
+const material = [
+ {
+ icon: XhsSvg,
+ back: "linear-gradient(127deg, rgba(255, 38, 82, 0.1) 0%, rgba(255, 126, 140, 0.1) 100%)",
+ },
+ {
+ icon: DouyinSvg,
+ back: "linear-gradient(127deg, rgba(90, 246, 242, 0.1) 0%, rgba(254, 44, 85, 0.1) 100%)",
+ },
+ {
+ icon: KwaiSvg,
+ back: "linear-gradient(127deg, rgba(255, 121, 2, 0.1) 0%, rgba(255, 216, 181, 0.1) 100%)",
+ },
+ {
+ icon: BiblSvg,
+ back: "linear-gradient(127deg, rgba(90, 246, 242, 0.1) 0%, rgba(254, 44, 85, 0.1) 100%)",
+ },
+ {
+ icon: WeiboSvg,
+ back: "linear-gradient(127deg, rgba(90, 246, 242, 0.1) 0%, rgba(254, 44, 85, 0.1) 100%)",
+ },
+ {
+ icon: BaiduSvg,
+ back: "linear-gradient(127deg, rgba(255, 121, 35, 0.1) 0%, rgba(255, 72, 20, 0.1) 100%)",
+ },
+ {
+ icon: TaotiaoSvg,
+ back: "linear-gradient(127deg, rgba(90, 246, 242, 0.1) 0%, rgba(254, 44, 85, 0.1) 100%)",
+ },
+
+ {
+ icon: ZhihuSvg,
+ back: "linear-gradient(127deg, rgba(90, 246, 242, 0.1) 0%, rgba(254, 44, 85, 0.1) 100%)",
+ },
+];
+
+export interface IHotEventRef {}
+
+export interface IHotEventProps {}
+
+const HotTrendLine: React.FC<{ id: string; data: HotValueHistory[] }> = ({
+ id,
+ data,
+}) => {
+ useEffect(() => {
+ drawHotEventEchartLine(id, data);
+ }, [id, data]);
+
+ return <div id={id} style={{ width: "180px", height: "25px" }}></div>;
+};
+
+const HotEvent = memo(
+ forwardRef(({}: IHotEventProps, ref: ForwardedRef<IHotEventRef>) => {
+ const [data, setData] = useState<
+ {
+ platform: Platform;
+ topics: HotTopic[];
+ }[]
+ >([]);
+ const [loading, setLoading] = useState(false);
+ const { t } = useTransClient("hot-content"); // 新增
+
+ const getData = useCallback(async () => {
+ setLoading(true);
+ const res = await platformApi.getAllHotTopics();
+ setLoading(false);
+ setData(res?.data ?? []);
+ }, []);
+
+ useEffect(() => {
+ getData();
+ }, []);
+
+ const getColumns = useCallback(
+ (hotTopic: HotTopic[]) => {
+ const columns: TableProps<HotTopic>["columns"] = [
+ {
+ title: t("rank"),
+ width: 60,
+ render: (text, data, ind) => (
+ <div className={styles.ranking}>
+ {ind <= 2 ? (
+ <div
+ className={hotContentStyles.rankingTopthree}
+ style={{
+ width: "20px",
+ height: "20px",
+ lineHeight: "20px",
+ }}
+ >
+ {ind + 1}
+ </div>
+ ) : (
+ <p style={{ width: "20px", textAlign: "center" }}>
+ {ind + 1}
+ </p>
+ )}
+
+ {!data.rankChange ? null : data.rankChange > 0 ? (
+ <p className="rankingTopthree-rise">
+ <Icon component={Uparrow} />
+ <span className="rankingTopthree-name">
+ {data.rankChange}
+ </span>
+ </p>
+ ) : (
+ <p className="rankingTopthree-fall">
+ <Icon component={Uparrow} />
+ <span className="rankingTopthree-name">
+ {Math.abs(data.rankChange)}
+ </span>
+ </p>
+ )}
+ </div>
+ ),
+ },
+ {
+ title: t("hotEvents"),
+ render: (text, record) => {
+ return (
+ <span
+ className={styles.hotEventTitle}
+ title={record.title}
+ onClick={() => {
+ if (!record.url) return;
+ window.open(record.url, "_blank");
+ }}
+ >
+ {record.title}
+ </span>
+ );
+ },
+ },
+ {
+ width: 120,
+ title: t("hotValue"),
+ align: "center",
+ render: (text, record) => {
+ return (
+ <span style={{ fontFamily: "DIN" }}>
+ {describeNumber(record.hotValue)}
+ </span>
+ );
+ },
+ },
+
+ ...(hotTopic[0]?.hotValueHistory?.length >= 1
+ ? [
+ {
+ width: 200,
+ title: t("hotTrend"),
+ render: (text: string, record: HotTopic) => (
+ <HotTrendLine
+ id={record._id}
+ data={record.hotValueHistory}
+ />
+ ),
+ },
+ ]
+ : []),
+ ];
+ return columns;
+ },
+ [t],
+ );
+
+ return (
+ <Spin spinning={loading} style={{ minHeight: "60vh" }}>
+ <div className={styles.hotEvent}>
+ {data.map(({ platform, topics }, i) => {
+ return (
+ <div className="hotEvent-item" key={platform.id}>
+ <div
+ className="hotEvent-item-head"
+ style={{ background: material[i].back }}
+ >
+ <Icon component={material[i].icon} /> {platform.name} ·{" "}
+ {t("hot")}
+ </div>
+ <div className={styles["hotEvent-item-content"]}>
+ <Table
+ dataSource={topics}
+ columns={getColumns(topics)}
+ rowKey={(record) => record._id}
+ pagination={false}
+ scroll={{ y: 400 }}
+ />
+ </div>
+ </div>
+ );
+ })}
+ </div>
+ </Spin>
+ );
+ }),
+);
+
+export default HotEvent;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/baidu.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/baidu.svg
new file mode 100644
index 00000000..30c05a26
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/baidu.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.27" height="20.681" viewBox="0 0 22.27 20.681"><defs><linearGradient id="icon-baidu_svg__a" x1="1" y1="0.95" x2="0" y2="0.055" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#6e87ef"></stop><stop offset="1" stop-color="#4e6ef2"></stop></linearGradient></defs><g data-name="\u7EC4 77946"><path data-name="\u8054\u5408 533" d="M3.005 20.681a1 1 0 0 1-1-1v-7.8a.5.5 0 0 1-.145-.07l-1.522-1.06a.5.5 0 0 1 0-.821L1.86 8.871a.506.506 0 0 1 .145-.07V1a1 1 0 0 1 1-1h19.39v20.681Z" transform="rotate(180 11.197 10.34)" fill="url(#icon-baidu_svg__a)"></path><g data-name="\u7EC4 64190"><path data-name="\u77E9\u5F62 19598" fill="none" d="M3.796 3.991h13.062v13.062H3.796z"></path><path data-name="\u8DEF\u5F84 33700" d="M6.169 10.314c1.305-.28 1.127-1.84 1.087-2.181-.064-.526-.682-1.445-1.521-1.372-1.056.095-1.211 1.621-1.211 1.621-.142.705.342 2.212 1.644 1.932Zm1.385 2.712a1.109 1.109 0 0 0-.05.634.72.72 0 0 0 .621.572h.683v-1.67h-.731a.8.8 0 0 0-.523.464ZM8.59 7.7c.722 0 1.3-.83 1.3-1.855s-.579-1.854-1.3-1.854-1.3.83-1.3 1.854S7.874 7.7 8.59 7.7Zm3.1.122c.963.125 1.583-.9 1.705-1.683a1.751 1.751 0 0 0-1.176-1.836c-.683-.157-1.536.937-1.614 1.651-.093.873.124 1.744 1.086 1.868Zm2.36 4.58a13.273 13.273 0 0 1-2.36-2.4 1.918 1.918 0 0 0-3.415-.156 7.76 7.76 0 0 1-1.55 1.682c-.125.155-1.8 1.058-1.428 2.709a1.8 1.8 0 0 0 1.678 1.619 7.319 7.319 0 0 0 2.079-.155 4.367 4.367 0 0 1 2.078.062s2.609.873 3.322-.809a2.1 2.1 0 0 0-.4-2.555Zm-4.464 2.5h-1.7a1.492 1.492 0 0 1-1.062-.731 1.936 1.936 0 0 1-.125-1.17 1.488 1.488 0 0 1 1.219-1.1h.9v-1.11l.769.012v4.1Zm3.159-.012h-1.948c-.757-.195-.792-.732-.792-.732v-2.156l.792-.011v1.937c.048.206.306.245.306.245h.8v-2.171h.843v2.889Zm2.762-5.763a1.51 1.51 0 0 0-1.458-1.5c-1.151 0-1.3 1.059-1.3 1.808 0 .715.061 1.713 1.489 1.68s1.274-1.611 1.274-1.985Z" fill="#fff"></path></g></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/bibl.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/bibl.svg
new file mode 100644
index 00000000..1d96864a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/bibl.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.27" height="20.681" viewBox="0 0 22.27 20.681"><defs><linearGradient id="icon-bilibili_svg__a" x1="1" y1="0.98" x2="-0.289" y2="-0.286" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#f38ab3"></stop><stop offset="1" stop-color="#f06198"></stop></linearGradient></defs><g data-name="\u7EC4 77944"><path data-name="\u8054\u5408 533" d="M3.005 20.681a1 1 0 0 1-1-1v-7.8a.5.5 0 0 1-.145-.07l-1.522-1.06a.5.5 0 0 1 0-.821L1.86 8.871a.506.506 0 0 1 .145-.07V1a1 1 0 0 1 1-1h19.39v20.681Z" transform="rotate(180 11.197 10.34)" fill="url(#icon-bilibili_svg__a)"></path><g data-name="\u7EC4 64190"><path data-name="\u77E9\u5F62 19598" fill="none" d="M3 4.182h13.062v13.062H3z"></path><path data-name="\u8DEF\u5F84 33695" d="M13.662 9.673a2.987 2.987 0 0 1 .331-.036 6.213 6.213 0 0 1 .111.942c-.033.006-.268.06-.268.06-.018-.123-.172-.888-.175-.966m.452-.087.123.978c.063 0 .319-.021.343-.024-.036-.37-.1-.954-.1-.954a.942.942 0 0 0-.367 0m-.242 1.357a2.136 2.136 0 0 1 .759-.072c.1.37.289 2.447.307 2.532-.126.015-.542.051-.575.06-.027-.157-.491-2.42-.491-2.52m2.062-1.246a3.248 3.248 0 0 1 .331-.009 7.687 7.687 0 0 1 0 .948L16 10.66c-.006-.12-.072-.882-.066-.963m.455-.024.024.966c.063 0 .316.015.343.012-.006-.37 0-.954 0-.954a1.663 1.663 0 0 0-.367-.024M16 10.97a2.172 2.172 0 0 1 .762.015c.042.433.036 2.453.042 2.538-.129 0-.542.006-.575.012-.006-.157-.238-2.465-.229-2.565m-1.323-2.483c.328 1.674.578 4.533.587 4.717 0 0 .259.006.551.024-.172-1.8-.382-4.684-.379-4.777-.072-.081-.759.036-.759.036m-.722 3.958c-.063-.47-1.743-1-2.688-.831 0 0-.117-1.036-.163-2.038a21.88 21.88 0 0 1 .003-1.84A7.131 7.131 0 0 0 10 8.155a43.451 43.451 0 0 1 .759 5.72 5.178 5.178 0 0 0 1.382-.114c.873-.169 1.905-.7 1.818-1.315m-2.059.845-.146-1.063a7.694 7.694 0 0 1 1.039.379 9.682 9.682 0 0 1-.891.683M6.667 9.673A2.987 2.987 0 0 1 7 9.636a6.213 6.213 0 0 1 .111.942c-.033.006-.268.06-.268.06-.018-.123-.172-.888-.175-.966m.452-.087.123.978c.063 0 .319-.021.343-.024l-.1-.954a.942.942 0 0 0-.367 0m-.245 1.358a2.136 2.136 0 0 1 .759-.072c.1.37.289 2.447.307 2.532-.126.015-.542.051-.575.06-.027-.157-.491-2.42-.491-2.52m2.062-1.246a3.248 3.248 0 0 1 .331-.009 7.686 7.686 0 0 1 0 .948L9 10.66c0-.124-.067-.882-.064-.963m.455-.024.024.966c.063 0 .316.015.343.012-.006-.37 0-.954 0-.954a1.868 1.868 0 0 0-.367-.024M9 10.97a2.172 2.172 0 0 1 .762.015c.042.433.036 2.453.042 2.538-.129 0-.542.006-.575.012 0-.157-.238-2.465-.229-2.565M7.681 8.487c.328 1.674.578 4.533.587 4.717 0 0 .259.006.551.024a179.537 179.537 0 0 1-.379-4.781c-.072-.078-.759.039-.759.039m-.723 3.959c-.063-.47-1.743-1-2.688-.831 0 0-.117-1.036-.163-2.038a20.414 20.414 0 0 1 .004-1.84A7.467 7.467 0 0 0 3 8.155a43.451 43.451 0 0 1 .759 5.72 5.178 5.178 0 0 0 1.381-.114c.873-.169 1.905-.7 1.818-1.315m-2.053.846-.147-1.064a7.694 7.694 0 0 1 1.042.38 9.682 9.682 0 0 1-.891.683" fill="#fff"></path></g></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/douyin.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/douyin.svg
new file mode 100644
index 00000000..63eba83a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/douyin.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.155" height="20.5" viewBox="0 0 22.155 20.5"><defs><style>.icon-douyin_svg__d{fill:#00faf0}.icon-douyin_svg__e{fill:#ff0050}</style></defs><path d="M2.839 18.982a1 1 0 0 1-1-1v-7.1a.5.5 0 0 1-.189-.08L.343 9.9a.5.5 0 0 1 0-.824l1.307-.9a.5.5 0 0 1 .189-.08V1a1 1 0 0 1 1-1h17.924v18.982Z" transform="rotate(180 10.382 9.49)" style="fill: rgb(37, 244, 238);"></path><path d="M2.839 18.982a1 1 0 0 1-1-1v-7.1a.5.5 0 0 1-.189-.08L.343 9.9a.5.5 0 0 1 0-.824l1.307-.9a.5.5 0 0 1 .189-.08V1a1 1 0 0 1 1-1h17.924v18.982Z" transform="rotate(180 11.141 10.25)" style="fill: rgb(254, 44, 85);"></path><path d="M18.684.758a1 1 0 0 1 1 1v7.1a.5.5 0 0 1 .189.08l1.307.902a.5.5 0 0 1 0 .824l-1.307.9a.5.5 0 0 1-.189.08v7.096a1 1 0 0 1-1 1H.76V.758Z"></path><path d="M0 0h13.062v13.062H0z" transform="translate(3.266 3.991)" style="fill: none;"></path><path class="icon-douyin_svg__d" d="M9.026 9.549v-.354a3.114 3.114 0 0 0-.374-.025 2.771 2.771 0 0 0-1.591 5.042 2.752 2.752 0 0 1-.744-1.886 2.783 2.783 0 0 1 2.709-2.777Z"></path><path class="icon-douyin_svg__d" d="M9.09 13.582a1.264 1.264 0 0 0 1.261-1.216V6.334h1.1a1.954 1.954 0 0 1-.035-.384H9.913v6.032a1.264 1.264 0 0 1-1.261 1.216 1.233 1.233 0 0 1-.586-.148 1.256 1.256 0 0 0 1.024.532ZM13.518 8.383v-.335a2.078 2.078 0 0 1-1.143-.34 2.141 2.141 0 0 0 1.143.675Z"></path><path class="icon-douyin_svg__e" d="M12.381 7.708a2.088 2.088 0 0 1-.517-1.374h-.4a2.119 2.119 0 0 0 .917 1.374ZM8.652 10.672a1.263 1.263 0 0 0-.586 2.383 1.262 1.262 0 0 1 1.025-2 1.192 1.192 0 0 1 .374.059v-1.54a3.12 3.12 0 0 0-.374-.025h-.065v1.182a1.17 1.17 0 0 0-.374-.059Z"></path><path class="icon-douyin_svg__e" d="M13.519 8.382v1.172a3.577 3.577 0 0 1-2.094-.675v3.058a2.769 2.769 0 0 1-4.36 2.27 2.772 2.772 0 0 0 4.8-1.886V9.263a3.588 3.588 0 0 0 2.094.675V8.431a2.6 2.6 0 0 1-.44-.049Z"></path><path d="M6.754 7.149V4.091a3.588 3.588 0 0 0 2.094.675V3.594a2.123 2.123 0 0 1-1.143-.674 2.072 2.072 0 0 1-.916-1.374h-1.1v6.031a1.264 1.264 0 0 1-1.265 1.217A1.251 1.251 0 0 1 3.4 8.267a1.263 1.263 0 0 1 .586-2.383 1.192 1.192 0 0 1 .374.059V4.761a2.773 2.773 0 0 0-2.7 2.767 2.743 2.743 0 0 0 .74 1.886 2.766 2.766 0 0 0 4.354-2.265Z" transform="translate(4.67 4.788)" style="fill: rgb(255, 255, 255);"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/kwai.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/kwai.svg
new file mode 100644
index 00000000..a4ffc999
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/kwai.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.136" height="20.5" viewBox="0 0 22.136 20.5"><defs><linearGradient id="icon-ks_svg__a" x1="1" y1="0.98" x2="-0.289" y2="-0.286" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ff7800"></stop><stop offset="1" stop-color="#fff"></stop></linearGradient><clipPath id="icon-ks_svg__b"><path d="M0 0h13.062v13.062H0z" style="fill: rgb(255, 255, 255);"></path></clipPath><filter id="icon-ks_svg__c" x="-6.259" y="-6.911" width="33.018" height="34.143" filterUnits="userSpaceOnUse"><feOffset></feOffset><feGaussianBlur stdDeviation="4" result="d"></feGaussianBlur><feFlood flood-color="#a83e01" flood-opacity="0.302"></feFlood><feComposite operator="in" in2="d"></feComposite><feComposite in="SourceGraphic"></feComposite></filter></defs><path d="M2.991 20.5a1 1 0 0 1-1-1v-7.725a.5.5 0 0 1-.148-.071l-1.5-1.043a.5.5 0 0 1 0-.821L1.842 8.8a.5.5 0 0 1 .148-.071V1a1 1 0 0 1 1-1h19.27v20.5Z" transform="rotate(180 11.13 10.25)" style="fill: url(&quot;#icon-ks_svg__a&quot;);"></path><g transform="translate(3.628 3.628)" style="clip-path: url(&quot;#icon-ks_svg__b&quot;);"><path transform="rotate(2 -7.706 2.078)" d="M0 0h12.919v12.919H0z" style="fill: none;"></path><g style="filter: url(&quot;#icon-ks_svg__c&quot;);"><path d="M6.414 5.664a1.6 1.6 0 0 1 1.6 1.594v1.266a1.6 1.6 0 0 1-1.6 1.594H4.056a1.6 1.6 0 0 1-1.524-1.1l-1.4.7a.78.78 0 0 1-1.05-.342A.77.77 0 0 1 0 9.029V6.758a.779.779 0 0 1 1.13-.69l1.4.7a1.6 1.6 0 0 1 1.526-1.104h2.358Zm-.01.821H4.08a.8.8 0 0 0-.8.784V8.5a.8.8 0 0 0 .789.8h2.322a.8.8 0 0 0 .8-.784V7.281a.8.8 0 0 0-.788-.8Zm-5.367.494a.212.212 0 0 0-.212.207v1.427a.213.213 0 0 0 .305.19l1.319-.669V7.66L1.133 7a.213.213 0 0 0-.1-.023ZM3 .975a2.171 2.171 0 0 1 1.893 1.1 1.851 1.851 0 1 1-.239 2.449A2.164 2.164 0 1 1 3 .975Zm0 .867a1.29 1.29 0 1 0 1.3 1.29A1.293 1.293 0 0 0 3 1.842Zm3.16.61a.985.985 0 1 0 .991.985.987.987 0 0 0-.991-.985Z" transform="translate(2.61 .98)" style="stroke: transparent; stroke-miterlimit: 10; fill-rule: evenodd; fill: rgb(255, 255, 255);"></path></g></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/totiao.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/totiao.svg
new file mode 100644
index 00000000..ff3c1c44
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/totiao.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.27" height="20.681" viewBox="0 0 22.27 20.681"><defs><linearGradient id="icon-toutiao_svg__a" x1="1" y1="0.98" x2="-0.289" y2="-0.286" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ee6b6b"></stop><stop offset="1" stop-color="#f04142"></stop></linearGradient></defs><g data-name="\u7EC4 77945"><path data-name="\u8054\u5408 533" d="M3.005 20.681a1 1 0 0 1-1-1v-7.8a.5.5 0 0 1-.145-.07l-1.522-1.06a.5.5 0 0 1 0-.821L1.86 8.871a.506.506 0 0 1 .145-.07V1a1 1 0 0 1 1-1h19.39v20.681Z" transform="rotate(180 11.197 10.34)" fill="url(#icon-toutiao_svg__a)"></path><g data-name="\u7EC4 77948" fill="#fff"><path data-name="\u8DEF\u5F84 33696" d="M13.416 11.667h-.049c-.04.027-.142 0-.2 0a1.888 1.888 0 0 0-.547.053 1.848 1.848 0 0 1 .218.391c.12.2.258.4.373.6a4.085 4.085 0 0 0 .658-.04h.187a10.969 10.969 0 0 0-.6-1.009Zm-3.56-2.1a2.559 2.559 0 0 1 .444.173c.093 0 .107-.116.147-.187.111-.169.24-.347.351-.52a4.033 4.033 0 0 0 .733-.031h.267a3.669 3.669 0 0 0 .444-.04c.236-.053.524.027.738-.044a.169.169 0 0 1 0 .093c-.044.089-.222.116-.311.16l-.64.329a1.363 1.363 0 0 0-.258.12 2.173 2.173 0 0 1-.587-.218 1.088 1.088 0 0 1-.369-.12c-.1.027-.262.382-.347.471 0 .084.444.2.533.24-.311.147-.609.324-.924.444-.062.027-.187 0-.24.027h-.176a2.181 2.181 0 0 0 0 .538l.564-.027a1.655 1.655 0 0 0 .173-.093c.249-.107.476-.231.711-.347a3.428 3.428 0 0 0 .6-.3 1.911 1.911 0 0 1 .484.173c.2.08.4.116.6.2s.3.133.444.187l.609-.022a1.779 1.779 0 0 0 0-.533l-.4.031a4.715 4.715 0 0 1-.471-.187 2.388 2.388 0 0 1-.48-.173l1.333-.658a4.725 4.725 0 0 0 0-.938c-.658.053-1.28.08-1.973.12a2.89 2.89 0 0 1-.733.027l-.631-.307c-.178.293-.382.578-.56.889a1.78 1.78 0 0 1-.271.444c.014.055.116.05.196.077Zm1.142 2.231c-.049.036-.142 0-.213 0a4.69 4.69 0 0 0-.564.053c-.1.053-.089.169-.133.24a5.6 5.6 0 0 0-.28.511c-.049.08-.067.191-.138.253a.062.062 0 0 1 0 .04l.822-.04c.129-.249.271-.507.4-.751a1.515 1.515 0 0 1 .138-.267c-.005-.03-.005-.014-.032-.041Zm-2.369-.129-.889.044a1.245 1.245 0 0 0 .2.4c.151.3.307.582.444.889l.564-.027a.826.826 0 0 0 .329-.027c.027-.08-.124-.258-.164-.329-.177-.334-.315-.654-.484-.952Z"></path><path data-name="\u8DEF\u5F84 33697" d="M13.847 11.494v-.529c-.609 0-1.1.089-1.684.084v-.271a2.58 2.58 0 0 0-.524.027 1.107 1.107 0 0 0-.271 0h-.022a.925.925 0 0 1 0 .271l-1.676.089v.538a3.015 3.015 0 0 0 .564-.036c.164-.036.347 0 .493-.027s.391.036.493-.027h.138v.8a1.334 1.334 0 0 0 0 .373c.209-.022.542-.04.791-.053v-.8a1.472 1.472 0 0 1 .04-.342c.56 0 1.107-.058 1.644-.093Zm-7.471.12h.267a.849.849 0 0 0-.147.187c-.107.147-.222.293-.329.444a1.24 1.24 0 0 0-.218.284 5.458 5.458 0 0 0-.747.062h-.178v.538a3.59 3.59 0 0 0 .724-.053 1.662 1.662 0 0 1 .3 0c.138-.027.382.036.484-.027a1.88 1.88 0 0 0 .347-.444c.258-.351.6-.7.831-1.071.267 0 .636 0 1.236-.04a1.371 1.371 0 0 0 .227 0 1.849 1.849 0 0 0 0-.542l-.987.053v-1.62a2.893 2.893 0 0 0 0-.733h-.36a.961.961 0 0 0-.227 0 1.006 1.006 0 0 0-.231 0v1.609a2.929 2.929 0 0 1 0 .738l-2.373.133v.538a5.56 5.56 0 0 0 .942-.053c.145-.007.328.051.439-.003Z"></path><path data-name="\u8DEF\u5F84 33698" d="M14.167 5.001H4.833A1.333 1.333 0 0 0 3.5 6.334v9.333a1.333 1.333 0 0 0 1.333 1.334h9.333a1.333 1.333 0 0 0 1.334-1.333V6.334a1.333 1.333 0 0 0-1.333-1.333Zm.609 8.48-10.534.64v-6.32l10.52-.636Z"></path><path data-name="\u8DEF\u5F84 33699" d="M5.54 9.228a4.244 4.244 0 0 0 .444.551.351.351 0 0 0 .213 0h.689c0-.129-.124-.187-.187-.267-.138-.209-.324-.373-.444-.578l-.658.04h-.276c.037.094.152.169.219.254Zm.444 1.582v.027a.888.888 0 0 0 .267 0l.618-.058c0-.093-.111-.142-.16-.213l-.307-.413c-.049-.067-.133-.12-.164-.2a1.977 1.977 0 0 0-.56.031.747.747 0 0 0-.244 0 .253.253 0 0 0-.116 0c.124.2.329.369.444.56.067.093.124.24.222.271Z"></path></g></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/weibo.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/weibo.svg
new file mode 100644
index 00000000..590ab6c4
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/weibo.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.27" height="20.681" viewBox="0 0 22.27 20.681"><defs><linearGradient id="icon-weibo_svg__a" x1="1" y1="0.98" x2="-0.289" y2="-0.286" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ff7b23"></stop><stop offset="1" stop-color="#ff330e"></stop></linearGradient><style>.icon-weibo_svg__c{fill:#fff}</style></defs><path d="M3.005 20.681a1 1 0 0 1-1-1v-7.8a.5.5 0 0 1-.145-.07l-1.522-1.06a.5.5 0 0 1 0-.821L1.86 8.871a.506.506 0 0 1 .145-.07V1a1 1 0 0 1 1-1h19.39v20.681Z" transform="rotate(180 11.197 10.34)" style="fill: url(&quot;#icon-weibo_svg__a&quot;);"></path><path transform="translate(3.796 3.991)" d="M0 0h13.062v13.062H0z" style="fill: none;"></path><path class="icon-weibo_svg__c" d="M13.564 11.35a1.419 1.419 0 0 0-1.016-.909c-.149-.014-.284-.1-.185-.27a.889.889 0 0 0-.07-1.036c-.351-.358-1.118-.223-1.661.008s-.512.07-.5-.088.309-1.1-.584-1.212c-1.17-.147-2.672 1.337-3.2 2.192a3.543 3.543 0 0 0-.675 2.163h.005c.1 1.206 1.83 2.167 3.955 2.167 1.828 0 3.367-.711 3.822-1.678a.06.06 0 0 1 .006-.011 1.472 1.472 0 0 0 .106-.319 1.866 1.866 0 0 0-.003-1.007Zm-4.189 2.487c-1.513 0-2.74-.833-2.74-1.859s1.226-1.859 2.74-1.859 2.74.833 2.74 1.859-1.228 1.859-2.741 1.859ZM13.101 9.718a.2.2 0 0 0 .086.019.221.221 0 0 0 .2-.14 1.135 1.135 0 0 0 .086-.438 1.11 1.11 0 0 0-1.1-1.12 1.07 1.07 0 0 0-.425.089.232.232 0 0 0-.118.3.222.222 0 0 0 .289.123.641.641 0 0 1 .253-.053.668.668 0 0 1 .6.925.228.228 0 0 0 .118.3Z"></path><path class="icon-weibo_svg__c" d="M12.372 6.638a2.542 2.542 0 0 0-.734.108.344.344 0 0 0-.225.425.333.333 0 0 0 .41.233h.005a1.879 1.879 0 0 1 .543-.08 1.927 1.927 0 0 1 1.9 1.947 2.041 2.041 0 0 1-.081.566.343.343 0 0 0 .222.425.323.323 0 0 0 .1.014.337.337 0 0 0 .32-.242 2.7 2.7 0 0 0 .11-.764 2.606 2.606 0 0 0-2.571-2.631ZM9.124 10.798a1.318 1.318 0 1 0 1.461 1.31 1.391 1.391 0 0 0-1.461-1.31Zm-.477 2.161a.525.525 0 1 1 .512-.537v.012a.519.519 0 0 1-.513.525Zm.958-.945a.2.2 0 0 1-.271.1.217.217 0 0 1-.052-.3.205.205 0 0 1 .271-.1.218.218 0 0 1 .05.3Z"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/xhs.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/xhs.svg
new file mode 100644
index 00000000..5d30c15e
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/xhs.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="22.27" height="20.681" viewBox="0 0 22.27 20.681"><defs><linearGradient id="icon-xhs_svg__a" x1="1" y1="0.98" x2="-0.289" y2="-0.286" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ff2451"></stop><stop offset="1" stop-color="#ffa5a5"></stop></linearGradient><style>.icon-xhs_svg__b{fill:none}</style></defs><path d="M3.005 20.681a1 1 0 0 1-1-1v-7.8a.5.5 0 0 1-.145-.07l-1.522-1.06a.5.5 0 0 1 0-.821L1.86 8.871a.506.506 0 0 1 .145-.07V1a1 1 0 0 1 1-1h19.39v20.681Z" transform="rotate(180 11.197 10.34)" style="fill: url(&quot;#icon-xhs_svg__a&quot;);"></path><path class="icon-xhs_svg__b" d="M2.54 2.902h15.965v15.965H2.54z"></path><g transform="translate(2.625 2.987)"><rect class="icon-xhs_svg__b" width="15.005" height="15.005" rx="2"></rect><path d="M128.219 378.663a6.3 6.3 0 0 1-.11 1.979 1.285 1.285 0 0 1-.11.44s.165.33.55.934c.715-.6.66-3.353.66-3.353Zm4.4 2.034a8.267 8.267 0 0 1-.111-1.979h-.988s-.111 2.748.659 3.353a5.78 5.78 0 0 1 .55-.934c-.057-.111-.057-.275-.112-.437Zm-2.748 1.044h-.66l.33.77h.879c.33 0 .44-.6.44-.6v-4.451h-.99v4.287Zm4.451-1.264.825-1.649h-.825l.5-1.374h-.934l-.716 1.814a.242.242 0 0 0 .219.33h.5l-.55 1.264a.242.242 0 0 0 .219.33h1.209l.275-.716h-.713Zm-1.154 1.155-.5.88h1.539l.386-.88h-1.43Zm3.957-2.913h.5v-.99h-2.2v.935h.659v2.913h-.88l-.44.934h3.188v-.88h-.824Zm4.508.88h-.22v-.88a.88.88 0 0 0-.879-.934h-.66v-.44h-.934v.44h-.659v.879h.66v.88H138v.88h.934v2.088h.934v-2.033h1.76v1.32h-.928l.33.769h.769a.728.728 0 0 0 .714-.715v-1.319a.825.825 0 0 0-.882-.934Zm-1.1 0h-.66v-.935h.66Zm2.033-1.374a.44.44 0 1 0-.88 0v.439h.44a.473.473 0 0 0 .44-.44Z" transform="translate(-127.781 -372.49)" style="fill: rgb(255, 255, 255);"></path></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/zhihu.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/zhihu.svg
new file mode 100644
index 00000000..c1acf5e0
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotEvent/svgs/zhihu.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="23.27" height="21.681" viewBox="0 0 23.27 21.681"><defs><linearGradient id="icon-zhihu_svg__a" x1="0.085" x2="0.94" y2="0.967" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#1387e7"></stop><stop offset="1" stop-color="#449feb"></stop></linearGradient></defs><g data-name="\u7EC4 77947"><path data-name="\u8054\u5408 533" d="M4.006 20.681a2 2 0 0 1-2-2v-6.8a.5.5 0 0 1-.145-.07l-1.523-1.06a.5.5 0 0 1 0-.821L1.86 8.871a.506.506 0 0 1 .145-.07V2a2 2 0 0 1 2-2h16.39a2 2 0 0 1 2 2v16.681a2 2 0 0 1-2 2Z" transform="rotate(180 11.447 10.59)" stroke="rgba(0,0,0,0)" stroke-miterlimit="10" fill="url(#icon-zhihu_svg__a)"></path><g data-name="\u7EC4 64190"><path data-name="\u77E9\u5F62 19598" fill="none" d="M4.296 4.491h13.062v13.062H4.296z"></path><g data-name="\u7EC4 504" transform="translate(5.667 5.348)"><rect data-name="\u77E9\u5F62 3265" width="10.667" height="10.667" rx="2" fill="#fff"></rect><path data-name="\u8DEF\u5F84 751" d="M5.198 5.282c-.039-.107-.072-.128-.188-.128H3.864c-.053 0-.1.005-.093-.079q.056-.82.048-1.641c0-.081.017-.105.1-.1.368.005.737 0 1.1 0 .058 0 .089-.012.081-.076a2.141 2.141 0 0 0-.015-.222c-.049-.234-.1-.269-.3-.266-.672.005-1.343 0-2.014 0-.1 0-.1 0-.072-.1q.117-.429.276-.846c.021-.054.011-.074-.049-.065a.851.851 0 0 0-.757.582c-.16.468-.317.939-.516 1.392-.073.165-.15.33-.226.494.01.005.015.011.02.011a1.056 1.056 0 0 0 .774-.365 1.473 1.473 0 0 0 .234-.491.068.068 0 0 1 .075-.055h.606c.045 0 .057.012.056.056v.335c-.022.252-.016.5-.016.754l-.019.562c0 .119 0 .12-.12.12H1.862a.266.266 0 0 0-.243.146.258.258 0 0 0-.068.133.363.363 0 0 0-.064.181c-.052.127-.049.133.08.133h1.527a4.319 4.319 0 0 1-1.763 3.1.289.289 0 0 0 .133.044 1.412 1.412 0 0 0 .512 0 1.179 1.179 0 0 0 .7-.355 3.664 3.664 0 0 0 .675-1.194c.052-.139.093-.283.145-.444l1.339 1.6a.35.35 0 0 0 .025-.06 2.171 2.171 0 0 0 .061-.51.68.68 0 0 0-.127-.447q-.415-.495-.85-.971c-.044-.047-.076-.044-.121 0-.089.075-.181.145-.277.222a.113.113 0 0 1 0-.034 4.183 4.183 0 0 0 .175-.911c0-.042.028-.039.056-.039h1.4c.064 0 .093-.011.089-.084a1.44 1.44 0 0 0-.065-.385Zm3.468-2.521c0-.065-.013-.089-.084-.089H5.668c-.067 0-.082.021-.082.083V8.04c0 .047.016.061.062.06h.409c.08 0 .13.017.15.1.048.172.1.342.145.515.014.053.039.032.063.016l.455-.284.3-.192a.96.96 0 0 0 .215-.138.6.6 0 0 1 .089-.012h1.089c.077 0 .1-.016.1-.1V2.763ZM7.379 7.525h.485-.488Zm-.237.1c-.145.083-.282.178-.423.269-.072.047-.082.044-.1-.039l-.093-.31c-.01-.035-.035-.037-.063-.038-.057 0-.114-.007-.172 0s-.073-.019-.073-.074V3.367c0-.078.019-.1.1-.1q.814.005 1.63 0c.081 0 .1.024.1.1V7.499c-.216 0-.431 0-.646.005-.029 0-.07-.017-.073.037-.077-.008-.122.056-.18.089Zm.075.568-.006.007Z" fill="#1387e7"></path></g></g></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotFeatures/hotFeatures.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotFeatures/hotFeatures.module.scss
new file mode 100644
index 00000000..8c19a2aa
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotFeatures/hotFeatures.module.scss
@@ -0,0 +1,13 @@
+.hotFeatures {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ :global {
+ .ant-spin-nested-loading, .hotFeatures-content, .ant-spin-container {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotFeatures/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotFeatures/index.tsx
new file mode 100644
index 00000000..105ba9f8
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotFeatures/index.tsx
@@ -0,0 +1,281 @@
+import {
+ ForwardedRef,
+ forwardRef,
+ memo,
+ useCallback,
+ useEffect,
+ useMemo,
+ useRef,
+ useState,
+} from "react";
+import styles from "./hotFeatures.module.scss";
+import HotContentLabel from "@/app/[lng]/hotContent/components/HotContentLabel";
+import { useHotContent } from "@/app/[lng]/hotContent/useHotContent";
+import { useShallow } from "zustand/react/shallow";
+import { Skeleton, Spin, Table, type TableProps } from "antd";
+import InfiniteScroll from "react-infinite-scroll-component";
+import { Topic } from "@/api/types/topic";
+import { platformApi } from "@/api/hot";
+import hotContentStyles from "../HotContent/hotContent.module.scss";
+import {
+ HotContentBaseInfo,
+ SingleNumberCall,
+} from "@/app/[lng]/hotContent/components/HotContent/hotContentCommonWidget";
+import { useTransClient } from "@/app/i18n/client"; // 新增
+
+export interface IHotFeaturesRef {}
+
+export interface IHotFeaturesProps {}
+
+const NEXT_PUBLIC_YIKA_OSS_HOST = process.env.NEXT_PUBLIC_YIKA_OSS_HOST;
+
+const HotFeatures = memo(
+ forwardRef(({}: IHotFeaturesProps, ref: ForwardedRef<IHotFeaturesRef>) => {
+ const { hotContentPlatformList, twoMenuKey } = useHotContent(
+ useShallow((state) => ({
+ hotContentPlatformList: state.hotContentPlatformList,
+ twoMenuKey: state.twoMenuKey,
+ })),
+ );
+ const { t } = useTransClient("hot-content"); // 新增
+ const allDates = useRef<string[]>([
+ t("last3days"),
+ t("last7days"),
+ t("last15days"),
+ t("last30days"),
+ ]);
+ // 当前选择的日期范围
+ const [currDate, setCurrDate] = useState(allDates.current[1]);
+ // 当前选择的平台
+ const [currPlat, setCurrPlat] = useState("");
+ const [loading, setLoading] = useState(false);
+ const [total, setTotal] = useState(0);
+ const page = useRef(1);
+ const [isReset, setIsReset] = useState(true);
+ const [dataSource, setDataSource] = useState<Topic[]>([]);
+
+ useEffect(() => {
+ setCurrPlat(hotContentPlatformList[0]?.name || "");
+ }, [hotContentPlatformList]);
+
+ const columns = useMemo(() => {
+ const callParamsColumnsCommon = (title: string) => {
+ return {
+ width: 90,
+ title: () => {
+ return <p style={{ textAlign: "center" }}>{title}</p>;
+ },
+ };
+ };
+
+ const columns: TableProps<Topic>["columns"] = [
+ {
+ title: t("rank"),
+ width: 60,
+ render: (text, data, ind) => (
+ <>
+ {ind <= 2 ? (
+ <div className={hotContentStyles.rankingTopthree}>
+ {ind + 1}
+ </div>
+ ) : (
+ <p style={{ width: "30px", textAlign: "center" }}>{ind + 1}</p>
+ )}
+ </>
+ ),
+ },
+ {
+ title: t("baseInfo"),
+ dataIndex: "baseInfo",
+ render: (text, data) => {
+ return (
+ <HotContentBaseInfo
+ title={data.title}
+ avatar={data.avatar!}
+ publishTime={data.publishTime!}
+ fansCount={data.fans}
+ nickname={data.author!}
+ cover={data.cover}
+ onClick={() => {
+ window.open(data.authorUrl, "_blank");
+ }}
+ />
+ );
+ },
+ },
+ {
+ title: () => <p style={{ textAlign: "center" }}>{t("category")}</p>,
+ dataIndex: "category",
+ key: "category",
+ width: 120,
+ render: (text, data) => (
+ <div style={{ textAlign: "center" }}>
+ <p>
+ <b>{text}</b>
+ </p>
+ <p>{data.subCategory}</p>
+ </div>
+ ),
+ },
+
+ ...(dataSource[1]?.shareCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("shares")),
+ render: (text: any, data: Topic) => (
+ <SingleNumberCall total={data.shareCount} />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.likeCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("likes")),
+ render: (text: any, data: Topic) => (
+ <SingleNumberCall total={data.likeCount} />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.commentCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("comments")),
+ render: (text: any, data: Topic) => (
+ <SingleNumberCall total={data.commentCount} />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.collectCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("collections")),
+ render: (text: any, data: Topic) => (
+ <SingleNumberCall
+ total={data.collectCount}
+ highlight={true}
+ />
+ ),
+ },
+ ]
+ : []),
+ ...(dataSource[1]?.readCount
+ ? [
+ {
+ ...callParamsColumnsCommon(t("views")),
+ render: (text: any, data: Topic) => (
+ <SingleNumberCall total={data.readCount} highlight={true} />
+ ),
+ },
+ ]
+ : []),
+ ];
+
+ return columns;
+ }, [dataSource, t]);
+
+ // 获取数据
+ const getTableData = useCallback(async () => {
+ if (loading) return;
+
+ const res = await platformApi.getAllTopics({
+ page: page.current,
+ pageSize: 20,
+ platformId: hotContentPlatformList.find((v) => v.name === currPlat)?.id,
+ timeType:
+ currDate === t("last3days")
+ ? "近3天"
+ : currDate === t("last7days")
+ ? "近7天"
+ : currDate === t("last15days")
+ ? "近15天"
+ : currDate === t("last30days")
+ ? "近30天"
+ : "",
+ msgType: twoMenuKey,
+ });
+ page.current = page.current + 1;
+ setTotal(res?.data.meta.totalItems || 0);
+ setDataSource((prevState) => {
+ return [...prevState, ...(res?.data.items || [])];
+ });
+ }, [currDate, currPlat, hotContentPlatformList, loading, twoMenuKey]);
+
+ useEffect(() => {
+ setIsReset(true);
+ }, [twoMenuKey]);
+
+ // 重置数据
+ useEffect(() => {
+ if (currPlat && isReset) {
+ page.current = 1;
+ setDataSource([]);
+ setLoading(true);
+ getTableData().then(() => setLoading(false));
+ setIsReset(false);
+ }
+ }, [isReset, currPlat, currDate, twoMenuKey]);
+
+ return (
+ <div className={styles.hotFeatures}>
+ <HotContentLabel
+ style={{ marginBottom: "15px" }}
+ labels={hotContentPlatformList.map((v) => v.name)}
+ icons={hotContentPlatformList.map(
+ (v) => `${NEXT_PUBLIC_YIKA_OSS_HOST}/${v.icon}`,
+ )}
+ value={currPlat}
+ onChange={(value) => {
+ setIsReset(true);
+ setCurrPlat(value);
+ }}
+ />
+ <HotContentLabel
+ labels={allDates.current}
+ value={currDate}
+ onChange={(value) => {
+ setIsReset(true);
+ setCurrDate(value);
+ }}
+ />
+
+ <Spin spinning={loading}>
+ <div
+ className={`${hotContentStyles["hotContent-table"]}`}
+ id="hotContent-table"
+ >
+ <InfiniteScroll
+ dataLength={dataSource.length}
+ next={getTableData}
+ hasMore={dataSource.length < total}
+ loader={
+ !loading ? <Skeleton active paragraph={{ rows: 1 }} /> : <></>
+ }
+ endMessage={<></>}
+ scrollableTarget="hotContent-table"
+ >
+ <Table
+ dataSource={dataSource}
+ rowKey={(record) => record._id}
+ columns={columns}
+ pagination={false}
+ onRow={(record) => {
+ return {
+ onClick: () => {
+ if (!record.url) return;
+ window.open(record.url, "_blank");
+ },
+ };
+ }}
+ />
+ </InfiniteScroll>
+ </div>
+ </Spin>
+ </div>
+ );
+ }),
+);
+
+export default HotFeatures;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/components/HotTitleCommons.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/components/HotTitleCommons.tsx
new file mode 100644
index 00000000..ae749aa1
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/components/HotTitleCommons.tsx
@@ -0,0 +1,104 @@
+import { ViralTitle } from "@/api/types/viralTitles";
+import styles from "../hotTitle.module.scss";
+import HotTitleBackSvg from "../svgs/hotTitleBack.svg";
+import Icon from "@ant-design/icons";
+import { CSSProperties } from "react";
+import { Table, type TableProps, Typography } from "antd";
+import hotEventStyles from "../../HotEvent/hotEvent.module.scss";
+import hotContentStyles from "../../HotContent/hotContent.module.scss";
+import { describeNumber } from "@/utils";
+import { useTransClient } from "@/app/i18n/client";
+
+export const HotTitleItem = ({
+ data,
+ style,
+ bottomLinkText,
+ onBottomLinkClick,
+ headRightElement,
+}: {
+ data: {
+ category: string;
+ titles: ViralTitle[];
+ };
+ bottomLinkText: string;
+ onBottomLinkClick: () => void;
+ style?: CSSProperties;
+ headRightElement?: React.ReactNode;
+}) => {
+ const { t } = useTransClient("hot-content");
+ const columns: TableProps<ViralTitle>["columns"] = [
+ {
+ title: t("rank"),
+ width: 50,
+ render: (text, data, ind) => (
+ <>
+ {ind <= 2 ? (
+ <div
+ className={hotContentStyles.rankingTopthree}
+ style={{ width: "20px", height: "20px", lineHeight: "20px" }}
+ >
+ {ind + 1}
+ </div>
+ ) : (
+ <p style={{ width: "20px", textAlign: "center" }}>{ind + 1}</p>
+ )}
+ </>
+ ),
+ },
+ {
+ title: t("viralTitles"),
+ render: (text, data, ind) => (
+ <div className="hotTitleItem-title">
+ <Typography.Paragraph copyable={{ text: data.title }}>
+ {data.title}
+ </Typography.Paragraph>
+ </div>
+ ),
+ },
+ {
+ title: t("engagement"),
+ width: 100,
+ align: "center",
+ render: (text, data, ind) => <>{describeNumber(data.engagement)}</>,
+ },
+ ];
+
+ return (
+ <div className={styles.hotTitleItem + " hotTitleItem"} style={style}>
+ <div className="hotTitleItem-head">
+ <div className="hotTitleItem-head-left">
+ <div className="hotTitleItem-head-name">{data.category}</div>
+ <Icon component={HotTitleBackSvg} />
+ </div>
+ {headRightElement}
+ </div>
+ <div
+ className={`hotTitleItem-content ${hotEventStyles["hotEvent-item-content"]}`}
+ >
+ <Table
+ dataSource={data.titles}
+ columns={columns}
+ rowKey={(record) => record._id}
+ pagination={false}
+ scroll={{ y: 400 }}
+ onRow={(record) => {
+ return {
+ onClick: () => {
+ if (!record.url) return;
+ window.open(record.url, "_blank");
+ },
+ };
+ }}
+ />
+ <a
+ onClick={(e) => {
+ e.preventDefault();
+ onBottomLinkClick();
+ }}
+ >
+ {bottomLinkText}
+ </a>
+ </div>
+ </div>
+ );
+};
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/hotTitle.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/hotTitle.module.scss
new file mode 100644
index 00000000..2a439554
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/hotTitle.module.scss
@@ -0,0 +1,92 @@
+.hotTitle {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ min-height: 0;
+ :global {
+ .hotTitle-content {
+ height: 100%;
+ min-height: 0;
+ .hotTitle-content-wrapper {
+ height: 100%;
+ min-height: 0;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ overflow: auto;
+ scrollbar-width: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+ }
+ .hotTitle-content-wrapper-details {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ min-height: 0;
+ overflow: auto;
+ .hotTitleItem, .hotTitleItem-content {
+ display: flex;
+ flex-direction: column;
+ height: 100% !important;
+ min-height: 0;
+ margin: 0 !important;
+ @include table-flex-container-with-selectors;
+ }
+ }
+ }
+ }
+}
+
+.hotTitleItem {
+ :global {
+ .hotTitleItem-head {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ background-image: linear-gradient(to left, rgba(90,246,242,.1), rgba(254,44,85,.1));
+ padding: 10px 20px;
+ border-radius: 10px 10px 0 0;
+ .hotTitleItem-head-left {
+ display: flex;
+ position: relative;
+ font-weight: 500;
+ .anticon {
+ position: relative;
+ left: -20px;
+ svg {
+ width: 120px;
+ }
+ }
+ }
+ }
+ .hotTitleItem-content {
+ & > a {
+ text-align: center;
+ display: block;
+ margin-top: 15px;
+ }
+ tbody {
+ .ant-table-cell {
+ background: #fff !important;
+ .hotTitleItem-title {
+ @include omitText(1);
+ .ant-typography {
+ margin: 0 !important;
+ .ant-typography-copy {
+ display: none;
+ }
+ &:hover {
+ color: var(--colorPrimary5) !important;
+ .ant-typography-copy {
+ display: inline-block;
+ }
+ }
+ }
+ }
+ padding: 8px !important;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/index.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/index.tsx
new file mode 100644
index 00000000..1a6b0715
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/index.tsx
@@ -0,0 +1,213 @@
+import {
+ ForwardedRef,
+ forwardRef,
+ memo,
+ useCallback,
+ useEffect,
+ useMemo,
+ useRef,
+ useState,
+} from "react";
+import styles from "./hotTitle.module.scss";
+import { useHotContent } from "@/app/[lng]/hotContent/useHotContent";
+import { useShallow } from "zustand/react/shallow";
+import { platformApi, PlatformRanking } from "@/api/hot";
+import HotContentLabel from "@/app/[lng]/hotContent/components/HotContentLabel";
+import { Spin } from "antd";
+import { ViralTitle } from "@/api/types/viralTitles";
+import { HotTitleItem } from "@/app/[lng]/hotContent/components/HotTitle/components/HotTitleCommons";
+import { useTransClient } from "@/app/i18n/client";
+
+export interface IHotTitleRef {}
+
+export interface IHotTitleProps {}
+
+const HotTitle = memo(
+ forwardRef(({}: IHotTitleProps, ref: ForwardedRef<IHotTitleRef>) => {
+ const {
+ labelData,
+ rankingData,
+ currentRankCategory,
+ twoMenuKey,
+ setCurrentRankCategory,
+ } = useHotContent(
+ useShallow((state) => ({
+ labelData: state.labelData,
+ rankingData: state.rankingData,
+ datesData: state.datesData,
+ twoMenuKey: state.twoMenuKey,
+ currentRankCategory: state.currentRankCategory,
+ setCurrentRankCategory: state.setCurrentRankCategory,
+ })),
+ );
+ const { t } = useTransClient("hot-content");
+ const labelAll = useRef<string>(t("all"));
+ // 当前选中的标签
+ const [labelValue, setLabelValue] = useState(labelAll.current);
+ const allDates = useRef<string[]>([
+ t("last7days"),
+ t("last30days"),
+ t("last90days"),
+ ]);
+ // 当前选择的日期范围
+ const [currDate, setCurrDate] = useState(allDates.current[0]);
+ const [loading, setLoading] = useState(false);
+ // 所有爆款标题前五条数据
+ const [allHotTitleData, setAllHotTitleData] = useState<
+ {
+ category: string;
+ titles: ViralTitle[];
+ }[]
+ >();
+ // 爆款标题数据详情
+ const [hotTitleData, setHotTitleData] = useState<ViralTitle[]>([]);
+
+ // 获取当前选中的标签、日期、榜单
+ const selectedLabelInfo = useMemo(() => {
+ const platId = twoMenuKey.split("_")[1];
+ return {
+ // 所有榜单
+ allRanking: rankingData[platId] || [],
+ // 当前选择榜单
+ ranking: (rankingData[platId]?.find(
+ (v) => v.id === currentRankCategory,
+ ) ?? {}) as PlatformRanking,
+ labelData: labelData[platId] || [],
+ platId,
+ };
+ }, [labelData, rankingData, twoMenuKey, currentRankCategory]);
+
+ const dateValue = useMemo(() => {
+ return currDate === t("last7days")
+ ? "近7天"
+ : currDate === t("last30days")
+ ? "近30天"
+ : currDate === t("last90days")
+ ? "近90天"
+ : "";
+ }, [currDate]);
+
+ // 获取所有爆款数据
+ const getAllData = useCallback(async () => {
+ if (labelValue !== labelAll.current) return;
+
+ setLoading(true);
+ const res = await platformApi.findTopByPlatformAndCategories(
+ selectedLabelInfo.platId,
+ dateValue,
+ );
+ setLoading(false);
+ setAllHotTitleData(res?.data);
+ }, [dateValue, selectedLabelInfo.platId]);
+
+ // 获取爆款数据详情
+ const getDetailData = useCallback(async () => {
+ if (labelValue === labelAll.current) return;
+
+ setLoading(true);
+ const res = await platformApi.findByPlatformAndCategory(
+ selectedLabelInfo.platId,
+ {
+ category: labelValue === labelAll.current ? t("all") : labelValue,
+ page: 1,
+ timeType: dateValue,
+ pageSize: 50,
+ },
+ );
+ setHotTitleData(res?.data.items || []);
+ setLoading(false);
+ }, [
+ labelValue,
+ dateValue,
+ selectedLabelInfo.ranking.id,
+ selectedLabelInfo.platId,
+ ]);
+
+ useEffect(() => {
+ getAllData();
+ }, [twoMenuKey, dateValue]);
+
+ useEffect(() => {
+ getDetailData();
+ }, [labelValue, dateValue]);
+
+ return (
+ <div className={styles.hotTitle}>
+ <HotContentLabel
+ style={{ marginBottom: "15px" }}
+ labels={[labelAll.current, ...(selectedLabelInfo.labelData ?? [])]}
+ value={labelValue}
+ onChange={(value) => {
+ setLabelValue(value);
+ }}
+ />
+
+ <HotContentLabel
+ style={{ marginBottom: "15px" }}
+ labels={allDates.current}
+ value={currDate}
+ onChange={(value) => {
+ setCurrDate(value);
+ }}
+ />
+
+ <Spin wrapperClassName="hotTitle-content" spinning={loading}>
+ <div
+ className="hotTitle-content-wrapper"
+ style={{
+ display: labelValue === labelAll.current ? "flex" : "none",
+ }}
+ >
+ {allHotTitleData?.map((v) => {
+ return (
+ <HotTitleItem
+ data={v}
+ key={v.category}
+ style={{ width: "calc(50% - 15px)", marginBottom: "30px" }}
+ onBottomLinkClick={() => {
+ setLabelValue(v.category);
+ }}
+ bottomLinkText={t("viewMore")}
+ />
+ );
+ })}
+ </div>
+
+ <div
+ className="hotTitle-content-wrapper-details"
+ style={{
+ display: labelValue !== labelAll.current ? "flex" : "none",
+ }}
+ >
+ <HotTitleItem
+ headRightElement={
+ <>
+ <a
+ onClick={(e) => {
+ e.preventDefault();
+ setLabelValue(labelAll.current);
+ }}
+ >
+ {t("backToAll")}
+ </a>
+ </>
+ }
+ data={{
+ category: labelValue,
+ titles: hotTitleData,
+ }}
+ key={labelValue}
+ style={{ width: "100%", marginBottom: "30px" }}
+ onBottomLinkClick={() => {
+ setLabelValue(labelAll.current);
+ }}
+ bottomLinkText={t("collapse")}
+ />
+ </div>
+ </Spin>
+ </div>
+ );
+ }),
+);
+
+export default HotTitle;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/svgs/hotTitleBack.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/svgs/hotTitleBack.svg
new file mode 100644
index 00000000..28fd32e5
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/components/HotTitle/svgs/hotTitleBack.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="229.711" height="12.999" viewBox="0 0 229.711 12.999" class=" absolute top-[50%] left-0 -translate-y-[50%] z-[0]"><defs><linearGradient id="icon-titleBg_svg__a" x1="0.033" y1="0.5" x2="0.899" y2="0.509" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#ff2442" stop-opacity="0"></stop><stop offset="0.297" stop-color="#ff3e58"></stop><stop offset="0.473" stop-color="#0bdabb"></stop><stop offset="1" stop-color="#ffbfc8" stop-opacity="0"></stop></linearGradient></defs><path d="M221.9 12 210.78 0h5.526l11.117 12Zm-11.952 0-11.12-12h5.526l11.117 12Zm-11.951 0L186.878 0h5.522l11.12 12Zm-11.952 0L174.926 0h5.526l11.116 12Zm-10.864 0-11.12-12h5.526L180.7 12Zm-11.951 0L152.11 0h5.526l11.117 12Zm-11.952 0-11.12-12h5.526L156.8 12Zm-11.951 0-11.12-12h5.526l11.116 12Zm-10.866 0L117.342 0h5.526l11.116 12Zm-11.951 0L105.39 0h5.526l11.117 12Zm-11.952 0L93.438 0h5.526l11.117 12ZM92.6 12 81.487 0h5.526L98.13 12Zm-10.861 0L70.622 0h5.526l11.117 12Zm-11.951 0L58.672 0H64.2l11.114 12Zm-11.952 0L46.72 0h5.526l11.116 12Zm-11.951 0L34.769 0h5.526l11.117 12Zm-10.866 0L23.9 0h5.526l11.119 12ZM23.07 12 11.953 0h5.526L28.6 12Zm-11.952 0L0 0h5.527l11.117 12Z" transform="translate(1.143 .499)" style="stroke: transparent; stroke-miterlimit: 10; opacity: 0.2; fill: url(&quot;#icon-titleBg_svg__a&quot;);"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/hotContent.enum.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/hotContent.enum.ts
new file mode 100644
index 00000000..65a306d4
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/hotContent.enum.ts
@@ -0,0 +1,6 @@
+export enum HotType {
+ hotContent = "hotContent",
+ hotEvent = "hotEvent",
+ hotFeatures = "HotFeatures",
+ hotTitle = "hotTitle",
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/hotContent.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/hotContent.module.scss
new file mode 100644
index 00000000..766cbe17
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/hotContent.module.scss
@@ -0,0 +1,29 @@
+.hotContent {
+ display: flex;
+ height: 100%;
+ width: 100%;
+ min-height: 0;
+ border-top: 1px solid var(--grayColor1);
+ :global {
+ .hotContent-wrapper {
+ display: flex;
+ height: 100%;
+ max-width: 1920px;
+ margin: 0 auto;
+ .hotContent-content {
+ padding: 15px 20px;
+ box-sizing: border-box;
+ flex: 1;
+ min-width: 0;
+ min-height: 0;
+ overflow: auto;
+ }
+ }
+
+ .ant-spin-container {
+ height: 100%;
+ width: 100%;
+ min-height: 0;
+ }
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/page.tsx
new file mode 100644
index 00000000..6b08a365
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/page.tsx
@@ -0,0 +1,28 @@
+import { PageParams } from "@/app/globals";
+import { getMetadata } from "@/utils/general";
+import { HotContentCore } from "@/app/[lng]/hotContent/HotContentCore";
+
+export async function generateMetadata({ params }: PageParams) {
+ return await getMetadata(
+ {
+ title: "热门内容",
+ },
+ "en",
+ );
+}
+
+export default async function Page() {
+ // const res = await platformApi.getRankingContents(
+ // "678f4a5618789840c02c8118",
+ // 1,
+ // 20,
+ // "全部",
+ // "2025-09-16",
+ // );
+
+ return (
+ <>
+ <HotContentCore defaultHotContentData={undefined} />
+ </>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotContent.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotContent.svg
new file mode 100644
index 00000000..aa8e62ba
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotContent.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1757512376351" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4565" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M605.37666333 110.33713778a407.2455589 407.2455589 0 0 0-90.24549888-64.15246223c-18.68989667-9.73331001-33.52044999-15.70436779-42.54985444-18.51998776A24.27259221 24.27259221 0 0 0 441.05121223 50.82074112c0 3.15543666-0.24272555 9.5634011-0.97090446 18.76271331a507.46709333 507.46709333 0 0 1-6.99050667 52.0404389c-10.00030777 53.98224555-28.01057223 107.94021888-55.92405333 158.11166777a422.82856334 422.82856334 0 0 1-82.81808555 106.0469578c-8.22840889-19.24816555-14.22373888-46.36065223-14.22373888-65.4146378a24.27259221 24.27259221 0 0 0-39.87987001-18.59280555C151.30927445 376.31620779 99.36592555 482.84861667 99.36592555 597.31816334c0 218.98732999 188.86504334 395.88598557 421.08093667 395.88598443s421.08093667-176.89865443 421.08093668-395.88598443c0-161.80110222-78.59465443-329.42762667-200.39452445-393.11891001-12.98583666-6.79632555-31.33591666-4.70888334-36.82152334 15.31600555-1.74762667 6.43223666-1.21363001 10.34012445 0.48545223 16.84518002 0.63108779 2.37871445 4.61179221 15.07328 5.75260445 19.17534777 3.39816334 12.16056889 5.33996999 23.54441443 5.46133333 34.29717333-21.82106112-72.62359666-60.12321223-132.13999445-110.63447779-179.49582222z m158.7670289 168.47606556l1.21362887 1.06799332-1.21362887-1.06799332z m128.8389211 318.50496c0 191.43793778-166.43716779 347.3408-372.53575111 347.3408C314.37255111 944.63468999 147.91111111 788.73182777 147.91111111 597.29388999c0-84.71134777 32.67091001-164.49536 90.34259001-226.77883221 6.84487111 27.45230222 18.59280555 54.22497223 33.64181333 69.12834332a24.27259221 24.27259221 0 0 0 32.30681998 1.67480889c47.81700779-38.54487666 85.97352334-85.14825443 115.36763336-138.0139611 30.68055666-55.14732999 50.34135666-114.00836779 61.26402332-172.86940444 2.8884389-15.53445888 5.00015445-30.26792334 6.43223666-43.98193778l5.4127889 2.76707555A358.99164445 358.99164445 0 0 1 572.19603001 145.72657778c58.93385443 55.29296555 98.95936 129.20300999 111.60537998 225.22538667a24.27259221 24.27259221 0 0 0 41.14204444 14.07810332 134.10607445 134.10607445 0 0 0 28.73875002-41.19058887c9.46631111-21.45697223 12.37902222-42.84112555 10.48576-65.02627556 78.88592555 70.29342777 128.8389211 196.24391111 128.8389211 318.50496z" p-id="4566"></path><path d="M468.67342222 597.68225223a162.60209778 162.60209778 0 0 1-8.93231445-18.78698666 97.57582222 97.57582222 0 0 1-2.18453334-5.89824c0.29127111 0.87381333 0.24272555 0.65536 0.24272669 3.76225109a24.27259221 24.27259221 0 0 0-36.40888889-21.02006443c-17.23354112 9.95176334-41.94304 28.54456889-66.65254002 55.65705444-41.77313223 45.8752-67.16226333 100.12444445-67.16226332 162.1409189 0 121.67850667 104.61487445 219.66696334 232.87125333 219.6669622 128.28065223 0 232.87125333-97.98845667 232.87125333-219.6669622 0-106.07123001-39.17596445-191.02530333-104.17796778-255.97876224a382.77878557 382.77878557 0 0 0-71.24005888-56.02114333 263.26053888 263.26053888 0 0 0-33.66608555-17.81608334 24.27259221 24.27259221 0 0 0-32.93790891 27.91348224c0.53399666 2.3544411 1.45635555 7.13614222 2.40298667 13.83537777 3.51952555 25.07358777 3.78652445 51.70062222-1.23790222 75.97321444-4.92733667 23.83568555-14.49073778 42.84112555-29.41838222 56.36096a95.9495589 95.9495589 0 0 1-14.36937444-20.12197888z m-46.65192334 16.96654222c12.67029333 23.54441443 33.27772445 48.49664 54.61333333 55.5356911a24.27259221 24.27259221 0 0 0 20.38897778-2.42725888c34.22435555-21.18997333 54.37060779-54.90460445 62.98737778-96.50782777 4.12634112-19.90352555 5.41278777-40.38959445 4.63606556-60.58439111a335.20450333 335.20450333 0 0 1 50.1957211 41.26340664c56.31241443 56.23959666 89.92995555 129.13019221 89.92995556 221.60877114 0 94.12911445-82.1869989 171.12177778-184.32606777 171.12177777s-184.32606777-76.99266333-184.32606777-171.12177777c0-48.54518557 20.24334222-91.82321778 54.51624221-129.44573668a278.16391111 278.16391111 0 0 1 31.38446222-29.44265444z" p-id="4567"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotEvent.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotEvent.svg
new file mode 100644
index 00000000..99727a05
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotEvent.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1757512424229" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8111" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M695.145107 0.127984c20.221472 0 36.603425 16.381952 36.603424 36.603425v170.666666a36.603425 36.603425 0 0 1-73.206849 0V36.731409A36.667417 36.667417 0 0 1 695.145107 0.127984zM280.860892 0.127984c20.15748 0 36.603425 16.381952 36.603425 36.603425v170.666666a36.603425 36.603425 0 0 1-73.206849 0V36.731409c0-20.221472 16.381952-36.603425 36.603424-36.603425zM183.273091 755.745532a36.603425 36.603425 0 0 0 0 73.206849h268.126484a36.603425 36.603425 0 0 0 0-73.206849h-268.126484zM169.002875 585.078865c-12.350456 0-22.333208 16.445944-22.333209 36.603425 0 20.221472 9.982752 36.603425 22.333209 36.603424h371.345581c12.286464 0 22.269216-16.381952 22.269217-36.603424 0-20.15748-9.982752-36.603425-22.269217-36.603425H169.002875z m14.270216-170.538683a36.603425 36.603425 0 0 0 0 73.20685H622.066242a36.603425 36.603425 0 0 0 0-73.20685H183.273091z m792.220972 255.392076A262.367204 262.367204 0 1 0 588.918385 1024H49.209849a48.761905 48.761905 0 0 1-48.825897-48.761905V146.413698c0-26.87664 21.821272-48.825897 48.825897-48.825896h146.285714v109.682289a85.301337 85.301337 0 0 0 170.538683 0V97.587802H609.907762v109.682289a85.301337 85.301337 0 0 0 170.538682 0V97.587802h146.285714c26.87664 0 48.761905 21.75728 48.761905 48.825896v523.51856z" p-id="8112"></path><path d="M923.724534 739.875516c-0.767904 51.449569-23.165104 73.270841-23.165104 73.270841C898.447694 698.728659 777.11886 576.055993 777.11886 576.055993 817.241845 652.014498 639.984002 747.554556 639.984002 884.56143c0 85.941257 113.84177 149.101362 170.858643 138.222722 246.625172-46.778153 112.88189-282.844644 112.881889-282.844644zM799.964004 988.420447s-127.792026-58.552681-3.583552-188.328458c0 0 61.688289 58.232721 49.849769 112.433945 0 0 17.405824 1.727784 39.547057-27.772528 0 0 5.11936 82.357705-85.813274 103.667041z" p-id="8113"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotFeatures.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotFeatures.svg
new file mode 100644
index 00000000..b9d5ae85
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotFeatures.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1757512458848" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9137" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M413.538462 567.138462c-3.938462 0-7.876923 0-11.815385-3.938462-7.876923-3.938462-11.815385-11.815385-7.876923-19.692308l15.753846-102.4-74.830769-70.892307c0-3.938462-3.938462-11.815385 0-19.692308s7.876923-11.815385 15.753846-15.753846l102.4-15.753846 39.384615-82.707693c7.876923-15.753846 27.569231-15.753846 35.446154 0l43.323077 86.646154 98.461539 15.753846c7.876923 0 15.753846 7.876923 15.753846 15.753846 3.938462 7.876923 0 15.753846-3.938462 23.63077l-74.830769 74.830769 19.692308 98.461538c0 7.876923 0 15.753846-7.876923 19.692308-7.876923 3.938462-15.753846 3.938462-23.63077 0L512 515.938462l-86.646154 47.261538c-3.938462 3.938462-7.876923 3.938462-11.815384 3.938462z m-23.63077-196.923077l51.2 51.2c3.938462 3.938462 7.876923 11.815385 7.876923 19.692307l-11.815384 70.892308 66.953846-35.446154c7.876923-3.938462 15.753846-3.938462 19.692308 0l63.015384 31.507692-11.815384-70.892307c0-7.876923 0-15.753846 7.876923-19.692308l51.2-51.2-70.892308-11.815385c-7.876923 0-11.815385-3.938462-15.753846-11.815384l-31.507692-63.015385-31.507693 63.015385c-3.938462 7.876923-7.876923 11.815385-15.753846 11.815384l-78.769231 15.753847z" fill="" p-id="9138"></path><path d="M189.046154 972.8c-3.938462 0-11.815385 0-15.753846-3.938462-7.876923-3.938462-15.753846-15.753846-15.753846-23.630769V82.707692c0-15.753846 15.753846-27.569231 27.56923-27.56923H827.076923c15.753846 0 27.569231 15.753846 27.569231 27.56923v94.523077c0 15.753846-15.753846 27.569231-27.569231 27.569231-15.753846 0-27.569231-11.815385-27.569231-27.569231V114.215385H220.553846v783.753846l279.630769-141.784616c7.876923-3.938462 19.692308-3.938462 23.63077 0l275.692307 141.784616V374.153846c0-15.753846 15.753846-27.569231 27.569231-27.569231 15.753846 0 27.569231 15.753846 27.569231 27.569231V945.230769c0 11.815385-3.938462 19.692308-15.753846 23.630769-7.876923 3.938462-19.692308 7.876923-27.569231 0l-307.2-157.538461-311.138462 157.538461c7.876923 0 0 3.938462-3.938461 3.938462z" fill="" p-id="9139"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotTitle.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotTitle.svg
new file mode 100644
index 00000000..7548f1cb
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/hotTitle.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1757512517342" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16776" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M692.99 195.59c36.376 22.046 65.643 167.343-24.511 172.825-4.003 0.26-7.89 0.377-11.632 0.377-184.978 0-108.196-287.286-108.196-287.286-262.225 78.262-199.83 289.985-199.83 289.985s-68.747-27.992-49.66-139.293c-111.126 71.3-84.876 256.365-84.876 256.365s-68.514-29.732-52.735-123.541c-30.92 56.39-44.526 113.07-44.526 181.96 0 218.424 176.828 395.513 394.96 395.513 218.163 0 394.99-177.089 394.99-395.512 0-153.072-86.933-285.662-213.984-351.392zM540.992 634.614h71.503v-29.79h-71.503v29.79z m-47.687-145.007v23.844H636.34c17.2 1.334 25.149-6.614 23.844-23.844H493.305z m47.687 81.452h71.503v-27.817h-71.503v27.817zM493.305 463.79h166.878v-25.816H493.305v25.816z m-13.894 286.039c-3.974-6.614-6.643-11.922-7.948-15.896-13.256 6.642-29.79 11.921-49.66 15.896v43.713c31.792-3.973 66.862-13.923 105.296-29.79h-39.74c-1.335-3.974-3.975-8.614-7.948-13.923zM312.56 465.763c1.306 51.662 6.586 98.044 15.867 139.06H290.69c-7.948-38.406-12.59-84.73-13.895-139.06h35.767z m236.38 379.412h-31.793v-33.764h11.922c17.2 1.306 25.149-6.642 23.844-23.844V686.274h51.661v105.267c1.278 37.071-17.229 54.94-55.635 53.634z m192.694-176.797h-83.424c17.172 21.203 44.99 37.767 83.424 49.66v33.793c-1.334 0-3.973-0.667-7.948-2.001-23.844-5.28-40.407-10.587-49.66-15.896-3.974 9.282-9.282 19.232-15.896 29.819h-29.79c31.762 3.945 64.86 13.894 99.32 29.79v43.685c-42.41-22.51-82.787-36.433-121.193-41.712V759.78l9.95 1.973c7.948-15.896 13.894-33.097 17.868-51.661-14.59-10.559-27.818-24.482-39.71-41.712h-55.637c-7.948 13.255-19.87 27.18-35.765 41.712h2.001c1.306 14.62 6.614 31.792 15.896 51.661l9.921-5.946v37.738c-37.1 19.87-77.477 33.097-121.162 39.74v-37.767c-27.818-26.454-47.021-54.939-57.608-85.397-14.59 54.302-43.075 99.959-85.426 137.059V799.49c25.149-41.016 41.016-79.45 47.688-115.216 6.585-33.069 9.92-89.37 9.92-168.851V392.259h51.633v95.375c2.64-1.306 6.614-2.64 11.922-3.973 3.973-1.306 13.923-4.641 29.819-9.95v49.66c-11.922 2.669-25.846 5.308-41.742 7.948-1.334 94.04 9.254 161.598 31.792 202.615v-15.867c35.766-13.227 60.916-29.819 75.477-49.688h-79.45v-33.764h75.505v-29.79h-63.583V571.06h63.583v-27.817H439.7V408.155h274.117v77.477c1.306 39.74-15.228 58.943-49.66 57.609v27.817h63.584v33.764h-63.584v29.79h77.478v33.766z" p-id="16777"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/uparrow.svg b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/uparrow.svg
new file mode 100644
index 00000000..d9bc42d8
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/svgs/uparrow.svg
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1758027188174" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6886" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300"><path d="M771.512499 514.290159 511.614214 64.132646 251.715929 514.290159 414.441057 514.290159 414.441057 959.653483 608.786347 959.653483 608.786347 514.290159Z" p-id="6887"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/useHotContent.ts b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/useHotContent.ts
new file mode 100644
index 00000000..d4d54eee
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/hotContent/useHotContent.ts
@@ -0,0 +1,165 @@
+import { create } from "zustand";
+import { combine } from "zustand/middleware";
+import lodash from "lodash";
+import { Platform, platformApi, PlatformRanking, RankingDate } from "@/api/hot";
+import { HotType } from "@/app/[lng]/hotContent/hotContent.enum";
+
+export interface IHotContentStore {
+ // 当前选择的 热点分类
+ hotType: HotType;
+ // 热门内容平台list
+ hotContentPlatformList: Platform[];
+ // 爆款标题平台list
+ hotTitlePlatformList: Platform[];
+ // 数据loading
+ dataLoading: boolean;
+ // 当前侧边栏二级菜单选择的ID
+ twoMenuKey: string;
+ // 热门内容页面loading
+ pageLoading: boolean;
+ // 热门内容的标签数据 key=平台,value=标签数组
+ labelData: {
+ [key: string]: string[];
+ };
+ // 热门内容的榜单数据 key=平台ID,value=榜单数据
+ rankingData: {
+ [key: string]: PlatformRanking[];
+ };
+ // 日期数据 key=平台ID,value=日期数据
+ datesData: {
+ [key: string]: RankingDate[];
+ };
+ // 当前选择的榜单分类
+ currentRankCategory: string;
+}
+
+const store: IHotContentStore = {
+ hotType: HotType.hotContent,
+ hotContentPlatformList: [],
+ dataLoading: false,
+ twoMenuKey: "",
+ hotTitlePlatformList: [],
+ pageLoading: false,
+ labelData: {},
+ rankingData: {},
+ datesData: {},
+ currentRankCategory: "",
+};
+
+const getStore = () => {
+ return lodash.cloneDeep(store);
+};
+
+/**
+ * 热门内容数据存储
+ */
+export const useHotContent = create(
+ combine(
+ {
+ ...getStore(),
+ },
+ (set, get, storeApi) => {
+ const methods = {
+ // 设置 currentRankCategory
+ setCurrentRankCategory(currentRankCategory: string) {
+ set({ currentRankCategory });
+ },
+ // 设置 当前侧边栏二级菜单选择的ID
+ setTwoMenuKey(twoMenuKey: string) {
+ set({ twoMenuKey });
+ },
+ // 设置当前选择的 热点分类
+ setHotType(hotType: HotType) {
+ set({ hotType });
+ },
+
+ // 初始化
+ async init() {
+ set({ pageLoading: true });
+ await Promise.all([
+ methods.getHotContentPlatform(),
+ methods.getHotTitlePlatform(),
+ ]);
+ set({ pageLoading: false });
+ },
+
+ // 获取热门内容平台
+ async getHotContentPlatform() {
+ const res = await platformApi.getPlatformList();
+ const twoMenuKey = `${HotType.hotContent}_${res?.data?.[0]?.id}`;
+
+ set({
+ hotContentPlatformList: res?.data,
+ twoMenuKey,
+ });
+
+ methods.changeHotContentPlatform(twoMenuKey);
+ },
+
+ // 获取爆款标题平台
+ async getHotTitlePlatform() {
+ const res = await platformApi.findPlatformsWithData();
+
+ set({
+ hotTitlePlatformList: res?.data,
+ });
+ },
+
+ // 热门内容平台切换
+ async changeHotContentPlatform(platformId: string) {
+ const { rankingData } = get();
+ platformId = platformId.split("_")[1];
+
+ set({
+ pageLoading: true,
+ });
+
+ if (!rankingData[platformId]) {
+ const res = await platformApi.getPlatformRanking(platformId);
+ if (res?.data?.length) {
+ const newRankingData = {
+ ...rankingData,
+ [platformId]: res.data,
+ };
+ set({ rankingData: newRankingData });
+ }
+ }
+
+ set({
+ currentRankCategory: get().rankingData[platformId]?.[0]?.id || "",
+ });
+
+ const rankingItem = get().rankingData[platformId].find(
+ (v) => v.id === get().currentRankCategory,
+ )!;
+ // 获取标签和日期数据
+ if (!get().labelData[platformId]) {
+ await Promise.all([
+ platformApi.getRankingLabel(rankingItem.id),
+ platformApi.getRankingDates(rankingItem.id),
+ ]).then(([labelRes, dateRes]) => {
+ const newLabelData = {
+ ...get().labelData,
+ [platformId]: labelRes!.data,
+ };
+ const newDatesData = {
+ ...get().datesData,
+ [platformId]: dateRes!.data,
+ };
+ set({
+ labelData: newLabelData,
+ datesData: newDatesData,
+ });
+ });
+ }
+
+ set({
+ pageLoading: false,
+ });
+ },
+ };
+
+ return methods;
+ },
+ ),
+);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/income/income.module.css b/aitoearn_web/aitoearn-web/src/app/[lng]/income/income.module.css
new file mode 100644
index 00000000..601c9cde
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/income/income.module.css
@@ -0,0 +1,472 @@
+.container {
+ padding: 24px;
+ min-height: 100vh;
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
+}
+
+/* 页面头部样式 */
+.header {
+ margin-bottom: 24px;
+}
+
+.headerContent {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-radius: 16px;
+ padding: 24px;
+ color: white;
+ box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
+ position: relative;
+ overflow: hidden;
+}
+
+.headerContent::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
+ animation: shimmer 3s ease-in-out infinite;
+}
+
+@keyframes shimmer {
+ 0%, 100% { transform: translateX(-100%); }
+ 50% { transform: translateX(100%); }
+}
+
+.headerLeft {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ position: relative;
+ z-index: 1;
+}
+
+.headerIcon {
+ width: 64px;
+ height: 64px;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 28px;
+ backdrop-filter: blur(10px);
+ border: 2px solid rgba(255, 255, 255, 0.3);
+}
+
+.headerText {
+ flex: 1;
+}
+
+.headerTitle {
+ font-size: 28px;
+ font-weight: 700;
+ margin: 0 0 8px 0;
+ background: linear-gradient(135deg, #ffffff, #f0f0f0);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.headerSubtitle {
+ font-size: 16px;
+ margin: 0;
+ color: rgba(255, 255, 255, 0.9);
+ font-weight: 400;
+}
+
+.headerRight {
+ position: relative;
+ z-index: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 8px;
+}
+
+.balanceCard {
+ background: rgba(255, 255, 255, 0.15);
+ border-radius: 12px;
+ padding: 20px;
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ min-width: 200px;
+}
+
+
+.walletLink {
+ display: inline-flex;
+ align-items: center;
+ padding: 6px 8px;
+ color: #ffffff;
+ opacity: 0.9;
+ cursor: pointer;
+ border-radius: 8px;
+ transition: all 0.2s ease;
+}
+
+.walletLink:hover {
+ background: rgba(255, 255, 255, 0.18);
+ opacity: 1;
+}
+
+.balanceIcon {
+ width: 48px;
+ height: 48px;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 20px;
+ color: #fff;
+}
+
+.balanceInfo {
+ flex: 1;
+}
+
+.balanceLabel {
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 4px;
+}
+
+.balanceAmount {
+ font-size: 24px;
+ font-weight: 700;
+ color: #fff;
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
+}
+
+/* 主要内容样式 */
+.content {
+ background: rgba(255, 255, 255, 0.95);
+ border-radius: 16px;
+ padding: 24px;
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+}
+
+/* 标签页样式 */
+.content .ant-tabs > .ant-tabs-nav {
+ margin-bottom: 24px;
+ background: rgba(255, 255, 255, 0.5);
+ border-radius: 12px;
+ padding: 4px;
+ backdrop-filter: blur(10px);
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
+ padding: 12px 24px;
+ font-size: 16px;
+ font-weight: 600;
+ border-radius: 8px;
+ transition: all 0.3s ease;
+ margin: 0 4px;
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab-active {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab:hover {
+ background: rgba(102, 126, 234, 0.1);
+ color: #667eea;
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab-active:hover {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+}
+
+/* 卡片样式 */
+.content .ant-card {
+ border-radius: 12px;
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+ overflow: hidden;
+}
+
+.content .ant-card-head {
+ background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.content .ant-card-head-title {
+ font-size: 18px;
+ font-weight: 600;
+ color: #495057;
+}
+
+/* 表格样式 */
+.content .ant-table-thead > tr > th {
+ background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
+ color: #495057;
+ font-weight: 600;
+ font-size: 14px;
+ padding: 16px 12px;
+ border-bottom: 2px solid #dee2e6;
+}
+
+.content .ant-table-tbody > tr:hover > td {
+ background-color: rgba(102, 126, 234, 0.05);
+}
+
+.content .ant-table-tbody > tr > td {
+ padding: 12px;
+ font-size: 14px;
+ border-bottom: 1px solid #f0f0f0;
+}
+
+.content .ant-table-tbody > tr:last-child > td {
+ border-bottom: none;
+}
+
+/* 按钮样式 */
+.content .ant-btn {
+ border-radius: 8px;
+ font-weight: 500;
+ transition: all 0.3s ease;
+ border: none;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+}
+
+.content .ant-btn-primary {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+}
+
+.content .ant-btn-primary:hover {
+ background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+}
+
+.content .ant-btn-primary:disabled {
+ background: #d9d9d9;
+ color: rgba(0, 0, 0, 0.25);
+ transform: none;
+ box-shadow: none;
+}
+
+.content .ant-btn-default {
+ background: white;
+ color: #495057;
+ border: 1px solid #d9d9d9;
+}
+
+.content .ant-btn-default:hover {
+ background: #f8f9fa;
+ border-color: #667eea;
+ color: #667eea;
+ transform: translateY(-1px);
+}
+
+/* 标签样式 */
+.content .ant-tag {
+ border-radius: 6px;
+ font-size: 12px;
+ padding: 4px 8px;
+ font-weight: 500;
+ border: none;
+}
+
+/* 分页样式 */
+.content .ant-pagination {
+ margin-top: 24px;
+ text-align: center;
+}
+
+.content .ant-pagination .ant-pagination-item {
+ border-radius: 8px;
+ border: 1px solid #d9d9d9;
+}
+
+.content .ant-pagination .ant-pagination-item-active {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-color: #667eea;
+}
+
+.content .ant-pagination .ant-pagination-item-active a {
+ color: white;
+}
+
+.content .ant-pagination .ant-pagination-prev,
+.content .ant-pagination .ant-pagination-next {
+ border-radius: 8px;
+ border: 1px solid #d9d9d9;
+}
+
+/* 提现弹窗样式 */
+.withdrawModalContent {
+ padding: 20px 0;
+}
+
+.withdrawInfo {
+ background: #f8f9fa;
+ border-radius: 12px;
+ padding: 20px;
+ margin-bottom: 20px;
+ border: 1px solid #e9ecef;
+}
+
+.withdrawItem {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 12px;
+ padding: 8px 0;
+ border-bottom: 1px solid #e9ecef;
+}
+
+.withdrawItem:last-child {
+ margin-bottom: 0;
+ border-bottom: none;
+}
+
+.withdrawLabel {
+ font-weight: 600;
+ color: #495057;
+ font-size: 14px;
+}
+
+.withdrawValue {
+ color: #6c757d;
+ font-size: 14px;
+ word-break: break-all;
+ max-width: 200px;
+ text-align: right;
+}
+
+.withdrawAmount {
+ color: #28a745;
+ font-weight: 700;
+ font-size: 16px;
+}
+
+.withdrawWarning {
+ background: #fff3cd;
+ border: 1px solid #ffeaa7;
+ border-radius: 8px;
+ padding: 16px;
+ color: #856404;
+}
+
+.withdrawWarning p {
+ margin: 0 0 8px 0;
+ font-size: 14px;
+ line-height: 1.5;
+}
+
+.withdrawWarning p:last-child {
+ margin-bottom: 0;
+}
+
+/* 移动端适配 */
+@media (max-width: 768px) {
+ .container {
+ padding: 12px;
+ }
+
+ .headerContent {
+ flex-direction: column;
+ gap: 20px;
+ padding: 20px;
+ text-align: center;
+ }
+
+ .headerLeft {
+ flex-direction: column;
+ gap: 12px;
+ }
+
+ .headerIcon {
+ width: 48px;
+ height: 48px;
+ font-size: 20px;
+ }
+
+ .headerTitle {
+ font-size: 24px;
+ }
+
+ .headerSubtitle {
+ font-size: 14px;
+ }
+
+ .balanceCard {
+ min-width: auto;
+ width: 100%;
+ justify-content: center;
+ }
+
+ .balanceAmount {
+ font-size: 20px;
+ }
+
+ .content {
+ padding: 16px;
+ }
+
+ .content .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
+ padding: 8px 16px;
+ font-size: 14px;
+ }
+
+ .content .ant-table-thead > tr > th,
+ .content .ant-table-tbody > tr > td {
+ padding: 8px 6px;
+ font-size: 12px;
+ }
+
+ .content .ant-btn {
+ font-size: 12px;
+ padding: 4px 8px;
+ }
+
+ .withdrawItem {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 4px;
+ }
+
+ .withdrawValue {
+ max-width: none;
+ text-align: left;
+ }
+}
+
+@media (max-width: 480px) {
+ .headerContent {
+ padding: 16px;
+ }
+
+ .headerTitle {
+ font-size: 20px;
+ }
+
+ .balanceCard {
+ padding: 16px;
+ }
+
+ .content {
+ padding: 12px;
+ }
+
+ .content .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
+ padding: 6px 12px;
+ font-size: 12px;
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/income/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/income/page.tsx
new file mode 100644
index 00000000..e023edab
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/income/page.tsx
@@ -0,0 +1,442 @@
+"use client";
+
+import { useEffect, useState } from "react";
+import { Card, Table, Button, message, Modal, Tabs, Tag, Space, Popconfirm, Descriptions, Input, Select, Form } from "antd";
+import { DollarOutlined, HistoryOutlined, WalletOutlined, CheckCircleOutlined, ClockCircleOutlined, CloseCircleOutlined } from "@ant-design/icons";
+import { useParams, useRouter } from "next/navigation";
+import { useUserStore } from "@/store/user";
+import { apiGetIncomeList, apiSubmitWithdraw } from "@/api/income";
+import { apiGetWithdrawRecordList } from "@/api/withdraw";
+import { IncomeRecord } from "@/api/types/income";
+import { WithdrawRecord, WithdrawRecordStatus } from "@/api/types/withdraw";
+import { useTransClient } from "@/app/i18n/client";
+import styles from "./income.module.css";
+import WalletAccountSelect from "@/components/WalletAccountSelect";
+
+const { TabPane } = Tabs;
+const { Option } = Select;
+
+export default function IncomePage() {
+ const router = useRouter();
+ const { lng } = useParams();
+ const { userInfo, token } = useUserStore();
+ const { t } = useTransClient('income');
+
+ // 收入记录相关状态
+ const [incomeRecords, setIncomeRecords] = useState<IncomeRecord[]>([]);
+ const [incomeLoading, setIncomeLoading] = useState(false);
+ const [incomePagination, setIncomePagination] = useState({
+ current: 1,
+ pageSize: 10,
+ total: 0
+ });
+
+ // 提现记录相关状态
+ const [withdrawRecords, setWithdrawRecords] = useState<WithdrawRecord[]>([]);
+ const [withdrawLoading, setWithdrawLoading] = useState(false);
+ const [withdrawPagination, setWithdrawPagination] = useState({
+ current: 1,
+ pageSize: 10,
+ total: 0
+ });
+
+ // 提现申请状态
+ const [withdrawModalVisible, setWithdrawModalVisible] = useState(false);
+ const [selectedIncomeRecord, setSelectedIncomeRecord] = useState<IncomeRecord | null>(null);
+ const [withdrawSubmitting, setWithdrawSubmitting] = useState(false);
+
+ // 获取收入记录
+ const fetchIncomeRecords = async (page: number = 1, pageSize: number = 10) => {
+ setIncomeLoading(true);
+ try {
+ const response = await apiGetIncomeList({ pageNo: page, pageSize }, {});
+ if (response?.data) {
+ setIncomeRecords(response.data.list || []);
+ setIncomePagination({
+ current: page,
+ pageSize,
+ total: response?.data?.total || 0
+ });
+ } else {
+ message.error(t('messages.getIncomeRecordsFailed'));
+ }
+ } catch (error) {
+ message.error(t('messages.getIncomeRecordsFailed'));
+ } finally {
+ setIncomeLoading(false);
+ }
+ };
+
+ // 获取提现记录
+ const fetchWithdrawRecords = async (page: number = 1, pageSize: number = 10) => {
+ setWithdrawLoading(true);
+ try {
+ const response = await apiGetWithdrawRecordList({ pageNo: page, pageSize }, {});
+ if (response?.data) {
+ setWithdrawRecords(response.data.list || []);
+ setWithdrawPagination({
+ current: page,
+ pageSize,
+ total: response.data.total || 0
+ });
+ } else {
+ message.error(t('messages.getWithdrawRecordsFailed'));
+ }
+ } catch (error) {
+ message.error(t('messages.getWithdrawRecordsFailed'));
+ } finally {
+ setWithdrawLoading(false);
+ }
+ };
+
+ // 提交提现申请
+ const handleWithdraw = async (incomeRecord: IncomeRecord) => {
+ setSelectedIncomeRecord(incomeRecord);
+ setWithdrawModalVisible(true);
+ };
+
+ // 确认提现申请
+ const [form] = Form.useForm<{ userWalletAccountId: string }>();
+
+ const handleConfirmWithdraw = async () => {
+ if (!selectedIncomeRecord) return;
+ // 仅 status = 1 的收入记录可提现(按需求说明:1=可提现,0=已申请)
+ // 如果后端收入列表中没有 status 字段,这里按前端约定:仅当类型为 task 时允许(已有逻辑),并在提现接口前再行校验
+
+ setWithdrawSubmitting(true);
+ try {
+ const values = await form.validateFields();
+ const response = await apiSubmitWithdraw(selectedIncomeRecord._id, values.userWalletAccountId);
+ if (response) {
+ message.success(t('messages.withdrawSubmitted'));
+ setWithdrawModalVisible(false);
+ setSelectedIncomeRecord(null);
+ // 刷新提现记录
+ fetchWithdrawRecords(withdrawPagination.current, withdrawPagination.pageSize);
+ } else {
+ message.error(t('messages.withdrawFailed'));
+ }
+ } catch (error) {
+ message.error(t('messages.withdrawFailed'));
+ } finally {
+ setWithdrawSubmitting(false);
+ }
+ };
+
+ // 获取收入类型显示文本
+ const getIncomeTypeText = (type: string) => {
+ const typeMap: { [key: string]: { color: string; text: string } } = {
+ 'task': { color: 'green', text: t('incomeTypes.task') },
+ 'task_back': { color: 'orange', text: t('incomeTypes.task_back') },
+ 'reward_back': { color: 'blue', text: t('incomeTypes.reward_back') },
+ 'task_withdraw': { color: 'purple', text: t('incomeTypes.task_withdraw' as any) }
+ };
+ const config = typeMap[type] || { color: 'default', text: type };
+ return <Tag color={config.color}>{config.text}</Tag>;
+ };
+
+ // 获取提现状态显示
+ const getWithdrawStatusTag = (status: WithdrawRecordStatus) => {
+ const statusMap = {
+ [WithdrawRecordStatus.WAIT]: { color: 'orange', text: t('withdrawStatus.wait'), icon: <ClockCircleOutlined /> },
+ [WithdrawRecordStatus.SUCCESS]: { color: 'green', text: t('withdrawStatus.success'), icon: <CheckCircleOutlined /> },
+ [WithdrawRecordStatus.FAIL]: { color: 'red', text: t('withdrawStatus.fail'), icon: <CloseCircleOutlined /> },
+ [WithdrawRecordStatus.TASK_WITHDRAW]: { color: 'blue', text: t('withdrawStatus.task_withdraw' as any), icon: <DollarOutlined /> }
+ };
+ const config = statusMap[status] || { color: 'default', text: '未知状态', icon: null };
+ return (
+ <Tag color={config.color} icon={config.icon}>
+ {config.text}
+ </Tag>
+ );
+ };
+
+ // 收入记录表格列
+ const incomeColumns = [
+ {
+ title: t('incomeId'),
+ dataIndex: '_id',
+ key: '_id',
+ ellipsis: true,
+ width: 200,
+ },
+ {
+ title: t('amount'),
+ dataIndex: 'amount',
+ key: 'amount',
+ render: (amount: number) => (
+ <span style={{ color: '#52c41a', fontWeight: 'bold' }}>
+ CNY {amount/100}
+ </span>
+ ),
+ },
+ {
+ title: t('type'),
+ dataIndex: 'type',
+ key: 'type',
+ render: (type: string) => getIncomeTypeText(type),
+ },
+ {
+ title: t('description'),
+ dataIndex: 'desc',
+ key: 'desc',
+ ellipsis: true,
+ },
+ {
+ title: t('createTime'),
+ dataIndex: 'createdAt',
+ key: 'createdAt',
+ render: (date: Date) => new Date(date).toLocaleString(),
+ },
+ {
+ title: t('actions'),
+ key: 'action',
+ render: (_: any, record: IncomeRecord) => (
+ <Space>
+ {record.type === 'task' && record.status === 0 ? (
+ <Button
+ type="primary"
+ size="small"
+ onClick={() => handleWithdraw(record)}
+ >
+ {t('applyWithdraw')}
+ </Button>
+ ) : null}
+ </Space>
+ ),
+ },
+ ];
+
+ // 提现记录表格列
+ const withdrawColumns = [
+ {
+ title: t('withdrawId'),
+ dataIndex: '_id',
+ key: '_id',
+ ellipsis: true,
+ width: 200,
+ },
+ {
+ title: t('amount'),
+ dataIndex: 'amount',
+ key: 'amount',
+ render: (amount: number) => (
+ <span style={{ color: '#1890ff', fontWeight: 'bold' }}>
+ CNY {amount/100}
+ </span>
+ ),
+ },
+ {
+ title: t('status'),
+ dataIndex: 'status',
+ key: 'status',
+ render: (status: WithdrawRecordStatus) => getWithdrawStatusTag(status),
+ },
+ {
+ title: t('description'),
+ dataIndex: 'desc',
+ key: 'desc',
+ ellipsis: true,
+ },
+ {
+ title: t('createTime'),
+ dataIndex: 'createdAt',
+ key: 'createdAt',
+ render: (date: Date) => new Date(date).toLocaleString(),
+ },
+ {
+ title: t('updateTime'),
+ dataIndex: 'updatedAt',
+ key: 'updatedAt',
+ render: (date: Date) => new Date(date).toLocaleString(),
+ },
+ ];
+
+ useEffect(() => {
+ if (!token) {
+ message.error(t('messages.pleaseLoginFirst'));
+ router.push('/login');
+ return;
+ }
+
+ // 初始加载数据
+ fetchIncomeRecords(1, 10);
+ fetchWithdrawRecords(1, 10);
+ }, [token, router]);
+
+ return (
+ <div className={styles.container}>
+ {/* 页面头部 */}
+ <div className={styles.header}>
+ <div className={styles.headerContent}>
+ <div className={styles.headerLeft}>
+ <div className={styles.headerIcon}>
+ <DollarOutlined />
+ </div>
+ <div className={styles.headerText}>
+ <h1 className={styles.headerTitle}>{t('title')}</h1>
+ <p className={styles.headerSubtitle}>{t('subtitle')}</p>
+ </div>
+ </div>
+ <div className={styles.headerRight}>
+ <div className={styles.balanceCard}>
+ <div className={styles.balanceIcon}>
+ <WalletOutlined />
+ </div>
+ <div className={styles.balanceInfo}>
+ <div className={styles.balanceLabel}>{t('currentBalance')}</div>
+ <div className={styles.balanceAmount}>CNY {userInfo?.income || 0}</div>
+ </div>
+ </div>
+ <span
+ className={styles.walletLink}
+ role="button"
+ onClick={() => router.push(`/${lng}/wallet`)}
+ >
+ {t('myWallet')}
+ </span>
+ </div>
+ </div>
+ </div>
+
+ {/* 主要内容 */}
+ <div className={styles.content}>
+ <Tabs defaultActiveKey="income" size="large">
+ <TabPane
+ tab={
+ <span>
+ <DollarOutlined />
+ {t('incomeRecords')}
+ </span>
+ }
+ key="income"
+ >
+ <Card>
+ <Table
+ columns={incomeColumns}
+ dataSource={incomeRecords}
+ loading={incomeLoading}
+ rowKey="_id"
+ pagination={{
+ current: incomePagination.current,
+ pageSize: incomePagination.pageSize,
+ total: incomePagination.total,
+ onChange: (page, size) => {
+ fetchIncomeRecords(page, size || 10);
+ },
+ showSizeChanger: true,
+ showQuickJumper: true,
+ showTotal: (total) => t('messages.totalRecords', { total }),
+ pageSizeOptions: ['10', '20', '50'],
+ }}
+ scroll={{ x: 800 }}
+ locale={{
+ emptyText: incomeLoading ? t('messages.loading') : t('messages.noIncomeRecords')
+ }}
+ />
+ </Card>
+ </TabPane>
+
+ <TabPane
+ tab={
+ <span>
+ <HistoryOutlined />
+ {t('withdrawRecords')}
+ </span>
+ }
+ key="withdraw"
+ >
+ <Card>
+ <Table
+ columns={withdrawColumns}
+ dataSource={withdrawRecords}
+ loading={withdrawLoading}
+ rowKey="_id"
+ pagination={{
+ current: withdrawPagination.current,
+ pageSize: withdrawPagination.pageSize,
+ total: withdrawPagination.total,
+ onChange: (page, size) => {
+ fetchWithdrawRecords(page, size || 10);
+ },
+ showSizeChanger: true,
+ showQuickJumper: true,
+ showTotal: (total) => t('messages.totalRecords', { total }),
+ pageSizeOptions: ['10', '20', '50'],
+ }}
+ scroll={{ x: 800 }}
+ locale={{
+ emptyText: withdrawLoading ? t('messages.loading') : t('messages.noWithdrawRecords')
+ }}
+ />
+ </Card>
+ </TabPane>
+ </Tabs>
+ </div>
+
+ {/* 提现确认弹窗 */}
+ <Modal
+ title={t('confirmWithdraw')}
+ open={withdrawModalVisible}
+ onCancel={() => {
+ setWithdrawModalVisible(false);
+ setSelectedIncomeRecord(null);
+ }}
+ footer={[
+ <Button key="cancel" onClick={() => {
+ setWithdrawModalVisible(false);
+ setSelectedIncomeRecord(null);
+ }}>
+ {t('cancel')}
+ </Button>,
+ <Button
+ key="confirm"
+ type="primary"
+ loading={withdrawSubmitting}
+ onClick={handleConfirmWithdraw}
+ >
+ {t('confirm')}
+ </Button>
+ ]}
+ width={500}
+ centered
+ >
+ {selectedIncomeRecord && (
+ <div className={styles.withdrawModalContent}>
+ <div className={styles.withdrawInfo}>
+ <div className={styles.withdrawItem}>
+ <span className={styles.withdrawLabel}>{t('incomeId')}:</span>
+ <span className={styles.withdrawValue}>{selectedIncomeRecord._id}</span>
+ </div>
+ <div className={styles.withdrawItem}>
+ <span className={styles.withdrawLabel}>{t('withdrawAmount')}:</span>
+ <span className={styles.withdrawAmount}>CNY {selectedIncomeRecord.amount/100}</span>
+ </div>
+ <div className={styles.withdrawItem}>
+ <span className={styles.withdrawLabel}>{t('incomeType')}:</span>
+ <span>{getIncomeTypeText(selectedIncomeRecord.type)}</span>
+ </div>
+ {selectedIncomeRecord.desc && (
+ <div className={styles.withdrawItem}>
+ <span className={styles.withdrawLabel}>{t('description')}:</span>
+ <span className={styles.withdrawValue}>{selectedIncomeRecord.desc}</span>
+ </div>
+ )}
+ </div>
+
+ <Form form={form} layout="vertical">
+ <Form.Item name="userWalletAccountId" label={t('myWallet')} rules={[{ required: true, message: t('messages.pleaseLoginFirst') }]}>
+ <WalletAccountSelect />
+ </Form.Item>
+ </Form>
+
+ <div className={styles.withdrawWarning}>
+ <p>{t('withdrawWarning')}</p>
+ <p>{t('withdrawWarning2')}</p>
+ </div>
+ </div>
+ )}
+ </Modal>
+ </div>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/interactive/interactive.module.css b/aitoearn_web/aitoearn-web/src/app/[lng]/interactive/interactive.module.css
new file mode 100644
index 00000000..f09c34d5
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/interactive/interactive.module.css
@@ -0,0 +1,569 @@
+.container {
+ min-height: 0;
+ height: 100%;
+}
+
+/* 页面头部样式 */
+.header {
+ margin-bottom: 24px;
+}
+
+.headerContent {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-radius: 16px;
+ padding: 24px;
+ color: white;
+ box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
+ position: relative;
+ overflow: hidden;
+}
+
+.headerContent::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
+ animation: shimmer 3s ease-in-out infinite;
+}
+
+@keyframes shimmer {
+ 0%, 100% { transform: translateX(-100%); }
+ 50% { transform: translateX(100%); }
+}
+
+.headerLeft {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+ position: relative;
+ z-index: 1;
+}
+
+.headerIcon {
+ width: 64px;
+ height: 64px;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 28px;
+ backdrop-filter: blur(10px);
+ border: 2px solid rgba(255, 255, 255, 0.3);
+}
+
+.headerText {
+ flex: 1;
+}
+
+.headerTitle {
+ font-size: 28px;
+ font-weight: 700;
+ margin: 0 0 8px 0;
+ background: linear-gradient(135deg, #ffffff, #f0f0f0);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.headerSubtitle {
+ font-size: 16px;
+ margin: 0;
+ color: rgba(255, 255, 255, 0.9);
+ font-weight: 400;
+}
+
+.headerRight {
+ position: relative;
+ z-index: 1;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 8px;
+}
+
+.balanceCard {
+ background: rgba(255, 255, 255, 0.15);
+ border-radius: 12px;
+ padding: 20px;
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ min-width: 200px;
+}
+
+
+.walletLink {
+ display: inline-flex;
+ align-items: center;
+ padding: 6px 8px;
+ color: #ffffff;
+ opacity: 0.9;
+ cursor: pointer;
+ border-radius: 8px;
+ transition: all 0.2s ease;
+}
+
+.walletLink:hover {
+ background: rgba(255, 255, 255, 0.18);
+ opacity: 1;
+}
+
+.balanceIcon {
+ width: 48px;
+ height: 48px;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 20px;
+ color: #fff;
+}
+
+.balanceInfo {
+ flex: 1;
+}
+
+.balanceLabel {
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 4px;
+}
+
+.balanceAmount {
+ font-size: 24px;
+ font-weight: 700;
+ color: #fff;
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
+}
+
+/* 主要内容样式 */
+.content {
+ background: rgba(255, 255, 255, 0.95);
+ border-radius: 16px;
+ padding: 24px;
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+}
+
+/* 标签页样式 */
+.content .ant-tabs > .ant-tabs-nav {
+ margin-bottom: 24px;
+ background: rgba(255, 255, 255, 0.5);
+ border-radius: 12px;
+ padding: 4px;
+ backdrop-filter: blur(10px);
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
+ padding: 12px 24px;
+ font-size: 16px;
+ font-weight: 600;
+ border-radius: 8px;
+ transition: all 0.3s ease;
+ margin: 0 4px;
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab-active {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab:hover {
+ background: rgba(102, 126, 234, 0.1);
+ color: #667eea;
+}
+
+.content .ant-tabs > .ant-tabs-nav .ant-tabs-tab-active:hover {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+}
+
+/* 卡片样式 */
+.content .ant-card {
+ border-radius: 12px;
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
+ border: 1px solid rgba(0, 0, 0, 0.06);
+ overflow: hidden;
+}
+
+.content .ant-card-head {
+ background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
+}
+
+.content .ant-card-head-title {
+ font-size: 18px;
+ font-weight: 600;
+ color: #495057;
+}
+
+/* 表格样式 */
+.content .ant-table-thead > tr > th {
+ background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
+ color: #495057;
+ font-weight: 600;
+ font-size: 14px;
+ padding: 16px 12px;
+ border-bottom: 2px solid #dee2e6;
+}
+
+.content .ant-table-tbody > tr:hover > td {
+ background-color: rgba(102, 126, 234, 0.05);
+}
+
+.content .ant-table-tbody > tr > td {
+ padding: 12px;
+ font-size: 14px;
+ border-bottom: 1px solid #f0f0f0;
+}
+
+.content .ant-table-tbody > tr:last-child > td {
+ border-bottom: none;
+}
+
+/* 按钮样式 */
+.content .ant-btn {
+ border-radius: 8px;
+ font-weight: 500;
+ transition: all 0.3s ease;
+ border: none;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+}
+
+.content .ant-btn-primary {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+}
+
+.content .ant-btn-primary:hover {
+ background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+}
+
+.content .ant-btn-primary:disabled {
+ background: #d9d9d9;
+ color: rgba(0, 0, 0, 0.25);
+ transform: none;
+ box-shadow: none;
+}
+
+.content .ant-btn-default {
+ background: white;
+ color: #495057;
+ border: 1px solid #d9d9d9;
+}
+
+.content .ant-btn-default:hover {
+ background: #f8f9fa;
+ border-color: #667eea;
+ color: #667eea;
+ transform: translateY(-1px);
+}
+
+/* 标签样式 */
+.content .ant-tag {
+ border-radius: 6px;
+ font-size: 12px;
+ padding: 4px 8px;
+ font-weight: 500;
+ border: none;
+}
+
+/* 分页样式 */
+.content .ant-pagination {
+ margin-top: 24px;
+ text-align: center;
+}
+
+.content .ant-pagination .ant-pagination-item {
+ border-radius: 8px;
+ border: 1px solid #d9d9d9;
+}
+
+.content .ant-pagination .ant-pagination-item-active {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-color: #667eea;
+}
+
+.content .ant-pagination .ant-pagination-item-active a {
+ color: white;
+}
+
+.content .ant-pagination .ant-pagination-prev,
+.content .ant-pagination .ant-pagination-next {
+ border-radius: 8px;
+ border: 1px solid #d9d9d9;
+}
+
+/* 提现弹窗样式 */
+.withdrawModalContent {
+ padding: 20px 0;
+}
+
+.withdrawInfo {
+ background: #f8f9fa;
+ border-radius: 12px;
+ padding: 20px;
+ margin-bottom: 20px;
+ border: 1px solid #e9ecef;
+}
+
+.withdrawItem {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 12px;
+ padding: 8px 0;
+ border-bottom: 1px solid #e9ecef;
+}
+
+.withdrawItem:last-child {
+ margin-bottom: 0;
+ border-bottom: none;
+}
+
+.withdrawLabel {
+ font-weight: 600;
+ color: #495057;
+ font-size: 14px;
+}
+
+.withdrawValue {
+ color: #6c757d;
+ font-size: 14px;
+ word-break: break-all;
+ max-width: 200px;
+ text-align: right;
+}
+
+.withdrawAmount {
+ color: #28a745;
+ font-weight: 700;
+ font-size: 16px;
+}
+
+.withdrawWarning {
+ background: #fff3cd;
+ border: 1px solid #ffeaa7;
+ border-radius: 8px;
+ padding: 16px;
+ color: #856404;
+}
+
+.withdrawWarning p {
+ margin: 0 0 8px 0;
+ font-size: 14px;
+ line-height: 1.5;
+}
+
+.withdrawWarning p:last-child {
+ margin-bottom: 0;
+}
+
+/* 移动端适配 */
+@media (max-width: 768px) {
+ .container {
+ padding: 12px;
+ }
+
+ .headerContent {
+ flex-direction: column;
+ gap: 20px;
+ padding: 20px;
+ text-align: center;
+ }
+
+ .headerLeft {
+ flex-direction: column;
+ gap: 12px;
+ }
+
+ .headerIcon {
+ width: 48px;
+ height: 48px;
+ font-size: 20px;
+ }
+
+ .headerTitle {
+ font-size: 24px;
+ }
+
+ .headerSubtitle {
+ font-size: 14px;
+ }
+
+ .balanceCard {
+ min-width: auto;
+ width: 100%;
+ justify-content: center;
+ }
+
+ .balanceAmount {
+ font-size: 20px;
+ }
+
+ .content {
+ padding: 16px;
+ }
+
+ .content .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
+ padding: 8px 16px;
+ font-size: 14px;
+ }
+
+ .content .ant-table-thead > tr > th,
+ .content .ant-table-tbody > tr > td {
+ padding: 8px 6px;
+ font-size: 12px;
+ }
+
+ .content .ant-btn {
+ font-size: 12px;
+ padding: 4px 8px;
+ }
+
+ .withdrawItem {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 4px;
+ }
+
+ .withdrawValue {
+ max-width: none;
+ text-align: left;
+ }
+}
+
+@media (max-width: 480px) {
+ .headerContent {
+ padding: 16px;
+ }
+
+ .headerTitle {
+ font-size: 20px;
+ }
+
+ .balanceCard {
+ padding: 16px;
+ }
+
+ .content {
+ padding: 12px;
+ }
+
+ .content .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
+ padding: 6px 12px;
+ font-size: 12px;
+ }
+}
+
+/* 互动卡片瀑布流 */
+.grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+ gap: 18px;
+}
+
+.postCard {
+ background: #fff;
+ border: 1px solid #e9ecef;
+ border-radius: 8px;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+}
+
+.thumb {
+ position: relative;
+ width: 100%;
+ padding-top: 75%;
+ background: #fafafa;
+}
+.thumb img {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+.playIcon{
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 56px;
+ height: 56px;
+ border-radius: 50%;
+ background: rgba(0,0,0,0.25);
+}
+.thumbPlaceholder {
+ position: absolute;
+ inset: 0;
+ display: flex; align-items: center; justify-content: center;
+ color: #999;
+}
+.mediaType {
+ position: absolute;
+ left: 8px; bottom: 8px;
+}
+.postMeta {
+ padding: 12px;
+}
+.postFooter {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-top: 8px;
+}
+.postTitle {
+ font-size: 14px; font-weight: 600; color: #111;
+ line-height: 1.4; max-height: 3.2em; overflow: hidden;
+}
+.postContent{
+ margin-top: 6px;
+ font-size: 12px;
+ color: #4b5563;
+ line-height: 1.6;
+ max-height: 4.8em;
+ overflow: hidden;
+}
+.statsRow {
+ display: flex; gap: 12px; color: #666; font-size: 12px;
+}
+
+/* 评论弹窗布局修正 */
+.replyBlock {
+ width: 100%;
+ margin-top: 8px;
+ margin-left: 36px; /* 与头像宽度一致的缩进,避免错位 */
+}
+
+/* 评论按钮样式(图标按钮) */
+.commentBtn {
+ width: 44px;
+ height: 44px;
+ border-radius: 8px;
+ border: 1px solid #e5e7eb;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+}
+.commentBtn:hover {
+ border-color: #d1d5db;
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/interactive/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/interactive/page.tsx
new file mode 100644
index 00000000..a5d17835
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/interactive/page.tsx
@@ -0,0 +1,475 @@
+"use client";
+
+import { useEffect, useRef, useState } from "react";
+import { Card, Button, message, Tag, Space, Select, Modal, Input, List, Avatar } from "antd";
+import { DollarOutlined, HistoryOutlined, WalletOutlined, CommentOutlined, LikeOutlined, EyeOutlined, PlayCircleOutlined } from "@ant-design/icons";
+import { useParams, useRouter } from "next/navigation";
+import { useUserStore } from "@/store/user";
+import { apiGetEngagementPosts, apiGetEngagementComments, apiReplyEngagementComment, apiGetPostComments, apiPublishPostComment, apiPublishCommentReply, apiGetCommentReplies } from "@/api/engagement";
+import { EngagementPostItem, EngagementPlatform } from "@/api/types/engagement";
+import { useTransClient } from "@/app/i18n/client";
+import styles from "./interactive.module.css";
+import WalletAccountSelect from "@/components/WalletAccountSelect";
+import { useAccountStore } from "@/store/account";
+import { useShallow } from "zustand/react/shallow";
+import AccountSidebar from "@/app/[lng]/accounts/components/AccountSidebar/AccountSidebar";
+// import { NoSSR } from "@kwooshung/react-no-ssr";
+
+const { Option } = Select;
+
+export default function InteractivePage() {
+ const router = useRouter();
+ const { lng } = useParams();
+ const { userInfo, token } = useUserStore();
+ const { t } = useTransClient('interactive' as any);
+ const tt = t as any;
+
+ // 账户侧边栏相关
+ const { accountInit, accountActive, setAccountActive } = useAccountStore(
+ useShallow((state) => ({
+ accountInit: state.accountInit,
+ accountActive: state.accountActive,
+ setAccountActive: state.setAccountActive,
+ })),
+ );
+
+ // 互动帖子列表状态
+ const [posts, setPosts] = useState<EngagementPostItem[]>([]);
+ const [loading, setLoading] = useState(false);
+ const [pagination, setPagination] = useState({ current: 1, pageSize: 20, total: 0 });
+ const [hasMore, setHasMore] = useState(true);
+ const [platform, setPlatform] = useState<EngagementPlatform | undefined>(undefined);
+ const loadMoreRef = useRef<HTMLDivElement | null>(null);
+ // 评论状态
+ const [commentVisible, setCommentVisible] = useState(false);
+ const [commentLoading, setCommentLoading] = useState(false);
+ const [commentPost, setCommentPost] = useState<EngagementPostItem | null>(null);
+ const [comments, setComments] = useState<any[]>([]);
+ const [commentsCursor, setCommentsCursor] = useState<{ before?: string; after?: string } | undefined>();
+ const [commentsTotal, setCommentsTotal] = useState<number | undefined>(undefined);
+ const [replyText, setReplyText] = useState('');
+ const [replyTarget, setReplyTarget] = useState<{ id: string; name: string } | null>(null);
+ const [sending, setSending] = useState(false);
+ const replyInputRef = useRef<any>(null);
+ // 二级回复:按评论ID存储
+ const [repliesByComment, setRepliesByComment] = useState<Record<string, { list: any[]; cursor?: { before?: string; after?: string }; loading: boolean; expanded: boolean }>>({});
+
+ // 获取互动帖子
+ const fetchEngagementPosts = async (page: number = 1, pageSize: number = 20) => {
+ if (!accountActive?.uid || !platform) return;
+ setLoading(true);
+ try {
+ const res = await apiGetEngagementPosts({
+ platform,
+ uid: accountActive.uid,
+ page,
+ pageSize
+ });
+ if (res?.data) {
+ const list = res.data.posts || [];
+ setPosts(prev => page === 1 ? list : [...prev, ...list]);
+ const total = res.data.total || 0;
+ setPagination({ current: page, pageSize, total });
+ const nextHasMore = typeof (res.data as any).hasMore === 'boolean' ? (res.data as any).hasMore : (page * pageSize) < total;
+ setHasMore(nextHasMore);
+ }
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ // 账户或平台变化时刷新
+ useEffect(() => {
+ if (accountActive?.uid && platform) {
+ setPosts([]);
+ setHasMore(true);
+ fetchEngagementPosts(1, pagination.pageSize);
+ } else {
+ setPosts([]);
+ setPagination((prev) => ({ ...prev, total: 0, current: 1 }));
+ setHasMore(false);
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [accountActive?.uid, platform]);
+
+ // 当切换账户时,自动根据账户平台设置 platform 并触发刷新
+ useEffect(() => {
+ if (!accountActive) return;
+ const type = String((accountActive as any).type || '').toLowerCase();
+ const map: Record<string, EngagementPlatform> = {
+ bilibili: 'bilibili',
+ douyin: 'douyin',
+ facebook: 'facebook',
+ wxgzh: 'wxGzh',
+ wxsph: 'wxGzh',
+ instagram: 'instagram',
+ kwai: 'KWAI',
+ kuaishou: 'KWAI',
+ pinterest: 'pinterest',
+ threads: 'threads',
+ tiktok: 'tiktok',
+ twitter: 'twitter',
+ xhs: 'xhs',
+ redbook: 'xhs',
+ youtube: 'youtube',
+ };
+ const mapped = map[type];
+ if (mapped && mapped !== platform) {
+ setPlatform(mapped);
+ }
+ // 如果已有 platform 则不覆盖用户手动选择
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [accountActive?.account]);
+
+ const PostCard = ({ item }: { item: EngagementPostItem }) => {
+ return (
+ <div className={styles.postCard}>
+ <a href={item.permaLink} target="_blank" className={styles.thumb}>
+ {item.thumbnail ? (
+ <img src={item.thumbnail} alt={item.title} />
+ ) : (
+ <div className={styles.thumbPlaceholder}>No Image</div>
+ )}
+ {/* {item.mediaType === 'video' && (
+ <span className={styles.playIcon}>
+ <PlayCircleOutlined style={{ fontSize: 40, color: 'rgba(255,255,255,0.95)' }} />
+ </span>
+ )} */}
+ <span className={styles.mediaType}>
+ <Tag color={item.mediaType==='video'?'blue':item.mediaType==='image'?'green':'purple'}>{item.mediaType}</Tag>
+ </span>
+ </a>
+ <div className={styles.postMeta}>
+ <div className={styles.postTitle} title={item.title}>{item.title || '-'}</div>
+ {item.content && (
+ <div className={styles.postContent} title={item.content}>
+ {item.content}
+ </div>
+ )}
+ <div className={styles.postFooter}>
+ <div className={styles.statsRow}>
+ <span><LikeOutlined style={{ marginRight: 6 }} />{item.likeCount}</span>
+ <span><CommentOutlined style={{ marginRight: 6 }} />{item.commentCount}</span>
+ <span><EyeOutlined style={{ marginRight: 6 }} />{item.viewCount}</span>
+ </div>
+ <Space size={8}>
+ <Button className={styles.commentBtn} type="text" onClick={() => openComments(item)}>
+ <CommentOutlined style={{ fontSize: 22 }} />
+ </Button>
+ </Space>
+ </div>
+ </div>
+ </div>
+ );
+ };
+
+ const openComments = async (item: EngagementPostItem) => {
+ setCommentPost(item);
+ setComments([]);
+ setCommentVisible(true);
+ setReplyTarget(null);
+ await loadCommentsV2(item.postId, undefined, undefined);
+ };
+
+ const loadCommentsV2 = async (postId: string, before?: string, after?: string) => {
+ if (!accountActive?.account || !platform) return;
+ setCommentLoading(true);
+ try {
+ const res = await apiGetPostComments({
+ accountId: accountActive.account,
+ platform: platform as any,
+ postId,
+ pagination: { before, after, limit: 20 }
+ });
+ if (res?.data) {
+ const list = res.data.comments || [];
+ setComments((prev) => after || before ? [...prev, ...list] : list);
+ setCommentsTotal(res.data.total);
+ setCommentsCursor(res.data.cursor);
+ }
+ } finally {
+ setCommentLoading(false);
+ }
+ };
+
+ const expandReplies = async (commentId: string) => {
+ if (!accountActive?.account || !platform) return;
+ setRepliesByComment((prev) => ({
+ ...prev,
+ [commentId]: { ...(prev[commentId] || { list: [], cursor: {}, expanded: true }), loading: true, expanded: true },
+ }));
+ const res = await apiGetCommentReplies({
+ accountId: accountActive.account,
+ platform: platform as any,
+ commentId,
+ pagination: { limit: 20 },
+ });
+ setRepliesByComment((prev) => ({
+ ...prev,
+ [commentId]: {
+ list: res?.data?.comments || [],
+ cursor: res?.data?.cursor,
+ loading: false,
+ expanded: true,
+ },
+ }));
+ };
+
+ const collapseReplies = (commentId: string) => {
+ setRepliesByComment((prev) => ({
+ ...prev,
+ [commentId]: { ...(prev[commentId] || { list: [], cursor: {} }), expanded: false, loading: false },
+ }));
+ };
+
+ const loadMoreReplies = async (commentId: string) => {
+ const state = repliesByComment[commentId];
+ if (!state?.cursor?.after || !accountActive?.account || !platform) return;
+ setRepliesByComment((prev) => ({ ...prev, [commentId]: { ...(prev[commentId] as any), loading: true } }));
+ const res = await apiGetCommentReplies({
+ accountId: accountActive.account,
+ platform: platform as any,
+ commentId,
+ pagination: { after: state.cursor.after, limit: 20 },
+ });
+ setRepliesByComment((prev) => ({
+ ...prev,
+ [commentId]: {
+ list: [ ...(prev[commentId]?.list || []), ...(res?.data?.comments || []) ],
+ cursor: res?.data?.cursor,
+ loading: false,
+ expanded: true,
+ },
+ }));
+ };
+
+ /**
+ * 提交帖子评论
+ */
+ const submitPostComment = async () => {
+ if (!commentPost || !replyText.trim() || !accountActive?.account || !platform || sending) return;
+ setSending(true);
+ try {
+ const res = await apiPublishPostComment({ accountId: accountActive.account, platform: platform as any, postId: commentPost.postId, message: replyText.trim() });
+ if (res) {
+ setReplyText('');
+ setReplyTarget(null);
+ await loadCommentsV2(commentPost.postId);
+ message.success('已评论');
+ }
+ } catch (error) {
+ message.error('评论失败,请重试');
+ } finally {
+ setSending(false);
+ }
+ };
+
+ /**
+ * 提交评论回复
+ */
+ const submitReply = async (parentId?: string) => {
+ if (!commentPost || !replyText.trim() || !accountActive?.account || !platform || sending) return;
+ setSending(true);
+ try {
+ const res = await apiPublishCommentReply({ accountId: accountActive.account, platform: platform as any, commentId: parentId || '', message: replyText.trim() });
+ if (res) {
+ setReplyText('');
+ setReplyTarget(null);
+ await loadCommentsV2(commentPost.postId);
+ message.success('已回复');
+ }
+ } catch (error) {
+ message.error('回复失败,请重试');
+ } finally {
+ setSending(false);
+ }
+ };
+
+ // 删除与收入/提现相关方法(本页不需要)
+
+ // 删除收入/提现相关列定义(本页不需要)
+
+ useEffect(() => {
+ if (!token) {
+ message.error(tt('messages.pleaseLoginFirst'));
+ router.push('/login');
+ return;
+ }
+
+ // 初始化账户
+ accountInit();
+ }, [token, router]);
+
+ // 底部自动加载更多(IntersectionObserver)
+ useEffect(() => {
+ if (!loadMoreRef.current) return;
+ const el = loadMoreRef.current;
+ const io = new IntersectionObserver((entries) => {
+ const first = entries[0];
+ if (first.isIntersecting && hasMore && !loading) {
+ fetchEngagementPosts(pagination.current + 1, pagination.pageSize);
+ }
+ }, { rootMargin: '200px' });
+ io.observe(el);
+ return () => io.disconnect();
+ }, [loadMoreRef.current, hasMore, loading, pagination.current, pagination.pageSize]);
+
+ return (
+ <>
+ <div className={styles.container} style={{ display: 'flex', gap: 16 }}>
+ {/* 左侧账户选择栏 */}
+ <div >
+ <AccountSidebar
+ activeAccountId={accountActive?.account || ''}
+ onAccountChange={(account) => {
+ if (account.id === accountActive?.account) {
+ setAccountActive(undefined);
+ } else {
+ setAccountActive(account);
+ }
+ }}
+ />
+ </div>
+
+ {/* 右侧内容 */}
+ <div style={{ flex: 1, minWidth: 0, height: '100%', overflow: 'auto' }}>
+ {!accountActive?.uid ? (
+ <Card style={{ height: '100%', minHeight: 360, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
+ <div style={{ textAlign: 'center', maxWidth: 520 }}>
+ <div style={{
+ width: 72, height: 72, borderRadius: 16, border: '1px solid #e5e7eb',
+ display: 'inline-flex', alignItems: 'center', justifyContent: 'center', marginBottom: 16
+ }}>
+ <CommentOutlined style={{ fontSize: 36, color: '#9ca3af' }} />
+ </div>
+ <div style={{ fontSize: 18, fontWeight: 600, color: '#111827', marginBottom: 8 }}>请在左侧选择需要互动的频道</div>
+ <div style={{ color: '#6b7280' }}>选择一个账号后,将自动加载该频道的最新作品与评论互动功能。</div>
+ </div>
+ </Card>
+ ) : (
+ /* 主要内容:互动帖子卡片瀑布流 */
+ <div className={styles.content}>
+ <div className={styles.grid}>
+ {posts.map((item) => (
+ <PostCard key={`${item.platform}-${item.postId}`} item={item} />
+ ))}
+ </div>
+ <div style={{ display: 'flex', justifyContent: 'center', marginTop: 12 }}>
+ {hasMore ? (
+ <Button
+ loading={loading}
+ onClick={() => fetchEngagementPosts(pagination.current + 1, pagination.pageSize)}
+ disabled={loading}
+ >
+ 加载更多
+ </Button>
+ ) : (
+ <span style={{ color: '#999' }}>没有更多作品</span>
+ )}
+ </div>
+ <div ref={loadMoreRef} style={{ height: 1 }} />
+ </div>
+ )}
+ </div>
+
+ {/* 评论弹窗 */}
+ <Modal
+ open={commentVisible}
+ onCancel={() => setCommentVisible(false)}
+ title={commentPost?.title || '评论'}
+ footer={null}
+ width={600}
+ >
+ <List
+ itemLayout="vertical"
+ loading={commentLoading}
+ dataSource={comments}
+ renderItem={(c: any) => {
+ const canExpand = !!c.hasReplies;
+ const replyState = repliesByComment[c.id];
+ const expanded = !!replyState?.expanded;
+ return (
+ <List.Item
+ style={{ alignItems: 'flex-start' }}
+ actions={[
+ canExpand && !expanded ? (
+ <a key="expand" onClick={() => expandReplies(c.id)}>展开回复</a>
+ ) : canExpand && expanded ? (
+ <a key="collapse" onClick={() => collapseReplies(c.id)}>收起回复</a>
+ ) : null,
+ <a
+ key="reply"
+ onClick={() => {
+ const name = c.author?.username || c.author?.name || c.author?.id || '';
+ setReplyTarget({ id: c.id, name });
+ setTimeout(() => replyInputRef.current?.focus?.(), 0);
+ }}
+ >
+ 回复
+ </a>,
+ ].filter(Boolean)}
+ >
+ <List.Item.Meta
+ avatar={<Avatar src={c.author?.avatar} />}
+ title={<span>{c.author?.username || c.author?.name} · {new Date(c.createdAt).toLocaleString()}</span>}
+ description={c.message}
+ />
+ {expanded && (
+ <div className={styles.replyBlock}>
+ <List
+ size="small"
+ itemLayout="vertical"
+ dataSource={replyState?.list || []}
+ loading={replyState?.loading}
+ renderItem={(r: any) => (
+ <List.Item>
+ <List.Item.Meta
+ avatar={<Avatar src={r.author?.avatar} />}
+ title={<span>{r.author?.username || r.author?.name} · {new Date(r.createdAt).toLocaleString()}</span>}
+ description={r.message}
+ />
+ </List.Item>
+ )}
+ />
+ <div style={{ display: 'flex', justifyContent: 'flex-start', paddingLeft: 40 }}>
+ <Button size="small" type="link" onClick={() => loadMoreReplies(c.id)} disabled={!replyState?.cursor?.after} loading={replyState?.loading}>
+ 加载更多回复
+ </Button>
+ </div>
+ </div>
+ )}
+ </List.Item>
+ );
+ }}
+ />
+ {commentsCursor?.after && (
+ <div
+ style={{ textAlign: 'center', marginTop: 10, color: '#1677ff', cursor: 'pointer' }}
+ onClick={() => !commentLoading && loadCommentsV2(commentPost!.postId, undefined, commentsCursor?.after)}
+ >
+ {commentLoading ? '加载中…' : '加载更多评论'}
+ </div>
+ )}
+ <div style={{ display: 'flex', gap: 8, marginTop: 12, paddingBottom: 20 }}>
+ <Input.TextArea
+ ref={replyInputRef}
+ value={replyText}
+ onChange={(e) => setReplyText(e.target.value)}
+ rows={1}
+ placeholder={replyTarget ? `回复@${replyTarget.name}` : '输入评论...'}
+ />
+ <Button
+ type="primary"
+ loading={sending}
+ disabled={sending || !replyText.trim()}
+ onClick={() => (replyTarget ? submitReply(replyTarget.id) : submitPostComment())}
+ style={{ width: 88, minWidth: 88 }}
+ >
+ {sending ? '发送中...' : '发送'}
+ </Button>
+ </div>
+ </Modal>
+ </div>
+ </>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/layout.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/layout.tsx
index c5af73f7..9e58bcf4 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/layout.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/layout.tsx
@@ -1,11 +1,11 @@
import "@/app/var.css";
import "../globals.css";
import { Providers } from "../layout/Providers";
-
+import Head from "next/head";
import { dir } from "i18next";
import { languages, fallbackLng } from "@/app/i18n/settings";
import { useTranslation } from "@/app/i18n";
-import ConditionalHeader from "./ConditionalHeader";
+import ConditionalHeader from "../layout/ConditionalHeader";
export async function generateMetadata({
params,
@@ -38,7 +38,7 @@ export default async function RootLayout({
height: "100vh",
display: "flex",
flexDirection: "column",
- minHeight: '0'
+ minHeight: "0",
}}
>
<ConditionalHeader />
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/login/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/login/page.tsx
index 2cd70858..8a026421 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/login/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/login/page.tsx
@@ -93,7 +93,7 @@ export default function LoginPage() {
setUserInfo(response.data.userInfo);
}
message.success(t('registerSuccess'));
- router.push('/');
+ router.push('/accounts');
}
} catch (error) {
console.error(t('checkStatusError'), error);
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/ai-generate.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/ai-generate.module.scss
index cdf9bf05..3516034e 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/ai-generate.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/ai-generate.module.scss
@@ -12,7 +12,7 @@
margin-bottom: 24px;
padding: 16px;
background-color: #f8f9fa;
- border-radius: 12px;
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.05);
@@ -66,12 +66,93 @@
.content {
background-color: #f8f9fa;
- border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.05);
}
+// 新增:左右主布局
+.mainLayout {
+ display: grid;
+ grid-template-columns: 110px 1fr;
+ gap: 16px;
+ min-height: 100%;
+}
+
+.leftSidebar {
+ background: #fff;
+ border: 1px solid rgba(0,0,0,0.06);
+
+ display: flex;
+ flex-direction: column;
+}
+
+.moduleTabs {
+ display: flex;
+ gap: 1px;
+}
+
+.moduleTab {
+ flex: 1;
+ height: 44px;
+ border: none;
+ background: #fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ transition: all .2s ease;
+ color: #666;
+
+ :global {
+ .anticon {
+ font-size: 18px;
+ color: inherit;
+ transition: color .2s ease;
+ }
+ }
+}
+
+.moduleTab:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
+.moduleTabActive {
+ /* 顶部图片/视频切换:更浅的选中底色,与下方子菜单区分 */
+ background: rgba(166,106,228,.1);
+ color: var(--theColor5);
+
+ :global {
+ .anticon { color: var(--theColor5); }
+ }
+}
+
+// 新增:图片子菜单
+.imageSubTabs {
+ display: flex;
+ flex-direction: column;
+}
+
+.subTab {
+ width: 100%;
+ height: 70px;
+ border: none;
+ background: #fafafa;
+ color: #555;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ transition: all .2s ease;
+ padding: 6px 4px;
+}
+
+.subTab:hover { background: #f0f1f3; }
+.subTabActive { background: rgba(166,106,228,.3); color: var(--theColor5); border-color: transparent; }
+
+.rightContent {
+ background: #f8f9fa;
+
+}
+
.tabs {
:global {
.ant-tabs-nav {
@@ -113,10 +194,67 @@
.section {
padding: 20px;
border: 1px solid rgba(0, 0, 0, 0.05);
- border-radius: 12px;
+
background-color: #fff;
}
+// 新增:textToImage 左右分栏
+.twoColumn { display: grid; grid-template-columns: 399px 1fr; gap: 16px; }
+.leftPanel { display: flex; flex-direction: column; gap: 12px; }
+.rightPanel { }
+
+.blockTitle { font-size: 14px; color: #999; }
+
+.modelList { display: flex; flex-direction: column; gap: 8px; }
+.modelSelect { position: relative; }
+.modelSelectBtn { width: 100%; display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid rgba(0,0,0,.06); background: #fff; cursor: pointer; }
+.modelCaret { margin-left: auto; color: #999; }
+.modelDropdown { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 10; border-radius: 8px; }
+.modelListScrollable { max-height: 340px; overflow: auto; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
+.modelItem {
+ display: flex; gap: 10px; padding: 10px; border: 1px solid rgba(0,0,0,.06); background: #fafafa; cursor: pointer; transition: all .2s ease;
+}
+.modelItem:hover { background: #f0f1f3; }
+.modelItemActive { background: rgba(166,106,228,.12); border-color: rgba(166,106,228,.25); }
+.modelIcon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--theColor5); }
+.modelMain { flex: 1; display: flex; flex-direction: column; gap: 4px; }
+.modelHeader { display: flex; align-items: center; gap: 6px; }
+.modelName { font-size: 14px; color: #333; font-weight: 500; }
+.modelTag { font-size: 11px; color: #fff; background: var(--theColor5); padding: 1px 6px; border-radius: 10px; }
+.modelDesc { font-size: 12px; color: #666; }
+.modelMeta { font-size: 12px; color: #999; }
+
+.exampleChips { display: flex; flex-wrap: wrap; gap: 8px; }
+.exampleChip { padding: 4px 8px; border-radius: 12px; background: #f5f6f8; color: #555; cursor: pointer; }
+.exampleChip:hover { background: #eef0f2; }
+
+.pillRow { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
+.pillGroupBox { background: rgba(166,106,228,.08); border: 1px solid rgba(166,106,228,.15); border-radius: 10px; padding: 6px; }
+.pillGroup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
+.pill { height: 36px; border-radius: 8px; background: #fff; border: 1px solid rgba(166,106,228,.2); color: var(--theColor5); cursor: pointer; transition: all .15s ease; }
+.pill:hover { background: rgba(166,106,228,.12); }
+.pillActive { background: var(--theColor5); color: #fff; border-color: transparent; }
+
+// 示例轮播
+.sampleCarousel { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; }
+.sampleStage { position: relative; width: 100%; aspect-ratio: 16/10; background: #2a2a2a; border-radius: 8px; overflow: hidden; }
+.sampleStage img { width: 100%; height: 100%; object-fit: cover; }
+.samplePrev, .sampleNext { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 18px; background: rgba(0,0,0,.4); color: #fff; border: none; cursor: pointer; }
+.samplePrev { left: 10px; }
+.sampleNext { right: 10px; }
+.sampleDots { display: flex; gap: 6px; }
+.sampleDot { width: 6px; height: 6px; border-radius: 3px; background: #c9c9c9; cursor: pointer; }
+.sampleDotActive { background: var(--theColor5); }
+
+// 视频首尾帧上传面板
+.uploadPanel { display: flex; align-items: center; gap: 12px; width: 100%; }
+.uploadCard { flex: 1; height: 120px; border: 1px dashed rgba(0,0,0,.15); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
+.uploadCard img { width: 100%; height: 100%; object-fit: cover; }
+.uploadPlaceholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #999; }
+.uploadIcon { width: 28px; height: 28px; border-radius: 14px; background: rgba(166,106,228,.12); color: var(--theColor5); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
+.uploadText { font-size: 12px; color: #666; }
+.swapIcon { color: #bbb; }
+
.form {
display: flex;
flex-direction: column;
@@ -190,12 +328,25 @@
gap: 16px;
}
+// 调整复选框标签为小字、同一行对齐
+.options label {
+ font-size: 12px;
+ color: #666;
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ white-space: nowrap;
+}
+.options label input[type="checkbox"] {
+ margin: 0;
+}
+
.polling {
margin-top: 16px;
text-align: center;
padding: 24px;
background-color: #f8f9fa;
- border-radius: 12px;
+
animation: fadeIn 0.3s ease;
border: 1px solid rgba(0, 0, 0, 0.05);
@@ -212,11 +363,10 @@
}
.result {
- margin-top: 16px;
text-align: center;
- padding: 16px;
+ padding: 8px;
border: 1px dashed rgba(0, 0, 0, 0.1);
- border-radius: 12px;
+
animation: fadeIn 0.3s ease;
background-color: #fff;
@@ -227,96 +377,37 @@
}
}
+.imageCard { position: relative; width: 100%; border-radius: 8px; overflow: hidden; }
+.imageCard img { width: 100%; height: 100%; max-height: 100vh; object-fit: cover; display: block; }
+.imageActions { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
+
// 模板选择网格
.templateGrid {
display: flex;
- gap: 12px;
- overflow-x: auto;
+ flex-wrap: wrap;
+ gap: 8px;
padding: 4px 0;
- scrollbar-width: thin;
- scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
-
- &::-webkit-scrollbar {
- height: 6px;
- }
-
- &::-webkit-scrollbar-track {
- background: transparent;
- }
-
- &::-webkit-scrollbar-thumb {
- background: rgba(0, 0, 0, 0.2);
- border-radius: 3px;
- }
-
- &::-webkit-scrollbar-thumb:hover {
- background: rgba(0, 0, 0, 0.3);
- }
}
.templateCard {
- border: 2px solid rgba(0, 0, 0, 0.08);
- border-radius: 10px;
- overflow: hidden;
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ border: 1px solid rgba(0, 0, 0, 0.08);
+ border-radius: 8px;
background: #fff;
cursor: pointer;
- transition: all 0.2s ease;
- box-shadow: 0 2px 8px rgba(0,0,0,0.06);
- flex-shrink: 0;
- width: 160px;
-
- &:hover {
- transform: translateY(-2px);
- box-shadow: 0 6px 20px rgba(0,0,0,0.12);
- }
+ transition: all 0.15s ease;
+ padding: 6px 10px;
}
-.templateCardActive {
- border-color: var(--theColor5) !important;
- box-shadow: 0 0 0 3px rgba(166, 106, 228, 0.2), 0 4px 12px rgba(166, 106, 228, 0.15) !important;
- transform: translateY(-1px);
- position: relative;
-
- &::after {
- content: '';
- position: absolute;
- top: -2px;
- left: -2px;
- right: -2px;
- bottom: -2px;
- border: 2px solid var(--theColor5);
- border-radius: 12px;
- pointer-events: none;
- animation: pulse 2s infinite;
- }
-}
-
-.templateThumb {
- position: relative;
- width: 100%;
- /* 维持 800x500 比例 = 5:3 */
- padding-top: 62.5%;
- background: #f6f7f9;
+.templateCard:hover { border-color: var(--theColor5); box-shadow: 0 2px 10px rgba(166,106,228,.12); }
+.templateCardActive { background: rgba(166,106,228,.12); border-color: var(--theColor5); }
- img {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
-}
+.templateThumb { width: 22px; height: 22px; border-radius: 4px; overflow: hidden; background: #f6f7f9; display: flex; align-items: center; justify-content: center; }
+.templateThumb img { width: 100%; height: 100%; object-fit: cover; }
-.templateLabel {
- padding: 10px 12px;
- font-size: 13px;
- color: #444;
- text-align: left;
- font-weight: 500;
- background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
- border-top: 1px solid rgba(0, 0, 0, 0.05);
-}
+.templateLabel { font-size: 12px; color: #444; font-weight: 500; }
@keyframes fadeIn {
from {
@@ -351,6 +442,9 @@
padding: 16px;
}
+ .mainLayout { grid-template-columns: 1fr; }
+ .leftSidebar { flex-direction: row; }
+
.tabs {
:global {
.ant-tabs-tab {
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page copy.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page copy.tsx
new file mode 100644
index 00000000..bcf5675b
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page copy.tsx
@@ -0,0 +1,1211 @@
+"use client";
+
+import { useState, useEffect, useRef, useMemo } from "react";
+import { useParams, useRouter, useSearchParams } from "next/navigation";
+import {
+ message,
+ Input,
+ Button,
+ Select,
+ Spin,
+ Tabs,
+ Row,
+ Col,
+ Modal,
+ Progress,
+} from "antd";
+import {
+ ArrowLeftOutlined,
+ RobotOutlined,
+ FireOutlined,
+ PictureOutlined,
+ FileTextOutlined,
+ UploadOutlined,
+ VideoCameraOutlined,
+} from "@ant-design/icons";
+import styles from "./ai-generate.module.scss";
+import {
+ generateImage,
+ generateFireflyCard,
+ getImageGenerationModels,
+ generateVideo,
+ getVideoTaskStatus,
+ getVideoGenerationModels,
+ generateMd2Card,
+} from "@/api/ai";
+import { getOssUrl } from "@/utils/oss";
+import { uploadToOss } from "@/api/oss";
+import { getMediaGroupList, createMedia } from "@/api/media";
+import { useTransClient } from "@/app/i18n/client";
+import { md2CardTemplates, defaultMarkdown } from "./md2card";
+
+const { TextArea } = Input;
+const { Option } = Select;
+const { TabPane } = Tabs;
+
+export default function AIGeneratePage() {
+ const params = useParams();
+ const router = useRouter();
+ const searchParams = useSearchParams();
+ const { t } = useTransClient('material');
+ const albumId = params.id as string;
+ const lng = (params as any).lng as string;
+ const isEnglishLang = typeof lng === "string" ? lng.toLowerCase().startsWith("en") : false;
+
+ // 从URL参数获取默认标签
+ const defaultTab = searchParams.get('tab') || 'textToImage';
+
+ const [prompt, setPrompt] = useState("");
+ const [size, setSize] = useState("1024x1024");
+ const [n, setN] = useState(1);
+ const [quality, setQuality] = useState<"standard" | "hd">("standard");
+ const [style, setStyle] = useState<"vivid" | "natural">("vivid");
+ const [model, setModel] = useState("");
+ const [loading, setLoading] = useState(false);
+ const [result, setResult] = useState<string[] | null>(null);
+
+ const [content, setContent] = useState("");
+ const [title, setTitle] = useState("");
+ const [temp, setTemp] = useState("tempA");
+ const [loadingFirefly, setLoadingFirefly] = useState(false);
+ const [fireflyResult, setFireflyResult] = useState<string | null>(null);
+ const TEMPLATE_BASE = "https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/firefly";
+ const templateList = [
+ { key: "tempA", name: t('aiGenerate.templateA') },
+ { key: "tempB", name: t('aiGenerate.templateB') },
+ { key: "tempC", name: t('aiGenerate.templateC') },
+ { key: "tempJin", name: t('aiGenerate.templateJin') },
+ { key: "tempMemo", name: t('aiGenerate.templateMemo') },
+ { key: "tempEasy", name: t('aiGenerate.templateEasy') },
+ { key: "tempE", name: t('aiGenerate.templateE') },
+ { key: "tempWrite", name: t('aiGenerate.templateWrite') },
+ { key: "tempD", name: t('aiGenerate.templateD') },
+ ];
+
+ // 视频生成相关状态
+ const [videoPrompt, setVideoPrompt] = useState("");
+ const [videoModel, setVideoModel] = useState("");
+ const [videoSize, setVideoSize] = useState("720p");
+ const [videoDuration, setVideoDuration] = useState(5);
+ const [videoMode, setVideoMode] = useState("text2video");
+ const [videoImage, setVideoImage] = useState("");
+ const [videoImageTail, setVideoImageTail] = useState("");
+ const [loadingVideo, setLoadingVideo] = useState(false);
+ const [videoTaskId, setVideoTaskId] = useState<string | null>(null);
+ const [videoStatus, setVideoStatus] = useState<string>("");
+ const [videoResult, setVideoResult] = useState<string | null>(null);
+ const [checkingStatus, setCheckingStatus] = useState(false);
+ const [videoProgress, setVideoProgress] = useState(0);
+
+ // 首帧/尾帧上传相关
+ const firstFrameInputRef = useRef<HTMLInputElement | null>(null);
+ const tailFrameInputRef = useRef<HTMLInputElement | null>(null);
+ const [uploadingFirstFrame, setUploadingFirstFrame] = useState(false);
+ const [uploadingTailFrame, setUploadingTailFrame] = useState(false);
+
+ // 文件大小限制常量(字节)
+ const MAX_IMAGE_SIZE = 30 * 1024 * 1024; // 30MB
+
+ /**
+ * 检查文件大小是否在限制范围内
+ */
+ const checkFileSize = (file: File): boolean => {
+ if (file.size > MAX_IMAGE_SIZE) {
+ const sizeInMB = (MAX_IMAGE_SIZE / (1024 * 1024)).toFixed(0);
+ message.error(`${t('aiGenerate.imageSizeLimit' as any)}: ${sizeInMB}MB`);
+ return false;
+ }
+ return true;
+ };
+
+ /**
+ * 检查图片文件格式
+ */
+ const checkImageFormat = (file: File): boolean => {
+ const allowedTypes = ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'];
+ if (!allowedTypes.includes(file.type)) {
+ message.error(`${t('aiGenerate.imageFormatSupport' as any)}: JPG, PNG, WEBP`);
+ return false;
+ }
+ return true;
+ };
+
+ const handlePickFirstFrame = () => {
+ firstFrameInputRef.current?.click();
+ };
+
+ const handlePickTailFrame = () => {
+ tailFrameInputRef.current?.click();
+ };
+
+ const handleFirstFrameChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
+ const file = e.target.files && e.target.files[0];
+ if (!file) return;
+
+ // 检查文件大小和格式
+ if (!checkFileSize(file) || !checkImageFormat(file)) {
+ if (e.target) e.target.value = "";
+ return;
+ }
+
+ try {
+ setUploadingFirstFrame(true);
+ const key = await uploadToOss(file);
+ const url = getOssUrl(key);
+ setVideoImage(url);
+ message.success(t('aiGenerate.uploadSuccess'));
+ } catch (err) {
+ message.error(t('aiGenerate.uploadFailed'));
+ } finally {
+ setUploadingFirstFrame(false);
+ if (e.target) e.target.value = "";
+ }
+ };
+
+ const handleTailFrameChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
+ const file = e.target.files && e.target.files[0];
+ if (!file) return;
+
+ // 检查文件大小和格式
+ if (!checkFileSize(file) || !checkImageFormat(file)) {
+ if (e.target) e.target.value = "";
+ return;
+ }
+
+ try {
+ setUploadingTailFrame(true);
+ const key = await uploadToOss(file);
+ const url = getOssUrl(key);
+ setVideoImageTail(url);
+ message.success(t('aiGenerate.uploadSuccess'));
+ } catch (err) {
+ message.error(t('aiGenerate.uploadFailed'));
+ } finally {
+ setUploadingTailFrame(false);
+ if (e.target) e.target.value = "";
+ }
+ };
+
+ // md2card相关状态
+ const [markdownContent, setMarkdownContent] = useState(defaultMarkdown);
+ const [selectedTheme, setSelectedTheme] = useState("apple-notes");
+ const [themeMode, setThemeMode] = useState("light");
+ const [cardWidth, setCardWidth] = useState(440);
+ const [cardHeight, setCardHeight] = useState(586);
+ const [splitMode, setSplitMode] = useState("noSplit");
+ const [mdxMode, setMdxMode] = useState(false);
+ const [overHiddenMode, setOverHiddenMode] = useState(false);
+ const [loadingMd2Card, setLoadingMd2Card] = useState(false);
+ const [md2CardResult, setMd2CardResult] = useState<string | null>(null);
+
+ const [mediaGroups, setMediaGroups] = useState<any[]>([]);
+ const [selectedMediaGroup, setSelectedMediaGroup] = useState<string | null>(
+ null,
+ );
+ const [uploadModalVisible, setUploadModalVisible] = useState(false);
+ const [uploading, setUploading] = useState(false);
+ const [loadingMediaGroups, setLoadingMediaGroups] = useState(false);
+
+ const [imageModels, setImageModels] = useState<any[]>([]);
+ const [videoModels, setVideoModels] = useState<any[]>([]);
+
+ // 模型积分消耗映射 - 现在从接口获取,不再写死
+ // const modelCreditCosts: Record<string, number> = {
+ // 'gpt-image-1': 1,
+ // 'doubao-seedream-3-0-t2i-250415': 2.6
+ // };
+
+ // 视频模型积分消耗映射 - 现在从接口获取,不再写死
+ // const videoModelCreditCosts: Record<string, Record<number, Record<string, number>>> = {
+ // 'doubao-seedance-1-0-pro-250528': {
+ // 5: { '480p': 7.2, '720p': 16.4, '1080p': 36.7 },
+ // 10: { '480p': 14.4, '720p': 32.8, '1080p': 73.4 }
+ // },
+ // 'doubao-seedance-1-0-lite-i2v-250428': {
+ // 5: { '480p': 5, '720p': 11, '1080p': 25 },
+ // 10: { '480p': 10, '720p': 22, '1080p': 45 }
+ // },
+ // 'doubao-seedance-1-0-lite-t2v-250428': {
+ // 5: { '480p': 5, '720p': 11, '1080p': 25 },
+ // 10: { '480p': 10, '720p': 22, '1080p': 45 }
+ // },
+ // 'wan2-1-14b-i2v-250225': {
+ // 5: { '480p': 12, '720p': 12, '1080p': 36 },
+ // },
+ // 'wan2-1-14b-t2v-250225': {
+ // 5: { '480p': 12, '720p': 12, '1080p': 36 },
+ // }
+ // };
+
+ // 获取视频模型积分消耗 - 现在从接口数据获取
+ const getVideoModelCreditCost = (modelName: string, duration: number, size: string): number => {
+ const model = videoModels.find(m => m.name === modelName);
+ if (!model || !model.pricing || !Array.isArray(model.pricing)) return 0;
+
+ // 在 pricing 数组中查找匹配的 duration 和 resolution
+ const pricingItem = model.pricing.find((item: any) =>
+ item.duration === duration && item.resolution === size
+ );
+
+ return pricingItem ? pricingItem.price : 0;
+ };
+
+ // 根据模式过滤视频模型列表
+ const filteredVideoModels = useMemo(() => {
+ if (!Array.isArray(videoModels)) return [] as any[];
+ if (videoMode === "text2video") {
+ return (videoModels as any[]).filter((m: any) => (m?.modes || []).includes("text2video"));
+ }
+ return (videoModels as any[]).filter((m: any) => {
+ const modes: string[] = m?.modes || [];
+ return modes.includes("image2video");
+ });
+ }, [videoModels, videoMode]);
+
+ // 获取图片生成模型
+ const fetchImageModels = async () => {
+ try {
+ const response: any = await getImageGenerationModels();
+ if (response.data) {
+ setImageModels(response.data);
+ if (response.data.length > 0) {
+ setModel(response.data[0].name);
+ }
+ }
+ } catch (error) {
+ console.error(t('aiGenerate.getImageModelsFailed' as any), error);
+ }
+ };
+
+ // 获取视频生成模型
+ const fetchVideoModels = async () => {
+ try {
+ const response: any = await getVideoGenerationModels();
+ if (response.data) {
+ setVideoModels(response.data);
+ if (response.data.length > 0) {
+ const first = response.data[0];
+ setVideoModel(first.name);
+ // 根据第一个模型的 modes 设置默认模式
+ if (first?.modes?.length) {
+ if (first.modes.includes("text2video")) {
+ setVideoMode("text2video");
+ } else if (first.modes.includes("image2video")) {
+ setVideoMode("image2video");
+ }
+ }
+ if (first?.durations?.length) {
+ setVideoDuration(first.durations[0]);
+ }
+ if (first?.resolutions?.length) {
+ setVideoSize(first.resolutions[0]);
+ }
+ }
+ }
+ } catch (error) {
+ console.error(t('aiGenerate.getVideoModelsFailed' as any), error);
+ }
+ };
+
+ useEffect(() => {
+ fetchImageModels();
+ fetchVideoModels();
+ }, []);
+
+ // 模式变化时,重置模型为过滤后的第一个;切换到文生视频时清空图片
+ useEffect(() => {
+ if ((filteredVideoModels as any[]).length > 0) {
+ if (!(filteredVideoModels as any[]).find((m: any) => m.name === videoModel)) {
+ setVideoModel((filteredVideoModels as any[])[0].name);
+ }
+ }
+ if (videoMode === 'text2video') {
+ setVideoImage("");
+ setVideoImageTail("");
+ }
+ }, [videoMode, filteredVideoModels]);
+
+ // 切换模型时,根据模型能力校正模式/时长/尺寸(仅校正 size/duration)
+ useEffect(() => {
+ if (!videoModel || !videoModels?.length) return;
+ const current = (videoModels as any[]).find((m) => m.name === videoModel);
+ if (!current) return;
+ const { durations = [], resolutions = [] } = current || {};
+ if (durations.length && !durations.includes(videoDuration)) {
+ setVideoDuration(durations[0]);
+ }
+ if (resolutions.length && !resolutions.includes(videoSize)) {
+ setVideoSize(resolutions[0]);
+ }
+ // 按模型能力清理不支持的首/尾帧,避免带上无效参数
+ const supportedParams: string[] = (current as any)?.supportedParameters || [];
+ if (!supportedParams.includes('image') && videoImage) {
+ setVideoImage("");
+ }
+ if (!supportedParams.includes('image_tail') && videoImageTail) {
+ setVideoImageTail("");
+ }
+ }, [videoModel, videoModels]);
+
+ const fetchMediaGroups = async (type: "video" | "img" = 'img') => {
+ try {
+ setLoadingMediaGroups(true);
+ const response: any = await getMediaGroupList(1, 100, type);
+ if (response.data) {
+ setMediaGroups(response.data.list || []);
+ }
+ } catch (error) {
+ message.error(t('aiGenerate.getMediaGroupListFailed'));
+ } finally {
+ setLoadingMediaGroups(false);
+ }
+ };
+
+ const handleTextToImage = async () => {
+ if (!prompt) {
+ message.error(t('aiGenerate.pleaseEnterPrompt'));
+ return;
+ }
+
+ try {
+ setLoading(true);
+ const response: any = await generateImage({
+ prompt,
+ n,
+ quality,
+ style,
+ size,
+ model,
+ response_format: "url",
+ });
+
+ if (response.data && response.data.list) {
+ const imageUrls = response.data.list.map((item: any) => item.url);
+ setResult(imageUrls);
+ } else {
+ message.error(t('aiGenerate.imageGenerationFailed'));
+ }
+ } catch (error) {
+ message.error(t('aiGenerate.imageGenerationFailed'));
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ const handleTextToFireflyCard = async () => {
+ if (!content || !title) {
+ message.error(t('aiGenerate.pleaseEnterContentAndTitle'));
+ return;
+ }
+
+ try {
+ setLoadingFirefly(true);
+ const response: any = await generateFireflyCard({
+ content,
+ temp,
+ title,
+ });
+
+ if (response.data && response.data.image) {
+ setFireflyResult(response.data.image);
+ } else {
+ message.error(t('aiGenerate.fireflyCardGenerationFailed'));
+ }
+ } catch (error) {
+ message.error(t('aiGenerate.fireflyCardGenerationFailed'));
+ } finally {
+ setLoadingFirefly(false);
+ }
+ };
+
+ const handleVideoGeneration = async () => {
+ if (!videoPrompt) {
+ message.error(t('aiGenerate.pleaseEnterVideoDescription'));
+ return;
+ }
+
+ if (!videoModel) {
+ message.error(t('aiGenerate.pleaseSelectVideoModel'));
+ return;
+ }
+
+ // 检查必传参数 - 只在 image2video 模式下检查图片参数
+ if (videoMode === 'image2video') {
+ const current: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
+ const supportedParams: string[] = current?.supportedParameters || [];
+
+ // 如果模型要求 image 参数但用户没有上传首帧,则拦截
+ if (supportedParams.includes('image') && !videoImage) {
+ message.error(t('aiGenerate.pleaseUploadFirstFrame'));
+ return;
+ }
+
+ // 如果模型要求 image_tail 参数但用户没有上传尾帧,则拦截
+ if (supportedParams.includes('image_tail') && !videoImageTail) {
+ message.error(t('aiGenerate.pleaseUploadTailFrame'));
+ return;
+ }
+ }
+
+ try {
+ setLoadingVideo(true);
+ setVideoStatus("submitted");
+ setVideoProgress(10);
+
+ const requestData: any = {
+ model: videoModel,
+ prompt: videoPrompt,
+ size: videoSize,
+ duration: videoDuration,
+ };
+
+ // 根据当前模型能力和模式决定携带哪些帧参数
+ const current: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
+ const supportedParams: string[] = current?.supportedParameters || [];
+
+ // 只在 image2video 模式下携带图片参数
+ if (videoMode === 'image2video') {
+ if (supportedParams.includes('image') && videoImage) {
+ requestData.image = videoImage;
+ }
+ if (supportedParams.includes('image_tail') && videoImageTail) {
+ requestData.image_tail = videoImageTail;
+ }
+ }
+
+ const response: any = await generateVideo(requestData);
+
+ if (response.data && response.data.task_id) {
+ setVideoTaskId(response.data.task_id);
+ setVideoStatus(response.data.status);
+ message.success(t('aiGenerate.taskSubmittedSuccess'));
+
+ // 开始轮询任务状态
+ pollVideoTaskStatus(response.data.task_id);
+ } else {
+ message.error(t('aiGenerate.videoGenerationFailed'));
+ setVideoStatus("");
+ }
+ } catch (error) {
+ message.error(t('aiGenerate.videoGenerationFailed'));
+ setVideoStatus("");
+ } finally {
+ setLoadingVideo(false);
+ }
+ };
+
+ const pollVideoTaskStatus = async (taskId: string) => {
+ const checkStatus = async () => {
+ try {
+ setCheckingStatus(true);
+ const response: any = await getVideoTaskStatus(taskId);
+
+ if (response.data) {
+ const { status, fail_reason, progress } = response.data;
+ // 规范化状态以匹配UI展示
+ const up = typeof status === 'string' ? status.toUpperCase() : '';
+ const normalizedStatus = up === 'SUCCESS' ? 'completed'
+ : up === 'FAILED' ? 'failed'
+ : up === 'PROCESSING' ? 'processing'
+ : up === 'NOT_START' || up === 'NOT_STARTED' || up === 'QUEUED' || up === 'PENDING' ? 'submitted'
+ : (status || '').toString().toLowerCase();
+ setVideoStatus(normalizedStatus);
+
+ // 解析进度:可能是 "0%"、0-1 或 0-100
+ let percent = 0;
+ if (typeof progress === 'string') {
+ const m = progress.match(/(\d+)/);
+ percent = m ? Number(m[1]) : 0;
+ } else if (typeof progress === 'number') {
+ percent = progress > -1 ? Math.round(progress) : Math.round(progress * 100);
+ }
+
+ if (normalizedStatus === 'completed') {
+ setVideoResult(fail_reason); // 成功时 fail_reason 字段包含视频URL
+ setVideoProgress(100);
+ message.success(t('aiGenerate.videoGenerationSuccess'));
+ return true;
+ }
+ if (normalizedStatus === 'failed') {
+ setVideoProgress(0);
+ message.error(fail_reason || t('aiGenerate.videoGenerationFailed'));
+ return true;
+ }
+ setVideoProgress(percent);
+ return false;
+ }
+ return false;
+ } catch (error) {
+ console.error(t('aiGenerate.checkVideoTaskStatusFailed'), error);
+ return false;
+ } finally {
+ setCheckingStatus(false);
+ }
+ };
+
+ // 轮询逻辑
+ const poll = async () => {
+ const isCompleted = await checkStatus();
+ if (!isCompleted) {
+ setTimeout(poll, 5000); // 每5秒检查一次
+ }
+ };
+
+ poll();
+ };
+
+ const handleMd2CardGeneration = async () => {
+ if (!markdownContent) {
+ message.error(t('aiGenerate.pleaseEnterMarkdown'));
+ return;
+ }
+
+ try {
+ setLoadingMd2Card(true);
+ const response: any = await generateMd2Card({
+ markdown: markdownContent,
+ theme: selectedTheme,
+ themeMode,
+ width: cardWidth,
+ height: cardHeight,
+ splitMode,
+ mdxMode,
+ overHiddenMode,
+ });
+
+ if (response.data && response.data.images && response.data.images.length > 0) {
+ setMd2CardResult(response.data.images[0].url);
+ } else {
+ message.error(t('aiGenerate.cardGenerationFailed'));
+ }
+ } catch (error) {
+ message.error(t('aiGenerate.cardGenerationFailed'));
+ } finally {
+ setLoadingMd2Card(false);
+ }
+ };
+
+ const handleUploadToMediaGroup = async (type: string = 'img') => {
+ setSelectedMediaGroup(null);
+ await fetchMediaGroups(type as "video" | "img");
+ setUploadModalVisible(true);
+ };
+
+ const handleUploadConfirm = async () => {
+ if (!selectedMediaGroup) {
+ message.error(t('aiGenerate.pleaseSelectMediaGroup'));
+ return;
+ }
+
+ try {
+ setUploading(true);
+ const mediaUrl = videoResult || fireflyResult || md2CardResult;
+ const mediaType = videoResult ? "video" : "img";
+
+ const response: any = await createMedia({
+ groupId: selectedMediaGroup,
+ url: mediaUrl,
+ type: mediaType,
+ title: videoResult ? videoPrompt : title,
+ desc: "",
+ });
+
+ if (response.data) {
+ message.success(videoResult ? t('aiGenerate.videoUploadSuccess') : md2CardResult ? t('aiGenerate.cardUploadSuccess') : t('aiGenerate.uploadSuccess'));
+ setUploadModalVisible(false);
+ } else {
+ message.error(videoResult ? t('aiGenerate.videoUploadFailed') : md2CardResult ? t('aiGenerate.cardUploadFailed') : t('aiGenerate.uploadFailed'));
+ }
+ } catch (error) {
+ message.error(videoResult ? t('aiGenerate.videoUploadFailed') : md2CardResult ? t('aiGenerate.cardUploadFailed') : t('aiGenerate.uploadFailed'));
+ } finally {
+ setUploading(false);
+ }
+ };
+
+ return (
+ <div className={styles.container}>
+ <div className={styles.header}>
+ <div className={styles.headerLeft}>
+ <button className={styles.backButton} onClick={() => router.back()}>
+ <ArrowLeftOutlined />
+ </button>
+ <p>
+ <RobotOutlined /> {t('aiGenerate.title')}
+ </p>
+ </div>
+ </div>
+
+ <div className={styles.content}>
+ <Tabs defaultActiveKey={defaultTab} className={styles.tabs}>
+ <TabPane
+ tab={
+ <span>
+ <PictureOutlined /> {t('aiGenerate.textToImage')}
+ </span>
+ }
+ key="textToImage"
+ >
+ <div className={styles.section}>
+ <div className={styles.form}>
+ <TextArea
+ placeholder={t('aiGenerate.promptPlaceholder')}
+ value={prompt}
+ onChange={(e) => setPrompt(e.target.value)}
+ rows={4}
+ />
+ <div className={styles.dimensions}>
+ <Select
+ placeholder={t('aiGenerate.selectSizePlaceholder')}
+ value={size}
+ onChange={setSize}
+ style={{ width: "100%" }}
+ >
+ <Option value="1024x1024">1024x1024</Option>
+ <Option value="1792x1024">1792x1024</Option>
+ <Option value="1024x1792">1024x1792</Option>
+ </Select>
+ <Select
+ placeholder={t('aiGenerate.generateCountPlaceholder')}
+ value={n}
+ onChange={setN}
+ style={{ width: "100%" }}
+ >
+ {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(num => (
+ <Option key={num} value={num}>{num}</Option>
+ ))}
+ </Select>
+ </div>
+ <div className={styles.options}>
+ <Select
+ placeholder={t('aiGenerate.imageQualityPlaceholder')}
+ value={quality}
+ onChange={setQuality}
+ style={{ width: "100%" }}
+ >
+ <Option value="standard">{t('aiGenerate.standard')}</Option>
+ <Option value="hd">{t('aiGenerate.hd')}</Option>
+ </Select>
+ <Select
+ placeholder={t('aiGenerate.imageStylePlaceholder')}
+ value={style}
+ onChange={setStyle}
+ style={{ width: "100%" }}
+ >
+ <Option value="vivid">{t('aiGenerate.vivid')}</Option>
+ <Option value="natural">{t('aiGenerate.natural')}</Option>
+ </Select>
+ </div>
+ {imageModels.length > 0 && (
+ <Select
+ placeholder={t('aiGenerate.selectModelPlaceholder')}
+ value={model}
+ onChange={setModel}
+ style={{ width: "100%" }}
+ >
+ {imageModels.map((modelItem) => {
+ const creditCost = modelItem.pricing ? parseFloat(modelItem.pricing) : 0;
+ return (
+ <Option key={modelItem.name} value={modelItem.name}>
+ {modelItem.name} {creditCost > 0 && `(${t('aiGenerate.estimatedCreditCost' as any)} ${creditCost} ${t('aiGenerate.credits' as any)})`}
+ </Option>
+ );
+ })}
+ </Select>
+ )}
+ {model && (() => {
+ const selectedModel = imageModels.find(m => m.name === model);
+ const creditCost = selectedModel?.pricing ? parseFloat(selectedModel.pricing) : 0;
+ return creditCost > 0 ? (
+ <div className={styles.creditCostInfo}>
+ <span style={{ color: '#1890ff', fontSize: '14px' }}>
+ 💰 {t('aiGenerate.estimatedCreditCost' as any)}: {creditCost} {t('aiGenerate.credits' as any)}
+ </span>
+ </div>
+ ) : null;
+ })()}
+ <Button
+ type="primary"
+ onClick={handleTextToImage}
+ loading={loading}
+ disabled={!prompt}
+ icon={<PictureOutlined />}
+ >
+ {t('aiGenerate.generate')}
+ </Button>
+ </div>
+ {result && (
+ <div className={styles.result}>
+ <Row gutter={[16, 16]}>
+ {result.map((img, index) => (
+ <Col key={index} xs={24} sm={12} md={8} lg={6}>
+ <img
+ src={img}
+ alt={`${t('aiGenerate.textToImage')} ${index + 1}`}
+ style={{ width: "100%", borderRadius: "8px" }}
+ />
+ </Col>
+ ))}
+ </Row>
+ </div>
+ )}
+ </div>
+ </TabPane>
+ <TabPane
+ tab={
+ <span>
+ <FireOutlined /> {t('aiGenerate.fireflyCard')}
+ </span>
+ }
+ key="textToFireflyCard"
+ >
+ <div className={styles.section}>
+ <div className={styles.form}>
+ <Input
+ placeholder={t('aiGenerate.titlePlaceholder')}
+ value={title}
+ onChange={(e) => setTitle(e.target.value)}
+ prefix={<FileTextOutlined />}
+ />
+ <TextArea
+ placeholder={t('aiGenerate.contentPlaceholder')}
+ value={content}
+ onChange={(e) => setContent(e.target.value)}
+ rows={4}
+ />
+ <div className={styles.templateGrid}>
+ {templateList.map((item) => (
+ <div
+ key={item.key}
+ className={`${styles.templateCard} ${temp === item.key ? styles.templateCardActive : ""}`}
+ onClick={() => setTemp(item.key)}
+ >
+ <div className={styles.templateThumb}>
+ <img
+ src={`${TEMPLATE_BASE}/${item.key}.png`}
+ alt={`${t('aiGenerate.template')} ${item.name}`}
+ />
+ </div>
+ <div className={styles.templateLabel}>
+ {item.name}
+ </div>
+ </div>
+ ))}
+ </div>
+ <Button
+ type="primary"
+ onClick={handleTextToFireflyCard}
+ loading={loadingFirefly}
+ disabled={!content || !title}
+ icon={<FireOutlined />}
+ >
+ {t('aiGenerate.generate')}
+ </Button>
+ </div>
+ {fireflyResult && (
+ <div className={styles.result}>
+ <div
+ style={{
+ display: "flex",
+ flexDirection: "column",
+ gap: "10px",
+ }}
+ >
+ <img
+ src={getOssUrl(fireflyResult)}
+ alt={t('aiGenerate.fireflyCard')}
+ style={{ maxWidth: "100%", borderRadius: "8px" }}
+ />
+ <Button
+ type="primary"
+ onClick={() => handleUploadToMediaGroup('img')}
+ icon={<UploadOutlined />}
+ style={{
+ padding: "1px",
+ }}
+ >
+ {t('aiGenerate.uploadToMediaGroup')}
+ </Button>
+ </div>
+ </div>
+ )}
+ </div>
+ </TabPane>
+ <TabPane
+ tab={
+ <span>
+ <VideoCameraOutlined /> {t('aiGenerate.videoGeneration')}
+ </span>
+ }
+ key="videoGeneration"
+ >
+
+
+ <div className={styles.section}>
+ <div className={styles.form}>
+ <TextArea
+ placeholder={t('aiGenerate.videoPromptPlaceholder')}
+ value={videoPrompt}
+ onChange={(e) => setVideoPrompt(e.target.value)}
+ rows={4}
+ />
+
+ {/* 模式选择:仅显示两项base Tab 下拉:文生成视频/图文转视频 */}
+ <div className={styles.options}>
+ <Select
+ placeholder={t('aiGenerate.videoMode')}
+ value={videoMode}
+ onChange={setVideoMode}
+ style={{ width: "100%" }}
+ >
+ <Option value="text2video">{t('aiGenerate.textToVideo')}</Option>
+ <Option value="image2video">{t('aiGenerate.imageToVideo')}</Option>
+ </Select>
+ </div>
+
+ {Array.isArray(filteredVideoModels) && filteredVideoModels.length > 0 && (
+ <div style={{ width: "100%" }}>
+ <Select
+ placeholder={t('aiGenerate.selectVideoModelPlaceholder')}
+ value={videoModel}
+ onChange={setVideoModel}
+ style={{ width: "100%" }}
+ >
+ {(filteredVideoModels as any[]).map((modelItem: any) => {
+ const creditCost = getVideoModelCreditCost(modelItem.name, videoDuration, videoSize);
+ return (
+ <Option key={modelItem.name} value={modelItem.name}>
+ {modelItem.name} {creditCost > 0 && `(${t('aiGenerate.estimatedCreditCost' as any)} ${creditCost} ${t('aiGenerate.credits' as any)})`}
+ </Option>
+ );
+ })}
+ </Select>
+ </div>
+ )}
+ <div className={styles.dimensions}>
+ <Select
+ placeholder={t('aiGenerate.videoSize')}
+ value={videoSize}
+ onChange={setVideoSize}
+ style={{ width: "100%" }}
+ >
+ {(() => {
+ const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
+ const sizes: string[] = selected?.resolutions || [];
+ return sizes.map((s) => (
+ <Option key={s} value={s}>{s}</Option>
+ ));
+ })()}
+ </Select>
+ <Select
+ placeholder={t('aiGenerate.videoDuration')}
+ value={videoDuration}
+ onChange={setVideoDuration}
+ style={{ width: "100%" }}
+ >
+ {(() => {
+ const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
+ const durations: number[] = selected?.durations || [];
+ return durations.map((d) => (
+ <Option key={d} value={d}>{d}{t('aiGenerate.seconds')}</Option>
+ ));
+ })()}
+ </Select>
+ </div>
+
+ {/* 首帧/尾帧上传控件:按选择的模式显示 */}
+ <div className={styles.options}>
+ {(() => {
+ const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
+ const supportedParams: string[] = selected?.supportedParameters || [];
+ return (
+ <>
+ {videoMode === 'image2video' && supportedParams.includes('image') && (
+ <div style={{ display: "flex", alignItems: "center", gap: 12, width: "100%" }}>
+ <Button onClick={handlePickFirstFrame} loading={uploadingFirstFrame}>
+ {t('aiGenerate.uploadImage')} - {t('aiGenerate.firstFrame')}
+ </Button>
+ {videoImage && (
+ <img
+ src={videoImage}
+ alt={t('aiGenerate.firstFrame')}
+ style={{ width: 160, height: 90, objectFit: 'cover', borderRadius: 6, border: '1px solid #eee' }}
+ />
+ )}
+ <input
+ type="file"
+ accept="image/*"
+ ref={firstFrameInputRef}
+ onChange={handleFirstFrameChange}
+ style={{ display: "none" }}
+ />
+ </div>
+ )}
+ {videoMode === 'image2video' && supportedParams.includes('image_tail') && (
+ <div style={{ display: "flex", alignItems: "center", gap: 12, width: "100%" }}>
+ <Button onClick={handlePickTailFrame} loading={uploadingTailFrame}>
+ {t('aiGenerate.uploadImage')} - {t('aiGenerate.tailFrame')}
+ </Button>
+ {videoImageTail && (
+ <img
+ src={videoImageTail}
+ alt={t('aiGenerate.tailFrame')}
+ style={{ width: 160, height: 90, objectFit: 'cover', borderRadius: 6, border: '1px solid #eee' }}
+ />
+ )}
+ <input
+ type="file"
+ accept="image/*"
+ ref={tailFrameInputRef}
+ onChange={handleTailFrameChange}
+ style={{ display: "none" }}
+ />
+ </div>
+ )}
+ </>
+ );
+ })()}
+ </div>
+
+ {/* 显示当前选择的视频模型积分消耗 */}
+ {videoModel && videoDuration && videoSize && (
+ <div className={styles.creditCostInfo}>
+ <span style={{ color: '#1890ff', fontSize: '14px' }}>
+ 💰 {t('aiGenerate.estimatedCreditCost' as any)}: {getVideoModelCreditCost(videoModel, videoDuration, videoSize)} {t('aiGenerate.credits' as any)}
+ </span>
+ </div>
+ )}
+
+ <Button
+ type="primary"
+ onClick={handleVideoGeneration}
+ loading={loadingVideo}
+ disabled={!videoPrompt || !videoModel}
+ icon={<VideoCameraOutlined />}
+ >
+ {t('aiGenerate.generate')}
+ </Button>
+ </div>
+
+ {/* 视频生成状态和结果 */}
+ {(videoStatus || videoResult) && (
+ <div className={styles.result}>
+ {videoStatus && (
+ <div style={{ marginBottom: "16px" }}>
+ <div style={{ marginBottom: "8px" }}>
+ <strong>{t('aiGenerate.taskStatus')}: </strong>
+ {videoStatus === "submitted" && t('aiGenerate.taskSubmitted')}
+ {videoStatus === "processing" && t('aiGenerate.taskProcessing')}
+ {videoStatus === "completed" && t('aiGenerate.taskCompleted')}
+ {videoStatus === "failed" && t('aiGenerate.taskFailed')}
+ </div>
+ {videoProgress > 0 && videoProgress < 100 && (
+ <Progress percent={videoProgress} status="active" />
+ )}
+ </div>
+ )}
+
+ {videoResult && (
+ <div
+ style={{
+ display: "flex",
+ flexDirection: "column",
+ gap: "10px",
+ }}
+ >
+ <video
+ src={getOssUrl(videoResult)}
+ controls
+ style={{ maxWidth: "100%", borderRadius: "8px" }}
+ />
+ <Button
+ type="primary"
+ onClick={() => handleUploadToMediaGroup('video')}
+ icon={<UploadOutlined />}
+ style={{
+ padding: "1px",
+ }}
+ >
+ {t('aiGenerate.uploadToMediaGroup')}
+ </Button>
+ </div>
+ )}
+ </div>
+ )}
+
+ {/* 图片要求提示 */}
+ <div className={styles.imageRequirements}>
+ <h4>{t('aiGenerate.imageRequirements' as any)}</h4>
+ <div className={styles.requirementsList}>
+ <div className={styles.requirementItem}>
+ <span className={styles.requirementLabel}>{t('aiGenerate.aspectRatioRange' as any)}:</span>
+ <span className={styles.requirementValue}>{t('aiGenerate.aspectRatioRangeValue' as any)}</span>
+ </div>
+ <div className={styles.requirementItem}>
+ <span className={styles.requirementLabel}>{t('aiGenerate.dimensionRange' as any)}:</span>
+ <span className={styles.requirementValue}>{t('aiGenerate.dimensionRangeValue' as any)}</span>
+ </div>
+ <div className={styles.requirementItem}>
+ <span className={styles.requirementLabel}>{t('aiGenerate.imageSizeLimit' as any)}:</span>
+ <span className={styles.requirementValue}>{t('aiGenerate.imageSizeLimitValue' as any)}</span>
+ </div>
+ <div className={styles.requirementItem}>
+ <span className={styles.requirementLabel}>{t('aiGenerate.imageFormatSupport' as any)}:</span>
+ <span className={styles.requirementValue}>{t('aiGenerate.imageFormatSupportValue' as any)}</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </TabPane>
+ <TabPane
+ tab={
+ <span>
+ <FileTextOutlined /> {t('aiGenerate.markdownToCard')}
+ </span>
+ }
+ key="md2card"
+ >
+ <div className={styles.section}>
+ <div className={styles.form}>
+ <TextArea
+ placeholder={t('aiGenerate.markdownPlaceholder')}
+ value={markdownContent}
+ onChange={(e) => setMarkdownContent(e.target.value)}
+ rows={8}
+ />
+ <div className={styles.dimensions}>
+ <Select
+ placeholder={t('aiGenerate.themeModePlaceholder')}
+ value={themeMode}
+ onChange={setThemeMode}
+ style={{ width: "100%" }}
+ >
+ <Option value="light">{t('aiGenerate.lightMode')}</Option>
+ <Option value="dark">{t('aiGenerate.darkMode')}</Option>
+ </Select>
+ </div>
+ <div className={styles.templateGrid}>
+ {md2CardTemplates.map((theme) => (
+ <div
+ key={theme.id}
+ className={`${styles.templateCard} ${selectedTheme === theme.id ? styles.templateCardActive : ""}`}
+ onClick={() => setSelectedTheme(theme.id)}
+ >
+ <div className={styles.templateThumb}>
+ <img src={theme.preview} alt={isEnglishLang ? theme.nameEn : theme.nameCn} />
+ </div>
+ <div className={styles.templateLabel}>{isEnglishLang ? theme.nameEn : theme.nameCn}</div>
+ </div>
+ ))}
+ </div>
+ <div className={styles.options}>
+ <Input
+ placeholder={t('aiGenerate.cardWidthPlaceholder')}
+ type="number"
+ value={cardWidth}
+ onChange={(e) => setCardWidth(Number(e.target.value))}
+ style={{ width: "100%" }}
+ />
+ <Input
+ placeholder={t('aiGenerate.cardHeightPlaceholder')}
+ type="number"
+ value={cardHeight}
+ onChange={(e) => setCardHeight(Number(e.target.value))}
+ style={{ width: "100%" }}
+ />
+ </div>
+ <div className={styles.options}>
+ <Select
+ placeholder={t('aiGenerate.splitModePlaceholder')}
+ value={splitMode}
+ onChange={setSplitMode}
+ style={{ width: "100%" }}
+ >
+ <Option value="noSplit">{t('aiGenerate.noSplit')}</Option>
+ <Option value="split">{t('aiGenerate.split')}</Option>
+ </Select>
+ <div style={{ display: "flex", gap: "8px", alignItems: "center" }}>
+ <label>
+ <input
+ type="checkbox"
+ checked={mdxMode}
+ onChange={(e) => setMdxMode(e.target.checked)}
+ />
+ {t('aiGenerate.mdxMode')}
+ </label>
+ <label>
+ <input
+ type="checkbox"
+ checked={overHiddenMode}
+ onChange={(e) => setOverHiddenMode(e.target.checked)}
+ />
+ {t('aiGenerate.overHiddenMode')}
+ </label>
+ </div>
+ </div>
+ <Button
+ type="primary"
+ onClick={handleMd2CardGeneration}
+ loading={loadingMd2Card}
+ disabled={!markdownContent}
+ icon={<FileTextOutlined />}
+ >
+ {t('aiGenerate.generateCard')}
+ </Button>
+ </div>
+ {md2CardResult && (
+ <div className={styles.result}>
+ <div
+ style={{
+ display: "flex",
+ flexDirection: "column",
+ gap: "10px",
+ }}
+ >
+ <img
+ src={getOssUrl(md2CardResult)}
+ alt={t('aiGenerate.markdownCard')}
+ style={{ maxWidth: "100%", borderRadius: "8px" }}
+ />
+ <Button
+ type="primary"
+ onClick={() => handleUploadToMediaGroup('img')}
+ icon={<UploadOutlined />}
+ style={{
+ padding: "1px",
+ }}
+ >
+ {t('aiGenerate.uploadToMediaGroup')}
+ </Button>
+ </div>
+ </div>
+ )}
+ </div>
+ </TabPane>
+ </Tabs>
+ </div>
+
+ <Modal
+ title={t('aiGenerate.selectMediaGroup')}
+ open={uploadModalVisible}
+ onOk={handleUploadConfirm}
+ onCancel={() => setUploadModalVisible(false)}
+ confirmLoading={uploading}
+ >
+ <Select
+ placeholder={t('aiGenerate.selectMediaGroupPlaceholder')}
+ value={selectedMediaGroup}
+ onChange={setSelectedMediaGroup}
+ style={{ width: "100%" }}
+ loading={loadingMediaGroups}
+ >
+ {mediaGroups.map((group) => (
+ <Option key={group._id} value={group._id}>
+ {group.title} - {group.type}
+ </Option>
+ ))}
+ </Select>
+ </Modal>
+ </div>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page.tsx
index 10152d1d..60d936cc 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/material/ai-generate/page.tsx
@@ -2,37 +2,10 @@
import { useState, useEffect, useRef, useMemo } from "react";
import { useParams, useRouter, useSearchParams } from "next/navigation";
-import {
- message,
- Input,
- Button,
- Select,
- Spin,
- Tabs,
- Row,
- Col,
- Modal,
- Progress,
-} from "antd";
-import {
- ArrowLeftOutlined,
- RobotOutlined,
- FireOutlined,
- PictureOutlined,
- FileTextOutlined,
- UploadOutlined,
- VideoCameraOutlined,
-} from "@ant-design/icons";
+import { message, Input, Button, Select, Row, Col, Modal, Progress } from "antd";
+import { ArrowLeftOutlined, RobotOutlined, FireOutlined, PictureOutlined, FileTextOutlined, UploadOutlined, VideoCameraOutlined, DownloadOutlined } from "@ant-design/icons";
import styles from "./ai-generate.module.scss";
-import {
- generateImage,
- generateFireflyCard,
- getImageGenerationModels,
- generateVideo,
- getVideoTaskStatus,
- getVideoGenerationModels,
- generateMd2Card,
-} from "@/api/ai";
+import { generateImage, generateFireflyCard, getImageGenerationModels, generateVideo, getVideoTaskStatus, getVideoGenerationModels, generateMd2Card } from "@/api/ai";
import { getOssUrl } from "@/utils/oss";
import { uploadToOss } from "@/api/oss";
import { getMediaGroupList, createMedia } from "@/api/media";
@@ -41,20 +14,44 @@ import { md2CardTemplates, defaultMarkdown } from "./md2card";
const { TextArea } = Input;
const { Option } = Select;
-const { TabPane } = Tabs;
+// 示例图片 URL 常量
+const SAMPLE_IMAGE_URLS = {
+ shili21: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/shili/image-ai-sample-2-1.webp',
+ shili22: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/shili/image-ai-sample-2-2.jpeg',
+ shili23: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/shili/image-ai-sample-2-3.jpeg',
+ shili24: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/shili/image-ai-sample-2-4.jpeg',
+};
+
+
+
+
+/**
+ * AI 工具页(左右布局)
+ * - 左侧:图标切换 图片/视频 两个模块
+ * - 右侧:根据模块展示对应功能(复用原有功能逻辑,不改动接口与状态流转)
+ */
export default function AIGeneratePage() {
const params = useParams();
const router = useRouter();
const searchParams = useSearchParams();
- const { t } = useTransClient('material');
- const albumId = params.id as string;
+ const { t } = useTransClient("material");
const lng = (params as any).lng as string;
const isEnglishLang = typeof lng === "string" ? lng.toLowerCase().startsWith("en") : false;
- // 从URL参数获取默认标签
- const defaultTab = searchParams.get('tab') || 'textToImage';
-
+ // 根据 URL 初始化模块与子标签
+ const queryTab = (searchParams.get("tab") || "").toString();
+ const initIsVideo = ["videoGeneration", "text2video", "image2video"].includes(queryTab);
+ const initImageTab = ["textToImage", "textToFireflyCard", "md2card"].includes(queryTab) ? (queryTab as any) : "textToImage";
+ const initVideoTab = queryTab === "image2video" ? "image2video" : "text2video";
+ // 左侧模块切换
+ const [activeModule, setActiveModule] = useState<"image" | "video">(initIsVideo ? "video" : "image");
+ // 图片子模块切换
+ const [activeImageTab, setActiveImageTab] = useState<"textToImage" | "textToFireflyCard" | "md2card">(initImageTab);
+ // 视频子模块切换
+ const [activeVideoTab, setActiveVideoTab] = useState<"text2video" | "image2video">(initVideoTab);
+
+ // 文生图
const [prompt, setPrompt] = useState("");
const [size, setSize] = useState("1024x1024");
const [n, setN] = useState(1);
@@ -64,6 +61,7 @@ export default function AIGeneratePage() {
const [loading, setLoading] = useState(false);
const [result, setResult] = useState<string[] | null>(null);
+ // Firefly 卡片
const [content, setContent] = useState("");
const [title, setTitle] = useState("");
const [temp, setTemp] = useState("tempA");
@@ -71,18 +69,18 @@ export default function AIGeneratePage() {
const [fireflyResult, setFireflyResult] = useState<string | null>(null);
const TEMPLATE_BASE = "https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/firefly";
const templateList = [
- { key: "tempA", name: t('aiGenerate.templateA') },
- { key: "tempB", name: t('aiGenerate.templateB') },
- { key: "tempC", name: t('aiGenerate.templateC') },
- { key: "tempJin", name: t('aiGenerate.templateJin') },
- { key: "tempMemo", name: t('aiGenerate.templateMemo') },
- { key: "tempEasy", name: t('aiGenerate.templateEasy') },
- { key: "tempE", name: t('aiGenerate.templateE') },
- { key: "tempWrite", name: t('aiGenerate.templateWrite') },
- { key: "tempD", name: t('aiGenerate.templateD') },
+ { key: "tempA", name: t("aiGenerate.templateA") },
+ { key: "tempB", name: t("aiGenerate.templateB") },
+ { key: "tempC", name: t("aiGenerate.templateC") },
+ { key: "tempJin", name: t("aiGenerate.templateJin") },
+ { key: "tempMemo", name: t("aiGenerate.templateMemo") },
+ { key: "tempEasy", name: t("aiGenerate.templateEasy") },
+ { key: "tempE", name: t("aiGenerate.templateE") },
+ { key: "tempWrite", name: t("aiGenerate.templateWrite") },
+ { key: "tempD", name: t("aiGenerate.templateD") },
];
- // 视频生成相关状态
+ // 视频生成
const [videoPrompt, setVideoPrompt] = useState("");
const [videoModel, setVideoModel] = useState("");
const [videoSize, setVideoSize] = useState("720p");
@@ -97,96 +95,47 @@ export default function AIGeneratePage() {
const [checkingStatus, setCheckingStatus] = useState(false);
const [videoProgress, setVideoProgress] = useState(0);
- // 首帧/尾帧上传相关
+ // 首/尾帧上传
const firstFrameInputRef = useRef<HTMLInputElement | null>(null);
const tailFrameInputRef = useRef<HTMLInputElement | null>(null);
const [uploadingFirstFrame, setUploadingFirstFrame] = useState(false);
const [uploadingTailFrame, setUploadingTailFrame] = useState(false);
-
- // 文件大小限制常量(字节)
- const MAX_IMAGE_SIZE = 30 * 1024 * 1024; // 30MB
-
- /**
- * 检查文件大小是否在限制范围内
- */
- const checkFileSize = (file: File): boolean => {
+ const MAX_IMAGE_SIZE = 30 * 1024 * 1024;
+ const checkFileSize = (file: File) => {
if (file.size > MAX_IMAGE_SIZE) {
- const sizeInMB = (MAX_IMAGE_SIZE / (1024 * 1024)).toFixed(0);
- message.error(`图片大小限制: ${sizeInMB}MB`);
+ message.error(`${t("aiGenerate.imageSizeLimit" as any)}: 30MB`);
return false;
}
return true;
};
-
- /**
- * 检查图片文件格式
- */
- const checkImageFormat = (file: File): boolean => {
- const allowedTypes = ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'];
- if (!allowedTypes.includes(file.type)) {
- message.error(`支持格式: JPG, PNG, WEBP`);
+ const checkImageFormat = (file: File) => {
+ const allowed = ["image/jpeg", "image/jpg", "image/png", "image/webp"];
+ if (!allowed.includes(file.type)) {
+ message.error(`${t("aiGenerate.imageFormatSupport" as any)}: JPG, PNG, WEBP`);
return false;
}
return true;
};
-
- const handlePickFirstFrame = () => {
- firstFrameInputRef.current?.click();
- };
-
- const handlePickTailFrame = () => {
- tailFrameInputRef.current?.click();
- };
-
+ const handlePickFirstFrame = () => firstFrameInputRef.current?.click();
+ const handlePickTailFrame = () => tailFrameInputRef.current?.click();
const handleFirstFrameChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
const file = e.target.files && e.target.files[0];
if (!file) return;
-
- // 检查文件大小和格式
- if (!checkFileSize(file) || !checkImageFormat(file)) {
- if (e.target) e.target.value = "";
- return;
- }
-
- try {
- setUploadingFirstFrame(true);
- const key = await uploadToOss(file);
- const url = getOssUrl(key);
- setVideoImage(url);
- message.success(t('aiGenerate.uploadSuccess'));
- } catch (err) {
- message.error(t('aiGenerate.uploadFailed'));
- } finally {
- setUploadingFirstFrame(false);
- if (e.target) e.target.value = "";
- }
+ if (!checkFileSize(file) || !checkImageFormat(file)) { if (e.target) e.target.value = ""; return; }
+ try { setUploadingFirstFrame(true); const key = await uploadToOss(file); setVideoImage(getOssUrl(key)); message.success(t("aiGenerate.uploadSuccess")); }
+ catch { message.error(t("aiGenerate.uploadFailed")); }
+ finally { setUploadingFirstFrame(false); if (e.target) e.target.value = ""; }
};
-
const handleTailFrameChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
const file = e.target.files && e.target.files[0];
if (!file) return;
-
- // 检查文件大小和格式
- if (!checkFileSize(file) || !checkImageFormat(file)) {
- if (e.target) e.target.value = "";
- return;
- }
-
- try {
- setUploadingTailFrame(true);
- const key = await uploadToOss(file);
- const url = getOssUrl(key);
- setVideoImageTail(url);
- message.success(t('aiGenerate.uploadSuccess'));
- } catch (err) {
- message.error(t('aiGenerate.uploadFailed'));
- } finally {
- setUploadingTailFrame(false);
- if (e.target) e.target.value = "";
- }
+ if (!checkFileSize(file) || !checkImageFormat(file)) { if (e.target) e.target.value = ""; return; }
+ try { setUploadingTailFrame(true); const key = await uploadToOss(file); setVideoImageTail(getOssUrl(key)); message.success(t("aiGenerate.uploadSuccess")); }
+ catch { message.error(t("aiGenerate.uploadFailed")); }
+ finally { setUploadingTailFrame(false); if (e.target) e.target.value = ""; }
};
- // md2card相关状态
+ // md2card
const [markdownContent, setMarkdownContent] = useState(defaultMarkdown);
const [selectedTheme, setSelectedTheme] = useState("apple-notes");
const [themeMode, setThemeMode] = useState("light");
@@ -199,9 +148,7 @@ export default function AIGeneratePage() {
const [md2CardResult, setMd2CardResult] = useState<string | null>(null);
const [mediaGroups, setMediaGroups] = useState<any[]>([]);
- const [selectedMediaGroup, setSelectedMediaGroup] = useState<string | null>(
- null,
- );
+ const [selectedMediaGroup, setSelectedMediaGroup] = useState<string | null>(null);
const [uploadModalVisible, setUploadModalVisible] = useState(false);
const [uploading, setUploading] = useState(false);
const [loadingMediaGroups, setLoadingMediaGroups] = useState(false);
@@ -209,935 +156,696 @@ export default function AIGeneratePage() {
const [imageModels, setImageModels] = useState<any[]>([]);
const [videoModels, setVideoModels] = useState<any[]>([]);
- // 根据模式过滤视频模型列表
- const filteredVideoModels = useMemo(() => {
- if (!Array.isArray(videoModels)) return [] as any[];
- if (videoMode === "text2video") {
- return (videoModels as any[]).filter((m: any) => (m?.modes || []).includes("text2video"));
- }
- return (videoModels as any[]).filter((m: any) => {
- const modes: string[] = m?.modes || [];
- return modes.includes("image2video");
- });
- }, [videoModels, videoMode]);
+ // 自定义模型下拉
+ const [showModelDropdown, setShowModelDropdown] = useState(false);
+ const [showVideoModelDropdown, setShowVideoModelDropdown] = useState(false);
- // 获取图片生成模型
- const fetchImageModels = async () => {
+ // 示例轮播
+ const sampleImages = [SAMPLE_IMAGE_URLS.shili21, SAMPLE_IMAGE_URLS.shili22, SAMPLE_IMAGE_URLS.shili23, SAMPLE_IMAGE_URLS.shili24];
+ const [sampleIdx, setSampleIdx] = useState(0);
+ const handlePrevSample = () => setSampleIdx((p) => (p - 1 + sampleImages.length) % sampleImages.length);
+ const handleNextSample = () => setSampleIdx((p) => (p + 1) % sampleImages.length);
+
+ // 保存结果到本地
+ const handleSaveResults = async () => {
try {
- const response: any = await getImageGenerationModels();
- if (response.data) {
- setImageModels(response.data);
- if (response.data.length > 0) {
- setModel(response.data[0].name);
- }
+ if (!result || !result.length) { message.warning(t('aiGenerate.imageGenerationFailed')); return; }
+ for (let i = 0; i < result.length; i++) {
+ const url = getOssUrl(result[i]);
+ const link = document.createElement('a');
+ link.href = url;
+ link.download = `image_${i + 1}.png`;
+ document.body.appendChild(link);
+ link.click();
+ document.body.removeChild(link);
}
- } catch (error) {
- console.error("获取图片生成模型失败:", error);
+ message.success(t('aiGenerate.uploadSuccess'));
+ } catch (e) {
+ message.error(t('aiGenerate.uploadFailed'));
+ }
+ };
+
+ const handleDownloadUrl = (url: string) => {
+ const real = getOssUrl(url);
+ const a = document.createElement('a');
+ a.href = real;
+ a.download = real.split('/').pop() || 'image.png';
+ document.body.appendChild(a);
+ a.click();
+ document.body.removeChild(a);
+ };
+
+ const getVideoModelCreditCost = (modelName: string, duration: number, size: string): number => {
+ const m = videoModels.find((v) => v.name === modelName);
+ if (!m) return 0;
+
+ // 如果是 kling 模型,使用 mode 字段匹配
+ if (m?.channel === 'kling' && m?.pricing) {
+ const item = m.pricing.find((p: any) => p.duration === duration && p.mode === size);
+ return item ? item.price : 0;
}
+
+ // 其他模型使用 resolution 字段匹配
+ const item = m?.pricing?.find((p: any) => p.duration === duration && p.resolution === size);
+ return item ? item.price : 0;
};
- // 获取视频生成模型
+ const filteredVideoModels = useMemo(() => {
+ if (!Array.isArray(videoModels)) return [] as any[];
+ if (videoMode === "text2video") return (videoModels as any[]).filter((m: any) => (m?.modes || []).includes("text2video"));
+ return (videoModels as any[]).filter((m: any) => (m?.modes || []).includes("image2video"));
+ }, [videoModels, videoMode]);
+
+ const fetchImageModels = async () => {
+ try { const res: any = await getImageGenerationModels(); if (res.data) { setImageModels(res.data); if (res.data.length) setModel(res.data[0].name); } }
+ catch (e) { console.error(e); }
+ };
const fetchVideoModels = async () => {
try {
- const response: any = await getVideoGenerationModels();
- if (response.data) {
- setVideoModels(response.data);
- if (response.data.length > 0) {
- const first = response.data[0];
+ const res: any = await getVideoGenerationModels();
+ if (res.data) {
+ setVideoModels(res.data);
+ if (res.data.length) {
+ const first = res.data[0];
setVideoModel(first.name);
- // 根据第一个模型的 modes 设置默认模式
- if (first?.modes?.length) {
- if (first.modes.includes("text2video")) {
- setVideoMode("text2video");
- } else if (first.modes.includes("image2video")) {
- setVideoMode("image2video");
- }
- }
- if (first?.durations?.length) {
- setVideoDuration(first.durations[0]);
- }
- if (first?.sizes?.length) {
- setVideoSize(first.sizes[0]);
- }
+ if (first?.durations?.length) setVideoDuration(first.durations[0]);
+ if (first?.resolutions?.length) setVideoSize(first.resolutions[0]);
+ if (first?.modes?.includes("image2video")) setVideoMode("image2video");
+ else if (first?.modes?.includes("text2video")) setVideoMode("text2video");
}
}
- } catch (error) {
- console.error("获取视频生成模型失败:", error);
- }
+ } catch (e) { console.error(e); }
};
+ useEffect(() => { fetchImageModels(); fetchVideoModels(); }, []);
+ // 当模型切换时,自动设置合适的 quality 值
useEffect(() => {
- fetchImageModels();
- fetchVideoModels();
- }, []);
+ if (!model || !imageModels.length) return;
+
+ const selectedModel = imageModels.find((m: any) => m.name === model);
+ const qualities = selectedModel?.qualities || [];
+
+ if (qualities.length > 0) {
+ // 如果当前 quality 不在模型的 qualities 列表中,则设置为第一个可用的 quality
+ if (!qualities.includes(quality)) {
+ setQuality(qualities[0]);
+ }
+ }
+ }, [model, imageModels, quality]);
+
+ // 根据 URL ?tab=... 初始化/响应切换模块与子标签
+ useEffect(() => {
+ const tab = searchParams.get('tab') || '';
+ if (!tab) return;
+ if (tab === 'videoGeneration' || tab === 'text2video' || tab === 'image2video') {
+ setActiveModule('video');
+ setActiveVideoTab(tab === 'image2video' ? 'image2video' : 'text2video');
+ } else if (tab === 'textToImage' || tab === 'textToFireflyCard' || tab === 'md2card') {
+ setActiveModule('image');
+ setActiveImageTab(tab as any);
+ }
+ }, [searchParams]);
- // 模式变化时,重置模型为过滤后的第一个;切换到文生视频时清空图片
useEffect(() => {
if ((filteredVideoModels as any[]).length > 0) {
if (!(filteredVideoModels as any[]).find((m: any) => m.name === videoModel)) {
setVideoModel((filteredVideoModels as any[])[0].name);
}
}
- if (videoMode === 'text2video') {
- setVideoImage("");
- setVideoImageTail("");
- }
+ if (videoMode === "text2video") { setVideoImage(""); setVideoImageTail(""); }
}, [videoMode, filteredVideoModels]);
- // 切换模型时,根据模型能力校正模式/时长/尺寸(仅校正 size/duration)
useEffect(() => {
if (!videoModel || !videoModels?.length) return;
- const current = (videoModels as any[]).find((m) => m.name === videoModel);
+ const current: any = (videoModels as any[]).find((m: any) => m.name === videoModel);
if (!current) return;
- const { durations = [], sizes = [] } = current || {};
- if (durations.length && !durations.includes(videoDuration)) {
- setVideoDuration(durations[0]);
- }
- if (sizes.length && !sizes.includes(videoSize)) {
- setVideoSize(sizes[0]);
- }
- // 按模型能力清理不支持的首/尾帧,避免带上无效参数
- const supportedParams: string[] = (current as any)?.supportedParameters || [];
- if (!supportedParams.includes('image') && videoImage) {
- setVideoImage("");
- }
- if (!supportedParams.includes('image_tail') && videoImageTail) {
- setVideoImageTail("");
+
+ let durations: any[] = [];
+ let resolutions: any[] = [];
+
+ // 如果是 kling 模型,从 pricing 获取选项
+ if (current?.channel === 'kling' && current?.pricing) {
+ durations = [...new Set(current.pricing.map((p: any) => p.duration))];
+ resolutions = [...new Set(current.pricing.map((p: any) => p.mode))];
+ } else {
+ // 其他模型从原有字段获取
+ durations = current?.durations || [];
+ resolutions = current?.resolutions || [];
}
+
+ const { supportedParameters = [] } = current || {};
+
+ if (durations.length && !durations.includes(videoDuration)) setVideoDuration(durations[0]);
+ if (resolutions.length && !resolutions.includes(videoSize)) setVideoSize(resolutions[0]);
+ if (!supportedParameters.includes("image") && videoImage) setVideoImage("");
+ if (!supportedParameters.includes("image_tail") && videoImageTail) setVideoImageTail("");
}, [videoModel, videoModels]);
- const fetchMediaGroups = async (type: "video" | "img" = 'img') => {
- try {
- setLoadingMediaGroups(true);
- const response: any = await getMediaGroupList(1, 100, type);
- if (response.data) {
- setMediaGroups(response.data.list || []);
- }
- } catch (error) {
- message.error(t('aiGenerate.getMediaGroupListFailed'));
- } finally {
- setLoadingMediaGroups(false);
- }
+ const fetchMediaGroups = async (type: "video" | "img" = "img") => {
+ try { setLoadingMediaGroups(true); const res: any = await getMediaGroupList(1, 100, type); if (res.data) setMediaGroups(res.data.list || []); }
+ catch { message.error(t("aiGenerate.getMediaGroupListFailed")); }
+ finally { setLoadingMediaGroups(false); }
};
const handleTextToImage = async () => {
- if (!prompt) {
- message.error(t('aiGenerate.pleaseEnterPrompt'));
- return;
- }
-
+ if (!prompt) { message.error(t("aiGenerate.pleaseEnterPrompt")); return; }
try {
setLoading(true);
- const response: any = await generateImage({
- prompt,
- n,
- quality,
- style,
- size,
- model,
- response_format: "url",
- });
-
- if (response.data && response.data.list) {
- const imageUrls = response.data.list.map((item: any) => item.url);
- setResult(imageUrls);
- } else {
- message.error(t('aiGenerate.imageGenerationFailed'));
- }
- } catch (error) {
- message.error(t('aiGenerate.imageGenerationFailed'));
- } finally {
- setLoading(false);
- }
+ const res: any = await generateImage({ prompt, n, quality, style, size, model, response_format: "url" });
+ if (res.data?.list) setResult(res.data.list.map((i: any) => i.url)); else message.error(t("aiGenerate.imageGenerationFailed"));
+ } catch { message.error(t("aiGenerate.imageGenerationFailed")); } finally { setLoading(false); }
};
const handleTextToFireflyCard = async () => {
- if (!content || !title) {
- message.error(t('aiGenerate.pleaseEnterContentAndTitle'));
- return;
- }
-
- try {
- setLoadingFirefly(true);
- const response: any = await generateFireflyCard({
- content,
- temp,
- title,
- });
-
- if (response.data && response.data.image) {
- setFireflyResult(response.data.image);
- } else {
- message.error(t('aiGenerate.fireflyCardGenerationFailed'));
- }
- } catch (error) {
- message.error(t('aiGenerate.fireflyCardGenerationFailed'));
- } finally {
- setLoadingFirefly(false);
- }
+ if (!content || !title) { message.error(t("aiGenerate.pleaseEnterContentAndTitle")); return; }
+ try { setLoadingFirefly(true); const res: any = await generateFireflyCard({ content, temp, title }); if (res.data?.image) setFireflyResult(res.data.image); else message.error(t("aiGenerate.fireflyCardGenerationFailed")); }
+ catch { message.error(t("aiGenerate.fireflyCardGenerationFailed")); } finally { setLoadingFirefly(false); }
};
const handleVideoGeneration = async () => {
- if (!videoPrompt) {
- message.error(t('aiGenerate.pleaseEnterVideoDescription'));
- return;
- }
-
- if (!videoModel) {
- message.error(t('aiGenerate.pleaseSelectVideoModel'));
- return;
- }
-
- // 检查必传参数 - 只在 image2video 模式下检查图片参数
- if (videoMode === 'image2video') {
+ if (!videoPrompt) { message.error(t("aiGenerate.pleaseEnterVideoDescription")); return; }
+ if (!videoModel) { message.error(t("aiGenerate.pleaseSelectVideoModel")); return; }
+ if (videoMode === "image2video") {
const current: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const supportedParams: string[] = current?.supportedParameters || [];
-
- // 如果模型要求 image 参数但用户没有上传首帧,则拦截
- if (supportedParams.includes('image') && !videoImage) {
- message.error(t('aiGenerate.pleaseUploadFirstFrame'));
- return;
- }
-
- // 如果模型要求 image_tail 参数但用户没有上传尾帧,则拦截
- if (supportedParams.includes('image_tail') && !videoImageTail) {
- message.error(t('aiGenerate.pleaseUploadTailFrame'));
- return;
- }
+ const supported: string[] = current?.supportedParameters || [];
+ if (supported.includes("image") && !videoImage) { message.error(t("aiGenerate.pleaseUploadFirstFrame")); return; }
+ if (supported.includes("image_tail") && !videoImageTail) { message.error(t("aiGenerate.pleaseUploadTailFrame")); return; }
}
-
try {
- setLoadingVideo(true);
- setVideoStatus("submitted");
- setVideoProgress(10);
-
- const requestData: any = {
- model: videoModel,
- prompt: videoPrompt,
- size: videoSize,
- duration: videoDuration,
- };
-
- // 根据当前模型能力和模式决定携带哪些帧参数
+ setLoadingVideo(true); setVideoStatus("submitted"); setVideoProgress(10);
const current: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const supportedParams: string[] = current?.supportedParameters || [];
+ const data: any = { model: videoModel, prompt: videoPrompt, duration: videoDuration };
- // 只在 image2video 模式下携带图片参数
- if (videoMode === 'image2video') {
- if (supportedParams.includes('image') && videoImage) {
- requestData.image = videoImage;
- }
- if (supportedParams.includes('image_tail') && videoImageTail) {
- requestData.image_tail = videoImageTail;
- }
- }
-
- const response: any = await generateVideo(requestData);
-
- if (response.data && response.data.task_id) {
- setVideoTaskId(response.data.task_id);
- setVideoStatus(response.data.status);
- message.success(t('aiGenerate.taskSubmittedSuccess'));
-
- // 开始轮询任务状态
- pollVideoTaskStatus(response.data.task_id);
+ // 如果是 kling 模型,传递 mode 参数而不是 size 参数
+ if (current?.channel === 'kling') {
+ data.mode = videoSize;
} else {
- message.error(t('aiGenerate.videoGenerationFailed'));
- setVideoStatus("");
+ data.size = videoSize;
}
- } catch (error) {
- message.error(t('aiGenerate.videoGenerationFailed'));
- setVideoStatus("");
- } finally {
- setLoadingVideo(false);
- }
+
+ const supported: string[] = current?.supportedParameters || [];
+ if (videoMode === "image2video") {
+ if (supported.includes("image") && videoImage) data.image = videoImage;
+ if (supported.includes("image_tail") && videoImageTail) data.image_tail = videoImageTail;
+ }
+ const res: any = await generateVideo(data);
+ if (res.data?.task_id) { setVideoTaskId(res.data.task_id); setVideoStatus(res.data.status); message.success(t("aiGenerate.taskSubmittedSuccess")); pollVideoTaskStatus(res.data.task_id); }
+ else { message.error(t("aiGenerate.videoGenerationFailed")); setVideoStatus(""); }
+ } catch { message.error(t("aiGenerate.videoGenerationFailed")); setVideoStatus(""); } finally { setLoadingVideo(false); }
};
const pollVideoTaskStatus = async (taskId: string) => {
const checkStatus = async () => {
try {
setCheckingStatus(true);
- const response: any = await getVideoTaskStatus(taskId);
-
- if (response.data) {
- const { status, fail_reason, progress } = response.data;
- // 规范化状态以匹配UI展示
- const up = typeof status === 'string' ? status.toUpperCase() : '';
- const normalizedStatus = up === 'SUCCESS' ? 'completed'
- : up === 'FAILED' ? 'failed'
- : up === 'PROCESSING' ? 'processing'
- : up === 'NOT_START' || up === 'NOT_STARTED' || up === 'QUEUED' || up === 'PENDING' ? 'submitted'
- : (status || '').toString().toLowerCase();
- setVideoStatus(normalizedStatus);
-
- // 解析进度:可能是 "0%"、0-1 或 0-100
+ const res: any = await getVideoTaskStatus(taskId);
+ if (res.data) {
+ const { status, fail_reason, video_url, progress } = res.data;
+ const up = typeof status === "string" ? status.toUpperCase() : "";
+ const normalized = up === "SUCCESS" ? "completed" : up === "FAILED" ? "failed" : up === "PROCESSING" ? "processing" : up === "NOT_START" || up === "NOT_STARTED" || up === "QUEUED" || up === "PENDING" ? "submitted" : (status || "").toString().toLowerCase();
+ setVideoStatus(normalized);
let percent = 0;
- if (typeof progress === 'string') {
- const m = progress.match(/(\d+)/);
- percent = m ? Number(m[1]) : 0;
- } else if (typeof progress === 'number') {
- percent = progress > -1 ? Math.round(progress) : Math.round(progress * 100);
- }
-
- if (normalizedStatus === 'completed') {
- setVideoResult(fail_reason); // 成功时 fail_reason 字段包含视频URL
- setVideoProgress(100);
- message.success(t('aiGenerate.videoGenerationSuccess'));
- return true;
- }
- if (normalizedStatus === 'failed') {
- setVideoProgress(0);
- message.error(fail_reason || t('aiGenerate.videoGenerationFailed'));
- return true;
- }
- setVideoProgress(percent);
- return false;
+ if (typeof progress === "string") { const m = progress.match(/(\d+)/); percent = m ? Number(m[1]) : 0; }
+ else if (typeof progress === "number") { percent = progress > -1 ? Math.round(progress) : Math.round(progress * 100); }
+ if (normalized === "completed") { setVideoResult(res.data?.data?.video_url); setVideoProgress(100); message.success(t("aiGenerate.videoGenerationSuccess")); return true; }
+ if (normalized === "failed") { setVideoProgress(0); message.error(fail_reason || t("aiGenerate.videoGenerationFailed")); return true; }
+ setVideoProgress(percent); return false;
}
- return false;
- } catch (error) {
- console.error(t('aiGenerate.checkVideoTaskStatusFailed'), error);
- return false;
- } finally {
- setCheckingStatus(false);
- }
- };
-
- // 轮询逻辑
- const poll = async () => {
- const isCompleted = await checkStatus();
- if (!isCompleted) {
- setTimeout(poll, 5000); // 每5秒检查一次
- }
+ return false;
+ } catch { return false; } finally { setCheckingStatus(false); }
};
-
+ const poll = async () => { const done = await checkStatus(); if (!done) setTimeout(poll, 5000); };
poll();
};
const handleMd2CardGeneration = async () => {
- if (!markdownContent) {
- message.error(t('aiGenerate.pleaseEnterMarkdown'));
- return;
- }
-
- try {
- setLoadingMd2Card(true);
- const response: any = await generateMd2Card({
- markdown: markdownContent,
- theme: selectedTheme,
- themeMode,
- width: cardWidth,
- height: cardHeight,
- splitMode,
- mdxMode,
- overHiddenMode,
- });
-
- if (response.data && response.data.images && response.data.images.length > 0) {
- setMd2CardResult(response.data.images[0].url);
- } else {
- message.error(t('aiGenerate.cardGenerationFailed'));
- }
- } catch (error) {
- message.error(t('aiGenerate.cardGenerationFailed'));
- } finally {
- setLoadingMd2Card(false);
- }
+ if (!markdownContent) { message.error(t("aiGenerate.pleaseEnterMarkdown")); return; }
+ try { setLoadingMd2Card(true); const res: any = await generateMd2Card({ markdown: markdownContent, theme: selectedTheme, themeMode, width: cardWidth, height: cardHeight, splitMode, mdxMode, overHiddenMode }); if (res.data?.images?.length) setMd2CardResult(res.data.images[0].url); else message.error(t("aiGenerate.cardGenerationFailed")); }
+ catch { message.error(t("aiGenerate.cardGenerationFailed")); } finally { setLoadingMd2Card(false); }
};
- const handleUploadToMediaGroup = async (type: string = 'img') => {
+ const [currentUploadUrl, setCurrentUploadUrl] = useState<string | null>(null);
+ const handleUploadToMediaGroup = async (type: string = "img", url?: string) => {
setSelectedMediaGroup(null);
- await fetchMediaGroups(type as "video" | "img");
+ setCurrentUploadUrl(url || (videoResult || fireflyResult || md2CardResult) || null);
+ await fetchMediaGroups(type as any);
setUploadModalVisible(true);
};
-
const handleUploadConfirm = async () => {
- if (!selectedMediaGroup) {
- message.error(t('aiGenerate.pleaseSelectMediaGroup'));
- return;
- }
-
+ if (!selectedMediaGroup) { message.error(t("aiGenerate.pleaseSelectMediaGroup")); return; }
try {
setUploading(true);
- const mediaUrl = videoResult || fireflyResult || md2CardResult;
+ const mediaUrl = currentUploadUrl || videoResult || fireflyResult || md2CardResult;
const mediaType = videoResult ? "video" : "img";
-
- const response: any = await createMedia({
- groupId: selectedMediaGroup,
- url: mediaUrl,
- type: mediaType,
- title: videoResult ? videoPrompt : title,
- desc: "",
- });
-
- if (response.data) {
- message.success(videoResult ? t('aiGenerate.videoUploadSuccess') : md2CardResult ? t('aiGenerate.cardUploadSuccess') : t('aiGenerate.uploadSuccess'));
- setUploadModalVisible(false);
- } else {
- message.error(videoResult ? t('aiGenerate.videoUploadFailed') : md2CardResult ? t('aiGenerate.cardUploadFailed') : t('aiGenerate.uploadFailed'));
- }
- } catch (error) {
- message.error(videoResult ? t('aiGenerate.videoUploadFailed') : md2CardResult ? t('aiGenerate.cardUploadFailed') : t('aiGenerate.uploadFailed'));
- } finally {
- setUploading(false);
- }
+ const now = new Date();
+ const timeStr = `${now.getFullYear()}-${String(now.getMonth()+1).padStart(2,'0')}-${String(now.getDate()).padStart(2,'0')} ${String(now.getHours()).padStart(2,'0')}:${String(now.getMinutes()).padStart(2,'0')}`;
+ const usedModel = videoResult ? videoModel : model;
+ const uploadTitle = usedModel ? `${usedModel} ${timeStr}` : timeStr;
+ const uploadDesc = videoResult ? (videoPrompt || "") : (prompt || content || "");
+ const res: any = await createMedia({ groupId: selectedMediaGroup, url: mediaUrl, type: mediaType, title: uploadTitle, desc: uploadDesc });
+ if (res.data) { message.success(videoResult ? t("aiGenerate.videoUploadSuccess") : md2CardResult ? t("aiGenerate.cardUploadSuccess") : t("aiGenerate.uploadSuccess")); setUploadModalVisible(false); }
+ else { message.error(videoResult ? t("aiGenerate.videoUploadFailed") : md2CardResult ? t("aiGenerate.cardUploadFailed") : t("aiGenerate.uploadFailed")); }
+ } catch { message.error(videoResult ? t("aiGenerate.videoUploadFailed") : md2CardResult ? t("aiGenerate.cardUploadFailed") : t("aiGenerate.uploadFailed")); }
+ finally { setUploading(false); }
};
return (
<div className={styles.container}>
- <div className={styles.header}>
- <div className={styles.headerLeft}>
- <button className={styles.backButton} onClick={() => router.back()}>
- <ArrowLeftOutlined />
+
+
+ <div className={styles.mainLayout}>
+ <div className={styles.leftSidebar}>
+ <div className={styles.moduleTabs}>
+ <button title={t("aiGenerate.textToImage")} className={`${styles.moduleTab} ${activeModule === "image" ? styles.moduleTabActive : ""}`} onClick={() => setActiveModule("image")}>
+ <PictureOutlined />
</button>
- <p>
- <RobotOutlined /> {t('aiGenerate.title')}
- </p>
+ <button title={t("aiGenerate.videoGeneration")} className={`${styles.moduleTab} ${activeModule === "video" ? styles.moduleTabActive : ""}`} onClick={() => setActiveModule("video")}>
+ <VideoCameraOutlined />
+ </button>
</div>
+ {activeModule === "image" && (
+ <div className={styles.imageSubTabs}>
+ <button className={`${styles.subTab} ${activeImageTab==='textToImage' ? styles.subTabActive : ''}`} onClick={()=>setActiveImageTab('textToImage')}>
+ <div className="subTabIcon"><PictureOutlined /></div>
+ <div className="subTabLabel">{t("aiGenerate.textToImage")}</div>
+ </button>
+ <button className={`${styles.subTab} ${activeImageTab==='textToFireflyCard' ? styles.subTabActive : ''}`} onClick={()=>setActiveImageTab('textToFireflyCard')}>
+ <div className="subTabIcon"><FireOutlined /></div>
+ <div className="subTabLabel">{t("aiGenerate.fireflyCard")}</div>
+ </button>
+ <button className={`${styles.subTab} ${activeImageTab==='md2card' ? styles.subTabActive : ''}`} onClick={()=>setActiveImageTab('md2card')}>
+ <div className="subTabIcon"><FileTextOutlined /></div>
+ <div className="subTabLabel">{t("aiGenerate.markdownToCard")}</div>
+ </button>
</div>
+ )}
+
+ {activeModule === "video" && (
+ <div className={styles.imageSubTabs}>
+ <button className={`${styles.subTab} ${activeVideoTab==='text2video' ? styles.subTabActive : ''}`} onClick={()=>setActiveVideoTab('text2video')}>
+ <div className="subTabIcon"><VideoCameraOutlined /></div>
+ <div className="subTabLabel">{t('aiGenerate.textToVideo')}</div>
+ </button>
+ <button className={`${styles.subTab} ${activeVideoTab==='image2video' ? styles.subTabActive : ''}`} onClick={()=>setActiveVideoTab('image2video')}>
+ <div className="subTabIcon"><PictureOutlined /></div>
+ <div className="subTabLabel">{t('aiGenerate.imageToVideo')}</div>
+ </button>
+ </div>
+ )}
+ </div>
- <div className={styles.content}>
- <Tabs defaultActiveKey={defaultTab} className={styles.tabs}>
- <TabPane
- tab={
- <span>
- <PictureOutlined /> {t('aiGenerate.textToImage')}
- </span>
- }
- key="textToImage"
- >
+ <div className={styles.rightContent}>
+ {activeModule === "image" ? (
+ <>
+ {activeImageTab === 'textToImage' && (
<div className={styles.section}>
- <div className={styles.form}>
- <TextArea
- placeholder={t('aiGenerate.promptPlaceholder')}
- value={prompt}
- onChange={(e) => setPrompt(e.target.value)}
- rows={4}
- />
+ <div className={styles.twoColumn}>
+ <div className={styles.leftPanel}>
+ <div className={styles.blockTitle}>{t('aiGenerate.textToImage')}</div>
+
+ <div className={styles.blockTitle} style={{ marginTop: 12 }}>{t('aiGenerate.selectModelPlaceholder')}</div>
+ <div className={styles.modelSelect}>
+ <button className={styles.modelSelectBtn} onClick={()=>setShowModelDropdown((s)=>!s)}>
+ <div className={styles.modelIcon}><PictureOutlined /></div>
+ <div className={styles.modelMain}>
+ <div className={styles.modelHeader}>
+ <span className={styles.modelName}>{model || t('aiGenerate.selectModelPlaceholder')}</span>
+ </div>
+ <div className={styles.modelDesc}>{(() => { const m:any = imageModels.find((x:any)=>x.name===model); return m?.desc || ''; })()}</div>
+ </div>
+ <span className={styles.modelCaret}>▾</span>
+ </button>
+ {showModelDropdown && (
+ <div className={styles.modelDropdown}>
+ <div className={styles.modelListScrollable}>
+ {imageModels.map((m:any)=>{
+ const isActive = model === m.name;
+ return (
+ <div key={m.name} className={`${styles.modelItem} ${isActive?styles.modelItemActive:''}`} onClick={()=>{ setModel(m.name); setShowModelDropdown(false); }}>
+ <div className={styles.modelIcon}><PictureOutlined /></div>
+ <div className={styles.modelMain}>
+ <div className={styles.modelHeader}>
+ <span className={styles.modelName}>{m.name || ''}</span>
+ {m.latest ? <span className={styles.modelTag}>最新</span> : null}
+ </div>
+ <div className={styles.modelDesc}>{m.desc || ''}</div>
+ <div className={styles.modelMeta}>{m.eta || ''}</div>
+ </div>
+ </div>
+ );
+ })}
+ </div>
+ </div>
+ )}
+ </div>
+
+ <div className={styles.blockTitle} style={{ marginTop: 1 }}>{t('aiGenerate.promptPlaceholder')}</div>
+ <TextArea value={prompt} onChange={(e)=>setPrompt(e.target.value)} rows={4} />
+ <div className={styles.exampleChips}>
+ {['延时绽放','绚丽花朵','海底世界','星空漫游','赛博城市'].map((w)=> (
+ <span key={w} className={styles.exampleChip} onClick={()=>setPrompt(w)}>{w}</span>
+ ))}
+ </div>
+
+ <div className={styles.blockTitle} style={{ marginTop: 6 }}>高级选项</div>
<div className={styles.dimensions}>
- <Select
- placeholder={t('aiGenerate.selectSizePlaceholder')}
- value={size}
- onChange={setSize}
- style={{ width: "100%" }}
- >
+ <Select value={size} onChange={setSize} style={{ width: '100%' }}>
<Option value="1024x1024">1024x1024</Option>
<Option value="1792x1024">1792x1024</Option>
<Option value="1024x1792">1024x1792</Option>
</Select>
- <Select
- placeholder={t('aiGenerate.generateCountPlaceholder')}
- value={n}
- onChange={setN}
- style={{ width: "100%" }}
- >
- {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(num => (
- <Option key={num} value={num}>{num}</Option>
- ))}
- </Select>
+ </div>
+ <div className={styles.pillRow}>
+ <div className={styles.blockTitle} style={{ marginBottom: 6 }}>输出图像数量</div>
+ <div className={styles.pillGroupBox}>
+ <div className={styles.pillGroup}>
+ {[1,2,3,4].map((num)=> (
+ <button key={num} className={`${styles.pill} ${n===num?styles.pillActive:''}`} onClick={()=>setN(num)}>{num}</button>
+ ))}
+ </div>
+ </div>
</div>
<div className={styles.options}>
- <Select
- placeholder={t('aiGenerate.imageQualityPlaceholder')}
- value={quality}
- onChange={setQuality}
- style={{ width: "100%" }}
- >
- <Option value="standard">{t('aiGenerate.standard')}</Option>
- <Option value="hd">{t('aiGenerate.hd')}</Option>
- </Select>
- <Select
- placeholder={t('aiGenerate.imageStylePlaceholder')}
- value={style}
- onChange={setStyle}
- style={{ width: "100%" }}
- >
+ {(() => {
+ const selectedModel = imageModels.find((m: any) => m.name === model);
+ const qualities = selectedModel?.qualities || [];
+
+ if (qualities.length === 0) return null;
+
+ return (
+ <Select value={quality} onChange={setQuality} style={{ width: '100%' }}>
+ {qualities.map((q: string) => (
+ <Option key={q} value={q}>
+ {q === 'high' ? t('aiGenerate.hd') :
+ q === 'medium' ? t('aiGenerate.standard') :
+ q === 'low' ? '低' : q}
+ </Option>
+ ))}
+ </Select>
+ );
+ })()}
+ <Select value={style} onChange={setStyle} style={{ width: '100%' }}>
<Option value="vivid">{t('aiGenerate.vivid')}</Option>
<Option value="natural">{t('aiGenerate.natural')}</Option>
</Select>
</div>
- {imageModels.length > 0 && (
- <Select
- placeholder={t('aiGenerate.selectModelPlaceholder')}
- value={model}
- onChange={setModel}
- style={{ width: "100%" }}
- >
- {imageModels.map((modelItem) => (
- <Option key={modelItem.name} value={modelItem.name}>
- {modelItem.name}
- </Option>
- ))}
- </Select>
- )}
- <Button
- type="primary"
- onClick={handleTextToImage}
- loading={loading}
- disabled={!prompt}
- icon={<PictureOutlined />}
- >
- {t('aiGenerate.generate')}
- </Button>
- </div>
- {result && (
+ {model && (()=>{ const selected = imageModels.find((m:any)=>m.name===model); const credit = selected?.pricing ? parseFloat(selected.pricing) : 0; return credit>0 ? (<div className={styles.creditCostInfo}><span style={{color:'#1890ff',fontSize:'14px'}}>💰 {t('aiGenerate.estimatedCreditCost' as any)}: {credit} {t('aiGenerate.credits' as any)}</span></div>) : null; })()}
+ <Button type="primary" onClick={handleTextToImage} loading={loading} disabled={!prompt || !model} icon={<PictureOutlined />}>{t('aiGenerate.generate')}</Button>
+ </div>
+ <div className={styles.rightPanel}>
+ {result ? (
<div className={styles.result}>
- <Row gutter={[16, 16]}>
- {result.map((img, index) => (
- <Col key={index} xs={24} sm={12} md={8} lg={6}>
- <img
- src={img}
- alt={`${t('aiGenerate.textToImage')} ${index + 1}`}
- style={{ width: "100%", borderRadius: "8px" }}
- />
+ <Row gutter={[16,16]} justify={'center'}>
+ {result.map((img, idx)=>(
+ <Col key={idx} xs={24} sm={12} md={12} lg={12}>
+ <div className={styles.imageCard}>
+ <img src={getOssUrl(img)} alt={`${t('aiGenerate.textToImage')} ${idx+1}`} />
+ <div className={styles.imageActions}>
+ <Button size="small" icon={<DownloadOutlined />} onClick={()=>handleDownloadUrl(img)} />
+ <Button size="small" type="primary" onClick={()=>handleUploadToMediaGroup('img', img)} icon={<UploadOutlined />} />
+ </div>
+ </div>
</Col>
))}
</Row>
+ </div>
+ ) : (
+ <div className={styles.sampleCarousel}>
+ <div className={styles.sampleStage}>
+ <img src={sampleImages[sampleIdx]} alt="sample" />
+ <button className={styles.samplePrev} onClick={handlePrevSample}>‹</button>
+ <button className={styles.sampleNext} onClick={handleNextSample}>›</button>
+ </div>
+ <div className={styles.sampleDots}>
+ {sampleImages.map((_,i)=>(
+ <span key={i} className={`${styles.sampleDot} ${i===sampleIdx?styles.sampleDotActive:''}`} onClick={()=>setSampleIdx(i)}></span>
+ ))}
+ </div>
</div>
)}
</div>
- </TabPane>
- <TabPane
- tab={
- <span>
- <FireOutlined /> {t('aiGenerate.fireflyCard')}
- </span>
- }
- key="textToFireflyCard"
- >
- <div className={styles.section}>
- <div className={styles.form}>
- <Input
- placeholder={t('aiGenerate.titlePlaceholder')}
- value={title}
- onChange={(e) => setTitle(e.target.value)}
- prefix={<FileTextOutlined />}
- />
- <TextArea
- placeholder={t('aiGenerate.contentPlaceholder')}
- value={content}
- onChange={(e) => setContent(e.target.value)}
- rows={4}
- />
- <div className={styles.templateGrid}>
- {templateList.map((item) => (
- <div
- key={item.key}
- className={`${styles.templateCard} ${temp === item.key ? styles.templateCardActive : ""}`}
- onClick={() => setTemp(item.key)}
- >
- <div className={styles.templateThumb}>
- <img
- src={`${TEMPLATE_BASE}/${item.key}.png`}
- alt={`${t('aiGenerate.template')} ${item.name}`}
- />
- </div>
- <div className={styles.templateLabel}>
- {item.name}
- </div>
- </div>
- ))}
- </div>
- <Button
- type="primary"
- onClick={handleTextToFireflyCard}
- loading={loadingFirefly}
- disabled={!content || !title}
- icon={<FireOutlined />}
- >
- {t('aiGenerate.generate')}
- </Button>
- </div>
- {fireflyResult && (
- <div className={styles.result}>
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: "10px",
- }}
- >
- <img
- src={getOssUrl(fireflyResult)}
- alt={t('aiGenerate.fireflyCard')}
- style={{ maxWidth: "100%", borderRadius: "8px" }}
- />
- <Button
- type="primary"
- onClick={() => handleUploadToMediaGroup('img')}
- icon={<UploadOutlined />}
- style={{
- padding: "1px",
- }}
- >
- {t('aiGenerate.uploadToMediaGroup')}
- </Button>
</div>
</div>
)}
- </div>
- </TabPane>
- <TabPane
- tab={
- <span>
- <VideoCameraOutlined /> {t('aiGenerate.videoGeneration')}
- </span>
- }
- key="videoGeneration"
- >
-
-
- <div className={styles.section}>
- <div className={styles.form}>
- <TextArea
- placeholder={t('aiGenerate.videoPromptPlaceholder')}
- value={videoPrompt}
- onChange={(e) => setVideoPrompt(e.target.value)}
- rows={4}
- />
-
- {/* 模式选择:仅显示两项 Tab 下拉:文生成视频/图文转视频 */}
- <div className={styles.options}>
- <Select
- placeholder={t('aiGenerate.videoMode')}
- value={videoMode}
- onChange={setVideoMode}
- style={{ width: "100%" }}
- >
- <Option value="text2video">{t('aiGenerate.textToVideo')}</Option>
- <Option value="image2video">{t('aiGenerate.imageToVideo')}</Option>
- </Select>
- </div>
- {Array.isArray(filteredVideoModels) && filteredVideoModels.length > 0 && (
- <div style={{ width: "100%" }}>
- <Select
- placeholder={t('aiGenerate.selectVideoModelPlaceholder')}
- value={videoModel}
- onChange={setVideoModel}
- style={{ width: "100%" }}
- >
- {(filteredVideoModels as any[]).map((modelItem: any) => (
- <Option key={modelItem.name} value={modelItem.name}>
- {modelItem.name}
- </Option>
- ))}
- </Select>
+ {activeImageTab === 'textToFireflyCard' && (
+ <div className={styles.section}>
+ <div className={styles.twoColumn}>
+ <div className={styles.leftPanel}>
+ <div className={styles.blockTitle}>{t('aiGenerate.fireflyCard')}</div>
+ <Input placeholder={t("aiGenerate.titlePlaceholder")} value={title} onChange={(e)=>setTitle(e.target.value)} prefix={<FileTextOutlined />} />
+ <TextArea placeholder={t("aiGenerate.contentPlaceholder")} value={content} onChange={(e)=>setContent(e.target.value)} rows={4} />
+ <div className={styles.templateGrid}>
+ {templateList.map((item)=> (
+ <div key={item.key} className={`${styles.templateCard} ${temp===item.key?styles.templateCardActive:""}`} onClick={()=>setTemp(item.key)}>
+ <div className={styles.templateThumb}><img src={`${TEMPLATE_BASE}/${item.key}.png`} alt={`${t('aiGenerate.template')} ${item.name}`} /></div>
+ <div className={styles.templateLabel}>{item.name}</div>
+ </div>
+ ))}
+ </div>
+ <Button type="primary" onClick={handleTextToFireflyCard} loading={loadingFirefly} disabled={!content||!title} icon={<FireOutlined />}>{t("aiGenerate.generate")}</Button>
+ </div>
+ <div className={styles.rightPanel}>
+ <div className={styles.result}>
+ <div className={styles.imageCard}>
+ {fireflyResult ? (
+ <img src={getOssUrl(fireflyResult)} alt={t('aiGenerate.fireflyCard')} />
+ ) : (
+ <img src={`${TEMPLATE_BASE}/${temp}.png`} alt={t('aiGenerate.fireflyCard')} />
+ )}
+ {fireflyResult && (
+ <div className={styles.imageActions}>
+ <Button size="small" icon={<DownloadOutlined />} onClick={()=>handleDownloadUrl(fireflyResult)} />
+ <Button size="small" type="primary" icon={<UploadOutlined />} onClick={()=>handleUploadToMediaGroup('img', fireflyResult)} />
+ </div>
+ )}
+ </div>
+ </div>
+ </div>
</div>
- )}
- <div className={styles.dimensions}>
- <Select
- placeholder={t('aiGenerate.videoSize')}
- value={videoSize}
- onChange={setVideoSize}
- style={{ width: "100%" }}
- >
- {(() => {
- const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const sizes: string[] = selected?.sizes || [];
- return sizes.map((s) => (
- <Option key={s} value={s}>{s}</Option>
- ));
- })()}
- </Select>
- <Select
- placeholder={t('aiGenerate.videoDuration')}
- value={videoDuration}
- onChange={setVideoDuration}
- style={{ width: "100%" }}
- >
- {(() => {
- const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const durations: number[] = selected?.durations || [];
- return durations.map((d) => (
- <Option key={d} value={d}>{d}{t('aiGenerate.seconds')}</Option>
- ));
- })()}
- </Select>
</div>
+ )}
- {/* 首帧/尾帧上传控件:按选择的模式显示 */}
- <div className={styles.options}>
- {(() => {
- const selected: any = (filteredVideoModels as any[]).find((m: any) => m.name === videoModel) || {};
- const supportedParams: string[] = selected?.supportedParameters || [];
- return (
- <>
- {videoMode === 'image2video' && supportedParams.includes('image') && (
- <div style={{ display: "flex", alignItems: "center", gap: 12, width: "100%" }}>
- <Button onClick={handlePickFirstFrame} loading={uploadingFirstFrame}>
- {t('aiGenerate.uploadImage')} - {t('aiGenerate.firstFrame')}
- </Button>
- {videoImage && (
- <img
- src={videoImage}
- alt={t('aiGenerate.firstFrame')}
- style={{ width: 160, height: 90, objectFit: 'cover', borderRadius: 6, border: '1px solid #eee' }}
- />
- )}
- <input
- type="file"
- accept="image/*"
- ref={firstFrameInputRef}
- onChange={handleFirstFrameChange}
- style={{ display: "none" }}
- />
- </div>
- )}
- {videoMode === 'image2video' && supportedParams.includes('image_tail') && (
- <div style={{ display: "flex", alignItems: "center", gap: 12, width: "100%" }}>
- <Button onClick={handlePickTailFrame} loading={uploadingTailFrame}>
- {t('aiGenerate.uploadImage')} - {t('aiGenerate.tailFrame')}
- </Button>
- {videoImageTail && (
- <img
- src={videoImageTail}
- alt={t('aiGenerate.tailFrame')}
- style={{ width: 160, height: 90, objectFit: 'cover', borderRadius: 6, border: '1px solid #eee' }}
- />
- )}
- <input
- type="file"
- accept="image/*"
- ref={tailFrameInputRef}
- onChange={handleTailFrameChange}
- style={{ display: "none" }}
- />
+ {activeImageTab === 'md2card' && (
+ <div className={styles.section}>
+ <div className={styles.twoColumn}>
+ <div className={styles.leftPanel}>
+ <div className={styles.blockTitle}>{t('aiGenerate.markdownToCard')}</div>
+ <TextArea style={{ height: 100 }} placeholder={t("aiGenerate.markdownPlaceholder")} value={markdownContent} onChange={(e)=>setMarkdownContent(e.target.value)} rows={8} />
+ <div className={styles.dimensions}>
+ <Select value={themeMode} onChange={setThemeMode} style={{ width: "100%" }}>
+ <Option value="light">{t("aiGenerate.lightMode")}</Option>
+ <Option value="dark">{t("aiGenerate.darkMode")}</Option>
+ </Select>
+ </div>
+ <div className={styles.templateGrid}>
+ {md2CardTemplates.map((theme)=> (
+ <div key={theme.id} className={`${styles.templateCard} ${selectedTheme===theme.id?styles.templateCardActive:""}`} onClick={()=>setSelectedTheme(theme.id)}>
+ <div className={styles.templateThumb}><img src={theme.preview} alt={isEnglishLang ? theme.nameEn : theme.nameCn} /></div>
+ <div className={styles.templateLabel}>{isEnglishLang ? theme.nameEn : theme.nameCn}</div>
</div>
- )}
- </>
- );
- })()}
- </div>
- <Button
- type="primary"
- onClick={handleVideoGeneration}
- loading={loadingVideo}
- disabled={!videoPrompt || !videoModel}
- icon={<VideoCameraOutlined />}
- >
- {t('aiGenerate.generate')}
- </Button>
- </div>
-
- {/* 视频生成状态和结果 */}
- {(videoStatus || videoResult) && (
- <div className={styles.result}>
- {videoStatus && (
- <div style={{ marginBottom: "16px" }}>
- <div style={{ marginBottom: "8px" }}>
- <strong>{t('aiGenerate.taskStatus')}: </strong>
- {videoStatus === "submitted" && t('aiGenerate.taskSubmitted')}
- {videoStatus === "processing" && t('aiGenerate.taskProcessing')}
- {videoStatus === "completed" && t('aiGenerate.taskCompleted')}
- {videoStatus === "failed" && t('aiGenerate.taskFailed')}
+ ))}
</div>
- {videoProgress > 0 && videoProgress < 100 && (
- <Progress percent={videoProgress} status="active" />
- )}
+ <div className={styles.options}>
+ <Input placeholder={t("aiGenerate.cardWidthPlaceholder")} type="number" value={cardWidth} onChange={(e)=>setCardWidth(Number(e.target.value))} style={{ width: "100%" }} />
+ <Input placeholder={t("aiGenerate.cardHeightPlaceholder")} type="number" value={cardHeight} onChange={(e)=>setCardHeight(Number(e.target.value))} style={{ width: "100%" }} />
+ </div>
+ <div className={styles.options}>
+ <Select value={splitMode} onChange={setSplitMode} style={{ width: "100%" }}>
+ <Option value="noSplit">{t("aiGenerate.noSplit")}</Option>
+ <Option value="split">{t("aiGenerate.split")}</Option>
+ </Select>
+ <div style={{ display:"flex", gap:8, alignItems:"center" }}>
+ <label><input type="checkbox" checked={mdxMode} onChange={(e)=>setMdxMode(e.target.checked)} /> {t("aiGenerate.mdxMode")}</label>
+ <label><input type="checkbox" checked={overHiddenMode} onChange={(e)=>setOverHiddenMode(e.target.checked)} /> {t("aiGenerate.overHiddenMode")}</label>
+ </div>
+ </div>
+ <Button type="primary" onClick={handleMd2CardGeneration} loading={loadingMd2Card} disabled={!markdownContent} icon={<FileTextOutlined />}>{t("aiGenerate.generateCard")}</Button>
</div>
- )}
-
- {videoResult && (
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: "10px",
- }}
- >
- <video
- src={getOssUrl(videoResult)}
- controls
- style={{ maxWidth: "100%", borderRadius: "8px" }}
- />
- <Button
- type="primary"
- onClick={() => handleUploadToMediaGroup('video')}
- icon={<UploadOutlined />}
- style={{
- padding: "1px",
- }}
- >
- {t('aiGenerate.uploadToMediaGroup')}
- </Button>
+ <div className={styles.rightPanel}>
+ <div className={styles.result}>
+ <div className={styles.imageCard}>
+ {md2CardResult ? (
+ <img src={getOssUrl(md2CardResult)} alt={t('aiGenerate.markdownCard')} />
+ ) : (
+ (() => { const theme = md2CardTemplates.find((t)=>t.id===selectedTheme); return (
+ <img src={theme?.preview} alt={isEnglishLang ? theme?.nameEn : theme?.nameCn} />
+ ); })()
+ )}
+ {md2CardResult && (
+ <div className={styles.imageActions}>
+ <Button size="small" icon={<DownloadOutlined />} onClick={()=>handleDownloadUrl(md2CardResult)} />
+ <Button size="small" type="primary" icon={<UploadOutlined />} onClick={()=>handleUploadToMediaGroup('img', md2CardResult)} />
+ </div>
+ )}
+ </div>
+ </div>
</div>
- )}
+ </div>
</div>
)}
-
- {/* 图片要求提示 */}
- <div className={styles.imageRequirements}>
- <h4>图片要求</h4>
- <div className={styles.requirementsList}>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>宽高比范围:</span>
- <span className={styles.requirementValue}>(0.4, 2.5)</span>
- </div>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>宽高长度范围:</span>
- <span className={styles.requirementValue}>(300px, 6000px)</span>
+ </>
+ ) : (
+ <div className={styles.section}>
+ <div className={styles.twoColumn}>
+ <div className={styles.leftPanel}>
+ <div className={styles.blockTitle}>{activeVideoTab==='text2video' ? t('aiGenerate.textToVideo') : t('aiGenerate.imageToVideo')}</div>
+ {(() => { if (videoMode !== activeVideoTab) setVideoMode(activeVideoTab); return null; })()}
+
+ <div className={styles.blockTitle} style={{ marginTop: 12 }}>{t('aiGenerate.selectModelPlaceholder')}</div>
+ <div className={styles.modelSelect}>
+ <button className={styles.modelSelectBtn} onClick={()=>setShowVideoModelDropdown((s)=>!s)}>
+ <div className={styles.modelIcon}><VideoCameraOutlined /></div>
+ <div className={styles.modelMain}>
+ <div className={styles.modelHeader}>
+ <span className={styles.modelName}>{videoModel || t('aiGenerate.selectModelPlaceholder')}</span>
+ </div>
+ <div className={styles.modelDesc}>{(() => { const m:any = (filteredVideoModels as any[]).find((x:any)=>x.name===videoModel); return m?.desc || ''; })()}</div>
+ </div>
+ <span className={styles.modelCaret}>▾</span>
+ </button>
+ {showVideoModelDropdown && (
+ <div className={styles.modelDropdown}>
+ <div className={styles.modelListScrollable}>
+ {(filteredVideoModels as any[]).map((m:any)=>{
+ const isActive = videoModel === m.name;
+ return (
+ <div key={m.name} className={`${styles.modelItem} ${isActive?styles.modelItemActive:''}`} onClick={()=>{ setVideoModel(m.name); setShowVideoModelDropdown(false); }}>
+ <div className={styles.modelIcon}><VideoCameraOutlined /></div>
+ <div className={styles.modelMain}>
+ <div className={styles.modelHeader}>
+ <span className={styles.modelName}>{m.name || ''}</span>
+ {m.latest ? <span className={styles.modelTag}>最新</span> : null}
+ </div>
+ <div className={styles.modelDesc}>{m.desc || ''}</div>
+ <div className={styles.modelMeta}>{m.eta || ''}</div>
+ </div>
+ </div>
+ );
+ })}
+ </div>
+ </div>
+ )}
</div>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>图片大小限制:</span>
- <span className={styles.requirementValue}>小于30MB</span>
+
+ <TextArea placeholder={t('aiGenerate.videoPromptPlaceholder')} value={videoPrompt} onChange={(e)=>setVideoPrompt(e.target.value)} rows={4} />
+
+ <div className={styles.dimensions}>
+ <Select value={videoSize} onChange={setVideoSize} style={{ width: "100%" }}>{(()=>{
+ const selected:any=(filteredVideoModels as any[]).find((m:any)=>m.name===videoModel)||{};
+
+ // 如果是 kling 模型,从 pricing 的 mode 字段获取分辨率选项
+ if (selected?.channel === 'kling' && selected?.pricing) {
+ const modes = [...new Set(selected.pricing.map((p: any) => p.mode))] as string[];
+ return modes.map((mode: string) => (
+ <Option key={mode} value={mode}>{mode}</Option>
+ ));
+ }
+
+ // 其他模型从 resolutions 字段获取
+ const sizes:string[]=selected?.resolutions||[];
+ return sizes.map((s)=> (<Option key={s} value={s}>{s}</Option>));
+ })()}</Select>
+
+ <Select value={videoDuration} onChange={setVideoDuration} style={{ width: "100%" }}>{(()=>{
+ const selected:any=(filteredVideoModels as any[]).find((m:any)=>m.name===videoModel)||{};
+
+ // 如果是 kling 模型,从 pricing 的 duration 字段获取时长选项
+ if (selected?.channel === 'kling' && selected?.pricing) {
+ const durations = [...new Set(selected.pricing.map((p: any) => p.duration))] as number[];
+ return durations.map((d: number) => (
+ <Option key={d} value={d}>{d}{t('aiGenerate.seconds')}</Option>
+ ));
+ }
+
+ // 其他模型从 durations 字段获取
+ const durs:number[]=selected?.durations||[];
+ return durs.map((d)=> (<Option key={d} value={d}>{d}{t('aiGenerate.seconds')}</Option>));
+ })()}</Select>
</div>
- <div className={styles.requirementItem}>
- <span className={styles.requirementLabel}>支持格式:</span>
- <span className={styles.requirementValue}>JPG, PNG, WEBP</span>
+ <div className={styles.options}>
+ {(()=>{ const selected:any=(filteredVideoModels as any[]).find((m:any)=>m.name===videoModel)||{}; const supported:string[]=selected?.supportedParameters||[]; return (<>
+ {videoMode==='image2video' && supported.includes('image') && (
+ <div className={styles.uploadPanel}>
+ <div className={styles.uploadCard} onClick={handlePickFirstFrame}>
+ {videoImage ? (
+ <img src={videoImage} alt={t('aiGenerate.firstFrame')} />
+ ) : (
+ <div className={styles.uploadPlaceholder}>
+ <span className={styles.uploadIcon}>+</span>
+ <span className={styles.uploadText}>{t('aiGenerate.firstFrame')}</span>
+ </div>
+ )}
+ <input type="file" accept="image/*" ref={firstFrameInputRef} onChange={handleFirstFrameChange} style={{ display:'none' }} />
+ </div>
+ {supported.includes('image_tail') && (
+ <div className={styles.swapIcon}>↔</div>
+ )}
+ {videoMode==='image2video' && supported.includes('image_tail') && (
+ <div className={styles.uploadCard} onClick={handlePickTailFrame}>
+ {videoImageTail ? (
+ <img src={videoImageTail} alt={t('aiGenerate.tailFrame')} />
+ ) : (
+ <div className={styles.uploadPlaceholder}>
+ <span className={styles.uploadIcon}>+</span>
+ <span className={styles.uploadText}>{t('aiGenerate.tailFrame')}</span>
+ </div>
+ )}
+ <input type="file" accept="image/*" ref={tailFrameInputRef} onChange={handleTailFrameChange} style={{ display:'none' }} />
+ </div>
+ )}
+ </div>
+ )}
+ </>); })()}
</div>
+ {videoModel && videoDuration && videoSize && (
+ <div className={styles.creditCostInfo}><span style={{ color:'#1890ff', fontSize:14 }}>💰 {t('aiGenerate.estimatedCreditCost' as any)}: {getVideoModelCreditCost(videoModel, videoDuration, videoSize)} {t('aiGenerate.credits' as any)}</span></div>
+ )}
+ <Button type="primary" onClick={handleVideoGeneration} loading={loadingVideo} disabled={!videoPrompt || !videoModel} icon={<VideoCameraOutlined />}>{t('aiGenerate.generate')}</Button>
</div>
- </div>
- </div>
- </TabPane>
- <TabPane
- tab={
- <span>
- <FileTextOutlined /> {t('aiGenerate.markdownToCard')}
- </span>
- }
- key="md2card"
- >
- <div className={styles.section}>
- <div className={styles.form}>
- <TextArea
- placeholder={t('aiGenerate.markdownPlaceholder')}
- value={markdownContent}
- onChange={(e) => setMarkdownContent(e.target.value)}
- rows={8}
- />
- <div className={styles.dimensions}>
- <Select
- placeholder={t('aiGenerate.themeModePlaceholder')}
- value={themeMode}
- onChange={setThemeMode}
- style={{ width: "100%" }}
- >
- <Option value="light">{t('aiGenerate.lightMode')}</Option>
- <Option value="dark">{t('aiGenerate.darkMode')}</Option>
- </Select>
- </div>
- <div className={styles.templateGrid}>
- {md2CardTemplates.map((theme) => (
- <div
- key={theme.id}
- className={`${styles.templateCard} ${selectedTheme === theme.id ? styles.templateCardActive : ""}`}
- onClick={() => setSelectedTheme(theme.id)}
- >
- <div className={styles.templateThumb}>
- <img src={theme.preview} alt={isEnglishLang ? theme.nameEn : theme.nameCn} />
- </div>
- <div className={styles.templateLabel}>{isEnglishLang ? theme.nameEn : theme.nameCn}</div>
+
+ <div className={styles.rightPanel}>
+ {(videoStatus || videoResult) ? (
+ <div className={styles.result}>
+ {videoStatus && (
+ <div style={{ marginBottom:16 }}>
+ <div style={{ marginBottom:8 }}>
+ <strong>{t('aiGenerate.taskStatus')}: </strong>
+ {videoStatus === 'submitted' && t('aiGenerate.taskSubmitted')}
+ {videoStatus === 'processing' && t('aiGenerate.taskProcessing')}
+ {videoStatus === 'completed' && t('aiGenerate.taskCompleted')}
+ {videoStatus === 'failed' && t('aiGenerate.taskFailed')}
+ </div>
+ {videoProgress>0 && videoProgress<100 && (<Progress percent={videoProgress} status="active" />)}
+ </div>
+ )}
+ {videoResult && (
+ <div style={{ display:'flex', flexDirection:'column', gap:10 }}>
+ <video src={getOssUrl(videoResult)} controls style={{ maxWidth:'100%', borderRadius:8 }} />
+ <Button type="primary" onClick={()=>handleUploadToMediaGroup('video')} icon={<UploadOutlined />} style={{ padding:'1px' }}>{t('aiGenerate.uploadToMediaGroup')}</Button>
+ </div>
+ )}
</div>
- ))}
- </div>
- <div className={styles.options}>
- <Input
- placeholder={t('aiGenerate.cardWidthPlaceholder')}
- type="number"
- value={cardWidth}
- onChange={(e) => setCardWidth(Number(e.target.value))}
- style={{ width: "100%" }}
- />
- <Input
- placeholder={t('aiGenerate.cardHeightPlaceholder')}
- type="number"
- value={cardHeight}
- onChange={(e) => setCardHeight(Number(e.target.value))}
- style={{ width: "100%" }}
- />
- </div>
- <div className={styles.options}>
- <Select
- placeholder={t('aiGenerate.splitModePlaceholder')}
- value={splitMode}
- onChange={setSplitMode}
- style={{ width: "100%" }}
- >
- <Option value="noSplit">{t('aiGenerate.noSplit')}</Option>
- <Option value="split">{t('aiGenerate.split')}</Option>
- </Select>
- <div style={{ display: "flex", gap: "8px", alignItems: "center" }}>
- <label>
- <input
- type="checkbox"
- checked={mdxMode}
- onChange={(e) => setMdxMode(e.target.checked)}
- />
- {t('aiGenerate.mdxMode')}
- </label>
- <label>
- <input
- type="checkbox"
- checked={overHiddenMode}
- onChange={(e) => setOverHiddenMode(e.target.checked)}
- />
- {t('aiGenerate.overHiddenMode')}
- </label>
- </div>
+ ) : (
+ <div className={styles.result}>
+ <video src={`https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/tempVideo.mp4`} controls style={{ width:'100%', maxWidth:'1200px', borderRadius:8 }} />
+ </div>
+ )}
</div>
- <Button
- type="primary"
- onClick={handleMd2CardGeneration}
- loading={loadingMd2Card}
- disabled={!markdownContent}
- icon={<FileTextOutlined />}
- >
- {t('aiGenerate.generateCard')}
- </Button>
</div>
- {md2CardResult && (
- <div className={styles.result}>
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: "10px",
- }}
- >
- <img
- src={getOssUrl(md2CardResult)}
- alt={t('aiGenerate.markdownCard')}
- style={{ maxWidth: "100%", borderRadius: "8px" }}
- />
- <Button
- type="primary"
- onClick={() => handleUploadToMediaGroup('img')}
- icon={<UploadOutlined />}
- style={{
- padding: "1px",
- }}
- >
- {t('aiGenerate.uploadToMediaGroup')}
- </Button>
- </div>
- </div>
- )}
</div>
- </TabPane>
- </Tabs>
+ )}
+ </div>
</div>
- <Modal
- title={t('aiGenerate.selectMediaGroup')}
- open={uploadModalVisible}
- onOk={handleUploadConfirm}
- onCancel={() => setUploadModalVisible(false)}
- confirmLoading={uploading}
- >
- <Select
- placeholder={t('aiGenerate.selectMediaGroupPlaceholder')}
- value={selectedMediaGroup}
- onChange={setSelectedMediaGroup}
- style={{ width: "100%" }}
- loading={loadingMediaGroups}
- >
- {mediaGroups.map((group) => (
- <Option key={group._id} value={group._id}>
- {group.title} - {group.type}
- </Option>
- ))}
+ <Modal title={t("aiGenerate.selectMediaGroup")} open={uploadModalVisible} onOk={handleUploadConfirm} onCancel={()=>setUploadModalVisible(false)} confirmLoading={uploading}>
+ <Select placeholder={t("aiGenerate.selectMediaGroupPlaceholder")} value={selectedMediaGroup} onChange={setSelectedMediaGroup} style={{ width: "100%" }} loading={loadingMediaGroups}>
+ {mediaGroups.map((g:any)=> (<Option key={g._id} value={g._id}>{g.title} - {g.type}</Option>))}
</Select>
</Modal>
</div>
);
}
+
+
+
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/material/materialPageCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/material/materialPageCore.tsx
index 732a3b92..2304407f 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/material/materialPageCore.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/material/materialPageCore.tsx
@@ -35,78 +35,31 @@ interface MediaGroup {
}>;
total: number;
};
+ previewMedia?: {
+ type: 'video' | 'img';
+ url: string;
+ } | null;
}
-// 视频第一帧提取组件
+// 视频预览组件 - 由于 CORS 问题,直接显示预览框
const VideoThumbnail = ({ videoUrl, className, onLoad }: {
videoUrl: string;
className?: string;
onLoad?: (thumbnail: string) => void;
}) => {
- const [thumbnail, setThumbnail] = useState<string>('');
- const [loading, setLoading] = useState(true);
- const videoRef = useRef<HTMLVideoElement>(null);
- const canvasRef = useRef<HTMLCanvasElement>(null);
-
- useEffect(() => {
- const video = videoRef.current;
- const canvas = canvasRef.current;
-
- if (!video || !canvas) return;
-
- const extractFrame = () => {
- const ctx = canvas.getContext('2d');
- if (!ctx) return;
-
- canvas.width = video.videoWidth;
- canvas.height = video.videoHeight;
-
- ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
-
- const thumbnailUrl = canvas.toDataURL('image/jpeg', 0.8);
- setThumbnail(thumbnailUrl);
- setLoading(false);
- onLoad?.(thumbnailUrl);
- };
-
- const handleLoadedData = () => {
- video.currentTime = 0.1; // 获取0.1秒处的帧
- };
-
- const handleSeeked = () => {
- extractFrame();
- };
-
- video.addEventListener('loadeddata', handleLoadedData);
- video.addEventListener('seeked', handleSeeked);
-
- video.load();
-
- return () => {
- video.removeEventListener('loadeddata', handleLoadedData);
- video.removeEventListener('seeked', handleSeeked);
- };
- }, [videoUrl, onLoad]);
-
+ // 直接显示视频预览框,不尝试加载视频(避免 CORS 问题)
return (
- <>
- <video
- ref={videoRef}
- src={videoUrl}
- style={{ display: 'none' }}
- muted
- preload="metadata"
- crossOrigin="anonymous"
- />
- <canvas ref={canvasRef} style={{ display: 'none' }} />
- {!loading && thumbnail && (
- <img
- src={thumbnail}
- alt="Video thumbnail"
- className={className}
- />
- )}
- </>
+ <div className={`${className} ${styles.videoPreview}`}>
+ <div className={styles.videoPreviewContent}>
+ <VideoCameraOutlined className={styles.videoPreviewIcon} />
+ <div className={styles.videoPreviewText}>视频预览</div>
+ <div className={styles.videoPreviewPlayButton}>
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none">
+ <path d="M8 5v14l11-7z" fill="currentColor"/>
+ </svg>
+ </div>
+ </div>
+ </div>
);
};
@@ -133,20 +86,34 @@ export const MaterialPageCore = () => {
const fetchGroups = async () => {
try {
setLoading(true);
- const response:any = await getMediaGroupList(currentPage, pageSize);
+ const response:any = await getMediaGroupList(currentPage, pageSize);
if (response?.data) {
// 处理每个组的封面和资源数量
const processedGroups = response.data.list.map((group: MediaGroup) => {
const mediaList = group.mediaList;
- return {
+
+ // 查找第一个视频或图片作为预览
+ let previewMedia = null;
+ if (mediaList && mediaList.list.length > 0) {
+ // 优先查找视频,如果没有视频则使用图片
+ previewMedia = mediaList.list.find(media => media.type === 'video') || mediaList.list[0];
+ console.log('Found preview media for group:', group.title, previewMedia);
+ }
+
+ const processedGroup = {
...group,
- // 使用 mediaList 中第一张图片作为封面,如果没有则使用原封面
- cover: mediaList && mediaList.list.length > 0
- ? getOssUrl(mediaList.list[0].url)
- : group.cover,
+ // 使用找到的预览媒体作为封面
+ cover: previewMedia ? getOssUrl(previewMedia.url) : group.cover,
// 使用 mediaList 的 total 作为资源数量
- count: mediaList ? mediaList.total : group.count
+ count: mediaList ? mediaList.total : group.count,
+ // 保存预览媒体的类型和URL信息
+ previewMedia: previewMedia ? {
+ type: previewMedia.type,
+ url: previewMedia.url
+ } : null
};
+
+ return processedGroup;
});
setGroups(processedGroups);
setTotal(response.data.total);
@@ -227,6 +194,74 @@ export const MaterialPageCore = () => {
// 获取封面图片或图标
const getCoverDisplay = (group: MediaGroup) => {
+ // 如果有预览媒体,优先显示预览媒体
+ if (group.previewMedia) {
+ console.log('Using preview media:', group.previewMedia);
+ if (group.previewMedia.type === 'video') {
+ const videoUrl = getOssUrl(group.previewMedia.url);
+ console.log('Video URL:', videoUrl);
+ return (
+ <div className={styles.coverContent}>
+ <VideoThumbnail
+ videoUrl={videoUrl}
+ className={styles.coverImage}
+ />
+ <div className={styles.videoTypeIcon}>
+ <VideoCameraOutlined />
+ </div>
+ </div>
+ );
+ } else {
+ return (
+ <div className={styles.coverContent}>
+ <img
+ alt={group.title}
+ src={getOssUrl(group.previewMedia.url)}
+ className={styles.coverImage}
+ />
+ <div className={styles.imageTypeIcon}>
+ <PictureOutlined />
+ </div>
+ </div>
+ );
+ }
+ }
+
+ // 如果没有预览媒体但有 mediaList,尝试使用第一个媒体
+ if (group.mediaList?.list && group.mediaList.list.length > 0) {
+ const firstMedia = group.mediaList.list[0];
+ console.log('Using first media from mediaList:', firstMedia);
+
+ if (firstMedia.type === 'video') {
+ const videoUrl = getOssUrl(firstMedia.url);
+ console.log('Video URL from mediaList:', videoUrl);
+ return (
+ <div className={styles.coverContent}>
+ <VideoThumbnail
+ videoUrl={videoUrl}
+ className={styles.coverImage}
+ />
+ <div className={styles.videoTypeIcon}>
+ <VideoCameraOutlined />
+ </div>
+ </div>
+ );
+ } else {
+ return (
+ <div className={styles.coverContent}>
+ <img
+ alt={group.title}
+ src={getOssUrl(firstMedia.url)}
+ className={styles.coverImage}
+ />
+ <div className={styles.imageTypeIcon}>
+ <PictureOutlined />
+ </div>
+ </div>
+ );
+ }
+ }
+
// 如果有封面图片,显示图片
if (group.cover && group.cover !== '') {
return (
@@ -235,22 +270,17 @@ export const MaterialPageCore = () => {
<div className={styles.videoTypeIcon}>
<VideoCameraOutlined />
<VideoThumbnail
- videoUrl={group.cover}
- className={styles.coverImage}
- />
+ videoUrl={group.cover}
+ className={styles.coverImage}
+ />
</div>
- ):
- (
+ ) : (
<img
- alt={group.title}
- src={group.cover}
- className={styles.coverImage}
- />
- )
-
- }
-
-
+ alt={group.title}
+ src={group.cover}
+ className={styles.coverImage}
+ />
+ )}
</div>
);
}
@@ -263,7 +293,7 @@ export const MaterialPageCore = () => {
return (
<div className={styles.coverContent}>
<VideoThumbnail
- videoUrl={firstMedia.url}
+ videoUrl={getOssUrl(firstMedia.url)}
className={styles.coverImage}
/>
<div className={styles.videoTypeIcon}>
@@ -276,7 +306,7 @@ export const MaterialPageCore = () => {
<div className={styles.coverContent}>
<img
alt={group.title}
- src={firstMedia.url}
+ src={getOssUrl(firstMedia.url)}
className={styles.coverImage}
/>
<div className={styles.imageTypeIcon}>
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/material/styles/material.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/material/styles/material.module.scss
index bc0bb1b6..e4c21b77 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/material/styles/material.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/material/styles/material.module.scss
@@ -224,6 +224,96 @@
}
}
+// 视频预览相关样式
+.videoLoading,
+.videoError,
+.videoDefault {
+ width: 100%;
+ height: 100%;
+ border-radius: 8px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 24px;
+ transition: all 0.3s ease;
+}
+
+.videoLoading {
+ background-color: #f5f5f5;
+ color: #999;
+}
+
+.videoError {
+ background-color: #fff2f0;
+ color: #ff4d4f;
+}
+
+.videoPreviewFallback {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ color: #ff4d4f;
+}
+
+// 视频预览样式
+.videoPreview {
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-radius: 8px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ overflow: hidden;
+}
+
+.videoPreviewContent {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ color: white;
+ text-align: center;
+}
+
+.videoPreviewIcon {
+ font-size: 32px;
+ margin-bottom: 8px;
+ color: white;
+}
+
+.videoPreviewText {
+ font-size: 12px;
+ font-weight: 500;
+ margin-bottom: 12px;
+}
+
+.videoPreviewPlayButton {
+ width: 48px;
+ height: 48px;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: white;
+ backdrop-filter: blur(10px);
+ transition: all 0.3s ease;
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.3);
+ transform: scale(1.1);
+ }
+}
+
+.videoDefault {
+ background-color: #f0f0f0;
+ color: #666;
+}
+
.videoIcon {
position: absolute;
top: 50%;
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/page.tsx
index 3398bcf6..1da61694 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/page.tsx
@@ -2,44 +2,62 @@
import { useEffect, useRef, useState } from "react";
import styles from "./styles/difyHome.module.scss";
-import { useTransClient } from "../i18n/client";
+import { directTrans, useTransClient } from "../i18n/client";
+import { MAIN_APP_DOWNLOAD_URL } from "../config/appDownloadConfig";
+
+import logo from '@/assets/images/logo.png';
// 导入SVG图标
+import gongzhonghao from '@/assets/images/gongzhonghao.jpg';
import bilibiliIcon from '@/assets/svgs/plat/bilibili.svg';
import douyinIcon from '@/assets/svgs/plat/douyin.svg';
+import tiktokIcon from '@/assets/svgs/plat/tiktok.svg';
import ksIcon from '@/assets/svgs/plat/ks.svg';
import wxSphIcon from '@/assets/svgs/plat/wx-sph.svg';
+import gongzhonghaoIcon from '@/assets/svgs/plat/gongzhonghao.png';
import xhsIcon from '@/assets/svgs/plat/xhs.svg';
-import youtubeIcon from '@/assets/svgs/plat/youtube.svg';
-import TwitterIcon from '@/assets/svgs/plat/twtter.svg';
-import FacebookIcon from '@/assets/svgs/plat/facebook.svg';
-import InstagramIcon from '@/assets/svgs/plat/instagram.svg';
+import youtubeIcon from '@/assets/svgs/plat/youtube.png';
+import TwitterIcon from '@/assets/svgs/plat/twitter.png';
+import FacebookIcon from '@/assets/svgs/plat/facebook.png';
+import InstagramIcon from '@/assets/svgs/plat/instagram.png';
import LinkedInIcon from '@/assets/svgs/plat/linkedin.svg';
-import PinterestIcon from '@/assets/svgs/plat/pinterest.svg';
-import ThreadsIcon from '@/assets/svgs/plat/xiancheng.svg';
+import PinterestIcon from '@/assets/svgs/plat/pinterest.png';
+import ThreadsIcon from '@/assets/svgs/plat/threads.png';
-import logo from '@/assets/images/logo.png';
-import hotjietu1 from '@/assets/images/hotjietu1.png';
-import hotjietu2 from '@/assets/images/hotjietu2.png';
-import hotjietu3 from '@/assets/images/hotjietu3.png';
+// 资料图片
import publish1 from '@/assets/images/publish1.png';
-import gongzhonghao from '@/assets/images/gongzhonghao.jpg';
-import phonepublish1 from '@/assets/images/phonepublish1.png';
-import phonepublish2 from '@/assets/images/phonepublish2.png';
-import phonepublish3 from '@/assets/images/phonepublish3.png';
+
+// 外部图片 URL 常量
+const IMAGE_URLS = {
+ calendar: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/1.%20content%20publish/calendar.jpeg',
+ supportChannels: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/1.%20content%20publish/support_channels.jpeg',
+ hotspot: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/2.%20content%20hotspot/hotspot.jpg',
+ hotspot2: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/2.%20content%20hotspot/hotspot2.jpeg',
+ hotspot3: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/2.%20content%20hotspot/hotspot3.jpeg',
+ hotspot4: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/2.%20content%20hotspot/hotspot4.jpeg',
+ contentSearch: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/3.%20content%20search/contentsearch.gif',
+ contentSearch1: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/3.%20content%20search/contentsearch1.jpeg',
+ contentSearch2: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/3.%20content%20search/contentsearch2.jpeg',
+ contentSearch4: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/3.%20content%20search/contentsearch4.jpeg',
+ commentFilter: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/4.%20comments%20search/commentfilter.jpeg',
+ commentFilter2: 'https://aitoearn.s3.ap-southeast-1.amazonaws.com/common/web/app-screenshot/5.%20content%20engagement/commentfilter2.jpeg',
+};
+
import Link from "next/link";
import Image from "next/image";
import { useRouter } from "next/navigation";
import { Button } from "antd";
import { GlobalOutlined } from "@ant-design/icons";
-import { useUserStore } from "@/store/user";
+import { useUserStore } from "@/store/user";
+import { useParams } from "next/navigation";
+import { AndroidOutlined } from '@ant-design/icons';
// 版本发布横幅
function ReleaseBanner() {
const { t } = useTransClient('home');
-
+
return (
<div className={styles.releaseBanner}>
<div className={styles.bannerContent}>
@@ -53,59 +71,6 @@ function ReleaseBanner() {
);
}
-// Header 顶部导航
-function Header() {
- const { t } = useTransClient('home');
- const router = useRouter();
- const userStore = useUserStore();
-
- const userInfo = useUserStore((state) => state.userInfo)!;
- const toggleLanguage = () => {
- const newLng = userStore.lang === "zh-CN" ? "en" : "zh-CN";
- userStore.setLang(newLng);
- router.push(
- `/${newLng}${location.pathname.replace(`/${userStore.lang}`, "")}`,
- );
- };
-
- return (
- <header className={styles.header}>
- <div className={styles.headerContainer}>
- <Link href="/">
- <div className={styles.logo}>
- <Image src={logo} alt="logo" width={50} />
- <span className={styles.logoText}>{t('header.logo')}</span>
- </div>
- </Link>
- <nav className={styles.nav}>
- {/* <a href="#marketplace" className={styles.navLink}>{t('header.nav.marketplace')}</a> */}
-
- <a href="https://status.aitoearn.ai/" target="_blank" rel="noopener noreferrer" className={styles.navLink}>{t('header.nav.status' as any)}</a>
- {/* <a href="#docs" className={styles.navLink}>{t('header.nav.docs')}</a> */}
- {/* <a href="#blog" className={styles.navLink}>{t('header.nav.blog')}</a> */}
- </nav>
-
- <div className={styles.headerRight}>
- <Button
- type="text"
- icon={<GlobalOutlined />}
- onClick={toggleLanguage}
- className={styles.languageButton}
- >
- {userStore.lang === "zh-CN" ? "EN" : "中文"}
- </Button>
-
- <button onClick={() => {
- router.push("/accounts");
- }} className={styles.getStartedBtn}>
- {t('header.getStarted')}
- </button>
- </div>
-
- </div>
- </header>
- );
-}
// Hero 主标题区
function Hero() {
@@ -122,20 +87,20 @@ function Hero() {
const typingSpeed = 120; // 打字速度(毫秒)
const initialDelay = 800; // 初始延迟(毫秒)
const cursorHideDelay = 2000; // 打字完成后光标消失的延迟
-
+
useEffect(() => {
// 初始延迟后开始打字
const startTimer = setTimeout(() => {
setStartTyping(true);
}, initialDelay);
-
+
return () => clearTimeout(startTimer);
}, []);
-
+
useEffect(() => {
if (startTyping && currentIndex < fullText.length) {
const currentChar = fullText[currentIndex];
-
+
// 根据字符类型调整打字速度
let currentSpeed = typingSpeed;
if (currentChar === '\n') {
@@ -148,12 +113,12 @@ function Hero() {
// 添加一些随机性,使打字更自然
currentSpeed = typingSpeed + Math.random() * 50 - 25;
}
-
+
const timer = setTimeout(() => {
setDisplayedText(prev => prev + fullText[currentIndex]);
setCurrentIndex(prev => prev + 1);
}, currentSpeed);
-
+
return () => clearTimeout(timer);
} else if (currentIndex >= fullText.length && !isTypingComplete) {
setIsTypingComplete(true);
@@ -163,7 +128,7 @@ function Hero() {
}, cursorHideDelay);
}
}, [startTyping, currentIndex, fullText, typingSpeed, isTypingComplete, cursorHideDelay]);
-
+
// 将文本转换为JSX,处理换行
const renderText = () => {
return displayedText.split('\n').map((line, index, array) => (
@@ -178,22 +143,22 @@ function Hero() {
<section className={styles.hero}>
<div className={styles.heroContainer}>
<div className={styles.githubStars} onClick={() => {
- window.open('https://github.com/yikart/AiToEarn/releases/tag/v0.8.0', '_blank');
+ window.open('https://github.com/yikart/AiToEarn/releases', '_blank');
}}>
<img src={'https://img.shields.io/github/stars/yikart/AiToEarn.svg'} alt="logo" className={styles.logo} />
<span className={styles.starText}>{t('hero.starsText')}</span>
<span className={styles.githubText}>{t('hero.github')}</span>
</div>
-
+
<h1 className={styles.heroTitle}>
{renderText()}
<span className={`${styles.cursor} ${hideCursor ? styles.cursorHidden : styles.cursorVisible}`}>|</span>
</h1>
-
+
<p className={styles.heroSubtitle}>
{t('hero.subtitle')}
</p>
-
+
<button onClick={() => {
router.push("/accounts");
}} className={styles.heroBtn}>
@@ -202,6 +167,18 @@ function Hero() {
<path d="m6 12 4-4-4-4" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</button>
+ <p
+ className={styles.heroMobileLink}
+ style={{ marginTop: '10px' }}
+ onClick={() => {
+ const el = document.getElementById('download');
+ if (el) {
+ el.scrollIntoView({ behavior: 'smooth' });
+ }
+ }}
+ >
+ {t('hero.useMobilePhone' as any)}
+ </p>
</div>
</section>
);
@@ -210,26 +187,37 @@ function Hero() {
// 品牌合作伙伴 Logo 区 - 社交媒体平台(无限滚动)
function BrandBar() {
const { t } = useTransClient('home');
-
+ const { lng } = useParams();
+
// 平台数据配置
const platforms = [
- { name: 'YouTube', hasIcon: true, iconPath: youtubeIcon.src },
- { name: 'Rednote', hasIcon: true, iconPath: xhsIcon.src },
- { name: '抖音(TikTok)', hasIcon: true, iconPath: douyinIcon.src },
- { name: '快手', hasIcon: true, iconPath: ksIcon.src },
- { name: '公众号', hasIcon: true, iconPath: wxSphIcon.src },
- { name: 'bilibili', hasIcon: true, iconPath: bilibiliIcon.src },
- { name: 'Facebook', hasIcon: true, iconPath: FacebookIcon.src },
- { name: 'Instagram', hasIcon: true, iconPath: InstagramIcon.src },
- { name: 'LinkedIn', hasIcon: true, iconPath: LinkedInIcon.src },
- { name: 'Pinterest', hasIcon: true, iconPath: PinterestIcon.src },
- { name: 'Threads', hasIcon: true, iconPath: ThreadsIcon.src },
- { name: 'X (Twitter)', hasIcon: true, iconPath: TwitterIcon.src },
+ { name: 'YouTube', key: 'YouTube', hasIcon: true, iconPath: youtubeIcon.src },
+ { name: 'TikTok', key: 'TikTok', hasIcon: true, iconPath: tiktokIcon },
+ { name: '小红书', key: 'Rednote', hasIcon: true, iconPath: xhsIcon },
+ { name: '抖音', key: 'Douyin', hasIcon: true, iconPath: douyinIcon },
+ { name: '快手', key: 'Kwai', hasIcon: true, iconPath: ksIcon },
+ { name: '公众号', key: 'Wechat Offical Account', hasIcon: true, iconPath: gongzhonghaoIcon.src },
+ { name: '视频号', key: 'Wechat Channels', hasIcon: true, iconPath: wxSphIcon },
+ { name: 'Bilibili', key: 'Bilibili', hasIcon: true, iconPath: bilibiliIcon },
+ { name: 'Facebook', key: 'Facebook', hasIcon: true, iconPath: FacebookIcon.src },
+ { name: 'Instagram', key: 'Instagram', hasIcon: true, iconPath: InstagramIcon.src },
+ { name: 'LinkedIn', key: 'LinkedIn', hasIcon: true, iconPath: LinkedInIcon },
+ { name: 'Pinterest', key: 'Pinterest', hasIcon: true, iconPath: PinterestIcon.src },
+ { name: 'Threads', key: 'Threads', hasIcon: true, iconPath: ThreadsIcon.src },
+ { name: 'X (Twitter)', key: 'X (Twitter)', hasIcon: true, iconPath: TwitterIcon.src },
];
// 为了实现无缝滚动,复制一份数据
const duplicatedPlatforms = [...platforms, ...platforms];
+ // 获取平台显示名称
+ const getPlatformDisplayName = (platform: any) => {
+ if (lng === 'en') {
+ return platform.key;
+ }
+ return platform.name;
+ };
+
return (
<section className={styles.brandBar}>
<div className={styles.brandContainer}>
@@ -240,16 +228,16 @@ function BrandBar() {
<div key={index} className={styles.platformItem}>
<div className={styles.platformIcon}>
{platform.hasIcon ? (
- <img
- src={platform.iconPath}
- alt={`${platform.name} logo`}
+ <img
+ src={platform.iconPath}
+ alt={`${getPlatformDisplayName(platform)} logo`}
className={styles.platformSvg}
/>
) : (
- <span className={styles.platformEmoji}>{platform.name}</span>
+ <span className={styles.platformEmoji}>{getPlatformDisplayName(platform)}</span>
)}
</div>
- <span className={styles.platformName}>{platform.name}</span>
+ <span className={styles.platformName}>{getPlatformDisplayName(platform)}</span>
</div>
))}
</div>
@@ -259,15 +247,15 @@ function BrandBar() {
);
}
-// 灵感创意
-function BuildSection() {
+// 1. Content Publishing — 一键发布 · 多平台触达
+function ContentPublishingSection() {
const { t } = useTransClient('home');
const [currentImageIndex, setCurrentImageIndex] = useState(0);
const [autoRotate, setAutoRotate] = useState(true);
- const images = [hotjietu1.src, hotjietu2.src, hotjietu3.src];
+ const images = [IMAGE_URLS.calendar, IMAGE_URLS.supportChannels];
const autoRotateRef = useRef<NodeJS.Timeout | null>(null);
const carouselRef = useRef<HTMLDivElement>(null);
-
+
// 自动轮播
useEffect(() => {
if (autoRotate) {
@@ -280,50 +268,45 @@ function BuildSection() {
autoRotateRef.current = null;
}
}
-
+
return () => {
if (autoRotateRef.current) {
clearInterval(autoRotateRef.current);
}
};
}, [autoRotate, images.length]);
-
+
// 滚轮控制
useEffect(() => {
const handleWheel = (e: WheelEvent) => {
- // 检查是否在轮播区域内
if (carouselRef.current && carouselRef.current.contains(e.target as Node)) {
e.preventDefault();
-
+
if (e.deltaY > 0) {
- // 向下滚动
if (currentImageIndex < images.length - 1) {
setCurrentImageIndex(prev => prev + 1);
- setAutoRotate(false); // 用户操作时暂停自动轮播
+ setAutoRotate(false);
} else {
- // 到达最后一张图,恢复页面滚动
setAutoRotate(true);
return;
}
} else {
- // 向上滚动
if (currentImageIndex > 0) {
setCurrentImageIndex(prev => prev - 1);
setAutoRotate(false);
}
}
-
- // 3秒后恢复自动轮播
+
setTimeout(() => {
setAutoRotate(true);
}, 3000);
}
};
-
+
const carousel = carouselRef.current;
if (carousel) {
carousel.addEventListener('wheel', handleWheel, { passive: false });
-
+
return () => {
carousel.removeEventListener('wheel', handleWheel);
};
@@ -337,52 +320,186 @@ function BuildSection() {
<div className={styles.badgeIcon}></div>
<span>{t('buildSection.badge')}</span>
</div>
-
+
<div className={styles.buildContent}>
<div className={styles.buildLeft}>
<h2 className={styles.buildTitle}>
- {t('buildSection.title')}
+ {t('buildSection.title')}
<span className={styles.titleBlue}>{t('buildSection.titleBlue')}</span>
</h2>
-
- <div className={styles.featureList}>
- <div className={styles.featureItem}>
- <h3>{t('buildSection.features.hotTopic.title')}</h3>
- <p>{t('buildSection.features.hotTopic.description')}</p>
+
+ <div className={styles.featureList}>
+ <div className={styles.featureItem}>
+ <h3>{t('buildSection.features.hotTopic.title')}</h3>
+ <p>{t('buildSection.features.hotTopic.description')}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('buildSection.features.international.title')}</h3>
+ <p>{t('buildSection.features.international.description')}</p>
+ </div>
+ </div>
+ </div>
+
+ <div className={styles.buildRight}>
+ <div
+ className={styles.imageCarousel}
+ ref={carouselRef}
+ >
+ <div className={`${styles.carouselContainer} ${styles.mobileContainer}`}>
+ {images.map((image, index) => (
+ <div
+ key={index}
+ className={`${styles.carouselSlide} ${index === currentImageIndex ? styles.active : ''}`}
+ >
+ <img
+ src={image}
+ alt={`Content Publishing ${index + 1}`}
+ className={styles.mobileCarouselImage}
+ />
+ </div>
+ ))}
</div>
-
- <div className={styles.featureItem}>
- <h3>{t('buildSection.features.international.title')}</h3>
- <p>{t('buildSection.features.international.description')}</p>
+
+ <div className={styles.carouselIndicators}>
+ {images.map((_, index) => (
+ <button
+ key={index}
+ className={`${styles.indicator} ${index === currentImageIndex ? styles.active : ''}`}
+ onClick={() => {
+ setCurrentImageIndex(index);
+ setAutoRotate(false);
+ setTimeout(() => setAutoRotate(true), 3000);
+ }}
+ />
+ ))}
</div>
-
- <div className={styles.featureItem}>
- <h3>{t('buildSection.features.domestic.title')}</h3>
- <p>{t('buildSection.features.domestic.description')}</p>
+
+ <div className={styles.carouselHint}>
+ <span>使用滚轮切换图片</span>
</div>
</div>
</div>
-
- <div className={styles.buildRight}>
- <div
- className={styles.imageCarousel}
- ref={carouselRef}
- >
- <div className={styles.carouselContainer}>
+ </div>
+ </div>
+ </section>
+ );
+}
+
+// 2. Content Hotspot — 爆款灵感引擎
+function ContentHotspotSection() {
+ const { t } = useTransClient('home');
+ const [currentImageIndex, setCurrentImageIndex] = useState(0);
+ const [autoRotate, setAutoRotate] = useState(true);
+ const images = [IMAGE_URLS.hotspot, IMAGE_URLS.hotspot2, IMAGE_URLS.hotspot3, IMAGE_URLS.hotspot4];
+ const autoRotateRef = useRef<NodeJS.Timeout | null>(null);
+ const carouselRef = useRef<HTMLDivElement>(null);
+
+ // 自动轮播
+ useEffect(() => {
+ if (autoRotate) {
+ autoRotateRef.current = setInterval(() => {
+ setCurrentImageIndex(prev => (prev + 1) % images.length);
+ }, 3000);
+ } else {
+ if (autoRotateRef.current) {
+ clearInterval(autoRotateRef.current);
+ autoRotateRef.current = null;
+ }
+ }
+
+ return () => {
+ if (autoRotateRef.current) {
+ clearInterval(autoRotateRef.current);
+ }
+ };
+ }, [autoRotate, images.length]);
+
+ // 滚轮控制
+ useEffect(() => {
+ const handleWheel = (e: WheelEvent) => {
+ if (carouselRef.current && carouselRef.current.contains(e.target as Node)) {
+ e.preventDefault();
+
+ if (e.deltaY > 0) {
+ if (currentImageIndex < images.length - 1) {
+ setCurrentImageIndex(prev => prev + 1);
+ setAutoRotate(false);
+ } else {
+ setAutoRotate(true);
+ return;
+ }
+ } else {
+ if (currentImageIndex > 0) {
+ setCurrentImageIndex(prev => prev - 1);
+ setAutoRotate(false);
+ }
+ }
+
+ setTimeout(() => {
+ setAutoRotate(true);
+ }, 3000);
+ }
+ };
+
+ const carousel = carouselRef.current;
+ if (carousel) {
+ carousel.addEventListener('wheel', handleWheel, { passive: false });
+
+ return () => {
+ carousel.removeEventListener('wheel', handleWheel);
+ };
+ }
+ }, [currentImageIndex, images.length]);
+
+ return (
+ <section className={styles.buildSection}>
+ <div className={styles.buildContainer}>
+ <div className={styles.sectionBadge}>
+ <div className={styles.badgeIcon}></div>
+ <span>{t('hotspotSection.badge' as any)}</span>
+ </div>
+
+ <div className={styles.buildContent}>
+ <div className={styles.buildLeft}>
+ <h2 className={styles.buildTitle}>
+ {t('hotspotSection.title' as any)}
+ <span className={styles.titleBlue}>{t('hotspotSection.titleBlue' as any)}</span>
+ </h2>
+
+ <div className={styles.featureList}>
+ <div className={styles.featureItem}>
+ <h3>{t('hotspotSection.features.hotTopic.title' as any)}</h3>
+ <p>{t('hotspotSection.features.hotTopic.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('hotspotSection.features.international.title' as any)}</h3>
+ <p>{t('hotspotSection.features.international.description' as any)}</p>
+ </div>
+ </div>
+ </div>
+
+ <div className={styles.buildRight}>
+ <div
+ className={styles.imageCarousel}
+ ref={carouselRef}
+ >
+ <div className={`${styles.carouselContainer} ${styles.mobileContainer}`}>
{images.map((image, index) => (
<div
key={index}
className={`${styles.carouselSlide} ${index === currentImageIndex ? styles.active : ''}`}
>
- <img
- src={image}
- alt={`AI ToEarn Feature ${index + 1}`}
- className={styles.carouselImage}
- />
+ <img
+ src={image}
+ alt={`Content Hotspot ${index + 1}`}
+ className={styles.mobileCarouselImage}
+ />
</div>
))}
</div>
-
+
<div className={styles.carouselIndicators}>
{images.map((_, index) => (
<button
@@ -396,9 +513,9 @@ function BuildSection() {
/>
))}
</div>
-
+
<div className={styles.carouselHint}>
- <span>{t('buildSection.carouselHint')}</span>
+ <span>使用滚轮切换图片</span>
</div>
</div>
</div>
@@ -408,15 +525,15 @@ function BuildSection() {
);
}
-// 功能介绍区
-function ConnectSection() {
+// 3. Content Search — 品牌与市场洞察
+function ContentSearchSection() {
const { t } = useTransClient('home');
const [currentImageIndex, setCurrentImageIndex] = useState(0);
const [autoRotate, setAutoRotate] = useState(true);
- const images = [phonepublish1.src, phonepublish2.src, phonepublish3.src ]; // 功能介绍相关的图片
+ const images = [IMAGE_URLS.contentSearch, IMAGE_URLS.contentSearch1, IMAGE_URLS.contentSearch2, IMAGE_URLS.contentSearch4];
const autoRotateRef = useRef<NodeJS.Timeout | null>(null);
const carouselRef = useRef<HTMLDivElement>(null);
-
+
// 自动轮播
useEffect(() => {
if (autoRotate) {
@@ -429,50 +546,45 @@ function ConnectSection() {
autoRotateRef.current = null;
}
}
-
+
return () => {
if (autoRotateRef.current) {
clearInterval(autoRotateRef.current);
}
};
}, [autoRotate, images.length]);
-
+
// 滚轮控制
useEffect(() => {
const handleWheel = (e: WheelEvent) => {
- // 检查是否在轮播区域内
if (carouselRef.current && carouselRef.current.contains(e.target as Node)) {
e.preventDefault();
-
+
if (e.deltaY > 0) {
- // 向下滚动
if (currentImageIndex < images.length - 1) {
setCurrentImageIndex(prev => prev + 1);
- setAutoRotate(false); // 用户操作时暂停自动轮播
+ setAutoRotate(false);
} else {
- // 到达最后一张图,恢复页面滚动
setAutoRotate(true);
return;
}
} else {
- // 向上滚动
if (currentImageIndex > 0) {
setCurrentImageIndex(prev => prev - 1);
setAutoRotate(false);
}
}
-
- // 3秒后恢复自动轮播
+
setTimeout(() => {
setAutoRotate(true);
}, 3000);
}
};
-
+
const carousel = carouselRef.current;
if (carousel) {
carousel.addEventListener('wheel', handleWheel, { passive: false });
-
+
return () => {
carousel.removeEventListener('wheel', handleWheel);
};
@@ -480,65 +592,331 @@ function ConnectSection() {
}, [currentImageIndex, images.length]);
return (
- <section className={styles.connectSection}>
- <div className={styles.connectContainer}>
+ <section className={styles.buildSection}>
+ <div className={styles.buildContainer}>
<div className={styles.sectionBadge}>
<div className={styles.badgeIcon}></div>
- <span>{t('connectSection.badge')}</span>
+ <span>{t('searchSection.badge' as any)}</span>
</div>
-
- <div className={styles.connectContent}>
- <div className={styles.connectLeft}>
- <h2 className={styles.connectTitle}>
- {t('connectSection.title')} <span className={styles.titleBlue}>{t('connectSection.titleBlue')}</span>
+
+ <div className={styles.buildContent}>
+ <div className={styles.buildLeft}>
+ <h2 className={styles.buildTitle}>
+ {t('searchSection.title' as any)}
+ <span className={styles.titleBlue}>{t('searchSection.titleBlue' as any)}</span>
</h2>
-
- <div className={styles.featureList}>
- <div className={styles.featureItem}>
- <h3>{t('connectSection.features.creation.title')}</h3>
- <p>{t('connectSection.features.creation.description')}</p>
- <div className={styles.integrationLogos}>
- {/* 集成服务 logos */}
- </div>
+
+ <div className={styles.featureList}>
+ <div className={styles.featureItem}>
+ <h3>{t('searchSection.features.hotTopic.title' as any)}</h3>
+ <p>{t('searchSection.features.hotTopic.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('searchSection.features.international.title' as any)}</h3>
+ <p>{t('searchSection.features.international.description' as any)}</p>
+ </div>
+ </div>
+ </div>
+
+ <div className={styles.buildRight}>
+ <div
+ className={styles.imageCarousel}
+ ref={carouselRef}
+ >
+ <div className={`${styles.carouselContainer} ${styles.mobileContainer}`}>
+ {images.map((image, index) => (
+ <div
+ key={index}
+ className={`${styles.carouselSlide} ${index === currentImageIndex ? styles.active : ''}`}
+ >
+ <img
+ src={image}
+ alt={`Content Search ${index + 1}`}
+ className={styles.mobileCarouselImage}
+ />
+ </div>
+ ))}
</div>
-
- <div className={styles.featureItem}>
- <h3>{t('connectSection.features.distribution.title')}</h3>
- <p>{t('connectSection.features.distribution.description')}</p>
+
+ <div className={styles.carouselIndicators}>
+ {images.map((_, index) => (
+ <button
+ key={index}
+ className={`${styles.indicator} ${index === currentImageIndex ? styles.active : ''}`}
+ onClick={() => {
+ setCurrentImageIndex(index);
+ setAutoRotate(false);
+ setTimeout(() => setAutoRotate(true), 3000);
+ }}
+ />
+ ))}
</div>
-
- <div className={styles.featureItem}>
- <h3>{t('connectSection.features.interaction.title')}</h3>
- <p>{t('connectSection.features.interaction.description')}</p>
+
+ <div className={styles.carouselHint}>
+ <span>使用滚轮切换图片</span>
</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
- <div className={styles.featureItem}>
- <h3>{t('connectSection.features.analytics.title')}</h3>
- <p>{t('connectSection.features.analytics.description')}</p>
+// 4. Comments Search — 精准用户挖掘
+function CommentsSearchSection() {
+ const { t } = useTransClient('home');
+ const [currentImageIndex, setCurrentImageIndex] = useState(0);
+ const [autoRotate, setAutoRotate] = useState(true);
+ const images = [IMAGE_URLS.commentFilter];
+ const autoRotateRef = useRef<NodeJS.Timeout | null>(null);
+ const carouselRef = useRef<HTMLDivElement>(null);
+
+ // 自动轮播
+ useEffect(() => {
+ if (autoRotate) {
+ autoRotateRef.current = setInterval(() => {
+ setCurrentImageIndex(prev => (prev + 1) % images.length);
+ }, 3000);
+ } else {
+ if (autoRotateRef.current) {
+ clearInterval(autoRotateRef.current);
+ autoRotateRef.current = null;
+ }
+ }
+
+ return () => {
+ if (autoRotateRef.current) {
+ clearInterval(autoRotateRef.current);
+ }
+ };
+ }, [autoRotate, images.length]);
+
+ // 滚轮控制
+ useEffect(() => {
+ const handleWheel = (e: WheelEvent) => {
+ if (carouselRef.current && carouselRef.current.contains(e.target as Node)) {
+ e.preventDefault();
+
+ if (e.deltaY > 0) {
+ if (currentImageIndex < images.length - 1) {
+ setCurrentImageIndex(prev => prev + 1);
+ setAutoRotate(false);
+ } else {
+ setAutoRotate(true);
+ return;
+ }
+ } else {
+ if (currentImageIndex > 0) {
+ setCurrentImageIndex(prev => prev - 1);
+ setAutoRotate(false);
+ }
+ }
+
+ setTimeout(() => {
+ setAutoRotate(true);
+ }, 3000);
+ }
+ };
+
+ const carousel = carouselRef.current;
+ if (carousel) {
+ carousel.addEventListener('wheel', handleWheel, { passive: false });
+
+ return () => {
+ carousel.removeEventListener('wheel', handleWheel);
+ };
+ }
+ }, [currentImageIndex, images.length]);
+
+ return (
+ <section className={styles.buildSection}>
+ <div className={styles.buildContainer}>
+ <div className={styles.sectionBadge}>
+ <div className={styles.badgeIcon}></div>
+ <span>{t('commentsSection.badge' as any)}</span>
+ </div>
+
+ <div className={styles.buildContent}>
+ <div className={styles.buildLeft}>
+ <h2 className={styles.buildTitle}>
+ {t('commentsSection.title' as any)}
+ <span className={styles.titleBlue}>{t('commentsSection.titleBlue' as any)}</span>
+ </h2>
+
+ <div className={styles.featureList}>
+ <div className={styles.featureItem}>
+ <h3>{t('commentsSection.features.hotTopic.title' as any)}</h3>
+ <p>{t('commentsSection.features.hotTopic.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('commentsSection.features.international.title' as any)}</h3>
+ <p>{t('commentsSection.features.international.description' as any)}</p>
+ </div>
+ </div>
+ </div>
+
+ <div className={styles.buildRight}>
+ <div
+ className={styles.imageCarousel}
+ ref={carouselRef}
+ >
+ <div className={`${styles.carouselContainer} ${styles.mobileContainer}`}>
+ {images.map((image, index) => (
+ <div
+ key={index}
+ className={`${styles.carouselSlide} ${index === currentImageIndex ? styles.active : ''}`}
+ >
+ <img
+ src={image}
+ alt={`Comments Search ${index + 1}`}
+ className={styles.mobileCarouselImage}
+ />
+ </div>
+ ))}
+ </div>
+
+ <div className={styles.carouselIndicators}>
+ {images.map((_, index) => (
+ <button
+ key={index}
+ className={`${styles.indicator} ${index === currentImageIndex ? styles.active : ''}`}
+ onClick={() => {
+ setCurrentImageIndex(index);
+ setAutoRotate(false);
+ setTimeout(() => setAutoRotate(true), 3000);
+ }}
+ />
+ ))}
+ </div>
+
+ <div className={styles.carouselHint}>
+ <span>使用滚轮切换图片</span>
</div>
</div>
</div>
-
- <div className={styles.connectRight}>
- <div
- className={styles.imageCarousel}
- ref={carouselRef}
- >
- <div className={styles.carouselContainer}>
+ </div>
+ </div>
+ </section>
+ );
+}
+
+// 5. Content Engagement — 互动与增长引擎
+function ContentEngagementSection() {
+ const { t } = useTransClient('home');
+ const [currentImageIndex, setCurrentImageIndex] = useState(0);
+ const [autoRotate, setAutoRotate] = useState(true);
+ const images = [IMAGE_URLS.commentFilter2];
+ const autoRotateRef = useRef<NodeJS.Timeout | null>(null);
+ const carouselRef = useRef<HTMLDivElement>(null);
+
+ // 自动轮播
+ useEffect(() => {
+ if (autoRotate) {
+ autoRotateRef.current = setInterval(() => {
+ setCurrentImageIndex(prev => (prev + 1) % images.length);
+ }, 3000);
+ } else {
+ if (autoRotateRef.current) {
+ clearInterval(autoRotateRef.current);
+ autoRotateRef.current = null;
+ }
+ }
+
+ return () => {
+ if (autoRotateRef.current) {
+ clearInterval(autoRotateRef.current);
+ }
+ };
+ }, [autoRotate, images.length]);
+
+ // 滚轮控制
+ useEffect(() => {
+ const handleWheel = (e: WheelEvent) => {
+ if (carouselRef.current && carouselRef.current.contains(e.target as Node)) {
+ e.preventDefault();
+
+ if (e.deltaY > 0) {
+ if (currentImageIndex < images.length - 1) {
+ setCurrentImageIndex(prev => prev + 1);
+ setAutoRotate(false);
+ } else {
+ setAutoRotate(true);
+ return;
+ }
+ } else {
+ if (currentImageIndex > 0) {
+ setCurrentImageIndex(prev => prev - 1);
+ setAutoRotate(false);
+ }
+ }
+
+ setTimeout(() => {
+ setAutoRotate(true);
+ }, 3000);
+ }
+ };
+
+ const carousel = carouselRef.current;
+ if (carousel) {
+ carousel.addEventListener('wheel', handleWheel, { passive: false });
+
+ return () => {
+ carousel.removeEventListener('wheel', handleWheel);
+ };
+ }
+ }, [currentImageIndex, images.length]);
+
+ return (
+ <section className={styles.buildSection}>
+ <div className={styles.buildContainer}>
+ <div className={styles.sectionBadge}>
+ <div className={styles.badgeIcon}></div>
+ <span>{t('connectSection.badge' as any)}</span>
+ </div>
+
+ <div className={styles.buildContent}>
+ <div className={styles.buildLeft}>
+ <h2 className={styles.buildTitle}>
+ {t('connectSection.title' as any)}
+ <span className={styles.titleBlue}>{t('connectSection.titleBlue' as any)}</span>
+ </h2>
+
+ <div className={styles.featureList}>
+ <div className={styles.featureItem}>
+ <h3>{t('connectSection.features.creation.title' as any)}</h3>
+ <p>{t('connectSection.features.creation.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('connectSection.features.distribution.title' as any)}</h3>
+ <p>{t('connectSection.features.distribution.description' as any)}</p>
+ </div>
+ </div>
+ </div>
+
+ <div className={styles.buildRight}>
+ <div
+ className={styles.imageCarousel}
+ ref={carouselRef}
+ >
+ <div className={`${styles.carouselContainer} ${styles.mobileContainer}`}>
{images.map((image, index) => (
<div
key={index}
className={`${styles.carouselSlide} ${index === currentImageIndex ? styles.active : ''}`}
>
- <img
- src={image}
- alt={`AI ToEarn Function ${index + 1}`}
- className={styles.carouselImage}
- />
+ <img
+ src={image}
+ alt={`Content Engagement ${index + 1}`}
+ className={styles.mobileCarouselImage}
+ />
</div>
))}
</div>
-
+
<div className={styles.carouselIndicators}>
{images.map((_, index) => (
<button
@@ -552,9 +930,71 @@ function ConnectSection() {
/>
))}
</div>
-
+
<div className={styles.carouselHint}>
- <span>{t('connectSection.carouselHint')}</span>
+ <span>使用滚轮切换图片</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+ );
+}
+
+// 6-8. 即将上线功能整合模块
+function UpcomingFeaturesSection() {
+ const { t } = useTransClient('home');
+
+ return (
+ <section className={styles.buildSection}>
+ <div className={styles.buildContainer}>
+ <div className={styles.sectionBadge}>
+ <div className={styles.badgeIcon}></div>
+ <span>{t('upcomingSection.badge' as any)}</span>
+ </div>
+
+ <div className={styles.buildContent}>
+ <div className={styles.buildLeft}>
+ <h2 className={styles.buildTitle}>
+ {t('upcomingSection.title' as any)}
+ <span className={styles.titleBlue}>{t('upcomingSection.titleBlue' as any)}</span>
+ </h2>
+
+ <div className={styles.featureList}>
+ <div className={styles.featureItem}>
+ <h3>{t('upcomingSection.features.smartImport.title' as any)}</h3>
+ <p>{t('upcomingSection.features.smartImport.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('upcomingSection.features.analytics.title' as any)}</h3>
+ <p>{t('upcomingSection.features.analytics.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('upcomingSection.features.aiCreation.title' as any)}</h3>
+ <p>{t('upcomingSection.features.aiCreation.description' as any)}</p>
+ </div>
+
+ <div className={styles.featureItem}>
+ <h3>{t('upcomingSection.features.marketplace.title' as any)}</h3>
+ <p>{t('upcomingSection.features.marketplace.description' as any)}</p>
+ </div>
+ </div>
+ </div>
+
+ <div className={styles.buildRight}>
+ <div className={styles.imageCarousel}>
+ <div className={styles.carouselContainer}>
+ <div className={`${styles.carouselSlide} ${styles.active}`}>
+ <video
+ src={'https://aitoearn.s3.ap-southeast-1.amazonaws.com/production/temp/uploads/890044ad-c3a3-4a4c-8981-0eb72abff538.mp4'}
+ controls
+ className={styles.desktopCarouselImage}
+ style={{ borderRadius: '16px', boxShadow: '0 20px 60px rgba(0, 0, 0, 0.2)' }}
+ />
+ </div>
</div>
</div>
</div>
@@ -565,11 +1005,13 @@ function ConnectSection() {
}
// 移动应用下载区
+import { QRCode } from 'react-qrcode-logo';
+import HomeHeader from "@/app/layout/HomeHeader";
function DownloadSection() {
const { t } = useTransClient('home');
-
+
return (
- <section className={styles.downloadSection}>
+ <section className={styles.downloadSection} id="download">
<div className={styles.downloadContainer}>
<div className={styles.downloadContent}>
<div className={styles.downloadLeft}>
@@ -577,40 +1019,47 @@ function DownloadSection() {
{t('downloadSection.title')}<br />
<span className={styles.titleBlue}>{t('downloadSection.titleBlue')}</span>
</h2>
-
+
<p className={styles.downloadDescription}>
{t('downloadSection.description')}
</p>
-
+
<div className={styles.downloadButtons}>
- <a href="#app-store" className={styles.downloadBtn}>
+ <a href={MAIN_APP_DOWNLOAD_URL} className={styles.downloadBtn} target="_blank" rel="noopener noreferrer">
<div className={styles.downloadBtnContent}>
- <svg className={styles.downloadIcon} width="24" height="24" viewBox="0 0 24 24" fill="none">
- <path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z" fill="currentColor"/>
- </svg>
+ <AndroidOutlined className={styles.downloadIcon} style={{ fontSize: '24px' }} />
<div className={styles.downloadBtnText}>
- <span className={styles.downloadOn}>{t('downloadSection.appStore.text')}</span>
- <span className={styles.downloadStore}>{t('downloadSection.appStore.store')}</span>
+ <span className={styles.downloadOn}>立即下载</span>
+ <span className={styles.downloadStore}>Android APK</span>
</div>
</div>
</a>
-
- <a href="#google-play" className={styles.downloadBtn}>
+ <a href="https://play.google.com/store/apps/details?id=com.yika.aitoearn.aitoearn_app" className={styles.downloadBtn} target="_blank" rel="noopener noreferrer">
<div className={styles.downloadBtnContent}>
- <svg className={styles.downloadIcon} width="24" height="24" viewBox="0 0 24 24" fill="none">
- <path d="M3,20.5V3.5C3,2.91 3.34,2.39 3.84,2.15L13.69,12L3.84,21.85C3.34,21.6 3,21.09 3,20.5M16.81,15.12L6.05,21.34L14.54,12.85L16.81,15.12M20.16,10.81C20.5,11.08 20.75,11.5 20.75,12C20.75,12.5 20.53,12.9 20.18,13.18L17.89,14.5L15.39,12L17.89,9.5L20.16,10.81M6.05,2.66L16.81,8.88L14.54,11.15L6.05,2.66Z" fill="currentColor"/>
- </svg>
+ <AndroidOutlined className={styles.downloadIcon} style={{ fontSize: '24px' }} />
<div className={styles.downloadBtnText}>
- <span className={styles.downloadOn}>{t('downloadSection.googlePlay.text')}</span>
- <span className={styles.downloadStore}>{t('downloadSection.googlePlay.store')}</span>
+ <span className={styles.downloadOn}>Get it on</span>
+ <span className={styles.downloadStore}>Google Play</span>
</div>
</div>
</a>
</div>
</div>
-
+
<div className={styles.downloadRight}>
<div className={styles.phoneContainer}>
+
+ <div className={styles.qrCode}>
+ {/* <div className={styles.qrCodeImage}> */}
+ <QRCode
+ value={MAIN_APP_DOWNLOAD_URL}
+ size={120}
+ />
+ {/* </div> */}
+ <p className={styles.qrCodeText}>{t('downloadSection.qrCodeText' as any)}</p>
+ </div>
+
+
<div className={styles.phoneFrame}>
<div className={styles.phoneScreen}>
<div className={styles.phoneStatusBar}>
@@ -620,13 +1069,13 @@ function DownloadSection() {
<div className={styles.phoneBattery}></div>
</div>
</div>
-
+
<div className={styles.phoneContent}>
<div className={styles.phoneHeader}>
<h3>Create</h3>
<span className={styles.phoneCounter}>280</span>
</div>
-
+
<div className={styles.phoneVideoCard}>
<span className={styles.phoneVideoTitle}>Example video</span>
<div className={styles.phoneVideoPreview}>
@@ -637,7 +1086,7 @@ function DownloadSection() {
<span>⌚ 15</span>
</div>
</div>
-
+
<div className={styles.phoneCreatePrompt}>
<div className={styles.phoneAddBtn}>+</div>
<span>What do you want to create?</span>
@@ -645,12 +1094,8 @@ function DownloadSection() {
</div>
</div>
</div>
-
- <div className={styles.qrCode}>
- <div className={styles.qrCodeImage}>
- <div className={styles.qrCodePattern}></div>
- </div>
- </div>
+
+
</div>
</div>
</div>
@@ -664,7 +1109,7 @@ function DownloadSection() {
// Enterprise 区块
function EnterpriseSection() {
const { t } = useTransClient('home');
-
+
return (
<section className={styles.enterpriseSection}>
<div className={styles.enterpriseContainer}>
@@ -672,12 +1117,12 @@ function EnterpriseSection() {
<div className={styles.badgeIcon}></div>
<span>{t('enterpriseSection.badge')}</span>
</div>
-
+
<h2 className={styles.enterpriseTitle}>
{t('enterpriseSection.title')}<br />
<span className={styles.titleBlue}>{t('enterpriseSection.titleBlue')}</span>
</h2>
-
+
<p className={styles.enterpriseSubtitle}>
{t('enterpriseSection.subtitle')}
</p>
@@ -689,7 +1134,7 @@ function EnterpriseSection() {
// 数据统计区
function StatsSection() {
const { t } = useTransClient('home');
-
+
return (
<section className={styles.statsSection}>
<div className={styles.statsContainer}>
@@ -711,7 +1156,7 @@ function StatsSection() {
<div className={styles.statLabel}>{t('statsSection.stats.content.label')}</div>
</div>
</div>
-
+
<div className={styles.testimonialCard}>
<div className={styles.testimonialContent}>
<p>"{t('statsSection.testimonial.quote')}"</p>
@@ -721,7 +1166,7 @@ function StatsSection() {
</div>
</div>
</div>
-
+
<div className={styles.caseStudies}>
<div className={styles.caseStudy}>
<div className={styles.caseTitle}>{t('statsSection.caseStudies.timeSaved.title')}</div>
@@ -740,7 +1185,7 @@ function StatsSection() {
function CommunitySection() {
const { t } = useTransClient('home');
const [hoveredButton, setHoveredButton] = useState<string | null>(null);
-
+
return (
<section className={styles.communitySection}>
<div className={styles.communityContainer}>
@@ -748,19 +1193,19 @@ function CommunitySection() {
<div className={styles.badgeIcon}></div>
<span>{t('communitySection.badge')}</span>
</div>
-
+
<h2 className={styles.communityTitle}>
{t('communitySection.title')}<br />
<span className={styles.titleBlue}>{t('communitySection.titleBlue')}</span>
</h2>
-
+
<p className={styles.communitySubtitle}>
{t('communitySection.subtitle')}
</p>
-
+
<div className={styles.communityButtons}>
<div className={styles.buttonWrapper}>
- <button
+ <button
className={styles.githubBtn}
onMouseEnter={() => setHoveredButton('wechat')}
onMouseLeave={() => setHoveredButton(null)}
@@ -773,13 +1218,13 @@ function CommunitySection() {
{hoveredButton === 'wechat' && (
<div className={styles.qrCodePopup}>
<Image src={gongzhonghao} alt="微信公众号" width={200} height={200} className={styles.qrCodeImage} />
- <p className={styles.qrCodeText}>扫码关注微信公众号</p>
+ <p className={styles.qrCodeText}>{t('communitySection.wechatPopup' as any)}</p>
</div>
)}
</div>
-
+
<div className={styles.buttonWrapper}>
- <button
+ <button
className={styles.discordBtn}
onMouseEnter={() => setHoveredButton('community')}
onMouseLeave={() => setHoveredButton(null)}
@@ -792,12 +1237,12 @@ function CommunitySection() {
{hoveredButton === 'community' && (
<div className={styles.qrCodePopup}>
<Image src={gongzhonghao} alt="社区公众号" width={200} height={200} className={styles.qrCodeImage} />
- <p className={styles.qrCodeText}>扫码加入社区群</p>
+ <p className={styles.qrCodeText}>{t('communitySection.communityPopup' as any)}</p>
</div>
)}
</div>
</div>
-
+
<div className={styles.communityStats}>
<div className={styles.communityStat}>
<div className={styles.statNumber}>{t('communitySection.stats.downloads.number')}</div>
@@ -812,7 +1257,7 @@ function CommunitySection() {
<div className={styles.statLabel}>{t('communitySection.stats.creators.label')}</div>
</div>
</div>
-
+
<div className={styles.tweets}>
{/* 用户分享卡片区域 */}
</div>
@@ -830,14 +1275,12 @@ function Footer() {
const router = useRouter();
// 背景图片数组
const backgroundImages = [
- // '/src/assets/images/logo.png',
-
- 'https://picsum.photos/400/200?random=1',
- 'https://picsum.photos/400/200?random=2',
- 'https://picsum.photos/400/200?random=3',
- 'https://picsum.photos/400/200?random=4',
+ IMAGE_URLS.hotspot,
+ IMAGE_URLS.hotspot2,
+ IMAGE_URLS.hotspot3,
+ IMAGE_URLS.hotspot4,
];
-
+
useEffect(() => {
if (isHovered) {
intervalRef.current = setInterval(() => {
@@ -850,7 +1293,7 @@ function Footer() {
}
setCurrentImageIndex(0);
}
-
+
return () => {
if (intervalRef.current) {
clearInterval(intervalRef.current);
@@ -873,7 +1316,7 @@ function Footer() {
<a href="#support">{t('footer.resources.links.support')}</a>
<a href="#roadmap">{t('footer.resources.links.roadmap')}</a>
</div> */}
-
+
<div className={styles.footerColumn}>
<h4>{t('footer.company.title')}</h4>
<a onClick={() => {
@@ -887,12 +1330,12 @@ function Footer() {
}}>{t('footer.company.links.data')}</a>
</div>
</div>
-
+
<div className={styles.footerInfo}>
<div className={styles.footerText}>
{t('footer.description')}
</div>
-
+
{/* <div className={styles.socialLinks}>
<a href="#github">{t('footer.social.github')}</a>
<a href="#discord">{t('footer.social.discord')}</a>
@@ -902,16 +1345,16 @@ function Footer() {
</div> */}
</div>
</div>
-
+
{/* 下半部分:imagine if */}
<div className={styles.footerBottom}>
- <div
+ <div
className={styles.bigText}
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
>
- {t('footer.bigText')}
- <span
+ {t('footer.bigText')}
+ <span
className={styles.ifText}
style={{
marginLeft: '80px',
@@ -920,26 +1363,27 @@ function Footer() {
backgroundPosition: 'center',
backgroundClip: 'text',
WebkitBackgroundClip: 'text',
- color: isHovered ? 'transparent' : '#733DEC'
+ color: isHovered ? 'transparent' : '#733DEC',
+ textShadow: '0 2px 4px rgba(0, 0, 0, 0.2)'
}}
>
Earn
</span>
</div>
-
+
<div className={styles.footerCopyright}>
<div className={styles.copyright}>{t('footer.copyright')}</div>
<div className={styles.tagline}>{t('footer.tagline')}</div>
</div>
-
+
{/* <div className={styles.dataDeletionDoc}>
<h1>{t('footer.dataDeletion.title')}</h1>
-
+
<p><strong>Last Updated:</strong> 2025.6.27</p>
-
+
<h2>For Pre-Launch Users:</h2>
<p>{t('footer.dataDeletion.prelaunch')}</p>
-
+
<h2>{t('footer.dataDeletion.standardTitle')}</h2>
<ol>
<li>{t('footer.dataDeletion.standardSteps.0')}</li>
@@ -947,7 +1391,7 @@ function Footer() {
<li>{t('footer.dataDeletion.standardSteps.2')}</li>
<li>{t('footer.dataDeletion.standardSteps.3')}</li>
</ol>
-
+
<h2>{t('footer.dataDeletion.contactTitle')}</h2>
<p>{t('footer.dataDeletion.contactEmail')}</p>
</div> */}
@@ -961,13 +1405,16 @@ export default function Home() {
return (
<div className={styles.difyHome}>
{/* <ReleaseBanner /> */}
- <Header />
<Hero />
<BrandBar />
- <BuildSection />
- <ConnectSection />
- {/* <DownloadSection />
- <EnterpriseSection />
+ <ContentPublishingSection />
+ <ContentHotspotSection />
+ <ContentSearchSection />
+ <CommentsSearchSection />
+ <ContentEngagementSection />
+ <UpcomingFeaturesSection />
+ <DownloadSection />
+ {/*<EnterpriseSection />
<StatsSection /> */}
{/* <CommunitySection /> */}
<Footer />
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/pricing/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/pricing/page.tsx
new file mode 100644
index 00000000..cde10672
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/pricing/page.tsx
@@ -0,0 +1,753 @@
+"use client";
+
+import { useState } from "react";
+import { Button, Collapse } from "antd";
+import { CheckOutlined, CloseOutlined } from "@ant-design/icons";
+import { useTransClient } from "@/app/i18n/client";
+import pricingStyles from "../styles/pricing.module.scss";
+
+/**
+ * 定价页面组件
+ */
+export default function PricingPage() {
+ const { t } = useTransClient('pricing');
+ const [billingCycle, setBillingCycle] = useState<'monthly' | 'yearly'>('yearly');
+
+ // 直接使用 aaa.md 中的完整数据
+ const fallbackPricingData = [
+ {
+ model: "gpt-5",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "大模型价格以官方价格为准",
+ credits: "每百万tokens",
+ price: "输入 9元,输出 72",
+ channel: "yun"
+ },
+ {
+ model: "gpt-5-mini",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "",
+ price: "输入 1.8元,输出 14.4",
+ channel: "yun"
+ },
+ {
+ model: "gpt-5-nano",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "",
+ price: "输入 0.36元,输出 2.88",
+ channel: "yun"
+ },
+ {
+ model: "gemini-2.5-pro",
+ type: "大模型",
+ duration: "",
+ resolution: "支持视频",
+ notes: "",
+ credits: "",
+ price: "输入9元,输出 72",
+ channel: "yun"
+ },
+ {
+ model: "chatgpt-4o-latest",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "",
+ price: "输入 36元,输出 108",
+ channel: "yun"
+ },
+ {
+ model: "gemini-2.5-flash",
+ type: "大模型",
+ duration: "",
+ resolution: "支持视频",
+ notes: "",
+ credits: "",
+ price: "输入 2.16元,输出 18",
+ channel: "yun"
+ },
+ {
+ model: "qwen-vl-max-latest",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "",
+ price: "输入1.6元,输出4",
+ channel: "yun"
+ },
+ {
+ model: "kimi-k2-0711-preview",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片",
+ credits: "",
+ price: "",
+ channel: "暂不接入"
+ },
+ {
+ model: "grok-4",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片",
+ credits: "",
+ price: "",
+ channel: "暂不接入"
+ },
+ {
+ model: "claude-opus-4-1-20250805-thinking",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片,不支持图片的不着急支持",
+ credits: "",
+ price: "",
+ channel: "暂不接入 "
+ },
+ {
+ model: "qwen3-235b-a22b-07-25",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片",
+ credits: "",
+ price: "",
+ channel: "暂不接入"
+ },
+ {
+ model: "deepseek-r1-0528",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片",
+ credits: "",
+ price: "",
+ channel: "暂不接入"
+ },
+ {
+ model: "claude-sonnet-4-20250514-thinking",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片",
+ credits: "",
+ price: "",
+ channel: "暂不接入"
+ },
+ {
+ model: "deepseek-v3-0324",
+ type: "大模型",
+ duration: "",
+ resolution: "",
+ notes: "不支持图片",
+ credits: "",
+ price: "",
+ channel: "暂不接入"
+ },
+ {
+ model: "gemini-2.5-flash-image",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "又名nano banana,支持多图像输入",
+ credits: "1",
+ price: "0.27",
+ channel: "yun"
+ },
+ {
+ model: "seedream-3.0",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "2.6",
+ price: "0.26",
+ channel: "官方"
+ },
+ {
+ model: "seededit-3.0",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "图片编辑,传入图片需要满足以下条件:图片格式:jpeg、png。宽高比(宽/高):在范围 (1/3, 3) 。宽高长度(px) > 14。大小:不超过 10MB。",
+ credits: "3",
+ price: "0.3",
+ channel: "官方"
+ },
+ {
+ model: "gpt-image-1",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "支持图片编辑",
+ credits: "1",
+ price: "low $0.011-0.016, medium $0.042-0.063, high $0.167-0.25",
+ channel: "yun"
+ },
+ {
+ model: "FLUX.1 Kontext [max]",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "支持图片编辑",
+ credits: "1.5",
+ price: "0.6",
+ channel: "yun"
+ },
+ {
+ model: "FLUX.1 Kontext [pro]",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "支持图片编辑",
+ credits: "1",
+ price: "0.3",
+ channel: "yun"
+ },
+ {
+ model: "FLUX.1[dev]",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "先不上",
+ price: "0.2",
+ channel: ""
+ },
+ {
+ model: "Flux 1.1 pro ultra",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "4.5",
+ price: "0.45",
+ channel: "官方"
+ },
+ {
+ model: "Flux1.1 pro",
+ type: "图片生成",
+ duration: "",
+ resolution: "",
+ notes: "",
+ credits: "3",
+ price: "0.3",
+ channel: "官方"
+ },
+ {
+ model: "midjourney relax",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "",
+ notes: "",
+ credits: "免费",
+ price: "",
+ channel: "yun"
+ },
+ {
+ model: "midjourney fast/turbo",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "",
+ notes: "",
+ credits: "4",
+ price: "",
+ channel: "yun"
+ },
+ {
+ model: "kling1.5/1.6/2.1",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "",
+ credits: "20",
+ price: "2",
+ channel: "yun"
+ },
+ {
+ model: "kling1.5/1.6/2.1",
+ type: "视频生成",
+ duration: "10秒",
+ resolution: "720p",
+ notes: "",
+ credits: "40",
+ price: "4",
+ channel: "yun"
+ },
+ {
+ model: "kling1.5/1.6/2.1",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "35",
+ price: "3.5",
+ channel: "yun"
+ },
+ {
+ model: "kling1.5/1.6/2.1",
+ type: "视频生成",
+ duration: "10秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "70",
+ price: "7",
+ channel: "yun"
+ },
+ {
+ model: "kling1.6多图参考",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "",
+ credits: "20",
+ price: "2",
+ channel: "yun"
+ },
+ {
+ model: "kling1.6多图参考",
+ type: "视频生成",
+ duration: "10秒",
+ resolution: "720p",
+ notes: "",
+ credits: "40",
+ price: "4",
+ channel: "yun"
+ },
+ {
+ model: "kling1.6多图参考",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "35",
+ price: "3.5",
+ channel: "yun"
+ },
+ {
+ model: "kling1.6多图参考",
+ type: "视频生成",
+ duration: "10秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "70",
+ price: "7",
+ channel: "yun"
+ },
+ {
+ model: "kling2.1大师",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "100",
+ price: "10",
+ channel: "yun"
+ },
+ {
+ model: "kling2.1大师",
+ type: "视频生成",
+ duration: "10秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "200",
+ price: "20",
+ channel: "yun"
+ },
+ {
+ model: "wan2.2-plus",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "480p",
+ notes: "",
+ credits: "70",
+ price: "0.7",
+ channel: "yun"
+ },
+ {
+ model: "wan2.2-plus",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "35",
+ price: "3.5",
+ channel: "yun"
+ },
+ {
+ model: "wan2.1-turbo(14b)",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "不要使用火山渠道",
+ credits: "12",
+ price: "1.2",
+ channel: "yun"
+ },
+ {
+ model: "wan2.1-plus",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "支持首尾帧",
+ credits: "35",
+ price: "3.5",
+ channel: "yun"
+ },
+ {
+ model: "wanx2.1-vace-plus",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "视频编辑",
+ credits: "35",
+ price: "3.5",
+ channel: "yun"
+ },
+ {
+ model: "seedance-1.0-pro",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "480p",
+ notes: "支持10秒",
+ credits: "7.2",
+ price: "0.72",
+ channel: "yun"
+ },
+ {
+ model: "seedance-1.0-pro",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "10秒价格翻倍就行",
+ credits: "16.4",
+ price: "1.64",
+ channel: "yun"
+ },
+ {
+ model: "seedance-1.0-pro",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "1080p",
+ notes: "",
+ credits: "36.7",
+ price: "3.67",
+ channel: "yun"
+ },
+ {
+ model: "seedance-1.0-lite",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "480p",
+ notes: "支持首尾帧",
+ credits: "5",
+ price: "0.5",
+ channel: "yun"
+ },
+ {
+ model: "seedance-1.0-lite",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "720p",
+ notes: "支持10秒",
+ credits: "11",
+ price: "1.1",
+ channel: "yun"
+ },
+ {
+ model: "seedance-1.0-lite",
+ type: "视频生成",
+ duration: "5秒",
+ resolution: "1080p",
+ notes: "10秒价格翻倍",
+ credits: "25",
+ price: "2.5",
+ channel: "yun"
+ }
+ ];
+
+ // 尝试从 i18n 获取数据,如果失败则使用备选数据
+ const getPricingData = () => {
+ try {
+ const rows = t('faq.creditDeduction.pricingTable.rows' as any);
+ if (Array.isArray(rows) && rows.length > 0) {
+ return rows;
+ }
+ } catch (error) {
+ console.error('Error loading pricing data from i18n:', error);
+ }
+ return fallbackPricingData;
+ };
+
+ const plans = [
+ {
+ name: t('plans.free.name'),
+ price: 0,
+ originalPrice: 0,
+ credits: t('plans.free.credits'),
+ videos: t('plans.free.videos'),
+ images: t('plans.free.images'),
+ features: [
+ { text: t('features.textModeration'), included: false },
+ { text: t('features.imageModeration'), included: false },
+ { text: t('features.videoModeration'), included: false },
+ { text: t('features.multiModel'), included: true },
+ { text: t('features.textToVideo'), included: true },
+ { text: t('features.imageToVideo'), included: true },
+ { text: t('features.videoToVideo'), included: true },
+ { text: t('features.consistentCharacter'), included: true },
+ { text: t('features.aiAnimation'), included: true },
+ { text: t('features.aiImage'), included: true },
+ { text: t('features.voiceClone'), included: true },
+ { text: t('features.voiceSynthesis'), included: true },
+ { text: t('features.fasterSpeed'), included: false },
+ { text: t('features.withWatermark'), included: true },
+ { text: t('features.storage500M'), included: true },
+ ],
+ buttonText: t('plans.free.button'),
+ buttonType: 'default' as const,
+ popular: false,
+ },
+ {
+ name: t('plans.plus.name'),
+ price: billingCycle === 'yearly' ? 12 : 19,
+ originalPrice: billingCycle === 'yearly' ? 20 : 15,
+ credits: t('plans.plus.credits'),
+ videos: t('plans.plus.videos'),
+ images: t('plans.plus.images'),
+ features: [
+ { text: t('features.textModeration'), included: true },
+ { text: t('features.imageModeration'), included: true },
+ { text: t('features.videoModeration'), included: true },
+ { text: t('features.multiModel'), included: true },
+ { text: t('features.textToVideo'), included: true },
+ { text: t('features.imageToVideo'), included: true },
+ { text: t('features.videoToVideo'), included: true },
+ { text: t('features.consistentCharacter'), included: true },
+ { text: t('features.aiAnimation'), included: true },
+ { text: t('features.aiImage'), included: true },
+ { text: t('features.voiceClone'), included: true },
+ { text: t('features.voiceSynthesis'), included: true },
+ { text: t('features.fasterSpeed'), included: true },
+ { text: t('features.noWatermark'), included: true },
+ { text: t('features.storage5G'), included: true },
+ ],
+ buttonText: t('plans.plus.button'),
+ buttonType: 'primary' as const,
+ popular: true,
+ },
+ ];
+
+ const faqItems = [
+ {
+ question: t('faq.paymentMethods.question'),
+ answer: t('faq.paymentMethods.answer')
+ },
+ {
+ question: t('faq.creditDeduction.question'),
+ answer: t('faq.creditDeduction.answer')
+ },
+ {
+ question: t('faq.creditExpiry.question'),
+ answer: t('faq.creditExpiry.answer')
+ },
+ {
+ question: t('faq.moreCredits.question'),
+ answer: t('faq.moreCredits.answer')
+ },
+ {
+ question: t('faq.checkCredits.question'),
+ answer: t('faq.checkCredits.answer')
+ },
+ {
+ question: t('faq.hiddenFees.question'),
+ answer: t('faq.hiddenFees.answer')
+ },
+ {
+ question: t('faq.refundPolicy.question'),
+ answer: t('faq.refundPolicy.answer')
+ }
+ ];
+
+ return (
+ <div className={pricingStyles.pricingPage}>
+ <div className={pricingStyles.container}>
+
+ {/* Header */}
+ <div className={pricingStyles.header}>
+ <h1 className={pricingStyles.title}>{t('title')}</h1>
+ <p className={pricingStyles.subtitle}>{t('subtitle')}</p>
+ </div>
+
+ {/* Billing Toggle */}
+ <div className={pricingStyles.billingToggle}>
+ <div className={pricingStyles.toggleContainer}>
+ <button
+ className={`${pricingStyles.toggleButton} ${billingCycle === 'monthly' ? pricingStyles.active : ''}`}
+ onClick={() => setBillingCycle('monthly')}
+ >
+ {t('monthly')}
+ {billingCycle === 'monthly' && (
+ <span className={pricingStyles.saveBadge}>{t('save25')}</span>
+ )}
+ </button>
+ <button
+ className={`${pricingStyles.toggleButton} ${billingCycle === 'yearly' ? pricingStyles.active : ''}`}
+ onClick={() => setBillingCycle('yearly')}
+ >
+ {t('yearly')}
+ {billingCycle === 'yearly' && (
+ <span className={pricingStyles.saveBadge}>{t('save50')}</span>
+ )}
+ </button>
+ </div>
+ </div>
+
+ {/* Pricing Cards */}
+ <div className={pricingStyles.pricingCards}>
+ {plans.map((plan, index) => (
+ <div
+ key={plan.name}
+ className={`${pricingStyles.pricingCard} ${plan.popular ? pricingStyles.popular : ''}`}
+ >
+ {plan.popular && (
+ <div className={pricingStyles.popularBadge}>
+ {billingCycle === 'yearly' ? t('flashSale50') : t('mostPopular')}
+ </div>
+ )}
+
+ <div className={pricingStyles.cardHeader}>
+ <h2 className={pricingStyles.planName}>{plan.name}</h2>
+ <div className={pricingStyles.priceContainer}>
+ {plan.originalPrice > plan.price && (
+ <span className={pricingStyles.originalPrice}>
+ ${plan.originalPrice} USD
+ </span>
+ )}
+ <div className={pricingStyles.price}>
+ <span className={pricingStyles.currency}>$</span>
+ <span className={pricingStyles.amount}>{plan.price}</span>
+ <span className={pricingStyles.period}>/{t('month')}</span>
+ </div>
+ {billingCycle === 'yearly' && plan.price > 0 && (
+ <div className={pricingStyles.monthlyPrice}>
+ ${(plan.price * 12).toFixed(0)} USD/{t('yearly')}
+ </div>
+ )}
+ </div>
+ </div>
+
+ <div className={pricingStyles.planFeatures}>
+ <div className={pricingStyles.mainFeatures}>
+ <div className={pricingStyles.featureItem}>
+ <span className={pricingStyles.featureLabel}>{t('credits')}</span>
+ <span className={pricingStyles.featureValue}>{plan.credits}</span>
+ </div>
+ <div className={pricingStyles.featureItem}>
+ <span className={pricingStyles.featureLabel}>{t('videos')}</span>
+ <span className={pricingStyles.featureValue}>{plan.videos}</span>
+ </div>
+ <div className={pricingStyles.featureItem}>
+ <span className={pricingStyles.featureLabel}>{t('images')}</span>
+ <span className={pricingStyles.featureValue}>{plan.images}</span>
+ </div>
+ </div>
+
+ <div className={pricingStyles.featuresList}>
+ {plan.features.map((feature, featureIndex) => (
+ <div key={featureIndex} className={pricingStyles.featureRow}>
+ {feature.included ? (
+ <CheckOutlined className={pricingStyles.checkIcon} />
+ ) : (
+ <CloseOutlined className={pricingStyles.closeIcon} />
+ )}
+ <span className={`${pricingStyles.featureText} ${!feature.included ? pricingStyles.disabled : ''}`}>
+ {feature.text}
+ </span>
+ </div>
+ ))}
+ </div>
+ </div>
+
+ <Button
+ type={plan.buttonType}
+ size="large"
+ className={pricingStyles.ctaButton}
+ onClick={() => {
+ if (plan.name === t('plans.free.name')) {
+ // 跳转到注册页面
+ window.location.href = '/vip';
+ } else {
+ // 跳转到支付页面
+ window.location.href = '/vip';
+ }
+ }}
+ >
+ {plan.buttonText}
+ </Button>
+ </div>
+ ))}
+ </div>
+
+ {/* FAQ Section */}
+ <div className={pricingStyles.faqSection}>
+ <h2 className={pricingStyles.faqTitle}>{t('faq.title')}</h2>
+ <Collapse
+ className={pricingStyles.faqCollapse}
+ items={faqItems.map((faq, index) => ({
+ key: index,
+ label: faq.question,
+ children: (
+ <div>
+ <p>{faq.answer}</p>
+ {faq.question === t('faq.creditDeduction.question') && (
+ <div className={pricingStyles.pricingTableContainer}>
+ <h4>{t('faq.creditDeduction.pricingTable.title' as any)}</h4>
+ <div className={pricingStyles.pricingTableWrapper}>
+ <table className={pricingStyles.pricingTable}>
+ <thead>
+ <tr>
+ <th>{t('faq.creditDeduction.pricingTable.headers.model' as any)}</th>
+ <th>{t('faq.creditDeduction.pricingTable.headers.type' as any)}</th>
+ <th>{t('faq.creditDeduction.pricingTable.headers.duration' as any)}</th>
+ <th>{t('faq.creditDeduction.pricingTable.headers.resolution' as any)}</th>
+ <th>{t('faq.creditDeduction.pricingTable.headers.credits' as any)}</th>
+ <th>{t('faq.creditDeduction.pricingTable.headers.price' as any)}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {getPricingData().map((row: any, rowIndex: number) => (
+ <tr key={rowIndex}>
+ <td>{row.model}</td>
+ <td>{row.type}</td>
+ <td>{row.duration}</td>
+ <td>{row.resolution}</td>
+ <td>{row.credits}</td>
+ <td>{row.price}</td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ </div>
+ )}
+ </div>
+ )
+ }))}
+ />
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/profile/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/profile/page.tsx
index 04a94d94..21091b62 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/profile/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/profile/page.tsx
@@ -6,7 +6,10 @@ import { CrownOutlined, TrophyOutlined, GiftOutlined, StarOutlined, RocketOutlin
import { useRouter } from "next/navigation";
import { useUserStore } from "@/store/user";
import { getUserInfoApi, updateUserInfoApi, getPointsRecordsApi } from "@/api/apiReq";
-
+import { createPaymentOrderApi, PaymentType as VipPaymentType } from "@/api/vip";
+import { getOrderListApi, getOrderDetailApi, getSubscriptionListApi, refundOrderApi, unsubscribeApi } from "@/api/payment";
+import type { Order, OrderListParams, SubscriptionListParams, RefundParams, UnsubscribeParams } from "@/api/types/payment";
+import { OrderStatus, PaymentType } from "@/api/types/payment";
import styles from "./profile.module.css";
import { useTransClient } from "@/app/i18n/client";
@@ -15,13 +18,44 @@ const { Option } = Select;
export default function ProfilePage() {
const router = useRouter();
- const { userInfo, setUserInfo, clearLoginStatus, token } = useUserStore();
+ const { userInfo, setUserInfo, clearLoginStatus, token, lang } = useUserStore();
const { t } = useTransClient('profile');
const [loading, setLoading] = useState(true);
const [isModalOpen, setIsModalOpen] = useState(false);
const [form] = Form.useForm();
-
+ // 免费会员提示弹框状态
+ const [freeTrialModalVisible, setFreeTrialModalVisible] = useState(false);
+ const [hasShownFreeTrial, setHasShownFreeTrial] = useState(false);
+
+ // 检查是否已经显示过免费会员提示
+ useEffect(() => {
+ const hasShown = localStorage.getItem('freeTrialShown');
+ if (hasShown) {
+ setHasShownFreeTrial(true);
+ }
+ }, []);
+
+ // 订单相关状态
+ const [orders, setOrders] = useState<Order[]>([]);
+ const [subscriptions, setSubscriptions] = useState<Order[]>([]);
+ const [ordersLoading, setOrdersLoading] = useState(false);
+ const [subscriptionsLoading, setSubscriptionsLoading] = useState(false);
+ const [ordersPagination, setOrdersPagination] = useState({
+ current: 1,
+ pageSize: 10,
+ total: 0
+ });
+ const [subscriptionsPagination, setSubscriptionsPagination] = useState({
+ current: 1,
+ pageSize: 10,
+ total: 0
+ });
+
+ // 订单详情弹窗状态
+ const [orderDetailVisible, setOrderDetailVisible] = useState(false);
+ const [orderDetailLoading, setOrderDetailLoading] = useState(false);
+ const [currentOrderDetail, setCurrentOrderDetail] = useState<Order | null>(null);
// 积分记录相关状态
const [pointsRecords, setPointsRecords] = useState<any[]>([]);
@@ -32,6 +66,14 @@ export default function ProfilePage() {
total: 0
});
+ // 积分充值相关状态
+ const [pointsRechargeVisible, setPointsRechargeVisible] = useState(false);
+ const [rechargeAmount, setRechargeAmount] = useState(8);
+ const [rechargeForm] = Form.useForm();
+ const [isDragging, setIsDragging] = useState(false);
+ const [paymentOrderId, setPaymentOrderId] = useState<string | null>(null);
+ const [showPaymentSuccess, setShowPaymentSuccess] = useState(false);
+
// 积分记录类型定义
interface PointsRecord {
id: string;
@@ -44,7 +86,41 @@ export default function ProfilePage() {
createdAt?: string;
}
+ // 获取会员状态和过期时间
+ const isVip = userInfo?.vipInfo?.cycleType && userInfo.vipInfo.cycleType > 0 &&
+ userInfo?.vipInfo?.expireTime ? new Date(userInfo.vipInfo.expireTime) > new Date() : false;
+ const vipExpireTime = userInfo?.vipInfo?.expireTime ? new Date(userInfo.vipInfo.expireTime).toLocaleDateString() : '';
+
+ // 检查用户是否从未开过会员
+ const hasNeverBeenVip = !userInfo?.vipInfo || Object.keys(userInfo.vipInfo).length === 0;
+
+ // 获取会员类型显示文本
+ const getVipCycleTypeText = (cycleType: number) => {
+ switch (cycleType) {
+ case 0:
+ return t('nonMember');
+ case 1:
+ return t('monthlyMember');
+ case 2:
+ return t('yearlyMember');
+ default:
+ return t('unknown');
+ }
+ };
+
+ const vipCycleType = getVipCycleTypeText(userInfo?.vipInfo?.cycleType || 0);
+ // 会员权益数据
+ const vipBenefits = [
+ { icon: <CrownOutlined />, name: t('vipBenefits.exclusiveBadge') },
+ { icon: <TrophyOutlined />, name: t('vipBenefits.advancedFeatures') },
+ { icon: <GiftOutlined />, name: t('vipBenefits.memberGift') },
+ { icon: <StarOutlined />, name: t('vipBenefits.prioritySupport') },
+ { icon: <DollarOutlined />, name: t('vipBenefits.discount') },
+ { icon: <HistoryOutlined />, name: t('vipBenefits.unlimitedTime') },
+ { icon: <ThunderboltOutlined />, name: t('vipBenefits.fastExperience') },
+ { icon: <RocketOutlined />, name: t('vipBenefits.morePrivileges') },
+ ];
// 获取用户信息
const fetchUserInfo = async () => {
@@ -57,6 +133,16 @@ export default function ProfilePage() {
if (response.code === 0 && response.data) {
setUserInfo(response.data);
+
+ // 检查是否需要显示免费会员提示
+ const hasVipInfo = response.data.vipInfo && Object.keys(response.data.vipInfo).length > 0;
+ if (!hasVipInfo && !hasShownFreeTrial) {
+ // 延迟显示弹框,确保页面加载完成
+ setTimeout(() => {
+ setFreeTrialModalVisible(true);
+ setHasShownFreeTrial(true);
+ }, 2000); // 增加延迟时间,让用户先看到页面内容
+ }
} else {
message.error(response.message || t('getUserInfoFailed'));
}
@@ -67,7 +153,51 @@ export default function ProfilePage() {
}
};
+ // 获取订单列表
+ const fetchOrders = async (params: OrderListParams) => {
+ setOrdersLoading(true);
+ try {
+ const response = await getOrderListApi(params);
+ if (response?.code === 0 && response.data) {
+ const paginatedData = response.data;
+ setOrders(paginatedData.list);
+ setOrdersPagination({
+ current: params.page + 1, // API发送的是0开始的页码,UI显示需要加1
+ pageSize: params.size,
+ total: paginatedData.count
+ });
+ } else {
+ message.error(response?.message || t('getOrderListFailed'));
+ }
+ } catch (error) {
+ message.error(t('getOrderListFailed'));
+ } finally {
+ setOrdersLoading(false);
+ }
+ };
+ // 获取订阅列表
+ const fetchSubscriptions = async (params: SubscriptionListParams) => {
+ setSubscriptionsLoading(true);
+ try {
+ const response = await getSubscriptionListApi(params);
+ if (response?.code === 0 && response.data) {
+ const paginatedData = response.data;
+ setSubscriptions(paginatedData.list);
+ setSubscriptionsPagination({
+ current: params.page + 1, // API发送的是0开始的页码,UI显示需要加1
+ pageSize: params.size,
+ total: paginatedData.count
+ });
+ } else {
+ message.error(response?.message || t('getSubscriptionListFailed'));
+ }
+ } catch (error) {
+ message.error(t('getSubscriptionListFailed'));
+ } finally {
+ setSubscriptionsLoading(false);
+ }
+ };
// 获取积分记录
const fetchPointsRecords = async (params: { page: number; pageSize: number }) => {
@@ -92,7 +222,62 @@ export default function ProfilePage() {
}
};
+ // 处理退款
+ const handleRefund = async (order: Order) => {
+ try {
+ const params: RefundParams = {
+ charge: order.id,
+ payment_intent: order.payment_intent || order.id,
+ userId: userInfo?.id || ''
+ };
+ const response = await refundOrderApi(params);
+ if (response?.code === 0) {
+ message.success(t('refundSubmitted'));
+ fetchOrders({ page: ordersPagination.current - 1, size: ordersPagination.pageSize });
+ } else {
+ message.error(response?.message || t('refundFailed'));
+ }
+ } catch (error) {
+ message.error(t('refundFailed'));
+ }
+ };
+
+ // 处理退订
+ const handleUnsubscribe = async (order: Order) => {
+ try {
+ const params: UnsubscribeParams = {
+ id: order.id,
+ userId: userInfo?.id || ''
+ };
+ const response = await unsubscribeApi(params);
+ if (response?.code === 0) {
+ message.success(t('unsubscribeSuccess'));
+ fetchSubscriptions({ page: subscriptionsPagination.current - 1, size: subscriptionsPagination.pageSize });
+ } else {
+ message.error(response?.message || t('unsubscribeFailed'));
+ }
+ } catch (error) {
+ message.error(t('unsubscribeFailed'));
+ }
+ };
+ // 获取订单详情
+ const fetchOrderDetail = async (orderId: string) => {
+ setOrderDetailLoading(true);
+ try {
+ const response:any = await getOrderDetailApi(orderId);
+ if (response?.code === 0 && response.data) {
+ setCurrentOrderDetail(response.data[0]);
+ setOrderDetailVisible(true);
+ } else {
+ message.error(response?.message || t('getOrderDetailFailed'));
+ }
+ } catch (error) {
+ message.error(t('getOrderDetailFailed'));
+ } finally {
+ setOrderDetailLoading(false);
+ }
+ };
useEffect(() => {
if (!token) {
@@ -103,6 +288,14 @@ export default function ProfilePage() {
fetchUserInfo();
}, [token, router]);
+ // 清理滑块事件监听器
+ useEffect(() => {
+ return () => {
+ document.removeEventListener('mousemove', handleSliderMouseMove);
+ document.removeEventListener('mouseup', handleSliderMouseUp);
+ };
+ }, []);
+
const handleLogout = () => {
clearLoginStatus();
message.success(t('logoutSuccess'));
@@ -129,16 +322,319 @@ export default function ProfilePage() {
}
};
+ const handleGoToVipPage = () => {
+ router.push('/vip');
+ };
+
+ // 处理免费会员弹框
+ const handleFreeTrialModalOk = () => {
+ setFreeTrialModalVisible(false);
+ localStorage.setItem('freeTrialShown', 'true');
+ router.push('/vip');
+ };
+ const handleFreeTrialModalCancel = () => {
+ setFreeTrialModalVisible(false);
+ localStorage.setItem('freeTrialShown', 'true');
+ };
+
+ // 积分相关处理函数
+ const handleGoToPublish = () => {
+ router.push('/accounts');
+ // 这里可以添加唤起发布窗口的逻辑
+ };
+ const handleGoToVip = () => {
+ router.push('/vip');
+ };
+ const handleRechargePoints = () => {
+ setPointsRechargeVisible(true);
+ };
+ const handleRechargeSubmit = async (values: any) => {
+ try {
+ const response = await createPaymentOrderApi({
+ success_url: lang === 'zh-CN' ? "/zh-CN/profile" : "/en/profile",
+ mode: 'payment',
+ payment: VipPaymentType.POINTS,
+ quantity: rechargeAmount, // 购买几份1000积分的资源包
+ metadata: {
+ userId: userInfo?.id || ''
+ }
+ });
+
+ if (response?.code === 0 && response.data && typeof response.data === 'object' && 'url' in response.data) {
+ // 保存订单ID
+ if ('id' in response.data) {
+ setPaymentOrderId((response.data as any).id);
+ setShowPaymentSuccess(true);
+ }
+ // 跳转到支付页面
+ window.open((response.data as any).url, '_blank');
+ // setPointsRechargeVisible(false);
+ message.success(t('pointsPurchase.redirectingToPayment' as any));
+ } else {
+ message.error(response?.message || t('pointsPurchase.createOrderFailed' as any));
+ }
+ } catch (error) {
+ message.error(t('pointsPurchase.createOrderFailed' as any));
+ }
+ };
+ const handleRechargeCancel = () => {
+ setPointsRechargeVisible(false);
+ setPaymentOrderId(null);
+ setShowPaymentSuccess(false);
+ };
+ // 处理"我已支付"按钮点击
+ const handlePaymentSuccess = async () => {
+ if (!paymentOrderId) return;
+
+ try {
+ const response = await getOrderDetailApi(paymentOrderId);
+ if (response?.code === 0 && response.data) {
+ const order = Array.isArray(response.data) ? response.data[0] : response.data;
+ // 检查订单状态:1=支付成功,2=等待支付,3=退款成功,4=订单取消
+ if (order.status === 1) {
+ message.success(t('pointsPurchase.purchaseSuccess' as any));
+ setShowPaymentSuccess(false);
+ setPaymentOrderId(null);
+ setPointsRechargeVisible(false);
+ // 刷新用户信息
+ fetchUserInfo();
+ } else if (order.status === 2) {
+ message.warning(t('pointsPurchase.paymentPending' as any));
+ } else if (order.status === 3) {
+ message.warning(t('pointsPurchase.orderRefunded' as any));
+ setShowPaymentSuccess(false);
+ setPaymentOrderId(null);
+ } else if (order.status === 4) {
+ message.warning(t('pointsPurchase.orderCancelled' as any));
+ setShowPaymentSuccess(false);
+ setPaymentOrderId(null);
+ } else {
+ message.warning(t('pointsPurchase.orderUnknown' as any));
+ }
+ } else {
+ message.error(t('pointsPurchase.queryFailed' as any));
+ }
+ } catch (error) {
+ message.error(t('pointsPurchase.queryFailed' as any));
+ }
+ };
+ // 滑块拖动处理
+ const handleSliderMouseDown = (e: React.MouseEvent) => {
+ setIsDragging(true);
+ document.addEventListener('mousemove', handleSliderMouseMove);
+ document.addEventListener('mouseup', handleSliderMouseUp);
+ };
+ const handleSliderMouseMove = (e: MouseEvent) => {
+ if (!isDragging) return;
+
+ const sliderTrack = document.querySelector(`.${styles.sliderTrack}`) as HTMLElement;
+ if (!sliderTrack) return;
+
+ const rect = sliderTrack.getBoundingClientRect();
+ const x = e.clientX - rect.left;
+ const percentage = Math.max(0, Math.min(1, x / rect.width));
+ const newAmount = Math.round(percentage * 49) + 1; // 1-50,只能选择1000的倍数
+ setRechargeAmount(newAmount);
+ };
+ const handleSliderMouseUp = () => {
+ setIsDragging(false);
+ document.removeEventListener('mousemove', handleSliderMouseMove);
+ document.removeEventListener('mouseup', handleSliderMouseUp);
+ };
+ const handleSliderClick = (e: React.MouseEvent) => {
+ const sliderTrack = e.currentTarget as HTMLElement;
+ const rect = sliderTrack.getBoundingClientRect();
+ const x = e.clientX - rect.left;
+ const percentage = Math.max(0, Math.min(1, x / rect.width));
+ const newAmount = Math.round(percentage * 49) + 1; // 1-50
+ setRechargeAmount(newAmount);
+ };
+
+ // 订单状态标签
+ const getOrderStatusTag = (status: OrderStatus) => {
+ const statusMap = {
+ [OrderStatus.SUCCEEDED]: { color: 'green', text: t('paymentSuccess') },
+ [OrderStatus.CREATED]: { color: 'orange', text: t('waitingForPayment') },
+ [OrderStatus.REFUNDED]: { color: 'purple', text: t('refundSuccess') },
+ [OrderStatus.EXPIRED]: { color: 'red', text: t('orderCancelled') }
+ };
+ const config = statusMap[status] || { color: 'default', text: `状态${status}` };
+ return <Tag color={config.color}>{config.text}</Tag>;
+ };
+
+ // 获取套餐类型显示文本
+ const getPaymentTypeText = (paymentType: string) => {
+ const typeMap = {
+ [PaymentType.MONTH]: t('monthlySubscription'),
+ [PaymentType.YEAR]: t('yearlySubscription'),
+ [PaymentType.ONCE_MONTH]: t('oneTimeMonthly'),
+ [PaymentType.ONCE_YEAR]: t('oneTimeYearly')
+ };
+ return typeMap[paymentType as PaymentType] || paymentType || t('unknown');
+ };
+
+ // 订单表格列
+ const orderColumns = [
+ {
+ title: t('orderId'),
+ dataIndex: 'id',
+ key: 'id',
+ ellipsis: true,
+ width: 200,
+ },
+ {
+ title: t('packageType'),
+ dataIndex: 'metadata',
+ key: 'payment',
+ render: (metadata: any) => {
+ const paymentType = metadata?.payment;
+ return getPaymentTypeText(paymentType);
+ },
+ },
+ {
+ title: t('amount'),
+ dataIndex: 'amount',
+ key: 'amount',
+ render: (amount: number, record: Order) => {
+ const displayAmount = (amount / 100).toFixed(2); // Stripe金额通常以分为单位
+ const symbol = record.currency === 'usd' ? '$' : record.currency === 'cny' ? '¥' : record.currency?.toUpperCase();
+ return `${symbol}${displayAmount}`;
+ },
+ },
+ {
+ title: t('status'),
+ dataIndex: 'status',
+ key: 'status',
+ render: (status: OrderStatus) => getOrderStatusTag(status),
+ },
+ {
+ title: t('createTime'),
+ dataIndex: 'created',
+ key: 'created',
+ render: (timestamp: number) => new Date(timestamp * 1000).toLocaleString(),
+ },
+ {
+ title: t('expireTime'),
+ dataIndex: 'expires_at',
+ key: 'expires_at',
+ render: (timestamp: number) => new Date(timestamp * 1000).toLocaleString(),
+ },
+ {
+ title: t('actions'),
+ key: 'action',
+ render: (_: any, record: Order) => (
+ <Space>
+ <Button
+ type="link"
+ size="small"
+ onClick={(e) => {
+ e.stopPropagation(); // 阻止行点击事件
+ fetchOrderDetail(record.id);
+ }}
+ >
+ {t('viewDetails')}
+ </Button>
+
+ {record.url && record.status === OrderStatus.CREATED && (
+ <Button
+ type="link"
+ size="small"
+ onClick={(e) => {
+ e.stopPropagation(); // 阻止行点击事件
+ window.open(record.url, '_blank');
+ }}
+ >
+ {t('goToPay')}
+ </Button>
+ )}
+ </Space>
+ ),
+ },
+ ];
+
+ // 订阅表格列
+ const subscriptionColumns = [
+ {
+ title: t('subscriptionId'),
+ dataIndex: 'id',
+ key: 'id',
+ ellipsis: true,
+ },
+ {
+ title: t('packageType'),
+ dataIndex: 'metadata',
+ key: 'payment',
+ render: (metadata: any) => {
+ const paymentType = metadata?.payment;
+ return getPaymentTypeText(paymentType);
+ },
+ },
+ // {
+ // title: '金额',
+ // dataIndex: 'amount',
+ // key: 'amount',
+ // render: (amount: number, record: Order) => {
+ // const displayAmount = (amount / 100).toFixed(2); // Stripe金额通常以分为单位
+ // const symbol = record.currency === 'usd' ? '$' : record.currency === 'cny' ? '¥' : record.currency?.toUpperCase();
+ // return `${symbol}${displayAmount}`;
+ // },
+ // },
+ {
+ title: t('status'),
+ dataIndex: 'status',
+ key: 'status',
+ render: (status: OrderStatus) => {
+ const statusMap = {
+ 1: { color: 'green', text: t('subscriptionSuccess') },
+ 2: { color: 'red', text: t('subscriptionCancelled') },
+ 3: { color: 'purple', text: t('refundSuccess') },
+ 4: { color: 'orange', text: t('orderCancelled') }
+ };
+ const config = statusMap[status] || { color: 'default', text: `状态${status}` };
+ return <Tag color={config.color}>{config.text}</Tag>;
+ },
+ },
+ {
+ title: t('createTime'),
+ dataIndex: 'created',
+ key: 'created',
+ render: (timestamp: number) => new Date(timestamp * 1000).toLocaleString(),
+ },
+ // {
+ // title: '过期时间',
+ // dataIndex: 'expires_at',
+ // key: 'expires_at',
+ // render: (timestamp: number) => new Date(timestamp * 1000).toLocaleString(),
+ // },
+ {
+ title: t('actions'),
+ key: 'action',
+ render: (_: any, record: Order) => (
+ <Space>
+ {record.status === 1 && (
+ <Popconfirm
+ title={t('cancelSubscriptionConfirm')}
+ onConfirm={() => handleUnsubscribe(record)}
+ okText={t('confirm')}
+ cancelText={t('cancel')}
+ >
+ <Button type="link" danger size="small">{t('cancelSubscription')}</Button>
+ </Popconfirm>
+ )}
+ </Space>
+ ),
+ },
+ ];
// 积分记录表格列
const pointsColumns = [
@@ -168,12 +664,14 @@ export default function ProfilePage() {
key: 'type',
render: (type: string) => {
const typeMap: { [key: string]: { color: string; text: string } } = {
- 'ai_service': { color: 'green', text: t('points.aiService') },
- 'user_register': { color: 'blue', text: t('points.userRegister') },
- 'earn': { color: 'green', text: t('points.earn') },
- 'spend': { color: 'red', text: t('points.spend') },
- 'refund': { color: 'blue', text: t('points.refund') },
- 'expire': { color: 'orange', text: t('points.expire') }
+ 'ai_service': { color: 'green', text: t('points.aiService' as any) },
+ 'user_register': { color: 'blue', text: t('points.userRegister' as any) },
+ 'publish': { color: 'purple', text: t('points.publish' as any) },
+ 'point': { color: 'cyan', text: t('points.point' as any) },
+ 'earn': { color: 'green', text: t('points.earn' as any) },
+ 'spend': { color: 'red', text: t('points.spend' as any) },
+ 'refund': { color: 'blue', text: t('points.refund' as any) },
+ 'expire': { color: 'orange', text: t('points.expire' as any) }
};
const config = typeMap[type] || { color: 'default', text: type };
return <Tag color={config.color}>{config.text}</Tag>;
@@ -190,9 +688,134 @@ export default function ProfilePage() {
// 个人信息内容
const renderProfileContent = () => (
<>
+
+<div className={styles.vipCard}>
+ <div className={styles.vipContent}>
+ <div className={styles.vipHeader}>
+ <span className={styles.vipIcon}><CrownOutlined /></span>
+ <h2 className={styles.vipTitle}>{t('plusMember')}</h2>
+ </div>
+ {isVip ? (<p className={styles.vipDescription}>
+ {t('vipUserGreeting')}
+ </p>
+ ) : (
+ <p className={styles.vipDescription}>
+ {t('vipDescription')}
+ </p>
+ )}
+ <div className={styles.benefitsGrid}>
+ {vipBenefits.map((benefit, index) => (
+ <div key={index} className={styles.benefitItem}>
+ <div className={styles.benefitIcon}>{benefit.icon}</div>
+ <p className={styles.benefitName}>{benefit.name}</p>
+ </div>
+ ))}
+ </div>
+ {isVip ? (
+ <div className={styles.vipInfo}>
+ </div>
+ ) : (
+ <button className={styles.activateButton} onClick={handleGoToVipPage}>
+ {t('activateNow')}
+ </button>
+ )}
+ </div>
+ </div>
+
+
+ {/* 积分显示卡片 */}
+ <div className={styles.pointsCard}>
+ <div className={styles.pointsContent}>
+ <div className={styles.pointsHeader}>
+ <div className={styles.pointsTitleSection}>
+ <span className={styles.pointsIcon}><GiftFilled /></span>
+ <span className={styles.pointsTitle}>{t('points.myPoints')}</span>
+ </div>
+ <span className={styles.pointsCount}>{userInfo?.score || 0}</span>
+ </div>
+ <p className={styles.pointsDescription}>
+ {t('points.pointsDescription')}
+ </p>
+
+ <div className={styles.pointsMethods}>
+ <h4 className={styles.methodsTitle}>{t('pointsPurchase.getPointsMethods' as any)}</h4>
+ <div className={styles.methodsGrid}>
+ <div className={styles.methodItem} onClick={handleGoToPublish}>
+ <div className={styles.methodIcon}>
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
+ </svg>
+ </div>
+ <div className={styles.methodContent}>
+ <h5>{t('pointsPurchase.publish' as any)}</h5>
+ <p>{t('pointsPurchase.publishDesc' as any)}</p>
+ </div>
+ </div>
+
+ <div className={styles.methodItem} onClick={handleGoToVip}>
+ <div className={styles.methodIcon}>
+ <CrownOutlined />
+ </div>
+ <div className={styles.methodContent}>
+ <h5>{t('pointsPurchase.vip' as any)}</h5>
+ <p>{t('pointsPurchase.vipDesc' as any)}</p>
+ </div>
+ </div>
+
+ <div className={styles.methodItem} onClick={handleRechargePoints}>
+ <div className={styles.methodIcon}>
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
+ </svg>
+ </div>
+ <div className={styles.methodContent}>
+ <h5>{t('pointsPurchase.buyPoints' as any)}</h5>
+ <p>{t('pointsPurchase.buyPointsDesc' as any)}</p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ {/* 余额显示卡片 */}
+ <div className={styles.incomeCard}>
+ <div className={styles.incomeContent}>
+ <div className={styles.incomeHeader}>
+ <div className={styles.incomeTitleSection}>
+ <span className={styles.incomeIcon}>
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 10.9 13 11.5 13 12h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/>
+ </svg>
+ </span>
+ <span className={styles.incomeTitle}>我的余额</span>
+ </div>
+ <span className={styles.incomeCount}>CNY {userInfo?.income || 0}</span>
+ </div>
+ <div style={{ textAlign: 'right', marginTop: '4px', fontSize: '12px', color: '#999' }}>累计收益:CNY {(userInfo as any)?.totalIncome ?? 0}</div>
+ <p className={styles.incomeDescription}>
+ 通过完成任务获得的收入余额
+ </p>
+
+ <div className={styles.incomeActions}>
+ <button
+ className={styles.incomeButton}
+ onClick={() => router.push('/income')}
+ >
+ <span className={styles.buttonIcon}>
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/>
+ </svg>
+ </span>
+ <span>查看详情</span>
+ </button>
+ </div>
+ </div>
+ </div>
+
<Card
title={t('personalInfo')}
- className={styles.card}
+ className={`${styles.card} ${styles.personalInfoCard}`}
extra={
<div className={styles.actions}>
<Button type="primary" onClick={() => setIsModalOpen(true)}>
@@ -212,13 +835,90 @@ export default function ProfilePage() {
{userInfo?.status === 1 ? t('normal') : t('disabled')}
</Descriptions.Item>
<Descriptions.Item label='邀请码'>{userInfo?.popularizeCode}</Descriptions.Item>
- <Descriptions.Item label='我的积分'>{userInfo?.score}</Descriptions.Item>
+ {isVip && (
+ <>
+ <Descriptions.Item label={t('memberType')}>{vipCycleType}</Descriptions.Item>
+ <Descriptions.Item label={t('memberExpireTime')}>{vipExpireTime}</Descriptions.Item>
+ </>
+ )}
</Descriptions>
</Card>
+
+ {!isVip && (
+ <div className={styles.normalUserCallToAction}>
+ <p>{t('upgradeCallToAction')}</p>
+ <button className={styles.activateButton} onClick={handleGoToVipPage}>
+ {t('activatePlusMember')}
+ </button>
+ </div>
+ )}
</>
);
-
+ // 订单管理内容
+ const renderOrderContent = () => (
+ <div className={styles.orderContent}>
+ <Tabs defaultActiveKey="orders">
+ <TabPane tab={t('myOrders')} key="orders">
+ <Card>
+ <Table
+ columns={orderColumns}
+ dataSource={orders}
+ loading={ordersLoading}
+ rowKey="_id"
+ onRow={(record) => ({
+ onClick: () => {
+ fetchOrderDetail(record.id);
+ },
+ style: { cursor: 'pointer' }
+ })}
+ pagination={{
+ current: ordersPagination.current,
+ pageSize: ordersPagination.pageSize,
+ total: ordersPagination.total,
+ onChange: (page, size) => {
+ fetchOrders({ page: page - 1, size: size || 10 });
+ },
+ showSizeChanger: true,
+ showQuickJumper: true,
+ showTotal: (total) => t('totalRecords', { total }),
+ pageSizeOptions: ['10', '20', '50'],
+ }}
+ scroll={{ x: 1200 }} // 添加横向滚动以适应更多列
+ locale={{
+ emptyText: ordersLoading ? t('loading') : t('noOrderRecords')
+ }}
+ />
+ </Card>
+ </TabPane>
+ <TabPane tab={t('mySubscriptions')} key="subscriptions">
+ <Card>
+ <Table
+ columns={subscriptionColumns}
+ dataSource={subscriptions}
+ loading={subscriptionsLoading}
+ rowKey="id"
+ pagination={{
+ current: subscriptionsPagination.current,
+ pageSize: subscriptionsPagination.pageSize,
+ total: subscriptionsPagination.total,
+ onChange: (page, size) => {
+ fetchSubscriptions({ page: page - 1, size: size || 10 });
+ },
+ showSizeChanger: true,
+ showQuickJumper: true,
+ showTotal: (total) => t('totalRecords', { total }),
+ pageSizeOptions: ['10', '20', '50'],
+ }}
+ locale={{
+ emptyText: subscriptionsLoading ? t('loading') : t('noSubscriptionRecords')
+ }}
+ />
+ </Card>
+ </TabPane>
+ </Tabs>
+ </div>
+ );
// 积分记录内容
const renderPointsContent = () => (
@@ -260,7 +960,10 @@ export default function ProfilePage() {
defaultActiveKey="profile"
size="large"
onChange={(key) => {
- if (key === 'points') {
+ if (key === 'orders') {
+ fetchOrders({ page: 0, size: 10 });
+ fetchSubscriptions({ page: 0, size: 10 });
+ } else if (key === 'points') {
fetchPointsRecords({ page: 1, pageSize: 10 });
}
}}
@@ -276,7 +979,17 @@ export default function ProfilePage() {
>
{renderProfileContent()}
</TabPane>
-
+ <TabPane
+ tab={
+ <span>
+ <ShoppingCartOutlined />
+ {t('orderManagement')}
+ </span>
+ }
+ key="orders"
+ >
+ {renderOrderContent()}
+ </TabPane>
<TabPane
tab={
<span>
@@ -321,8 +1034,249 @@ export default function ProfilePage() {
</Form>
</Modal>
+ {/* 订单详情弹窗 */}
+ <Modal
+ title={t('orderDetails')}
+ open={orderDetailVisible}
+ onCancel={() => setOrderDetailVisible(false)}
+ className={styles.orderDetailModal}
+ footer={[
+ <Button key="close" onClick={() => setOrderDetailVisible(false)}>
+ {t('close')}
+ </Button>,
+ currentOrderDetail?.url && currentOrderDetail?.status === OrderStatus.CREATED && (
+ <Button
+ key="pay"
+ type="primary"
+ onClick={() => {
+ if (currentOrderDetail?.url) {
+ window.open(currentOrderDetail.url, '_blank');
+ }
+ }}
+ >
+ {t('goToPayment')}
+ </Button>
+ )
+ ]}
+ width={600}
+ loading={orderDetailLoading}
+ >
+ {currentOrderDetail && (
+ <Descriptions bordered column={1} size="small">
+ <Descriptions.Item label={t('orderId')}>{currentOrderDetail.id}</Descriptions.Item>
+ <Descriptions.Item label={t('internalId')}>{currentOrderDetail._id}</Descriptions.Item>
+ <Descriptions.Item label={t('packageType')}>
+ {getPaymentTypeText(currentOrderDetail.metadata?.payment)}
+ </Descriptions.Item>
+ <Descriptions.Item label={t('subscriptionMode')}>{currentOrderDetail.mode}</Descriptions.Item>
+ <Descriptions.Item label={t('amount')}>
+ {(() => {
+ const displayAmount = (currentOrderDetail.amount / 100).toFixed(2);
+ const symbol = currentOrderDetail.currency === 'usd' ? '$' :
+ currentOrderDetail.currency === 'cny' ? '¥' :
+ currentOrderDetail.currency?.toUpperCase();
+ return `${symbol}${displayAmount}`;
+ })()}
+ </Descriptions.Item>
+ <Descriptions.Item label={t('refundedAmount')}>
+ {(() => {
+ const displayAmount = (currentOrderDetail.amount_refunded / 100).toFixed(2);
+ const symbol = currentOrderDetail.currency === 'usd' ? '$' :
+ currentOrderDetail.currency === 'cny' ? '¥' :
+ currentOrderDetail.currency?.toUpperCase();
+ return `${symbol}${displayAmount}`;
+ })()}
+ </Descriptions.Item>
+ <Descriptions.Item label={t('status')}>
+ {getOrderStatusTag(currentOrderDetail.status)}
+ </Descriptions.Item>
+ <Descriptions.Item label={t('createTime')}>
+ {new Date(currentOrderDetail.created * 1000).toLocaleString()}
+ </Descriptions.Item>
+ <Descriptions.Item label={t('expireTime')}>
+ {new Date(currentOrderDetail.expires_at * 1000).toLocaleString()}
+ </Descriptions.Item>
+ <Descriptions.Item label={t('userId')}>{currentOrderDetail.userId}</Descriptions.Item>
+ <Descriptions.Item label="价格ID">{currentOrderDetail.price}</Descriptions.Item>
+ {currentOrderDetail.payment_intent && (
+ <Descriptions.Item label={t('paymentIntent')}>{currentOrderDetail.payment_intent}</Descriptions.Item>
+ )}
+ {currentOrderDetail.subscription && (
+ <Descriptions.Item label={t('subscriptionId')}>{currentOrderDetail.subscription}</Descriptions.Item>
+ )}
+ {/* <Descriptions.Item label="成功页面">{currentOrderDetail.success_url}</Descriptions.Item> */}
+ {currentOrderDetail.url && (
+ <Descriptions.Item label={t('paymentLink')}>
+ <Button
+ type="link"
+ size="small"
+ onClick={() => window.open(currentOrderDetail.url, '_blank')}
+ >
+ {t('openPaymentPage')}
+ </Button>
+ </Descriptions.Item>
+ )}
+ </Descriptions>
+ )}
+ </Modal>
+ {/* 免费会员提示弹框 */}
+ <Modal
+ title={
+ <div style={{ textAlign: 'center', fontSize: '18px', fontWeight: 'bold', color: '#C026D2' }}>
+ {t('freeTrial.title')}
+ </div>
+ }
+ open={freeTrialModalVisible}
+ onOk={handleFreeTrialModalOk}
+ onCancel={handleFreeTrialModalCancel}
+ okText={t('freeTrial.claimNow')}
+ cancelText={t('freeTrial.later')}
+ okButtonProps={{
+ style: {
+ backgroundColor: '#C026D2',
+ borderColor: '#C026D2',
+ borderRadius: '8px',
+ fontWeight: '600'
+ }
+ }}
+ cancelButtonProps={{
+ style: {
+ borderRadius: '8px',
+ fontWeight: '600'
+ }
+ }}
+ width={500}
+ centered
+ maskClosable={false}
+ closable={false}
+ >
+ <div style={{ textAlign: 'center', padding: '20px 0' }}>
+ <div style={{ fontSize: '48px', marginBottom: '16px' }}>👑</div>
+ <h3 style={{ color: '#1f2937', marginBottom: '12px', fontSize: '16px' }}>
+ {t('freeTrial.congratulations')}
+ </h3>
+ <p style={{ color: '#6b7280', lineHeight: '1.6', marginBottom: '20px' }}>
+ {t('freeTrial.description')}
+ </p>
+ <div style={{
+ background: '#f8fafc',
+ borderRadius: '12px',
+ padding: '16px',
+ marginBottom: '20px',
+ border: '1px solid #e2e8f0'
+ }}>
+ <div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '8px' }}>
+ <span style={{ color: '#374151', fontSize: '14px' }}>{t('freeTrial.unlimitedAI')}</span>
+ <span style={{ color: '#374151', fontSize: '14px' }}>{t('freeTrial.priorityProcessing')}</span>
+ </div>
+ <div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '8px' }}>
+ <span style={{ color: '#374151', fontSize: '14px' }}>{t('freeTrial.advancedModels')}</span>
+ <span style={{ color: '#374151', fontSize: '14px' }}>{t('freeTrial.dedicatedSupport')}</span>
+ </div>
+ <div style={{ display: 'flex', justifyContent: 'space-between' }}>
+ <span style={{ color: '#374151', fontSize: '14px' }}>{t('freeTrial.noAds')}</span>
+ <span style={{ color: '#374151', fontSize: '14px' }}>{t('freeTrial.morePrivileges')}</span>
+ </div>
+ </div>
+ <p style={{ color: '#C026D2', fontSize: '14px', fontWeight: '600' }}>
+ {t('freeTrial.completelyFree')}
+ </p>
+ </div>
+ </Modal>
+ {/* 积分充值弹窗 */}
+ <Modal
+ title={t('pointsPurchase.title' as any)}
+ open={pointsRechargeVisible}
+ onCancel={handleRechargeCancel}
+ footer={null}
+ width={500}
+ centered
+ maskClosable={false}
+ closable={true}
+ >
+ <div className={styles.rechargeContent}>
+ <div className={styles.currentPoints}>
+ <span className={styles.pointsLabel}>{t('pointsPurchase.currentPoints' as any)}</span>
+ <span className={styles.pointsValue}>{userInfo?.score || 0}</span>
+ </div>
+
+ <div className={styles.rechargeSection}>
+ <h4>{t('pointsPurchase.selectAmount' as any)}</h4>
+ <p className={styles.rechargeDescription}>{t('pointsPurchase.description' as any)}</p>
+
+ <div className={styles.sliderContainer}>
+ <div
+ className={styles.sliderTrack}
+ onClick={handleSliderClick}
+ >
+ <div
+ className={styles.sliderHandle}
+ style={{ left: `${(rechargeAmount / 50) * 100}%` }}
+ onMouseDown={handleSliderMouseDown}
+ />
+ </div>
+ <div className={styles.sliderLabels}>
+ <span>1K</span>
+ <span>50K</span>
+ </div>
+ </div>
+
+ <div className={styles.amountInput}>
+ <Input
+ type="number"
+ value={rechargeAmount}
+ onChange={(e) => {
+ const value = Number(e.target.value);
+ if (value >= 1 && value <= 50) {
+ setRechargeAmount(value);
+ }
+ }}
+ min={1}
+ max={50}
+ style={{ width: '80px', marginRight: '8px' }}
+ />
+ <span>*1000积分</span>
+ </div>
+
+ <div className={styles.totalPrice}>
+ <span>{t('pointsPurchase.purchasePoints' as any)}:</span>
+ <span className={styles.priceValue}>{rechargeAmount * 1000}</span>
+ </div>
+
+ <div className={styles.totalPrice}>
+ <span>{t('pointsPurchase.totalPrice' as any)}:</span>
+ <span className={styles.priceValue}>${(rechargeAmount * 15).toFixed(2)}</span>
+ </div>
+ </div>
+
+ <Button
+ type="primary"
+ size="large"
+ block
+ onClick={() => handleRechargeSubmit({ amount: rechargeAmount })}
+ className={styles.rechargeButton}
+ disabled={showPaymentSuccess}
+ >
+ {showPaymentSuccess ? t('pointsPurchase.paying' as any) : t('pointsPurchase.buyNow' as any)}
+ </Button>
+
+ {/* 支付成功提示 */}
+ {showPaymentSuccess && (
+ <div className={styles.paymentSuccessTip}>
+ <p>{t('pointsPurchase.paymentTip' as any)}</p>
+ <Button
+ type="primary"
+ onClick={handlePaymentSuccess}
+ className={styles.paymentSuccessButton}
+ >
+ {t('pointsPurchase.confirmPayment' as any)}
+ </Button>
+ </div>
+ )}
+ </div>
+ </Modal>
</div>
);
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/profile/profile.module.css b/aitoearn_web/aitoearn-web/src/app/[lng]/profile/profile.module.css
index ff6e23d2..e5c52913 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/profile/profile.module.css
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/profile/profile.module.css
@@ -3,27 +3,120 @@
}
.card {
- margin-bottom: 16px;
- border-radius: 8px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
+ margin-bottom: 20px;
+ border-radius: 12px;
+ box-shadow: 0 4px 16px rgba(43, 47, 54, 0.1);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
+ overflow: hidden;
+ position: relative;
+}
+
+.card::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 3px;
+ background: linear-gradient(135deg, #fce2a9 0%, #ffd700 100%);
}
.actions {
display: flex;
- gap: 8px;
+ gap: 12px;
+}
+
+/* 个人信息卡片特殊样式 */
+.personalInfoCard {
+ background: linear-gradient(135deg, #2B2F36 0%, #4E4C4D 100%);
+ color: #fff;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: 0 4px 16px rgba(43, 47, 54, 0.2);
+}
+
+.personalInfoCard::before {
+ background: linear-gradient(135deg, #fce2a9 0%, #ffd700 100%);
+}
+
+.personalInfoCard .ant-card-head {
+ background: rgba(255, 255, 255, 0.08);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(8px);
+}
+
+.personalInfoCard .ant-card-head-title {
+ color: #fce2a9;
+ font-size: 18px;
+ font-weight: 600;
+ background: linear-gradient(135deg, #fce2a9, #ffd700);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.personalInfoCard .ant-card-body {
+ background: rgba(255, 255, 255, 0.05);
+ backdrop-filter: blur(8px);
+}
+
+.personalInfoCard .ant-descriptions-bordered .ant-descriptions-item-label {
+ background: rgba(252, 226, 169, 0.1);
+ color: #fce2a9;
+ font-weight: 600;
+ border-color: rgba(255, 255, 255, 0.1);
+}
+
+.personalInfoCard .ant-descriptions-bordered .ant-descriptions-item-content {
+ background: rgba(255, 255, 255, 0.08);
+ color: rgba(255, 255, 255, 0.9);
+ border-color: rgba(255, 255, 255, 0.1);
+}
+
+.personalInfoCard .ant-btn {
+ border-radius: 8px;
+ font-weight: 600;
+ transition: all 0.3s ease;
+ position: relative;
+ overflow: hidden;
+}
+
+.personalInfoCard .ant-btn-primary {
+ background: linear-gradient(135deg, #6a5acd 0%, #a64dd8 100%);
+ border: none;
+ box-shadow: 0 2px 8px rgba(106, 90, 205, 0.3);
+}
+
+.personalInfoCard .ant-btn-primary:hover {
+ background: linear-gradient(135deg, #7b68ee 0%, #b76dd9 100%);
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(106, 90, 205, 0.4);
+}
+
+.personalInfoCard .ant-btn-dangerous {
+ background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
+ border: none;
+ box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
+}
+
+.personalInfoCard .ant-btn-dangerous:hover {
+ background: linear-gradient(135deg, #ff7875 0%, #ffa39e 100%);
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(255, 77, 79, 0.4);
}
/* 会员卡片样式 */
.vipCard {
background: url('/assets/images/vipcard.png') no-repeat center center;
background-size: cover;
- border-radius: 8px;
- padding: 16px;
- margin-bottom: 16px;
+ border-radius: 12px;
+ padding: 20px;
+ margin-bottom: 20px;
color: #fff;
position: relative;
overflow: hidden;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+ box-shadow: 0 4px 16px rgba(43, 47, 54, 0.2);
+ border: 1px solid rgba(255, 255, 255, 0.1);
}
.vipCard::before {
@@ -33,9 +126,9 @@
left: 0;
right: 0;
bottom: 0;
- background: linear-gradient(to right, #2B2F36, #4E4C4D);
+ background: linear-gradient(135deg, #2B2F36 0%, #4E4C4D 100%);
z-index: 0;
- border-radius: 8px;
+ border-radius: 12px;
}
.vipContent {
@@ -53,27 +146,33 @@
}
.vipIcon {
- width: 24px;
- height: 24px;
- margin-right: 6px;
- background-color: rgba(255, 255, 255, 0.2);
+ width: 32px;
+ height: 32px;
+ margin-right: 8px;
+ background-color: rgba(252, 226, 169, 0.15);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
- font-size: 16px;
+ font-size: 18px;
+ color: #fce2a9;
}
.vipTitle {
- font-size: 18px;
- font-weight: bold;
- color: #fce2a9; /* 金色 */
+ font-size: 20px;
+ font-weight: 600;
+ color: #fce2a9;
+ background: linear-gradient(135deg, #fce2a9, #ffd700);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
}
.vipDescription {
- font-size: 12px;
+ font-size: 13px;
color: rgba(255, 255, 255, 0.8);
- margin-bottom: 16px;
+ margin-bottom: 18px;
+ line-height: 1.4;
}
.benefitsGrid {
@@ -81,45 +180,112 @@
grid-template-columns: repeat(4, 1fr);
gap: 12px;
margin-bottom: 20px;
+ background: rgba(255, 255, 255, 0.08);
+ border-radius: 10px;
+ padding: 16px;
+ backdrop-filter: blur(8px);
+ border: 1px solid rgba(255, 255, 255, 0.1);
}
.benefitItem {
text-align: center;
+ transition: all 0.3s ease;
+}
+
+.benefitItem:hover {
+ transform: translateY(-2px);
}
.benefitIcon {
width: 36px;
height: 36px;
- background-color: rgba(255, 255, 255, 0.15);
- border-radius: 6px;
- margin: 0 auto 6px auto;
+ background-color: rgba(252, 226, 169, 0.15);
+ border-radius: 8px;
+ margin: 0 auto 8px auto;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
+ color: #fce2a9;
+ transition: all 0.3s ease;
+}
+
+.benefitItem:hover .benefitIcon {
+ background-color: rgba(252, 226, 169, 0.25);
+ transform: scale(1.1);
}
.benefitName {
font-size: 11px;
- color: rgba(255, 255, 255, 0.9);
+ color: #fce2a9;
+ font-weight: 500;
+ line-height: 1.3;
}
.activateButton {
- background: linear-gradient(to right, #6a5acd, #a64dd8); /* 紫色渐变 */
- border: none;
- color: white;
- padding: 8px 16px;
- border-radius: 6px;
- font-size: 14px;
- font-weight: bold;
+ background: linear-gradient(135deg, #fce2a9 0%, #ffd700 100%);
+ border: 2px solid rgba(252, 226, 169, 0.3);
+ color: #2B2F36;
+ padding: 14px 24px;
+ border-radius: 12px;
+ font-size: 15px;
+ font-weight: 700;
cursor: pointer;
width: 100%;
- transition: all 0.3s ease;
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
+ position: relative;
+ overflow: hidden;
+ box-shadow: 0 4px 16px rgba(252, 226, 169, 0.3);
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+}
- &:hover {
- opacity: 0.9;
- transform: translateY(-1px);
- }
+.activateButton::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: -100%;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
+ transition: left 0.6s ease;
+}
+
+.activateButton::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
+ opacity: 0;
+ transition: opacity 0.3s ease;
+}
+
+.activateButton:hover::before {
+ left: 100%;
+}
+
+.activateButton:hover::after {
+ opacity: 1;
+}
+
+.activateButton:hover {
+ background: linear-gradient(135deg, #ffd700 0%, #fce2a9 100%);
+ transform: translateY(-3px) scale(1.02);
+ box-shadow: 0 8px 25px rgba(252, 226, 169, 0.5);
+ border-color: rgba(252, 226, 169, 0.6);
+}
+
+.activateButton:active {
+ transform: translateY(-1px) scale(0.98);
+ box-shadow: 0 4px 12px rgba(252, 226, 169, 0.4);
+}
+
+.activateButton:focus {
+ outline: none;
+ box-shadow: 0 0 0 3px rgba(252, 226, 169, 0.3), 0 4px 16px rgba(252, 226, 169, 0.3);
}
.normalUserCallToAction {
@@ -136,16 +302,17 @@
margin-bottom: 12px;
}
-/* 积分记录卡片样式 */
+/* 积分卡片样式 */
.pointsCard {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- border-radius: 8px;
- padding: 16px;
- margin-bottom: 16px;
+ background: linear-gradient(135deg, #2B2F36 0%, #4E4C4D 100%);
+ border-radius: 12px;
+ padding: 20px;
+ margin-bottom: 20px;
color: #fff;
+ box-shadow: 0 4px 16px rgba(43, 47, 54, 0.2);
position: relative;
overflow: hidden;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+ border: 1px solid rgba(255, 255, 255, 0.1);
}
.pointsCard::before {
@@ -155,9 +322,13 @@
left: 0;
right: 0;
bottom: 0;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- z-index: 0;
- border-radius: 8px;
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
+ animation: shimmer 3s ease-in-out infinite;
+}
+
+@keyframes shimmer {
+ 0%, 100% { transform: translateX(-100%); }
+ 50% { transform: translateX(100%); }
}
.pointsContent {
@@ -167,27 +338,140 @@
.pointsHeader {
display: flex;
- align-items: center;
justify-content: space-between;
+ align-items: center;
margin-bottom: 12px;
}
+.pointsTitleSection {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+}
+
+.pointsIcon {
+ font-size: 20px;
+ color: #fce2a9;
+ background: rgba(252, 226, 169, 0.1);
+ border-radius: 50%;
+ width: 32px;
+ height: 32px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
.pointsTitle {
- font-size: 16px;
- font-weight: bold;
- color: #fff;
+ font-size: 18px;
+ font-weight: 600;
+ color: #fce2a9;
}
.pointsCount {
- font-size: 20px;
+ font-size: 28px;
font-weight: bold;
color: #fce2a9;
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
+ background: linear-gradient(135deg, #fce2a9, #ffd700);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
}
.pointsDescription {
- font-size: 12px;
+ font-size: 13px;
color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 18px;
+ line-height: 1.4;
+}
+
+.pointsMethods {
+ background: rgba(255, 255, 255, 0.08);
+ border-radius: 10px;
+ padding: 16px;
+ backdrop-filter: blur(8px);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+}
+
+.methodsTitle {
+ font-size: 14px;
+ font-weight: 600;
+ color: #fce2a9;
margin-bottom: 12px;
+ margin-top: 0;
+}
+
+.methodsGrid {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 12px;
+}
+
+.methodItem {
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 10px;
+ padding: 12px;
+ text-align: center;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ position: relative;
+ overflow: hidden;
+}
+
+.methodItem::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: -100%;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
+ transition: left 0.5s;
+}
+
+.methodItem:hover::before {
+ left: 100%;
+}
+
+.methodItem:hover {
+ background: rgba(255, 255, 255, 0.15);
+ transform: translateY(-1px);
+ box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
+ border-color: rgba(252, 226, 169, 0.3);
+}
+
+.methodIcon {
+ width: 32px;
+ height: 32px;
+ background: rgba(252, 226, 169, 0.15);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin: 0 auto 8px auto;
+ font-size: 16px;
+ color: #fce2a9;
+ transition: all 0.3s ease;
+}
+
+.methodItem:hover .methodIcon {
+ background: rgba(252, 226, 169, 0.25);
+ transform: scale(1.1);
+}
+
+.methodContent h5 {
+ font-size: 13px;
+ font-weight: 600;
+ color: #fce2a9;
+ margin: 0 0 3px 0;
+}
+
+.methodContent p {
+ font-size: 11px;
+ color: rgba(255, 255, 255, 0.7);
+ margin: 0;
+ line-height: 1.3;
}
/* 订单管理样式 */
@@ -345,15 +629,411 @@
padding: 12px;
}
+ .personalInfoCard .ant-card-head-title {
+ font-size: 16px;
+ }
+
+ .personalInfoCard .ant-descriptions-bordered .ant-descriptions-item-label,
+ .personalInfoCard .ant-descriptions-bordered .ant-descriptions-item-content {
+ font-size: 12px;
+ padding: 8px 12px;
+ }
+
+ .personalInfoCard .ant-btn {
+ font-size: 12px;
+ padding: 4px 12px;
+ height: 32px;
+ }
+
.vipTitle {
+ font-size: 18px;
+ }
+
+ .vipIcon {
+ width: 28px;
+ height: 28px;
font-size: 16px;
}
- .pointsTitle {
+ .benefitsGrid {
+ padding: 12px;
+ gap: 8px;
+ }
+
+ .benefitIcon {
+ width: 32px;
+ height: 32px;
+ font-size: 16px;
+ }
+
+ .benefitName {
+ font-size: 10px;
+ }
+
+ .activateButton {
+ padding: 12px 20px;
font-size: 14px;
+ border-radius: 10px;
+ }
+
+ .pointsTitle {
+ font-size: 16px;
}
.pointsCount {
- font-size: 18px;
+ font-size: 22px;
+ }
+
+ .pointsIcon {
+ width: 28px;
+ height: 28px;
+ font-size: 16px;
+ }
+
+ .methodsGrid {
+ grid-template-columns: 1fr;
+ gap: 10px;
+ }
+
+ .methodItem {
+ padding: 10px;
+ }
+
+ .methodIcon {
+ width: 28px;
+ height: 28px;
+ font-size: 14px;
+ }
+
+ .methodContent h5 {
+ font-size: 12px;
}
+
+ .methodContent p {
+ font-size: 10px;
+ }
+
+ .paymentSuccessTip {
+ padding: 10px;
+ margin-bottom: 12px;
+ }
+
+ .paymentSuccessTip p {
+ font-size: 12px;
+ }
+
+ .paymentSuccessButton {
+ font-size: 12px;
+ padding: 6px 12px;
+ }
+ }
+
+/* 积分充值弹窗样式 */
+.rechargeContent {
+ padding: 20px 0;
+}
+
+.currentPoints {
+ background: linear-gradient(135deg, #2B2F36 0%, #4E4C4D 100%);
+ border-radius: 12px;
+ padding: 20px;
+ text-align: center;
+ margin-bottom: 24px;
+ color: #fff;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: 0 4px 16px rgba(43, 47, 54, 0.2);
+}
+
+.pointsLabel {
+ display: block;
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 8px;
+}
+
+.pointsValue {
+ display: block;
+ font-size: 28px;
+ font-weight: bold;
+ color: #fce2a9;
+ background: linear-gradient(135deg, #fce2a9, #ffd700);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.rechargeSection {
+ margin-bottom: 24px;
+}
+
+.rechargeSection h4 {
+ font-size: 18px;
+ font-weight: 600;
+ margin-bottom: 8px;
+ color: #333;
+}
+
+.rechargeDescription {
+ font-size: 14px;
+ color: #666;
+ margin-bottom: 20px;
+}
+
+.sliderContainer {
+ margin-bottom: 20px;
+}
+
+.sliderTrack {
+ position: relative;
+ height: 6px;
+ background: #e0e0e0;
+ border-radius: 3px;
+ margin-bottom: 8px;
+}
+
+.sliderHandle {
+ position: absolute;
+ top: -7px;
+ width: 20px;
+ height: 20px;
+ background: linear-gradient(135deg, #6a5acd 0%, #a64dd8 100%);
+ border-radius: 50%;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ box-shadow: 0 2px 8px rgba(106, 90, 205, 0.3);
+ border: 2px solid #fff;
+}
+
+.sliderHandle:hover {
+ transform: scale(1.1);
+ background: linear-gradient(135deg, #7b68ee 0%, #b76dd9 100%);
+}
+
+.sliderLabels {
+ display: flex;
+ justify-content: space-between;
+ font-size: 12px;
+ color: #666;
+}
+
+.amountInput {
+ display: flex;
+ align-items: center;
+ margin-bottom: 16px;
+}
+
+.amountInput span {
+ font-size: 14px;
+ color: #666;
+}
+
+.totalPrice {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 16px;
+ background: #f8f9fa;
+ border-radius: 8px;
+ font-size: 16px;
+ font-weight: 600;
+}
+
+.priceValue {
+ color: #6a5acd;
+ font-size: 20px;
+ font-weight: bold;
+}
+
+.rechargeButton {
+ background: linear-gradient(135deg, #6a5acd 0%, #a64dd8 100%);
+ border: none;
+ height: 48px;
+ font-size: 16px;
+ font-weight: 600;
+ border-radius: 8px;
+ transition: all 0.3s ease;
+ color: #fff;
+}
+
+ .rechargeButton:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
+ background: linear-gradient(135deg, #7b68ee 0%, #b76dd9 100%);
+ }
+
+ /* 支付成功提示样式 */
+ .paymentSuccessTip {
+ background: rgba(82, 196, 26, 0.1);
+ border: 1px solid rgba(82, 196, 26, 0.3);
+ border-radius: 8px;
+ padding: 12px;
+ margin-bottom: 16px;
+ text-align: center;
+ margin-top: 20px;
+ }
+
+ .paymentSuccessTip p {
+ color: #52c41a;
+ font-size: 13px;
+ margin-bottom: 8px;
+ font-weight: 500;
+ }
+
+ .paymentSuccessButton {
+ background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
+ border: none;
+ border-radius: 6px;
+ font-weight: 600;
+ transition: all 0.3s ease;
+ box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
+ }
+
+ .paymentSuccessButton:hover {
+ background: linear-gradient(135deg, #73d13d 0%, #95de64 100%);
+ transform: translateY(-1px);
+ box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
+ }
+
+/* 余额卡片样式 */
+.incomeCard {
+ background: linear-gradient(135deg, #2B2F36 0%, #4E4C4D 100%);
+ border-radius: 12px;
+ padding: 20px;
+ margin-bottom: 20px;
+ color: #fff;
+ box-shadow: 0 4px 16px rgba(43, 47, 54, 0.2);
+ position: relative;
+ overflow: hidden;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+}
+
+.incomeCard::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
+ animation: shimmer 3s ease-in-out infinite;
+}
+
+.incomeContent {
+ position: relative;
+ z-index: 1;
+}
+
+.incomeHeader {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 12px;
+}
+
+.incomeTitleSection {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+}
+
+.incomeIcon {
+ font-size: 20px;
+ color: #fce2a9;
+ background: rgba(252, 226, 169, 0.1);
+ border-radius: 50%;
+ width: 32px;
+ height: 32px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.incomeTitle {
+ font-size: 18px;
+ font-weight: 600;
+ color: #fce2a9;
+}
+
+.incomeCount {
+ font-size: 28px;
+ font-weight: bold;
+ color: #fce2a9;
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
+ background: linear-gradient(135deg, #fce2a9, #ffd700);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.incomeDescription {
+ font-size: 13px;
+ color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 18px;
+ line-height: 1.4;
+}
+
+.incomeActions {
+ display: flex;
+ justify-content: center;
+}
+
+.incomeButton {
+ background: linear-gradient(135deg, #fce2a9 0%, #ffd700 100%);
+ border: 2px solid rgba(252, 226, 169, 0.3);
+ color: #2B2F36;
+ padding: 12px 20px;
+ border-radius: 8px;
+ font-size: 14px;
+ font-weight: 600;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ position: relative;
+ overflow: hidden;
+ box-shadow: 0 2px 8px rgba(252, 226, 169, 0.3);
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.buttonIcon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: transform 0.3s ease;
+}
+
+.incomeButton::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: -100%;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
+ transition: left 0.6s ease;
+}
+
+.incomeButton:hover::before {
+ left: 100%;
+}
+
+.incomeButton:hover {
+ background: linear-gradient(135deg, #ffd700 0%, #fce2a9 100%);
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(252, 226, 169, 0.4);
+ border-color: rgba(252, 226, 169, 0.6);
+}
+
+.incomeButton:hover .buttonIcon {
+ transform: translateX(2px);
+}
+
+.incomeButton:active {
+ transform: translateY(-1px);
+ box-shadow: 0 2px 6px rgba(252, 226, 169, 0.3);
+}
+
+.incomeButton:focus {
+ outline: none;
+ box-shadow: 0 0 0 3px rgba(252, 226, 169, 0.3), 0 2px 8px rgba(252, 226, 169, 0.3);
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/styles/difyHome.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/styles/difyHome.module.scss
index 0b737ce8..9dcf6d0d 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/styles/difyHome.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/styles/difyHome.module.scss
@@ -94,10 +94,32 @@
font-weight: 500;
font-size: 16px;
transition: color 0.2s ease;
+ background: none;
+ border: none;
+ cursor: pointer;
+ font-family: inherit;
+ padding: 0;
&:hover {
color: #4f46e5;
}
+
+ &.active {
+ color: #4f46e5;
+ font-weight: 600;
+ position: relative;
+
+ &::after {
+ content: '';
+ position: absolute;
+ bottom: -4px;
+ left: 0;
+ right: 0;
+ height: 2px;
+ background: #4f46e5;
+ border-radius: 1px;
+ }
+ }
}
.getStartedBtn {
@@ -250,6 +272,19 @@
transform: translateX(2px);
}
+.heroMobileLink {
+ font-size: 14px;
+ color: #4f46e5;
+ cursor: pointer;
+ text-decoration: underline;
+ margin: 0;
+ transition: color 0.2s ease;
+
+ &:hover {
+ color: #4338ca;
+ }
+}
+
.brandBar {
padding: 80px 0;
background: white;
@@ -404,6 +439,18 @@
font-weight: 600;
color: #374151;
margin-bottom: 32px;
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesSection & {
+ background: rgba(255, 255, 255, 0.2);
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.3);
+ color: white;
+ font-weight: 700;
+ padding: 12px 24px;
+ border-radius: 25px;
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
+ }
}
.badgeIcon {
@@ -411,15 +458,67 @@
height: 8px;
background: #4f46e5;
border-radius: 50%;
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesSection & {
+ background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
+ width: 12px;
+ height: 12px;
+ box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
+ animation: pulse 2s infinite;
+ }
}
.titleBlue {
color: #4f46e5;
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesSection & {
+ background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ font-weight: 900;
+ }
}
.buildSection {
- padding: 120px 0;
+ padding: 80px 0;
background: white;
+
+ // 即将上线模块特殊背景
+ &.upcomingFeaturesSection {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ position: relative;
+ overflow: hidden;
+
+ &::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
+ opacity: 0.3;
+ }
+ }
+}
+
+// 脉冲动画
+@keyframes pulse {
+ 0% {
+ transform: scale(1);
+ opacity: 1;
+ }
+ 50% {
+ transform: scale(1.2);
+ opacity: 0.7;
+ }
+ 100% {
+ transform: scale(1);
+ opacity: 1;
+ }
}
.buildContainer {
@@ -434,6 +533,17 @@
gap: 80px;
align-items: stretch;
min-height: 500px;
+
+ // 即将上线模块特殊布局 - 移除左右布局,使用居中布局
+ &.upcomingFeaturesLayout {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ gap: 60px;
+ max-width: 900px;
+ margin: 0 auto;
+ }
}
.buildLeft,
@@ -441,6 +551,12 @@
display: flex;
flex-direction: column;
justify-content: center;
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesLayout & {
+ width: 100%;
+ max-width: 100%;
+ }
}
.buildTitle {
@@ -449,12 +565,30 @@
line-height: 1.2;
margin-bottom: 40px;
color: #1f2937;
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesLayout & {
+ font-size: 56px;
+ margin-bottom: 50px;
+ background: #5b21b6;
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ }
}
.featureList {
display: flex;
flex-direction: column;
gap: 32px;
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesLayout & {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
+ gap: 40px;
+ margin-bottom: 40px;
+ }
}
.featureItem {
@@ -469,6 +603,34 @@
color: #6b7280;
line-height: 1.6;
}
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesLayout & {
+ background: rgba(255, 255, 255, 0.8);
+ backdrop-filter: blur(10px);
+ border-radius: 16px;
+ padding: 24px;
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
+ transition: all 0.3s ease;
+
+ &:hover {
+ transform: translateY(-4px);
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
+ background: rgba(255, 255, 255, 0.9);
+ }
+
+ h3 {
+ font-size: 22px;
+ color: #4f46e5;
+ margin-bottom: 12px;
+ }
+
+ p {
+ color: #374151;
+ line-height: 1.7;
+ }
+ }
}
.productScreenshot {
@@ -519,7 +681,6 @@
.downloadSection {
padding: 120px 0;
- background: linear-gradient(135deg, #dbeafe 0%, #c7d2fe 50%, #ddd6fe 100%);
overflow: hidden;
position: relative;
}
@@ -765,6 +926,29 @@
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
+.qrCodeImg {
+ width: 100%;
+ height: 100%;
+ border-radius: 4px;
+ object-fit: contain;
+}
+
+.qrCodeIcon {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.qrCodeText {
+ margin-top: 8px;
+ font-size: 12px;
+ color: #6b7280;
+ text-align: center;
+ font-weight: 500;
+}
+
.qrCodePattern {
width: 100%;
height: 100%;
@@ -1129,7 +1313,7 @@
color: #1f2937;
border-top: 1px solid #e5e7eb;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
- margin-top: 60px;
+ // margin-top: 60px;
}
.footerContainer {
@@ -1526,9 +1710,7 @@
position: relative;
width: 100%;
height: 100%;
- overflow: hidden;
border-radius: 12px;
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
cursor: pointer;
}
@@ -1536,12 +1718,20 @@
position: relative;
width: 100%;
height: 100%;
+
+ // 手机版图片容器特殊样式
+ &.mobileContainer {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 20px 0;
+ }
}
.carouselSlide {
position: absolute;
top: 0;
- left: 0;
+ left: 220px;
width: 100%;
height: 100%;
opacity: 0;
@@ -1563,6 +1753,52 @@
}
}
+// 手机版竖屏图片样式 (9:16比例)
+.mobileCarouselImage {
+ width: 100%;
+ max-width: 280px; // 限制最大宽度,适合手机屏幕
+ height: auto;
+ object-fit: contain; // 保持比例
+ border-radius: 24px; // 圆角边框,模拟手机外观
+ box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); // 更深的阴影效果
+ transition: transform 0.3s ease;
+ border: 8px solid #1a1a1a; // 手机边框
+ background: #1a1a1a; // 手机背景色
+
+ .carouselSlide:hover & {
+ transform: scale(1.08);
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
+ }
+}
+
+// 横屏图片样式
+.desktopCarouselImage {
+ width: 100%;
+ max-width: 280px;
+ height: auto;
+ object-fit: cover;
+ border-radius: 12px; // 圆角边框
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); // 阴影效果
+ transition: transform 0.3s ease;
+
+ .carouselSlide:hover & {
+ transform: scale(1.02);
+ }
+
+ // 即将上线模块特殊样式
+ .upcomingFeaturesLayout & {
+ max-width: 800px;
+ border-radius: 16px;
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
+ transition: all 0.4s ease;
+
+ &:hover {
+ transform: scale(1.03);
+ box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
+ }
+ }
+}
+
.carouselIndicators {
position: absolute;
right: 20px;
@@ -1661,4 +1897,470 @@
&:nth-child(4) {
animation-delay: 0.3s;
}
-}
\ No newline at end of file
+}
+
+// 即将上线功能模块样式
+.comingSoonPlaceholder {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ height: 400px;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border-radius: 16px;
+ color: white;
+ text-align: center;
+ padding: 40px;
+ position: relative;
+ overflow: hidden;
+
+ &::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
+ opacity: 0.3;
+ }
+}
+
+.placeholderIcon {
+ font-size: 64px;
+ margin-bottom: 20px;
+ animation: bounce 2s infinite;
+}
+
+@keyframes bounce {
+ 0%, 20%, 50%, 80%, 100% {
+ transform: translateY(0);
+ }
+ 40% {
+ transform: translateY(-10px);
+ }
+ 60% {
+ transform: translateY(-5px);
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+.pricingPage {
+ min-height: 100vh;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ padding: 2rem 0;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+
+ .container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1rem;
+ }
+
+ .backToHome {
+ display: flex;
+ justify-content: flex-start;
+ margin-bottom: 2rem;
+
+ .backButton {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ background: rgba(255, 255, 255, 0.1);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ color: white;
+ padding: 12px 20px;
+ border-radius: 8px;
+ font-size: 14px;
+ font-weight: 500;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ backdrop-filter: blur(10px);
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.2);
+ border-color: rgba(255, 255, 255, 0.3);
+ transform: translateY(-1px);
+ }
+
+ svg {
+ transition: transform 0.2s ease;
+ }
+
+ &:hover svg {
+ transform: translateX(-2px);
+ }
+ }
+ }
+
+ .header {
+ text-align: center;
+ margin-bottom: 3rem;
+
+ .title {
+ font-size: 3.5rem;
+ font-weight: 700;
+ color: white;
+ margin-bottom: 1rem;
+ line-height: 1.2;
+ }
+
+ .subtitle {
+ font-size: 1.4rem;
+ color: rgba(255, 255, 255, 0.9);
+ max-width: 600px;
+ margin: 0 auto;
+ line-height: 1.5;
+ }
+ }
+
+ .billingToggle {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 3rem;
+
+ .toggleContainer {
+ display: flex;
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 12px;
+ padding: 4px;
+ backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+
+ .toggleButton {
+ position: relative;
+ padding: 1rem 2rem;
+ border: none;
+ background: transparent;
+ color: rgba(255, 255, 255, 0.8);
+ font-size: 1.1rem;
+ font-weight: 600;
+ border-radius: 8px;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ min-width: 120px;
+
+ &:hover {
+ color: white;
+ }
+
+ &.active {
+ background: white;
+ color: #667eea;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+ }
+
+ .saveBadge {
+ position: absolute;
+ top: -8px;
+ right: -8px;
+ background: #ff6b6b;
+ color: white;
+ font-size: 0.75rem;
+ font-weight: 700;
+ padding: 4px 8px;
+ border-radius: 12px;
+ white-space: nowrap;
+ box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
+ }
+ }
+ }
+ }
+
+ .pricingCards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
+ gap: 2rem;
+ margin-bottom: 4rem;
+
+ .pricingCard {
+ background: white;
+ border-radius: 20px;
+ padding: 2.5rem;
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
+ position: relative;
+ transition: all 0.3s ease;
+ border: 2px solid transparent;
+
+ &:hover {
+ transform: translateY(-8px);
+ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
+ }
+
+ &.popular {
+ border-color: #667eea;
+ transform: scale(1.05);
+
+ .popularBadge {
+ position: absolute;
+ top: -12px;
+ left: 50%;
+ transform: translateX(-50%);
+ background: linear-gradient(135deg, #667eea, #764ba2);
+ color: white;
+ padding: 0.5rem 1.5rem;
+ border-radius: 20px;
+ font-size: 0.9rem;
+ font-weight: 700;
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+ }
+ }
+
+ .cardHeader {
+ text-align: center;
+ margin-bottom: 2rem;
+
+ .planName {
+ font-size: 2.2rem;
+ font-weight: 700;
+ color: #2d3748;
+ margin-bottom: 1rem;
+ }
+
+ .priceContainer {
+ .originalPrice {
+ display: block;
+ font-size: 1.1rem;
+ color: #a0aec0;
+ text-decoration: line-through;
+ margin-bottom: 0.5rem;
+ }
+
+ .price {
+ display: flex;
+ align-items: baseline;
+ justify-content: center;
+ gap: 0.25rem;
+
+ .currency {
+ font-size: 1.5rem;
+ font-weight: 600;
+ color: #2d3748;
+ }
+
+ .amount {
+ font-size: 3.5rem;
+ font-weight: 700;
+ color: #667eea;
+ line-height: 1;
+ }
+
+ .period {
+ font-size: 1.2rem;
+ color: #718096;
+ font-weight: 500;
+ }
+ }
+
+ .monthlyPrice {
+ font-size: 1rem;
+ color: #718096;
+ margin-top: 0.5rem;
+ font-weight: 500;
+ }
+ }
+ }
+
+ .planFeatures {
+ .mainFeatures {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 1rem;
+ margin-bottom: 2rem;
+ padding: 1.5rem;
+ background: #f7fafc;
+ border-radius: 12px;
+
+ .featureItem {
+ text-align: center;
+
+ .featureLabel {
+ display: block;
+ font-size: 0.9rem;
+ color: #718096;
+ font-weight: 500;
+ margin-bottom: 0.5rem;
+ }
+
+ .featureValue {
+ display: block;
+ font-size: 1.1rem;
+ font-weight: 700;
+ color: #2d3748;
+ }
+ }
+ }
+
+ .featuresList {
+ .featureRow {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ margin-bottom: 1rem;
+ font-size: 1rem;
+
+ .checkIcon {
+ color: #48bb78;
+ font-size: 1.1rem;
+ flex-shrink: 0;
+ }
+
+ .closeIcon {
+ color: #e53e3e;
+ font-size: 1.1rem;
+ flex-shrink: 0;
+ }
+
+ .featureText {
+ color: #2d3748;
+ font-weight: 500;
+
+ &.disabled {
+ color: #a0aec0;
+ }
+ }
+ }
+ }
+ }
+
+ .ctaButton {
+ width: 100%;
+ height: 3.5rem;
+ font-size: 1.1rem;
+ font-weight: 600;
+ border-radius: 12px;
+ margin-top: 2rem;
+ transition: all 0.3s ease;
+
+ &:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
+ }
+ }
+ }
+ }
+
+ .faqSection {
+ background: white;
+ border-radius: 20px;
+ padding: 3rem;
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
+
+ .faqTitle {
+ font-size: 2.5rem;
+ font-weight: 700;
+ color: #2d3748;
+ text-align: center;
+ margin-bottom: 2.5rem;
+ }
+
+ .faqCollapse {
+ max-width: 800px;
+ margin: 0 auto;
+
+ :global(.ant-collapse-item) {
+ border: 1px solid #e2e8f0;
+ border-radius: 12px;
+ margin-bottom: 1rem;
+ overflow: hidden;
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ :global(.ant-collapse-header) {
+ font-size: 1.1rem;
+ font-weight: 600;
+ color: #2d3748;
+ padding: 1.5rem;
+ background: #f7fafc;
+ border-bottom: 1px solid #e2e8f0;
+
+ &:hover {
+ background: #edf2f7;
+ }
+ }
+
+ :global(.ant-collapse-content) {
+ background: white;
+ }
+
+ :global(.ant-collapse-content-box) {
+ padding: 1.5rem;
+ font-size: 1rem;
+ line-height: 1.6;
+ color: #4a5568;
+ }
+ }
+ }
+}
+
+// 响应式设计
+@media (max-width: 768px) {
+ .pricingPage {
+ padding: 1rem 0;
+
+ .header {
+ .title {
+ font-size: 2.5rem;
+ }
+
+ .subtitle {
+ font-size: 1.2rem;
+ }
+ }
+
+ .pricingCards {
+ grid-template-columns: 1fr;
+ gap: 1.5rem;
+
+ .pricingCard {
+ padding: 2rem;
+
+ &.popular {
+ transform: none;
+ }
+
+ .cardHeader {
+ .planName {
+ font-size: 1.8rem;
+ }
+
+ .priceContainer {
+ .price {
+ .amount {
+ font-size: 2.8rem;
+ }
+ }
+ }
+ }
+
+ .planFeatures {
+ .mainFeatures {
+ grid-template-columns: 1fr;
+ gap: 0.75rem;
+ }
+ }
+ }
+ }
+
+ .faqSection {
+ padding: 2rem;
+
+ .faqTitle {
+ font-size: 2rem;
+ }
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/styles/pricing.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/styles/pricing.module.scss
new file mode 100644
index 00000000..49341205
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/styles/pricing.module.scss
@@ -0,0 +1,515 @@
+.pricingPage {
+ min-height: 100vh;
+ background: #ffffff;
+ padding: 2rem 0;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
+}
+
+.container {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 2rem;
+}
+
+.header {
+ text-align: center;
+ margin-bottom: 3rem;
+ color: #2c3e50;
+}
+
+.title {
+ font-size: 3.5rem;
+ font-weight: 700;
+ margin-bottom: 1rem;
+ color: #2c3e50;
+}
+
+.subtitle {
+ font-size: 1.25rem;
+ color: #7f8c8d;
+ max-width: 600px;
+ margin: 0 auto;
+ line-height: 1.6;
+}
+
+.billingToggle {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 3rem;
+}
+
+.toggleContainer {
+ background: #f8f9fa;
+ border-radius: 50px;
+ padding: 0.5rem;
+ border: 1px solid #e9ecef;
+}
+
+.toggleButton {
+ background: transparent;
+ border: none;
+ color: #2c3e50;
+ padding: 1rem 2rem;
+ border-radius: 40px;
+ font-size: 1rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ position: relative;
+ margin: 0 0.25rem;
+}
+
+.toggleButton.active {
+ background: #667eea;
+ color: white;
+ box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
+}
+
+.saveBadge {
+ position: absolute;
+ top: -8px;
+ right: -8px;
+ background: #ff4757;
+ color: white;
+ font-size: 0.75rem;
+ padding: 0.25rem 0.5rem;
+ border-radius: 12px;
+ font-weight: 600;
+ animation: pulse 2s infinite;
+}
+
+@keyframes pulse {
+ 0% { transform: scale(1); }
+ 50% { transform: scale(1.05); }
+ 100% { transform: scale(1); }
+}
+
+.pricingCards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
+ gap: 2rem;
+ margin-bottom: 4rem;
+}
+
+.pricingCard {
+ background: #ffffff;
+ border-radius: 24px;
+ padding: 2.5rem;
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
+ border: 1px solid #e9ecef;
+ transition: all 0.3s ease;
+ position: relative;
+ overflow: hidden;
+}
+
+.pricingCard:hover {
+ transform: translateY(-10px);
+ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
+}
+
+.pricingCard.popular {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ transform: scale(1.05);
+}
+
+.pricingCard.popular::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 4px;
+ background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
+ background-size: 300% 100%;
+ animation: gradientShift 3s ease infinite;
+}
+
+@keyframes gradientShift {
+ 0% { background-position: 0% 50%; }
+ 50% { background-position: 100% 50%; }
+ 100% { background-position: 0% 50%; }
+}
+
+.popularBadge {
+ position: absolute;
+ top: 1rem;
+ right: 1rem;
+ background: #ff4757;
+ color: white;
+ padding: 0.5rem 1rem;
+ border-radius: 20px;
+ font-size: 0.875rem;
+ font-weight: 600;
+ z-index: 1;
+}
+
+.cardHeader {
+ text-align: center;
+ margin-bottom: 2rem;
+}
+
+.planName {
+ font-size: 1.75rem;
+ font-weight: 700;
+ margin-bottom: 1rem;
+ color: #2c3e50;
+}
+
+.pricingCard.popular .planName {
+ color: white;
+}
+
+.priceContainer {
+ position: relative;
+}
+
+.originalPrice {
+ display: block;
+ font-size: 1rem;
+ color: #95a5a6;
+ text-decoration: line-through;
+ margin-bottom: 0.5rem;
+}
+
+.pricingCard.popular .originalPrice {
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.price {
+ display: flex;
+ align-items: baseline;
+ justify-content: center;
+ gap: 0.25rem;
+}
+
+.currency {
+ font-size: 1.5rem;
+ font-weight: 600;
+ color: #2c3e50;
+}
+
+.pricingCard.popular .currency {
+ color: white;
+}
+
+.amount {
+ font-size: 3.5rem;
+ font-weight: 700;
+ color: #2c3e50;
+ line-height: 1;
+}
+
+.pricingCard.popular .amount {
+ color: white;
+}
+
+.period {
+ font-size: 1.25rem;
+ color: #7f8c8d;
+ font-weight: 500;
+}
+
+.pricingCard.popular .period {
+ color: rgba(255, 255, 255, 0.8);
+}
+
+.monthlyPrice {
+ font-size: 0.875rem;
+ color: #7f8c8d;
+ margin-top: 0.5rem;
+}
+
+.pricingCard.popular .monthlyPrice {
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.planFeatures {
+ margin-bottom: 2rem;
+}
+
+.mainFeatures {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 1rem;
+ margin-bottom: 2rem;
+ padding: 1.5rem;
+ background: rgba(0, 0, 0, 0.02);
+ border-radius: 16px;
+}
+
+.pricingCard.popular .mainFeatures {
+ background: rgba(255, 255, 255, 0.1);
+}
+
+.featureItem {
+ text-align: center;
+}
+
+.featureLabel {
+ display: block;
+ font-size: 0.875rem;
+ color: #7f8c8d;
+ margin-bottom: 0.5rem;
+ font-weight: 500;
+}
+
+.pricingCard.popular .featureLabel {
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.featureValue {
+ display: block;
+ font-size: 1.25rem;
+ font-weight: 700;
+ color: #2c3e50;
+}
+
+.pricingCard.popular .featureValue {
+ color: white;
+}
+
+.featuresList {
+ space-y: 1rem;
+}
+
+.featureRow {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ padding: 0.75rem 0;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+}
+
+.pricingCard.popular .featureRow {
+ border-bottom-color: rgba(255, 255, 255, 0.1);
+}
+
+.featureRow:last-child {
+ border-bottom: none;
+}
+
+.checkIcon {
+ color: #27ae60;
+ font-size: 1.125rem;
+ flex-shrink: 0;
+}
+
+.pricingCard.popular .checkIcon {
+ color: #2ecc71;
+}
+
+.closeIcon {
+ color: #e74c3c;
+ font-size: 1.125rem;
+ flex-shrink: 0;
+}
+
+.pricingCard.popular .closeIcon {
+ color: #ff6b6b;
+}
+
+.featureText {
+ font-size: 0.95rem;
+ color: #2c3e50;
+ font-weight: 500;
+}
+
+.pricingCard.popular .featureText {
+ color: white;
+}
+
+.featureText.disabled {
+ color: #95a5a6;
+ text-decoration: line-through;
+}
+
+.pricingCard.popular .featureText.disabled {
+ color: rgba(255, 255, 255, 0.5);
+}
+
+.ctaButton {
+ width: 100%;
+ height: 3.5rem;
+ font-size: 1.125rem;
+ font-weight: 600;
+ border-radius: 16px;
+ border: none;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+}
+
+.ctaButton:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
+}
+
+.pricingCard.popular .ctaButton {
+ background: white;
+ color: #667eea;
+}
+
+.pricingCard.popular .ctaButton:hover {
+ background: #f8f9fa;
+ box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
+}
+
+.faqSection {
+ background: #ffffff;
+ border-radius: 24px;
+ padding: 3rem;
+ border: 1px solid #e9ecef;
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
+}
+
+.faqTitle {
+ text-align: center;
+ font-size: 2.5rem;
+ font-weight: 700;
+ margin-bottom: 2rem;
+ color: #2c3e50;
+}
+
+.faqCollapse {
+ background: transparent;
+ border: none;
+}
+
+.faqCollapse :global(.ant-collapse-item) {
+ border: 1px solid rgba(0, 0, 0, 0.1);
+ border-radius: 12px;
+ margin-bottom: 1rem;
+ overflow: hidden;
+}
+
+.faqCollapse :global(.ant-collapse-header) {
+ font-size: 1.125rem;
+ font-weight: 600;
+ color: #2c3e50;
+ padding: 1.5rem;
+}
+
+.faqCollapse :global(.ant-collapse-content) {
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
+}
+
+.faqCollapse :global(.ant-collapse-content-box) {
+ padding: 1.5rem;
+ color: #7f8c8d;
+ line-height: 1.6;
+}
+
+@media (max-width: 768px) {
+ .container {
+ padding: 0 1rem;
+ }
+
+ .title {
+ font-size: 2.5rem;
+ }
+
+ .pricingCards {
+ grid-template-columns: 1fr;
+ gap: 1.5rem;
+ }
+
+ .pricingCard {
+ padding: 2rem;
+ }
+
+ .mainFeatures {
+ grid-template-columns: 1fr;
+ gap: 0.75rem;
+ }
+
+ .faqSection {
+ padding: 2rem;
+ }
+
+ .faqTitle {
+ font-size: 2rem;
+ }
+}
+
+// 价格表格样式
+.pricingTableContainer {
+ margin-top: 2rem;
+ padding: 1.5rem;
+ background: #f8f9fa;
+ border-radius: 12px;
+ border: 1px solid #e9ecef;
+}
+
+.pricingTableContainer h4 {
+ margin: 0 0 1.5rem 0;
+ color: #2c3e50;
+ font-size: 1.25rem;
+ font-weight: 600;
+}
+
+.pricingTableWrapper {
+ overflow-x: auto;
+ border-radius: 8px;
+ border: 1px solid #e9ecef;
+}
+
+.pricingTable {
+ width: 100%;
+ border-collapse: collapse;
+ background: white;
+ font-size: 0.875rem;
+ min-width: 800px;
+}
+
+.pricingTable th {
+ background: #667eea;
+ color: white;
+ padding: 0.75rem;
+ text-align: left;
+ font-weight: 600;
+ border-bottom: 1px solid #e9ecef;
+ white-space: nowrap;
+}
+
+.pricingTable td {
+ padding: 0.75rem;
+ border-bottom: 1px solid #f1f3f4;
+ vertical-align: top;
+ word-wrap: break-word;
+ max-width: 200px;
+}
+
+.pricingTable tr:nth-child(even) {
+ background: #f8f9fa;
+}
+
+.pricingTable tr:hover {
+ background: #e3f2fd;
+}
+
+.pricingTable tr:last-child td {
+ border-bottom: none;
+}
+
+@media (max-width: 768px) {
+ .pricingTableContainer {
+ padding: 1rem;
+ margin-top: 1.5rem;
+ }
+
+ .pricingTableContainer h4 {
+ font-size: 1.125rem;
+ }
+
+ .pricingTable {
+ font-size: 0.75rem;
+ min-width: 600px;
+ }
+
+ .pricingTable th,
+ .pricingTable td {
+ padding: 0.5rem;
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/page.tsx
new file mode 100644
index 00000000..0c3af971
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/page.tsx
@@ -0,0 +1,7 @@
+"use client";
+
+import TaskPageCore from "./taskPageCore";
+
+export default function TaskPage() {
+ return <TaskPageCore />;
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/taskPageCore.module.scss b/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/taskPageCore.module.scss
new file mode 100644
index 00000000..3c1f83ca
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/taskPageCore.module.scss
@@ -0,0 +1,147 @@
+.taskPage {
+ padding: 24px;
+ background: #fff;
+ min-height: 100vh;
+
+ .header {
+ margin-bottom: 24px;
+ text-align: center;
+
+ h1 {
+ font-size: 28px;
+ font-weight: 600;
+ color: #1a1a1a;
+ margin-bottom: 8px;
+ }
+
+ p {
+ font-size: 16px;
+ color: #666;
+ margin: 0;
+ }
+ }
+
+ .tabs {
+ .ant-tabs-tab {
+ font-size: 16px;
+ font-weight: 500;
+ }
+
+ .ant-tabs-content-holder {
+ padding-top: 16px;
+ }
+ }
+
+ .taskCard {
+ margin-bottom: 16px;
+ border-radius: 12px;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+ transition: all 0.3s ease;
+
+ &:hover {
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
+ transform: translateY(-2px);
+ }
+
+ .taskHeader {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 16px;
+ padding-bottom: 12px;
+ border-bottom: 1px solid #f0f0f0;
+
+ h3 {
+ font-size: 18px;
+ font-weight: 600;
+ color: #1a1a1a;
+ margin: 0;
+ flex: 1;
+ }
+ }
+
+ .taskContent {
+ margin-bottom: 20px;
+
+ p {
+ margin-bottom: 12px;
+ line-height: 1.6;
+ color: #333;
+
+ strong {
+ color: #1a1a1a;
+ font-weight: 600;
+ }
+ }
+
+ div {
+ margin-top: 8px;
+ line-height: 1.6;
+ }
+ }
+
+ .taskActions {
+ display: flex;
+ gap: 12px;
+ justify-content: flex-end;
+ padding-top: 16px;
+ border-top: 1px solid #f0f0f0;
+
+ .ant-btn {
+ border-radius: 6px;
+ font-weight: 500;
+ }
+ }
+ }
+
+ .ant-list-item {
+ padding: 0;
+ border: none;
+ }
+
+ .ant-empty {
+ margin: 60px 0;
+ }
+
+ .ant-spin-container {
+ min-height: 200px;
+ }
+}
+
+// 响应式设计
+@media (max-width: 768px) {
+ .taskPage {
+ padding: 16px;
+
+ .header {
+ h1 {
+ font-size: 24px;
+ }
+
+ p {
+ font-size: 14px;
+ }
+ }
+
+ .taskCard {
+ .taskHeader {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 8px;
+
+ h3 {
+ font-size: 16px;
+ }
+ }
+
+ .taskActions {
+ flex-direction: column;
+ gap: 8px;
+
+ .ant-btn {
+ width: 100%;
+ }
+ }
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/taskPageCore.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/taskPageCore.tsx
new file mode 100644
index 00000000..0905377d
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/tasks/taskPageCore.tsx
@@ -0,0 +1,2038 @@
+"use client";
+
+import React, { useState, useEffect } from "react";
+import { Tabs, Card, Button, List, Tag, message, Spin, Empty, Modal, Input, Row, Col, Image, Tooltip, Pagination } from "antd";
+import { CheckOutlined, ClockCircleOutlined, PlayCircleOutlined, UploadOutlined, EyeOutlined } from "@ant-design/icons";
+import { useTransClient } from "@/app/i18n/client";
+import { useUserStore } from "@/store/user";
+import {
+ apiGetTaskOpportunityList,
+ apiGetUserTaskList,
+ apiGetUserTaskDetail,
+ apiAcceptTask,
+ apiSubmitTask,
+ TaskOpportunity,
+ UserTask
+} from "@/api/task";
+import { apiCreatePublish } from "@/api/plat/publish";
+import { AccountPlatInfoMap, PlatType } from "@/app/config/platConfig";
+import { getOssUrl } from "@/utils/oss";
+import { getAppDownloadConfig, getTasksRequiringApp } from "@/app/config/appDownloadConfig";
+import DownloadAppModal from "@/components/common/DownloadAppModal";
+import { getAccountListApi } from "@/api/account";
+import { SocialAccount } from "@/api/types/account.type";
+import { getTaskDetail, acceptTask, submitTask } from "@/api/notification";
+import { getDays, getUtcDays } from "@/app/[lng]/accounts/components/CalendarTiming/calendarTiming.utils";
+import { Steps } from "antd";
+import http from "@/utils/request";
+import { useRouter, useParams } from "next/navigation";
+import styles from "./taskPageCore.module.scss";
+
+const { TabPane } = Tabs;
+
+export default function TaskPageCore() {
+ const { t } = useTransClient("task" as any);
+ const token = useUserStore((state) => state.token);
+ const router = useRouter();
+ const params = useParams();
+ const lng = params.lng as string;
+
+ // 如果未登录,显示登录提示
+ if (!token) {
+ return (
+ <div className={styles.taskPage}>
+ <div className={styles.header}>
+ <h1>{t('title')}</h1>
+ <p>{t('messages.pleaseLoginFirst')}</p>
+ </div>
+ <div style={{ textAlign: 'center', padding: '60px 0' }}>
+ <Empty description={t('messages.pleaseLoginFirst')} />
+ </div>
+ </div>
+ );
+ }
+
+ // 状态管理
+ const [activeTab, setActiveTab] = useState("pending"); // pending: 待接受, accepted: 已接受
+ const [pendingTasks, setPendingTasks] = useState<TaskOpportunity[]>([]);
+ const [acceptedTasks, setAcceptedTasks] = useState<UserTask[]>([]);
+ const [loading, setLoading] = useState(false);
+
+ // 分页状态
+ const [pendingPagination, setPendingPagination] = useState({
+ current: 1,
+ pageSize: 15,
+ total: 0
+ });
+ const [acceptedPagination, setAcceptedPagination] = useState({
+ current: 1,
+ pageSize: 15,
+ total: 0
+ });
+ const [selectedTask, setSelectedTask] = useState<TaskOpportunity | null>(null);
+ const [submitModalVisible, setSubmitModalVisible] = useState(false);
+ const [submissionUrl, setSubmissionUrl] = useState("");
+ const [submittingTaskId, setSubmittingTaskId] = useState<string | null>(null);
+
+ // 新增状态
+ const [accountList, setAccountList] = useState<SocialAccount[]>([]);
+ const [taskDetailModalVisible, setTaskDetailModalVisible] = useState(false);
+ const [taskDetail, setTaskDetail] = useState<any>(null);
+ const [taskDetailLoading, setTaskDetailLoading] = useState(false);
+ const [currentTaskId, setCurrentTaskId] = useState<string | null>(null);
+
+ // 已接受任务详情弹窗状态
+ const [acceptedTaskDetailModalVisible, setAcceptedTaskDetailModalVisible] = useState(false);
+ const [acceptedTaskDetail, setAcceptedTaskDetail] = useState<any>(null);
+ const [acceptedTaskDetailLoading, setAcceptedTaskDetailLoading] = useState(false);
+
+ // 媒体预览弹窗状态
+ const [mediaPreviewVisible, setMediaPreviewVisible] = useState(false);
+ const [previewMedia, setPreviewMedia] = useState<{
+ type: 'video' | 'image';
+ url: string;
+ title?: string;
+ } | null>(null);
+ const [videoRef, setVideoRef] = useState<HTMLVideoElement | null>(null);
+
+ // 任务进度弹窗状态
+ const [taskProgressVisible, setTaskProgressVisible] = useState(false);
+ const [taskProgress, setTaskProgress] = useState({
+ currentStep: 0,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'processing' },
+ { title: t('publishingTask' as any), status: 'wait' },
+ { title: t('submittingTask' as any), status: 'wait' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ });
+
+ // 下载App弹窗状态 - 暂时注释
+ const [downloadAppVisible, setDownloadAppVisible] = useState(false);
+ const [downloadAppConfig, setDownloadAppConfig] = useState({
+ platform: "",
+ appName: "",
+ downloadUrl: "",
+ qrCodeUrl: "" as string | undefined
+ });
+
+ // 账号选择弹窗状态
+ const [accountSelectVisible, setAccountSelectVisible] = useState(false);
+ const [availableAccounts, setAvailableAccounts] = useState<SocialAccount[]>([]);
+ const [selectedAccount, setSelectedAccount] = useState<SocialAccount | null>(null);
+ const [requiredAccountTypes, setRequiredAccountTypes] = useState<string[]>([]);
+
+ // 获取待接受任务列表
+ const fetchPendingTasks = async (page: number = 1, pageSize: number = 15) => {
+ if (!token) return;
+
+ try {
+ setLoading(true);
+ const response = await apiGetTaskOpportunityList({ page, pageSize });
+ if (response && response.data) {
+ setPendingTasks(response.data.list || []);
+ setPendingPagination(prev => ({
+ ...prev,
+ current: page,
+ total: (response.data as any).total || 0
+ }));
+ } else {
+ setPendingTasks([]);
+ }
+ } catch (error) {
+ console.error("获取待接受任务失败:", error);
+ message.error(t('messages.getPendingTasksFailed'));
+ setPendingTasks([]);
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ // 获取已接受任务列表
+ const fetchAcceptedTasks = async (page: number = 1, pageSize: number = 15) => {
+ if (!token) return;
+
+ try {
+ setLoading(true);
+ const response = await apiGetUserTaskList({ page, pageSize });
+ if (response && response.data) {
+ setAcceptedTasks(response.data.list || []);
+ setAcceptedPagination(prev => ({
+ ...prev,
+ current: page,
+ total: (response.data as any).total || 0
+ }));
+ } else {
+ setAcceptedTasks([]);
+ }
+ } catch (error) {
+ console.error("获取已接受任务失败:", error);
+ message.error(t('messages.getAcceptedTasksFailed'));
+ setAcceptedTasks([]);
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ // 获取账号列表
+ const fetchAccountList = async () => {
+ if (!token) {
+ setAccountList([]);
+ return;
+ }
+
+ try {
+ const response = await getAccountListApi();
+ if (response && response.data) {
+ setAccountList(response.data || []);
+ }
+ } catch (error) {
+ console.error("获取账号列表失败:", error);
+ }
+ };
+
+ // 接受任务
+ const handleAcceptTask = async (task: any ) => {
+ // 暂时简化,直接接受任务
+ await doAcceptTask(task);
+
+ // TODO: 添加平台限制检查
+ // if (!task.accountTypes || task.accountTypes.length === 0) {
+ // // 没有账号类型限制,直接接取任务
+ // await doAcceptTask(task);
+ // return;
+ // }
+
+ // // 检查需要App操作的平台
+ // const appRequiredPlatforms = getTasksRequiringApp(task.accountTypes);
+
+ // if (appRequiredPlatforms.length > 0) {
+ // // 有需要App操作的平台,显示第一个平台的下载提示
+ // const firstPlatform = appRequiredPlatforms[0];
+ // const config = getAppDownloadConfig(firstPlatform);
+
+ // if (config) {
+ // setDownloadAppConfig({
+ // platform: config.platform,
+ // appName: config.appName,
+ // downloadUrl: config.downloadUrl,
+ // qrCodeUrl: config.qrCodeUrl
+ // });
+ // setDownloadAppVisible(true);
+ // return;
+ // }
+ // }
+
+ // // 其他任务类型正常接取
+ // await doAcceptTask(task);
+ };
+
+ // 执行接受任务
+ const doAcceptTask = async (task: TaskOpportunity) => {
+ try {
+ const response = await apiAcceptTask(task.id);
+ if (response && response.code === 0) {
+ message.success(t('messages.acceptTaskSuccess'));
+ // 刷新任务列表
+ fetchPendingTasks();
+ fetchAcceptedTasks();
+ // 切换到已接受任务标签
+ setActiveTab("accepted");
+ } else {
+ message.error(t('messages.acceptTaskFailed'));
+ }
+ } catch (error) {
+ message.error(t('messages.acceptTaskFailed'));
+ console.error("接受任务失败:", error);
+ }
+ };
+
+
+ // 获取平台显示名称
+ const getPlatformName = (type: string) => {
+ const platformNames: Record<string, string> = {
+ 'tiktok': t('platforms.tiktok' as any),
+ 'youtube': t('platforms.youtube' as any),
+ 'twitter': t('platforms.twitter' as any),
+ 'bilibili': t('platforms.bilibili' as any),
+ 'KWAI': t('platforms.KWAI' as any),
+ 'douyin': t('platforms.douyin' as any),
+ 'xhs': t('platforms.xhs' as any),
+ 'wxSph': t('platforms.wxSph' as any),
+ 'wxGzh': t('platforms.wxGzh' as any),
+ 'facebook': t('platforms.facebook' as any),
+ 'instagram': t('platforms.instagram' as any),
+ 'threads': t('platforms.threads' as any),
+ 'pinterest': t('platforms.pinterest' as any),
+ };
+ return platformNames[type] || type;
+ };
+
+ // 获取任务类型显示名称
+ const getTaskTypeName = (type: string) => {
+ const taskTypeNames: Record<string, string> = {
+ 'video': t('taskTypes.video' as any),
+ 'article': t('taskTypes.article' as any),
+ 'article2': t('taskTypes.article2' as any),
+ };
+ return taskTypeNames[type] || type;
+ };
+
+ // 格式化时间(相对时间,如"3小时前")
+ const formatTime = (timeString: string) => {
+ const date = new Date(timeString);
+ const now = new Date();
+ const diff = now.getTime() - date.getTime();
+ const minutes = Math.floor(diff / (1000 * 60));
+ const hours = Math.floor(diff / (1000 * 60 * 60));
+ const days = Math.floor(diff / (1000 * 60 * 60 * 24));
+
+ if (minutes < 1) return t('time.justNow' as any);
+ if (minutes < 60) return t('time.minutesAgo' as any, { minutes });
+ if (hours < 24) return t('time.hoursAgo' as any, { hours });
+ if (days < 7) return t('time.daysAgo' as any, { days });
+ return date.toLocaleDateString();
+ };
+
+ // 格式化绝对时间(显示具体日期时间)
+ const formatAbsoluteTime = (timeString: string) => {
+ const date = new Date(timeString);
+ const now = new Date();
+ const diff = date.getTime() - now.getTime();
+
+ // 如果是未来时间,显示剩余时间
+ if (diff > 0) {
+ const minutes = Math.floor(diff / (1000 * 60));
+ const hours = Math.floor(diff / (1000 * 60 * 60));
+ const days = Math.floor(diff / (1000 * 60 * 60 * 24));
+
+ if (minutes < 60) return `${minutes}分钟后`;
+ if (hours < 24) return `${hours}小时后`;
+ if (days < 7) return `${days}天后` ;
+ }
+
+ // 显示具体日期时间
+ return date.toLocaleString('zh-CN', {
+ year: 'numeric',
+ month: '2-digit',
+ day: '2-digit',
+ hour: '2-digit',
+ minute: '2-digit'
+ });
+ };
+
+ // 获取任务状态标签
+ const getTaskStatusTag = (status: string) => {
+ const statusMap: Record<string, { color: string; text: string }> = {
+ 'pending': { color: 'green', text: '已完成' }, // pending 是已完成
+ 'doing': { color: 'orange', text: '待完成' }, // doing 是待完成
+ 'accepted': { color: 'blue', text: t('taskStatus.accepted' as any) },
+ 'completed': { color: 'green', text: t('taskStatus.completed' as any) },
+ 'rejected': { color: 'red', text: t('taskStatus.rejected' as any) },
+ };
+ return statusMap[status] || { color: 'default', text: status };
+ };
+
+ // 根据accountId获取账号信息
+ const getAccountById = (accountId: string): SocialAccount | null => {
+ return accountList.find(account => account.id === accountId) || null;
+ };
+
+ // 获取符合条件的账号
+ const getAvailableAccounts = (accountTypes: string[]): SocialAccount[] => {
+ if (!accountTypes || accountTypes.length === 0) {
+ return accountList;
+ }
+ return accountList.filter(account => accountTypes.includes(account.type));
+ };
+
+ // 处理任务操作(接受任务)
+ const handleTaskAction = (task: any) => {
+ // 首先检查任务支持的所有平台是否都需要App操作
+ const taskPlatforms = task.accountTypes || [];
+ const appRequiredPlatforms = getTasksRequiringApp(taskPlatforms);
+
+ // 如果所有平台都需要App操作,直接显示下载App提示
+ if (appRequiredPlatforms.length > 0 && appRequiredPlatforms.length === taskPlatforms.length) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 如果任务指定了账号,使用指定账号的逻辑
+ if (task.accountId) {
+ const publishAccount = getAccountById(task.accountId);
+ if (publishAccount) {
+ // 检查发布账号的平台是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([publishAccount.type]);
+
+ if (appRequiredPlatforms.length > 0) {
+ // 有需要App操作的平台,显示第一个平台的下载提示
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 直接使用指定账号接受任务
+ handleAcceptTaskFromDetail(task, publishAccount);
+ return;
+ }
+ }
+
+ // 如果没有指定账号,需要用户选择账号
+ const availableAccounts = getAvailableAccounts(task.accountTypes || []);
+
+ if (availableAccounts.length === 0) {
+ // 没有符合条件的账号,跳转到账户界面并弹出授权界面
+ setRequiredAccountTypes(task.accountTypes || []);
+ setTaskDetailModalVisible(false); // 关闭任务详情弹窗
+ // 关闭消息通知弹窗
+ message.info(t('accountSelect.redirectingToAccounts' as any));
+
+ // 构建跳转URL,包含需要的平台类型参数
+ const accountTypes = task.accountTypes || [];
+ const platformParam = accountTypes.length > 0 ? accountTypes[0] : undefined;
+ const accountsUrl = platformParam
+ ? `/${lng}/accounts?platform=${platformParam}`
+ : `/${lng}/accounts`;
+
+ router.push(accountsUrl); // 跳转到账户界面并自动打开添加账号弹窗
+ return;
+ }
+
+ if (availableAccounts.length === 1) {
+ // 只有一个符合条件的账号,直接使用
+ const account = availableAccounts[0];
+
+ // 检查是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([account.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 直接使用这个账号接受任务
+ handleAcceptTaskFromDetail(task, account);
+ return;
+ }
+
+ // 多个符合条件的账号,显示选择弹窗
+ setAvailableAccounts(availableAccounts);
+ setAccountSelectVisible(true);
+ };
+
+ // 处理账号选择
+ const handleAccountSelect = (account: SocialAccount) => {
+ setSelectedAccount(account);
+ setAccountSelectVisible(false);
+
+ // 检查是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([account.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 使用选择的账号接受任务
+ if (taskDetail) {
+ handleAcceptTaskFromDetail(taskDetail, account);
+ }
+ };
+
+ // 检查是否有新添加的符合条件账号
+ const checkForNewAccounts = () => {
+ if (requiredAccountTypes.length > 0 && taskDetail) {
+ const newAvailableAccounts = getAvailableAccounts(requiredAccountTypes);
+
+ if (newAvailableAccounts.length > 0) {
+ // 有新账号了,清除需求状态
+ setRequiredAccountTypes([]);
+
+ if (newAvailableAccounts.length === 1) {
+ // 只有一个新账号,直接使用
+ const account = newAvailableAccounts[0];
+
+ // 检查是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([account.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 直接使用这个账号接受任务
+ handleAcceptTaskFromDetail(taskDetail, account);
+ } else {
+ // 多个新账号,显示选择弹窗
+ setAvailableAccounts(newAvailableAccounts);
+ setAccountSelectVisible(true);
+ }
+ }
+ }
+ };
+
+ // 获取平台图标
+ const getPlatformIcon = (accountType: string) => {
+ const platInfo = AccountPlatInfoMap.get(accountType as PlatType);
+ return platInfo?.icon || '';
+ };
+
+
+ // 查看任务详情
+ const handleViewTaskDetail = async (opportunityId: string) => {
+ try {
+ setTaskDetailLoading(true);
+ const response: any = await getTaskDetail(opportunityId);
+ if (response && response.data && response.code === 0) {
+ setTaskDetail(response.data);
+ setTaskDetailModalVisible(true);
+ } else {
+ message.error(t('messages.getTaskDetailFailed'));
+ }
+ } catch (error) {
+ message.error(t('messages.getTaskDetailFailed'));
+ console.error("获取任务详情失败:", error);
+ } finally {
+ setTaskDetailLoading(false);
+ }
+ };
+
+ // 查看已接受任务详情
+ const handleViewAcceptedTaskDetail = async (taskId: string) => {
+ try {
+ setAcceptedTaskDetailLoading(true);
+ setCurrentTaskId(taskId);
+ const response: any = await apiGetUserTaskDetail(taskId);
+ if (response && response.data && response.code === 0) {
+ setAcceptedTaskDetail(response.data);
+ setAcceptedTaskDetailModalVisible(true);
+ } else {
+ message.error(t('messages.getTaskDetailFailed'));
+ }
+ } catch (error) {
+ message.error(t('messages.getTaskDetailFailed'));
+ console.error("获取任务详情失败:", error);
+ } finally {
+ setAcceptedTaskDetailLoading(false);
+ }
+ };
+
+ // 从任务详情接受任务
+ const handleAcceptTaskFromDetail = async (task: any, account?: SocialAccount) => {
+
+ if (!task) return;
+
+ // 关闭详情弹窗
+ setTaskDetailModalVisible(false);
+
+ // 显示进度弹窗
+ setTaskProgressVisible(true);
+ setTaskProgress({
+ currentStep: 0,
+ steps: [
+ { title: '正在接受任务...', status: 'processing' },
+ { title: '正在发布任务...', status: 'wait' },
+ { title: '正在提交任务...', status: 'wait' },
+ { title: '任务完成', status: 'wait' }
+ ]
+ });
+
+ try {
+ // 第一步:接受任务
+ const response: any = await acceptTask(task.id, task.opportunityId, account?.id);
+ if (response && response.code === 0 && response.data.id) {
+ // 更新进度:第一步完成,开始第二步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 1,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'finish' },
+ { title: t('publishingTask' as any), status: 'processing' },
+ { title: t('submittingTask' as any), status: 'wait' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ }));
+
+ // 第二步:发布任务
+ const publishAccount = account || getAccountById(task.accountId);
+ if (publishAccount) {
+ // 处理素材链接,确保使用完整链接
+ const processedMaterials = task.materials?.map((material: any) => ({
+ ...material,
+ coverUrl: material.coverUrl ? getOssUrl(material.coverUrl) : undefined,
+ mediaList: material.mediaList?.map((media: any) => ({
+ ...media,
+ url: getOssUrl(media.url),
+ coverUrl: media.coverUrl ? getOssUrl(media.coverUrl) : undefined
+ }))
+ }));
+
+
+
+ const publishData = {
+ flowId: publishAccount.uid, // 使用账号的uid作为flowId
+ accountType: publishAccount.type,
+ accountId: publishAccount.account,
+ title: task.title,
+ desc: task.description,
+ type: task.type as any, // 转换为PubType
+ // 处理素材数据
+ videoUrl: processedMaterials?.[0]?.mediaList?.[0]?.type === 'video' ?
+ getOssUrl(processedMaterials[0].mediaList[0].url) : undefined,
+ coverUrl: processedMaterials?.[0]?.coverUrl,
+ imgUrlList: processedMaterials?.flatMap((material: any) =>
+ material.mediaList?.filter((media: any) => media.type !== 'video')
+ .map((media: any) => getOssUrl(media.url)) || []
+ ),
+ option: {},
+ topics: [],
+ publishTime: getUtcDays(getDays().add(6, "minute")).format(),
+ userTaskId: response.data.id,
+ taskMaterialId: task.materialIds[0]
+ };
+
+ const publishResponse: any = await apiCreatePublish(publishData);
+
+
+ console.log("publishResponse", publishResponse);
+ // return false;
+
+ if (publishResponse && publishResponse.code === 0) {
+ // 更新进度:第二步完成,开始第三步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 2,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'finish' },
+ { title: t('publishingTask' as any), status: 'finish' },
+ { title: t('submittingTask' as any), status: 'processing' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ }));
+
+ // 第三步:提交任务
+ const userTaskId = response.data.id;
+ const submitResponse: any = await submitTask(userTaskId, task.materialIds[0]);
+
+ if (submitResponse && submitResponse.code === 0) {
+ // 更新进度:第三步完成,开始第四步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 3,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'finish' },
+ { title: t('publishingTask' as any), status: 'finish' },
+ { title: t('submittingTask' as any), status: 'finish' },
+ { title: t('taskCompleted' as any), status: 'finish' }
+ ]
+ }));
+
+ // 延迟1秒后关闭进度窗口并刷新任务列表
+ setTimeout(() => {
+ setTaskProgressVisible(false);
+ setTaskDetail(null);
+ fetchPendingTasks();
+ fetchAcceptedTasks();
+ setActiveTab("accepted");
+ }, 1000);
+ } else {
+ throw new Error('提交任务失败');
+ }
+ } else {
+ throw new Error('发布任务失败');
+ }
+ } else {
+ throw new Error('找不到发布账号信息');
+ }
+ } else {
+ throw new Error('接受任务失败');
+ }
+ } catch (error) {
+ console.error("任务处理失败:", error);
+ message.error("任务处理失败");
+ setTaskProgressVisible(false);
+ }
+ };
+
+ // 已经接受没有完成的任务 去完成
+ const handleCompleteTask = async () => {
+ if (!currentTaskId) return;
+
+ // 显示进度弹窗
+ setTaskProgressVisible(true);
+ setTaskProgress({
+ currentStep: 0,
+ steps: [
+ { title: t('completeTask' as any), status: 'processing' },
+ { title: t('publishingTask' as any), status: 'wait' },
+ { title: t('submittingTask' as any), status: 'wait' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ });
+
+ try {
+ // 更新进度:第一步完成,开始第二步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 1,
+ steps: [
+ { title: '正在完成任务...', status: 'finish' },
+ { title: '正在发布任务...', status: 'processing' },
+ { title: '正在提交任务...', status: 'wait' },
+ { title: '任务完成', status: 'wait' }
+ ]
+ }));
+
+ // 第二步:发布任务
+ const publishAccount = getAccountById(acceptedTaskDetail.accountId);
+ if (publishAccount) {
+ // 处理素材链接,确保使用完整链接
+ const processedMaterials = acceptedTaskDetail.task?.materials?.map((material: any) => ({
+ ...material,
+ coverUrl: material.coverUrl ? getOssUrl(material.coverUrl) : undefined,
+ mediaList: material.mediaList?.map((media: any) => ({
+ ...media,
+ url: getOssUrl(media.url),
+ coverUrl: media.coverUrl ? getOssUrl(media.coverUrl) : undefined
+ }))
+ }));
+
+ const publishData = {
+ flowId: publishAccount.uid, // 使用账号的uid作为flowId
+ accountType: publishAccount.type,
+ accountId: publishAccount.account,
+ title: acceptedTaskDetail.task?.title,
+ desc: acceptedTaskDetail.task?.description,
+ type: acceptedTaskDetail.task?.type as any, // 转换为PubType
+ // 处理素材数据
+ videoUrl: processedMaterials?.[0]?.mediaList?.[0]?.type === 'video' ?
+ getOssUrl(processedMaterials[0].mediaList[0].url) : undefined,
+ coverUrl: processedMaterials?.[0]?.coverUrl,
+ imgUrlList: processedMaterials?.flatMap((material: any) =>
+ material.mediaList?.filter((media: any) => media.type !== 'video')
+ .map((media: any) => getOssUrl(media.url)) || []
+ ),
+ option: {},
+ topics: [],
+ publishTime: getUtcDays(getDays().add(6, "minute")).format(),
+ userTaskId: acceptedTaskDetail.task?.id,
+ taskMaterialId: acceptedTaskDetail.task?.materialIds[0]
+
+ };
+
+ const publishResponse: any = await apiCreatePublish(publishData);
+ if (publishResponse && publishResponse.code === 0) {
+ // 更新进度:第二步完成,开始第三步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 2,
+ steps: [
+ { title: '正在完成任务...', status: 'finish' },
+ { title: '正在发布任务...', status: 'finish' },
+ { title: '正在提交任务...', status: 'processing' },
+ { title: '任务完成', status: 'wait' }
+ ]
+ }));
+
+ // 第三步:提交任务
+ const userTaskId = acceptedTaskDetail.id;
+ const submitResponse: any = await submitTask(userTaskId, acceptedTaskDetail.task?.materialIds[0]);
+
+ if (submitResponse && submitResponse.code === 0) {
+ // 更新进度:第三步完成,开始第四步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 3,
+ steps: [
+ { title: '正在完成任务...', status: 'finish' },
+ { title: '正在发布任务...', status: 'finish' },
+ { title: '正在提交任务...', status: 'finish' },
+ { title: '任务完成', status: 'finish' }
+ ]
+ }));
+
+ // 延迟1秒后关闭进度窗口并刷新任务列表
+ setTimeout(() => {
+ setTaskProgressVisible(false);
+ setAcceptedTaskDetailModalVisible(false);
+ setAcceptedTaskDetail(null);
+ setCurrentTaskId(null);
+ fetchAcceptedTasks();
+ }, 1000);
+ } else {
+ throw new Error('提交任务失败');
+ }
+ } else {
+ throw new Error('发布任务失败');
+ }
+ } else {
+ throw new Error('找不到发布账号信息');
+ }
+
+ } catch (error) {
+ console.error("任务处理失败:", error);
+ message.error("任务处理失败");
+ setTaskProgressVisible(false);
+ }
+ };
+
+ // 处理待接受任务分页变化
+ const handlePendingPageChange = (page: number, pageSize?: number) => {
+ fetchPendingTasks(page, pageSize || pendingPagination.pageSize);
+ };
+
+ // 处理已接受任务分页变化
+ const handleAcceptedPageChange = (page: number, pageSize?: number) => {
+ fetchAcceptedTasks(page, pageSize || acceptedPagination.pageSize);
+ };
+
+ // 处理媒体点击
+ const handleMediaClick = (media: any, materialTitle?: string) => {
+ if (media.type === 'video') {
+ setPreviewMedia({
+ type: 'video',
+ url: getOssUrl(media.url),
+ title: materialTitle
+ });
+ } else {
+ setPreviewMedia({
+ type: 'image',
+ url: getOssUrl(media.url),
+ title: materialTitle
+ });
+ }
+ setMediaPreviewVisible(true);
+ };
+
+ // 处理视频封面点击
+ const handleVideoCoverClick = (media: any, materialTitle?: string) => {
+ setPreviewMedia({
+ type: 'video',
+ url: getOssUrl(media.url),
+ title: materialTitle
+ });
+ setMediaPreviewVisible(true);
+ };
+
+ // 关闭媒体预览
+ const handleCloseMediaPreview = () => {
+ // 停止视频播放
+ if (videoRef) {
+ videoRef.pause();
+ videoRef.currentTime = 0;
+ }
+ setMediaPreviewVisible(false);
+ setPreviewMedia(null);
+ setVideoRef(null);
+ };
+
+ useEffect(() => {
+ if (token) {
+ fetchPendingTasks();
+ fetchAcceptedTasks();
+ fetchAccountList();
+ }
+ }, [token]);
+
+ // 监听账号列表变化,检查是否有新添加的符合条件账号
+ useEffect(() => {
+ if (accountList.length > 0) {
+ checkForNewAccounts();
+ }
+ }, [accountList, requiredAccountTypes, taskDetail]);
+
+ return (
+ <div className={styles.taskPage}>
+ {/* <div className={styles.header}>
+ <h1>任务中心</h1>
+ <p>接受任务,完成任务,获得奖励</p>
+ </div> */}
+
+ <Tabs
+ activeKey={activeTab}
+ onChange={setActiveTab}
+ className={styles.tabs}
+ >
+ <TabPane
+ tab={
+ <span>
+ <ClockCircleOutlined />
+ &nbsp; {t('pendingTasks')}
+ </span>
+ }
+ key="pending"
+ >
+ <Spin spinning={loading}>
+ {pendingTasks.length > 0 ? (
+ <div>
+ <div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fill, minmax(350px, 1fr))', gap: '16px', marginBottom: '16px' }}>
+ {pendingTasks.map((task: any) => {
+ const publishAccount = getAccountById(task.accountId);
+ return (
+ <Card
+ key={task.id}
+ className={styles.taskCard}
+ style={{ marginBottom: 0 }}
+ >
+ <div className={styles.taskHeader}>
+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
+ {/* 显示多个平台图标 */}
+ <div style={{ display: 'flex', gap: '4px' }}>
+ {(task.accountTypes && task.accountTypes.length > 0 ? task.accountTypes : [task.accountType]).map((platformType: string, index: number) => (
+ <img
+ key={platformType}
+ src={getPlatformIcon(platformType)}
+ alt="platform"
+ style={{ width: '20px', height: '20px' }}
+ />
+ ))}
+ </div>
+ <h3 style={{ margin: 0, fontSize: '16px' }}>
+ {task.accountTypes && task.accountTypes.length > 0
+ ? `${task.accountTypes.map((type: string) => getPlatformName(type)).join('、')}任务`
+ : `${getPlatformName(task.accountType)}任务`
+ }
+ </h3>
+ </div>
+ <Tag color="orange">{t('taskStatus.pending' as any)}</Tag>
+ </div>
+
+ <div className={styles.taskContent}>
+ <div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '12px' }}>
+ <span><strong>{t('taskInfo.publishTime' as any)}:</strong>{formatTime(task.createdAt)}</span>
+ <span><strong>{t('taskInfo.endTime' as any)}:</strong>{formatAbsoluteTime(task.expiredAt)}</span>
+ </div>
+
+ <div style={{ marginBottom: '12px' }}>
+ <strong>{t('taskInfo.reward' as any)}:</strong>
+ <span style={{ color: '#f50', fontWeight: 'bold' }}>¥ {task.reward/100}</span>
+ </div>
+
+
+ {/* 发布账号信息 */}
+ {publishAccount && (
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px',
+ padding: '8px',
+ backgroundColor: '#f8f9fa',
+ borderRadius: '6px',
+ marginBottom: '12px'
+ }}>
+ <img
+ src={publishAccount.avatar ? getOssUrl(publishAccount.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '32px',
+ height: '32px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ <div>
+ <div style={{ fontWeight: '500', fontSize: '14px' }}>
+ {publishAccount.nickname}
+ </div>
+ <div style={{ fontSize: '12px', color: '#666' }}>
+ {getPlatformName(publishAccount.type)}
+ </div>
+ </div>
+ </div>
+ )}
+ </div>
+
+ <div className={styles.taskActions}>
+ <Button
+ type="primary"
+ onClick={() => handleViewTaskDetail(task.id)}
+ icon={<EyeOutlined />}
+ style={{ width: '100%' }}
+ >
+ {t('viewDetails')}
+ </Button>
+ </div>
+ </Card>
+ );
+ })}
+ </div>
+ <div style={{ textAlign: 'center', marginTop: '16px' }}>
+ <Pagination
+ current={pendingPagination.current}
+ pageSize={pendingPagination.pageSize}
+ total={pendingPagination.total}
+ onChange={handlePendingPageChange}
+ onShowSizeChange={handlePendingPageChange}
+ showSizeChanger
+ showQuickJumper
+ showTotal={(total, range) => t('messages.pageInfo' as any, { start: range[0], end: range[1], total })}
+ pageSizeOptions={['10', '20', '50', '100']}
+ />
+ </div>
+ </div>
+ ) : (
+ <Empty description={t('messages.noPendingTasks')} />
+ )}
+ </Spin>
+ </TabPane>
+
+ <TabPane
+ tab={
+ <span>
+ <PlayCircleOutlined />
+ &nbsp; {t('acceptedTasks')}
+ </span>
+ }
+ key="accepted"
+ >
+ <Spin spinning={loading}>
+ {acceptedTasks.length > 0 ? (
+ <div>
+ <div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fill, minmax(350px, 1fr))', gap: '16px', marginBottom: '16px' }}>
+ {acceptedTasks.map((task: any) => {
+ const publishAccount = getAccountById(task.accountId);
+ return (
+ <Card
+ key={task.id}
+ className={styles.taskCard}
+ style={{ marginBottom: 0 }}
+ >
+ <div className={styles.taskHeader}>
+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
+ {/* 显示多个平台图标 */}
+ <div style={{ display: 'flex', gap: '4px' }}>
+ {(task.accountTypes && task.accountTypes.length > 0 ? task.accountTypes : [task.accountType]).map((platformType: string, index: number) => (
+ <img
+ key={platformType}
+ src={getPlatformIcon(platformType)}
+ alt="platform"
+ style={{ width: '20px', height: '20px' }}
+ />
+ ))}
+ </div>
+ <h3 style={{ margin: 0, fontSize: '16px' }}>
+ {task.accountTypes && task.accountTypes.length > 0
+ ? `${task.accountTypes.map((type: string) => getPlatformName(type)).join('、')}任务`
+ : `${getPlatformName(task.accountType)}任务`
+ }
+ </h3>
+ </div>
+ <Tag color={getTaskStatusTag(task.status).color}>
+ {getTaskStatusTag(task.status).text}
+ </Tag>
+ </div>
+
+ <div className={styles.taskContent}>
+ <div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '12px' }}>
+ <span><strong>{t('taskInfo.acceptTime' as any)}:</strong>{formatTime(task.createdAt)}</span>
+ <span> </span>
+ </div>
+
+ <div style={{ marginBottom: '12px' }}>
+ <strong>{t('taskInfo.reward' as any)}:</strong>
+ <span style={{ color: '#f50', fontWeight: 'bold' }}>¥ {task.reward/100}</span>
+ </div>
+
+ {/* 发布账号信息 */}
+ {publishAccount && (
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px',
+ padding: '8px',
+ backgroundColor: '#f8f9fa',
+ borderRadius: '6px',
+ marginBottom: '12px'
+ }}>
+ <img
+ src={publishAccount.avatar ? getOssUrl(publishAccount.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '32px',
+ height: '32px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ <div>
+ <div style={{ fontWeight: '500', fontSize: '14px' }}>
+ {publishAccount.nickname}
+ </div>
+ <div style={{ fontSize: '12px', color: '#666' }}>
+ {getPlatformName(publishAccount.type)}
+ </div>
+ </div>
+ </div>
+ )}
+ </div>
+
+ <div className={styles.taskActions}>
+ <Button
+ type="primary"
+ onClick={() => handleViewAcceptedTaskDetail(task.id)}
+ icon={<EyeOutlined />}
+ style={{ width: '100%' }}
+ >
+ {t('viewDetails')}
+ </Button>
+ </div>
+ </Card>
+ );
+ })}
+ </div>
+ <div style={{ textAlign: 'center', marginTop: '16px' }}>
+ <Pagination
+ current={acceptedPagination.current}
+ pageSize={acceptedPagination.pageSize}
+ total={acceptedPagination.total}
+ onChange={handleAcceptedPageChange}
+ onShowSizeChange={handleAcceptedPageChange}
+ showSizeChanger
+ showQuickJumper
+ showTotal={(total, range) => t('messages.pageInfo' as any, { start: range[0], end: range[1], total })}
+ pageSizeOptions={['10', '20', '50', '100']}
+ />
+ </div>
+ </div>
+ ) : (
+ <Empty description={t('messages.noAcceptedTasks')} />
+ )}
+ </Spin>
+ </TabPane>
+ </Tabs>
+
+ {/* 提交任务弹窗 */}
+ <Modal
+ title={t('modal.submitTask')}
+ open={submitModalVisible}
+ onCancel={() => setSubmitModalVisible(false)}
+ confirmLoading={submittingTaskId !== null}
+ okText={t('modal.confirmSubmit')}
+ cancelText={t('modal.cancel')}
+ >
+ <div style={{ marginBottom: '16px' }}>
+ <label>{t('modal.submitLink')}:</label>
+ <Input
+ value={submissionUrl}
+ onChange={(e) => setSubmissionUrl(e.target.value)}
+ placeholder={t('modal.submitLinkPlaceholder')}
+ style={{ marginTop: '8px' }}
+ />
+ </div>
+ <p style={{ color: '#666', fontSize: '12px' }}>
+ {t('modal.submitTip')}
+ </p>
+ </Modal>
+
+ {/* 任务详情弹窗 */}
+ <Modal
+ title={t('taskDetails')}
+ open={taskDetailModalVisible}
+ onCancel={() => {
+ setTaskDetailModalVisible(false);
+ setTaskDetail(null);
+ }}
+ footer={[
+
+ ]}
+ width={800}
+ zIndex={2000}
+ styles={{
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ paddingBottom: '16px'
+ },
+ body: {
+ padding: '24px'
+ }
+ }}
+ >
+ <Spin spinning={taskDetailLoading}>
+ {taskDetail ? (
+ <div>
+ {/* 视频发布风格布局 */}
+ <div style={{
+ display: 'flex',
+ gap: '24px',
+ marginBottom: '24px'
+ }}>
+ {/* 左侧:视频/媒体内容 */}
+ <div style={{ flex: '0 0 400px' }}>
+ {taskDetail.materials && taskDetail.materials.length > 0 && (
+ <div style={{
+ border: '1px solid #e8e8e8',
+ borderRadius: '12px',
+ overflow: 'hidden',
+ backgroundColor: '#000'
+ }}>
+ {taskDetail.materials[0].mediaList && taskDetail.materials[0].mediaList.length > 0 && (
+ <div style={{ position: 'relative', cursor: 'pointer' }}>
+ {taskDetail.materials[0].mediaList[0].type === 'video' ? (
+ <div
+ style={{
+ position: 'relative',
+ overflow: 'hidden'
+ }}
+ onClick={() => handleVideoCoverClick(taskDetail.materials[0].mediaList[0], taskDetail.title)}
+ >
+ {/* 视频封面图片 */}
+ <img
+ src={taskDetail.materials[0].coverUrl ? getOssUrl(taskDetail.materials[0].coverUrl) : getOssUrl(taskDetail.materials[0].mediaList[0].url)}
+ alt="video cover"
+ style={{
+ width: '100%',
+ height: 'auto',
+ display: 'block'
+ }}
+ />
+ {/* 播放按钮 */}
+ <div style={{
+ position: 'absolute',
+ top: '50%',
+ left: '50%',
+ transform: 'translate(-50%, -50%)',
+ color: 'white',
+ fontSize: '24px',
+ background: 'rgba(0,0,0,0.7)',
+ borderRadius: '50%',
+ width: '60px',
+ height: '60px',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ transition: 'all 0.3s ease'
+ }}>
+ ▶
+ </div>
+ </div>
+ ) : (
+ <img
+ src={getOssUrl(taskDetail.materials[0].mediaList[0].url)}
+ alt="media"
+ style={{
+ width: '100%',
+ height: 'auto',
+ display: 'block'
+ }}
+ onClick={() => handleMediaClick(taskDetail.materials[0].mediaList[0], taskDetail.title)}
+ />
+ )}
+ </div>
+ )}
+ </div>
+ )}
+ </div>
+
+ {/* 右侧:标题和描述 */}
+ <div style={{ flex: '1', minWidth: '300px' }}>
+ {/* 标题区域 */}
+ <div style={{ marginBottom: '16px' }}>
+ <h2 style={{
+ margin: '0 0 8px 0',
+ fontSize: '20px',
+ fontWeight: '600',
+ lineHeight: '1.4',
+ color: '#1a1a1a'
+ }}>
+ {taskDetail.title}
+ </h2>
+
+
+ {/* 发布账号信息 */}
+ {taskDetail.accountId && (() => {
+ const publishAccount = getAccountById(taskDetail.accountId);
+ return publishAccount ? (
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px',
+ marginBottom: '12px'
+ }}>
+ <img
+ src={publishAccount.avatar ? getOssUrl(publishAccount.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '32px',
+ height: '32px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ <div>
+ <div style={{
+ fontSize: '14px',
+ fontWeight: '500',
+ color: '#1a1a1a'
+ }}>
+ {publishAccount.nickname}
+ </div>
+ <div style={{
+ fontSize: '12px',
+ color: '#666'
+ }}>
+ {getPlatformName(publishAccount.type)}
+ </div>
+ </div>
+ </div>
+ ) : null;
+ })()}
+ </div>
+
+ {/* 描述区域 */}
+ <div style={{
+ marginBottom: '16px',
+ padding: '16px',
+ backgroundColor: '#f8f9fa',
+ borderRadius: '8px',
+ border: '1px solid #e9ecef'
+ }}>
+ <div style={{
+ fontSize: '14px',
+ lineHeight: '1.6',
+ color: '#495057'
+ }}>
+ <div dangerouslySetInnerHTML={{ __html: taskDetail.description }} />
+ </div>
+ </div>
+
+ {/* 任务信息卡片 */}
+ <div style={{
+ display: 'flex',
+ gap: '12px',
+ marginBottom: '16px'
+ }}>
+ <div style={{
+ flex: '1',
+ padding: '12px',
+ backgroundColor: '#fff3cd',
+ border: '1px solid #ffeaa7',
+ borderRadius: '8px',
+ textAlign: 'center'
+ }}>
+ <div style={{
+ fontSize: '12px',
+ color: '#856404',
+ marginBottom: '4px'
+ }}>
+ {t('taskInfo.reward' as any)}
+ </div>
+ <div style={{
+ fontSize: '18px',
+ fontWeight: 'bold',
+ color: '#d63031'
+ }}>
+ ¥ {taskDetail.reward/100}
+ </div>
+ </div>
+
+ <div style={{
+ flex: '1',
+ padding: '12px',
+ backgroundColor: '#d1ecf1',
+ border: '1px solid #bee5eb',
+ borderRadius: '8px',
+ textAlign: 'center'
+ }}>
+ <div style={{
+ fontSize: '12px',
+ color: '#0c5460',
+ marginBottom: '4px'
+ }}>
+ {t('taskInfo.type' as any)}
+ </div>
+ <div style={{
+ fontSize: '14px',
+ fontWeight: '500',
+ color: '#0c5460'
+ }}>
+ {getTaskTypeName(taskDetail.type)}
+ </div>
+ </div>
+ </div>
+
+ {/* 支持的平台类型 */}
+ {taskDetail.accountTypes && taskDetail.accountTypes.length > 0 && (
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px',
+ marginBottom: '12px'
+ }}>
+ <span style={{ fontSize: '14px', color: '#666' }}>支持平台:</span>
+ <div style={{ display: 'flex', gap: '8px' }}>
+ {taskDetail.accountTypes.map((platformType: string) => (
+ <img
+ key={platformType}
+ src={getPlatformIcon(platformType)}
+ alt={platformType}
+ style={{ width: '25px', height: '25px' }}
+ />
+ ))}
+ </div>
+ </div>
+ )}
+ </div>
+ </div>
+
+ {/* 底部状态栏 */}
+ <div style={{
+ display: 'flex',
+ justifyContent: 'space-between',
+ alignItems: 'center',
+ padding: '16px 0',
+ borderTop: '1px solid #e8e8e8',
+ marginTop: '16px'
+ }}>
+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px' }}>
+ <Tag
+ color={taskDetail.status === 'active' ? 'green' : 'red'}
+ style={{
+ fontSize: '12px',
+ padding: '4px 8px'
+ }}
+ >
+ {taskDetail.status === 'active' ? t('taskStatus.active' as any) : t('taskStatus.inactive' as any)}
+ </Tag>
+ <span style={{
+ fontSize: '12px',
+ color: '#666'
+ }}>
+ {taskDetail.status === 'active' ? t('messages.taskInProgress' as any) : t('messages.taskEnded' as any)}
+ </span>
+ </div>
+
+ <div style={{
+ fontSize: '12px',
+ color: '#999'
+ }}>
+ {taskDetail.currentRecruits && taskDetail.maxRecruits && (
+ <span>
+ {t('messages.acceptedCount' as any, { current: taskDetail.currentRecruits, max: taskDetail.maxRecruits })}
+ </span>
+ )}
+ </div>
+ </div>
+
+ {/* 根据任务状态显示不同按钮 */}
+ {(() => {
+ // 如果是待接受任务,显示接受任务按钮
+ if (taskDetail.status === 'active' && taskDetail.currentRecruits < taskDetail.maxRecruits) {
+ return (
+ <div style={{ textAlign: 'center' }}>
+ <Button
+ type="primary"
+ size="large"
+ onClick={() => handleTaskAction(taskDetail)}
+ style={{ marginTop: '12px' }}
+ >
+ {t('acceptTask')}
+ </Button>
+ </div>
+ );
+ }
+
+ return null;
+ })()}
+ </div>
+ ) : !taskDetailLoading && (
+ <div style={{ textAlign: 'center', color: '#999' }}>
+ {t('messages.noTaskDetails')}
+ </div>
+ )}
+ </Spin>
+ </Modal>
+
+ {/* 已接受任务详情弹窗 */}
+ <Modal
+ title={t('taskDetails')}
+ open={acceptedTaskDetailModalVisible}
+ onCancel={() => {
+ setAcceptedTaskDetailModalVisible(false);
+ setAcceptedTaskDetail(null);
+ }}
+ footer={[
+
+ ]}
+ width={800}
+ zIndex={2000}
+ styles={{
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ paddingBottom: '16px'
+ },
+ body: {
+ padding: '24px'
+ }
+ }}
+ >
+ <Spin spinning={acceptedTaskDetailLoading}>
+ {acceptedTaskDetail ? (
+ <div>
+ {/* 视频发布风格布局 */}
+ <div style={{
+ display: 'flex',
+ gap: '24px',
+ marginBottom: '24px'
+ }}>
+ {/* 左侧:视频/媒体内容 */}
+ <div style={{ flex: '0 0 400px' }}>
+ {acceptedTaskDetail.task?.materials && acceptedTaskDetail.task.materials.length > 0 && (
+ <div style={{
+ border: '1px solid #e8e8e8',
+ borderRadius: '12px',
+ overflow: 'hidden',
+ backgroundColor: '#000'
+ }}>
+ {acceptedTaskDetail.task.materials[0].mediaList && acceptedTaskDetail.task.materials[0].mediaList.length > 0 && (
+ <div style={{ position: 'relative', cursor: 'pointer' }}>
+ {acceptedTaskDetail.task.materials[0].mediaList[0].type === 'video' ? (
+ <div
+ style={{
+ position: 'relative',
+ overflow: 'hidden'
+ }}
+ onClick={() => handleVideoCoverClick(acceptedTaskDetail.task.materials[0].mediaList[0], acceptedTaskDetail.task.title)}
+ >
+ {/* 视频封面图片 */}
+ <img
+ src={acceptedTaskDetail.task.materials[0].coverUrl ? getOssUrl(acceptedTaskDetail.task.materials[0].coverUrl) : getOssUrl(acceptedTaskDetail.task.materials[0].mediaList[0].url)}
+ alt="video cover"
+ style={{
+ width: '100%',
+ height: 'auto',
+ display: 'block'
+ }}
+ />
+ {/* 播放按钮 */}
+ <div style={{
+ position: 'absolute',
+ top: '50%',
+ left: '50%',
+ transform: 'translate(-50%, -50%)',
+ color: 'white',
+ fontSize: '24px',
+ background: 'rgba(0,0,0,0.7)',
+ borderRadius: '50%',
+ width: '60px',
+ height: '60px',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ transition: 'all 0.3s ease'
+ }}>
+ ▶
+ </div>
+ </div>
+ ) : (
+ <img
+ src={getOssUrl(acceptedTaskDetail.task.materials[0].mediaList[0].url)}
+ alt="media"
+ style={{
+ width: '100%',
+ height: 'auto',
+ display: 'block'
+ }}
+ onClick={() => handleMediaClick(acceptedTaskDetail.task.materials[0].mediaList[0], acceptedTaskDetail.task.title)}
+ />
+ )}
+ </div>
+ )}
+ </div>
+ )}
+ </div>
+
+ {/* 右侧:标题和描述 */}
+ <div style={{ flex: '1', minWidth: '300px' }}>
+ {/* 标题区域 */}
+ <div style={{ marginBottom: '16px' }}>
+ <h2 style={{
+ margin: '0 0 8px 0',
+ fontSize: '20px',
+ fontWeight: '600',
+ lineHeight: '1.4',
+ color: '#1a1a1a'
+ }}>
+ {acceptedTaskDetail.task?.title}
+ </h2>
+
+ {/* 发布账号信息 */}
+ {acceptedTaskDetail.accountId && (() => {
+ const publishAccount = getAccountById(acceptedTaskDetail.accountId);
+ return publishAccount ? (
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px',
+ marginBottom: '12px'
+ }}>
+ <img
+ src={publishAccount.avatar ? getOssUrl(publishAccount.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '32px',
+ height: '32px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ <div>
+ <div style={{
+ fontSize: '14px',
+ fontWeight: '500',
+ color: '#1a1a1a'
+ }}>
+ {publishAccount.nickname}
+ </div>
+ <div style={{
+ fontSize: '12px',
+ color: '#666'
+ }}>
+ {getPlatformName(publishAccount.type)}
+ </div>
+ </div>
+ </div>
+ ) : null;
+ })()}
+ </div>
+
+ {/* 描述区域 */}
+ <div style={{
+ marginBottom: '16px',
+ padding: '16px',
+ backgroundColor: '#f8f9fa',
+ borderRadius: '8px',
+ border: '1px solid #e9ecef'
+ }}>
+ <div style={{
+ fontSize: '14px',
+ lineHeight: '1.6',
+ color: '#495057'
+ }}>
+ <div dangerouslySetInnerHTML={{ __html: acceptedTaskDetail.task?.description }} />
+ </div>
+ </div>
+
+ {/* 任务信息卡片 */}
+ <div style={{
+ display: 'flex',
+ gap: '12px',
+ marginBottom: '16px'
+ }}>
+ <div style={{
+ flex: '1',
+ padding: '12px',
+ backgroundColor: '#fff3cd',
+ border: '1px solid #ffeaa7',
+ borderRadius: '8px',
+ textAlign: 'center'
+ }}>
+ <div style={{
+ fontSize: '12px',
+ color: '#856404',
+ marginBottom: '4px'
+ }}>
+ {t('taskInfo.reward' as any)}
+ </div>
+ <div style={{
+ fontSize: '18px',
+ fontWeight: 'bold',
+ color: '#d63031'
+ }}>
+ ¥ {acceptedTaskDetail.reward/100}
+ </div>
+ </div>
+
+ <div style={{
+ flex: '1',
+ padding: '12px',
+ backgroundColor: '#d1ecf1',
+ border: '1px solid #bee5eb',
+ borderRadius: '8px',
+ textAlign: 'center'
+ }}>
+ <div style={{
+ fontSize: '12px',
+ color: '#0c5460',
+ marginBottom: '4px'
+ }}>
+ {t('taskInfo.type' as any)}
+ </div>
+ <div style={{
+ fontSize: '14px',
+ fontWeight: '500',
+ color: '#0c5460'
+ }}>
+ {getTaskTypeName(acceptedTaskDetail.task?.type)}
+ </div>
+ </div>
+ </div>
+
+ {/* 任务状态信息 */}
+ <div style={{
+ display: 'flex',
+ gap: '12px',
+ marginBottom: '16px'
+ }}>
+ <div style={{
+ flex: '1',
+ padding: '12px',
+ backgroundColor: '#e2e3e5',
+ border: '1px solid #d6d8db',
+ borderRadius: '8px',
+ textAlign: 'center'
+ }}>
+ <div style={{
+ fontSize: '12px',
+ color: '#495057',
+ marginBottom: '4px'
+ }}>
+ 接受时间
+ </div>
+ <div style={{
+ fontSize: '12px',
+ fontWeight: '500',
+ color: '#495057'
+ }}>
+ {formatTime(acceptedTaskDetail.createdAt)}
+ </div>
+ </div>
+
+ <div style={{
+ flex: '1',
+ padding: '12px',
+ backgroundColor: '#e2e3e5',
+ border: '1px solid #d6d8db',
+ borderRadius: '8px',
+ textAlign: 'center'
+ }}>
+ <div style={{
+ fontSize: '12px',
+ color: '#495057',
+ marginBottom: '4px'
+ }}>
+ 提交时间
+ </div>
+ <div style={{
+ fontSize: '12px',
+ fontWeight: '500',
+ color: '#495057'
+ }}>
+ {acceptedTaskDetail.submissionTime ? formatTime(acceptedTaskDetail.submissionTime) : '未提交'}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ {/* 底部状态栏 */}
+ <div style={{
+ display: 'flex',
+ justifyContent: 'space-between',
+ alignItems: 'center',
+ padding: '16px 0',
+ borderTop: '1px solid #e8e8e8',
+ marginTop: '16px'
+ }}>
+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px' }}>
+ <Tag
+ color={getTaskStatusTag(acceptedTaskDetail.status).color}
+ style={{
+ fontSize: '12px',
+ padding: '4px 8px'
+ }}
+ >
+ {getTaskStatusTag(acceptedTaskDetail.status).text}
+ </Tag>
+ <span style={{
+ fontSize: '12px',
+ color: '#666'
+ }}>
+ {acceptedTaskDetail.status === 'doing' ? '任务待完成' :
+ acceptedTaskDetail.status === 'pending' ? '任务已完成' :
+ '任务状态:' + acceptedTaskDetail.status}
+ </span>
+ </div>
+
+ <div style={{
+ fontSize: '12px',
+ color: '#999'
+ }}>
+ {acceptedTaskDetail.isFirstTimeSubmission && (
+ <span style={{ color: '#52c41a' }}>首次提交</span>
+ )}
+ </div>
+ </div>
+
+ {/* 根据任务状态显示不同按钮 */}
+ {(() => {
+ // 如果是已接受任务且状态为doing(待完成),显示完成任务按钮
+ if (acceptedTaskDetail.status === 'doing') {
+ return (
+ <div style={{ textAlign: 'center', marginTop: '16px' }}>
+ <Button
+ type="primary"
+ size="large"
+ onClick={handleCompleteTask}
+ style={{ marginTop: '12px' }}
+ >
+ {t('completeTask')}
+ </Button>
+ </div>
+ );
+ }
+
+ return null;
+ })()}
+ </div>
+ ) : !acceptedTaskDetailLoading && (
+ <div style={{ textAlign: 'center', color: '#999' }}>
+ {t('messages.noTaskDetails')}
+ </div>
+ )}
+ </Spin>
+ </Modal>
+
+ {/* 媒体预览弹窗 */}
+ <Modal
+ title={previewMedia?.title || t('modal.mediaPreview')}
+ open={mediaPreviewVisible}
+ onCancel={handleCloseMediaPreview}
+ afterClose={handleCloseMediaPreview}
+ footer={[
+ <Button key="close" onClick={handleCloseMediaPreview}>
+ {t('modal.close')}
+ </Button>
+ ]}
+ width={previewMedia?.type === 'video' ? 800 : 600}
+ zIndex={3000}
+ destroyOnClose={true}
+ styles={{
+ body: {
+ padding: '24px',
+ textAlign: 'center'
+ }
+ }}
+ >
+ {previewMedia && (
+ <div>
+ {previewMedia.type === 'video' ? (
+ <video
+ ref={setVideoRef}
+ src={previewMedia.url}
+ controls
+ style={{
+ width: '100%',
+ maxHeight: '500px',
+ borderRadius: '8px'
+ }}
+ autoPlay
+ onEnded={() => {
+ // 视频播放结束时重置到开始
+ if (videoRef) {
+ videoRef.currentTime = 0;
+ }
+ }}
+ />
+ ) : (
+ <img
+ src={previewMedia.url}
+ alt="preview"
+ style={{
+ width: '100%',
+ maxHeight: '500px',
+ objectFit: 'contain',
+ borderRadius: '8px'
+ }}
+ />
+ )}
+ </div>
+ )}
+ </Modal>
+
+ {/* 任务进度弹窗 */}
+ <Modal
+ title={t('taskProcessing')}
+ open={taskProgressVisible}
+ closable={false}
+ maskClosable={false}
+ footer={null}
+ width={500}
+ zIndex={3000}
+ styles={{
+ body: {
+ padding: '24px'
+ }
+ }}
+ >
+ <Steps
+ direction="vertical"
+ current={taskProgress.currentStep}
+ items={taskProgress.steps.map((step, index) => ({
+ title: step.title,
+ status: step.status as 'wait' | 'process' | 'finish' | 'error',
+ description: index === 0 ? (step.title.includes(t('completeTask' as any)) ? t('messages.taskProcessFailed') : t('messages.taskProcessFailed')) :
+ index === 1 ? t('messages.taskProcessFailed') :
+ index === 2 ? t('messages.taskProcessFailed') :
+ t('messages.taskProcessFailed')
+ }))}
+ />
+ </Modal>
+
+ {/* 账号选择弹窗 */}
+ <Modal
+ title={t('accountSelect.title' as any)}
+ open={accountSelectVisible}
+ onCancel={() => setAccountSelectVisible(false)}
+ footer={null}
+ width={600}
+ zIndex={2500}
+ styles={{
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ paddingBottom: '16px'
+ },
+ body: {
+ padding: '24px'
+ }
+ }}
+ >
+ <div style={{ marginBottom: '16px' }}>
+ <p style={{ margin: 0, color: '#666' }}>
+ {t('accountSelect.description' as any)}
+ </p>
+ </div>
+ <List
+ dataSource={availableAccounts}
+ renderItem={(account) => (
+ <List.Item
+ style={{
+ padding: '16px',
+ border: '1px solid #f0f0f0',
+ borderRadius: '8px',
+ marginBottom: '8px',
+ cursor: 'pointer',
+ transition: 'all 0.3s ease'
+ }}
+ onMouseEnter={(e) => {
+ e.currentTarget.style.borderColor = '#1890ff';
+ e.currentTarget.style.backgroundColor = '#f6ffed';
+ }}
+ onMouseLeave={(e) => {
+ e.currentTarget.style.borderColor = '#f0f0f0';
+ e.currentTarget.style.backgroundColor = 'transparent';
+ }}
+ onClick={() => handleAccountSelect(account)}
+ >
+ <List.Item.Meta
+ avatar={
+ <img
+ src={account.avatar ? getOssUrl(account.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '48px',
+ height: '48px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ }
+ title={
+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
+ <span style={{ fontWeight: '500' }}>{account.nickname}</span>
+ <Tag color="blue">{getPlatformName(account.type)}</Tag>
+ </div>
+ }
+ description={
+ <div style={{ color: '#666' }}>
+ <div>{t('accountSelect.accountId' as any)}: {account.account}</div>
+ {account.nickname && <div>昵称: {account.nickname}</div>}
+ </div>
+ }
+ />
+ </List.Item>
+ )}
+ />
+ </Modal>
+
+ {/* 下载App提示弹窗 */}
+ <DownloadAppModal
+ visible={downloadAppVisible}
+ onClose={() => setDownloadAppVisible(false)}
+ platform={downloadAppConfig.platform}
+ appName={downloadAppConfig.appName}
+ downloadUrl={downloadAppConfig.downloadUrl}
+ qrCodeUrl={downloadAppConfig.qrCodeUrl}
+ zIndex={3000}
+ />
+ </div>
+ );
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/vip/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/vip/page.tsx
new file mode 100644
index 00000000..c8058660
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/vip/page.tsx
@@ -0,0 +1,209 @@
+"use client";
+
+import { useState, useEffect } from "react";
+import { CrownOutlined, TrophyOutlined, GiftOutlined, StarOutlined, RocketOutlined, DollarOutlined, HistoryOutlined, ThunderboltOutlined } from "@ant-design/icons";
+import { message } from "antd";
+import { useRouter } from "next/navigation";
+import { createPaymentOrderApi, PaymentType } from "@/api/vip";
+import { useUserStore } from "@/store/user";
+import styles from "./vip.module.css";
+import { useTransClient } from "@/app/i18n/client";
+
+export default function VipPage() {
+ const router = useRouter();
+ const { userInfo, lang } = useUserStore();
+ const { t } = useTransClient('vip');
+ const [selectedPlan, setSelectedPlan] = useState('month'); // 默认选择连续月费会员
+ const [loading, setLoading] = useState(false);
+ const [canUseTrial, setCanUseTrial] = useState(false); // 是否可以使用免费试用
+
+ // 检查用户是否可以享受免费试用
+ useEffect(() => {
+ if (userInfo) {
+ // 如果用户没有vipInfo,说明从未开过会员,可以享受免费试用
+ const hasVipInfo = userInfo.vipInfo && Object.keys(userInfo.vipInfo).length > 0;
+ setCanUseTrial(!hasVipInfo);
+ }
+ }, [userInfo]);
+
+ // 会员权益数据 (8个)
+ const vipBenefits = [
+ { icon: <CrownOutlined />, name: t('vipBenefits.exclusiveBadge') },
+ { icon: <TrophyOutlined />, name: t('vipBenefits.advancedFeatures') },
+ { icon: <GiftOutlined />, name: t('vipBenefits.memberGift') },
+ { icon: <StarOutlined />, name: t('vipBenefits.prioritySupport') },
+ { icon: <DollarOutlined />, name: t('vipBenefits.discount') },
+ { icon: <HistoryOutlined />, name: t('vipBenefits.unlimitedTime') },
+ { icon: <ThunderboltOutlined />, name: t('vipBenefits.fastExperience') },
+ { icon: <RocketOutlined />, name: t('vipBenefits.morePrivileges') },
+ ];
+
+ const handleActivate = async () => {
+ try {
+ setLoading(true);
+
+ // 检查用户是否已登录
+ if (!userInfo?.id) {
+ message.error(t('pleaseLoginFirst'));
+ router.push('/login');
+ return;
+ }
+
+ // 根据选择的计划映射到支付类型
+ let paymentType;
+ let paymentMethod;
+ let flagTrialPeriodDays = 0; // 默认不给免费试用
+
+ switch (selectedPlan) {
+ case 'onceMonth':
+ paymentType = PaymentType.ONCE_MONTH;
+ paymentMethod = 'payment';
+ break;
+ case 'month':
+ paymentType = PaymentType.MONTH;
+ paymentMethod = 'subscription';
+ // 如果是订阅模式且用户从未开过会员,给免费试用
+ flagTrialPeriodDays = canUseTrial ? 1 : 0;
+ break;
+ case 'year':
+ paymentType = PaymentType.YEAR;
+ paymentMethod = 'subscription';
+ // 如果是订阅模式且用户从未开过会员,给免费试用
+ flagTrialPeriodDays = canUseTrial ? 1 : 0;
+ break;
+ default:
+ paymentType = PaymentType.MONTH;
+ paymentMethod = 'subscription';
+ flagTrialPeriodDays = canUseTrial ? 1 : 0;
+ }
+
+ // 创建支付订单
+ const response: any = await createPaymentOrderApi({
+ success_url: lang === 'zh-CN' ? "/zh-CN/profile" : "/en/profile",
+ mode: paymentMethod,
+ payment: paymentType,
+ flagTrialPeriodDays,
+ metadata: {
+ userId: userInfo.id
+ }
+ });
+
+ if (response?.code === 0) {
+ message.success(t('paymentOrderCreated'));
+ // 直接跳转到支付页面
+ if (response.data?.url) {
+ // window.location.href = response.data.url;
+ window.open(response.data.url, '_blank');
+ } else {
+ message.error(t('paymentLinkNotFound'));
+ }
+ } else {
+ message.error(response?.message || response?.msg || t('createPaymentOrderFailed'));
+ }
+ } catch (error) {
+ console.error('创建支付订单失败:', error);
+ message.error(t('createPaymentOrderError'));
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ return (
+ <div className={styles.container}>
+ <div className={styles.vipCard}>
+ <div className={styles.vipContent}>
+ <div className={styles.vipHeader}>
+ <span className={styles.vipIcon}><CrownOutlined /></span>
+ <h2 className={styles.vipTitle}>{t('title')}</h2>
+ </div>
+ <p className={styles.vipDescription}>
+ {t('description')}
+ </p>
+ <div className={styles.benefitsGrid}>
+ {vipBenefits.map((benefit, index) => (
+ <div key={index} className={styles.benefitItem}>
+ <div className={styles.benefitIcon}>{benefit.icon}</div>
+ <p className={styles.benefitName}>{benefit.name}</p>
+ </div>
+ ))}
+ </div>
+ </div>
+ </div>
+
+ <h3 className={styles.title}>选择开通时长</h3>
+
+ {/* 免费试用提示 */}
+ {canUseTrial && (
+ <div className={styles.trialNotice}>
+ <span className={styles.trialBadge}>{t('trialNotice.badge')}</span>
+ <p>{t('trialNotice.description')}</p>
+ </div>
+ )}
+
+ <div className={styles.priceOptions}>
+
+ <div
+ className={`${styles.priceCard} ${selectedPlan === 'month' ? styles.selected : ''}`}
+ onClick={() => setSelectedPlan('month')}
+ >
+ <span className={styles.badge}>
+ {canUseTrial ? t('badge.month') : t('badge.monthOld')}
+ </span>
+ <h4>月费会员</h4>
+ <div>
+ <span className={styles.originalPrice}>$30</span>
+ <span className={styles.discount}>
+ {canUseTrial ? t('badge.month') : t('badge.monthOld')}
+ </span>
+ </div>
+ <p className={styles.currentPrice}>$<span>19</span>/月</p>
+ {canUseTrial && (
+ <p className={styles.trialText}>{t('trialText.month')}</p>
+ )}
+ </div>
+ <div
+ className={`${styles.priceCard} ${selectedPlan === 'year' ? styles.selected : ''}`}
+ onClick={() => setSelectedPlan('year')}
+ >
+ <span className={styles.badge}>
+ {canUseTrial ? t('badge.year') : t('badge.yearOld')}
+ </span>
+ <h4>年费会员</h4>
+ <div>
+ <span className={styles.originalPrice}>$180</span>
+ <span className={styles.discount}>
+ {canUseTrial ? t('badge.year') : t('badge.yearOld')}
+ </span>
+ </div>
+ <p className={styles.currentPrice}>$<span>12</span>/月</p>
+ <p className={styles.monthlyPrice}>$144/年</p>
+ {canUseTrial && (
+ <p className={styles.trialText}>{t('trialText.year')}</p>
+ )}
+ </div>
+ <div
+ className={`${styles.priceCard} ${selectedPlan === 'onceMonth' ? styles.selected : ''}`}
+ onClick={() => setSelectedPlan('onceMonth')}
+ >
+ <span className={styles.badge}>{t('badge.onceMonth')}</span>
+ <h4>月度会员</h4>
+ <div>
+ <span className={styles.originalPrice}>$30</span>
+ <span className={styles.discount}>{t('badge.onceMonth')}</span>
+ </div>
+ <p className={styles.currentPrice}>$<span>25</span></p>
+ </div>
+ </div>
+
+ <p className={styles.subscriptionInfo}>自动续订,随时取消</p>
+
+ <button
+ className={styles.activateButton}
+ onClick={handleActivate}
+ disabled={loading}
+ >
+ {t('activateNow')}
+ </button>
+ </div>
+ );
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/vip/vip.module.css b/aitoearn_web/aitoearn-web/src/app/[lng]/vip/vip.module.css
new file mode 100644
index 00000000..ffb663c4
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/vip/vip.module.css
@@ -0,0 +1,246 @@
+.container {
+ padding: 24px;
+ text-align: center;
+}
+
+.title {
+ font-size: 32px;
+ color: #333;
+ margin-bottom: 24px;
+}
+
+.placeholder {
+ background-color: #f0f2f5;
+ padding: 48px;
+ border-radius: 8px;
+ font-size: 18px;
+ color: #666;
+}
+
+/* 免费试用提示样式 */
+.trialNotice {
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ color: white;
+ padding: 16px 24px;
+ border-radius: 12px;
+ margin-bottom: 24px;
+ text-align: center;
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+}
+
+.trialBadge {
+ display: inline-block;
+ background: rgba(255, 255, 255, 0.2);
+ padding: 4px 12px;
+ border-radius: 20px;
+ font-size: 14px;
+ font-weight: 600;
+ margin-bottom: 8px;
+}
+
+.trialNotice p {
+ margin: 0;
+ font-size: 16px;
+ font-weight: 500;
+}
+
+.trialText {
+ font-size: 12px;
+ color: #10b981;
+ font-weight: 600;
+ margin-top: 8px;
+ background: #ecfdf5;
+ padding: 4px 8px;
+ border-radius: 6px;
+ display: inline-block;
+}
+
+/* 会员卡片样式 */
+.vipCard {
+ background: url('/assets/images/vipcard.png') no-repeat center center;
+ background-size: cover;
+ border-radius: 12px;
+ padding: 24px;
+ margin-bottom: 24px;
+ color: #fff;
+ position: relative;
+ overflow: hidden;
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+}
+
+.vipCard::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(to right, #2B2F36, #4E4C4D);
+ z-index: 0;
+ border-radius: 12px;
+}
+
+.vipContent {
+ position: relative;
+ z-index: 1;
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+}
+
+.vipHeader {
+ display: flex;
+ align-items: center;
+ margin-bottom: 16px;
+}
+
+.vipIcon {
+ width: 32px;
+ height: 32px;
+ margin-right: 8px;
+ background-color: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 20px;
+}
+
+.vipTitle {
+ font-size: 24px;
+ font-weight: bold;
+ color: #fce2a9; /* 金色 */
+}
+
+.vipDescription {
+ font-size: 14px;
+ color: rgba(255, 255, 255, 0.8);
+ margin-bottom: 24px;
+}
+
+.benefitsGrid {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 16px;
+ margin-bottom: 32px;
+}
+
+.benefitItem {
+ text-align: center;
+}
+
+.benefitIcon {
+ width: 48px;
+ height: 48px;
+ background-color: rgba(255, 255, 255, 0.15);
+ border-radius: 8px;
+ margin: 0 auto 8px auto;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 24px;
+}
+
+.benefitName {
+ font-size: 13px;
+ color: rgba(255, 255, 255, 0.9);
+}
+
+.activateButton {
+ background: linear-gradient(to right, #6a5acd, #a64dd8); /* 紫色渐变 */
+ border: none;
+ color: white;
+ padding: 12px 24px;
+ border-radius: 8px;
+ font-size: 18px;
+ font-weight: bold;
+ cursor: pointer;
+ width: 100%;
+ transition: all 0.3s ease;
+
+ &:hover {
+ opacity: 0.9;
+ transform: translateY(-2px);
+ }
+}
+
+.priceOptions {
+ display: flex;
+ justify-content: center;
+ gap: 24px;
+ margin-bottom: 32px;
+ flex-wrap: wrap;
+}
+
+.priceCard {
+ border: 2px solid #eee;
+ border-radius: 12px;
+ padding: 24px;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ width: 100%;
+ max-width: 240px;
+ position: relative;
+ text-align: left;
+}
+
+.priceCard.selected {
+ border-color: #6a5acd;
+ box-shadow: 0 4px 12px rgba(106, 90, 205, 0.2);
+}
+
+.badge {
+ position: absolute;
+ top: 0;
+ right: 0;
+ background: linear-gradient(to right, #ff7e5f, #feb47b);
+ color: white;
+ font-size: 12px;
+ padding: 4px 12px;
+ border-bottom-left-radius: 8px;
+ border-top-right-radius: 10px;
+}
+
+.priceCard h4 {
+ font-size: 18px;
+ margin-top: 0;
+ margin-bottom: 8px;
+ color: #333;
+}
+
+.originalPrice {
+ font-size: 14px;
+ color: #999;
+ text-decoration: line-through;
+ margin-right: 8px;
+}
+
+.discount {
+ font-size: 14px;
+ color: #e91e63;
+ font-weight: bold;
+}
+
+.currentPrice {
+ font-size: 32px;
+ font-weight: bold;
+ color: #6a5acd;
+ margin-top: 16px;
+}
+
+.currentPrice span {
+ font-size: 20px;
+}
+
+.subscriptionInfo {
+ font-size: 14px;
+ color: #999;
+ margin-bottom: 24px;
+}
+
+.monthlyPrice {
+ font-size: 14px;
+ color: #666;
+ margin-top: 8px;
+ font-style: italic;
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/wallet/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/wallet/page.tsx
new file mode 100644
index 00000000..d0fb4ff6
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/wallet/page.tsx
@@ -0,0 +1,286 @@
+"use client";
+
+import { useEffect, useMemo, useState } from "react";
+import { Button, Card, Form, Input, Modal, Select, Table, message, Popconfirm } from "antd";
+import { useTransClient } from "@/app/i18n/client";
+import { useParams } from "next/navigation";
+import { useUserStore } from "@/store/user";
+import {
+ createUserWalletAccount,
+ deleteUserWalletAccount,
+ getUserWalletAccountList,
+ updateUserWalletAccount,
+ EMAIL_REGEX,
+ UserWalletAccount,
+ UserWalletAccountCreateDto,
+} from "@/api/userWalletAccount";
+
+const { Option } = Select;
+
+export default function WalletPage() {
+ const { t } = useTransClient("wallet");
+ const { lng } = useParams();
+ const { userInfo } = useUserStore();
+
+ const [list, setList] = useState<UserWalletAccount[]>([]);
+ const [loading, setLoading] = useState(false);
+ const [pagination, setPagination] = useState({ current: 1, pageSize: 10, total: 0 });
+
+ const [form] = Form.useForm<UserWalletAccountCreateDto>();
+ const [modalOpen, setModalOpen] = useState(false);
+ const [editing, setEditing] = useState<UserWalletAccount | null>(null);
+ const [submitting, setSubmitting] = useState(false);
+
+ const columns = useMemo(
+ () => [
+ {
+ title: t("columns.userName"),
+ dataIndex: "userName",
+ key: "userName",
+ width: 100,
+ ellipsis: true
+ },
+ {
+ title: t("columns.mail"),
+ dataIndex: "mail",
+ key: "mail",
+ width: 150,
+ ellipsis: true,
+ responsive: ['md'] as any
+ },
+ {
+ title: t("columns.account"),
+ dataIndex: "account",
+ key: "account",
+ width: 120,
+ ellipsis: true
+ },
+ {
+ title: t("columns.type"),
+ dataIndex: "type",
+ key: "type",
+ width: 80,
+ render: (v: string) => (v === "ZFB" ? t("types.ZFB") : t("types.WX_PAY"))
+ },
+ {
+ title: t("columns.phone"),
+ dataIndex: "phone",
+ key: "phone",
+ width: 120,
+ ellipsis: true,
+ responsive: ['lg'] as any
+ },
+ {
+ title: t("columns.cardNum"),
+ dataIndex: "cardNum",
+ key: "cardNum",
+ width: 120,
+ ellipsis: true,
+ responsive: ['lg'] as any
+ },
+ {
+ title: t("columns.actions"),
+ key: "actions",
+ width: 120,
+ fixed: 'right' as any,
+ render: (_: any, record: UserWalletAccount) => (
+ <div style={{ display: 'flex', flexDirection: 'column', gap: '4px' }}>
+ <Button
+ size="small"
+ type="link"
+ onClick={() => onEdit(record)}
+ style={{ padding: '2px 4px', fontSize: '11px' }}
+ >
+ {t("actions.edit")}
+ </Button>
+ <Popconfirm
+ title={t("actions.deleteConfirm")}
+ onConfirm={() => onDelete(record)}
+ okText={t("actions.confirm" as any)}
+ cancelText={t("actions.cancel" as any)}
+ >
+ <Button
+ size="small"
+ type="link"
+ danger
+ style={{ padding: '2px 4px', fontSize: '11px' }}
+ >
+ {t("actions.delete")}
+ </Button>
+ </Popconfirm>
+ </div>
+ )
+ }
+ ],
+ [t]
+ );
+
+ useEffect(() => {
+ fetchList(1, 10);
+ }, []);
+
+ async function fetchList(pageNo: number, pageSize: number) {
+ setLoading(true);
+ try {
+ const res = await getUserWalletAccountList(pageNo, pageSize);
+ if (res?.data) {
+ setList(res.data.list || []);
+ setPagination({ current: pageNo, pageSize, total: res.data.total || 0 });
+ }
+ } finally {
+ setLoading(false);
+ }
+ }
+
+ function openCreate() {
+ setEditing(null);
+ form.resetFields();
+ form.setFieldsValue({ userId: userInfo?._id || "" } as any);
+ setModalOpen(true);
+ }
+
+ function onEdit(record: UserWalletAccount) {
+ setEditing(record);
+ form.setFieldsValue({
+ userId: record.userId,
+ mail: record.mail,
+ userName: record.userName,
+ account: record.account,
+ cardNum: record.cardNum,
+ phone: record.phone,
+ type: record.type,
+ });
+ setModalOpen(true);
+ }
+
+ async function onDelete(record: UserWalletAccount) {
+ const res = await deleteUserWalletAccount(record._id);
+ if (res) {
+ message.success(t("messages.deleteSuccess"));
+ fetchList(pagination.current, pagination.pageSize);
+ }
+ }
+
+ async function onSubmit() {
+ try {
+ const values = await form.validateFields();
+ setSubmitting(true);
+ if (editing) {
+ const res = await updateUserWalletAccount(editing._id, values);
+ if (res) message.success(t("messages.updateSuccess"));
+ } else {
+ const res = await createUserWalletAccount(values);
+ if (res) message.success(t("messages.createSuccess"));
+ }
+ setModalOpen(false);
+ fetchList(pagination.current, pagination.pageSize);
+ } finally {
+ setSubmitting(false);
+ }
+ }
+
+ return (
+ <div style={{
+ padding: '16px',
+ minHeight: '100vh',
+ backgroundColor: '#f5f5f5'
+ }}>
+ <Card
+ title={t("title")}
+ extra={
+ <Button
+ type="primary"
+ onClick={openCreate}
+ size="small"
+ style={{
+ fontSize: '12px',
+ height: '32px',
+ padding: '4px 12px'
+ }}
+ >
+ {t("actions.create")}
+ </Button>
+ }
+ style={{
+ margin: '0 auto',
+ maxWidth: '100%',
+ boxShadow: '0 2px 8px rgba(0,0,0,0.1)'
+ }}
+ >
+ <Table
+ rowKey="_id"
+ columns={columns as any}
+ dataSource={list}
+ loading={loading}
+ scroll={{ x: 800 }}
+ size="small"
+ pagination={{
+ current: pagination.current,
+ pageSize: pagination.pageSize,
+ total: pagination.total,
+ showSizeChanger: false,
+ showQuickJumper: false,
+ showTotal: (total, range) =>
+ `${range[0]}-${range[1]} / ${total}`,
+ onChange: (p, s) => fetchList(p, s || 10),
+ simple: true,
+ pageSizeOptions: ['5', '10', '20'],
+ responsive: true
+ }}
+ style={{
+ fontSize: '12px'
+ }}
+ />
+ </Card>
+
+ <Modal
+ open={modalOpen}
+ title={editing ? t("dialogs.editTitle") : t("dialogs.createTitle")}
+ onCancel={() => setModalOpen(false)}
+ onOk={onSubmit}
+ confirmLoading={submitting}
+ destroyOnClose
+ width="90%"
+ style={{
+ maxWidth: '500px',
+ top: '20px'
+ }}
+ bodyStyle={{
+ maxHeight: '70vh',
+ overflowY: 'auto',
+ padding: '16px'
+ }}
+ centered
+ >
+ <Form form={form} layout="vertical" preserve={false}>
+ <Form.Item name="userId" label={t("form.userId")} rules={[{ required: true, message: t("form.required") }]}>
+ <Input disabled placeholder={t("form.userIdPlaceholder")} />
+ </Form.Item>
+ <Form.Item name="mail" label={t("form.mail")} rules={[{ required: true, pattern: EMAIL_REGEX, message: t("form.mailInvalid") }]}>
+ <Input placeholder={t("form.mailPlaceholder")} />
+ </Form.Item>
+ <Form.Item name="userName" label={t("form.userName")}>
+ <Input placeholder={t("form.userNamePlaceholder")} />
+ </Form.Item>
+ <Form.Item name="account" label={t("form.account")} rules={[{ required: true, message: t("form.required") }]}>
+ <Input placeholder={t("form.accountPlaceholder")} />
+ </Form.Item>
+ <Form.Item name="cardNum" label={t("form.cardNum")}>
+ <Input placeholder={t("form.cardNumPlaceholder")} />
+ </Form.Item>
+ <Form.Item name="phone" label={t("form.phone")}>
+ <Input placeholder={t("form.phonePlaceholder")} />
+ </Form.Item>
+ <Form.Item name="type" label={t("form.type")} rules={[{ required: true, message: t("form.required") }]}>
+ <Select placeholder={t("form.typePlaceholder")}>
+ <Option value="ZFB">{t("types.ZFB")}</Option>
+ <Option value="WX_PAY">{t("types.WX_PAY")}</Option>
+ </Select>
+ </Form.Item>
+ </Form>
+ </Modal>
+ </div>
+ );
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-deletion/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-deletion/page.tsx
index be519f0f..38d58876 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-deletion/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-deletion/page.tsx
@@ -15,7 +15,7 @@ function Header() {
</div>
<nav className={styles.nav}>
<a href="#marketplace" className={styles.navLink}>{t('header.nav.marketplace')}</a>
-
+ <a href="#pricing" className={styles.navLink}>{t('header.nav.pricing')}</a>
<a href="#docs" className={styles.navLink}>{t('header.nav.docs')}</a>
<a href="#blog" className={styles.navLink}>{t('header.nav.blog')}</a>
</nav>
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-protection-agreement/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-protection-agreement/page.tsx
index 39160d09..6cf904cd 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-protection-agreement/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/data-protection-agreement/page.tsx
@@ -15,7 +15,7 @@ function Header() {
</div>
<nav className={styles.nav}>
<a href="#marketplace" className={styles.navLink}>{t('header.nav.marketplace')}</a>
-
+ <a href="#pricing" className={styles.navLink}>{t('header.nav.pricing')}</a>
<a href="#docs" className={styles.navLink}>{t('header.nav.docs')}</a>
<a href="#blog" className={styles.navLink}>{t('header.nav.blog')}</a>
</nav>
@@ -97,7 +97,7 @@ export default function DataProtectionAgreementPage() {
We may share your personal data with:
</p>
<ul className={styles.listContent}>
- <li><strong>Service Providers:</strong> Cloud hosting, analytics, customer support</li>
+ <li><strong>Service Providers:</strong> Cloud hosting, analytics, payment processing, customer support</li>
<li><strong>Social Media Platforms:</strong> When you connect and publish content to external platforms</li>
<li><strong>Legal Authorities:</strong> When required by law or to protect our legal rights</li>
<li><strong>Business Partners:</strong> With your explicit consent for specific integrations</li>
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/privacy-policy/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/privacy-policy/page.tsx
index 417e0cda..e8eeccc8 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/privacy-policy/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/privacy-policy/page.tsx
@@ -15,7 +15,7 @@ function Header() {
</div>
<nav className={styles.nav}>
<a href="#marketplace" className={styles.navLink}>{t('header.nav.marketplace')}</a>
-
+ <a href="#pricing" className={styles.navLink}>{t('header.nav.pricing')}</a>
<a href="#docs" className={styles.navLink}>{t('header.nav.docs')}</a>
<a href="#blog" className={styles.navLink}>{t('header.nav.blog')}</a>
</nav>
@@ -95,7 +95,10 @@ export default function PrivacyPolicyPage() {
We may collect information through your communications with our customer support team or other communications that you may send us and their contents.
</p>
-
+ <h3 className={styles.subSectionTitle}>Making a Purchase</h3>
+ <p className={styles.sectionContent}>
+ When you make payments through the Service, you will need to provide Personal Information such as your credit card number and billing address.
+ </p>
<h3 className={styles.subSectionTitle}>Social Media</h3>
<p className={styles.sectionContent}>
@@ -163,7 +166,7 @@ export default function PrivacyPolicyPage() {
We may use the Personal Information we obtain about you to:
</p>
<ul className={styles.listContent}>
- <li>create and manage your account, provide our Service, and respond to your inquiries;</li>
+ <li>create and manage your account, provide our Service, process payments, and respond to your inquiries;</li>
<li>manage account authentication such as two-factor authentication;</li>
<li>communicate with you to verify your account and for informational and operational purposes;</li>
<li>tailor our Service (e.g., we may use cookies and similar technologies to remember your preferences);</li>
diff --git a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/terms-of-service/page.tsx b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/terms-of-service/page.tsx
index 6b0b06a1..66b37877 100644
--- a/aitoearn_web/aitoearn-web/src/app/[lng]/websit/terms-of-service/page.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/[lng]/websit/terms-of-service/page.tsx
@@ -15,7 +15,7 @@ function Header() {
</div>
<nav className={styles.nav}>
<a href="#marketplace" className={styles.navLink}>{t('header.nav.marketplace')}</a>
-
+ <a href="#pricing" className={styles.navLink}>{t('header.nav.pricing')}</a>
<a href="#docs" className={styles.navLink}>{t('header.nav.docs')}</a>
<a href="#blog" className={styles.navLink}>{t('header.nav.blog')}</a>
</nav>
@@ -88,7 +88,20 @@ export default function TermsOfServicePage() {
</p>
</section>
-
+ <section className={styles.section}>
+ <h2 className={styles.sectionTitle}>4. Payment Terms</h2>
+ <p className={styles.sectionContent}>
+ Some features of the Service may require you to pay fees upon registering for the applicable subscription. Before you pay any fees, you will have an opportunity to review and accept the fees that you will be charged. All fees are in U.S. Dollars and are non-refundable unless otherwise specifically provided for in these Terms. Fees vary based on the plan, with different pricing schemes for individual users and organizations.
+ </p>
+ <h3 className={styles.subSectionTitle}>4.1 Price</h3>
+ <p className={styles.sectionContent}>
+ Aitoearn reserves the right to determine pricing for the Service. Aitoearn will make reasonable efforts to keep pricing information published on our website up to date. We encourage you to check our pricing page periodically for current pricing information. If you cancel your subscription you may forego your current price.
+ </p>
+ <h3 className={styles.subSectionTitle}>4.2 Authorization</h3>
+ <p className={styles.sectionContent}>
+ You authorize Aitoearn to charge all sums for the orders that you make and any level of Service you select as described in these Terms or published by Aitoearn, including all applicable taxes, to the payment method specified in your account. If you pay any fees with a credit card, then Aitoearn may seek pre-authorization of your credit card account prior to your purchase to verify that the credit card is valid and has the necessary funds or credit available to cover your purchase.
+ </p>
+ </section>
<section className={styles.section}>
<h2 className={styles.sectionTitle}>5. LICENSE TO Aitoearn SERVICES</h2>
diff --git a/aitoearn_web/aitoearn-web/src/app/config/appDownloadConfig.ts b/aitoearn_web/aitoearn-web/src/app/config/appDownloadConfig.ts
index eaeb6a81..516a4047 100644
--- a/aitoearn_web/aitoearn-web/src/app/config/appDownloadConfig.ts
+++ b/aitoearn_web/aitoearn-web/src/app/config/appDownloadConfig.ts
@@ -12,6 +12,9 @@ export interface AppDownloadConfig {
tips: string[];
}
+// 主应用下载配置
+export const MAIN_APP_DOWNLOAD_URL = "https://yikart.oss-cn-beijing.aliyuncs.com/aitoearn-1.0.9.1.apk";
+
export const APP_DOWNLOAD_CONFIGS: Record<string, AppDownloadConfig> = {
xhs: {
platform: "小红书",
diff --git a/aitoearn_web/aitoearn-web/src/app/config/platConfig.ts b/aitoearn_web/aitoearn-web/src/app/config/platConfig.ts
index dcc9d907..e770fefa 100644
--- a/aitoearn_web/aitoearn-web/src/app/config/platConfig.ts
+++ b/aitoearn_web/aitoearn-web/src/app/config/platConfig.ts
@@ -1,17 +1,18 @@
import { PubType } from "@/app/config/publishConfig";
import ksSvg from "@/assets/svgs/plat/ks.svg";
import bilibiliSvg from "@/assets/svgs/plat/bilibili.svg";
-import youtubeSvg from "@/assets/svgs/plat/youtube.svg";
+import youtubeSvg from "@/assets/svgs/plat/youtube.png";
import douyinSvg from "@/assets/svgs/plat/douyin.svg";
import tiktokSvg from "@/assets/svgs/plat/tiktok.svg";
-import twitterSvg from "@/assets/svgs/plat/twtter.svg";
-import facebookSvg from "@/assets/svgs/plat/facebook.svg";
-import instagramSvg from "@/assets/svgs/plat/instagram.svg";
-import threadsSvg from "@/assets/svgs/plat/xiancheng.svg";
-import wxGzhSvg from "@/assets/svgs/plat/wx-gzh.svg";
+import twitterSvg from "@/assets/svgs/plat/twitter.png";
+import facebookSvg from "@/assets/svgs/plat/facebook.png";
+import instagramSvg from "@/assets/svgs/plat/instagram.png";
+import threadsSvg from "@/assets/svgs/plat/threads.png";
+import wxSphSvg from "@/assets/svgs/plat/wx-sph.svg";
import gongzhonghaoSvg from "@/assets/svgs/plat/gongzhonghao.png";
-import pinterestSvg from "@/assets/svgs/plat/pinterest.svg";
+import pinterestSvg from "@/assets/svgs/plat/pinterest.png";
import xhsSvg from "@/assets/svgs/plat/xhs.svg";
+import { directTrans } from "@/app/i18n/client";
// 平台类型
export enum PlatType {
@@ -69,12 +70,11 @@ export interface IAccountPlatInfo {
// 各个平台的信息
export const AccountPlatInfoMap = new Map<PlatType, IAccountPlatInfo>([
-
[
PlatType.Xhs,
{
- name: "小红书",
- icon: xhsSvg.src,
+ name: "rednote",
+ icon: xhsSvg,
url: "https://www.xiaohongshu.com/",
themeColor: "red",
pubTypes: new Set([]),
@@ -86,27 +86,11 @@ export const AccountPlatInfoMap = new Map<PlatType, IAccountPlatInfo>([
pcNoThis: true,
},
],
- [
- PlatType.Douyin,
- {
- name: "抖音",
- icon: douyinSvg.src,
- url: "https://www.douyin.com/",
- pubTypes: new Set([]),
- commonPubParamsConfig: {
- titleMax: 30,
- topicMax: 5,
- desMax: 1000,
- },
- themeColor: "#FF4D00",
- pcNoThis: true,
- },
- ],
[
PlatType.KWAI,
{
- name: "快手",
- icon: ksSvg.src,
+ name: "kwai",
+ icon: ksSvg,
url: "https://cp.kuaishou.com/profile",
pubTypes: new Set([PubType.VIDEO]),
commonPubParamsConfig: {
@@ -119,8 +103,8 @@ export const AccountPlatInfoMap = new Map<PlatType, IAccountPlatInfo>([
[
PlatType.BILIBILI,
{
- name: "Bilibili",
- icon: bilibiliSvg.src,
+ name: "bilibili",
+ icon: bilibiliSvg,
url: "https://cp.kuaishou.com/profile",
pubTypes: new Set([PubType.VIDEO]),
commonPubParamsConfig: {
@@ -134,7 +118,7 @@ export const AccountPlatInfoMap = new Map<PlatType, IAccountPlatInfo>([
[
PlatType.WxGzh,
{
- name: "微信公众号",
+ name: "wxgzh",
icon: gongzhonghaoSvg.src,
url: "https://mp.weixin.qq.com/",
pubTypes: new Set([PubType.ImageText, PubType.Article]),
@@ -146,11 +130,44 @@ export const AccountPlatInfoMap = new Map<PlatType, IAccountPlatInfo>([
themeColor: "green",
},
],
+
+ [
+ PlatType.Douyin,
+ {
+ name: "douyin",
+ icon: douyinSvg,
+ url: "https://www.douyin.com/",
+ pubTypes: new Set([]),
+ commonPubParamsConfig: {
+ titleMax: 30,
+ topicMax: 5,
+ desMax: 1000,
+ },
+ themeColor: "#FF4D00",
+ pcNoThis: true,
+ },
+ ],
+ [
+ PlatType.WxSph,
+ {
+ name: "wxsph",
+ icon: wxSphSvg,
+ url: "https://mp.weixin.qq.com/",
+ pubTypes: new Set([PubType.VIDEO, PubType.ImageText]),
+ commonPubParamsConfig: {
+ titleMax: 100,
+ topicMax: 100,
+ desMax: 5000,
+ },
+ themeColor: "green",
+ pcNoThis: true,
+ },
+ ],
[
PlatType.Tiktok,
{
name: "TikTok",
- icon: tiktokSvg.src,
+ icon: tiktokSvg,
url: "https://www.tiktok.com/",
pubTypes: new Set([PubType.VIDEO, PubType.ImageText]),
commonPubParamsConfig: {
@@ -245,14 +262,27 @@ export const AccountPlatInfoMap = new Map<PlatType, IAccountPlatInfo>([
name: "Pinterest",
icon: pinterestSvg.src,
url: "https://www.pinterest.com/",
- pubTypes: new Set([PubType.VIDEO]),
+ pubTypes: new Set([PubType.VIDEO, PubType.ImageText]),
commonPubParamsConfig: {
titleMax: 16,
topicMax: 100,
desMax: 2200,
+ imagesMax: 1,
},
themeColor: "#CC2025",
},
],
]);
export const AccountPlatInfoArr = Array.from(AccountPlatInfoMap);
+
+// 遍历设置 name getter
+AccountPlatInfoMap.forEach((info) => {
+ const rawName = info.name;
+ Object.defineProperty(info, "name", {
+ get() {
+ return directTrans("account", rawName);
+ },
+ configurable: true,
+ enumerable: true,
+ });
+});
diff --git a/aitoearn_web/aitoearn-web/src/app/favicon.ico b/aitoearn_web/aitoearn-web/src/app/favicon.ico
index 718d6fea..c1af481a 100644
Binary files a/aitoearn_web/aitoearn-web/src/app/favicon.ico and b/aitoearn_web/aitoearn-web/src/app/favicon.ico differ
diff --git a/aitoearn_web/aitoearn-web/src/app/globals.css b/aitoearn_web/aitoearn-web/src/app/globals.css
index e251eeb2..cc498843 100644
--- a/aitoearn_web/aitoearn-web/src/app/globals.css
+++ b/aitoearn_web/aitoearn-web/src/app/globals.css
@@ -1,3 +1,5 @@
+@import "../assets/fonts/font.css";
+
/* 全局样式重置 */
* {
margin: 0;
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/account.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/account.json
index 473952ab..68b4963c 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/account.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/account.json
@@ -9,7 +9,7 @@
"newWork": "New Work",
"allPlatforms": "All Platforms",
"accountManager": "Acct Manager",
- "addAccount": "Add Account",
+ "addAccount": "Add Channels",
"mcpManager": "MCP Manager",
"online": "Online",
"offline": "Offline",
@@ -25,7 +25,10 @@
"unknownAccount": "Unknown Account",
"addAccountModal": {
"title": "Add Account",
- "subtitle": "Select Platform"
+ "subtitle": "Select Platform",
+ "currentSpace": "Current Space",
+ "pleaseChooseSpaceFirst": "Please choose a space first",
+ "addTo": "Add to:"
},
"facebookPages": {
"title": "Select Facebook Pages",
@@ -43,7 +46,13 @@
"title": "Publish Plans",
"recordCount": "{{count}} plans total",
"newWork": "New Work",
- "noRecords": "No publish plans"
+ "noRecords": "No publish plans",
+ "queue": "Queue",
+ "sent": "Sent",
+ "createdDaysAgo": "You created this {{days}} days ago",
+ "viewPost": "View Post",
+ "noSentPosts": "No sent posts",
+ "selectAccountFirst": "Please select an account first"
},
"chooseSpace": "Choose Space",
"pleaseChooseSpace": "Please choose a space",
@@ -53,5 +62,48 @@
"loading": "Getting IP info...",
"error": "Failed to get IP info",
"tooltip": "ASN: {{asn}}\nOrganization: {{org}}"
- }
+ },
+ "createSpace": {
+ "title": "Add space",
+ "button": "Add space",
+ "name": "Channel Name",
+ "namePlaceholder": "Enter channel name",
+ "cancel": "Cancel",
+ "save": "Save",
+ "success": "Channel created successfully",
+ "failed": "Failed to create channel",
+ "nameRequired": "Please enter channel name"
+ },
+ "locationRestriction": {
+ "cnSpace": "Current space is in China region, only domestic platforms are shown",
+ "nonCnSpace": "Current space is in non-China region, domestic platforms are temporarily unavailable"
+ },
+ "userManageSidebar": {
+ "allAccounts": "All Accounts",
+ "spaces": "Spaces",
+ "createSpace": "Create Space",
+ "spaceNamePlaceholder": "Enter space name",
+ "cannotOperateDefault": "Cannot operate default list",
+ "rename": "Rename",
+ "delete": "Delete",
+ "confirmDelete": "Confirm",
+ "confirmDeleteContent": "Please confirm to delete the list:",
+ "deleteSuccess": "Deleted successfully",
+ "createSpaceTitle": "Create Space",
+ "renameSpaceTitle": "Rename Space",
+ "cancel": "Cancel",
+ "save": "Save",
+ "spaceName": "Space Name"
+ },
+ "userManageModal": {
+ "account": "Account",
+ "platform": "Platform",
+ "space": "Space"
+ },
+ "rednote": "Rednote",
+ "kwai": "Kwai",
+ "bilibili": "Bilibili",
+ "wxgzh": "WeChat Official Account",
+ "douyin": "Douyin",
+ "wxsph": "WeChat Channels"
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/common.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/common.json
index 96549bbb..7b79d883 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/common.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/common.json
@@ -27,9 +27,44 @@
},
"header": {
"messages": "Messages",
+ "income": "Income Records",
+ "wallet": "My Wallet",
"materialLibrary": "Material Library",
"draftBox": "Draft Box"
},
+ "tasks": "Task Center",
+ "signIn": {
+ "title": "Daily Sign-in to Earn Points",
+ "myPoints": "My Points",
+ "signIn": "Sign In",
+ "today": "Today",
+ "rules": "Sign-in Rules",
+ "rules1": "Consecutive sign-ins 1-7 days, 1 point per day",
+ "rules2": "Consecutive sign-ins 8-21 days, 2 points per day",
+ "rules3": "Consecutive sign-ins 22 days or more, 3 points per day",
+ "signedIn": "Signed In",
+ "notSignedIn": "Not Signed In",
+ "signInSuccess": "Sign-in successful",
+ "signInFailed": "Sign-in failed",
+ "alreadySignedIn": "Already signed in today",
+ "consecutiveDays": "Consecutive Days",
+ "totalPoints": "Total Points"
+ },
+ "downloadApp": {
+ "title": "Download {{appName}}",
+ "operationInApp": "Please operate in {{appName}} to add",
+ "description": "For better user experience and complete functionality, this operation needs to be completed in {{appName}} to add accounts. Please download and install {{appName}} to continue.",
+ "operationDescription": "Please operate {{platform}} channel account in Aitoearn App<br/>For better user experience and completeness, please download and install Aitoearn App to continue.",
+ "scanQrCode": "Scan QR code to download",
+ "downloadLink": "Download link:",
+ "copy": "Copy",
+ "copySuccess": "Copy successful",
+ "copyFailed": "Copy failed, please copy manually",
+ "copied": "Copied",
+ "close": "Close",
+ "downloadNow": "Download Now",
+ "tip": "💡 Tip: After installation, please log in to your account in the App, then try the related operation again"
+ },
"websit": {
"termsOfService": {
"title": "Terms of Service",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/dataStatistics.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/dataStatistics.json
new file mode 100644
index 00000000..ed75e3dc
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/dataStatistics.json
@@ -0,0 +1,23 @@
+{
+ "title": "Data Statistics",
+ "description": "View and analyze your data statistics here.",
+ "accountData": "Account Data",
+ "selectSpace": "Select Space",
+ "inputAccountName": "Enter account name",
+ "noAccount": "No accounts",
+ "totalAccount": "Total Accounts",
+ "online": "Online",
+ "offline": "Offline",
+ "fansCount": "Fans",
+ "growthFansCount": "Growth Fans",
+ "loginFailed": "Login Failed",
+ "relogin": "Relogin",
+ "dataDetails": "Data Details",
+ "timeRange": "Time Range:",
+ "yesterdayIncrease": "Yesterday Increase",
+ "readCount": "Reads",
+ "commentCount": "Comments",
+ "likeCount": "Likes",
+ "collectCount": "Collections",
+ "forwardCount": "Shares"
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/engagement.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/engagement.json
new file mode 100644
index 00000000..8f5cb98e
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/engagement.json
@@ -0,0 +1,28 @@
+{
+ "title": "Engagement",
+ "columns": {
+ "postId": "Post ID",
+ "platform": "Platform",
+ "title": "Title",
+ "mediaType": "Media Type",
+ "publishTime": "Publish Time",
+ "viewCount": "Views",
+ "likeCount": "Likes",
+ "commentCount": "Comments",
+ "shareCount": "Shares",
+ "clickCount": "Clicks",
+ "impressionCount": "Impressions",
+ "favoriteCount": "Favorites",
+ "permaLink": "Link",
+ "open": "Open"
+ },
+ "placeholders": {
+ "uid": "Enter account UID"
+ },
+ "actions": {
+ "search": "Search",
+ "reset": "Reset"
+ }
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/home.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/home.json
index 1f5ab7ca..1aa8c840 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/home.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/home.json
@@ -4,13 +4,15 @@
"text": "Build and Extend AI Workflows with Plugins and a Thriving Marketplace."
},
"header": {
- "logo": "Aitorarn",
+ "logo": "Aitoearn",
"nav": {
"marketplace": "Marketplace",
"pricing": "Pricing",
"status": "Status",
"docs": "Docs",
- "blog": "Blog"
+ "blog": "Blog",
+ "download": "Downloads"
+
},
"getStarted": "Get Started"
},
@@ -20,59 +22,120 @@
"github": "GitHub",
"title": "The Best Content Marketing\nAI Agent",
"subtitle": "From today on, easily manage your social media with AI. AITOEARN provides one-stop capabilities from creative inspiration, content creation, content distribution to content interaction management, making AI within reach.",
- "getStarted": "Get Started"
+ "getStarted": "Get Started",
+ "useMobilePhone": "use on mobile phone"
},
"brandBar": {
"title": "Supported Social Media Platforms"
},
"buildSection": {
- "badge": "Creative Inspiration",
- "title": "Out of Inspiration?",
- "titleBlue": "Check out trending topics worldwide",
+ "badge": "Feature 1",
+ "title": "Content Publishing",
+ "titleBlue": " — One-Click Multi-Platform",
+ "features": {
+ "hotTopic": {
+ "title": "Distribute Everywhere",
+ "description": "Publish to the widest range of global platforms (Douyin, Kwai, WeChat, Bilibili, Rednote, Facebook, Instagram, TikTok, LinkedIn, Threads, Bluesky, YouTube Shorts, Pinterest, Google Business, Mastodon, X)."
+ },
+ "international": {
+ "title": "Calendar Scheduler",
+ "description": "Plan & coordinate content like a calendar across all platforms. Unified Dashboard: Manage all interactions in one place."
+ }
+ },
+ "carouselHint": "Use scroll wheel to switch images"
+ },
+ "hotspotSection": {
+ "badge": "Feature 2",
+ "title": "Content Hotspot — Viral Inspiration Engine",
+ "titleBlue": "Case Library & Trend Radar",
"features": {
"hotTopic": {
- "title": "AI Trending Topic Extraction - Capture All Trending Content",
- "description": "Through AI extraction of trending topics across the web, AI analysis generates similar viral content with one click, capturing all trending traffic"
+ "title": "Case Library",
+ "description": "Explore how others create posts with 10,000+ likes."
},
"international": {
- "title": "International Platforms: YouTube, TikTok, Facebook, Instagram, LinkedIn, X (Twitter), Rednote",
- "description": "Overseas trending topic extraction to keep you informed of the latest developments"
+ "title": "Trend Radar",
+ "description": "Discover the latest viral trends instantly, reduce creator anxiety."
+ }
+ },
+ "carouselHint": "Use scroll wheel to switch images"
+ },
+ "searchSection": {
+ "badge": "Feature 3",
+ "title": "Content Search — Brand & Market Insights",
+ "titleBlue": "Brand Monitoring & Content Discovery",
+ "features": {
+ "hotTopic": {
+ "title": "Brand Monitoring",
+ "description": "Track conversations about your brand in real-time."
},
- "domestic": {
- "title": "Domestic Platforms: Douyin, Kwai, WeChat, Bilibili",
- "description": "Support for domestic platform trending extraction, ensuring you don't miss any trending traffic"
+ "international": {
+ "title": "Content Discovery",
+ "description": "Search for posts, topics, and communities for targeted engagement."
+ }
+ },
+ "carouselHint": "Use scroll wheel to switch images"
+ },
+ "commentsSection": {
+ "badge": "Feature 4",
+ "title": "Comments Search — Precision User Mining",
+ "titleBlue": "Smart Comment Search & Conversion Booster",
+ "features": {
+ "hotTopic": {
+ "title": "Smart Comment Search",
+ "description": "Detect high-conversion signals like \"link please\" or \"how to buy.\""
+ },
+ "international": {
+ "title": "Conversion Booster",
+ "description": "Reply instantly, drive higher engagement & sales."
}
},
"carouselHint": "Use scroll wheel to switch images"
},
"connectSection": {
- "badge": "Features",
- "title": "One-Stop Social Media Management Platform",
- "titleBlue": "From creative inspiration to content creation, from content distribution to content interaction management",
+ "badge": "Feature 5",
+ "title": "Content Engagement — Growth Engine",
+ "titleBlue": "Unified Dashboard & Proactive Engagement",
"features": {
"creation": {
- "title": "Content Creation",
- "description": "AI content creation, AI image generation, text and image creation, and other AI capabilities to make your content more vivid and interesting"
+ "title": "Unified Dashboard",
+ "description": "Manage all interactions in one place."
},
"distribution": {
- "title": "Content Distribution",
- "description": "Support multi-platform distribution both domestically and internationally, reaching more users with one-click management"
- },
- "interaction": {
- "title": "Content Interaction Management",
- "description": "Support multi-platform interaction management both domestically and internationally, making content interaction more efficient with one-click management"
- },
- "analytics": {
- "title": "Data Analytics",
- "description": "Support multi-platform data analytics both domestically and internationally, making data analysis more efficient with one-click management"
+ "title": "Proactive Engagement",
+ "description": "Join trending conversations, connect with potential customers. Turn passive operations into active traffic growth."
}
},
"carouselHint": "Use scroll wheel to switch images"
},
+ "upcomingSection": {
+ "badge": "Coming Soon",
+ "title": "Full-Stack AI-Powered Content Growth & Monetization Platform",
+ "titleBlue": "Coming Soon Features, Stay Tuned",
+ "features": {
+ "smartImport": {
+ "title": "Smart Import",
+ "description": "Import historical content for fast re-editing & redistribution. Example: Sync your Xiaohongshu posts to YouTube in one click."
+ },
+ "analytics": {
+ "title": "Content Analytics — Full-Funnel Data",
+ "description": "Cross-Platform Comparison: One platform may block traffic, but others won't. End-to-End Monitoring: Track performance and build your path to 1M+ followers."
+ },
+ "aiCreation": {
+ "title": "AI Content Creation — End-to-End Assistant",
+ "description": "AI Copywriting: Auto-generate titles, captions & descriptions. AI Commenting: Engage proactively, attract traffic. Image & Card Generator: Speed up content workflows. Supported AI Video Models and Image Models."
+ },
+ "marketplace": {
+ "title": "Content Marketplace — Trade & Monetize",
+ "description": "Creators: Sell your content directly, find buyers fast. Brands: Purchase ready-made, high-quality content. AI-Powered Growth: Let's use AI to earn. Let's earn money together!"
+ }
+ }
+ },
"downloadSection": {
"title": "Start Creating Anytime, Anywhere",
"titleBlue": "Easy Management on Mobile Too",
"description": "With the AI ToEarn mobile app, your creativity is no longer limited to desktop. We also provide iOS and Android mobile apps for you to unleash your creativity anytime, anywhere, with just one phone!",
+ "qrCodeText": "Scan QR Code to Download",
"appStore": {
"text": "Download on the",
"store": "App Store"
@@ -131,6 +194,8 @@
"wechat": "WeChat Group",
"community": "Creator Community"
},
+ "wechatPopup": "Scan QR code to follow WeChat Official Account",
+ "communityPopup": "Scan QR code to join community group",
"stats": {
"downloads": {
"number": "200K+",
@@ -152,6 +217,7 @@
"links": {
"docs": "Documentation",
"blog": "Blog",
+ "download": "Downloads",
"education": "Education",
"partner": "Partners",
"support": "Support",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/hot-content.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/hot-content.json
index e509ea8e..ca82c129 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/hot-content.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/hot-content.json
@@ -12,7 +12,7 @@
"comments": "Comments",
"collections": "Collections",
"publishTime": "Published at",
- "fans": "fans",
+ "fans": "Fans",
"viewMore": "View More",
"timeRange": "Time Range",
"filter": "Filter",
@@ -30,5 +30,31 @@
"noImage": "No Image",
"platform": "Platform",
"hotEvents": "Hot Events",
- "hotContent": "Hot Content"
-}
\ No newline at end of file
+ "hotContent": "Hot Content",
+ "noTitle": "No Title",
+ "baseInfo": "Base Info",
+ "views": "Views",
+ "recommend": "Recommend",
+ "watch": "Watch",
+ "dailyRank": "Daily Rank",
+ "updateFrequency": "Update Frequency",
+ "statEndTime": "Stat End Time",
+ "daily": "Daily",
+ "sortRule": "Sort Rule",
+ "sortRuleDesc": "Top 500 works by likes of the day are recommended",
+ "dataDescription": "Data Description",
+ "expand": "Expand",
+ "collapse": "Collapse",
+ "hotValue": "Hot Value",
+ "hotTrend": "Hot Trend",
+ "shortDrama": "Short Drama",
+ "cultureTourism": "Culture & Tourism",
+ "contentOverseas": "Content Overseas",
+ "hot": "Hot",
+ "last3days": "Last 3 days",
+ "last7days": "Last 7 days",
+ "last15days": "Last 15 days",
+ "last30days": "Last 30 days",
+ "backToAll": "Back to All",
+ "last90days": "Last 90 days"
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/income.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/income.json
new file mode 100644
index 00000000..6f8b0b01
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/income.json
@@ -0,0 +1,47 @@
+{
+ "title": "My Income",
+ "subtitle": "Manage your income records and withdrawal applications",
+ "currentBalance": "Current Balance",
+ "incomeRecords": "Income Records",
+ "withdrawRecords": "Withdrawal Records",
+ "incomeId": "Income ID",
+ "amount": "Amount",
+ "type": "Type",
+ "description": "Description",
+ "createTime": "Create Time",
+ "actions": "Actions",
+ "applyWithdraw": "Apply Withdrawal",
+ "withdrawId": "Withdrawal ID",
+ "status": "Status",
+ "updateTime": "Update Time",
+ "confirmWithdraw": "Confirm Withdrawal Application",
+ "cancel": "Cancel",
+ "confirm": "Confirm Withdrawal",
+ "withdrawAmount": "Withdrawal Amount",
+ "incomeType": "Income Type",
+ "withdrawWarning": "⚠️ After submitting your withdrawal application, we will process your request within 1-3 business days.",
+ "withdrawWarning2": "Please ensure your account information is correct. After successful withdrawal, the amount will be transferred to your designated account.",
+ "incomeTypes": {
+ "task": "Task Income",
+ "task_back": "Task Refund",
+ "reward_back": "Reward Refund",
+ "task_withdraw": "Task Withdrawal"
+ },
+ "withdrawStatus": {
+ "wait": "Waiting",
+ "success": "Withdrawal Successful",
+ "fail": "Withdrawal Failed",
+ "task_withdraw": "Task Withdrawal"
+ },
+ "messages": {
+ "getIncomeRecordsFailed": "Failed to get income records",
+ "getWithdrawRecordsFailed": "Failed to get withdrawal records",
+ "withdrawSubmitted": "Withdrawal application submitted successfully",
+ "withdrawFailed": "Failed to submit withdrawal application",
+ "pleaseLoginFirst": "Please login first",
+ "noIncomeRecords": "No income records",
+ "noWithdrawRecords": "No withdrawal records",
+ "loading": "Loading...",
+ "totalRecords": "Total {{total}} records"
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/material.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/material.json
index 136b18ed..144c5b12 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/material.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/material.json
@@ -153,6 +153,10 @@
"imageSizeLimit": "Image Size Limit",
"imageSizeLimitValue": "Less than 30MB",
"imageFormatSupport": "Supported Formats",
- "imageFormatSupportValue": "JPG, PNG, WEBP"
+ "imageFormatSupportValue": "JPG, PNG, WEBP",
+ "estimatedCreditCost": "Estimated Credit Cost",
+ "credits": "credits",
+ "getImageModelsFailed": "Failed to get image generation models",
+ "getVideoModelsFailed": "Failed to get video generation models"
}
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/notification.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/notification.json
new file mode 100644
index 00000000..52b9b93a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/notification.json
@@ -0,0 +1,91 @@
+{
+ "title": "Notifications",
+ "detailTitle": "Notification Details",
+ "markAllAsRead": "Mark All as Read",
+ "markAsRead": "Mark as Read",
+ "delete": "Delete",
+ "close": "Close",
+ "noNotifications": "No notifications",
+ "confirmDelete": "Are you sure you want to delete this notification?",
+ "confirm": "Confirm",
+ "cancel": "Cancel",
+ "deleteSuccess": "Deleted successfully",
+ "deleteFailed": "Delete failed",
+ "markSuccess": "Marked successfully",
+ "markFailed": "Mark failed",
+ "markAllSuccess": "All marked successfully",
+ "getNotificationListFailed": "Failed to get notification list",
+ "getNotificationDetailFailed": "Failed to get notification details",
+ "createTime": "Create Time",
+ "readTime": "Read Time",
+ "taskDetail": "Task Details",
+ "acceptTask": "Accept Task",
+ "noTaskDetails": "No task details",
+ "taskProcessing": "Processing Task...",
+ "acceptingTask": "Accepting task...",
+ "publishingTask": "Publishing task...",
+ "submittingTask": "Submitting task...",
+ "taskCompleted": "Task Completed",
+ "taskProcessFailed": "Task processing failed",
+ "acceptTaskFailed": "Failed to accept task",
+ "publishTaskFailed": "Failed to publish task",
+ "submitTaskFailed": "Failed to submit task",
+ "getTaskDetailFailed": "Failed to get task details",
+ "accountInfoFailed": "Failed to get account information",
+ "appRequiredNotice": "⚠️ Notice:",
+ "appRequiredMessage": "Tasks from publisher account ({{platform}}) require mobile app operation. Please download the corresponding app to continue.",
+ "mediaPreview": "Media Preview",
+ "pageInfo": "{{start}}-{{end}} of {{total}} records",
+ "notificationTypes": {
+ "system": "System Notification",
+ "user": "User Notification",
+ "material": "Material Notification",
+ "task_reminder": "Task Reminder",
+ "other": "Other Notification"
+ },
+ "taskStatus": {
+ "active": "Active",
+ "inactive": "Inactive"
+ },
+ "taskInfo": {
+ "description": "Description",
+ "publisherAccount": "Publisher Account",
+ "reward": "Reward",
+ "taskType": "Task Type",
+ "platformTypes": "Supported Platforms"
+ },
+ "taskTypes": {
+ "video": "Video",
+ "article": "Article",
+ "article2": "Text Only"
+ },
+ "platforms": {
+ "tiktok": "TikTok",
+ "youtube": "YouTube",
+ "twitter": "Twitter",
+ "bilibili": "Bilibili",
+ "KWAI": "Kwai",
+ "douyin": "Douyin",
+ "xhs": "Xiaohongshu",
+ "wxSph": "WeChat Video",
+ "wxGzh": "WeChat Official Account",
+ "facebook": "Facebook",
+ "instagram": "Instagram",
+ "threads": "Threads",
+ "pinterest": "Pinterest"
+ },
+ "time": {
+ "justNow": "Just now",
+ "minutesAgo": "{{minutes}} minutes ago",
+ "hoursAgo": "{{hours}} hours ago",
+ "daysAgo": "{{days}} days ago"
+ },
+ "accountSelect": {
+ "title": "Select Publisher Account",
+ "description": "Please select an account to publish the task:",
+ "noAccounts": "No eligible accounts found, please add an account first",
+ "redirectingToAccounts": "Redirecting to accounts page, please add eligible accounts",
+ "accountId": "Account ID",
+ "description": "Description"
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pinterest.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pinterest.json
index c066b641..8ad83e6b 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pinterest.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pinterest.json
@@ -13,7 +13,8 @@
"view": "View",
"edit": "Edit",
"delete": "Delete",
- "link": "Link"
+ "link": "Link",
+ "change": "Change"
},
"stats": {
"followers": "Followers",
@@ -38,7 +39,7 @@
},
"pin": {
"createTitle": "Create New Pin",
- "selectBoard": "Select Board",
+ "selectBoard": "Pinning To",
"selectBoardPlaceholder": "Select board to publish to",
"uploadImage": "Upload Image",
"uploadImagePlaceholder": "Click to upload image to OSS",
@@ -75,7 +76,8 @@
"followers": "Followers",
"owner": "Owner",
"yes": "Yes",
- "no": "No"
+ "no": "No",
+ "selected": "Selected"
},
"empty": {
"noBoards": "No boards",
@@ -102,7 +104,8 @@
"selectImageFile": "Please select an image file",
"imageSizeLimit": "Image size cannot exceed 10MB",
"imageUploadSuccess": "Image uploaded successfully",
- "imageUploadFailed": "Image upload failed, please try again"
+ "imageUploadFailed": "Image upload failed, please try again",
+ "noAccountFound": "No Pinterest account found"
},
"validation": {
"boardNameRequired": "Please enter board name",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pricing.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pricing.json
new file mode 100644
index 00000000..02f14103
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/pricing.json
@@ -0,0 +1,433 @@
+{
+
+
+ "title": "Pricing & Plans",
+ "subtitle": "Choose the plan that best fits your needs and start your AI creation journey",
+ "monthly": "Monthly",
+ "yearly": "Yearly",
+ "save25": "Save 25%",
+ "save50": "Save 50%",
+ "month": "month",
+ "credits": "Credits",
+ "videos": "Videos",
+ "images": "Images",
+ "flashSale50": "Flash Sale 50%",
+ "mostPopular": "Most Popular",
+ "plans": {
+ "free": {
+ "name": "Free",
+ "credits": "60 Credits",
+ "videos": "60 Videos/month",
+ "images": "120 Images/month",
+ "button": "Get Started"
+ },
+ "plus": {
+ "name": "Plus",
+ "credits": "700 Credits",
+ "videos": "700 Videos/month",
+ "images": "1400 Images/month",
+ "button": "Get Plus"
+ }
+ },
+ "features": {
+ "textModeration": "Text Moderation",
+ "imageModeration": "Image Moderation",
+ "videoModeration": "Video Moderation",
+ "multiModel": "Multi-Model Support",
+ "textToVideo": "Text to Video",
+ "imageToVideo": "Image to Video",
+ "videoToVideo": "Video to Video",
+ "consistentCharacter": "Consistent Character",
+ "aiAnimation": "AI Animation",
+ "aiImage": "AI Image",
+ "voiceClone": "Voice Clone",
+ "voiceSynthesis": "Voice Synthesis",
+ "fasterSpeed": "Faster Speed",
+ "withWatermark": "With Watermark",
+ "noWatermark": "No Watermark",
+ "storage500M": "500M Storage",
+ "storage5G": "5G Storage"
+ },
+ "faq": {
+ "title": "Frequently Asked Questions",
+ "paymentMethods": {
+ "question": "What payment methods do you support?",
+ "answer": "We support multiple payment methods, including major credit cards (Visa, MasterCard, American Express) as well as Alipay. If you are using our services in China, you can purchase one-time services with Alipay."
+ },
+ "creditDeduction": {
+ "question": "How are credits deducted for image and video generation?",
+ "answer": "Our pricing for image and video generation is aligned with the official channels. If bulk purchases from the official channels come with discounts, we will also pass those discounts on to you.",
+ "pricingTable": {
+ "title": "Detailed Pricing Table",
+ "headers": {
+ "model": "Model",
+ "type": "Type",
+ "duration": "Duration",
+ "resolution": "Resolution",
+ "notes": "Notes",
+ "credits": "Credits",
+ "price": "Price",
+ "channel": "Channel"
+ },
+ "rows": [
+ {
+ "model": "gpt-5",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "",
+ "notes": "Large model pricing follows official pricing",
+ "credits": "Per million tokens",
+ "price": "Input ¥9, Output ¥72",
+ "channel": "yun"
+ },
+ {
+ "model": "gpt-5-mini",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "Input ¥1.8, Output ¥14.4",
+ "channel": "yun"
+ },
+ {
+ "model": "gpt-5-nano",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "Input ¥0.36, Output ¥2.88",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-pro",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "Video Support",
+ "notes": "",
+ "credits": "",
+ "price": "Input ¥9, Output ¥72",
+ "channel": "yun"
+ },
+ {
+ "model": "chatgpt-4o-latest",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "Input ¥36, Output ¥108",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-flash",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "Video Support",
+ "notes": "",
+ "credits": "",
+ "price": "Input ¥2.16, Output ¥18",
+ "channel": "yun"
+ },
+ {
+ "model": "qwen-vl-max-latest",
+ "type": "Large Model",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "Input ¥1.6, Output ¥4",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-flash-image",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "",
+ "notes": "Also known as nano banana, supports multi-image input",
+ "credits": "1 credit",
+ "price": "¥0.27",
+ "channel": "yun"
+ },
+ {
+ "model": "seedream-3.0",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "2.6 credits",
+ "price": "¥0.26",
+ "channel": "Official"
+ },
+ {
+ "model": "seededit-3.0",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "",
+ "notes": "Image editing, supports jpeg, png formats",
+ "credits": "3 credits",
+ "price": "¥0.3",
+ "channel": "Official"
+ },
+ {
+ "model": "gpt-image-1",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "Image editing support",
+ "notes": "",
+ "credits": "Promotion",
+ "price": "Low $0.011-0.016, Medium $0.042-0.063, High $0.167-0.25",
+ "channel": "yun"
+ },
+ {
+ "model": "FLUX.1 Kontext [max]",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "Image editing support",
+ "notes": "",
+ "credits": "1.5 credits",
+ "price": "¥0.6",
+ "channel": "yun"
+ },
+ {
+ "model": "FLUX.1 Kontext [pro]",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "Image editing support",
+ "notes": "",
+ "credits": "1 credit",
+ "price": "¥0.3",
+ "channel": "yun"
+ },
+ {
+ "model": "Flux 1.1 pro ultra",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "4.5 credits",
+ "price": "¥0.45",
+ "channel": "Official"
+ },
+ {
+ "model": "Flux1.1 pro",
+ "type": "Image Generation",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "3 credits",
+ "price": "¥0.3",
+ "channel": "Official"
+ },
+ {
+ "model": "midjourney relax",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "",
+ "notes": "",
+ "credits": "Free",
+ "price": "",
+ "channel": "yun"
+ },
+ {
+ "model": "midjourney fast/turbo",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "",
+ "notes": "",
+ "credits": "4 credits",
+ "price": "",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "720p",
+ "notes": "",
+ "credits": "20 credits",
+ "price": "¥2",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "Video Generation",
+ "duration": "10s",
+ "resolution": "720p",
+ "notes": "",
+ "credits": "40 credits",
+ "price": "¥4",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "35 credits",
+ "price": "¥3.5",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "Video Generation",
+ "duration": "10s",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "70 credits",
+ "price": "¥7",
+ "channel": "yun"
+ },
+ {
+ "model": "kling2.1大师",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "100 credits",
+ "price": "¥10",
+ "channel": "yun"
+ },
+ {
+ "model": "kling2.1大师",
+ "type": "Video Generation",
+ "duration": "10s",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "200 credits",
+ "price": "¥20",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.2-plus",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "480p",
+ "notes": "",
+ "credits": "70 credits",
+ "price": "¥0.7",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.2-plus",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "35 credits",
+ "price": "¥3.5",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.1-turbo(14b)",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "720p",
+ "notes": "Do not use volcano channel",
+ "credits": "12 credits",
+ "price": "¥1.2",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.1-plus",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "720p",
+ "notes": "Supports first and last frames",
+ "credits": "35 credits",
+ "price": "¥3.5",
+ "channel": "yun"
+ },
+ {
+ "model": "wanx2.1-vace-plus",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "720p",
+ "notes": "Video editing",
+ "credits": "35 credits",
+ "price": "¥3.5",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "480p",
+ "notes": "Supports 10s",
+ "credits": "7.2 credits",
+ "price": "¥0.72",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "720p",
+ "notes": "10s price doubles",
+ "credits": "16.4 credits",
+ "price": "¥1.64",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "36.7 credits",
+ "price": "¥3.67",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "480p",
+ "notes": "Supports first and last frames",
+ "credits": "5 credits",
+ "price": "¥0.5",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "720p",
+ "notes": "Supports 10s",
+ "credits": "11 credits",
+ "price": "¥1.1",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "Video Generation",
+ "duration": "5s",
+ "resolution": "1080p",
+ "notes": "10s price doubles",
+ "credits": "25 credits",
+ "price": "¥2.5",
+ "channel": "yun"
+ }
+ ]
+ }
+ },
+ "creditExpiry": {
+ "question": "Do my credits expire?",
+ "answer": "Our credit expiration policy is very flexible. Credits will only expire 12 calendar months after they are acquired, giving you plenty of time to use them."
+ },
+ "moreCredits": {
+ "question": "What if I need more credits?",
+ "answer": "You can earn free credits by publishing content daily. In addition, you can get more credits by subscribing to a membership or purchasing credits directly."
+ },
+ "checkCredits": {
+ "question": "How can I check my credit status?",
+ "answer": "Simply click on your credit balance to view detailed changes and usage history."
+ },
+ "hiddenFees": {
+ "question": "Are there any hidden fees?",
+ "answer": "No. The price you see is the price you pay. There are no hidden charges beyond the plan you select."
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/profile.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/profile.json
index 69863a10..1c949b50 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/profile.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/profile.json
@@ -102,9 +102,38 @@
"expire": "Expire",
"aiService": "AI Service",
"userRegister": "User Register",
+ "publish": "Publish",
+ "point": "Points Trade",
"noPointsRecords": "No points records",
"totalRecords": "{{total}} records total"
},
+ "pointsPurchase": {
+ "title": "Buy Points",
+ "currentPoints": "Current Points",
+ "selectAmount": "Select Amount",
+ "description": "$15 for 1000 points, slide to select",
+ "purchasePoints": "Purchase Points",
+ "totalPrice": "Total",
+ "buyNow": "Buy Now",
+ "paying": "Paying...",
+ "paymentTip": "After payment, click to confirm status",
+ "confirmPayment": "I Paid",
+ "purchaseSuccess": "Points purchased!",
+ "paymentPending": "Payment pending, try later",
+ "orderRefunded": "Order refunded",
+ "orderCancelled": "Order cancelled",
+ "orderUnknown": "Unknown status, try later",
+ "queryFailed": "Query failed, retry",
+ "createOrderFailed": "Create order failed, retry",
+ "redirectingToPayment": "Redirecting to payment...",
+ "publish": "Publish",
+ "publishDesc": "Earn points by publishing",
+ "vip": "VIP",
+ "vipDesc": "VIP point benefits",
+ "buyPoints": "Buy Points",
+ "buyPointsDesc": "Direct recharge",
+ "getPointsMethods": "Get points:"
+ },
"freeTrial": {
"title": "🎉 Free Member Trial",
"congratulations": "Congratulations! You've earned a 7-day free member trial!",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/publish.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/publish.json
index ff3638e8..1b8089a2 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/publish.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/publish.json
@@ -41,7 +41,9 @@
"regionPlaceholder": "Select region",
"category": "Category",
"categoryPlaceholder": "Select category",
- "categoryPlaceholderDisabled": "Select region first"
+ "categoryPlaceholderDisabled": "Select region first",
+ "board": "Board",
+ "boardPlaceholder": "Select Board"
},
"upload": {
"finishingUp": "Finishing up...",
@@ -66,11 +68,19 @@
"partitionRequired": "You must select a partition!",
"sourceRequired": "Source must be filled when reprinting!",
"pageRequired": "You must select a page!",
+ "boardRequired": "You must select a Board!",
"coverSizeError": "Cover minimum size 400*400!"
},
"preview": {
"title": "Preview",
- "emptyDescription": "See your work preview here"
+ "emptyDescription": "See your work preview here",
+ "videoInfo": {
+ "filename": "Filename",
+ "format": "Format",
+ "resolution": "Resolution",
+ "size": "Size",
+ "duration": "Duration"
+ }
},
"draft": {
"selectDraft": "Select Draft",
@@ -92,6 +102,35 @@
},
"actions": {
"selectMaterial": "Select Material",
- "selectDraft": "Select Draft"
+ "selectDraft": "Select Draft",
+ "cropCover": "Crop Cover"
+ },
+ "tiktok": {
+ "creatorInfo": "Creator Info",
+ "privacy": {
+ "title": "Who can view this video",
+ "placeholder": "Select privacy level",
+ "public": "Public",
+ "friends": "Friends",
+ "private": "Private"
+ },
+ "interactions": {
+ "title": "Allow users to",
+ "comment": "Comment",
+ "duet": "Duet",
+ "stitch": "Stitch"
+ },
+ "commercial": {
+ "title": "Disclose video content",
+ "toggle": "Turn on to disclose that this video promotes goods orservices in exchange for something of value. Your video",
+ "yourBrand": "Your Brand - You are promoting yourself or your own business. This content will be classified as Brand Organic.",
+ "brandedContent": "Branded Content - You are promoting another brand or a third party. This content will be classified as Branded Content."
+ },
+ "compliance": {
+ "default": "By posting, you agree to TikTok's Music Usage Confirmation.",
+ "organic": "By posting, you agree to TikTok's Music Usage Confirmation.",
+ "branded": "By posting, you agree to TikTok's Branded Content Policy and Music Usage Confirmation.",
+ "both": "By posting, you agree to TikTok's Branded Content Policy and Music Usage Confirmation."
+ }
}
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/route.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/route.json
index f8010aae..bf2b813c 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/route.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/route.json
@@ -4,5 +4,11 @@
"publish": "Publish",
"hotContent": "Hot Content",
"hotContentNew": "Hot Content New",
- "navigation": "Navigation"
+ "aiTools": "AI Tools",
+ "tasks": "Tasks",
+ "interactive": "Interactive",
+ "engagement": "Engagement",
+ "dataStatistics": "Data Statistics",
+ "navigation": "Navigation",
+ "aiRank": "AI Rank"
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/task.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/task.json
new file mode 100644
index 00000000..afe647da
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/task.json
@@ -0,0 +1,103 @@
+{
+ "title": "Task Center",
+ "subtitle": "Accept tasks, complete tasks, earn rewards",
+ "pendingTasks": "Pending Tasks",
+ "acceptedTasks": "Accepted Tasks",
+ "taskDetails": "Task Details",
+ "acceptTask": "Accept Task",
+ "completeTask": "Complete Task",
+ "submitTask": "Submit Task",
+ "viewDetails": "View Details",
+ "taskProcessing": "Processing Task...",
+ "acceptingTask": "Accepting task...",
+ "publishingTask": "Publishing task...",
+ "submittingTask": "Submitting task...",
+ "taskCompleted": "Task Completed",
+ "taskStatus": {
+ "pending": "Pending",
+ "doing": "Completed",
+ "accepted": "Accepted",
+ "completed": "Completed",
+ "rejected": "Rejected",
+ "active": "In Progress",
+ "inactive": "Ended"
+ },
+ "taskTypes": {
+ "video": "Video",
+ "article": "Article",
+ "article2": "Text Only"
+ },
+ "platforms": {
+ "tiktok": "TikTok",
+ "youtube": "YouTube",
+ "twitter": "Twitter",
+ "bilibili": "Bilibili",
+ "KWAI": "Kwai",
+ "douyin": "Douyin",
+ "xhs": "Xiaohongshu",
+ "wxSph": "WeChat Video",
+ "wxGzh": "WeChat Official Account",
+ "facebook": "Facebook",
+ "instagram": "Instagram",
+ "threads": "Threads",
+ "pinterest": "Pinterest"
+ },
+ "taskInfo": {
+ "publishTime": "Publish Time",
+ "endTime": "End Time",
+ "acceptTime": "Accept Time",
+ "submitTime": "Submit Time",
+ "reward": "Reward",
+ "type": "Type",
+ "status": "Status",
+ "description": "Description",
+ "account": "Publisher Account",
+ "currentRecruits": "Accepted",
+ "maxRecruits": "Max Recruits",
+ "people": "people",
+ "firstSubmission": "First Submission"
+ },
+ "messages": {
+ "pleaseLoginFirst": "Please login first to view tasks",
+ "getPendingTasksFailed": "Failed to get pending tasks",
+ "getAcceptedTasksFailed": "Failed to get accepted tasks",
+ "acceptTaskSuccess": "Task accepted successfully!",
+ "acceptTaskFailed": "Failed to accept task",
+ "submitTaskSuccess": "Task submitted successfully!",
+ "submitTaskFailed": "Failed to submit task",
+ "publishTaskFailed": "Failed to publish task",
+ "getTaskDetailFailed": "Failed to get task details",
+ "taskProcessFailed": "Task processing failed",
+ "noPendingTasks": "No pending tasks",
+ "noAcceptedTasks": "No accepted tasks",
+ "noTaskDetails": "No task details",
+ "loading": "Loading...",
+ "totalRecords": "Total {{total}} records",
+ "pageInfo": "{{start}}-{{end}} of {{total}} records",
+ "taskInProgress": "Task is in progress, can be accepted",
+ "taskEnded": "Task has ended",
+ "acceptedCount": "Accepted {{current}}/{{max}} people"
+ },
+ "modal": {
+ "submitTask": "Submit Task",
+ "submitLink": "Submit Link",
+ "submitLinkPlaceholder": "Please enter the link after completing the task",
+ "submitTip": "Please ensure you have completed the task requirements and provided the correct submission link.",
+ "confirmSubmit": "Confirm Submit",
+ "cancel": "Cancel",
+ "close": "Close",
+ "mediaPreview": "Media Preview"
+ },
+ "time": {
+ "justNow": "Just now",
+ "minutesAgo": "{{minutes}} minutes ago",
+ "hoursAgo": "{{hours}} hours ago",
+ "daysAgo": "{{days}} days ago"
+ },
+ "accountSelect": {
+ "title": "Select Account",
+ "description": "Please select an account to use for publishing the task",
+ "accountId": "Account ID",
+ "redirectingToAccounts": "Redirecting to accounts page, please add channel account"
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/translation.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/translation.json
index dce94e62..dfaecf91 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/translation.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/translation.json
@@ -1,4 +1,4 @@
{
- "title": "AIToEarn Official Website",
+ "title": "Aitoearn: The Best Open Source Content AI Agent",
"content": "The best open-source matrix tool"
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/vip.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/vip.json
new file mode 100644
index 00000000..ad6d5682
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/en/vip.json
@@ -0,0 +1,40 @@
+{
+ "title": "PLUS Member",
+ "description": "Upgrade to unlock all features with 8 benefits",
+ "activateNow": "Activate Now",
+ "pleaseLoginFirst": "Please login first",
+ "paymentOrderCreated": "Payment order created",
+ "paymentLinkNotFound": "Payment link not found",
+ "createPaymentOrderFailed": "Failed to create payment order",
+ "createPaymentOrderError": "Failed to create payment order, please try again",
+ "trialNotice": {
+ "badge": "🎉 New User Exclusive",
+ "description": "Choose monthly or yearly subscription to enjoy 7-day free trial!"
+ },
+ "trialText": {
+ "month": "Free for first 7 days, then $15/month",
+ "year": "Free for first 7 days, then $120/year"
+ },
+ "badge": {
+ "onceMonth": "One-time",
+ "month": "7-day Free Trial",
+ "year": "7-day Free Trial",
+ "monthOld": "25% Off",
+ "yearOld": "50% Off"
+ },
+ "vipBenefits": {
+ "exclusiveBadge": "Badge",
+ "advancedFeatures": "Advanced",
+ "memberGift": "Gifts",
+ "prioritySupport": "Priority",
+ "discount": "Discount",
+ "unlimitedTime": "Unlimited",
+ "fastExperience": "Fast",
+ "morePrivileges": "More"
+ },
+ "plans": {
+ "onceMonth": "One-time Monthly",
+ "month": "Monthly",
+ "year": "Yearly"
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/account.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/account.json
index 7088b388..e1d226fd 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/account.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/account.json
@@ -9,7 +9,7 @@
"newWork": "新建作品",
"allPlatforms": "所有平台",
"accountManager": "账号管理器",
- "addAccount": "添加账号",
+ "addAccount": "添加频道",
"mcpManager": "MCP 管理器",
"online": "在线",
"offline": "离线",
@@ -25,7 +25,10 @@
"unknownAccount": "未知账户",
"addAccountModal": {
"title": "账号添加",
- "subtitle": "选择平台添加账号"
+ "subtitle": "选择平台添加账号",
+ "currentSpace": "当前空间",
+ "pleaseChooseSpaceFirst": "请先选择空间",
+ "addTo": "添加到:"
},
"facebookPages": {
"title": "选择Facebook页面",
@@ -43,7 +46,13 @@
"title": "发布计划列表",
"recordCount": "共 {{count}} 条发布计划",
"newWork": "新建作品",
- "noRecords": "暂无发布计划"
+ "noRecords": "暂无发布计划",
+ "queue": "列表",
+ "sent": "发布历史",
+ "createdDaysAgo": "您于 {{days}} 天前创建",
+ "viewPost": "查看帖子",
+ "noSentPosts": "暂无已发布的帖子",
+ "selectAccountFirst": "请先选择一个账号"
},
"chooseSpace": "选择空间",
"pleaseChooseSpace": "请选择空间",
@@ -53,5 +62,48 @@
"loading": "获取IP信息中...",
"error": "IP信息获取失败",
"tooltip": "ASN: {{asn}}\n组织: {{org}}"
- }
+ },
+ "createSpace": {
+ "title": "新建空间",
+ "button": "新建空间",
+ "name": "空间名",
+ "namePlaceholder": "请输入空间名称",
+ "cancel": "取消",
+ "save": "保存",
+ "success": "新建空间成功",
+ "failed": "新建空间失败",
+ "nameRequired": "请输入空间名称"
+ },
+ "locationRestriction": {
+ "cnSpace": "当前空间为中国属地,仅显示国内平台",
+ "nonCnSpace": "当前空间为非中国属地,国内平台暂不可用"
+ },
+ "userManageSidebar": {
+ "allAccounts": "全部账号",
+ "spaces": "空间",
+ "createSpace": "新建空间",
+ "spaceNamePlaceholder": "请输入空间名称",
+ "cannotOperateDefault": "不能操作默认列表",
+ "rename": "重命名",
+ "delete": "删除",
+ "confirmDelete": "提示",
+ "confirmDeleteContent": "请确认是否删除列表:",
+ "deleteSuccess": "删除成功",
+ "createSpaceTitle": "新建空间",
+ "renameSpaceTitle": "重命名空间",
+ "cancel": "取消",
+ "save": "保存",
+ "spaceName": "空间名"
+ },
+ "userManageModal": {
+ "account": "账号",
+ "platform": "平台",
+ "space": "所属列表"
+ },
+ "rednote": "小红书",
+ "kwai": "快手",
+ "bilibili": "哔哩哔哩",
+ "wxgzh": "微信公众号",
+ "douyin": "抖音",
+ "wxsph": "微信视频号"
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/common.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/common.json
index edc74e8c..50ef4367 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/common.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/common.json
@@ -27,9 +27,44 @@
},
"header": {
"messages": "消息通知",
+ "income": "收入记录",
+ "wallet": "我的钱包",
"materialLibrary": "素材库",
"draftBox": "草稿箱"
},
+ "tasks": "任务中心",
+ "signIn": {
+ "title": "每日签到得积分",
+ "myPoints": "我的积分",
+ "signIn": "签到",
+ "today": "今天",
+ "rules": "签到规则",
+ "rules1": "连续签到 1-7天, 每天1积分",
+ "rules2": "连续签到 8-21天, 每天2积分",
+ "rules3": "连续签到 22天以上, 每天3积分",
+ "signedIn": "已签到",
+ "notSignedIn": "未签到",
+ "signInSuccess": "签到成功",
+ "signInFailed": "签到失败",
+ "alreadySignedIn": "今日已签到",
+ "consecutiveDays": "连续签到天数",
+ "totalPoints": "总积分"
+ },
+ "downloadApp": {
+ "title": "下载{{appName}}",
+ "operationInApp": "请在{{appName}}中操作添加",
+ "description": "为了更好的用户体验和功能完整性,该操作需要在 {{appName}} 中完成账号添加。请下载并安装 {{appName}} 后继续操作。",
+ "operationDescription": "请在Aitoearn App中操作{{platform}}频道账号<br/>为了更好的用户体验和完整性,请下载并安装Aitoearn App后继续操作。",
+ "scanQrCode": "扫描二维码下载",
+ "downloadLink": "下载链接:",
+ "copy": "复制",
+ "copySuccess": "复制成功",
+ "copyFailed": "复制失败,请手动复制",
+ "copied": "已复制",
+ "close": "关闭",
+ "downloadNow": "立即下载",
+ "tip": "💡 提示:安装完成后,请在App中登录您的账号,然后重新尝试相关操作"
+ },
"websit": {
"termsOfService": {
"title": "用户协议",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/dataStatistics.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/dataStatistics.json
new file mode 100644
index 00000000..1b190e48
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/dataStatistics.json
@@ -0,0 +1,23 @@
+{
+ "title": "数据统计",
+ "description": "在这里查看和分析您的数据统计信息。",
+ "accountData": "账号数据",
+ "selectSpace": "选择空间",
+ "inputAccountName": "请输入账号名称",
+ "noAccount": "暂无账号",
+ "totalAccount": "累计账号数",
+ "online": "在线",
+ "offline": "离线",
+ "fansCount": "粉丝数",
+ "growthFansCount": "涨粉数",
+ "loginFailed": "登陆失败",
+ "relogin": "重新登录",
+ "dataDetails": "数据明细",
+ "timeRange": "时间范围:",
+ "yesterdayIncrease": "昨日新增",
+ "readCount": "播放数",
+ "commentCount": "评论数",
+ "likeCount": "点赞数",
+ "collectCount": "收藏数",
+ "forwardCount": "分享数"
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/engagement.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/engagement.json
new file mode 100644
index 00000000..5c31e430
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/engagement.json
@@ -0,0 +1,28 @@
+{
+ "title": "互动数据",
+ "columns": {
+ "postId": "帖子ID",
+ "platform": "平台",
+ "title": "标题",
+ "mediaType": "媒体类型",
+ "publishTime": "发布时间",
+ "viewCount": "浏览数",
+ "likeCount": "点赞数",
+ "commentCount": "评论数",
+ "shareCount": "分享数",
+ "clickCount": "点击数",
+ "impressionCount": "曝光数",
+ "favoriteCount": "收藏数",
+ "permaLink": "外链",
+ "open": "打开"
+ },
+ "placeholders": {
+ "uid": "请输入账户UID"
+ },
+ "actions": {
+ "search": "查询",
+ "reset": "重置"
+ }
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/home.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/home.json
index 83292f1b..0137c68f 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/home.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/home.json
@@ -4,13 +4,14 @@
"text": "通过插件和繁荣的市场构建和扩展AI工作流程。"
},
"header": {
- "logo": "Aitorarn",
+ "logo": "Aitoearn",
"nav": {
"marketplace": "市场",
"pricing": "价格",
"status": "状态",
- "docs": "问题",
- "blog": "博客"
+ "docs": "文档",
+ "blog": "博客",
+ "download": "下载"
},
"getStarted": "立即开始"
},
@@ -20,59 +21,120 @@
"github": "GitHub",
"title": "成为最好用的内容营销\nAI Agent",
"subtitle": "从今天起,使用AI轻松管理你的社交媒体。AITOEARN提供从灵感创意、内容制作,内容分发内容互动管理等一站式能力,让AI触手可及。",
- "getStarted": "立即开始"
+ "getStarted": "立即开始",
+ "useMobilePhone": "使用移动设备"
},
"brandBar": {
"title": "支持的社交媒体平台"
},
"buildSection": {
- "badge": "灵感创意",
- "title": "灵感枯竭?",
- "titleBlue": "来看看全网有哪些热点吧",
+ "badge": "功能1",
+ "title": "Content Publishing — 一键发布 · 多平台触达",
+ "titleBlue": "从创意灵感到多平台分发,再到数据分析和商业化",
+ "features": {
+ "hotTopic": {
+ "title": "多平台分发",
+ "description": "支持全球最多主流社交平台(Douyin, Kwai, Wechat, Bilibili, Rednote, Facebook, Instagram, TikTok, LinkedIn, Threads, Bluesky, YouTube Shorts, Pinterest, Google Business, Mastodon, X)。"
+ },
+ "international": {
+ "title": "日历编排",
+ "description": "像操作日历一样规划内容,实现多平台协同发布。"
+ }
+ },
+ "carouselHint": "使用滚轮切换图片"
+ },
+ "hotspotSection": {
+ "badge": "功能2",
+ "title": "Content Hotspot — 爆款灵感引擎",
+ "titleBlue": "爆款案例库与趋势捕捉",
"features": {
"hotTopic": {
- "title": "AI热点抓取,全网热点一网打尽",
- "description": "通过AI抓取全网热点,AI分析一键生成同款爆款内容,热点流量一网打尽"
+ "title": "爆款案例库",
+ "description": "随时查看他人如何打造 10,000+ 点赞的内容。"
},
"international": {
- "title": "国际站:YouTube 、 TikTok 、 Facebook 、 Instagram 、 LinkedIn 、 X (Twitter) 、 Rednote",
- "description": "海外站热点抓取,让你第一时间了解最新动态"
+ "title": "趋势捕捉",
+ "description": "快速发现流行趋势,降低创作焦虑。"
+ }
+ },
+ "carouselHint": "使用滚轮切换图片"
+ },
+ "searchSection": {
+ "badge": "功能3",
+ "title": "Content Search — 品牌与市场洞察",
+ "titleBlue": "品牌监控与内容搜索",
+ "features": {
+ "hotTopic": {
+ "title": "品牌监控",
+ "description": "实时追踪品牌相关讨论,第一时间响应。"
},
- "domestic": {
- "title": "国内站:抖音 、 快手 、 微信 、 Bilibili",
- "description": "支持国内站的热点抓取,让你不错过每一条热点流量"
+ "international": {
+ "title": "内容搜索",
+ "description": "找到目标帖子和话题,高效互动,精准拓展市场。"
+ }
+ },
+ "carouselHint": "使用滚轮切换图片"
+ },
+ "commentsSection": {
+ "badge": "功能4",
+ "title": "Comments Search — 精准用户挖掘",
+ "titleBlue": "智能评论搜索与精准转化",
+ "features": {
+ "hotTopic": {
+ "title": "智能评论搜索",
+ "description": "快速发现\"求链接\"\"怎么购买\"等高转化信号。"
+ },
+ "international": {
+ "title": "精准转化",
+ "description": "主动回复,提升流量变现效率。"
}
},
"carouselHint": "使用滚轮切换图片"
},
"connectSection": {
- "badge": "功能介绍",
- "title": "自媒体运营平台一站式解决方案",
- "titleBlue": "从灵感创意到内容制作,从内容分发到内容互动管理",
+ "badge": "功能5",
+ "title": "Content Engagement — 互动与增长引擎",
+ "titleBlue": "统一后台与主动运营",
"features": {
"creation": {
- "title": "内容创作",
- "description": "AI内容创作,AI图片生成,图文创作等AI能力,让你的内容更加生动有趣"
+ "title": "统一后台",
+ "description": "集中管理所有内容,互动零遗漏。"
},
"distribution": {
- "title": "内容分发",
- "description": "支持国内外多平台分发,让你的内容触达更多用户,一键式管理,让你的内容触达更多用户"
- },
- "interaction": {
- "title": "内容互动管理",
- "description": "支持国内外多平台互动管理,让你的内容互动更加高效,一键式管理,让你的内容互动更加高效"
- },
- "analytics": {
- "title": "数据分析",
- "description": "支持国内外多平台数据分析,让你的数据分析更加高效,一键式管理,让你的数据分析更加高效"
+ "title": "主动运营",
+ "description": "参与热门话题,与潜在用户双向互动。把\"被动内容运营\"变成\"主动流量经营\"。"
}
},
"carouselHint": "使用滚轮切换图片"
},
+ "upcomingSection": {
+ "badge": "即将上线",
+ "title": "AI 驱动的全链路内容增长与变现平台",
+ "titleBlue": "即将上线功能,敬请期待",
+ "features": {
+ "smartImport": {
+ "title": "智能导入",
+ "description": "直接导入历史内容,快速编辑、二次分发。例如:小红书创作者可一键同步到 YouTube,让更多用户看到。"
+ },
+ "analytics": {
+ "title": "Content Analytics — 全景化数据视图",
+ "description": "多平台对比:一个平台不给流量,不代表所有平台不给。全链路监控:追踪内容表现,助力打造下一个百万博主。"
+ },
+ "aiCreation": {
+ "title": "AI Content Creation — 全流程 AI 助手",
+ "description": "AI 文案生成:自动生成标题、描述,高效产出。AI 评论生成:主动出击,获取流量。图文卡片生成,全流程加速创作。支持主流 AI 视频模型和图片模型。"
+ },
+ "marketplace": {
+ "title": "Content Marketplace — 内容交易与变现",
+ "description": "创作者变现:在平台直接出售内容,让优质作品快速找到买家。品牌采购:企业可直接购买现成内容,节省时间与成本。让创作变成收益 —— Let's use AI to earn. Let's earn money together!"
+ }
+ }
+ },
"downloadSection": {
"title": "随时随地开始创作",
"titleBlue": "移动端也能轻松管理",
- "description": "借助 AI ToEarn 移动应用,您的创作不再局限于桌面端。我们还为您提供 iOS 和 Android 移动应用,随时随地释放您的创造力,仅需一部手机即可!",
+ "description": "借助 AI ToEarn 移动应用,您的创作不再局限于桌面端。我们还为您提供App移动应用,随时随地释放您的创造力,仅需一部手机即可!",
+ "qrCodeText": "扫描二维码下载",
"appStore": {
"text": "Download on the",
"store": "App Store"
@@ -131,6 +193,8 @@
"wechat": "微信群组",
"community": "创作者交流群"
},
+ "wechatPopup": "扫码关注微信公众号",
+ "communityPopup": "扫码加入社区群",
"stats": {
"downloads": {
"number": "20万+",
@@ -152,6 +216,7 @@
"links": {
"docs": "文档",
"blog": "博客",
+ "download": "下载",
"education": "教育",
"partner": "合作伙伴",
"support": "服务支持",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/hot-content.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/hot-content.json
index c5cc1eac..ae41ffc2 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/hot-content.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/hot-content.json
@@ -12,7 +12,7 @@
"comments": "评论数",
"collections": "收藏数",
"publishTime": "发布于",
- "fans": "粉丝",
+ "fans": "粉丝数",
"viewMore": "查看更多",
"timeRange": "时间范围",
"filter": "筛选",
@@ -24,11 +24,37 @@
"noHotTopics": "暂无热点数据",
"noViralTitles": "暂无爆款标题数据",
"noTopicData": "暂无专题数据",
- "total": "共",
+ "total": "总",
"items": "条",
"video": "视频",
"noImage": "暂无图片",
"platform": "平台",
"hotEvents": "热点事件",
- "hotContent": "热点内容"
-}
\ No newline at end of file
+ "hotContent": "热点内容",
+ "noTitle": "暂无标题",
+ "baseInfo": "基本信息",
+ "views": "播放数",
+ "recommend": "推荐数",
+ "watch": "在看数",
+ "dailyRank": "日榜",
+ "updateFrequency": "更新时间",
+ "statEndTime": "统计数据截止",
+ "daily": "按日",
+ "sortRule": "排序规则",
+ "sortRuleDesc": "统计当日点赞量前500名的作品推荐",
+ "dataDescription": "数据说明",
+ "expand": "展开",
+ "collapse": "收起",
+ "hotValue": "热度值",
+ "hotTrend": "热度趋势",
+ "shortDrama": "短剧",
+ "cultureTourism": "文旅",
+ "contentOverseas": "内容出海",
+ "hot": "热点",
+ "last3days": "近3天",
+ "last7days": "近7天",
+ "last15days": "近15天",
+ "last30days": "近30天",
+ "backToAll": "返回全部",
+ "last90days": "近90天"
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/income.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/income.json
new file mode 100644
index 00000000..bd1583c9
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/income.json
@@ -0,0 +1,48 @@
+{
+ "title": "我的收入",
+ "subtitle": "管理您的收入记录和提现申请",
+ "currentBalance": "当前余额",
+ "incomeRecords": "收入记录",
+ "withdrawRecords": "提现记录",
+ "incomeId": "收入ID",
+ "amount": "金额",
+ "type": "类型",
+ "description": "描述",
+ "createTime": "创建时间",
+ "actions": "操作",
+ "applyWithdraw": "申请提现",
+ "withdrawId": "提现ID",
+ "status": "状态",
+ "updateTime": "更新时间",
+ "confirmWithdraw": "确认提现申请",
+ "cancel": "取消",
+ "confirm": "确认提现",
+ "withdrawAmount": "提现金额",
+ "incomeType": "收入类型",
+ "withdrawWarning": "⚠️ 提现申请提交后,我们将在1-3个工作日内处理您的申请。",
+ "withdrawWarning2": "请确保您的账户信息正确,提现成功后金额将转入您的指定账户。",
+ "incomeTypes": {
+ "task": "任务收入",
+ "task_back": "任务回退",
+ "reward_back": "奖励回退",
+ "task_withdraw": "任务提现"
+ },
+ "withdrawStatus": {
+ "wait": "等待处理",
+ "success": "提现成功",
+ "fail": "提现失败",
+ "task_withdraw": "任务提现"
+ },
+ "messages": {
+ "getIncomeRecordsFailed": "获取收入记录失败",
+ "getWithdrawRecordsFailed": "获取提现记录失败",
+ "withdrawSubmitted": "提现申请提交成功",
+ "withdrawFailed": "提现申请提交失败",
+ "pleaseLoginFirst": "请先登录",
+ "noIncomeRecords": "暂无收入记录",
+ "noWithdrawRecords": "暂无提现记录",
+ "loading": "加载中...",
+ "totalRecords": "共 {{total}} 条记录"
+ },
+ "myWallet": "我的钱包"
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/material.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/material.json
index cd51b1a7..bff623ec 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/material.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/material.json
@@ -158,6 +158,10 @@
"imageSizeLimit": "图片大小限制",
"imageSizeLimitValue": "小于30MB",
"imageFormatSupport": "支持格式",
- "imageFormatSupportValue": "JPG, PNG, WEBP"
+ "imageFormatSupportValue": "JPG, PNG, WEBP",
+ "estimatedCreditCost": "预计消耗积分",
+ "credits": "积分",
+ "getImageModelsFailed": "获取图片生成模型失败",
+ "getVideoModelsFailed": "获取视频生成模型失败"
}
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/notification.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/notification.json
new file mode 100644
index 00000000..ba361af3
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/notification.json
@@ -0,0 +1,91 @@
+{
+ "title": "消息通知",
+ "detailTitle": "通知详情",
+ "markAllAsRead": "全部标记为已读",
+ "markAsRead": "标记为已读",
+ "delete": "删除",
+ "close": "关闭",
+ "noNotifications": "暂无通知",
+ "confirmDelete": "确定要删除这条通知吗?",
+ "confirm": "确定",
+ "cancel": "取消",
+ "deleteSuccess": "删除成功",
+ "deleteFailed": "删除失败",
+ "markSuccess": "标记成功",
+ "markFailed": "标记失败",
+ "markAllSuccess": "全部标记成功",
+ "getNotificationListFailed": "获取通知列表失败",
+ "getNotificationDetailFailed": "获取通知详情失败",
+ "createTime": "创建时间",
+ "readTime": "已读时间",
+ "taskDetail": "任务详情",
+ "acceptTask": "接受任务",
+ "noTaskDetails": "暂无任务详情",
+ "taskProcessing": "任务处理中...",
+ "acceptingTask": "正在接受任务...",
+ "publishingTask": "正在发布任务...",
+ "submittingTask": "正在提交任务...",
+ "taskCompleted": "任务完成",
+ "taskProcessFailed": "任务处理失败",
+ "acceptTaskFailed": "接受任务失败",
+ "publishTaskFailed": "发布任务失败",
+ "submitTaskFailed": "提交任务失败",
+ "getTaskDetailFailed": "获取任务详情失败",
+ "accountInfoFailed": "账号信息获取失败",
+ "appRequiredNotice": "⚠️ 注意:",
+ "appRequiredMessage": "发布账号({{platform}})的任务需要在移动端App中操作,请下载对应App后继续。",
+ "mediaPreview": "媒体预览",
+ "pageInfo": "第 {{start}}-{{end}} 条,共 {{total}} 条",
+ "notificationTypes": {
+ "system": "系统通知",
+ "user": "用户通知",
+ "material": "素材通知",
+ "task_reminder": "任务提醒",
+ "other": "其他通知"
+ },
+ "taskStatus": {
+ "active": "进行中",
+ "inactive": "已结束"
+ },
+ "taskInfo": {
+ "description": "描述",
+ "publisherAccount": "发布账号",
+ "reward": "奖励",
+ "taskType": "任务类型",
+ "platformTypes": "支持平台"
+ },
+ "taskTypes": {
+ "video": "视频",
+ "article": "图文",
+ "article2": "纯文字"
+ },
+ "platforms": {
+ "tiktok": "TikTok",
+ "youtube": "YouTube",
+ "twitter": "Twitter",
+ "bilibili": "哔哩哔哩",
+ "KWAI": "快手",
+ "douyin": "抖音",
+ "xhs": "小红书",
+ "wxSph": "微信视频号",
+ "wxGzh": "微信公众号",
+ "facebook": "Facebook",
+ "instagram": "Instagram",
+ "threads": "Threads",
+ "pinterest": "Pinterest"
+ },
+ "time": {
+ "justNow": "刚刚",
+ "minutesAgo": "{{minutes}}分钟前",
+ "hoursAgo": "{{hours}}小时前",
+ "daysAgo": "{{days}}天前"
+ },
+ "accountSelect": {
+ "title": "选择发布账号",
+ "description": "请选择用于发布任务的账号:",
+ "noAccounts": "没有符合条件的账号,请先添加账号",
+ "redirectingToAccounts": "正在跳转到账户界面,请添加符合条件的账号",
+ "accountId": "账号ID",
+ "description": "描述"
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pinterest.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pinterest.json
index 8c2bef23..ef035704 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pinterest.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pinterest.json
@@ -13,7 +13,8 @@
"view": "查看",
"edit": "编辑",
"delete": "删除",
- "link": "链接"
+ "link": "链接",
+ "change": "更改"
},
"stats": {
"followers": "关注者",
@@ -75,7 +76,8 @@
"followers": "关注者",
"owner": "拥有者",
"yes": "是",
- "no": "否"
+ "no": "否",
+ "selected": "当前选择"
},
"empty": {
"noBoards": "暂无Board",
@@ -102,7 +104,8 @@
"selectImageFile": "请选择图片文件",
"imageSizeLimit": "图片大小不能超过10MB",
"imageUploadSuccess": "图片上传成功",
- "imageUploadFailed": "图片上传失败,请重试"
+ "imageUploadFailed": "图片上传失败,请重试",
+ "noAccountFound": "没有找到Pinterest账户"
},
"validation": {
"boardNameRequired": "请输入Board名称",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pricing.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pricing.json
new file mode 100644
index 00000000..9a501b19
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/pricing.json
@@ -0,0 +1,434 @@
+{
+ "title": "套餐与定价",
+ "subtitle": "选择最适合您需求的套餐,开始您的AI创作之旅",
+ "monthly": "月付",
+ "yearly": "年付",
+ "save25": "省25%",
+ "save50": "省50%",
+ "month": "月",
+ "credits": "积分",
+ "videos": "视频",
+ "images": "图片",
+ "flashSale50": "限时5折",
+ "mostPopular": "最受欢迎",
+ "plans": {
+ "free": {
+ "name": "Free",
+ "credits": "最高60 积分",
+ "videos": "每月最高可生成60个视频",
+ "images": "每月最高可生成120张图片",
+ "button": "立即开始"
+ },
+ "plus": {
+ "name": "Plus",
+ "credits": "700积分",
+ "videos": "每月最高可生成700个视频",
+ "images": "每月最高可生成1400张图片",
+ "button": "立即购买"
+ }
+ },
+ "features": {
+ "textModeration": "文本内容安全审查",
+ "imageModeration": "图片内容安全审查",
+ "videoModeration": "视频内容安全审查",
+ "multiModel": "多模型一站式支持",
+ "textToVideo": "文字转视频",
+ "imageToVideo": "图像转视频",
+ "videoToVideo": "视频到视频",
+ "consistentCharacter": "一致的角色视频",
+ "aiAnimation": "AI动画生成",
+ "aiImage": "AI图像生成",
+ "voiceClone": "声音克隆",
+ "voiceSynthesis": "声音合成",
+ "fasterSpeed": "更快的生成速度",
+ "withWatermark": "含水印输出",
+ "noWatermark": "无水印输出",
+ "storage500M": "存储空间500M",
+ "storage5G": "存储空间5G"
+ },
+ "faq": {
+ "title": "常见问题",
+ "paymentMethods": {
+ "question": "你们支持哪些支付方式?",
+ "answer": "我们支持多种支付方式,包括主要的信用卡(Visa、MasterCard、American Express)以及支付宝等。如果您在中国使用我们的服务,可以通过支付宝购买一次性服务。"
+ },
+ "creditDeduction": {
+ "question": "图片和视频生成时,积分是如何扣除的?",
+ "answer": "我们的图片和视频生成定价与官方渠道保持一致。通常情况下,如果官方渠道有大额采购折扣,我们也会同步将这些优惠让利给您。",
+ "pricingTable": {
+ "title": "详细价格表",
+ "headers": {
+ "model": "模型",
+ "type": "类型",
+ "duration": "时长",
+ "resolution": "分辨率",
+ "notes": "备注",
+ "credits": "积分",
+ "price": "价格",
+ "channel": "渠道"
+ },
+ "rows": [
+ {
+ "model": "gpt-5",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "大模型价格以官方价格为准",
+ "credits": "每百万tokens",
+ "price": "输入 9元,输出 72元",
+ "channel": "yun"
+ },
+ {
+ "model": "gpt-5-mini",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入 1.8元,输出 14.4元",
+ "channel": "yun"
+ },
+ {
+ "model": "gpt-5-nano",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入 0.36元,输出 2.88元",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-pro",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "支持视频",
+ "notes": "",
+ "credits": "",
+ "price": "输入9元,输出 72元",
+ "channel": "yun"
+ },
+ {
+ "model": "chatgpt-4o-latest",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入 36元,输出 108元",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-flash",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "支持视频",
+ "notes": "",
+ "credits": "",
+ "price": "输入 2.16元,输出 18元",
+ "channel": "yun"
+ },
+ {
+ "model": "qwen-vl-max-latest",
+ "type": "大模型",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "",
+ "price": "输入1.6元,输出4元",
+ "channel": "yun"
+ },
+ {
+ "model": "gemini-2.5-flash-image",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "又名nano banana,支持多图像输入",
+ "credits": "1",
+ "price": "0.27元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedream-3.0",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "2.6",
+ "price": "0.26元",
+ "channel": "官方"
+ },
+ {
+ "model": "seededit-3.0",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "图片编辑,支持jpeg、png格式",
+ "credits": "3",
+ "price": "0.3元",
+ "channel": "官方"
+ },
+ {
+ "model": "gpt-image-1",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "支持图片编辑",
+ "notes": "",
+ "credits": "促销",
+ "price": "low $0.011-0.016,medium $0.042-0.063,high $0.167-0.25",
+ "channel": "yun"
+ },
+ {
+ "model": "FLUX.1 Kontext [max]",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "支持图片编辑",
+ "notes": "",
+ "credits": "1.5",
+ "price": "0.6元",
+ "channel": "yun"
+ },
+ {
+ "model": "FLUX.1 Kontext [pro]",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "支持图片编辑",
+ "notes": "",
+ "credits": "1",
+ "price": "0.3元",
+ "channel": "yun"
+ },
+ {
+ "model": "Flux 1.1 pro ultra",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "4.5",
+ "price": "0.45元",
+ "channel": "官方"
+ },
+ {
+ "model": "Flux1.1 pro",
+ "type": "图片生成",
+ "duration": "",
+ "resolution": "",
+ "notes": "",
+ "credits": "3",
+ "price": "0.3元",
+ "channel": "官方"
+ },
+ {
+ "model": "midjourney relax",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "",
+ "notes": "",
+ "credits": "免费",
+ "price": "",
+ "channel": "yun"
+ },
+ {
+ "model": "midjourney fast/turbo",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "",
+ "notes": "",
+ "credits": "4",
+ "price": "",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "",
+ "credits": "20",
+ "price": "2元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "视频生成",
+ "duration": "10秒",
+ "resolution": "720p",
+ "notes": "",
+ "credits": "40",
+ "price": "4元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling1.5/1.6/2.1",
+ "type": "视频生成",
+ "duration": "10秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "70",
+ "price": "7元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling2.1大师",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "100",
+ "price": "10元",
+ "channel": "yun"
+ },
+ {
+ "model": "kling2.1大师",
+ "type": "视频生成",
+ "duration": "10秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "200",
+ "price": "20元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.2-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "480p",
+ "notes": "",
+ "credits": "70",
+ "price": "0.7元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.2-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.1-turbo(14b)",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "不要使用火山渠道",
+ "credits": "12",
+ "price": "1.2元",
+ "channel": "yun"
+ },
+ {
+ "model": "wan2.1-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "支持首尾帧",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "wanx2.1-vace-plus",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "视频编辑",
+ "credits": "35",
+ "price": "3.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "480p",
+ "notes": "支持10秒",
+ "credits": "7.2",
+ "price": "0.72元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "10秒价格翻倍",
+ "credits": "16.4",
+ "price": "1.64元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-pro",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "",
+ "credits": "36.7",
+ "price": "3.67元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "480p",
+ "notes": "支持首尾帧",
+ "credits": "5",
+ "price": "0.5元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "720p",
+ "notes": "支持10秒",
+ "credits": "11",
+ "price": "1.1元",
+ "channel": "yun"
+ },
+ {
+ "model": "seedance-1.0-lite",
+ "type": "视频生成",
+ "duration": "5秒",
+ "resolution": "1080p",
+ "notes": "10秒价格翻倍",
+ "credits": "25",
+ "price": "2.5元",
+ "channel": "yun"
+ }
+ ]
+ }
+ },
+ "creditExpiry": {
+ "question": "我的积分会过期吗?",
+ "answer": "我们的积分过期机制非常宽松。积分自获取之日起 12 个自然月后才会过期,您有充足的时间使用。"
+ },
+ "moreCredits": {
+ "question": "如果我需要更多积分怎么办?",
+ "answer": "您可以通过每天发布内容来获取免费积分。同时,也可以通过开通会员或直接购买积分的方式获得更多积分。"
+ },
+ "checkCredits": {
+ "question": "如何查看我的积分情况?",
+ "answer": "点击您的积分余额,即可查看积分的变更明细。"
+ },
+ "hiddenFees": {
+ "question": "是否存在隐藏费用?",
+ "answer": "没有。您所看到的价格就是您最终支付的价格,不会有任何额外的隐性收费。"
+ },
+ "refundPolicy": {
+ "question": "有退款政策吗?",
+ "answer": "我们提供7天无理由退款保证。如果您对服务不满意,可以在购买后7天内申请全额退款。"
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/profile.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/profile.json
index 4fabc455..2ec5d2cf 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/profile.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/profile.json
@@ -102,9 +102,38 @@
"expire": "过期",
"aiService": "AI服务",
"userRegister": "用户注册",
+ "publish": "发布作品",
+ "point": "积分交易",
"noPointsRecords": "暂无积分记录",
"totalRecords": "共 {{total}} 条记录"
},
+ "pointsPurchase": {
+ "title": "购买积分",
+ "currentPoints": "当前积分",
+ "selectAmount": "选择购买数量",
+ "description": "每1000积分售价15美元,滑动选择购买数量",
+ "purchasePoints": "购买积分",
+ "totalPrice": "总价",
+ "buyNow": "立即购买",
+ "paying": "支付中...",
+ "paymentTip": "支付完成后,请点击下方按钮确认支付状态",
+ "confirmPayment": "我已支付",
+ "purchaseSuccess": "积分购买成功!",
+ "paymentPending": "订单尚未支付成功,请稍后再试",
+ "orderRefunded": "订单已退款",
+ "orderCancelled": "订单已取消",
+ "orderUnknown": "订单状态未知,请稍后再试",
+ "queryFailed": "查询订单状态失败,请重试",
+ "createOrderFailed": "创建支付订单失败,请重试",
+ "redirectingToPayment": "正在跳转到支付页面...",
+ "publish": "发布",
+ "publishDesc": "发布内容获得积分奖励",
+ "vip": "开通会员",
+ "vipDesc": "会员专享积分福利",
+ "buyPoints": "购买积分",
+ "buyPointsDesc": "直接充值获得积分",
+ "getPointsMethods": "获取积分的方法:"
+ },
"freeTrial": {
"title": "🎉 免费会员体验",
"congratulations": "恭喜您获得7天免费会员体验!",
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/publish.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/publish.json
index c4db69e7..3e26e158 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/publish.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/publish.json
@@ -41,7 +41,9 @@
"regionPlaceholder": "请选择国区",
"category": "视频分类",
"categoryPlaceholder": "请选择视频分类",
- "categoryPlaceholderDisabled": "请先选择国区"
+ "categoryPlaceholderDisabled": "请先选择国区",
+ "board": "Board",
+ "boardPlaceholder": "请选择Board"
},
"upload": {
"finishingUp": "正在完成...",
@@ -66,11 +68,19 @@
"partitionRequired": "您必须选择分区!",
"sourceRequired": "转载时必须填写转载来源!",
"pageRequired": "您必须选择页面!",
+ "boardRequired": "您必须选择Board!",
"coverSizeError": "封面最小尺寸400*400!"
},
"preview": {
"title": "预览",
- "emptyDescription": "在这里看到你的作品预览"
+ "emptyDescription": "在这里看到你的作品预览",
+ "videoInfo": {
+ "filename": "文件名",
+ "format": "格式",
+ "resolution": "分辨率",
+ "size": "大小",
+ "duration": "时长"
+ }
},
"draft": {
"selectDraft": "选择草稿",
@@ -92,6 +102,35 @@
},
"actions": {
"selectMaterial": "选择素材",
- "selectDraft": "选择草稿"
+ "selectDraft": "选择草稿",
+ "cropCover": "裁剪封面"
+ },
+ "tiktok": {
+ "creatorInfo": "创作者信息",
+ "privacy": {
+ "title": "谁可以观看",
+ "placeholder": "请选择隐私级别",
+ "public": "公开",
+ "friends": "朋友",
+ "private": "仅自己"
+ },
+ "interactions": {
+ "title": "允许用户",
+ "comment": "评论",
+ "duet": "合拍",
+ "stitch": "拼接"
+ },
+ "commercial": {
+ "title": "披露视频",
+ "toggle": "开启以披露此视频推广商品或服务以换取价值。",
+ "yourBrand": "您的品牌 - 您正在推广自己或自己的业务。此内容将被分类为品牌有机内容。",
+ "brandedContent": "品牌内容 - 您正在推广另一个品牌或第三方。此内容将被分类为品牌内容。"
+ },
+ "compliance": {
+ "default": "发布即表示您同意 TikTok 的音乐使用确认。",
+ "organic": "发布即表示您同意 TikTok 的音乐使用确认。",
+ "branded": "发布即表示您同意 TikTok 的品牌内容政策音乐使用确认。",
+ "both": "发布即表示您同意 TikTok 的品牌内容政策音乐使用确认。"
+ }
}
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/route.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/route.json
index ad8874cb..4b31c3fb 100644
--- a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/route.json
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/route.json
@@ -4,5 +4,12 @@
"publish": "发布",
"hotContent": "热门内容",
"hotContentNew": "热门内容新",
- "navigation": "导航"
-}
\ No newline at end of file
+ "download": "下载",
+ "aiTools": "AI工具",
+ "tasks": "任务中心",
+ "interactive": "作品互动",
+ "engagement": "互动数据",
+ "dataStatistics": "数据统计",
+ "navigation": "导航",
+ "aiRank": "AI热榜"
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/task.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/task.json
new file mode 100644
index 00000000..aaeb60aa
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/task.json
@@ -0,0 +1,103 @@
+{
+ "title": "任务中心",
+ "subtitle": "接受任务,完成任务,获得奖励",
+ "pendingTasks": "待接受任务",
+ "acceptedTasks": "已接受任务",
+ "taskDetails": "任务详情",
+ "acceptTask": "接受任务",
+ "completeTask": "完成任务",
+ "submitTask": "提交任务",
+ "viewDetails": "查看详情",
+ "taskProcessing": "任务处理中...",
+ "acceptingTask": "正在接受任务...",
+ "publishingTask": "正在发布任务...",
+ "submittingTask": "正在提交任务...",
+ "taskCompleted": "任务完成",
+ "taskStatus": {
+ "pending": "待完成",
+ "doing": "已完成",
+ "accepted": "已接受",
+ "completed": "已完成",
+ "rejected": "已拒绝",
+ "active": "进行中",
+ "inactive": "已结束"
+ },
+ "taskTypes": {
+ "video": "视频",
+ "article": "图文",
+ "article2": "纯文字"
+ },
+ "platforms": {
+ "tiktok": "TikTok",
+ "youtube": "YouTube",
+ "twitter": "Twitter",
+ "bilibili": "哔哩哔哩",
+ "KWAI": "快手",
+ "douyin": "抖音",
+ "xhs": "小红书",
+ "wxSph": "微信视频号",
+ "wxGzh": "微信公众号",
+ "facebook": "Facebook",
+ "instagram": "Instagram",
+ "threads": "Threads",
+ "pinterest": "Pinterest"
+ },
+ "taskInfo": {
+ "publishTime": "发布时间",
+ "endTime": "结束时间",
+ "acceptTime": "接受时间",
+ "submitTime": "提交时间",
+ "reward": "奖励",
+ "type": "类型",
+ "status": "状态",
+ "description": "描述",
+ "account": "发布账号",
+ "currentRecruits": "已接受",
+ "maxRecruits": "最大招募",
+ "people": "人",
+ "firstSubmission": "首次提交"
+ },
+ "messages": {
+ "pleaseLoginFirst": "请先登录以查看任务",
+ "getPendingTasksFailed": "获取待接受任务失败",
+ "getAcceptedTasksFailed": "获取已接受任务失败",
+ "acceptTaskSuccess": "接受任务成功!",
+ "acceptTaskFailed": "接受任务失败",
+ "submitTaskSuccess": "任务提交成功!",
+ "submitTaskFailed": "任务提交失败",
+ "publishTaskFailed": "发布任务失败",
+ "getTaskDetailFailed": "获取任务详情失败",
+ "taskProcessFailed": "任务处理失败",
+ "noPendingTasks": "暂无待接受任务",
+ "noAcceptedTasks": "暂无已接受任务",
+ "noTaskDetails": "暂无任务详情",
+ "loading": "加载中...",
+ "totalRecords": "共 {{total}} 条记录",
+ "pageInfo": "第 {{start}}-{{end}} 条,共 {{total}} 条",
+ "taskInProgress": "任务正在进行中,可以接受",
+ "taskEnded": "任务已结束",
+ "acceptedCount": "已接受 {{current}}/{{max}} 人"
+ },
+ "modal": {
+ "submitTask": "提交任务",
+ "submitLink": "提交链接",
+ "submitLinkPlaceholder": "请输入任务完成后的链接",
+ "submitTip": "请确保您已经完成了任务要求,并提供了正确的提交链接。",
+ "confirmSubmit": "确认提交",
+ "cancel": "取消",
+ "close": "关闭",
+ "mediaPreview": "媒体预览"
+ },
+ "time": {
+ "justNow": "刚刚",
+ "minutesAgo": "{{minutes}}分钟前",
+ "hoursAgo": "{{hours}}小时前",
+ "daysAgo": "{{days}}天前"
+ },
+ "accountSelect": {
+ "title": "选择账号",
+ "description": "请选择要用于发布任务的账号",
+ "accountId": "账号ID",
+ "redirectingToAccounts": "正在跳转到账户页面,请添加频道账号"
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/vip.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/vip.json
new file mode 100644
index 00000000..5e9cebcc
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/vip.json
@@ -0,0 +1,40 @@
+{
+ "title": "PLUS会员",
+ "description": "开通会员解锁全部功能,立享8种权益",
+ "activateNow": "立即开通",
+ "pleaseLoginFirst": "请先登录",
+ "paymentOrderCreated": "支付订单创建成功",
+ "paymentLinkNotFound": "未获取到支付链接",
+ "createPaymentOrderFailed": "创建支付订单失败",
+ "createPaymentOrderError": "创建支付订单失败,请稍后重试",
+ "trialNotice": {
+ "badge": "🎉 新用户专享",
+ "description": "选择连续包月或连续包年,可享受7天免费试用期!"
+ },
+ "trialText": {
+ "month": "前7天免费,之后$19/月",
+ "year": "前7天免费,之后$144/年"
+ },
+ "badge": {
+ "onceMonth": "一次性",
+ "month": "7天免费试用",
+ "year": "7天免费试用",
+ "monthOld": "25%优惠",
+ "yearOld": "50%优惠"
+ },
+ "vipBenefits": {
+ "exclusiveBadge": "专属标识",
+ "advancedFeatures": "高级功能",
+ "memberGift": "会员礼包",
+ "prioritySupport": "优先支持",
+ "discount": "优惠折扣",
+ "unlimitedTime": "无限时长",
+ "fastExperience": "极速体验",
+ "morePrivileges": "更多特权"
+ },
+ "plans": {
+ "onceMonth": "一次性月度",
+ "month": "月度订阅",
+ "year": "年度订阅"
+ }
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/wallet.json b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/wallet.json
new file mode 100644
index 00000000..84571d9f
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/i18n/locales/zh-CN/wallet.json
@@ -0,0 +1,51 @@
+{
+ "title": "我的钱包",
+ "columns": {
+ "userName": "真实姓名",
+ "mail": "邮箱",
+ "account": "账号",
+ "type": "类型",
+ "phone": "手机号",
+ "cardNum": "身份证号",
+ "actions": "操作"
+ },
+ "types": {
+ "ZFB": "支付宝",
+ "WX_PAY": "微信支付"
+ },
+ "actions": {
+ "create": "新增账户",
+ "edit": "编辑",
+ "delete": "删除",
+ "deleteConfirm": "确认删除该钱包账户?"
+ },
+ "dialogs": {
+ "createTitle": "新增钱包账户",
+ "editTitle": "编辑钱包账户"
+ },
+ "form": {
+ "userId": "用户ID",
+ "userIdPlaceholder": "自动填充当前用户ID",
+ "mail": "邮箱",
+ "mailPlaceholder": "请输入邮箱",
+ "mailInvalid": "请输入有效的邮箱地址",
+ "userName": "真实姓名",
+ "userNamePlaceholder": "请输入真实姓名(可选)",
+ "account": "账号",
+ "accountPlaceholder": "请输入收款账号",
+ "cardNum": "身份证号",
+ "cardNumPlaceholder": "请输入身份证号(可选)",
+ "phone": "手机号",
+ "phonePlaceholder": "请输入绑定手机号(可选)",
+ "type": "类型",
+ "typePlaceholder": "请选择类型",
+ "required": "必填项"
+ },
+ "messages": {
+ "createSuccess": "创建成功",
+ "updateSuccess": "更新成功",
+ "deleteSuccess": "删除成功"
+ }
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/ConditionalHeader.tsx b/aitoearn_web/aitoearn-web/src/app/layout/ConditionalHeader.tsx
new file mode 100644
index 00000000..b542104d
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/layout/ConditionalHeader.tsx
@@ -0,0 +1,26 @@
+"use client";
+
+import { usePathname } from "next/navigation";
+import LyaoutHeader from "@/app/layout/LyaoutHeader";
+import HomeHeader from "@/app/layout/HomeHeader";
+import { homeHeaderRouterData } from "@/app/layout/routerData";
+import { removeLocalePrefix } from "@/app/layout/layout.utils";
+
+export default function ConditionalHeader() {
+ const pathname = usePathname();
+ const currentPath = removeLocalePrefix(pathname).replace(/\/+$/, "") || "/";
+
+ const isActive = (href: string) => {
+ if (!href.startsWith("/")) return false;
+ const normalizedHref = href.replace(/\/+$/, "") || "/";
+ if (normalizedHref === "/") return currentPath === "/";
+ if (currentPath === normalizedHref) return true;
+ return currentPath.startsWith(normalizedHref + "/");
+ };
+
+ if (homeHeaderRouterData.value.some((v) => isActive(v.href))) {
+ return <HomeHeader />;
+ }
+
+ return <LyaoutHeader />;
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/HomeHeader.tsx b/aitoearn_web/aitoearn-web/src/app/layout/HomeHeader.tsx
new file mode 100644
index 00000000..0c64d58a
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/layout/HomeHeader.tsx
@@ -0,0 +1,95 @@
+import { ForwardedRef, forwardRef, memo } from "react";
+import { useTransClient } from "@/app/i18n/client";
+import { usePathname, useRouter } from "next/navigation";
+import { useUserStore } from "@/store/user";
+import styles from "@/app/[lng]/styles/difyHome.module.scss";
+import Image from "next/image";
+import logo from "@/assets/images/logo.png";
+import Link from "next/link";
+import { Button } from "antd";
+import { GlobalOutlined } from "@ant-design/icons";
+import { removeLocalePrefix } from "@/app/layout/layout.utils";
+import { homeHeaderRouterData } from "@/app/layout/routerData";
+
+export interface IHomeHeaderRef {}
+
+export interface IHomeHeaderProps {}
+
+const HomeHeader = memo(
+ forwardRef(({}: IHomeHeaderProps, ref: ForwardedRef<IHomeHeaderRef>) => {
+ const pathname = usePathname();
+ const { t } = useTransClient("home");
+ const router = useRouter();
+ const userStore = useUserStore();
+ const currentPath = removeLocalePrefix(pathname).replace(/\/+$/, "") || "/";
+
+ const toggleLanguage = () => {
+ const newLng = userStore.lang === "zh-CN" ? "en" : "zh-CN";
+ userStore.setLang(newLng);
+ router.push(
+ `/${newLng}${location.pathname.replace(`/${userStore.lang}`, "")}`,
+ );
+ };
+
+ const isActive = (href: string) => {
+ if (!href.startsWith("/")) return false;
+ const normalizedHref = href.replace(/\/+$/, "") || "/";
+ if (normalizedHref === "/") return currentPath === "/";
+ if (currentPath === normalizedHref) return true;
+ return currentPath.startsWith(normalizedHref + "/");
+ };
+
+ return (
+ <header className={styles.header}>
+ <div className={styles.headerContainer}>
+ <div
+ className={styles.logo}
+ style={{ cursor: "pointer" }}
+ onClick={() => router.push("/")}
+ >
+ <Image src={logo} alt="logo" width={50} />
+ <span className={styles.logoText}>{t("header.logo")}</span>
+ </div>
+ <nav className={styles.nav}>
+ {homeHeaderRouterData.value.map((v) => {
+ return (
+ <Link
+ key={v.title}
+ className={`${styles.navLink} ${isActive(v.href) ? styles.active : ""}`}
+ href={v.href}
+ target="_blank"
+ rel="noopener noreferrer"
+ style={{ paddingTop: "3px" }}
+ >
+ {v.title}
+ </Link>
+ );
+ })}
+ </nav>
+
+ <div className={styles.headerRight}>
+ <Button
+ type="text"
+ icon={<GlobalOutlined />}
+ onClick={toggleLanguage}
+ className={styles.languageButton}
+ >
+ {userStore.lang === "zh-CN" ? "EN" : "中文"}
+ </Button>
+
+ <button
+ onClick={() => {
+ router.push("/accounts");
+ }}
+ className={styles.getStartedBtn}
+ >
+ {t("header.getStarted")}
+ </button>
+ </div>
+ </div>
+ </header>
+ );
+ }),
+);
+
+export default HomeHeader;
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/LyaoutHeader.tsx b/aitoearn_web/aitoearn-web/src/app/layout/LyaoutHeader.tsx
index 87ee7137..336f7b02 100644
--- a/aitoearn_web/aitoearn-web/src/app/layout/LyaoutHeader.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/layout/LyaoutHeader.tsx
@@ -19,6 +19,7 @@ import { useRouter } from "next/navigation";
import { useTransClient } from "@/app/i18n/client";
import NotificationPanel from "@/components/notification/NotificationPanel";
import { useNotification } from "@/hooks/useNotification";
+import SignInCalendar from "@/components/SignInCalendar";
export interface ILyaoutHeaderRef {}
@@ -42,20 +43,8 @@ function UserInfo() {
</div>
),
},
- // {
- // key: "2",
- // label: (
- // <div
- // onClick={() => {
- // router.push("/notification");
- // }}
- // >
- // {t("header.messages")}
- // </div>
- // ),
- // },
{
- key: "3",
+ key: "5",
label: (
<div
onClick={() => {
@@ -67,7 +56,7 @@ function UserInfo() {
),
},
{
- key: "4",
+ key: "6",
label: (
<div
onClick={() => {
@@ -79,7 +68,44 @@ function UserInfo() {
),
},
{
- key: "5",
+ key: "2",
+ label: (
+ <div
+ onClick={() => {
+ router.push("/income");
+ }}
+ >
+ {t("header.income" as any)}
+ </div>
+ ),
+ },
+ {
+ key: "3",
+ label: (
+ <div
+ onClick={() => {
+ router.push("/wallet");
+ }}
+ >
+ {t("header.wallet" as any)}
+ </div>
+ ),
+ },
+ // {
+ // key: "4",
+ // label: (
+ // <div
+ // onClick={() => {
+ // router.push("/notification");
+ // }}
+ // >
+ // {t("header.messages")}
+ // </div>
+ // ),
+ // },
+
+ {
+ key: "7",
label: (
<div
onClick={() => {
@@ -157,6 +183,9 @@ const LyaoutHeader = memo(
{userStore.lang === "zh-CN" ? "EN" : "中文"}
</Button>
<NoSSR>
+ {userStore.token && (
+ <SignInCalendar className={styles.signInCalendarButton} />
+ )}
{userStore.token && (
<Badge count={unreadCount} size="small">
<Button
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/layout.utils.ts b/aitoearn_web/aitoearn-web/src/app/layout/layout.utils.ts
new file mode 100644
index 00000000..64745fee
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/app/layout/layout.utils.ts
@@ -0,0 +1,3 @@
+export function removeLocalePrefix(path: string): string {
+ return path.replace(/^\/[a-z]{2}(-[A-Z]{2})?/, "") || "/";
+}
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/layoutNav.tsx b/aitoearn_web/aitoearn-web/src/app/layout/layoutNav.tsx
index a55132aa..a78800c9 100644
--- a/aitoearn_web/aitoearn-web/src/app/layout/layoutNav.tsx
+++ b/aitoearn_web/aitoearn-web/src/app/layout/layoutNav.tsx
@@ -26,13 +26,11 @@ function getNameTag(child: IRouterDataItem, iconLoca: number = 1) {
<>
{!child.children ? (
<Link href={path || "/"} target={path[0] === "/" ? "_self" : "_blank"}>
- {/*@ts-ignore*/}
- {t(child.translationKey)}
+ {t(child.translationKey as any)}
</Link>
) : (
<span>
- {/*@ts-ignore*/}
- {t(child.translationKey)}
+ {t(child.translationKey as any)}
{child.children &&
(iconLoca === 0 ? <UpOutlined /> : <RightOutlined />)}
</span>
@@ -92,6 +90,7 @@ function ChildNav({
const [height, setHeight] = useState("auto");
const animaTime = 0.3;
const timer = useRef<NodeJS.Timeout>();
+ const { t } = useTransClient("route");
useEffect(() => {
if (!elRef.current) return;
@@ -148,7 +147,7 @@ function ChildNav({
)}
</div>
<span className={styles["layoutNavPC-one-text"]}>
- {v1.name}
+ {t(v1.translationKey as any)}
</span>
{v1.children && <RightOutlined />}
</ParcelTag>
@@ -166,6 +165,8 @@ function NavPC() {
const [activeNav, setActiveNav] = useState("");
const timer = useRef<NodeJS.Timeout>();
const route = useSelectedLayoutSegments();
+ const { t } = useTransClient("route");
+
let currRouter = "/";
if (route.length === 1) {
currRouter = route[0];
@@ -192,7 +193,7 @@ function NavPC() {
onMouseLeave={() => {
timer.current = setTimeout(() => {
setActiveNav("");
- }, 100);
+ }, 300);
}}
>
{getNameTag(v1, 0)}
@@ -213,10 +214,13 @@ function NavPE() {
const router = useRouter();
const { t } = useTransClient("route");
- const translatedMenuItems = peRouterData?.map((item) => ({
- ...item,
- // @ts-ignore
- label: t(item.key as string),
+ const translatedMenuItems = routerData.map((item) => ({
+ key: item.path || item.name,
+ label: t(item.translationKey as any),
+ children: item.children?.map((child) => ({
+ key: child.path || child.name,
+ label: t(child.translationKey as any),
+ })),
}));
return (
@@ -240,7 +244,6 @@ function NavPE() {
}}
style={{ width: "100%" }}
mode="inline"
- // @ts-ignore
items={translatedMenuItems}
/>
</Drawer>
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/routerData.ts b/aitoearn_web/aitoearn-web/src/app/layout/routerData.ts
index 452002e6..b8aefafa 100644
--- a/aitoearn_web/aitoearn-web/src/app/layout/routerData.ts
+++ b/aitoearn_web/aitoearn-web/src/app/layout/routerData.ts
@@ -1,5 +1,6 @@
import { StaticImageData } from "next/image";
import { MenuItemType } from "antd/es/menu/interface";
+import { directTrans } from "@/app/i18n/client";
export interface IRouterDataItem {
// 导航标题
@@ -27,16 +28,31 @@ export const routerData: IRouterDataItem[] = [
translationKey: "accounts",
path: "/accounts",
},
- {
- name: "热门内容",
- translationKey: "hotContent",
- path: "/hot-content",
- },
+ // {
+ // name: "热门内容",
+ // translationKey: "hotContent",
+ // path: "/hotContent",
+ // },
{
name: "AI工具",
- translationKey: "AI Tools",
+ translationKey: "aiTools",
path: "/material/ai-generate",
},
+ {
+ name: "任务中心",
+ translationKey: "tasks",
+ path: "/tasks",
+ },
+ {
+ name: "互动数据",
+ translationKey: "Engage",
+ path: "/interactive",
+ },
+ {
+ name: "数据统计",
+ translationKey: "dataStatistics",
+ path: "/dataStatistics",
+ },
];
const recursion = (
@@ -53,3 +69,42 @@ const recursion = (
};
export const peRouterData = recursion(routerData);
+
+export const homeHeaderRouterData = {
+ get value() {
+ return [
+ {
+ href: "/",
+ title: "",
+ },
+ {
+ href: "/pricing",
+ title: directTrans("home", "header.nav.pricing"),
+ },
+ {
+ href: "https://status.aitoearn.ai/",
+ title: directTrans("home", "header.nav.status"),
+ },
+ {
+ href: "https://docs.aitoearn.ai/",
+ title: directTrans("home", "header.nav.docs"),
+ },
+ {
+ href: "https://blog.aitoearn.ai/",
+ title: directTrans("home", "header.nav.blog"),
+ },
+ {
+ href: "https://docs.aitoearn.ai/zh/downloads",
+ title: directTrans("home", "header.nav.download"),
+ },
+ {
+ href: "/hotContent",
+ title: directTrans("route", "hotContent"),
+ },
+ {
+ href: "/aiRank",
+ title: directTrans("route", "aiRank"),
+ },
+ ];
+ },
+};
diff --git a/aitoearn_web/aitoearn-web/src/app/layout/styles/lyaoutHeader.module.scss b/aitoearn_web/aitoearn-web/src/app/layout/styles/lyaoutHeader.module.scss
index 8e7806d1..54f8a7c3 100644
--- a/aitoearn_web/aitoearn-web/src/app/layout/styles/lyaoutHeader.module.scss
+++ b/aitoearn_web/aitoearn-web/src/app/layout/styles/lyaoutHeader.module.scss
@@ -106,6 +106,26 @@
color: #666;
}
}
+
+ .signInCalendarButton {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ transition: all 0.3s ease;
+
+ &:hover {
+ background-color: #f5f5f5;
+ transform: scale(1.05);
+ }
+
+ .anticon {
+ font-size: 18px;
+ color: #666;
+ }
+ }
}
}
}
diff --git a/aitoearn_web/aitoearn-web/src/app/styles/mixin.scss b/aitoearn_web/aitoearn-web/src/app/styles/mixin.scss
index 7d613f41..e7b9d1f5 100644
--- a/aitoearn_web/aitoearn-web/src/app/styles/mixin.scss
+++ b/aitoearn_web/aitoearn-web/src/app/styles/mixin.scss
@@ -49,4 +49,29 @@
-webkit-box-orient: vertical;
-webkit-line-clamp: $line;
overflow: hidden;
+}
+
+@mixin triangle-indicator($size: 12px, $color: #fff, $active-color: var(--colorPrimary5), $border-width: 1px) {
+ position: relative;
+
+ &:after,
+ &:before {
+ content: '';
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ transform: translate(-50%, 100%);
+ border: $size solid $color;
+ border-bottom: none;
+ border-right-color: transparent;
+ border-left-color: transparent;
+ }
+ &:before {
+ bottom: $border-width;
+ z-index: 2;
+ }
+ &:after {
+ border-top-color: $active-color;
+ bottom: 0;
+ }
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/app/var.css b/aitoearn_web/aitoearn-web/src/app/var.css
index 3a1404c1..1d0e3378 100644
--- a/aitoearn_web/aitoearn-web/src/app/var.css
+++ b/aitoearn_web/aitoearn-web/src/app/var.css
@@ -73,6 +73,8 @@
--border-color: #e5e7eb;
--background-color: #fff;
--card-background: #fff;
+ /* 警告颜色 */
+ --warning-color: #f59e0b;
/* 错误颜色 */
--error-color: #ef4444;
/* 成功色 */
diff --git a/aitoearn_web/aitoearn-web/src/assets/fonts/DIN-Medium.otf b/aitoearn_web/aitoearn-web/src/assets/fonts/DIN-Medium.otf
new file mode 100644
index 00000000..ceed4bed
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/fonts/DIN-Medium.otf differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/fonts/font.css b/aitoearn_web/aitoearn-web/src/assets/fonts/font.css
new file mode 100644
index 00000000..b82f5a59
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/assets/fonts/font.css
@@ -0,0 +1,6 @@
+@font-face {
+ font-family: 'DIN';
+ src: url('./DIN-Medium.otf') format('opentype');
+ font-weight: normal;
+ font-style: normal;
+}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/images/hotjietu1.png b/aitoearn_web/aitoearn-web/src/assets/images/hotjietu1.png
deleted file mode 100644
index 601ef532..00000000
Binary files a/aitoearn_web/aitoearn-web/src/assets/images/hotjietu1.png and /dev/null differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/images/hotjietu2.png b/aitoearn_web/aitoearn-web/src/assets/images/hotjietu2.png
deleted file mode 100644
index 9c45f741..00000000
Binary files a/aitoearn_web/aitoearn-web/src/assets/images/hotjietu2.png and /dev/null differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/images/hotjietu3.png b/aitoearn_web/aitoearn-web/src/assets/images/hotjietu3.png
deleted file mode 100644
index a8115096..00000000
Binary files a/aitoearn_web/aitoearn-web/src/assets/images/hotjietu3.png and /dev/null differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/images/phonepublish1.png b/aitoearn_web/aitoearn-web/src/assets/images/phonepublish1.png
deleted file mode 100644
index 09f36af1..00000000
Binary files a/aitoearn_web/aitoearn-web/src/assets/images/phonepublish1.png and /dev/null differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/images/phonepublish2.png b/aitoearn_web/aitoearn-web/src/assets/images/phonepublish2.png
deleted file mode 100644
index f0a7e1a8..00000000
Binary files a/aitoearn_web/aitoearn-web/src/assets/images/phonepublish2.png and /dev/null differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/images/phonepublish3.png b/aitoearn_web/aitoearn-web/src/assets/images/phonepublish3.png
deleted file mode 100644
index aaf18c20..00000000
Binary files a/aitoearn_web/aitoearn-web/src/assets/images/phonepublish3.png and /dev/null differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/facebook.png b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/facebook.png
new file mode 100644
index 00000000..2fbe135d
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/facebook.png differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/facebook.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/facebook.svg
deleted file mode 100644
index eb4bc937..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/facebook.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"> <path d="M25,3C12.85,3,3,12.85,3,25c0,11.03,8.125,20.137,18.712,21.728V30.831h-5.443v-5.783h5.443v-3.848 c0-6.371,3.104-9.168,8.399-9.168c2.536,0,3.877,0.188,4.512,0.274v5.048h-3.612c-2.248,0-3.033,2.131-3.033,4.533v3.161h6.588 l-0.894,5.783h-5.694v15.944C38.716,45.318,47,36.137,47,25C47,12.85,37.15,3,25,3z"/></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/instagram.png b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/instagram.png
new file mode 100644
index 00000000..6181afa8
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/instagram.png differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/instagram.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/instagram.svg
deleted file mode 100644
index fcd0bef9..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/instagram.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path fill="#304ffe" d="M41.67,13.48c-0.4,0.26-0.97,0.5-1.21,0.77c-0.09,0.09-0.14,0.19-0.12,0.29v1.03l-0.3,1.01l-0.3,1l-0.33,1.1 l-0.68,2.25l-0.66,2.22l-0.5,1.67c0,0.26-0.01,0.52-0.03,0.77c-0.07,0.96-0.27,1.88-0.59,2.74c-0.19,0.53-0.42,1.04-0.7,1.52 c-0.1,0.19-0.22,0.38-0.34,0.56c-0.4,0.63-0.88,1.21-1.41,1.72c-0.41,0.41-0.86,0.79-1.35,1.11c0,0,0,0-0.01,0 c-0.08,0.07-0.17,0.13-0.27,0.18c-0.31,0.21-0.64,0.39-0.98,0.55c-0.23,0.12-0.46,0.22-0.7,0.31c-0.05,0.03-0.11,0.05-0.16,0.07 c-0.57,0.27-1.23,0.45-1.89,0.54c-0.04,0.01-0.07,0.01-0.11,0.02c-0.4,0.07-0.79,0.13-1.19,0.16c-0.18,0.02-0.37,0.03-0.55,0.03 l-0.71-0.04l-3.42-0.18c0-0.01-0.01,0-0.01,0l-1.72-0.09c-0.13,0-0.27,0-0.4-0.01c-0.54-0.02-1.06-0.08-1.58-0.19 c-0.01,0-0.01,0-0.01,0c-0.95-0.18-1.86-0.5-2.71-0.93c-0.47-0.24-0.93-0.51-1.36-0.82c-0.18-0.13-0.35-0.27-0.52-0.42 c-0.48-0.4-0.91-0.83-1.31-1.27c-0.06-0.06-0.11-0.12-0.16-0.18c-0.06-0.06-0.12-0.13-0.17-0.19c-0.38-0.48-0.7-0.97-0.96-1.49 c-0.24-0.46-0.43-0.95-0.58-1.49c-0.06-0.19-0.11-0.37-0.15-0.57c-0.01-0.01-0.02-0.03-0.02-0.05c-0.1-0.41-0.19-0.84-0.24-1.27 c-0.06-0.33-0.09-0.66-0.09-1c-0.02-0.13-0.02-0.27-0.02-0.4l1.91-2.95l1.87-2.88l0.85-1.31l0.77-1.18l0.26-0.41v-1.03 c0.02-0.23,0.03-0.47,0.02-0.69c-0.01-0.7-0.15-1.38-0.38-2.03c-0.22-0.69-0.53-1.34-0.85-1.94c-0.38-0.69-0.78-1.31-1.11-1.87 C14,7.4,13.66,6.73,13.75,6.26C14.47,6.09,15.23,6,16,6h16c4.18,0,7.78,2.6,9.27,6.26C41.43,12.65,41.57,13.06,41.67,13.48z"/><path fill="#4928f4" d="M42,16v0.27l-1.38,0.8l-0.88,0.51l-0.97,0.56l-1.94,1.13l-1.9,1.1l-1.94,1.12l-0.77,0.45 c0,0.48-0.12,0.92-0.34,1.32c-0.31,0.58-0.83,1.06-1.49,1.47c-0.67,0.41-1.49,0.74-2.41,0.98c0,0,0-0.01-0.01,0 c-3.56,0.92-8.42,0.5-10.78-1.26c-0.66-0.49-1.12-1.09-1.32-1.78c-0.06-0.23-0.09-0.48-0.09-0.73v-7.19 c0.01-0.15-0.09-0.3-0.27-0.45c-0.54-0.43-1.81-0.84-3.23-1.25c-1.11-0.31-2.3-0.62-3.3-0.92c-0.79-0.24-1.46-0.48-1.86-0.71 c0.18-0.35,0.39-0.7,0.61-1.03c1.4-2.05,3.54-3.56,6.02-4.13C14.47,6.09,15.23,6,16,6h10.8c5.37,0.94,10.32,3.13,14.47,6.26 c0.16,0.39,0.3,0.8,0.4,1.22c0.18,0.66,0.29,1.34,0.32,2.05C42,15.68,42,15.84,42,16z"/><path fill="#6200ea" d="M42,16v4.41l-0.22,0.68l-0.75,2.33l-0.78,2.4l-0.41,1.28l-0.38,1.19l-0.37,1.13l-0.36,1.12l-0.19,0.59 l-0.25,0.78c0,0.76-0.02,1.43-0.07,2c-0.01,0.06-0.02,0.12-0.02,0.18c-0.06,0.53-0.14,0.98-0.27,1.36 c-0.01,0.06-0.03,0.12-0.05,0.17c-0.26,0.72-0.65,1.18-1.23,1.48c-0.14,0.08-0.3,0.14-0.47,0.2c-0.53,0.18-1.2,0.27-2.02,0.32 c-0.6,0.04-1.29,0.05-2.07,0.05H31.4l-1.19-0.05L30,37.61l-2.17-0.09l-2.2-0.09l-7.25-0.3l-1.88-0.08h-0.26 c-0.78-0.01-1.45-0.06-2.03-0.14c-0.84-0.13-1.49-0.35-1.98-0.68c-0.7-0.45-1.11-1.11-1.35-2.03c-0.06-0.22-0.11-0.45-0.14-0.7 c-0.1-0.58-0.15-1.25-0.18-2c0-0.15,0-0.3-0.01-0.46c-0.01-0.01,0-0.01,0-0.01v-0.58c-0.01-0.29-0.01-0.59-0.01-0.9l0.05-1.61 l0.03-1.15l0.04-1.34v-0.19l0.07-2.46l0.07-2.46l0.07-2.31l0.06-2.27l0.02-0.6c0-0.31-1.05-0.49-2.22-0.64 c-0.93-0.12-1.95-0.23-2.56-0.37c0.05-0.23,0.1-0.46,0.16-0.68c0.18-0.72,0.45-1.4,0.79-2.05c0.18-0.35,0.39-0.7,0.61-1.03 c2.16-0.95,4.41-1.69,6.76-2.17c2.06-0.43,4.21-0.66,6.43-0.66c7.36,0,14.16,2.49,19.54,6.69c0.52,0.4,1.03,0.83,1.53,1.28 C42,15.68,42,15.84,42,16z"/><path fill="#673ab7" d="M42,18.37v4.54l-0.55,1.06l-1.05,2.05l-0.56,1.08l-0.51,0.99l-0.22,0.43c0,0.31,0,0.61-0.02,0.9 c0,0.43-0.02,0.84-0.05,1.22c-0.04,0.45-0.1,0.86-0.16,1.24c-0.15,0.79-0.36,1.47-0.66,2.03c-0.04,0.07-0.08,0.14-0.12,0.2 c-0.11,0.18-0.24,0.35-0.38,0.51c-0.18,0.22-0.38,0.41-0.61,0.57c-0.34,0.26-0.74,0.47-1.2,0.63c-0.57,0.21-1.23,0.35-2.01,0.43 c-0.51,0.05-1.07,0.08-1.68,0.08l-0.42,0.02l-2.08,0.12h-0.01L27.5,36.6l-2.25,0.13l-3.1,0.18l-3.77,0.22l-0.55,0.03 c-0.51,0-0.99-0.03-1.45-0.09c-0.05-0.01-0.09-0.02-0.14-0.02c-0.68-0.11-1.3-0.29-1.86-0.54c-0.68-0.3-1.27-0.7-1.77-1.18 c-0.44-0.43-0.82-0.92-1.13-1.47c-0.07-0.13-0.14-0.25-0.2-0.39c-0.3-0.59-0.54-1.25-0.72-1.97c-0.03-0.12-0.06-0.25-0.08-0.38 c-0.06-0.23-0.11-0.47-0.14-0.72c-0.11-0.64-0.17-1.32-0.2-2.03v-0.01c-0.01-0.29-0.02-0.57-0.02-0.87l-0.49-1.17l-0.07-0.18 L9.5,25.99L8.75,24.2l-0.12-0.29l-0.72-1.73l-0.8-1.93c0,0,0,0-0.01,0L6.29,18.3L6,17.59V16c0-0.63,0.06-1.25,0.17-1.85 c0.05-0.23,0.1-0.46,0.16-0.68c0.85-0.49,1.74-0.94,2.65-1.34c2.08-0.93,4.31-1.62,6.62-2.04c1.72-0.31,3.51-0.48,5.32-0.48 c7.31,0,13.94,2.65,19.12,6.97c0.2,0.16,0.39,0.32,0.58,0.49C41.09,17.48,41.55,17.91,42,18.37z"/><path fill="#8e24aa" d="M42,21.35v5.14l-0.57,1.19l-1.08,2.25l-0.01,0.03c0,0.43-0.02,0.82-0.05,1.17c-0.1,1.15-0.38,1.88-0.84,2.33 c-0.33,0.34-0.74,0.53-1.25,0.63c-0.03,0.01-0.07,0.01-0.1,0.02c-0.16,0.03-0.33,0.05-0.51,0.05c-0.62,0.06-1.35,0.02-2.19-0.04 c-0.09,0-0.19-0.01-0.29-0.02c-0.61-0.04-1.26-0.08-1.98-0.11c-0.39-0.01-0.8-0.02-1.22-0.02h-0.02l-1.01,0.08h-0.01l-2.27,0.16 l-2.59,0.2l-0.38,0.03l-3.03,0.22l-1.57,0.12l-1.55,0.11c-0.27,0-0.53,0-0.79-0.01c0,0-0.01-0.01-0.01,0 c-1.13-0.02-2.14-0.09-3.04-0.26c-0.83-0.14-1.56-0.36-2.18-0.69c-0.64-0.31-1.17-0.75-1.6-1.31c-0.41-0.55-0.71-1.24-0.9-2.07 c0-0.01,0-0.01,0-0.01c-0.14-0.67-0.22-1.45-0.22-2.33l-0.15-0.27L9.7,26.35l-0.13-0.22L9.5,25.99l-0.93-1.65l-0.46-0.83 l-0.58-1.03l-1-1.79L6,19.75v-3.68c0.88-0.58,1.79-1.09,2.73-1.55c1.14-0.58,2.32-1.07,3.55-1.47c1.34-0.44,2.74-0.79,4.17-1.02 c1.45-0.24,2.94-0.36,4.47-0.36c6.8,0,13.04,2.43,17.85,6.47c0.22,0.17,0.43,0.36,0.64,0.54c0.84,0.75,1.64,1.56,2.37,2.41 C41.86,21.18,41.94,21.26,42,21.35z"/><path fill="#c2185b" d="M42,24.71v7.23c-0.24-0.14-0.57-0.31-0.98-0.49c-0.22-0.11-0.47-0.22-0.73-0.32 c-0.38-0.17-0.79-0.33-1.25-0.49c-0.1-0.04-0.2-0.07-0.31-0.1c-0.18-0.07-0.37-0.13-0.56-0.19c-0.59-0.18-1.24-0.35-1.92-0.5 c-0.26-0.05-0.53-0.1-0.8-0.14c-0.87-0.15-1.8-0.24-2.77-0.25c-0.08-0.01-0.17-0.01-0.25-0.01l-2.57,0.02l-3.5,0.02h-0.01 l-7.49,0.06c-2.38,0-3.84,0.57-4.72,0.8c0,0-0.01,0-0.01,0.01c-0.93,0.24-1.22,0.09-1.3-1.54c-0.02-0.45-0.03-1.03-0.03-1.74 l-0.56-0.43l-0.98-0.74l-0.6-0.46l-0.12-0.09L8.88,24.1l-0.25-0.19l-0.52-0.4l-0.96-0.72L6,21.91v-3.4 c0.1-0.08,0.19-0.15,0.29-0.21c1.45-1,3-1.85,4.64-2.54c1.46-0.62,3-1.11,4.58-1.46c0.43-0.09,0.87-0.18,1.32-0.24 c1.33-0.23,2.7-0.34,4.09-0.34c6.01,0,11.53,2.09,15.91,5.55c0.66,0.52,1.3,1.07,1.9,1.66c0.82,0.78,1.59,1.61,2.3,2.49 c0.14,0.18,0.28,0.36,0.42,0.55C41.64,24.21,41.82,24.46,42,24.71z"/><path fill="#d81b60" d="M42,28.72V32c0,0.65-0.06,1.29-0.18,1.91c-0.18,0.92-0.49,1.8-0.91,2.62c-0.22,0.05-0.47,0.05-0.75,0.01 c-0.63-0.11-1.37-0.44-2.17-0.87c-0.04-0.01-0.08-0.03-0.11-0.05c-0.25-0.13-0.51-0.27-0.77-0.43c-0.53-0.29-1.09-0.61-1.65-0.91 c-0.12-0.06-0.24-0.12-0.35-0.18c-0.64-0.33-1.3-0.63-1.96-0.86c0,0,0,0-0.01,0c-0.14-0.05-0.29-0.1-0.44-0.14 c-0.57-0.16-1.15-0.26-1.71-0.26l-1.1-0.32l-4.87-1.41c0,0,0,0-0.01,0l-2.99-0.87h-0.01l-1.3-0.38c-3.76,0-6.07,1.6-7.19,0.99 c-0.44-0.23-0.7-0.81-0.79-1.95c-0.03-0.32-0.04-0.68-0.04-1.1l-1.17-0.57l-0.05-0.02h-0.01l-0.84-0.42L9.7,26.35l-0.07-0.03 l-0.17-0.09L7.5,25.28L6,24.55v-3.43c0.17-0.15,0.35-0.29,0.53-0.43c0.19-0.15,0.38-0.29,0.57-0.44c0.01,0,0.01,0,0.01,0 c1.18-0.85,2.43-1.6,3.76-2.22c1.55-0.74,3.2-1.31,4.91-1.68c0.25-0.06,0.51-0.12,0.77-0.16c1.42-0.27,2.88-0.41,4.37-0.41 c5.27,0,10.11,1.71,14.01,4.59c1.13,0.84,2.18,1.77,3.14,2.78c0.79,0.83,1.52,1.73,2.18,2.67c0.05,0.07,0.1,0.14,0.15,0.2 c0.37,0.54,0.71,1.09,1.03,1.66C41.64,28.02,41.82,28.37,42,28.72z"/><path fill="#f50057" d="M41.82,33.91c-0.18,0.92-0.49,1.8-0.91,2.62c-0.19,0.37-0.4,0.72-0.63,1.06c-0.14,0.21-0.29,0.41-0.44,0.6 c-0.36-0.14-0.89-0.34-1.54-0.56c0,0,0,0,0-0.01c-0.49-0.17-1.05-0.35-1.65-0.52c-0.17-0.05-0.34-0.1-0.52-0.15 c-0.71-0.19-1.45-0.36-2.17-0.46c-0.6-0.1-1.19-0.16-1.74-0.16l-0.46-0.13h-0.01l-2.42-0.7l-1.49-0.43l-1.66-0.48h-0.01l-0.54-0.15 l-6.53-1.88l-1.88-0.54l-1.4-0.33l-2.28-0.54l-0.28-0.07c0,0,0,0-0.01,0l-2.29-0.53c0-0.01,0-0.01,0-0.01l-0.41-0.09l-0.21-0.05 l-1.67-0.39l-0.19-0.05l-1.42-1.17L6,27.9v-4.08c0.37-0.36,0.75-0.7,1.15-1.03c0.12-0.11,0.25-0.21,0.38-0.31 c0.12-0.1,0.25-0.2,0.38-0.3c0.91-0.69,1.87-1.31,2.89-1.84c1.3-0.7,2.68-1.26,4.13-1.66c0.28-0.09,0.56-0.17,0.85-0.23 c1.64-0.41,3.36-0.62,5.14-0.62c4.47,0,8.63,1.35,12.07,3.66c1.71,1.15,3.25,2.53,4.55,4.1c0.66,0.79,1.26,1.62,1.79,2.5 c0.05,0.07,0.09,0.13,0.13,0.2c0.32,0.53,0.62,1.08,0.89,1.64c0.25,0.5,0.47,1,0.67,1.52C41.34,32.25,41.6,33.07,41.82,33.91z"/><path fill="#ff1744" d="M40.28,37.59c-0.14,0.21-0.29,0.41-0.44,0.6c-0.44,0.55-0.92,1.05-1.46,1.49c-0.47,0.39-0.97,0.74-1.5,1.04 c-0.2-0.05-0.4-0.11-0.61-0.19c-0.66-0.23-1.35-0.61-1.99-1.01c-0.96-0.61-1.79-1.27-2.16-1.57c-0.14-0.12-0.21-0.18-0.21-0.18 l-1.7-0.15L30,37.6l-2.2-0.19l-2.28-0.2l-3.37-0.3l-5.34-0.47l-0.02-0.01l-1.88-0.91l-1.9-0.92l-1.53-0.74l-0.33-0.16l-0.41-0.2 l-1.42-0.69L7.43,31.9l-0.59-0.29L6,31.35v-4.47c0.47-0.56,0.97-1.09,1.5-1.6c0.34-0.32,0.7-0.64,1.07-0.94 c0.06-0.05,0.12-0.1,0.18-0.14c0.04-0.05,0.09-0.08,0.13-0.1c0.59-0.48,1.21-0.91,1.85-1.3c0.74-0.47,1.52-0.89,2.33-1.24 c0.87-0.39,1.78-0.72,2.72-0.97c1.63-0.46,3.36-0.7,5.14-0.7c4.08,0,7.85,1.24,10.96,3.37c1.99,1.36,3.71,3.08,5.07,5.07 c0.45,0.64,0.85,1.32,1.22,2.02c0.13,0.26,0.26,0.52,0.37,0.78c0.12,0.25,0.23,0.5,0.34,0.75c0.21,0.52,0.4,1.04,0.57,1.58 c0.32,1,0.56,2.02,0.71,3.08C40.21,36.89,40.25,37.24,40.28,37.59z"/><path fill="#ff5722" d="M38.39,39.42c0,0.08,0,0.17-0.01,0.26c-0.47,0.39-0.97,0.74-1.5,1.04c-0.22,0.12-0.44,0.24-0.67,0.34 c-0.23,0.11-0.46,0.21-0.7,0.3c-0.34-0.18-0.8-0.4-1.29-0.61c-0.69-0.31-1.44-0.59-2.02-0.68c-0.14-0.03-0.27-0.04-0.39-0.04 l-1.64-0.21h-0.02l-2.04-0.27l-2.06-0.27l-0.96-0.12l-7.56-0.98c-0.49,0-1.01-0.03-1.55-0.1c-0.66-0.06-1.35-0.16-2.04-0.3 c-0.68-0.12-1.37-0.28-2.03-0.45c-0.69-0.16-1.37-0.35-2-0.53c-0.73-0.22-1.41-0.43-1.98-0.62c-0.47-0.15-0.87-0.29-1.18-0.4 c-0.18-0.43-0.33-0.88-0.44-1.34C6.1,33.66,6,32.84,6,32v-1.67c0.32-0.53,0.67-1.05,1.06-1.54c0.71-0.94,1.52-1.8,2.4-2.56 c0.03-0.04,0.07-0.07,0.1-0.09l0.01-0.01c0.31-0.28,0.63-0.53,0.97-0.77c0.04-0.04,0.08-0.07,0.12-0.1 c0.16-0.12,0.33-0.24,0.51-0.35c1.43-0.97,3.01-1.73,4.7-2.24c1.6-0.48,3.29-0.73,5.05-0.73c3.49,0,6.75,1.03,9.47,2.79 c2.01,1.29,3.74,2.99,5.06,4.98c0.16,0.23,0.31,0.46,0.46,0.7c0.69,1.17,1.26,2.43,1.68,3.75c0.05,0.15,0.09,0.3,0.13,0.46 c0.08,0.27,0.15,0.55,0.21,0.83c0.02,0.07,0.04,0.14,0.06,0.22c0.14,0.63,0.24,1.29,0.31,1.95c0,0.01,0,0.01,0,0.01 C38.36,38.22,38.39,38.82,38.39,39.42z"/><path fill="#ff6f00" d="M36.33,39.42c0,0.35-0.02,0.73-0.06,1.11c-0.02,0.18-0.04,0.36-0.06,0.53c-0.23,0.11-0.46,0.21-0.7,0.3 c-0.45,0.17-0.91,0.31-1.38,0.41c-0.32,0.07-0.65,0.13-0.98,0.16h-0.01c-0.31-0.19-0.67-0.42-1.04-0.68 c-0.67-0.47-1.37-1-1.93-1.43c-0.01-0.01-0.01-0.01-0.02-0.02c-0.59-0.45-1.01-0.79-1.01-0.79l-1.06,0.04l-2.04,0.07l-0.95,0.04 l-3.82,0.14l-3.23,0.12c-0.21,0.01-0.46,0.01-0.77,0h-0.01c-0.42-0.01-0.92-0.04-1.47-0.09c-0.64-0.05-1.34-0.11-2.05-0.18 c-0.69-0.08-1.39-0.16-2.06-0.24c-0.74-0.08-1.44-0.17-2.04-0.25c-0.47-0.06-0.88-0.11-1.21-0.15c-0.28-0.32-0.53-0.65-0.77-1.01 c-0.36-0.54-0.67-1.11-0.91-1.72c-0.18-0.43-0.33-0.88-0.44-1.34c0.29-0.89,0.67-1.73,1.12-2.54c0.36-0.66,0.78-1.29,1.24-1.89 c0.45-0.59,0.94-1.14,1.47-1.64v-0.01c0.15-0.15,0.3-0.29,0.45-0.42c0.28-0.26,0.57-0.5,0.87-0.73h0.01 c0.01-0.02,0.02-0.02,0.03-0.03c0.24-0.19,0.49-0.36,0.74-0.53c1.48-1.01,3.15-1.76,4.95-2.2c1.19-0.29,2.44-0.45,3.73-0.45 c2.54,0,4.94,0.61,7.05,1.71h0.01c1.81,0.93,3.41,2.21,4.7,3.75c0.71,0.82,1.32,1.72,1.82,2.67c0.35,0.64,0.65,1.31,0.9,1.99 c0.02,0.06,0.04,0.11,0.06,0.16c0.17,0.5,0.32,1.02,0.45,1.54c0.09,0.37,0.16,0.75,0.22,1.13c0.02,0.12,0.04,0.23,0.05,0.35 C36.28,37.99,36.33,38.7,36.33,39.42z"/><path fill="#ff9800" d="M34.28,39.42v0.1c0,0.34-0.03,0.77-0.06,1.23c-0.03,0.34-0.06,0.69-0.09,1.02c-0.32,0.07-0.65,0.13-0.98,0.16 h-0.01C32.76,41.98,32.39,42,32,42h-1.75l-0.38-0.11l-1.97-0.6l-2-0.6l-4.63-1.39l-2-0.6c0,0-0.83,0.33-2,0.72h-0.01 c-0.45,0.15-0.94,0.31-1.46,0.47c-0.65,0.19-1.34,0.38-2.02,0.53c-0.7,0.16-1.39,0.28-2.01,0.33c-0.19,0.02-0.38,0.03-0.55,0.03 c-0.56-0.31-1.1-0.68-1.59-1.09c-0.43-0.36-0.83-0.75-1.2-1.18c-0.28-0.32-0.53-0.65-0.77-1.01c0.07-0.45,0.15-0.89,0.27-1.32 c0.3-1.19,0.77-2.33,1.39-3.37c0.34-0.59,0.72-1.16,1.16-1.69c0.01-0.03,0.04-0.06,0.07-0.08c-0.01-0.01,0-0.01,0-0.01 c0.13-0.17,0.27-0.33,0.41-0.48c0-0.01,0-0.01,0-0.01c0.41-0.44,0.83-0.86,1.29-1.25c0.16-0.13,0.31-0.26,0.48-0.39 c0.03-0.03,0.06-0.05,0.1-0.08c2.25-1.72,5.06-2.76,8.09-2.76c3.44,0,6.57,1.29,8.94,3.41c1.14,1.03,2.11,2.26,2.84,3.63 c0.06,0.1,0.12,0.21,0.17,0.32c0.09,0.18,0.18,0.37,0.26,0.57c0.33,0.72,0.59,1.48,0.77,2.26c0.02,0.08,0.04,0.16,0.06,0.24 c0.08,0.37,0.15,0.75,0.2,1.13C34.24,38.21,34.28,38.81,34.28,39.42z"/><path fill="#ffc107" d="M32.22,39.42c0,0.2-0.01,0.42-0.02,0.65c-0.02,0.37-0.05,0.77-0.1,1.18c-0.02,0.25-0.06,0.5-0.1,0.75h-5.48 l-1.06-0.17l-4.14-0.66l-0.59-0.09l-1.35-0.22c-0.59,0-1.87,0.26-3.22,0.51c-0.71,0.13-1.43,0.27-2.08,0.36 c-0.08,0.01-0.16,0.02-0.23,0.03h-0.01c-0.7-0.15-1.38-0.38-2.02-0.68c-0.2-0.09-0.4-0.19-0.6-0.3c-0.56-0.31-1.1-0.68-1.59-1.09 c-0.01-0.12-0.02-0.22-0.02-0.27c0-0.26,0.01-0.51,0.03-0.76c0.04-0.64,0.13-1.26,0.27-1.86c0.22-0.91,0.54-1.79,0.97-2.6 c0.08-0.17,0.17-0.34,0.27-0.5c0.04-0.08,0.09-0.15,0.13-0.23c0.18-0.29,0.38-0.57,0.58-0.85c0.42-0.55,0.89-1.07,1.39-1.54 c0.01,0,0.01,0,0.01,0c0.04-0.04,0.08-0.08,0.12-0.11c0.05-0.04,0.09-0.09,0.14-0.12c0.2-0.18,0.4-0.34,0.61-0.49 c0-0.01,0.01-0.01,0.01-0.01c1.89-1.41,4.23-2.24,6.78-2.24c1.98,0,3.82,0.5,5.43,1.38h0.01c1.38,0.76,2.58,1.79,3.53,3.03 c0.37,0.48,0.7,0.99,0.98,1.53h0.01c0.05,0.1,0.1,0.2,0.15,0.3c0.3,0.59,0.54,1.21,0.72,1.85h0.01c0.01,0.05,0.03,0.1,0.04,0.15 c0.12,0.43,0.22,0.87,0.29,1.32c0.01,0.09,0.02,0.19,0.03,0.28C32.19,38.43,32.22,38.92,32.22,39.42z"/><path fill="#ffd54f" d="M30.17,39.31c0,0.16,0,0.33-0.02,0.49v0.01c0,0.01,0,0.01,0,0.01c-0.02,0.72-0.12,1.43-0.28,2.07 c0,0.04-0.01,0.07-0.03,0.11h-4.67l-3.85-0.83l-0.51-0.11l-0.08,0.02l-4.27,0.88L16.27,42H16c-0.64,0-1.27-0.06-1.88-0.18 c-0.09-0.02-0.18-0.04-0.27-0.06h-0.01c-0.7-0.15-1.38-0.38-2.02-0.68c-0.02-0.11-0.04-0.22-0.05-0.33 c-0.07-0.43-0.1-0.88-0.1-1.33c0-0.17,0-0.34,0.01-0.51c0.03-0.54,0.11-1.07,0.23-1.58c0.08-0.38,0.19-0.75,0.32-1.1 c0.11-0.31,0.24-0.61,0.38-0.9c0.12-0.25,0.26-0.49,0.4-0.73c0.14-0.23,0.29-0.45,0.45-0.67c0.4-0.55,0.87-1.06,1.39-1.51 c0.3-0.26,0.63-0.51,0.97-0.73c1.46-0.96,3.21-1.52,5.1-1.52c0.37,0,0.73,0.02,1.08,0.07h0.02c1.07,0.12,2.07,0.42,2.99,0.87 c0.01,0,0.01,0,0.01,0c1.45,0.71,2.68,1.78,3.58,3.1c0.15,0.22,0.3,0.46,0.43,0.7c0.11,0.19,0.21,0.39,0.3,0.59 c0.14,0.31,0.27,0.64,0.38,0.97h0.01c0.11,0.37,0.21,0.74,0.28,1.13v0.01C30.11,38.16,30.17,38.73,30.17,39.31z"/><path fill="#ffe082" d="M28.11,39.52v0.03c0,0.59-0.07,1.17-0.21,1.74c-0.05,0.24-0.12,0.48-0.21,0.71h-4.48l-2.29-0.63L18.63,42H16 c-0.64,0-1.27-0.06-1.88-0.18c-0.02-0.03-0.03-0.06-0.04-0.09c-0.14-0.43-0.25-0.86-0.3-1.31c-0.04-0.29-0.06-0.59-0.06-0.9 c0-0.12,0-0.25,0.02-0.37c0.01-0.47,0.08-0.93,0.2-1.37c0.06-0.3,0.15-0.59,0.27-0.87c0.04-0.14,0.1-0.27,0.17-0.4 c0.15-0.34,0.33-0.67,0.53-0.99c0.22-0.32,0.46-0.62,0.73-0.9c0.32-0.36,0.68-0.69,1.09-0.96c0.7-0.51,1.5-0.89,2.37-1.1 c0.58-0.16,1.19-0.24,1.82-0.24c2,0,3.79,0.8,5.09,2.09c0.05,0.05,0.11,0.11,0.16,0.18h0.01c0.14,0.15,0.27,0.3,0.4,0.47 c0.37,0.47,0.68,0.98,0.92,1.54c0.12,0.26,0.22,0.53,0.3,0.81c0.01,0.04,0.02,0.07,0.03,0.11c0.14,0.49,0.23,1,0.25,1.53 C28.1,39.2,28.11,39.36,28.11,39.52z"/><path fill="#ffecb3" d="M26.06,39.52c0,0.41-0.05,0.8-0.16,1.17c-0.1,0.4-0.25,0.78-0.44,1.14c-0.03,0.06-0.1,0.17-0.1,0.17h-8.88 c-0.01-0.01-0.02-0.03-0.02-0.04c-0.12-0.19-0.22-0.38-0.3-0.59c-0.2-0.46-0.32-0.96-0.36-1.48c-0.02-0.12-0.02-0.25-0.02-0.37 c0-0.06,0-0.13,0.01-0.19c0.01-0.44,0.07-0.86,0.19-1.25c0.1-0.36,0.23-0.69,0.4-1.01c0,0,0.01-0.01,0.01-0.02 c0.12-0.21,0.25-0.42,0.4-0.62c0.49-0.66,1.14-1.2,1.89-1.55c0.01,0,0.01,0,0.01,0c0.24-0.12,0.49-0.22,0.75-0.29c0,0,0,0,0.01,0 c0.46-0.14,0.96-0.21,1.47-0.21c0.59,0,1.16,0.09,1.68,0.28c0.19,0.05,0.37,0.13,0.55,0.22c0,0,0,0,0.01,0 c0.86,0.41,1.59,1.05,2.09,1.85c0.1,0.15,0.19,0.31,0.27,0.48c0.04,0.07,0.08,0.15,0.11,0.22c0.23,0.52,0.37,1.09,0.41,1.69 c0.01,0.05,0.01,0.1,0.01,0.16C26.06,39.36,26.06,39.44,26.06,39.52z"/><g><path fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M30,11H18c-3.9,0-7,3.1-7,7v12c0,3.9,3.1,7,7,7h12c3.9,0,7-3.1,7-7V18C37,14.1,33.9,11,30,11z"/><circle cx="31" cy="16" r="1" fill="#fff"/></g><g><circle cx="24" cy="24" r="6" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/></g></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/pinterest.png b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/pinterest.png
new file mode 100644
index 00000000..58c236ab
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/pinterest.png differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/pinterest.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/pinterest.svg
deleted file mode 100644
index b3e1287b..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/pinterest.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><circle cx="24" cy="24" r="20" fill="#E60023"/><path fill="#FFF" d="M24.4439087,11.4161377c-8.6323242,0-13.2153931,5.7946167-13.2153931,12.1030884 c0,2.9338379,1.5615234,6.5853882,4.0599976,7.7484131c0.378418,0.1762085,0.581543,0.1000366,0.668457-0.2669067 c0.0668945-0.2784424,0.4038086-1.6369019,0.5553589-2.2684326c0.0484619-0.2015381,0.0246582-0.3746338-0.1384277-0.5731201 c-0.8269653-1.0030518-1.4884644-2.8461304-1.4884644-4.5645752c0-4.4115601,3.3399658-8.6799927,9.0299683-8.6799927 c4.9130859,0,8.3530884,3.3484497,8.3530884,8.1369019c0,5.4099731-2.7322998,9.1584473-6.2869263,9.1584473 c-1.9630737,0-3.4330444-1.6238403-2.9615479-3.6153564c0.5654297-2.3769531,1.6569214-4.9415283,1.6569214-6.6584473 c0-1.5354004-0.8230591-2.8169556-2.5299683-2.8169556c-2.006958,0-3.6184692,2.0753784-3.6184692,4.8569336 c0,1.7700195,0.5984497,2.9684448,0.5984497,2.9684448s-1.9822998,8.3815308-2.3453979,9.9415283 c-0.4019775,1.72229-0.2453003,4.1416016-0.0713501,5.7233887l0,0c0.4511108,0.1768799,0.9024048,0.3537598,1.3687744,0.4981079l0,0 c0.8168945-1.3278198,2.0349731-3.5056763,2.4864502-5.2422485c0.2438354-0.9361572,1.2468872-4.7546387,1.2468872-4.7546387 c0.6515503,1.2438965,2.5561523,2.296936,4.5831299,2.296936c6.0314941,0,10.378418-5.546936,10.378418-12.4400024 C36.7738647,16.3591919,31.3823242,11.4161377,24.4439087,11.4161377z"/></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/threads.png b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/threads.png
new file mode 100644
index 00000000..95f22c83
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/threads.png differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/twitter.png b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/twitter.png
new file mode 100644
index 00000000..c58056a0
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/twitter.png differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/twtter.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/twtter.svg
deleted file mode 100644
index c4081ad6..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/twtter.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"><path d="M 11 4 C 7.134 4 4 7.134 4 11 L 4 39 C 4 42.866 7.134 46 11 46 L 39 46 C 42.866 46 46 42.866 46 39 L 46 11 C 46 7.134 42.866 4 39 4 L 11 4 z M 13.085938 13 L 21.023438 13 L 26.660156 21.009766 L 33.5 13 L 36 13 L 27.789062 22.613281 L 37.914062 37 L 29.978516 37 L 23.4375 27.707031 L 15.5 37 L 13 37 L 22.308594 26.103516 L 13.085938 13 z M 16.914062 15 L 31.021484 35 L 34.085938 35 L 19.978516 15 L 16.914062 15 z"/></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/wx-gzh.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/wx-gzh.svg
deleted file mode 100644
index 8ff26eb5..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/wx-gzh.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M769.365333 277.162667c-40.96-83.968-144.042667-155.648-260.778666-155.648-61.44 0-154.965333 21.162667-224.938667 105.813333-46.762667 56.661333-62.464 122.538667-52.565333 188.757333 6.826667 45.397333 32.085333 105.130667 68.266666 143.018667 13.653333-95.914667 64.170667-171.349333 130.389334-226.645333 119.125333-91.818667 246.784-86.698667 339.626666-55.296z" fill="#FCA235" opacity=".7"></path><path d="M862.549333 420.864c-73.045333-94.890667-199.68-121.514667-313.685333-79.189333 3.754667 1.024 7.509333 2.048 10.922667 3.413333 168.96 57.685333 260.437333 240.981333 204.117333 409.258667-15.018667 44.714667-38.912 83.968-69.290667 116.394666 36.522667-10.24 73.728-24.576 105.472-49.152 129.024-98.645333 154.282667-281.6 62.464-400.725333z" fill="#FCA235" opacity=".7"></path><path d="M508.245333 724.309333c-25.6 0-50.517333-3.072-74.410666-8.192-3.072-0.682667-5.802667-1.024-9.216-0.682666-7.168 0.341333-13.312 2.730667-19.456 6.485333l-78.848 50.517333c-2.048 1.365333-4.437333 2.389333-7.168 2.730667-6.826667 0.341333-12.629333-5.12-12.970667-11.946667 0-3.072 1.024-6.144 1.706667-9.216 0.341333-1.706667 8.874667-39.594667 13.994666-63.488 0.682667-2.730667 1.024-5.12 1.024-7.850666-0.341333-8.192-4.778667-15.36-10.922666-19.456-83.285333-56.661333-140.288-145.749333-152.576-237.568-20.821333 32.768-32.085333 59.050667-43.008 96.938666-40.618667 141.994667 48.469333 312.32 193.536 360.106667 166.912 54.954667 326.314667-6.826667 381.269333-148.821333 6.826667-17.408 13.994667-46.421333 15.36-70.997334-58.368 43.008-120.149333 61.44-198.314667 61.44z" fill="#FCA235" opacity=".7"></path><path d="M508.245333 724.309333c-25.6 0-50.517333-3.072-74.410666-8.192-3.072-0.682667-5.802667-1.024-9.216-0.682666-7.168 0.341333-13.312 2.730667-19.456 6.485333l-78.848 50.517333c-2.048 1.365333-4.437333 2.389333-7.168 2.730667-6.826667 0.341333-12.629333-5.12-12.970667-11.946667 0-3.072 1.024-6.144 1.706667-9.216 0.341333-1.706667 8.874667-39.594667 13.994666-63.488 0.682667-2.730667 1.024-5.12 1.024-7.850666-0.341333-8.192-4.778667-15.36-10.922666-19.456-83.285333-56.661333-140.288-145.749333-152.576-237.568-20.821333 32.768-32.085333 59.050667-43.008 96.938666-40.618667 141.994667 48.469333 312.32 193.536 360.106667 166.912 54.954667 326.314667-6.826667 381.269333-148.821333 6.826667-17.408 13.994667-46.421333 15.36-70.997334-58.368 43.008-120.149333 61.44-198.314667 61.44z" fill="#FCA235" opacity=".7"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/xiancheng.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/xiancheng.svg
deleted file mode 100644
index babf2d6d..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/xiancheng.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755618499852" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1467" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M404.544 385.024c-17.28-11.52-74.624-51.328-74.624-51.328 48.384-69.184 112.192-96.128 200.448-96.128 62.4 0 115.392 20.928 153.216 60.672 37.824 39.744 59.392 96.576 64.32 169.216 20.992 8.832 40.32 19.136 57.92 30.976 70.976 47.68 110.016 119.04 110.016 200.768 0 173.824-142.464 324.8-400.384 324.8C294.016 1024 64 895.168 64 511.616 64 130.176 286.848 0 514.816 0 620.16 0 867.2 15.552 960 322.304l-87.04 22.592C801.024 126.336 650.432 91.52 512.384 91.52c-228.16 0-357.248 138.944-357.248 434.56 0 265.152 144.256 405.952 360.32 405.952 177.728 0 310.208-92.352 310.208-227.584 0-92.032-77.312-136.128-81.28-136.128-15.104 78.976-55.552 211.84-233.216 211.84-103.552 0-192.832-71.552-192.832-165.248 0-133.76 126.976-182.208 227.2-182.208 37.504 0 82.816 2.56 106.432 7.296 0-40.768-34.56-110.592-121.6-110.592-80 0-100.224 25.92-125.888 55.552zM557.824 524.16c-130.56 0-147.456 55.68-147.456 90.624 0 56.192 66.752 74.752 102.4 74.752 65.28 0 132.288-18.048 142.848-155.072a397.888 397.888 0 0 0-97.792-10.304z" fill="#000000" p-id="1468"></path></svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/youtube.png b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/youtube.png
new file mode 100644
index 00000000..19a42880
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/youtube.png differ
diff --git a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/youtube.svg b/aitoearn_web/aitoearn-web/src/assets/svgs/plat/youtube.svg
deleted file mode 100644
index 61b8db4f..00000000
--- a/aitoearn_web/aitoearn-web/src/assets/svgs/plat/youtube.svg
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
-<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
- viewBox="0 0 473.931 473.931" xml:space="preserve">
-<circle style="fill:#D42428;" cx="236.966" cy="236.966" r="236.966"/>
-<path style="fill:#CC202D;" d="M404.518,69.38c92.541,92.549,92.549,242.593,0,335.142c-92.541,92.541-242.593,92.545-335.142,0
- L404.518,69.38z"/>
-<path style="fill:#BA202E;" d="M470.321,277.964L310.843,118.487l-12.864,12.864l-12.864-12.864l-14.099,14.099l9.47,9.47
- l-3.091,3.091l-24.557-24.557l-1.048,1.055l-33.092-33.092l-14.099,14.099l3.858,3.858l-5.665,5.665l-23.854-23.854l-9.889,9.889
- l23.255,56.003l-10.473,42.997l28.632,28.639l-72.418,5.066l-1.096,125.667l116.537,116.679
- C362.678,465.505,451.836,383.833,470.321,277.964z"/>
-<path style="fill:#FFFFFF;" d="M321.724,291.91h-15.289l0.075-8.875c0-3.948,3.237-7.169,7.199-7.169h0.98
- c3.963,0,7.214,3.222,7.214,7.169L321.724,291.91z M264.404,272.89c-3.865,0-7.038,2.608-7.038,5.796v43.161
- c0,3.188,3.173,5.781,7.038,5.781c3.895,0,7.068-2.593,7.068-5.781v-43.165C271.472,275.498,268.299,272.89,264.404,272.89z
- M357.473,248.752v82.102c0,19.697-17.077,35.809-37.96,35.809H163.444c-20.887,0-37.96-16.116-37.96-35.809v-82.102
- c0-19.697,17.074-35.816,37.96-35.816h156.073C340.395,212.936,357.473,229.059,357.473,248.752z M173.85,339.771l-0.007-86.487
- l19.345,0.007v-12.819l-51.573-0.079v12.595l16.101,0.049v86.73h16.134V339.771z M231.847,266.17h-16.131v46.181
- c0,6.683,0.4,10.024-0.022,11.199c-1.317,3.581-7.214,7.383-9.508,0.389c-0.389-1.227-0.045-4.924-0.052-11.274l-0.075-46.499
- h-16.041l0.06,45.765c0.007,7.016-0.161,12.247,0.052,14.627c0.393,4.198,0.247,9.096,4.15,11.884
- c7.252,5.235,21.163-0.778,24.643-8.251l-0.03,9.534l12.95,0.019V266.17H231.847z M283.45,319.052l-0.03-38.439
- c-0.015-14.653-10.971-23.427-25.856-11.573l0.067-28.58l-16.116,0.026l-0.079,98.637l13.25-0.195l1.205-6.148
- C272.83,348.332,283.479,337.683,283.45,319.052z M333.941,313.96l-12.101,0.064c0,0.483-0.022,1.033-0.03,1.639v6.75
- c0,3.611-2.982,6.552-6.608,6.552h-2.369c-3.633,0-6.615-2.941-6.615-6.552v-0.748v-7.431v-9.579h27.697V294.23
- c0-7.614-0.198-15.229-0.827-19.584c-1.979-13.781-21.317-15.966-31.09-8.913c-3.068,2.204-5.407,5.152-6.776,9.119
- c-1.373,3.963-2.054,9.369-2.054,16.247v22.918C293.178,352.115,339.452,346.73,333.941,313.96z M271.895,189.524
- c0.827,2.028,2.118,3.663,3.88,4.905c1.725,1.212,3.948,1.83,6.6,1.83c2.324,0,4.385-0.629,6.174-1.927
- c1.792-1.291,3.304-3.214,4.531-5.788l-0.307,6.331h17.979v-76.467h-14.155v59.513c0,3.218-2.66,5.856-5.905,5.856
- c-3.222,0-5.89-2.638-5.89-5.856v-59.513h-14.769v51.573c0,6.571,0.116,10.952,0.314,13.175
- C270.559,185.363,271.064,187.477,271.895,189.524z M217.408,146.337c0-7.341,0.614-13.07,1.826-17.201
- c1.22-4.12,3.427-7.431,6.608-9.923c3.18-2.511,7.252-3.764,12.191-3.764c4.157,0,7.723,0.819,10.705,2.417
- c2.982,1.609,5.298,3.693,6.892,6.271c1.639,2.586,2.739,5.246,3.334,7.966c0.606,2.754,0.898,6.919,0.898,12.52v19.341
- c0,7.094-0.284,12.31-0.834,15.626c-0.543,3.323-1.717,6.402-3.536,9.287c-1.796,2.859-4.116,4.995-6.93,6.357
- c-2.836,1.381-6.08,2.054-9.755,2.054c-4.093,0-7.551-0.565-10.391-1.751c-2.851-1.175-5.059-2.949-6.627-5.302
- c-1.594-2.357-2.705-5.227-3.375-8.572c-0.681-3.349-1.003-8.374-1.003-15.079v-20.247H217.408z M231.484,176.716
- c0,4.325,3.229,7.861,7.154,7.861s7.132-3.532,7.132-7.861v-40.71c0-4.325-3.207-7.861-7.132-7.861s-7.154,3.532-7.154,7.861
- V176.716z M181.722,197.269h16.969l0.015-58.648l20.045-50.241h-18.555l-10.657,37.324l-10.81-37.421h-18.357l21.324,50.372
- L181.722,197.269z"/>
-</svg>
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/AvatarPlat/avatarPlat.module.scss b/aitoearn_web/aitoearn-web/src/components/AvatarPlat/avatarPlat.module.scss
index 7333c2c8..382d8c4c 100644
--- a/aitoearn_web/aitoearn-web/src/components/AvatarPlat/avatarPlat.module.scss
+++ b/aitoearn_web/aitoearn-web/src/components/AvatarPlat/avatarPlat.module.scss
@@ -1,6 +1,7 @@
.avatarPlat {
position: relative;
display: inline-block;
+ flex-shrink: 0;
justify-content: center;
& > img {
position: absolute;
@@ -9,4 +10,14 @@
transform: translate(-10%, 20%);
border-radius: 50%;
}
+
+ &.disabled {
+ filter: grayscale(100%);
+ opacity: 0.6;
+
+ &:hover {
+ filter: grayscale(100%);
+ opacity: 0.6;
+ }
+ }
}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/AvatarPlat/index.tsx b/aitoearn_web/aitoearn-web/src/components/AvatarPlat/index.tsx
index 67b368c0..8e8e1666 100644
--- a/aitoearn_web/aitoearn-web/src/components/AvatarPlat/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/AvatarPlat/index.tsx
@@ -14,6 +14,7 @@ export interface IAvatarPlatProps {
className?: string;
width?: number;
avatarWidth?: number;
+ disabled?: boolean;
}
const getAvatar = (url: string) => {
@@ -33,6 +34,7 @@ const AvatarPlat = memo(
className,
width,
avatarWidth,
+ disabled,
}: IAvatarPlatProps,
ref: ForwardedRef<IAvatarPlatRef>,
) => {
@@ -50,10 +52,11 @@ const AvatarPlat = memo(
return (
<>
- <div className={`${styles.avatarPlat} ${className}`}>
+ <div className={`${styles.avatarPlat} ${className} ${disabled ? styles.disabled : ''}`}>
<Avatar
src={getAvatar(account.avatar)}
size={avatarWidth ? avatarWidth : size}
+ style={disabled ? { opacity: 0.5 } : undefined}
/>
<img
src={plat.icon}
@@ -62,9 +65,11 @@ const AvatarPlat = memo(
? {
width:
size === "large" ? 16 : size === "default" ? 12.5 : 10,
+ opacity: disabled ? 0.5 : 1,
}
: {
width,
+ opacity: disabled ? 0.5 : 1,
}
}
/>
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/common/CommonTitleInput.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/common/CommonTitleInput.tsx
index 977b8478..650c9db6 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/common/CommonTitleInput.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/common/CommonTitleInput.tsx
@@ -1,7 +1,7 @@
import { ForwardedRef, forwardRef, memo, useMemo } from "react";
import styles from "../platParamsSetting.module.scss";
import { Input } from "antd";
-import { AccountPlatInfoMap } from "@/app/config/platConfig";
+import { AccountPlatInfoMap, PlatType } from "@/app/config/platConfig";
import { PubItem } from "@/components/PublishDialog/publishDialog.type";
import { usePublishDialog } from "@/components/PublishDialog/usePublishDialog";
import { useShallow } from "zustand/react/shallow";
@@ -31,9 +31,15 @@ const CommonTitleInput = memo(
})),
);
+ // 判断是否需要显示必填标识
+ const isRequired = pubItem.account.type === PlatType.Pinterest;
+
return (
<div className={styles.commonTitleInput}>
- <div className="platParamsSetting-label">{t("form.title")}</div>
+ <div className="platParamsSetting-label">
+ {t("form.title")}
+ {isRequired && <span style={{ color: "#ff4d4f", marginLeft: "4px" }}>*</span>}
+ </div>
<Input
value={pubItem.params.title}
maxLength={platConfig.commonPubParamsConfig.titleMax || 20}
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/index.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/index.tsx
index a62e55e7..cee1690a 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/index.tsx
@@ -7,6 +7,9 @@ import KwaiParams from "@/components/PublishDialog/compoents/PlatParamsSetting/p
import FacebookParams from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/FacebookParams";
import InstagramParams from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/InstagramParams";
import YouTubeParams from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/YouTubeParams";
+import WxGzhParams from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/WxGzhParams";
+import PinterestParams from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams";
+import TikTokParams from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/TikTokParams";
import { useShallow } from "zustand/react/shallow";
import { PubItem } from "@/components/PublishDialog/publishDialog.type";
@@ -41,12 +44,18 @@ const PlatParamsSetting = memo(
return <KwaiParams pubItem={pubItem} />;
case PlatType.BILIBILI:
return <BilibParams pubItem={pubItem} />;
+ case PlatType.WxGzh:
+ return <WxGzhParams pubItem={pubItem} />;
case PlatType.Facebook:
return <FacebookParams pubItem={pubItem} />;
case PlatType.Instagram:
return <InstagramParams pubItem={pubItem} />;
case PlatType.YouTube:
return <YouTubeParams pubItem={pubItem} />;
+ case PlatType.Pinterest:
+ return <PinterestParams pubItem={pubItem} />;
+ case PlatType.Tiktok:
+ return <TikTokParams pubItem={pubItem} />;
default:
return <KwaiParams pubItem={pubItem} />;
}
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/platParamsSetting.module.scss b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/platParamsSetting.module.scss
index b3a8c51e..42588867 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/platParamsSetting.module.scss
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/platParamsSetting.module.scss
@@ -40,3 +40,38 @@
align-items: center;
height: 32px;
}
+
+// 自定义Tooltip样式 - 白色背景
+.tooltipOverride {
+ :global {
+ .ant-tooltip .ant-tooltip-inner {
+ background-color: #ffffff !important;
+ color: #333333 !important;
+ border: 1px solid #d9d9d9 !important;
+ box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
+ }
+
+ .ant-tooltip .ant-tooltip-arrow::before {
+ background-color: #ffffff !important;
+ border: 1px solid #d9d9d9 !important;
+ }
+ }
+}
+
+// 全局Tooltip样式覆盖
+.globalTooltipOverride {
+ :global {
+ .ant-tooltip .ant-tooltip-inner {
+ background-color: #ffffff !important;
+ color: #333333 !important;
+ border: 1px solid #d9d9d9 !important;
+ }
+
+ .ant-tooltip .ant-tooltip-arrow::before {
+ background-color: #ffffff !important;
+ border: 1px solid #d9d9d9 !important;
+ }
+ }
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
new file mode 100644
index 00000000..2d70eb28
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
@@ -0,0 +1,281 @@
+import { ForwardedRef, forwardRef, memo, useEffect, useState } from "react";
+import {
+ IPlatsParamsProps,
+ IPlatsParamsRef,
+} from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/plats.type";
+import PubParmasTextarea from "@/components/PublishDialog/compoents/PubParmasTextarea";
+import usePlatParamsCommon from "@/components/PublishDialog/compoents/PlatParamsSetting/hooks/usePlatParamsCoomon";
+import CommonTitleInput from "@/components/PublishDialog/compoents/PlatParamsSetting/common/CommonTitleInput";
+import { usePublishDialogData } from "@/components/PublishDialog/usePublishDialogData";
+import { useShallow } from "zustand/react/shallow";
+import styles from "../platParamsSetting.module.scss";
+import { Button, Tooltip, Input, List, message } from "antd";
+import { useTransClient } from "@/app/i18n/client";
+import { PushpinOutlined, PlusOutlined, SearchOutlined } from "@ant-design/icons";
+import { createPinterestBoardApi } from "@/api/pinterest";
+import { useAccountStore } from "@/store/account";
+import { PlatType } from "@/app/config/platConfig";
+
+// 添加全局样式
+const tooltipStyles = `
+ .ant-tooltip .ant-tooltip-inner {
+ background-color: #ffffff !important;
+ color: #333333 !important;
+ border: 1px solid #d9d9d9 !important;
+ }
+ .ant-tooltip .ant-tooltip-arrow::before {
+ background-color: #ffffff !important;
+ border: 1px solid #d9d9d9 !important;
+ }
+`;
+
+const PinterestParams = memo(
+ forwardRef(
+ ({ pubItem }: IPlatsParamsProps, ref: ForwardedRef<IPlatsParamsRef>) => {
+ const { t } = useTransClient("pinterest");
+ const { pubParmasTextareaCommonParams, setOnePubParams } =
+ usePlatParamsCommon(pubItem);
+ const { getPinterestBoards, pinterestBoards } =
+ usePublishDialogData(
+ useShallow((state) => ({
+ getPinterestBoards: state.getPinterestBoards,
+ pinterestBoards: state.pinterestBoards,
+ })),
+ );
+
+ // 弹窗状态
+ const [boardTooltipVisible, setBoardTooltipVisible] = useState(false);
+ const [searchKeyword, setSearchKeyword] = useState("");
+ const [newBoardName, setNewBoardName] = useState("");
+ const [creatingBoard, setCreatingBoard] = useState(false);
+
+ useEffect(() => {
+ getPinterestBoards();
+ }, [getPinterestBoards]);
+
+ // 添加样式到页面
+ useEffect(() => {
+ const styleElement = document.createElement('style');
+ styleElement.textContent = tooltipStyles;
+ document.head.appendChild(styleElement);
+
+ return () => {
+ document.head.removeChild(styleElement);
+ };
+ }, []);
+
+ // 初始化Pinterest参数
+ useEffect(() => {
+ const option = pubItem.params.option;
+ if (!option.pinterest) {
+ option.pinterest = {};
+ }
+ setOnePubParams(
+ {
+ option,
+ },
+ pubItem.account.id,
+ );
+ }, [pubItem.account.id]);
+
+ // 默认选择第一个Board
+ useEffect(() => {
+ if (pinterestBoards.length > 0 && !pubItem.params.option.pinterest?.boardId) {
+ const option = pubItem.params.option;
+ option.pinterest!.boardId = pinterestBoards[0].id;
+ setOnePubParams(
+ {
+ option,
+ },
+ pubItem.account.id,
+ );
+ }
+ }, [pinterestBoards, pubItem.params.option.pinterest?.boardId, pubItem.account.id]);
+
+ // 获取当前选中的Board信息
+ const selectedBoard = pinterestBoards.find(
+ board => board.id === pubItem.params.option.pinterest?.boardId
+ );
+
+ // 过滤Board列表
+ const filteredBoards = pinterestBoards.filter(board =>
+ board.name.toLowerCase().includes(searchKeyword.toLowerCase())
+ );
+
+ // 创建新Board
+ const handleCreateBoard = async () => {
+ if (!newBoardName.trim()) {
+ message.error(t("validation.boardNameRequired"));
+ return;
+ }
+
+ const pinterestAccount = useAccountStore
+ .getState()
+ .accountList.find((v) => v.type === PlatType.Pinterest);
+
+ if (!pinterestAccount) {
+ message.error(t("messages.noAccountFound"));
+ return;
+ }
+
+ try {
+ setCreatingBoard(true);
+ const response = await createPinterestBoardApi(
+ { name: newBoardName.trim() },
+ pinterestAccount.account
+ );
+
+ if (response?.code === 0) {
+ message.success(t("messages.boardCreateSuccess"));
+ setNewBoardName("");
+ // 重新获取Board列表
+ await getPinterestBoards(true);
+ } else {
+ message.error(t("messages.boardCreateFailed"));
+ }
+ } catch (error) {
+ message.error(t("messages.boardCreateFailed"));
+ } finally {
+ setCreatingBoard(false);
+ }
+ };
+
+
+ // 选择Board
+ const handleSelectBoard = (boardId: string) => {
+ const option = pubItem.params.option;
+ option.pinterest!.boardId = boardId;
+ setOnePubParams(
+ {
+ option,
+ },
+ pubItem.account.id,
+ );
+ setBoardTooltipVisible(false);
+ setSearchKeyword("");
+ };
+
+ return (
+ <>
+ <PubParmasTextarea
+ {...pubParmasTextareaCommonParams}
+ extend={
+ <>
+ <CommonTitleInput pubItem={pubItem} />
+ <div
+ className={`${styles.commonTitleInput} ${styles.tooltipOverride}`}
+ style={{ marginTop: "10px" }}
+ >
+ <div className="platParamsSetting-label">
+ {t("pin.selectBoard")}
+ <span style={{ color: "#ff4d4f", marginLeft: "4px" }}>*</span>
+ </div>
+ <div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
+ <Button
+ icon={<PushpinOutlined />}
+ style={{
+ border: "none"
+ }}
+ >
+ {selectedBoard?.name || t("pin.selectBoardPlaceholder")}
+ </Button>
+ <Tooltip
+ title={
+ <div style={{ maxHeight: "400px", overflow: "auto", background: "#ffffff" }}>
+ <div style={{ marginBottom: "1px" }}>
+ <Input
+ placeholder={t("actions.search")}
+ prefix={<SearchOutlined />}
+ value={searchKeyword}
+ onChange={(e) => setSearchKeyword(e.target.value)}
+ size="small"
+ style={{ marginBottom: "12px" }}
+ />
+ </div>
+
+ {/* Board列表 */}
+ <List
+ dataSource={filteredBoards}
+ size="small"
+ style={{ maxHeight: "200px", overflow: "auto" }}
+ renderItem={(board) => (
+ <List.Item
+ style={{
+ cursor: "pointer",
+ padding: "6px 8px",
+ borderRadius: "4px",
+ backgroundColor: board.id === pubItem.params.option.pinterest?.boardId ? "#f0f0f0" : "transparent"
+ }}
+ onClick={() => handleSelectBoard(board.id)}
+ >
+ <div style={{ display: "flex", alignItems: "center", gap: "6px" }}>
+ <PushpinOutlined style={{ fontSize: "12px" }} />
+ <span style={{ fontSize: "12px" }}>{board.name}</span>
+ {board.id === pubItem.params.option.pinterest?.boardId && (
+ <span style={{ color: "#1890ff", fontSize: "10px" }}>({t("badges.selected")})</span>
+ )}
+ </div>
+ </List.Item>
+ )}
+ locale={{
+ emptyText: t("empty.noBoards")
+ }}
+ />
+
+ {/* 创建新Board */}
+ <div style={{
+ border: "1px solid #d9d9d9",
+ borderRadius: "4px",
+ padding: "8px",
+ marginTop: "12px"
+ }}>
+
+ <div style={{ display: "flex", gap: "6px" }}>
+ <Input
+ placeholder={t("board.namePlaceholder")}
+ value={newBoardName}
+ onChange={(e) => setNewBoardName(e.target.value)}
+ onPressEnter={handleCreateBoard}
+ size="small"
+ />
+ <Button
+ type="primary"
+ icon={<PlusOutlined />}
+ onClick={handleCreateBoard}
+ loading={creatingBoard}
+ size="small"
+ >
+ {t("board.createButton")}
+ </Button>
+ </div>
+ </div>
+ </div>
+ }
+ open={boardTooltipVisible}
+ onOpenChange={setBoardTooltipVisible}
+ placement="top"
+ trigger="click"
+ >
+ <Button
+ onClick={() => setBoardTooltipVisible(!boardTooltipVisible)}
+ style={{
+ backgroundColor: "#f5f5f5",
+ border: "none",
+ color: "#666"
+ }}
+ >
+ {t("actions.change")}
+ </Button>
+ </Tooltip>
+ </div>
+ </div>
+ </>
+ }
+ />
+ </>
+ );
+ },
+ ),
+);
+
+export default PinterestParams;
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/TikTokParams.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/TikTokParams.tsx
new file mode 100644
index 00000000..ad26c760
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/TikTokParams.tsx
@@ -0,0 +1,330 @@
+import { ForwardedRef, forwardRef, memo, useEffect, useState } from "react";
+import {
+ IPlatsParamsProps,
+ IPlatsParamsRef,
+} from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/plats.type";
+import PubParmasTextarea from "@/components/PublishDialog/compoents/PubParmasTextarea";
+import usePlatParamsCommon from "@/components/PublishDialog/compoents/PlatParamsSetting/hooks/usePlatParamsCoomon";
+import CommonTitleInput from "@/components/PublishDialog/compoents/PlatParamsSetting/common/CommonTitleInput";
+import styles from "../platParamsSetting.module.scss";
+import { Select, Checkbox, Switch, Alert } from "antd";
+import { useTransClient } from "@/app/i18n/client";
+import http from "@/utils/request";
+
+// TikTok Creator Info 接口类型
+interface TikTokCreatorInfo {
+ max_video_post_duration_sec: number;
+ privacy_level_options: string[];
+ stitch_disabled: boolean;
+ comment_disabled: boolean;
+ creator_avatar_url: string;
+ creator_nickname: string;
+ creator_username: string;
+ duet_disabled: boolean;
+}
+
+const TikTokParams = memo(
+ forwardRef(
+ ({ pubItem }: IPlatsParamsProps, ref: ForwardedRef<IPlatsParamsRef>) => {
+ const { t } = useTransClient("publish");
+ const { pubParmasTextareaCommonParams, setOnePubParams } =
+ usePlatParamsCommon(pubItem);
+
+ const [creatorInfo, setCreatorInfo] = useState<TikTokCreatorInfo | null>(null);
+ const [loading, setLoading] = useState(false);
+
+ // 获取 TikTok Creator Info
+ const fetchCreatorInfo = async () => {
+ try {
+ setLoading(true);
+ const response = await http.get<TikTokCreatorInfo>(`plat/tiktok/creator/info/${pubItem.account.account}`);
+ if (response && response.code === 0) {
+ setCreatorInfo(response.data as TikTokCreatorInfo);
+ }
+ } catch (error) {
+ console.error('Failed to fetch TikTok creator info:', error);
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ // 初始化 TikTok 参数
+ useEffect(() => {
+ const option = pubItem.params.option;
+ if (!option.tiktok) {
+ option.tiktok = {
+ privacy_level: '',
+ comment_disabled: false,
+ duet_disabled: false,
+ stitch_disabled: false,
+ brand_organic_toggle: false,
+ brand_content_toggle: false,
+ };
+ console.log('Initializing TikTok options:', option.tiktok);
+ setOnePubParams({ option }, pubItem.account.id);
+ } else {
+ console.log('TikTok options already exist:', option.tiktok);
+ }
+ fetchCreatorInfo();
+ }, [pubItem.account.id, pubItem.account.account]);
+
+ // 隐私级别选项映射
+ const getPrivacyLevelLabel = (value: string) => {
+ switch (value) {
+ case 'PUBLIC_TO_EVERYONE':
+ return t('tiktok.privacy.public' as any);
+ case 'MUTUAL_FOLLOW_FRIENDS':
+ return t('tiktok.privacy.friends' as any);
+ case 'SELF_ONLY':
+ return t('tiktok.privacy.private' as any);
+ default:
+ return value;
+ }
+ };
+
+ // 获取合规声明文本和链接
+ const getComplianceContent = () => {
+ const { brand_organic_toggle, brand_content_toggle } = pubItem.params.option.tiktok || {};
+
+ // 根据选择确定链接
+ const linkUrl = brand_content_toggle
+ ? 'https://www.tiktok.com/legal/page/global/bc-policy/en'
+ : 'https://www.tiktok.com/legal/page/global/music-usage-confirmation/en';
+
+ // 根据选择确定文本
+ let text = '';
+ if (brand_organic_toggle && brand_content_toggle) {
+ text = t('tiktok.compliance.both' as any);
+ } else if (brand_content_toggle) {
+ text = t('tiktok.compliance.branded' as any);
+ } else if (brand_organic_toggle) {
+ text = t('tiktok.compliance.organic' as any);
+ } else {
+ text = t('tiktok.compliance.default' as any);
+ }
+
+ // 返回整个文本作为可点击的链接
+ return (
+ // <></>
+ <a
+ href={linkUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ style={{
+ color: '#1890ff',
+ textDecoration: 'underline',
+ cursor: 'pointer',
+ display: 'block',
+ width: '100%'
+ }}
+ >
+ {text}
+ </a>
+ );
+ };
+
+ return (
+ <>
+ <PubParmasTextarea
+ {...pubParmasTextareaCommonParams}
+ extend={
+ <>
+ <CommonTitleInput pubItem={pubItem} />
+
+ {/* Creator Info Display */}
+ {creatorInfo && (
+ <div className={styles.commonTitleInput} style={{ marginTop: "10px" }}>
+ <div className="platParamsSetting-label">{t('tiktok.creatorInfo' as any)}</div>
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '8px',
+ padding: '8px',
+ borderRadius: '4px'
+ }}>
+ <img
+ src={creatorInfo.creator_avatar_url}
+ alt="Creator Avatar"
+ style={{ width: '32px', height: '32px', borderRadius: '50%' }}
+ />
+ <span style={{ fontWeight: 500 }}>{creatorInfo.creator_nickname}</span>
+ <span style={{ color: '#666' }}>(@{creatorInfo.creator_username})</span>
+ </div>
+ </div>
+ )}
+
+ {/* Privacy Level Selection */}
+ {creatorInfo && (
+ <div className={styles.commonTitleInput} style={{ marginTop: "10px" }}>
+ <div className="platParamsSetting-label">{t('tiktok.privacy.title' as any)}</div>
+ <Select
+ style={{ width: "100%", marginLeft: '3px' }}
+ value={pubItem.params.option.tiktok?.privacy_level}
+ onChange={(value) => {
+ const option = pubItem.params.option;
+ option.tiktok!.privacy_level = value;
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ placeholder={t('tiktok.privacy.placeholder' as any)}
+ options={creatorInfo.privacy_level_options.map(level => ({
+ value: level,
+ label: getPrivacyLevelLabel(level)
+ }))}
+ />
+ </div>
+ )}
+
+ {/* Allow users to interact */}
+ <div className={styles.commonTitleInput} style={{ marginTop: "10px" }}>
+ <div className="platParamsSetting-label">{t('tiktok.interactions.title' as any)}</div>
+ <div style={{ display: 'flex', flexDirection: 'row', gap: '8px', marginLeft: '3px' }}>
+ <Checkbox
+ checked={!pubItem.params.option.tiktok?.comment_disabled}
+ disabled={creatorInfo?.comment_disabled}
+ onChange={(e) => {
+ const option = pubItem.params.option;
+ option.tiktok!.comment_disabled = !e.target.checked;
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ >
+ {t('tiktok.interactions.comment' as any)}
+ </Checkbox>
+ <Checkbox
+ checked={!pubItem.params.option.tiktok?.duet_disabled}
+ disabled={creatorInfo?.duet_disabled}
+ onChange={(e) => {
+ const option = pubItem.params.option;
+ option.tiktok!.duet_disabled = !e.target.checked;
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ >
+ {t('tiktok.interactions.duet' as any)}
+ </Checkbox>
+ <Checkbox
+ checked={!pubItem.params.option.tiktok?.stitch_disabled}
+ disabled={creatorInfo?.stitch_disabled}
+ onChange={(e) => {
+ const option = pubItem.params.option;
+ option.tiktok!.stitch_disabled = !e.target.checked;
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ >
+ {t('tiktok.interactions.stitch' as any)}
+ </Checkbox>
+ </div>
+ </div>
+
+ {/* Commercial Content Disclosure */}
+ <div className={styles.commonTitleInput} style={{ marginTop: "10px" }}>
+ <div className="platParamsSetting-label">{t('tiktok.commercial.title' as any)}</div>
+ <div style={{ marginBottom: '0px' }}>
+ {/* <div style={{ fontSize: '12px', color: '#666', marginBottom: '4px' }}>
+ 当前状态: {JSON.stringify({
+ brand_organic_toggle: pubItem.params.option.tiktok?.brand_organic_toggle,
+ brand_content_toggle: pubItem.params.option.tiktok?.brand_content_toggle,
+ switch_checked: pubItem.params.option.tiktok?.brand_organic_toggle || pubItem.params.option.tiktok?.brand_content_toggle
+ })}
+ </div> */}
+ <Switch
+ checked={pubItem.params.option.tiktok?.brand_organic_toggle || pubItem.params.option.tiktok?.brand_content_toggle}
+ size="small"
+ style={{ marginTop: '2px', marginLeft: '3px' }}
+ onChange={(checked) => {
+ console.log('TikTok Switch changed:', checked);
+ const option = { ...pubItem.params.option };
+ if (!option.tiktok) {
+ option.tiktok = {
+ privacy_level: '',
+ comment_disabled: false,
+ duet_disabled: false,
+ stitch_disabled: false,
+ brand_organic_toggle: false,
+ brand_content_toggle: false,
+ };
+ }
+
+ if (!checked) {
+ // 关闭时,清空所有商业内容选项
+ option.tiktok.brand_organic_toggle = false;
+ option.tiktok.brand_content_toggle = false;
+ } else {
+ // 开启时,默认选择"您的品牌"选项
+ option.tiktok.brand_organic_toggle = true;
+ option.tiktok.brand_content_toggle = false;
+ }
+ console.log('TikTok options after change:', option.tiktok);
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ />
+ <span style={{ marginLeft: '8px', fontSize: '11px' }}>{t('tiktok.commercial.toggle' as any)}</span>
+ </div>
+
+
+ </div>
+
+ {(pubItem.params.option.tiktok?.brand_organic_toggle || pubItem.params.option.tiktok?.brand_content_toggle) && (
+ <div style={{ display: 'flex', flexDirection: 'column', gap: '8px', marginTop: '8px', fontSize: '12px' }}>
+ <Checkbox
+ checked={pubItem.params.option.tiktok?.brand_organic_toggle}
+ onChange={(e) => {
+ const option = { ...pubItem.params.option };
+ if (!option.tiktok) {
+ option.tiktok = {
+ privacy_level: '',
+ comment_disabled: false,
+ duet_disabled: false,
+ stitch_disabled: false,
+ brand_organic_toggle: false,
+ brand_content_toggle: false,
+ };
+ }
+ option.tiktok.brand_organic_toggle = e.target.checked;
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ >
+ {t('tiktok.commercial.yourBrand' as any)}
+ </Checkbox>
+ <Checkbox
+ checked={pubItem.params.option.tiktok?.brand_content_toggle}
+ onChange={(e) => {
+ const option = { ...pubItem.params.option };
+ if (!option.tiktok) {
+ option.tiktok = {
+ privacy_level: '',
+ comment_disabled: false,
+ duet_disabled: false,
+ stitch_disabled: false,
+ brand_organic_toggle: false,
+ brand_content_toggle: false,
+ };
+ }
+ option.tiktok.brand_content_toggle = e.target.checked;
+ setOnePubParams({ option }, pubItem.account.id);
+ }}
+ >
+ {t('tiktok.commercial.brandedContent' as any)} 11
+ </Checkbox>
+
+ {/* Compliance Declaration */}
+ <div className={styles.commonTitleInput} style={{ marginTop: "10px" }}>
+ <Alert
+ description={getComplianceContent()}
+ type="info"
+ showIcon
+ style={{ fontSize: '12px', padding: '3px 6px' }}
+ />
+ </div>
+ </div>
+ )}
+
+
+ </>
+ }
+ />
+ </>
+ );
+ },
+ ),
+);
+
+export default TikTokParams;
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/WxGzhParams.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/WxGzhParams.tsx
new file mode 100644
index 00000000..96ea8150
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PlatParamsSetting/plats/WxGzhParams.tsx
@@ -0,0 +1,52 @@
+import { ForwardedRef, forwardRef, memo, useEffect } from "react";
+import { IPlatsParamsProps, IPlatsParamsRef } from "@/components/PublishDialog/compoents/PlatParamsSetting/plats/plats.type";
+import PubParmasTextarea from "@/components/PublishDialog/compoents/PubParmasTextarea";
+import usePlatParamsCommon from "@/components/PublishDialog/compoents/PlatParamsSetting/hooks/usePlatParamsCoomon";
+import styles from "../platParamsSetting.module.scss";
+import { Input } from "antd";
+import { useTransClient } from "@/app/i18n/client";
+
+/**
+ * 微信公众号平台参数
+ * - 独立参数:title(与通用 title 区分,使用 option.wxGzh.title 保存)
+ */
+const WxGzhParams = memo(
+ forwardRef(({ pubItem }: IPlatsParamsProps, ref: ForwardedRef<IPlatsParamsRef>) => {
+ const { t } = useTransClient("publish");
+ const { pubParmasTextareaCommonParams, setOnePubParams } = usePlatParamsCommon(pubItem);
+
+ // 初始化 wxGzh 参数对象
+ // useEffect(() => {
+ // const option = pubItem.params.option;
+ // if (!option.wxGzh) {
+ // option.wxGzh = {};
+ // setOnePubParams({ option }, pubItem.account.id);
+ // }
+ // // eslint-disable-next-line react-hooks/exhaustive-deps
+ // }, [pubItem.account.id]);
+
+ return (
+ <>
+ <PubParmasTextarea
+ {...pubParmasTextareaCommonParams}
+ extend={<>
+ <div className={styles.commonTitleInput} style={{ marginTop: "10px" }}>
+ <div className="platParamsSetting-label">{t("form.title")}</div>
+ <Input
+ value={pubItem.params.title}
+ placeholder={t("form.titlePlaceholder")}
+ onChange={(e) => {
+ setOnePubParams({ title: e.target.value }, pubItem.account.id);
+ }}
+ />
+ </div>
+ </>}
+ />
+ </>
+ );
+ })
+);
+
+export default WxGzhParams;
+
+
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PubParmasTextarea/index.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PubParmasTextarea/index.tsx
index fd65053a..e458609d 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PubParmasTextarea/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PubParmasTextarea/index.tsx
@@ -25,6 +25,7 @@ import VideoCoverSeting from "@/components/PublishDialog/compoents/PubParmasText
import PubParmasTextareaUpload from "@/components/PublishDialog/compoents/PubParmasTextarea/PubParmasTextareaUpload";
import { AccountPlatInfoMap, PlatType } from "@/app/config/platConfig";
import { PubType } from "@/app/config/publishConfig";
+import { useTransClient } from "@/app/i18n/client";
const { TextArea } = Input;
const { Dragger } = Upload;
@@ -89,6 +90,7 @@ const PubParmasTextarea = memo(
effect: true,
sort: true,
});
+ const { t } = useTransClient("publish");
useEffect(() => {
if (isFirst.current.effect) {
@@ -437,7 +439,7 @@ const PubParmasTextarea = memo(
style={{ marginTop: "10px" }}
onClick={() => setVideoCoverSetingModal(true)}
>
- 裁剪封面
+ {t("actions.cropCover")}
</Button>
)}
</div>
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PublishDialogPreview.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PublishDialogPreview.tsx
index 713b9e18..f143b852 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PublishDialogPreview.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/compoents/PublishDialogPreview.tsx
@@ -9,6 +9,28 @@ import { useTranslation } from "react-i18next";
import "swiper/css";
import "swiper/css/pagination";
+// 格式化文件大小
+const formatFileSize = (bytes: number): string => {
+ if (bytes === 0) return '0 Bytes';
+ const k = 1024;
+ const sizes = ['Bytes', 'KB', 'MB', 'GB'];
+ const i = Math.floor(Math.log(bytes) / Math.log(k));
+ return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
+};
+
+// 格式化时长
+const formatDuration = (seconds: number): string => {
+ const hours = Math.floor(seconds / 3600);
+ const minutes = Math.floor((seconds % 3600) / 60);
+ const secs = Math.floor(seconds % 60);
+
+ if (hours > 0) {
+ return `${hours}:${minutes.toString().padStart(2, '0')}:${secs.toString().padStart(2, '0')}`;
+ } else {
+ return `${minutes}:${secs.toString().padStart(2, '0')}`;
+ }
+};
+
export interface IPublishDialogPreviewRef {}
export interface IPublishDialogPreviewProps {}
@@ -56,6 +78,48 @@ const PublishDialogPreview = memo(
controls
poster={expandedPubItem.params.video?.cover.imgUrl}
/>
+ {/* 视频信息显示 */}
+ <div className="publishDialogPreview-video-info" style={{ color: '#fff', fontSize: '11px' }}>
+ <div className="publishDialogPreview-video-info-item">
+ <span className="publishDialogPreview-video-info-label">{t('preview.videoInfo.filename' as any)}:</span>
+ <span className="publishDialogPreview-video-info-value">
+ {expandedPubItem.params.video?.filename || 'Unknown'}
+ </span>
+ </div>
+ <div className="publishDialogPreview-video-info-item">
+ <span className="publishDialogPreview-video-info-label">{t('preview.videoInfo.format' as any)}:</span>
+ <span className="publishDialogPreview-video-info-value">
+ {expandedPubItem.params.video?.filename?.split('.').pop()?.toUpperCase() || 'Unknown'}
+ </span>
+ </div>
+ <div className="publishDialogPreview-video-info-item">
+ <span className="publishDialogPreview-video-info-label">{t('preview.videoInfo.resolution' as any)}:</span>
+ <span className="publishDialogPreview-video-info-value">
+ {expandedPubItem.params.video?.width && expandedPubItem.params.video?.height
+ ? `${expandedPubItem.params.video.width}x${expandedPubItem.params.video.height}`
+ : 'Unknown'
+ }
+ </span>
+ </div>
+ <div className="publishDialogPreview-video-info-item">
+ <span className="publishDialogPreview-video-info-label">{t('preview.videoInfo.size' as any)}:</span>
+ <span className="publishDialogPreview-video-info-value">
+ {expandedPubItem.params.video?.size
+ ? formatFileSize(expandedPubItem.params.video.size)
+ : 'Unknown'
+ }
+ </span>
+ </div>
+ <div className="publishDialogPreview-video-info-item">
+ <span className="publishDialogPreview-video-info-label">{t('preview.videoInfo.duration' as any)}:</span>
+ <span className="publishDialogPreview-video-info-value">
+ {expandedPubItem.params.video?.duration
+ ? formatDuration(expandedPubItem.params.video.duration)
+ : 'Unknown'
+ }
+ </span>
+ </div>
+ </div>
</div>
</div>
) : (
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/hooks/usePubParamsVerify.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/hooks/usePubParamsVerify.tsx
index 25e81279..b04139b1 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/hooks/usePubParamsVerify.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/hooks/usePubParamsVerify.tsx
@@ -9,6 +9,8 @@ import { PubType } from "@/app/config/publishConfig";
export interface ErrPubParamsItem {
// 参数错误提示消息
parErrMsg?: string;
+ // 错误状态
+ errStatus?: boolean;
}
export type ErrPubParamsMapType = Map<string | number, ErrPubParamsItem>;
@@ -178,6 +180,18 @@ export default function usePubParamsVerify(data: PubItem[]) {
break;
}
}
+
+ // Pinterest 的强制校验
+ if (v.account.type === PlatType.Pinterest) {
+ // 强制需要标题
+ if (!v.params.title) {
+ return setErrorMsg(t("validation.titleRequired"));
+ }
+ // 强制需要 选择Board
+ if (!v.params.option.pinterest?.boardId) {
+ return setErrorMsg(t("validation.boardRequired"));
+ }
+ }
})();
}
return errParamsMapTemp;
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/index.tsx b/aitoearn_web/aitoearn-web/src/components/PublishDialog/index.tsx
index 672db229..9bf8ae57 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/index.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/index.tsx
@@ -321,9 +321,7 @@ const PublishDialog = memo(
});
}
}
- console.log(draft);
- console.log(nextParams);
if (step === 1 && expandedPubItem) {
setOnePubParams(nextParams, expandedPubItem.account.id);
} else {
@@ -400,8 +398,8 @@ const PublishDialog = memo(
accountType: item.account.type,
videoUrl: item.params.video?.ossUrl,
coverUrl:
- item.params.video?.cover.ossUrl || item.params.images![0].ossUrl!,
- imgUrlList: item.params.images?.map((v) => v.ossUrl!),
+ item.params.video?.cover.ossUrl || (item.params.images && item.params.images.length > 0 ? item.params.images[0].ossUrl : undefined),
+ imgUrlList: item.params.images?.map((v) => v.ossUrl).filter((url): url is string => url !== undefined) || [],
publishTime,
option: item.params.option,
});
@@ -548,9 +546,10 @@ const PublishDialog = memo(
}}
>
<AvatarPlat
- className="publishDialog-con-acconts-item-avatar"
+ className={`publishDialog-con-acconts-item-avatar ${!isChoosed ? 'disabled' : ''}`}
account={pubItem.account}
size="large"
+ disabled={!isChoosed}
/>
</div>
);
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.module.scss b/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.module.scss
index c8b9a617..b300aff1 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.module.scss
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.module.scss
@@ -59,6 +59,18 @@ $assistantWidth: 330px;
filter: grayscale(0);
}
}
+
+ // 未选中状态:保持置灰
+ &.disabled {
+ & > img {
+ filter: grayscale(100%);
+ }
+ &:hover {
+ img {
+ filter: grayscale(100%);
+ }
+ }
+ }
}
}
}
@@ -193,6 +205,37 @@ $assistantWidth: 330px;
border-radius: 0;
}
}
+ &-video-info {
+ background: rgba(0, 0, 0, 0.9);
+ color: white;
+ padding: 12px 16px;
+ border-radius: 0 0 30px 30px;
+ font-size: 12px;
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
+ &-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 4px;
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+ &-label {
+ font-weight: 600;
+ color: #e0e0e0;
+ min-width: 60px;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
+ }
+ &-value {
+ color: #ffffff;
+ font-weight: 500;
+ text-align: right;
+ flex: 1;
+ margin-left: 8px;
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
+ }
+ }
}
.publishDialogPreview-wrapper {
text-align: left;
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.type.ts b/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.type.ts
index 147933c8..1213c8a5 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.type.ts
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/publishDialog.type.ts
@@ -45,6 +45,10 @@ export interface IPlatOption {
// 如果copyright为转载,则此字段表示转载来源
source?: string;
};
+ wxGzh?: {
+ // 平台独立标题,仅用于微信公众号
+ title?: string;
+ };
facebook?: {
// 页面ID,由获取Facebook页面信息接口得到
page_id?: string;
@@ -63,6 +67,24 @@ export interface IPlatOption {
// 视频分类ID
categoryId?: string;
};
+ pinterest?: {
+ // Board ID,由获取Pinterest Board信息接口得到
+ boardId?: string;
+ };
+ tiktok?: {
+ // 隐私级别:PUBLIC_TO_EVERYONE、MUTUAL_FOLLOW_FRIENDS、SELF_ONLY
+ privacy_level?: string;
+ // 是否禁用评论
+ comment_disabled?: boolean;
+ // 是否禁用合拍
+ duet_disabled?: boolean;
+ // 是否禁用拼接
+ stitch_disabled?: boolean;
+ // 品牌有机内容开关
+ brand_organic_toggle?: boolean;
+ // 品牌内容开关
+ brand_content_toggle?: boolean;
+ };
}
// 发布参数
diff --git a/aitoearn_web/aitoearn-web/src/components/PublishDialog/usePublishDialogData.ts b/aitoearn_web/aitoearn-web/src/components/PublishDialog/usePublishDialogData.ts
index 177e4137..48fd1661 100644
--- a/aitoearn_web/aitoearn-web/src/components/PublishDialog/usePublishDialogData.ts
+++ b/aitoearn_web/aitoearn-web/src/components/PublishDialog/usePublishDialogData.ts
@@ -5,6 +5,7 @@ import { BiblPartItem, YouTubeCategoryItem } from "@/components/PublishDialog/pu
import { apiGetBilibiliPartitions } from "@/api/plat/bilibili";
import { apiGetFacebookPages, FacebookPageItem } from "@/api/plat/facebook";
import { apiGetYouTubeCategories, apiGetYouTubeRegions } from "@/api/plat/youtube";
+import { getPinterestBoardListApi } from "@/api/pinterest";
import { useAccountStore } from "@/store/account";
import { PlatType } from "@/app/config/platConfig";
@@ -17,6 +18,12 @@ export interface IPublishDialogDataStore {
youTubeCategories: YouTubeCategoryItem[];
// YouTube国区列表
youTubeRegions: string[];
+ // Pinterest Board列表
+ pinterestBoards: Array<{
+ id: string;
+ name: string;
+ description?: string;
+ }>;
}
const store: IPublishDialogDataStore = {
@@ -24,6 +31,7 @@ const store: IPublishDialogDataStore = {
facebookPages: [],
youTubeCategories: [],
youTubeRegions: [],
+ pinterestBoards: [],
};
const getStore = () => {
@@ -112,6 +120,24 @@ export const usePublishDialogData = create(
});
return res?.data;
},
+ // 获取Pinterest Board列表
+ async getPinterestBoards(forceRefresh = false) {
+ if (!forceRefresh && get().pinterestBoards.length !== 0) return;
+ const pinterestAccount = useAccountStore
+ .getState()
+ .accountList.find((v) => v.type === PlatType.Pinterest);
+
+ if (!pinterestAccount) {
+ console.warn('没有找到Pinterest账户');
+ return;
+ }
+
+ const res:any = await getPinterestBoardListApi({ page: 1, size: 100 }, pinterestAccount.account);
+ set({
+ pinterestBoards: res?.data?.list || [],
+ });
+ return res?.data?.list;
+ },
};
return methods;
diff --git a/aitoearn_web/aitoearn-web/src/components/SignInCalendar/SignInCalendar.module.scss b/aitoearn_web/aitoearn-web/src/components/SignInCalendar/SignInCalendar.module.scss
new file mode 100644
index 00000000..48b6fa65
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/components/SignInCalendar/SignInCalendar.module.scss
@@ -0,0 +1,260 @@
+.signInButton {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ transition: all 0.3s ease;
+
+ &:hover {
+ background-color: #f5f5f5;
+ transform: scale(1.05);
+ }
+
+ .anticon {
+ font-size: 18px;
+ color: #666;
+ }
+}
+
+.signInModal {
+ .ant-modal-header {
+ border-bottom: 1px solid #f0f0f0;
+ padding: 16px 24px;
+ }
+
+ .ant-modal-body {
+ padding: 28px;
+ }
+}
+
+.modalHeader {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 100%;
+ padding-top: 20px;
+
+ span {
+ font-size: 16px;
+ font-weight: 600;
+ color: #333;
+ }
+}
+
+.pointsLink {
+ color: #722ed1;
+ font-size: 14px;
+ padding: 0;
+ height: auto;
+
+ &:hover {
+ color: #9254de;
+ }
+}
+
+.calendarContainer {
+ padding-top: 0px;
+ .ant-picker-calendar {
+ border: none;
+
+ .ant-picker-calendar-header {
+ padding: 0;
+ margin-bottom: 16px;
+ }
+
+ .ant-picker-calendar-date {
+ border: none;
+ padding: 6px;
+ height: 40px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ &:hover {
+ background-color: #f5f5f5;
+ }
+ }
+
+ .ant-picker-calendar-date-today {
+ background-color: #e6f7ff;
+ border: 1px solid #1890ff;
+ }
+
+ .ant-picker-calendar-date-value {
+ font-size: 14px;
+ line-height: 1;
+ }
+
+ .ant-picker-calendar-date-content {
+ height: auto;
+ line-height: 1;
+ }
+ }
+}
+
+.calendarHeader {
+ text-align: center;
+ font-size: 18px;
+ font-weight: 600;
+ color: #333;
+ padding: 10px 0;
+}
+
+.calendarCell {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.dateContainer {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ height: 100%;
+ gap: 2px;
+}
+
+.signInStatus {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+}
+
+.signedCircle {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ background-color: #52c41a;
+ border: 1px solid #52c41a;
+}
+
+.emptyCircle {
+ width: 8px;
+ height: 8px;
+ border-radius: 50%;
+ border: 1px solid #d9d9d9;
+ background-color: transparent;
+}
+
+
+
+.dateText {
+ font-size: 12px;
+ color: #333;
+ line-height: 1;
+
+ &.today {
+ color: #1890ff;
+ font-weight: 600;
+ }
+}
+
+.signInRules {
+ margin: 24px 0;
+ padding: 20px;
+ background-color: #f8f9fa;
+ border-radius: 8px;
+
+ h4 {
+ margin: 0 0 12px 0;
+ font-size: 16px;
+ font-weight: 600;
+ color: #333;
+ }
+
+ ul {
+ margin: 0;
+ padding-left: 16px;
+
+ li {
+ margin-bottom: 8px;
+ font-size: 14px;
+ color: #666;
+ line-height: 1.4;
+
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
+ }
+}
+
+.signInInfo {
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 24px;
+ padding: 16px 20px;
+ background-color: #f0f8ff;
+ border-radius: 6px;
+
+ .infoItem {
+ font-size: 15px;
+ color: #1890ff;
+ font-weight: 500;
+ }
+}
+
+.signInActionButton {
+ height: 48px;
+ font-size: 16px;
+ font-weight: 600;
+ border-radius: 8px;
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
+ border: none;
+
+ &:hover {
+ background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
+ transform: translateY(-1px);
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
+ }
+
+ &:disabled {
+ background: #f5f5f5;
+ color: #999;
+ transform: none;
+ box-shadow: none;
+ }
+}
+
+// 响应式设计
+@media (max-width: 480px) {
+ .signInModal {
+ .ant-modal {
+ width: 90% !important;
+ max-width: 550px;
+ }
+ }
+
+ .calendarContainer {
+ .ant-picker-calendar-date {
+ height: 36px;
+ }
+
+ .dateText {
+ font-size: 13px;
+ }
+
+ .signedCircle,
+ .emptyCircle {
+ width: 6px;
+ height: 6px;
+ }
+ }
+
+ .signInInfo {
+ flex-direction: column;
+ gap: 8px;
+
+ .infoItem {
+ text-align: center;
+ }
+ }
+}
diff --git a/aitoearn_web/aitoearn-web/src/components/SignInCalendar/index.tsx b/aitoearn_web/aitoearn-web/src/components/SignInCalendar/index.tsx
new file mode 100644
index 00000000..976b2748
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/components/SignInCalendar/index.tsx
@@ -0,0 +1,228 @@
+"use client";
+
+import React, { useState, useEffect, useMemo } from 'react';
+import { Button, Modal, Calendar, Badge, message } from 'antd';
+import { CalendarOutlined, CheckOutlined } from '@ant-design/icons';
+import { useTransClient } from '@/app/i18n/client';
+import { signInApi, SignInType, SignInResponse, PublishDayInfoResponse, PublishInfoResponse } from '@/api/signIn';
+import { useUserStore } from '@/store/user';
+import { useRouter } from 'next/navigation';
+import styles from './SignInCalendar.module.scss';
+
+interface SignInCalendarProps {
+ className?: string;
+}
+
+interface CalendarData {
+ signedDates: string[]; // 已签到的日期数组,格式: "YYYY-MM-DD"
+ todaySigned: boolean; // 今天是否已签到
+ consecutiveDays: number; // 连续签到天数
+}
+
+const SignInCalendar: React.FC<SignInCalendarProps> = ({ className }) => {
+ const { t } = useTransClient('common');
+ const userStore = useUserStore();
+ const router = useRouter();
+ const [visible, setVisible] = useState(false);
+ const [loading, setLoading] = useState(false);
+ const [calendarData, setCalendarData] = useState<CalendarData>({
+ signedDates: [],
+ todaySigned: false,
+ consecutiveDays: 0
+ });
+ const [currentDate, setCurrentDate] = useState(new Date());
+
+ // 获取当前年月
+ const currentYear = currentDate.getFullYear();
+ const currentMonth = currentDate.getMonth() + 1;
+
+ // 获取日历数据
+ const fetchCalendarData = async () => {
+ try {
+ setLoading(true);
+
+ // 并行获取日历数据和连续签到天数
+ const [calendarResponse, consecutiveResponse] = await Promise.all([
+ signInApi.getSignInCalendar(currentYear, currentMonth),
+ signInApi.getConsecutiveDays()
+ ]);
+
+ // 处理日历数据,将 createdAt 转换为签到日期
+ const signedDates: string[] = [];
+ let todaySigned = false;
+ let consecutiveDays = 0;
+
+ if (calendarResponse.list && calendarResponse.list.length > 0) {
+ // 提取所有签到日期
+ calendarResponse.list.forEach(item => {
+ const date = new Date(item.createdAt);
+ const dateStr = date.toISOString().split('T')[0]; // 格式: YYYY-MM-DD
+ signedDates.push(dateStr);
+
+ // 检查今天是否已签到
+ const today = new Date().toISOString().split('T')[0];
+ if (dateStr === today) {
+ todaySigned = true;
+ }
+ });
+ }
+
+ // 从连续签到接口获取连续签到天数
+ if (consecutiveResponse && consecutiveResponse.data) {
+ consecutiveDays = consecutiveResponse.data.days || 0;
+ }
+
+ setCalendarData({
+ signedDates,
+ todaySigned,
+ consecutiveDays
+ });
+ } catch (error) {
+ console.error('获取签到日历数据失败:', error);
+ } finally {
+ setLoading(false);
+ }
+ };
+
+ // 签到
+ const handleSignIn = async () => {
+ // if (calendarData.todaySigned) {
+ // message.warning(t('signIn.alreadySignedIn'));
+ // return;
+ // }
+
+ // 关闭当前弹窗
+ setVisible(false);
+
+ // 跳转到 accounts 页面并传递参数表示需要打开发布弹窗
+ const currentPath = window.location.pathname;
+ if (currentPath === '/accounts' || currentPath.startsWith('/accounts/')) {
+ // 如果已经在 accounts 页面,触发打开发布弹窗的事件
+ window.dispatchEvent(new CustomEvent('openPublishDialog', {
+ detail: { fromSignIn: true }
+ }));
+ } else {
+ // 如果不在 accounts 页面,使用路由跳转并传递参数
+ router.push('/accounts?openPublish=true&fromSignIn=true');
+ }
+ };
+
+ // 日历日期渲染
+ const dateCellRender = (value: any) => {
+ const dateStr = value.format('YYYY-MM-DD');
+ const isSigned = calendarData.signedDates.includes(dateStr);
+ const isToday = value.isSame(new Date(), 'day');
+
+ return (
+ <div className={styles.calendarCell}>
+ <div className={styles.dateContainer}>
+ <span style={{ minHeight: '6px' }} className={`${styles.dateText} ${isToday ? styles.today : ''}`}>
+ {isToday ? t('signIn.today') : ''}
+ </span>
+ <div className={`${styles.signInStatus} ${isSigned ? styles.signed : styles.notSigned}`}>
+ {isSigned ? (
+ <div className={styles.signedCircle} />
+ ) : (
+ <div className={styles.emptyCircle} />
+ )}
+ </div>
+ </div>
+ </div>
+ );
+ };
+
+ // 月份变化处理
+ const onPanelChange = (value: any) => {
+ setCurrentDate(value.toDate());
+ };
+
+ // 监听月份变化,重新获取数据
+ useEffect(() => {
+ if (visible) {
+ fetchCalendarData();
+ }
+ }, [currentYear, currentMonth, visible]);
+
+ return (
+ <>
+ <Button
+ type="text"
+ icon={<CalendarOutlined />}
+ onClick={() => setVisible(true)}
+ className={`${styles.signInButton} ${className || ''}`}
+ title={t('signIn.title')}
+ />
+
+ <Modal
+ title={
+ <div className={styles.modalHeader}>
+ <span>{t('signIn.title')}</span>
+ <Button
+ type="link"
+ className={styles.pointsLink}
+ onClick={() => {
+ // 跳转到个人中心页面
+ window.open('/profile', '_blank');
+ }}
+ >
+ {t('signIn.myPoints')} &gt;
+ </Button>
+ </div>
+ }
+ open={visible}
+ onCancel={() => setVisible(false)}
+ footer={null}
+ width={600}
+ className={styles.signInModal}
+ >
+ <div className={styles.calendarContainer}>
+ <Calendar
+ fullscreen={false}
+ dateCellRender={dateCellRender}
+ onPanelChange={onPanelChange}
+ headerRender={({ value, onChange }) => {
+ const year = value.year();
+ const month = value.month() + 1;
+ return (
+ <div className={styles.calendarHeader}>
+ <span>{year} / {month.toString().padStart(2, '0')}</span>
+ </div>
+ );
+ }}
+ />
+
+ <div className={styles.signInRules}>
+ <h4>{t('signIn.rules')}:</h4>
+ <ul>
+ <li>{t('signIn.rules1')}</li>
+ <li>{t('signIn.rules2')}</li>
+ <li>{t('signIn.rules3')}</li>
+ </ul>
+ </div>
+
+ <div className={styles.signInInfo}>
+ <div className={styles.infoItem}>
+ <span>{t('signIn.consecutiveDays')}: {calendarData.consecutiveDays}</span>
+ </div>
+ <div className={styles.infoItem}>
+ <span>{t('signIn.totalPoints')}: {userStore.userInfo?.score || 0}</span>
+ </div>
+ </div>
+
+ <Button
+ type="primary"
+ size="large"
+ onClick={handleSignIn}
+ // disabled={calendarData.todaySigned}
+ className={styles.signInActionButton}
+ block
+ >
+ {calendarData.todaySigned ? t('signIn.signedIn') : t('signIn.signIn')}
+ </Button>
+ </div>
+ </Modal>
+ </>
+ );
+};
+
+export default SignInCalendar;
diff --git a/aitoearn_web/aitoearn-web/src/components/WalletAccountSelect/index.tsx b/aitoearn_web/aitoearn-web/src/components/WalletAccountSelect/index.tsx
new file mode 100644
index 00000000..d137927f
--- /dev/null
+++ b/aitoearn_web/aitoearn-web/src/components/WalletAccountSelect/index.tsx
@@ -0,0 +1,74 @@
+"use client";
+
+import { useEffect, useMemo, useState } from "react";
+import { Select, Spin, Empty } from "antd";
+import { getUserWalletAccountList, UserWalletAccount } from "@/api/userWalletAccount";
+
+type Props = {
+ value?: string;
+ onChange?: (val?: string) => void;
+ pageSize?: number;
+ disabled?: boolean;
+};
+
+const { Option } = Select;
+
+export default function WalletAccountSelect(props: Props) {
+ const { value, onChange, pageSize = 50, disabled } = props;
+ const [loading, setLoading] = useState(false);
+ const [list, setList] = useState<UserWalletAccount[]>([]);
+ const [pageNo, setPageNo] = useState(1);
+ const [total, setTotal] = useState(0);
+
+ const hasMore = useMemo(() => list.length < total, [list.length, total]);
+
+ useEffect(() => {
+ fetchPage(1);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
+
+ async function fetchPage(nextPage: number) {
+ setLoading(true);
+ try {
+ const res = await getUserWalletAccountList(nextPage, pageSize);
+ if (res?.data) {
+ const newList = nextPage === 1 ? (res.data.list || []) : [...list, ...(res.data.list || [])];
+ setList(newList);
+ setTotal(res.data.total || 0);
+ setPageNo(nextPage);
+ }
+ } finally {
+ setLoading(false);
+ }
+ }
+
+ function onPopupScroll(e: any) {
+ const target = e.target;
+ if (!loading && hasMore && target.scrollTop + target.offsetHeight + 24 >= target.scrollHeight) {
+ fetchPage(pageNo + 1);
+ }
+ }
+
+ return (
+ <Select
+ showSearch
+ placeholder="选择提现钱包账户"
+ optionFilterProp="children"
+ value={value}
+ onChange={onChange}
+ disabled={disabled}
+ style={{ width: "100%" }}
+ onPopupScroll={onPopupScroll}
+ notFoundContent={loading ? <Spin size="small" /> : <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description="暂无账户" />}
+ filterOption={(input, option) => (option?.children as unknown as string)?.toLowerCase().includes(input.toLowerCase())}
+ >
+ {list.map((item) => (
+ <Option key={item._id} value={item._id}>
+ {item.userName || item.mail} · {item.type} · {item.account}
+ </Option>
+ ))}
+ </Select>
+ );
+}
+
+
diff --git a/aitoearn_web/aitoearn-web/src/components/common/DownloadAppModal.tsx b/aitoearn_web/aitoearn-web/src/components/common/DownloadAppModal.tsx
index 1da4d79d..4c99cf64 100644
--- a/aitoearn_web/aitoearn-web/src/components/common/DownloadAppModal.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/common/DownloadAppModal.tsx
@@ -1,8 +1,10 @@
-import React from 'react';
-import { Modal, Button, Space, Typography } from 'antd';
-import { DownloadOutlined, QrcodeOutlined } from '@ant-design/icons';
+import React, { useState } from 'react';
+import { Modal, Button, Space, Typography, message } from 'antd';
+import { DownloadOutlined, QrcodeOutlined, CopyOutlined, CheckOutlined } from '@ant-design/icons';
import { useTransClient } from '@/app/i18n/client';
+import { MAIN_APP_DOWNLOAD_URL } from '@/app/config/appDownloadConfig';
import logo from '@/assets/images/logo.png';
+import { QRCode } from 'react-qrcode-logo';
const { Text, Paragraph } = Typography;
@@ -13,6 +15,7 @@ interface DownloadAppModalProps {
appName?: string; // app名称
downloadUrl?: string; // 下载链接
qrCodeUrl?: string; // 二维码图片URL
+ zIndex?: number; // 弹窗层级
}
/**
@@ -25,21 +28,26 @@ const DownloadAppModal: React.FC<DownloadAppModalProps> = ({
platform = "",
appName = "Aitoearn App",
downloadUrl,
- qrCodeUrl
+ qrCodeUrl = '',
+ zIndex = 1000
}) => {
const { t } = useTransClient("common");
+ const [copySuccess, setCopySuccess] = useState(false);
const handleDownload = () => {
- if (downloadUrl) {
- window.open(downloadUrl, '_blank');
- }
+ const linkToOpen = downloadUrl || MAIN_APP_DOWNLOAD_URL;
+ window.open(linkToOpen, '_blank');
};
- const handleCopyLink = () => {
- if (downloadUrl) {
- navigator.clipboard.writeText(downloadUrl).then(() => {
- // 可以添加复制成功的提示
- });
+ const handleCopyLink = async () => {
+ const linkToCopy = downloadUrl || MAIN_APP_DOWNLOAD_URL;
+ try {
+ await navigator.clipboard.writeText(linkToCopy);
+ setCopySuccess(true);
+ message.success(t('downloadApp.copySuccess' as any));
+ setTimeout(() => setCopySuccess(false), 2000);
+ } catch (error) {
+ message.error(t('downloadApp.copyFailed' as any));
}
};
@@ -48,104 +56,127 @@ const DownloadAppModal: React.FC<DownloadAppModalProps> = ({
title={
<Space>
<img src={logo.src} alt="Aitoearn" style={{ width: 20, height: 20, borderRadius: 4 }} />
- <span>下载{appName}</span>
+ <span>Download Aitoearn App</span>
</Space>
}
open={visible}
onCancel={onClose}
footer={[
<Button key="close" onClick={onClose}>
- 关闭
+ {t('downloadApp.close')}
</Button>,
- downloadUrl && (
- <Button
- key="download"
- type="primary"
- icon={<DownloadOutlined />}
- onClick={handleDownload}
- >
- 立即下载
- </Button>
- )
+ <Button
+ key="download"
+ type="primary"
+ icon={<DownloadOutlined />}
+ onClick={handleDownload}
+ >
+ {t('downloadApp.downloadNow' as any)}
+ </Button>
]}
- width={500}
+ width={520}
centered
- destroyOnClose
+ destroyOnHidden
+ zIndex={zIndex}
>
<div style={{ textAlign: 'center', padding: '20px 0' }}>
+ {/* App Logo */}
<div style={{ marginBottom: '24px' }}>
- <img src={logo.src} alt="Aitoearn" style={{ width: 56, height: 56, borderRadius: 12 }} />
+ <img src={logo.src} alt="Aitoearn" style={{ width: 64, height: 64, borderRadius: 16, boxShadow: '0 4px 12px rgba(0,0,0,0.1)' }} />
</div>
- <Typography.Title level={4} style={{ marginBottom: '16px' }}>
- 请在{appName}中操作添加
+ {/* 标题 */}
+ <Typography.Title level={4} style={{ marginBottom: '16px', color: '#1f2937' }}>
+ Aitoearn
</Typography.Title>
- <Paragraph style={{ color: '#666', marginBottom: '24px' }}>
- 为了更好的用户体验和功能完整性,该操作需要在 {appName} 中完成账号添加。
- 请下载并安装 {appName} 后继续操作。
+ {/* 描述 */}
+ <Paragraph style={{ color: '#6b7280', marginBottom: '32px', fontSize: '14px', lineHeight: '1.6' }}>
+ <span dangerouslySetInnerHTML={{ __html: t('downloadApp.operationDescription' as any, { platform }) }} />
</Paragraph>
- {qrCodeUrl && (
- <div style={{ marginBottom: '24px' }}>
- <div style={{ marginBottom: '8px' }}>
- <QrcodeOutlined style={{ marginRight: '4px' }} />
- <Text strong>扫描二维码下载</Text>
- </div>
+ {/* 二维码区域 */}
+ <div style={{
+ marginBottom: '32px',
+ padding: '20px',
+ backgroundColor: '#f9fafb',
+ borderRadius: '12px',
+ border: '1px solid #e5e7eb'
+ }}>
+ {qrCodeUrl ? (
<img
src={qrCodeUrl}
- alt="下载二维码"
+ alt="QR Code"
style={{
- width: '120px',
- height: '120px',
- border: '1px solid #e8e8e8',
- borderRadius: '8px'
+ width: 120,
+ height: 120,
+ borderRadius: '8px',
+ boxShadow: '0 2px 8px rgba(0,0,0,0.1)'
}}
/>
- </div>
- )}
+ ) : (
+ <QRCode
+ value={downloadUrl || MAIN_APP_DOWNLOAD_URL}
+ size={120}
+ logoImage={logo.src}
+ logoWidth={30}
+ logoHeight={30}
+ logoOpacity={0.8}
+ qrStyle="squares"
+ eyeRadius={0}
+ style={{ borderRadius: '8px' }}
+ />
+ )}
+ </div>
- {downloadUrl && (
- <div style={{ marginBottom: '16px' }}>
- <Space direction="vertical" size="small">
- <Text type="secondary">下载链接:</Text>
- <div style={{
- display: 'flex',
- alignItems: 'center',
- gap: '8px',
- justifyContent: 'center'
- }}>
- <Text
- code
- style={{
- maxWidth: '300px',
- overflow: 'hidden',
- textOverflow: 'ellipsis',
- whiteSpace: 'nowrap'
- }}
- >
- {downloadUrl}
- </Text>
- <Button
- size="small"
- onClick={handleCopyLink}
- type="text"
- >
- 复制
- </Button>
- </div>
- </Space>
+ {/* 下载链接区域 */}
+ <div style={{
+ marginBottom: '24px',
+ padding: '16px',
+ backgroundColor: '#f3f4f6',
+ borderRadius: '8px',
+ border: '1px solid #d1d5db'
+ }}>
+ <Text type="secondary" style={{ fontSize: '12px', display: 'block', marginBottom: '8px' }}>
+ {t('downloadApp.downloadLink')}
+ </Text>
+ <div style={{
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'space-between',
+ gap: '8px'
+ }}>
+ <Text
+ code
+ style={{
+ flex: 1,
+ fontSize: '11px',
+ wordBreak: 'break-all',
+ textAlign: 'left'
+ }}
+ >
+ {downloadUrl || MAIN_APP_DOWNLOAD_URL}
+ </Text>
+ <Button
+ size="small"
+ icon={copySuccess ? <CheckOutlined /> : <CopyOutlined />}
+ onClick={handleCopyLink}
+ type={copySuccess ? "primary" : "default"}
+ >
+ {copySuccess ? t('downloadApp.copied' as any) : t('downloadApp.copy' as any)}
+ </Button>
</div>
- )}
+ </div>
+ {/* 提示信息 */}
<div style={{
padding: '16px',
- backgroundColor: '#f6f8fa',
+ backgroundColor: '#eff6ff',
borderRadius: '8px',
- border: '1px solid #e1e4e8'
+ border: '1px solid #dbeafe'
}}>
- <Text type="secondary">
- 💡 提示:安装完成后,请在App中登录您的账号,然后重新尝试相关操作
+ <Text type="secondary" style={{ fontSize: '13px', color: '#1e40af' }}>
+ {t('downloadApp.tip')}
</Text>
</div>
</div>
@@ -153,5 +184,4 @@ const DownloadAppModal: React.FC<DownloadAppModalProps> = ({
);
};
-export default DownloadAppModal;
-
+export default DownloadAppModal;
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/hot-content/HotContent.css b/aitoearn_web/aitoearn-web/src/components/hot-content/HotContent.css
deleted file mode 100644
index b3efb3c3..00000000
--- a/aitoearn_web/aitoearn-web/src/components/hot-content/HotContent.css
+++ /dev/null
@@ -1,445 +0,0 @@
-.hot-content {
- flex: 1;
- padding: 20px;
- background: #fff;
- border-radius: 8px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
-}
-
-/* 榜单选择器样式 */
-.ranking-selector {
- margin-bottom: 20px;
-}
-
-.ranking-list {
- display: flex;
- gap: 12px;
- flex-wrap: wrap;
-}
-
-.ranking-button {
- padding: 8px 16px;
- border: 1px solid #e8e8e8;
- border-radius: 4px;
- background: #fff;
- cursor: pointer;
- transition: all 0.3s;
-}
-
-.ranking-button:hover {
- border-color: #1890ff;
- color: #1890ff;
-}
-
-.ranking-button.active {
- background: #1890ff;
- border-color: #1890ff;
- color: #fff;
-}
-
-/* 筛选区域样式 */
-.filter-section {
- margin-bottom: 24px;
-}
-
-.category-filter {
- margin-bottom: 16px;
-}
-
-.category-grid {
- display: flex;
- align-items: center;
- gap: 16px;
-}
-
-.category-list {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
-}
-
-.category-button {
- padding: 6px 12px;
- border: 1px solid #e8e8e8;
- border-radius: 4px;
- background: #fff;
- cursor: pointer;
- transition: all 0.3s;
-}
-
-.category-button:hover {
- border-color: #1890ff;
- color: #1890ff;
-}
-
-.category-button.active {
- background: #1890ff;
- border-color: #1890ff;
- color: #fff;
-}
-
-.expand-button {
- display: flex;
- align-items: center;
- gap: 4px;
- padding: 6px 12px;
- border: 1px solid #e8e8e8;
- border-radius: 4px;
- background: #fff;
- cursor: pointer;
- transition: all 0.3s;
-}
-
-.expand-button:hover {
- border-color: #1890ff;
- color: #1890ff;
-}
-
-.expand-icon {
- transition: transform 0.3s;
-}
-
-.expand-icon.expanded {
- transform: rotate(180deg);
-}
-
-/* 日期选择区域样式 */
-.date-section {
- display: flex;
- justify-content: space-between;
- align-items: center;
-}
-
-.date-picker-wrapper {
- display: flex;
- align-items: center;
- gap: 16px;
-}
-
-.date-picker {
- width: 200px;
-}
-
-.sub-ranking-list {
- display: flex;
- gap: 8px;
-}
-
-.sub-ranking-button {
- padding: 6px 12px;
- border: 1px solid #e8e8e8;
- border-radius: 4px;
- background: #fff;
- cursor: pointer;
- transition: all 0.3s;
-}
-
-.sub-ranking-button:hover {
- border-color: #1890ff;
- color: #1890ff;
-}
-
-.sub-ranking-button.active {
- background: #1890ff;
- border-color: #1890ff;
- color: #fff;
-}
-
-.data-info-trigger {
- display: flex;
- align-items: center;
- gap: 4px;
- color: #1890ff;
- cursor: pointer;
-}
-
-/* 内容列表样式 */
-.content-list {
- background: #fff;
- border-radius: 8px;
-}
-
-.list-header {
- display: flex;
- justify-content: space-between;
- padding: 16px;
- background: #fafafa;
- border-bottom: 1px solid #f0f0f0;
-}
-
-.header-left {
- display: flex;
- gap: 16px;
- flex: 1;
-}
-
-.header-right {
- display: flex;
- gap: 16px;
- min-width: 500px;
- align-items: center;
-}
-
-.rank-column {
- width: 60px;
- text-align: center;
-}
-
-.info-column {
- flex: 1;
-}
-
-.category-column {
- width: 120px;
- color: #666;
- font-size: 14px;
- padding-left: 16px;
-}
-
-.stats-columns {
- display: flex;
- gap: 16px;
- min-width: 400px;
-}
-
-.stat-column {
- width: 80px;
- text-align: center;
- color: #666;
- font-size: 14px;
-}
-
-.content-item {
- display: flex;
- padding: 16px;
- border-bottom: 1px solid #f0f0f0;
- cursor: pointer;
- transition: background-color 0.3s;
-}
-
-.content-item:hover {
- background-color: #fafafa;
-}
-
-.rank {
- width: 60px;
- text-align: center;
- font-weight: bold;
- color: #1890ff;
-}
-
-.content-info {
- display: flex;
- gap: 16px;
- flex: 1;
- margin-left: 16px;
-}
-
-.thumbnail {
- width: 120px;
- height: 120px;
- border-radius: 4px;
- overflow: hidden;
- flex-shrink: 0;
-}
-
-.cover-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
-}
-
-.no-image {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- background: #f5f5f5;
- color: #999;
-}
-
-.info {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
-}
-
-.title {
- margin: 0 0 8px 0;
- font-size: 16px;
- font-weight: 500;
- color: #333;
- text-align: left;
-}
-
-.title:hover {
- color: #1890ff;
-}
-
-.author-info {
- display: flex;
- align-items: center;
- gap: 8px;
- color: #666;
-}
-
-.avatar {
- width: 20px;
- height: 20px;
- border-radius: 50%;
-}
-
-.author-name {
- color: #1890ff;
- font-size: 14px;
-}
-
-.fans-count {
- color: #999;
- font-size: 12px;
-}
-
-.publish-time {
- color: #999;
- font-size: 12px;
-}
-
-.content-stats {
- display: flex;
- align-items: center;
- min-width: 500px;
-}
-
-.category {
- width: 128px;
- color: #666;
- font-size: 14px;
- text-align: left;
-}
-
-.stats {
- display: flex;
- gap: 48px;
- flex: 1;
- justify-content: flex-end;
-}
-
-.stat {
- width: 96px;
- text-align: center;
-}
-
-.stat-total {
- color: #a66ae4;
- font-size: 14px;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.stat-add {
- color: #a66ae4;
- font-size: 12px;
- border: 1px solid #a66ae4;
- border-radius: 15px;
- padding: 2px;
- margin-top: 6px;
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.stat-add .arrow {
- color: #ff4d4f;
- margin-right: 4px;
- font-weight: bold;
-}
-
-/* 加载状态样式 */
-.loading {
- padding: 40px;
- text-align: center;
- color: #999;
-}
-
-/* 无数据状态样式 */
-.no-data {
- padding: 40px;
- text-align: center;
- color: #999;
-}
-
-/* 分页样式 */
-.pagination-wrapper {
- margin-top: 24px;
- display: flex;
- justify-content: center;
-}
-
-/* 数据说明弹窗样式 */
-.data-info {
- padding: 8px;
-}
-
-.info-item {
- margin-bottom: 8px;
-}
-
-.info-label {
- color: #666;
- margin-right: 8px;
-}
-
-.data-info-popover .ant-popover-inner-content {
- padding: 12px;
-}
-
-.data-statistics {
- background: #fff;
- border-radius: 8px;
- padding: 20px;
- margin-bottom: 20px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
-}
-
-.statistics-section {
- margin-bottom: 20px;
-}
-
-.statistics-section:last-child {
- margin-bottom: 0;
-}
-
-.statistics-section h3 {
- font-size: 16px;
- color: #333;
- margin-bottom: 16px;
- font-weight: 500;
-}
-
-.statistics-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
- gap: 16px;
-}
-
-.stat-item {
- background: #f8f9fa;
- padding: 12px;
- border-radius: 6px;
- text-align: center;
-}
-
-.stat-label {
- font-size: 14px;
- color: #666;
- margin-bottom: 8px;
-}
-
-.stat-value {
- font-size: 18px;
- color: #333;
- font-weight: 500;
-}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/hot-content/HotContent.tsx b/aitoearn_web/aitoearn-web/src/components/hot-content/HotContent.tsx
deleted file mode 100644
index 5ca4b938..00000000
--- a/aitoearn_web/aitoearn-web/src/components/hot-content/HotContent.tsx
+++ /dev/null
@@ -1,493 +0,0 @@
-import React from 'react';
-import { Pagination, DatePicker, Popover } from 'antd';
-import { InfoCircleOutlined } from '@ant-design/icons';
-import dayjs from 'dayjs';
-import locale from 'antd/es/date-picker/locale/zh_CN';
-import { PlatformRanking, RankingContent } from '@/api/hot';
-import './HotContent.css';
-
-interface HotContentProps {
- rankingList: PlatformRanking[];
- selectedRanking: PlatformRanking | null;
- rankingContents: RankingContent[];
- rankingLoading: boolean;
- pagination: any;
- categories: string[];
- selectedCategory: string;
- isExpanded: boolean;
- selectedDate: string;
- rankingMinDate: string;
- rankingMaxDate: string;
- onRankingSelect: (ranking: PlatformRanking) => void;
- onCategorySelect: (category: string) => void;
- onDateChange: (date: dayjs.Dayjs | null) => void;
- onPageChange: (page: number) => void;
- onContentClick: (url: string, title: string) => void;
- onExpandToggle: () => void;
- getImageUrl: (path: string) => string;
- formatNumber: (num: number | null) => string;
- anaAdd?: {
- addCollectedCunt: number;
- addCommentCount: number;
- addLikeCount: number;
- addShareCount: number;
- addViewCount: number | null;
- addInteractiveCount: number | null;
- addCollectCount: number | null;
- collectedCount: number;
- interactiveCount: number;
- pred_readnum: number;
- useCollectCount: number;
- useCommentCount: number;
- useLikeCount: number;
- useShareCount: number;
- useViewCount: number | null;
- };
-}
-
-const DataInfoContent: React.FC<{ ranking: PlatformRanking }> = ({ ranking }) => (
- <div className="data-info">
- <div className="info-item">
- <span className="info-label">更新时间:</span>
- {ranking.updateFrequency}
- </div>
- <div className="info-item">
- <span className="info-label">统计数据截止:</span>
- {new Date(ranking.updateTime).toLocaleString('zh-CN', {
- year: 'numeric',
- month: '2-digit',
- day: '2-digit',
- hour: '2-digit',
- minute: '2-digit',
- })}
- </div>
- <div className="info-item">
- <span className="info-label">时间查看:</span>
- 按日
- </div>
- <div className="info-item">
- <span className="info-label">排序规则:</span>
- 统计当日点赞量前500名的作品推荐
- </div>
- </div>
-);
-
-const HotContent: React.FC<HotContentProps> = ({
- rankingList,
- selectedRanking,
- rankingContents,
- rankingLoading,
- pagination,
- categories,
- selectedCategory,
- isExpanded,
- selectedDate,
- rankingMinDate,
- rankingMaxDate,
- onRankingSelect,
- onCategorySelect,
- onDateChange,
- onPageChange,
- onContentClick,
- onExpandToggle,
- getImageUrl,
- formatNumber,
-}) => {
- return (
- <div className="hot-content">
-
- {/* 榜单选择 */}
- {rankingList.length > 1 && (
- <div className="ranking-selector">
- <div className="ranking-list">
- {rankingList
- .filter((ranking) => !ranking.parentId)
- .map((ranking) => (
- <button
- key={ranking.id}
- className={`ranking-button ${
- selectedRanking?.id === ranking.id ? 'active' : ''
- }`}
- onClick={() => onRankingSelect(ranking)}
- >
- {ranking.name}
- </button>
- ))}
- </div>
- </div>
- )}
-
- {/* 筛选区域 */}
- <div className="filter-section">
- {/* 分类筛选 */}
- <div className="category-filter">
- <div className="category-grid">
- <div className="category-list">
- {categories.map((category) => (
- <button
- key={category}
- className={`category-button ${
- selectedCategory === category ? 'active' : ''
- }`}
- onClick={() => onCategorySelect(category)}
- >
- {category}
- </button>
- ))}
- </div>
- {categories.length > 8 && (
- <button
- className="expand-button"
- onClick={onExpandToggle}
- >
- <span>{isExpanded ? '收起' : '展开'}</span>
- <InfoCircleOutlined
- className={`expand-icon ${isExpanded ? 'expanded' : ''}`}
- />
- </button>
- )}
- </div>
- </div>
-
- {/* 日期选择和子榜单选择 */}
- <div className="date-section">
- <div className="date-picker-wrapper">
- <DatePicker
- value={dayjs(selectedDate)}
- onChange={onDateChange}
- locale={locale}
- allowClear={false}
- className="date-picker"
- placeholder="选择日期"
- disabledDate={(current) => {
- return (
- current < dayjs(rankingMinDate) ||
- current > dayjs(rankingMaxDate)
- );
- }}
- />
-
- {/* 子榜单选择 */}
- {selectedRanking &&
- rankingList.filter(
- (ranking) =>
- ranking.parentId ===
- (selectedRanking.parentId || selectedRanking.id),
- ).length > 0 && (
- <div className="sub-ranking-list">
- {rankingList
- .filter(
- (ranking) =>
- ranking.parentId ===
- (selectedRanking.parentId || selectedRanking.id),
- )
- .map((ranking) => (
- <button
- key={ranking.id}
- className={`sub-ranking-button ${
- selectedRanking?.id === ranking.id ? 'active' : ''
- }`}
- onClick={() => onRankingSelect(ranking)}
- >
- {ranking.name}
- </button>
- ))}
- </div>
- )}
- </div>
-
- {selectedRanking && (
- <Popover
- content={<DataInfoContent ranking={selectedRanking} />}
- title="数据说明"
- trigger="hover"
- placement="bottomRight"
- overlayClassName="data-info-popover"
- >
- <div className="data-info-trigger">
- <InfoCircleOutlined />
- <span>数据说明</span>
- </div>
- </Popover>
- )}
- </div>
- </div>
-
- {/* 内容列表 */}
- <div className="content-list">
- {rankingLoading ? (
- <div className="loading">加载榜单数据中...</div>
- ) : rankingContents.length > 0 ? (
- <>
- {/* 表头 */}
- <div className="list-header">
- <div className="header-left">
- <div className="rank-column">排名</div>
- <div className="info-column">笔记信息</div>
- </div>
- <div className="header-right">
- <div className="category-column">作品分类</div>
- <div className="stats-columns">
- {/* 快手增量榜单 */}
- {selectedRanking?.name.includes('增量') && selectedRanking?.platform?.id === 'ks' && (
- <>
- <div className="stat-column">互动增量</div>
- <div className="stat-column">新增播放</div>
- <div className="stat-column">新增分享</div>
- <div className="stat-column">新增评论</div>
- </>
- )}
-
- {/* 其他平台增量榜单 */}
- {selectedRanking?.name.includes('增量') && selectedRanking?.platform?.id !== 'ks' && (
- <>
- <div className="stat-column">互动增量</div>
- <div className="stat-column">新增收藏</div>
- <div className="stat-column">新增分享</div>
- <div className="stat-column">新增评论</div>
- </>
- )}
-
- {/* 阅读榜和低粉爆文榜 */}
- {(selectedRanking?.name.includes('阅读榜') || selectedRanking?.name.includes('低粉爆文榜')) && (
- <>
- <div className="stat-column">在看数</div>
- <div className="stat-column">阅读数</div>
- <div className="stat-column">点赞数</div>
- <div className="stat-column">转发数</div>
- </>
- )}
-
- {/* 默认榜单 */}
- {!selectedRanking?.name.includes('增量') &&
- !selectedRanking?.name.includes('阅读榜') &&
- !selectedRanking?.name.includes('低粉爆文榜') && (
- <>
- <div className="stat-column">点赞</div>
- <div className="stat-column">评论</div>
- <div className="stat-column">分享</div>
- <div className="stat-column">收藏</div>
- </>
- )}
- </div>
- </div>
- </div>
-
- {/* 内容项 */}
- {rankingContents.map((item) => (
- <div
- key={item.id}
- className="content-item"
- onClick={() => onContentClick(item.url, item.title)}
- >
- <div className="rank">{item.rankingPosition}</div>
- <div className="content-info">
- <div className="thumbnail">
- {item.cover ? (
- <img
- src={getImageUrl(item.cover)}
- alt={item.title}
- className="cover-image"
- />
- ) : (
- <div className="no-image">暂无图片</div>
- )}
- </div>
- <div className="info">
- <h3 className="title">{item.title}</h3>
- <div className="author-info">
- {item.author && (
- <>
- <img
- src={getImageUrl(item.author.avatar)}
- alt={item.author.name}
- className="avatar"
- />
- <span className="author-name">
- {item.author.name}
- </span>
- {item.author.fansCount && (
- <span className="fans-count">
- 粉丝数 {item.author.fansCount.toLocaleString()}
- </span>
- )}
- <span className="publish-time">
- 发布于{' '}
- {dayjs(item.publishTime).format('YYYY-MM-DD HH:mm')}
- </span>
- </>
- )}
- </div>
- </div>
- </div>
- <div className="content-stats">
- <div className="category">{item.category}</div>
- <div className="stats">
- {/* 快手增量榜单 */}
- {selectedRanking?.name.includes('增量') && selectedRanking?.platform?.id === 'ks' && (
- <>
- <div className="stat">
- <div className="stat-total">
- {item.anaAdd?.addInteractiveCount ? (
- <>
- <span className="arrow">↑</span>
- {formatNumber(item.anaAdd.addInteractiveCount)}
- </>
- ) : '-'}
- </div>
- <div className="stat-add">
- {item.anaAdd?.interactiveCount ? (
- <>
- <span className="arrow">↑</span>
- 总{formatNumber(item.anaAdd.interactiveCount)}
- </>
- ) : '-'}
- </div>
- </div>
- <div className="stat">
- <div className="stat-total">
- <span className="arrow">↑</span>
- {item.anaAdd?.addViewCount ? formatNumber(item.anaAdd.addViewCount) : '-'}
- </div>
- <div className="stat-add">
- 总{item.anaAdd?.useViewCount ? formatNumber(item.anaAdd.useViewCount) : '-'}
- </div>
- </div>
- <div className="stat">
- <div className="stat-total">
- <span className="arrow">↑</span>
- {item.anaAdd?.addShareCount ? formatNumber(item.anaAdd.addShareCount) : '-'}
- </div>
- <div className="stat-add">
- 总{item.anaAdd?.useShareCount ? formatNumber(item.anaAdd.useShareCount) : '-'}
- </div>
- </div>
- <div className="stat">
- <div className="stat-total">
- <span className="arrow">↑</span>
- {item.anaAdd?.addCommentCount ? formatNumber(item.anaAdd.addCommentCount) : '-'}
- </div>
- <div className="stat-add">
- 总{item.anaAdd?.useCommentCount ? formatNumber(item.anaAdd.useCommentCount) : '-'}
- </div>
- </div>
- </>
- )}
-
- {/* 其他平台增量榜单 */}
- {selectedRanking?.name.includes('增量') && selectedRanking?.platform?.id !== 'ks' && (
- <>
- <div className="stat">
- <div className="stat-total">
- {item.anaAdd?.addInteractiveCount ? (
- <>
- <span className="arrow">↑</span>
- {formatNumber(item.anaAdd.addInteractiveCount)}
- </>
- ) : '-'}
- </div>
- <div className="stat-add">
- {item.anaAdd?.interactiveCount ? (
- <>
- <span className="arrow">↑</span>
- 总{formatNumber(item.anaAdd.interactiveCount)}
- </>
- ) : '-'}
- </div>
- </div>
- <div className="stat">
- <div className="stat-total">
- <span className="arrow">↑</span>
- {item.anaAdd?.addCollectedCunt ? formatNumber(item.anaAdd.addCollectedCunt) : '-'}
- </div>
- <div className="stat-add">
- 总{item.anaAdd?.collectedCount ? formatNumber(item.anaAdd.collectedCount) : '-'}
- </div>
- </div>
- <div className="stat">
- <div className="stat-total">
- <span className="arrow">↑</span>
- {item.anaAdd?.addShareCount ? formatNumber(item.anaAdd.addShareCount) : '-'}
- </div>
- <div className="stat-add">
- 总{item.anaAdd?.useShareCount ? formatNumber(item.anaAdd.useShareCount) : '-'}
- </div>
- </div>
- <div className="stat">
- <div className="stat-total">
- <span className="arrow">↑</span>
- {item.anaAdd?.addCommentCount ? formatNumber(item.anaAdd.addCommentCount) : '-'}
- </div>
- <div className="stat-add">
- 总{item.anaAdd?.useCommentCount ? formatNumber(item.anaAdd.useCommentCount) : '-'}
- </div>
- </div>
- </>
- )}
-
- {/* 阅读榜和低粉爆文榜 */}
- {(selectedRanking?.name.includes('阅读榜') || selectedRanking?.name.includes('低粉爆文榜')) && (
- <>
- <div className="stat">
- <div className="stat-total">{item.stats.watchCount || '-'}</div>
- </div>
- <div className="stat">
- <div className="stat-total">{item.stats.viewCount || '-'}</div>
- </div>
- <div className="stat">
- <div className="stat-total">{item.stats.likeCount || '-'}</div>
- </div>
- <div className="stat">
- <div className="stat-total">{(item as any).shareCount || '-'}</div>
- </div>
- </>
- )}
-
- {/* 默认榜单 */}
- {!selectedRanking?.name.includes('增量') &&
- !selectedRanking?.name.includes('阅读榜') &&
- !selectedRanking?.name.includes('低粉爆文榜') && (
- <>
- <div className="stat">
- <div className="stat-total">{item.stats.likeCount || '-'}</div>
- </div>
- <div className="stat">
- <div className="stat-total">{item.stats.commentCount || '-'}</div>
- </div>
- <div className="stat">
- <div className="stat-total">{(item as any).shareCount || '-'}</div>
- </div>
- <div className="stat">
- <div className="stat-total">{(item as any).collectCount || '-'}</div>
- </div>
- </>
- )}
- </div>
- </div>
- </div>
- ))}
-
- {/* 分页 */}
- {pagination && pagination.totalPages > 1 && (
- <div className="pagination-wrapper">
- <Pagination
- current={pagination.currentPage}
- total={pagination.totalItems}
- pageSize={pagination.itemsPerPage}
- showSizeChanger={false}
- showQuickJumper
- showTotal={(total) => `共 ${total} 条`}
- onChange={onPageChange}
- />
- </div>
- )}
- </>
- ) : (
- <div className="no-data">暂无榜单数据</div>
- )}
- </div>
- </div>
- );
-};
-
-export default HotContent;
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/hot-content/SideMenu.css b/aitoearn_web/aitoearn-web/src/components/hot-content/SideMenu.css
deleted file mode 100644
index 781373a1..00000000
--- a/aitoearn_web/aitoearn-web/src/components/hot-content/SideMenu.css
+++ /dev/null
@@ -1,70 +0,0 @@
-.side-menu {
- width: 192px;
- padding: 16px;
- background-color: #fff;
- border-right: 1px solid #f0f0f0;
- flex-shrink: 0;
-}
-
-.menu-section {
- margin-bottom: 24px;
-}
-
-.menu-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-weight: 500;
- color: #333;
- margin-bottom: 12px;
- cursor: pointer;
- padding: 4px 0;
-}
-
-.menu-header:hover {
- color: #a66ae4;
-}
-
-.menu-title {
- font-size: 16px;
- font-weight: bold;
-}
-
-.menu-list {
- list-style: none;
- padding: 0;
- margin: 0;
-}
-
-.menu-item {
- display: flex;
- align-items: center;
- padding: 8px;
- border-radius: 4px;
- cursor: pointer;
- transition: all 0.2s;
- margin-bottom: 4px;
-}
-
-.menu-item:hover {
- background-color: #f5f5f5;
-}
-
-.menu-item.active {
- background-color: #f4ebff;
- color: #a66ae4;
-}
-
-.platform-icon {
- width: 20px;
- height: 20px;
- margin-right: 8px;
-}
-
-.loading {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 16px 0;
- color: #999;
-}
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/hot-content/SideMenu.tsx b/aitoearn_web/aitoearn-web/src/components/hot-content/SideMenu.tsx
deleted file mode 100644
index c8899cc9..00000000
--- a/aitoearn_web/aitoearn-web/src/components/hot-content/SideMenu.tsx
+++ /dev/null
@@ -1,191 +0,0 @@
-import React from 'react';
-import { DownOutlined, RightOutlined } from '@ant-design/icons';
-import { Platform } from '@/api/hot';
-import './SideMenu.css';
-import { useTransClient } from '@/app/i18n/client';
-
-const config = {
- imageCDN: 'https://yika-bj.oss-cn-beijing.aliyuncs.com/',
- apiBaseURL: 'https://ttgufwxxqyow.sealosbja.site/api',
-};
-
-// 处理图片地址
-const getImageUrl = (path: string) => {
- if (!path) return '';
- if (path.startsWith('http')) return path;
- return `${config.imageCDN}${path}`;
-};
-
-
-interface SideMenuProps {
- platforms: Platform[];
- selectedPlatform: Platform | null;
- loading: boolean;
- contentExpanded: boolean;
- topicExpanded: boolean;
- hotEventExpanded: boolean;
- viralTitleExpanded: boolean;
- talkExpanded: boolean;
- hotPlatformExpanded: boolean;
- viralTitleLoading: boolean;
- viralTitlePlatforms: Platform[];
- selectedViralPlatform: Platform | null;
- msgTypeList: string[];
- selectedMsgType: string;
- onPlatformSelect: (platform: Platform) => void;
- onContentExpand: () => void;
- onTopicExpand: () => void;
- onHotEventExpand: () => void;
- onViralTitleExpand: () => void;
- onTalkExpand: () => void;
- onHotPlatformExpand: () => void;
- onViralPlatformSelect: (platform: Platform, timeType: string) => void;
- onMsgTypeClick: (type: string) => void;
- // getImageUrl: (path: string) => string;
- onHotContentClick: () => void;
- onViralTitleCategorySelect: (category: string) => void;
-}
-
-const SideMenu: React.FC<SideMenuProps> = ({
- platforms,
- selectedPlatform,
- loading,
- contentExpanded,
- topicExpanded,
- hotEventExpanded,
- viralTitleExpanded,
- talkExpanded,
- hotPlatformExpanded,
- viralTitleLoading,
- viralTitlePlatforms,
- selectedViralPlatform,
- msgTypeList,
- selectedMsgType,
- onPlatformSelect,
- onContentExpand,
- onTopicExpand,
- onHotEventExpand,
- onViralTitleExpand,
- onTalkExpand,
- onHotPlatformExpand,
- onViralPlatformSelect,
- onMsgTypeClick,
- // getImageUrl,
- onHotContentClick,
- onViralTitleCategorySelect,
-}) => {
- const { t } = useTransClient('hot-content');
-
- return (
- <div className="side-menu">
- {/* 热门内容 */}
- <div className="menu-section">
- <div className="menu-header" onClick={() => { onContentExpand(); onHotContentClick(); }}>
- <span className="menu-title">{t('hotContent')}</span>
- {contentExpanded ? <DownOutlined /> : <RightOutlined />}
- </div>
- {contentExpanded && (
- <ul className="menu-list">
- {loading ? (
- <div className="loading">{t('loading')}</div>
- ) : (
- platforms.map((platform) => (
- <li
- key={platform.id}
- className={`menu-item ${
- selectedPlatform?.id === platform.id ? 'active' : ''
- }`}
- onClick={() => onPlatformSelect(platform)}
- >
- <img
- src={getImageUrl(platform.icon)}
- alt={platform.name}
- className="platform-icon"
- />
- <span>{platform.name}</span>
- </li>
- ))
- )}
- </ul>
- )}
- </div>
-
- {/* 热点事件 */}
- <div className="menu-section">
- <div className="menu-header" onClick={onHotEventExpand}>
- <span className="menu-title">{t('hotEvents')}</span>
- {hotEventExpanded ? <DownOutlined /> : <RightOutlined />}
- </div>
- {hotEventExpanded && (
- <ul className="menu-list">
- <li
- className={`menu-item ${hotPlatformExpanded ? 'active' : ''}`}
- onClick={onHotPlatformExpand}
- >
- <span>{t('hotTopics')}</span>
- </li>
- </ul>
- )}
- </div>
-
- {/* 热门专题 */}
- <div className="menu-section">
- <div className="menu-header" onClick={onTopicExpand}>
- <span className="menu-title">{t('topics')}</span>
- {topicExpanded ? <DownOutlined /> : <RightOutlined />}
- </div>
- {topicExpanded && (
- <ul className="menu-list">
- {loading ? (
- <div className="loading">{t('loading')}</div>
- ) : (
- msgTypeList.map((type) => (
- <li
- key={type}
- className={`menu-item ${selectedMsgType === type ? 'active' : ''}`}
- onClick={() => onMsgTypeClick(type)}
- >
- <span>{type}</span>
- </li>
- ))
- )}
- </ul>
- )}
- </div>
-
- {/* 爆款标题 */}
- <div className="menu-section">
- <div className="menu-header" onClick={onViralTitleExpand}>
- <span className="menu-title">{t('viralTitles')}</span>
- {viralTitleExpanded ? <DownOutlined /> : <RightOutlined />}
- </div>
- {viralTitleExpanded && (
- <ul className="menu-list">
- {viralTitleLoading ? (
- <div className="loading">{t('loading')}</div>
- ) : (
- viralTitlePlatforms.map((platform) => (
- <li
- key={platform.id}
- className={`menu-item ${
- selectedViralPlatform?.id === platform.id ? 'active' : ''
- }`}
- onClick={() => onViralPlatformSelect(platform, '')}
- >
- <img
- src={getImageUrl(platform.icon)}
- alt={platform.name}
- className="platform-icon"
- />
- <span>{platform.name}</span>
- </li>
- ))
- )}
- </ul>
- )}
- </div>
- </div>
- );
-};
-
-export default SideMenu;
\ No newline at end of file
diff --git a/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.module.scss b/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.module.scss
index 586fff7d..bb8bd437 100644
--- a/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.module.scss
+++ b/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.module.scss
@@ -1,5 +1,6 @@
.notificationItem {
padding: 16px;
+ padding-left: 10px !important;
border-bottom: 1px solid #f0f0f0;
cursor: pointer;
transition: all 0.3s ease;
@@ -16,7 +17,7 @@
&.unread {
background: linear-gradient(135deg, #f6ffed 0%, #e6f7ff 100%);
position: relative;
- padding-left: 10px !important;
+
}
}
@@ -55,7 +56,7 @@
line-height: 1.6;
margin-bottom: 12px;
font-size: 14px;
- background: #fafafa;
+ background: #fff;
padding: 12px;
border-radius: 6px;
border-left: 3px solid #d9d9d9;
diff --git a/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.tsx b/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.tsx
index d552b1f7..e656f797 100644
--- a/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.tsx
+++ b/aitoearn_web/aitoearn-web/src/components/notification/NotificationPanel.tsx
@@ -1,7 +1,7 @@
"use client";
import React, { useState, useEffect } from "react";
-import { Badge, Button, List, Modal, message, Spin, Empty, Popconfirm, Tooltip, Tag } from "antd";
+import { Badge, Button, List, Modal, message, Spin, Empty, Popconfirm, Tooltip, Tag, Steps } from "antd";
import { CheckOutlined, DeleteOutlined, EyeOutlined, ClockCircleOutlined } from "@ant-design/icons";
import { useTransClient } from "@/app/i18n/client";
import { useUserStore } from "@/store/user";
@@ -14,14 +14,23 @@ import {
deleteNotifications,
getTaskDetail,
acceptTask,
+ submitTask,
type NotificationItem,
type TaskItem
} from "@/api/notification";
+import { getAccountListApi } from "@/api/account";
+import { SocialAccount } from "@/api/types/account.type";
+import { apiCreatePublish } from "@/api/plat/publish";
import { getOssUrl } from "@/utils/oss";
import { PubType } from "@/app/config/publishConfig";
import { getAppDownloadConfig, getTasksRequiringApp } from "@/app/config/appDownloadConfig";
import DownloadAppModal from "@/components/common/DownloadAppModal";
import styles from "./NotificationPanel.module.scss";
+import { useParams, useRouter } from "next/navigation";
+import { getDays, getUtcDays } from "@/app/[lng]/accounts/components/CalendarTiming/calendarTiming.utils";
+
+// 平台配置(图标等)
+import { AccountPlatInfoMap, PlatType } from "@/app/config/platConfig";
interface NotificationPanelProps {
visible: boolean;
@@ -29,15 +38,23 @@ interface NotificationPanelProps {
}
const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose }) => {
- const { t } = useTransClient("common");
+ const { t } = useTransClient("notification" as any);
const token = useUserStore((state) => state.token);
+ const router = useRouter();
+ const { lng } = useParams();
const [notifications, setNotifications] = useState<NotificationItem[]>([]);
const [loading, setLoading] = useState(false);
const [unreadCount, setUnreadCount] = useState(0);
+ const [notificationPagination, setNotificationPagination] = useState({
+ current: 1,
+ pageSize: 10,
+ total: 0
+ });
const [selectedNotification, setSelectedNotification] = useState<NotificationItem | null>(null);
const [selectedTask, setSelectedTask] = useState<TaskItem | null>(null);
const [detailModalVisible, setDetailModalVisible] = useState(false);
const [taskLoading, setTaskLoading] = useState(false);
+ const [accountList, setAccountList] = useState<SocialAccount[]>([]);
// 下载App弹窗状态
const [downloadAppVisible, setDownloadAppVisible] = useState(false);
@@ -48,8 +65,35 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
qrCodeUrl: "" as string | undefined
});
+ // 媒体预览弹窗状态
+ const [mediaPreviewVisible, setMediaPreviewVisible] = useState(false);
+ const [previewMedia, setPreviewMedia] = useState<{
+ type: 'video' | 'image';
+ url: string;
+ title?: string;
+ } | null>(null);
+ const [videoRef, setVideoRef] = useState<HTMLVideoElement | null>(null);
+
+ // 任务进度弹窗状态
+ const [taskProgressVisible, setTaskProgressVisible] = useState(false);
+ const [taskProgress, setTaskProgress] = useState({
+ currentStep: 0,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'processing' },
+ { title: t('publishingTask' as any), status: 'wait' },
+ { title: t('submittingTask' as any), status: 'wait' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ });
+
+ // 账号选择弹窗状态
+ const [accountSelectVisible, setAccountSelectVisible] = useState(false);
+ const [availableAccounts, setAvailableAccounts] = useState<SocialAccount[]>([]);
+ const [selectedAccount, setSelectedAccount] = useState<SocialAccount | null>(null);
+ const [requiredAccountTypes, setRequiredAccountTypes] = useState<string[]>([]);
+
// 获取通知列表
- const fetchNotifications = async () => {
+ const fetchNotifications = async (page: number = 1, pageSize: number = 20) => {
// 如果没有登录信息,不发送请求
if (!token) {
setNotifications([]);
@@ -58,12 +102,17 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
try {
setLoading(true);
- const response = await getNotificationList({ page: 1, pageSize: 20 });
+ const response = await getNotificationList({ page, pageSize });
if (response && response.data) {
setNotifications(response.data.list || []);
+ setNotificationPagination(prev => ({
+ ...prev,
+ current: page,
+ total: response.data.total || 0
+ }));
}
} catch (error) {
- message.error("获取通知列表失败");
+ message.error(t('getNotificationListFailed'));
} finally {
setLoading(false);
}
@@ -87,15 +136,32 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
}
};
+ // 获取账号列表
+ const fetchAccountList = async () => {
+ if (!token) {
+ setAccountList([]);
+ return;
+ }
+
+ try {
+ const response = await getAccountListApi();
+ if (response && response.data) {
+ setAccountList(response.data || []);
+ }
+ } catch (error) {
+ console.error("获取账号列表失败:", error);
+ }
+ };
+
// 标记单个通知为已读
const handleMarkAsRead = async (id: string) => {
try {
await markNotificationAsRead([id]);
- message.success("标记成功");
+ message.success(t('markSuccess'));
fetchNotifications();
fetchUnreadCount();
} catch (error) {
- message.error("标记失败");
+ message.error(t('markFailed'));
}
};
@@ -103,11 +169,11 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
const handleMarkAllAsRead = async () => {
try {
await markAllNotificationsAsRead();
- message.success("全部标记成功");
+ message.success(t('markAllSuccess'));
fetchNotifications();
fetchUnreadCount();
} catch (error) {
- message.error("标记失败");
+ message.error(t('markFailed'));
}
};
@@ -130,10 +196,10 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
handleMarkAsRead(notification.id);
}
} else {
- message.error("获取通知详情失败");
+ message.error(t('getNotificationDetailFailed'));
}
} catch (error) {
- message.error("获取通知详情失败");
+ message.error(t('getNotificationDetailFailed'));
console.error("获取通知详情失败:", error);
}
};
@@ -146,47 +212,149 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
if (response && response.data && response.code === 0) {
setSelectedTask(response.data);
} else {
- console.error("获取任务详情失败");
+ console.error(t('getTaskDetailFailed'));
}
} catch (error) {
- console.error("获取任务详情失败:", error);
+ console.error(t('getTaskDetailFailed'), error);
} finally {
setTaskLoading(false);
}
};
// 接受任务
- const handleAcceptTask = async () => {
+ const handleAcceptTask = async (account?: SocialAccount) => {
if (!selectedTask) return;
+
+ // 显示进度弹窗
+ setTaskProgressVisible(true);
+ setTaskProgress({
+ currentStep: 0,
+ steps: [
+ { title: '正在接受任务...', status: 'processing' },
+ { title: '正在发布任务...', status: 'wait' },
+ { title: '正在提交任务...', status: 'wait' },
+ { title: '任务完成', status: 'wait' }
+ ]
+ });
try {
- const response: any = await acceptTask(selectedTask.id, selectedTask.opportunityId);
+ // 第一步:接受任务
+ const response: any = await acceptTask(selectedTask.id, selectedTask.opportunityId, account?.id);
if (response && response.code === 0) {
- message.success("接任务成功!");
- // 重新获取任务详情以更新状态
- await fetchTaskDetail(selectedTask.opportunityId);
+ // 更新进度:第一步完成,开始第二步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 1,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'finish' },
+ { title: t('publishingTask' as any), status: 'processing' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ }));
+
+ // 第二步:发布任务
+ // 优先使用传入的账号,其次使用任务指定的账号
+ const publishAccount = account || getAccountById(selectedTask.accountId);
+ if (publishAccount) {
+ // 处理素材链接,确保使用完整链接
+ const processedMaterials = selectedTask.materials?.map((material: any) => ({
+ ...material,
+ coverUrl: material.coverUrl ? getOssUrl(material.coverUrl) : undefined,
+ mediaList: material.mediaList?.map((media: any) => ({
+ ...media,
+ url: getOssUrl(media.url),
+ coverUrl: media.coverUrl ? getOssUrl(media.coverUrl) : undefined
+ }))
+ }));
+
+ const publishData = {
+ flowId: publishAccount.uid, // 使用账号的uid作为flowId
+ accountType: publishAccount.type,
+ accountId: publishAccount.account,
+ title: selectedTask.title,
+ desc: selectedTask.description,
+ type: selectedTask.type as any, // 转换为PubType
+ // 处理素材数据
+ videoUrl: processedMaterials?.[0]?.mediaList?.[0]?.type === 'video' ?
+ getOssUrl(processedMaterials[0].mediaList[0].url) : undefined,
+ coverUrl: processedMaterials?.[0]?.coverUrl,
+ imgUrlList: processedMaterials?.flatMap((material: any) =>
+ material.mediaList?.filter((media: any) => media.type !== 'video')
+ .map((media: any) => getOssUrl(media.url)) || []
+ ),
+ option: {},
+ topics: [],
+ publishTime: getUtcDays(getDays().add(6, "minute")).format(),
+ userTaskId: response.data.id,
+ taskMaterialId: selectedTask.materialIds[0]
+ };
+
+ const publishResponse: any = await apiCreatePublish(publishData);
+ if (publishResponse && publishResponse.code === 0) {
+ // 更新进度:第二步完成,开始第三步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 2,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'finish' },
+ { title: t('publishingTask' as any), status: 'finish' },
+ { title: t('submittingTask' as any), status: 'processing' },
+ { title: t('taskCompleted' as any), status: 'wait' }
+ ]
+ }));
+
+ // 第三步:提交任务
+ // 从发布响应中获取userTaskId,如果没有则使用任务ID
+ const userTaskId = response.data.id;
+ const submitResponse: any = await submitTask(userTaskId, selectedTask.materialIds[0]);
+
+ if (submitResponse && submitResponse.code === 0) {
+ // 更新进度:第三步完成,开始第四步
+ setTaskProgress(prev => ({
+ ...prev,
+ currentStep: 3,
+ steps: [
+ { title: t('acceptingTask' as any), status: 'finish' },
+ { title: t('publishingTask' as any), status: 'finish' },
+ { title: t('submittingTask' as any), status: 'finish' },
+ { title: t('taskCompleted' as any), status: 'finish' }
+ ]
+ }));
+
+ // 延迟1秒后关闭进度窗口并跳转
+ setTimeout(() => {
+ setTaskProgressVisible(false);
+ setDetailModalVisible(false);
+ setSelectedTask(null);
+ router.push(`/${lng}/tasks`);
+ }, 1000);
+ } else {
+ throw new Error('提交任务失败');
+ }
+ } else {
+ throw new Error('发布任务失败');
+ }
+ } else {
+ throw new Error('找不到发布账号信息');
+ }
} else {
- message.error("接任务失败");
+ throw new Error('接受任务失败');
}
} catch (error) {
- message.error("接任务失败");
- console.error("接任务失败:", error);
+ console.error("任务处理失败:", error);
+ message.error(t('taskProcessFailed'));
+ setTaskProgressVisible(false);
}
};
// 检查任务类型并显示相应的操作提示
const handleTaskAction = (task: TaskItem) => {
- if (!task.accountTypes || task.accountTypes.length === 0) {
- // 没有账号类型限制,直接接取任务
- handleAcceptTask();
- return;
- }
-
- // 检查需要App操作的平台
- const appRequiredPlatforms = getTasksRequiringApp(task.accountTypes);
+ // 首先检查任务支持的所有平台是否都需要App操作
+ const taskPlatforms = task.accountTypes || [];
+ const appRequiredPlatforms = getTasksRequiringApp(taskPlatforms);
- if (appRequiredPlatforms.length > 0) {
- // 有需要App操作的平台,显示第一个平台的下载提示
+ // 如果所有平台都需要App操作,直接显示下载App提示
+ if (appRequiredPlatforms.length > 0 && appRequiredPlatforms.length === taskPlatforms.length) {
const firstPlatform = appRequiredPlatforms[0];
const config = getAppDownloadConfig(firstPlatform);
@@ -201,9 +369,87 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
return;
}
}
+
+ // 如果任务指定了账号,使用指定账号的逻辑
+ if (task.accountId) {
+ const publishAccount = getAccountById(task.accountId);
+ if (publishAccount) {
+ // 检查发布账号的平台是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([publishAccount.type]);
+
+ if (appRequiredPlatforms.length > 0) {
+ // 有需要App操作的平台,显示第一个平台的下载提示
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 直接使用指定账号接受任务
+ handleAcceptTask(publishAccount);
+ return;
+ }
+ }
+
+ // 如果没有指定账号,需要用户选择账号
+ const availableAccounts = getAvailableAccounts(task.accountTypes || []);
+
+ if (availableAccounts.length === 0) {
+ // 没有符合条件的账号,跳转到账户界面并弹出授权界面
+ setRequiredAccountTypes(task.accountTypes || []);
+ setDetailModalVisible(false); // 关闭任务详情弹窗
+ message.info(t('accountSelect.redirectingToAccounts' as any));
+
+ // 构建跳转URL,包含需要的平台类型参数
+ const accountTypes = task.accountTypes || [];
+ const platformParam = accountTypes.length > 0 ? accountTypes[0] : undefined;
+ const accountsUrl = platformParam
+ ? `/${lng}/accounts?platform=${platformParam}`
+ : `/${lng}/accounts`;
+
+ router.push(accountsUrl); // 跳转到账户界面并自动打开添加账号弹窗
+ return;
+ }
+
+ if (availableAccounts.length === 1) {
+ // 只有一个符合条件的账号,直接使用
+ const account = availableAccounts[0];
+
+ // 检查是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([account.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 直接使用这个账号接受任务
+ handleAcceptTask(account);
+ return;
+ }
- // 其他任务类型正常接取
- handleAcceptTask();
+ // 多个符合条件的账号,显示选择弹窗
+ setAvailableAccounts(availableAccounts);
+ setAccountSelectVisible(true);
};
// 格式化时间
@@ -215,21 +461,21 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
const hours = Math.floor(diff / (1000 * 60 * 60));
const days = Math.floor(diff / (1000 * 60 * 60 * 24));
- if (minutes < 1) return "刚刚";
- if (minutes < 60) return `${minutes}分钟前`;
- if (hours < 24) return `${hours}小时前`;
- if (days < 7) return `${days}天前`;
+ if (minutes < 1) return t('time.justNow' as any);
+ if (minutes < 60) return t('time.minutesAgo' as any, { minutes });
+ if (hours < 24) return t('time.hoursAgo' as any, { hours });
+ if (days < 7) return t('time.daysAgo' as any, { days });
return date.toLocaleDateString();
};
// 获取通知类型文本
const getNotificationTypeText = (type: string) => {
const typeMap: Record<string, string> = {
- system: "系统通知",
- user: "用户通知",
- material: "素材通知",
- task_reminder: "任务提醒",
- other: "其他通知"
+ system: t('notificationTypes.system' as any),
+ user: t('notificationTypes.user' as any),
+ material: t('notificationTypes.material' as any),
+ task_reminder: t('notificationTypes.task_reminder' as any),
+ other: t('notificationTypes.other' as any)
};
return typeMap[type] || type;
};
@@ -250,30 +496,37 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
const handleDeleteNotification = async (id: string) => {
try {
await deleteNotifications([id]);
- message.success("删除成功");
+ message.success(t('deleteSuccess'));
fetchNotifications();
fetchUnreadCount();
} catch (error) {
- message.error("删除失败");
+ message.error(t('deleteFailed'));
}
};
// 获取平台显示名称
const getPlatformName = (type: string) => {
+ const { lng } = useParams();
+
+ if (lng === 'en') {
+ return type;
+ }
+
+ // 使用国际化显示名称
const platformNames: Record<string, string> = {
- 'tiktok': 'TikTok',
- 'youtube': 'YouTube',
- 'twitter': 'Twitter',
- 'bilibili': '哔哩哔哩',
- 'KWAI': '快手',
- 'douyin': '抖音',
- 'xhs': '小红书',
- 'wxSph': '微信视频号',
- 'wxGzh': '微信公众号',
- 'facebook': 'Facebook',
- 'instagram': 'Instagram',
- 'threads': 'Threads',
- 'pinterest': 'Pinterest',
+ 'tiktok': t('platforms.tiktok' as any),
+ 'youtube': t('platforms.youtube' as any),
+ 'twitter': t('platforms.twitter' as any),
+ 'bilibili': t('platforms.bilibili' as any),
+ 'KWAI': t('platforms.KWAI' as any),
+ 'douyin': t('platforms.douyin' as any),
+ 'xhs': t('platforms.xhs' as any),
+ 'wxSph': t('platforms.wxSph' as any),
+ 'wxGzh': t('platforms.wxGzh' as any),
+ 'facebook': t('platforms.facebook' as any),
+ 'instagram': t('platforms.instagram' as any),
+ 'threads': t('platforms.threads' as any),
+ 'pinterest': t('platforms.pinterest' as any),
};
return platformNames[type] || type;
};
@@ -281,27 +534,175 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
// 获取任务类型显示名称
const getTaskTypeName = (type: string) => {
const taskTypeNames: Record<string, string> = {
- 'video': '视频',
- 'article': '图文',
- 'article2': '纯文字',
+ 'video': t('taskTypes.video' as any),
+ 'article': t('taskTypes.article' as any),
+ 'article2': t('taskTypes.article2' as any),
};
return taskTypeNames[type] || type;
};
+ /**
+ * 从平台配置中获取平台图标
+ * 兼容字符串路径与含有src字段的对象
+ */
+ const getPlatformIcon = (type: string) => {
+ const info = AccountPlatInfoMap.get(type as PlatType);
+ const icon: any = info?.icon;
+ if (!icon) return null;
+ if (typeof icon === 'string') return icon;
+ return icon?.src || icon?.default || null;
+ };
+
+ // 根据accountId获取账号信息
+ const getAccountById = (accountId: string): SocialAccount | null => {
+ return accountList.find(account => account.id === accountId) || null;
+ };
+
+ // 获取符合条件的账号列表
+ const getAvailableAccounts = (accountTypes: string[]): SocialAccount[] => {
+ if (!accountTypes || accountTypes.length === 0) {
+ return accountList; // 如果没有类型限制,返回所有账号
+ }
+ return accountList.filter(account => accountTypes.includes(account.type));
+ };
+
+ // 处理媒体点击
+ const handleMediaClick = (media: any, materialTitle?: string, materialCoverUrl?: string) => {
+ if (media.type === 'video') {
+ setPreviewMedia({
+ type: 'video',
+ url: getOssUrl(media.url),
+ title: materialTitle
+ });
+ } else {
+ setPreviewMedia({
+ type: 'image',
+ url: getOssUrl(media.url),
+ title: materialTitle
+ });
+ }
+ setMediaPreviewVisible(true);
+ };
+
+ // 处理视频封面点击
+ const handleVideoCoverClick = (media: any, materialTitle?: string) => {
+ setPreviewMedia({
+ type: 'video',
+ url: getOssUrl(media.url),
+ title: materialTitle
+ });
+ setMediaPreviewVisible(true);
+ };
+
+ // 关闭媒体预览
+ const handleCloseMediaPreview = () => {
+ // 停止视频播放
+ if (videoRef) {
+ videoRef.pause();
+ videoRef.currentTime = 0;
+ }
+ setMediaPreviewVisible(false);
+ setPreviewMedia(null);
+ setVideoRef(null);
+ };
+
+ // 处理通知分页变化
+ const handleNotificationPageChange = (page: number, pageSize?: number) => {
+ fetchNotifications(page, pageSize || notificationPagination.pageSize);
+ };
+
+ // 处理账号选择
+ const handleAccountSelect = (account: SocialAccount) => {
+ setSelectedAccount(account);
+ setAccountSelectVisible(false);
+
+ // 检查是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([account.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 使用选择的账号接受任务
+ handleAcceptTask(account);
+ };
+
+ // 检查是否有新添加的符合条件账号
+ const checkForNewAccounts = () => {
+ if (requiredAccountTypes.length > 0 && selectedTask) {
+ const newAvailableAccounts = getAvailableAccounts(requiredAccountTypes);
+
+ if (newAvailableAccounts.length > 0) {
+ // 有新账号了,清除需求状态
+ setRequiredAccountTypes([]);
+
+ if (newAvailableAccounts.length === 1) {
+ // 只有一个新账号,直接使用
+ const account = newAvailableAccounts[0];
+
+ // 检查是否需要App操作
+ const appRequiredPlatforms = getTasksRequiringApp([account.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const firstPlatform = appRequiredPlatforms[0];
+ const config = getAppDownloadConfig(firstPlatform);
+
+ if (config) {
+ setDownloadAppConfig({
+ platform: config.platform,
+ appName: config.appName,
+ downloadUrl: config.downloadUrl,
+ qrCodeUrl: config.qrCodeUrl
+ });
+ setDownloadAppVisible(true);
+ return;
+ }
+ }
+
+ // 直接使用这个账号接受任务
+ handleAcceptTask(account);
+ } else {
+ // 多个新账号,显示选择弹窗
+ setAvailableAccounts(newAvailableAccounts);
+ setAccountSelectVisible(true);
+ }
+ }
+ }
+ };
+
useEffect(() => {
if (visible) {
fetchNotifications();
fetchUnreadCount();
+ fetchAccountList();
}
}, [visible, token]);
+ // 监听账号列表变化,检查是否有新添加的符合条件账号
+ useEffect(() => {
+ if (accountList.length > 0) {
+ checkForNewAccounts();
+ }
+ }, [accountList, requiredAccountTypes, selectedTask]);
+
+
return (
<>
<Modal
title={
<div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
<Badge count={unreadCount} size="small">
- <span style={{ fontSize: '16px', fontWeight: '600' }}>消息通知</span>
+ <span style={{ fontSize: '16px', fontWeight: '600' }}>{t('title')}</span>
</Badge>
</div>
}
@@ -312,7 +713,7 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
{t('markAllAsRead')}
</Button>,
<Button key="close" onClick={onClose}>
- {t('actions.cancel')}
+ {t('cancel')}
</Button>
]}
width={700}
@@ -331,6 +732,16 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
{notifications.length > 0 ? (
<List
dataSource={notifications}
+ pagination={{
+ current: notificationPagination.current,
+ pageSize: notificationPagination.pageSize,
+ total: notificationPagination.total,
+ onChange: handleNotificationPageChange,
+ showSizeChanger: true,
+ showQuickJumper: true,
+ showTotal: (total, range) => t('pageInfo' as any, { start: range[0], end: range[1], total }),
+ pageSizeOptions: ['10', '20', '50', '100']
+ }}
renderItem={(item) => (
<List.Item
className={`${styles.notificationItem} ${item.status === 'unread' ? styles.unread : ""}`}
@@ -341,68 +752,70 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
type="text"
size="small"
icon={<CheckOutlined />}
- onClick={() => handleMarkAsRead(item.id)}
+ onClick={(e) => {
+ e.stopPropagation();
+ handleMarkAsRead(item.id);
+ }}
>
{t('markAsRead')}
</Button>
),
<Popconfirm
key="delete"
- title="确定要删除这条通知吗?"
+ title={t('confirmDelete')}
onConfirm={() => handleDeleteNotification(item.id)}
- okText="确定"
- cancelText="取消"
+ okText={t('confirm')}
+ cancelText={t('cancel')}
>
<Button
type="text"
size="small"
danger
icon={<DeleteOutlined />}
+ onClick={(e) => e.stopPropagation()}
>
- 删除
+ {t('delete')}
</Button>
</Popconfirm>
]}
>
- <List.Item.Meta
- title={
- <div className={styles.notificationTitle}>
- <span>{item.title}</span>
- {item.status === 'unread' && <Badge status="processing" />}
- </div>
- }
- description={
- <div className={styles.notificationContent}>
- <div className={styles.notificationMeta}>
- <Tag color={getNotificationTypeColor(item.type)}>
- {getNotificationTypeText(item.type)}
- </Tag>
- <span className={styles.time}>
- <ClockCircleOutlined style={{ marginRight: 4 }} />
- {formatTime(item.createdAt)}
- </span>
- </div>
- <div className={styles.content}>
- {item.content.length > 100
- ? `${item.content.substring(0, 100)}...`
- : item.content
- }
+ <div
+ className={styles.notificationClickableArea}
+ onClick={() => handleViewDetail(item)}
+ style={{
+ cursor: 'pointer',
+ width: '100%',
+ padding: '8px 0'
+ }}
+ >
+ <List.Item.Meta
+ title={
+ <div className={styles.notificationTitle}>
+ <span>{item.title}</span>
+ {item.status === 'unread' && <Badge status="processing" />}
</div>
- <div className={styles.actions}>
- <Tooltip title="查看详情">
- <Button
- type="link"
- size="small"
- icon={<EyeOutlined />}
- onClick={() => handleViewDetail(item)}
- >
- {t('viewAll')}
- </Button>
- </Tooltip>
+ }
+ description={
+ <div className={styles.notificationContent}>
+ <div className={styles.notificationMeta}>
+ <Tag color={getNotificationTypeColor(item.type)}>
+ {getNotificationTypeText(item.type)}
+ </Tag>
+ <span className={styles.time}>
+ <ClockCircleOutlined style={{ marginRight: 4 }} />
+ {formatTime(item.createdAt)}
+ </span>
+ </div>
+ <div className={styles.content}>
+ {item.content.length > 100
+ ? `${item.content.substring(0, 100)}...`
+ : item.content
+ }
+ </div>
</div>
- </div>
- }
- />
+ }
+ />
+ </div>
</List.Item>
)}
/>
@@ -416,7 +829,7 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
<Modal
title={
<div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
- <span style={{ fontSize: '16px', fontWeight: '600' }}>通知详情</span>
+ <span style={{ fontSize: '16px', fontWeight: '600' }}>{t('detailTitle')}</span>
</div>
}
zIndex={2000}
@@ -430,7 +843,7 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
setDetailModalVisible(false);
setSelectedTask(null);
}} type="primary">
- 关闭
+ {t('close')}
</Button>
]}
width={800}
@@ -456,56 +869,106 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
<div style={{ display: 'flex', flexDirection: 'column', gap: '4px' }}>
<span>
<ClockCircleOutlined style={{ marginRight: 4 }} />
- 创建时间: {formatTime(selectedNotification.createdAt)}
+ {t('createTime')}: {formatTime(selectedNotification.createdAt)}
</span>
{selectedNotification.readAt && (
<span style={{ color: '#52c41a' }}>
- 已读时间: {formatTime(selectedNotification.readAt)}
+ {t('readTime')}: {formatTime(selectedNotification.readAt)}
</span>
)}
</div>
</div>
- <div className={styles.content}>
+ {/* <div className={styles.content}>
{selectedNotification.content}
- </div>
+ </div> */}
{/* 任务详情部分 */}
{selectedNotification.type === 'task_reminder' && (
<div className={styles.taskDetail}>
- <h4 style={{ marginBottom: '16px', color: '#1890ff' }}>任务详情</h4>
+ <h4 style={{ marginBottom: '16px', color: '#1890ff' }}>{t('taskDetail')}</h4>
<Spin spinning={taskLoading}>
{selectedTask ? (
<div className={styles.taskInfo}>
<div className={styles.taskHeader}>
<h5>{selectedTask.title}</h5>
<Tag color={selectedTask.status === 'active' ? 'green' : 'red'}>
- {selectedTask.status === 'active' ? '进行中' : '已结束'}
+ {selectedTask.status === 'active' ? t('taskStatus.active' as any) : t('taskStatus.inactive' as any)}
</Tag>
</div>
<div className={styles.taskContent}>
- <p><strong>描述:</strong>
+ <p><strong>{t('taskInfo.description' as any)}:</strong>
<div dangerouslySetInnerHTML={{ __html: selectedTask.description }} />
</p>
- <p><strong>奖励:</strong>¥{selectedTask.reward}</p>
+ {/* 发布账号信息 */}
+ {selectedTask.accountId && (() => {
+ const publishAccount = getAccountById(selectedTask.accountId);
+ return publishAccount ? (
+ <p><strong>{t('taskInfo.publisherAccount' as any)}:</strong>
+ <div style={{ display: 'flex', alignItems: 'center', marginLeft: '4px', gap: '8px' }}>
+ <img
+ src={publishAccount.avatar ? getOssUrl(publishAccount.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '24px',
+ height: '24px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ <Tag color="green">
+ {getPlatformName(publishAccount.type)} - {publishAccount.nickname}
+ </Tag>
+ </div>
+ </p>
+ ) : (
+ <p><strong>{t('taskInfo.publisherAccount' as any)}:</strong>
+ <Tag color="red" style={{ marginLeft: '4px' }}>
+ {t('accountInfoFailed')}
+ </Tag>
+ </p>
+ );
+ })()}
+
+ {/* 任务平台类型显示 */}
+ {selectedTask.accountTypes && selectedTask.accountTypes.length > 0 && (
+ <p style={{ display: 'flex', alignItems: 'center', gap: '8px', margin: 0, marginBottom: '6px' }}>
+ <strong>{t('taskInfo.platformTypes' as any)}:</strong>
+ {selectedTask.accountTypes.map(type => {
+ const platformIcon = getPlatformIcon(type);
+ return platformIcon ? (
+ <img
+ key={type}
+ src={platformIcon}
+ alt={`${type} icon`}
+ style={{
+ width: '20px',
+ height: '20px',
+ objectFit: 'contain'
+ }}
+ />
+ ) : null;
+ })}
+ </p>
+ )}
+
+ <p><strong>{t('taskInfo.reward' as any)}:</strong>¥{selectedTask.reward/100}</p>
{/* <p><strong>招募人数:</strong>{selectedTask.currentRecruits}/{selectedTask.maxRecruits}</p> */}
- <p><strong>任务类型:</strong>
+ <p><strong>{t('taskInfo.taskType' as any)}:</strong>
<Tag color="blue" style={{ marginLeft: '4px' }}>
{getTaskTypeName(selectedTask.type)}
</Tag>
</p>
- {selectedTask.accountTypes && selectedTask.accountTypes.length > 0 && (
- <p><strong>账号类型:</strong>
- {selectedTask.accountTypes.map(type => (
- <Tag key={type} style={{ marginLeft: '4px' }}>{getPlatformName(type)}</Tag>
- ))}
- </p>
- )}
+
+
{/* 任务素材展示 */}
{selectedTask.materials && selectedTask.materials.length > 0 && (
<div style={{ marginTop: '16px' }}>
- <p><strong>任务素材:</strong></p>
+ <p><strong>{t('taskInfo.taskType' as any)}:</strong></p>
<div style={{ display: 'flex', gap: '8px', flexWrap: 'wrap' }}>
{selectedTask.materials.map((material: any, index: number) => (
<div key={index} style={{
@@ -514,10 +977,10 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
padding: '8px',
maxWidth: '200px'
}}>
- <div style={{ fontSize: '12px', fontWeight: '500', marginBottom: '4px' }}>
+ {/* <div style={{ fontSize: '12px', fontWeight: '500', marginBottom: '4px' }}>
{material.title}
- </div>
- {material.coverUrl && (
+ </div> */}
+ { (material.coverUrl && material.type !== "video") && (
<img
src={getOssUrl(material.coverUrl)}
alt="cover"
@@ -530,9 +993,9 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
}}
/>
)}
- <div style={{ fontSize: '11px', color: '#666', lineHeight: '1.3' }}>
+ {/* <div style={{ fontSize: '11px', color: '#666', lineHeight: '1.3' }}>
{material.desc?.substring(0, 50)}{material.desc?.length > 50 ? '...' : ''}
- </div>
+ </div> */}
{material.mediaList && material.mediaList.length > 0 && (
<div style={{
display: 'flex',
@@ -541,17 +1004,61 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
flexWrap: 'wrap'
}}>
{material.mediaList.slice(0, 3).map((media: any, mediaIndex: number) => (
- <img
- key={mediaIndex}
- src={getOssUrl(media.url)}
- alt="media"
- style={{
- width: '40px',
- height: '40px',
- objectFit: 'cover',
- borderRadius: '2px'
- }}
- />
+ <div key={mediaIndex} style={{ position: 'relative', cursor: 'pointer' }}>
+ {media.type === 'video' ? (
+ <div
+ style={{
+ width: '180px',
+ height: '180px',
+ borderRadius: '2px',
+ position: 'relative',
+ overflow: 'hidden'
+ }}
+ onClick={() => handleVideoCoverClick(media, material.title)}
+ >
+ {/* 视频封面图片 - 使用material.coverUrl */}
+ <img
+ src={material.coverUrl ? getOssUrl(material.coverUrl) : getOssUrl(media.url)}
+ alt="video cover"
+ style={{
+ width: '100%',
+ height: '100%',
+ objectFit: 'cover'
+ }}
+ />
+ {/* 播放按钮 */}
+ <div style={{
+ position: 'absolute',
+ top: '50%',
+ left: '50%',
+ transform: 'translate(-50%, -50%)',
+ color: 'white',
+ fontSize: '11px',
+ background: 'rgba(0,0,0,0.6)',
+ borderRadius: '50%',
+ width: '26px',
+ height: '26px',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center'
+ }}>
+ ▶
+ </div>
+ </div>
+ ) : (
+ <img
+ src={getOssUrl(media.url)}
+ alt="media"
+ style={{
+ width: '40px',
+ height: '40px',
+ objectFit: 'cover',
+ borderRadius: '2px'
+ }}
+ onClick={() => handleMediaClick(media, material.title)}
+ />
+ )}
+ </div>
))}
{material.mediaList.length > 3 && (
<div style={{
@@ -578,43 +1085,52 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
</div>
{selectedTask.status === 'active' && selectedTask.currentRecruits < selectedTask.maxRecruits && (
<div className={styles.taskActions}>
- {/* 需要App操作的平台提示 */}
- {selectedTask.accountTypes && selectedTask.accountTypes.length > 0 && (
- (() => {
- const appRequiredPlatforms = getTasksRequiringApp(selectedTask.accountTypes);
- if (appRequiredPlatforms.length > 0) {
- const platformNames = appRequiredPlatforms.map(p => getAppDownloadConfig(p)?.platform).filter(Boolean);
- return (
- <div style={{
- marginBottom: '12px',
- padding: '12px',
- backgroundColor: '#fff7e6',
- border: '1px solid #ffd591',
- borderRadius: '6px',
- color: '#d46b08'
- }}>
- <strong>⚠️ 注意:</strong>
- {platformNames.join('、')}任务需要在移动端App中操作,请下载对应App后继续。
- </div>
- );
+ {/* 需要App操作的平台提示 - 只根据发布账号类型判断 */}
+ {(() => {
+ // 只根据发布账号类型判断是否需要App操作
+ if (selectedTask.accountId) {
+ const publishAccount = getAccountById(selectedTask.accountId);
+ if (publishAccount) {
+ const appRequiredPlatforms = getTasksRequiringApp([publishAccount.type]);
+ if (appRequiredPlatforms.length > 0) {
+ const platformNames = appRequiredPlatforms.map(p => getAppDownloadConfig(p)?.platform).filter(Boolean);
+ return (
+ <div style={{
+ marginBottom: '12px',
+ padding: '12px',
+ backgroundColor: '#fff7e6',
+ border: '1px solid #ffd591',
+ borderRadius: '6px',
+ color: '#d46b08'
+ }}>
+ <strong>{t('appRequiredNotice')}</strong>
+ {t('appRequiredMessage' as any, { platform: getPlatformName(publishAccount.type) })}
+ </div>
+ );
+ }
}
- return null;
- })()
- )}
+ }
+ return null;
+ })()}
+ {
+
+ selectedTask.opportunityStatus == 'pending' && (
<Button
type="primary"
onClick={() => handleTaskAction(selectedTask)}
style={{ marginTop: '12px' }}
>
- 接受任务
+ {t('acceptTask')}
</Button>
+ )
+ }
</div>
)}
</div>
) : !taskLoading && (
<div style={{ textAlign: 'center', color: '#999' }}>
- 暂无任务详情
+ {t('noTaskDetails')}
</div>
)}
</Spin>
@@ -632,7 +1148,173 @@ const NotificationPanel: React.FC<NotificationPanelProps> = ({ visible, onClose
appName={downloadAppConfig.appName}
downloadUrl={downloadAppConfig.downloadUrl}
qrCodeUrl={downloadAppConfig.qrCodeUrl}
+ zIndex={3000}
/>
+
+ {/* 媒体预览弹窗 */}
+ <Modal
+ title={previewMedia?.title || t('mediaPreview')}
+ open={mediaPreviewVisible}
+ onCancel={handleCloseMediaPreview}
+ afterClose={handleCloseMediaPreview}
+ footer={[
+ <Button key="close" onClick={handleCloseMediaPreview}>
+ {t('close')}
+ </Button>
+ ]}
+ width={previewMedia?.type === 'video' ? 800 : 600}
+ zIndex={3000}
+ destroyOnHidden={true}
+ styles={{
+ body: {
+ padding: '24px',
+ textAlign: 'center'
+ }
+ }}
+ >
+ {previewMedia && (
+ <div>
+ {previewMedia.type === 'video' ? (
+ <video
+ ref={setVideoRef}
+ src={previewMedia.url}
+ controls
+ style={{
+ width: '100%',
+ maxHeight: '500px',
+ borderRadius: '8px'
+ }}
+ autoPlay
+ onEnded={() => {
+ // 视频播放结束时重置到开始
+ if (videoRef) {
+ videoRef.currentTime = 0;
+ }
+ }}
+ />
+ ) : (
+ <img
+ src={previewMedia.url}
+ alt="preview"
+ style={{
+ width: '100%',
+ maxHeight: '500px',
+ objectFit: 'contain',
+ borderRadius: '8px'
+ }}
+ />
+ )}
+ </div>
+ )}
+ </Modal>
+
+ {/* 任务进度弹窗 */}
+ <Modal
+ title={t('taskProcessing')}
+ open={taskProgressVisible}
+ closable={false}
+ maskClosable={false}
+ footer={null}
+ width={500}
+ zIndex={3000}
+ styles={{
+ body: {
+ padding: '24px'
+ }
+ }}
+ >
+ <Steps
+ direction="vertical"
+ current={taskProgress.currentStep}
+ items={taskProgress.steps.map((step, index) => ({
+ title: step.title,
+ status: step.status as 'wait' | 'process' | 'finish' | 'error',
+ description: index === 0 ? t('acceptingTask' as any) :
+ index === 1 ? t('publishingTask' as any) :
+ index === 2 ? t('submittingTask' as any) :
+ t('taskCompleted' as any)
+ }))}
+ />
+ </Modal>
+
+ {/* 账号选择弹窗 */}
+ <Modal
+ title={t('accountSelect.title' as any)}
+ open={accountSelectVisible}
+ onCancel={() => setAccountSelectVisible(false)}
+ footer={null}
+ width={600}
+ zIndex={2000}
+ styles={{
+ header: {
+ borderBottom: '1px solid #f0f0f0',
+ paddingBottom: '16px'
+ },
+ body: {
+ padding: '24px'
+ }
+ }}
+ >
+ <div style={{ marginBottom: '16px' }}>
+ <p style={{ margin: 0, color: '#666' }}>
+ {t('accountSelect.description' as any)}
+ </p>
+ </div>
+ <List
+ dataSource={availableAccounts}
+ renderItem={(account) => (
+ <List.Item
+ style={{
+ cursor: 'pointer',
+ padding: '16px',
+ border: '1px solid #f0f0f0',
+ borderRadius: '8px',
+ marginBottom: '8px',
+ transition: 'all 0.3s ease'
+ }}
+ onClick={() => handleAccountSelect(account)}
+ onMouseEnter={(e) => {
+ e.currentTarget.style.borderColor = '#1890ff';
+ e.currentTarget.style.backgroundColor = '#f6ffed';
+ }}
+ onMouseLeave={(e) => {
+ e.currentTarget.style.borderColor = '#f0f0f0';
+ e.currentTarget.style.backgroundColor = 'transparent';
+ }}
+ >
+ <List.Item.Meta
+ avatar={
+ <img
+ src={account.avatar ? getOssUrl(account.avatar) : '/default-avatar.png'}
+ alt="账号头像"
+ style={{
+ width: '48px',
+ height: '48px',
+ borderRadius: '50%',
+ objectFit: 'cover'
+ }}
+ onError={(e) => {
+ e.currentTarget.src = '/default-avatar.png';
+ }}
+ />
+ }
+ title={
+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
+ <span style={{ fontWeight: '600' }}>{account.nickname}</span>
+ <Tag color="blue">{getPlatformName(account.type)}</Tag>
+ </div>
+ }
+ description={
+ <div style={{ color: '#666' }}>
+ <div>{t('accountSelect.accountId' as any)}: {account.account}</div>
+ {account.nickname && <div>{t('accountSelect.description' as any)}: {account.nickname}</div>}
+ </div>
+ }
+ />
+ </List.Item>
+ )}
+ />
+ </Modal>
</>
);
};
diff --git a/aitoearn_web/aitoearn-web/src/constant.ts b/aitoearn_web/aitoearn-web/src/constant.ts
index fec4ccb1..05e04eb1 100644
--- a/aitoearn_web/aitoearn-web/src/constant.ts
+++ b/aitoearn_web/aitoearn-web/src/constant.ts
@@ -2,7 +2,7 @@
export const APP_HOT_URL = "https://att-contents.yikart.cn/api";
// 代理地址
-export const ProxyUrls = ["/api/"];
+export const ProxyUrls = ["/api/", process.env.NEXT_PUBLIC_BILI_OSS_PROXY];
// OSS URL
export const OSS_URL = process.env.NEXT_PUBLIC_OSS_URL;
diff --git a/aitoearn_web/aitoearn-web/src/hooks/useNotification.ts b/aitoearn_web/aitoearn-web/src/hooks/useNotification.ts
index 354f5286..b09badb2 100644
--- a/aitoearn_web/aitoearn-web/src/hooks/useNotification.ts
+++ b/aitoearn_web/aitoearn-web/src/hooks/useNotification.ts
@@ -27,6 +27,8 @@ export const useNotification = () => {
}
}, [token]);
+ // @@.@@
+
useEffect(() => {
// 初始获取
fetchUnreadCount();
@@ -34,7 +36,7 @@ export const useNotification = () => {
// 每10秒获取一次未读数量
const interval = setInterval(() => {
fetchUnreadCount();
- }, 60000);
+ }, 20000);
return () => {
clearInterval(interval);
diff --git a/aitoearn_web/aitoearn-web/src/images/bg-rank-index.png b/aitoearn_web/aitoearn-web/src/images/bg-rank-index.png
new file mode 100644
index 00000000..ed4c7e69
Binary files /dev/null and b/aitoearn_web/aitoearn-web/src/images/bg-rank-index.png differ
diff --git a/aitoearn_web/aitoearn-web/src/store/account.ts b/aitoearn_web/aitoearn-web/src/store/account.ts
index ec36b8bd..562aadc1 100644
--- a/aitoearn_web/aitoearn-web/src/store/account.ts
+++ b/aitoearn_web/aitoearn-web/src/store/account.ts
@@ -3,7 +3,6 @@ import { combine } from "zustand/middleware";
import lodash from "lodash";
import { AccountGroupItem, SocialAccount } from "@/api/types/account.type";
import { getAccountGroupApi, getAccountListApi } from "@/api/account";
-import { PlatType } from "@/app/config/platConfig";
import { directTrans } from "@/app/i18n/client";
export interface AccountGroup extends AccountGroupItem {
@@ -62,36 +61,52 @@ export const useAccountStore = create(
set({ accountGroupList });
},
+ /**
+ * 异步获取账户列表(含稳健的loading与错误处理),避免阻塞UI
+ */
async getAccountList() {
if (get().accountLoading) return;
set({ accountLoading: true });
- const accountMap = new Map<string, SocialAccount>([]);
- const accountAccountMap = new Map<string, SocialAccount>([]);
- const result = await getAccountListApi();
- set({ accountLoading: false });
-
- if (result?.code !== 0) return;
- const accountList: SocialAccount[] = [];
-
- for (const item of result.data) {
- if (
- item.type === PlatType.Xhs ||
- item.type === PlatType.Douyin ||
- item.type === PlatType.WxSph
- )
- continue;
- accountMap.set(item.id, item);
- accountAccountMap.set(item.account, item);
- accountList.push(item);
+ try {
+ const accountMap = new Map<string, SocialAccount>([]);
+ const accountAccountMap = new Map<string, SocialAccount>([]);
+
+ // 防卡死:给请求增加超时兜底(例如 15s),即使后端迟迟不返回也不会一直占用loading
+ const timeoutMs = 10000;
+ const timeoutPromise = new Promise<any>((resolve) => {
+ setTimeout(() => resolve({ code: -1, data: [] }), timeoutMs);
+ });
+ const result = await Promise.race([getAccountListApi(), timeoutPromise]);
+
+ if (result?.code !== 0) return;
+
+ const accountList: SocialAccount[] = [];
+ for (const item of result.data) {
+ accountMap.set(item.id, item);
+ accountAccountMap.set(item.account, item);
+ accountList.push(item);
+ }
+
+ set({
+ accountList,
+ accountMap,
+ accountAccountMap,
+ });
+
+ // 后续分组数据获取不阻塞调用方
+ methods.getAccountGroup();
+ } finally {
+ set({ accountLoading: false });
}
+ },
- set({
- accountList,
- accountMap,
- accountAccountMap,
- });
- await methods.getAccountGroup();
+ /**
+ * 后台异步启动账户列表加载(不等待,不阻塞首屏/刷新渲染)
+ */
+ getAccountListInBackground() {
+ // fire-and-forget,内部自行处理loading与错误
+ void methods.getAccountList();
},
// 获取用户组的数据并且将用户放到对应组下
@@ -101,7 +116,7 @@ export const useAccountStore = create(
if (!groupList) return;
if (groupList.length === 0) return;
- groupList.map((v) => {
+ groupList.map((v: any) => {
v.name = v.isDefault
? directTrans("account", "defaultSpace")
: v.name;
@@ -111,9 +126,9 @@ export const useAccountStore = create(
// key=组ID,val=账户ID
const accountGroupMap = new Map<string, AccountGroup>();
- const defaultGroup = groupList.find((v) => v.isDefault)!;
+ const defaultGroup = groupList.find((v: any) => v.isDefault)!;
- groupList.map((v) => {
+ groupList.map((v: any) => {
const accountGroupItem = {
...v,
children: [],
@@ -122,10 +137,12 @@ export const useAccountStore = create(
accountGroupMap.set(v.id, accountGroupItem);
});
get().accountList.map((v) => {
- (
- accountGroupMap.get(v.groupId!) ||
- accountGroupMap.get(defaultGroup.id)!
- ).children?.push(v);
+ if (accountGroupMap.get(v.groupId!)) {
+ accountGroupMap.get(v.groupId!)!.children?.push(v);
+ } else {
+ accountGroupMap.get(defaultGroup.id)!.children?.push(v);
+ v.groupId = defaultGroup.id;
+ }
});
accountGroupList.sort((a, b) => {
@@ -140,7 +157,8 @@ export const useAccountStore = create(
async accountInit() {
if (get().accountList.length > 0) return;
- await methods.getAccountList();
+ // 改为后台异步拉取,避免初始化时阻塞界面
+ methods.getAccountListInBackground();
},
};
return methods;
diff --git a/aitoearn_web/aitoearn-web/src/store/user.ts b/aitoearn_web/aitoearn-web/src/store/user.ts
index fd6fbbaa..fd60240e 100644
--- a/aitoearn_web/aitoearn-web/src/store/user.ts
+++ b/aitoearn_web/aitoearn-web/src/store/user.ts
@@ -14,6 +14,7 @@ export interface UserInfo {
avatar?: string;
isVip?: boolean;
score?: number;
+ income?: number; // 余额字段
popularizeCode?: string;
vipInfo?: {
id: string;
diff --git a/aitoearn_web/aitoearn-web/src/utils/general.ts b/aitoearn_web/aitoearn-web/src/utils/general.ts
index b8dab9a3..99190795 100644
--- a/aitoearn_web/aitoearn-web/src/utils/general.ts
+++ b/aitoearn_web/aitoearn-web/src/utils/general.ts
@@ -1,7 +1,5 @@
import { Metadata } from "next";
import { useTranslation } from "@/app/i18n";
-import { useParams } from "next/navigation";
-import { fallbackLng } from "@/app/i18n/settings";
export async function getPageTitle(name: string, lng: string) {
const { t } = await useTranslation(lng);
@@ -24,6 +22,7 @@ export async function getMetadata(
return {
...props,
title,
+ referrer: "no-referrer",
};
}
diff --git a/aitoearn_web/aitoearn-web/src/utils/index.ts b/aitoearn_web/aitoearn-web/src/utils/index.ts
index fbbf5d20..be67e865 100644
--- a/aitoearn_web/aitoearn-web/src/utils/index.ts
+++ b/aitoearn_web/aitoearn-web/src/utils/index.ts
@@ -61,16 +61,13 @@ export function formatSeconds(seconds: number): string {
* @returns 如果数值超过1000返回'n千',超过10000返回'n万'
*/
export function describeNumber(value: number): string {
- if (value > 10000) {
- // 数值超过10000,返回'n万'
- const wan = Math.floor(value / 10000);
- return `${wan}万`;
- } else if (value > 1000) {
- // 数值超过1000,返回'n千'
- const qian = Math.floor(value / 1000);
- return `${qian}千`;
+ if (!value) return `${value ?? 0}`;
+
+ if (value >= 10000) {
+ return `${(value / 10000).toFixed(2).replace(/\.?0+$/, "")}w`;
+ } else if (value >= 1000) {
+ return `${(value / 1000).toFixed(2).replace(/\.?0+$/, "")}k`;
} else {
- // 数值不超过1000,直接返回数值的字符串形式
return value.toString();
}
}
diff --git a/aitoearn_web/aitoearn-web/src/utils/ipLocation.ts b/aitoearn_web/aitoearn-web/src/utils/ipLocation.ts
index 7a8e050e..68d789d5 100644
--- a/aitoearn_web/aitoearn-web/src/utils/ipLocation.ts
+++ b/aitoearn_web/aitoearn-web/src/utils/ipLocation.ts
@@ -61,11 +61,23 @@ export const getIpLocation = (): Promise<IpLocationInfo> => {
});
};
+/**
+ * 从位置信息中提取国家
+ * @param location 位置信息字符串
+ * @returns 国家名称
+ */
+export const extractCountry = (location: string): string => {
+ // 位置信息通常格式为: "国家 省份 城市" 或 "国家"
+ const parts = location.split(' ');
+ return parts[0] || location;
+};
+
/**
* 格式化地理位置信息
* @param info IP地理位置信息
* @returns 格式化后的字符串
*/
export const formatLocationInfo = (info: IpLocationInfo): string => {
- return `${info.ip} | ${info.location}`;
+ const country = extractCountry(info.location);
+ return `${country} | ${info.ip}`;
};
diff --git a/aitoearn_web/aitoearn-web/src/utils/request.ts b/aitoearn_web/aitoearn-web/src/utils/request.ts
index 54fdd165..f88d3a80 100644
--- a/aitoearn_web/aitoearn-web/src/utils/request.ts
+++ b/aitoearn_web/aitoearn-web/src/utils/request.ts
@@ -41,6 +41,14 @@ export async function request<T>(params: RequestParams) {
const res = await fetchService.request(params);
const data: ResponseType<T> = await res.json();
+ const lang = useUserStore.getState().lang || "zh-CN";
+ const isZh = (lang || "").toLowerCase().startsWith("zh");
+ const i18nText = {
+ networkBusy: isZh ? "网络繁忙,请稍后重试!" : "Network busy, please try again later!",
+ networkError: isZh ? "网络异常,请稍后重试!" : "Network error, please try again later!",
+ contact: isZh ? "如需帮助请联系客服:" : "Need help? Contact support:",
+ };
+
if (res.status === 401) {
// useUserStore.getState().logout();
// message.error({
@@ -53,8 +61,9 @@ export async function request<T>(params: RequestParams) {
if (data.code !== 0) {
if (typeof window !== "undefined")
message.warning({
- content: data.message || "网络繁忙,请稍后重试!",
+ content: `${data.message || i18nText.networkBusy} ${i18nText.contact} https://t.me/harryyyy2025`,
key: "apiErrorMessage",
+ duration: 6,
});
return null;
}
@@ -62,6 +71,13 @@ export async function request<T>(params: RequestParams) {
return data;
} catch (e) {
console.warn(e);
+ if (typeof window !== "undefined") {
+ message.error({
+ content: `${(useUserStore.getState().lang || "zh-CN").toLowerCase().startsWith("zh") ? "网络异常,请稍后重试!" : "Network error, please try again later!"} ${(useUserStore.getState().lang || "zh-CN").toLowerCase().startsWith("zh") ? "如需帮助请联系客服:" : "Need help? Contact support:"} https://t.me/harryyyy2025`,
+ key: "apiErrorMessage",
+ duration: 6,
+ });
+ }
return null;
}
}
diff --git a/aitoearn_web/aitoearn-web/yarn.lock b/aitoearn_web/aitoearn-web/yarn.lock
deleted file mode 100644
index f04cd4dd..00000000
--- a/aitoearn_web/aitoearn-web/yarn.lock
+++ /dev/null
@@ -1,4209 +0,0 @@
-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-# yarn lockfile v1
-
-
-"@ant-design/colors@^7.0.0", "@ant-design/colors@^7.2.1":
- version "7.2.1"
- resolved "https://registry.npmjs.org/@ant-design/colors/-/colors-7.2.1.tgz"
- integrity sha512-lCHDcEzieu4GA3n8ELeZ5VQ8pKQAWcGGLRTQ50aQM2iqPpq2evTxER84jfdPvsPAtEcZ7m44NI45edFMo8oOYQ==
- dependencies:
- "@ant-design/fast-color" "^2.0.6"
-
-"@ant-design/colors@^8.0.0":
- version "8.0.0"
- resolved "https://registry.npmjs.org/@ant-design/colors/-/colors-8.0.0.tgz"
- integrity sha512-6YzkKCw30EI/E9kHOIXsQDHmMvTllT8STzjMb4K2qzit33RW2pqCJP0sk+hidBntXxE+Vz4n1+RvCTfBw6OErw==
- dependencies:
- "@ant-design/fast-color" "^3.0.0"
-
-"@ant-design/cssinjs-utils@^1.1.3":
- version "1.1.3"
- resolved "https://registry.npmjs.org/@ant-design/cssinjs-utils/-/cssinjs-utils-1.1.3.tgz"
- integrity sha512-nOoQMLW1l+xR1Co8NFVYiP8pZp3VjIIzqV6D6ShYF2ljtdwWJn5WSsH+7kvCktXL/yhEtWURKOfH5Xz/gzlwsg==
- dependencies:
- "@ant-design/cssinjs" "^1.21.0"
- "@babel/runtime" "^7.23.2"
- rc-util "^5.38.0"
-
-"@ant-design/cssinjs@^1.21.0", "@ant-design/cssinjs@^1.23.0", "@ant-design/cssinjs@^1.24.0":
- version "1.24.0"
- resolved "https://registry.npmjs.org/@ant-design/cssinjs/-/cssinjs-1.24.0.tgz"
- integrity sha512-K4cYrJBsgvL+IoozUXYjbT6LHHNt+19a9zkvpBPxLjFHas1UpPM2A5MlhROb0BT8N8WoavM5VsP9MeSeNK/3mg==
- dependencies:
- "@babel/runtime" "^7.11.1"
- "@emotion/hash" "^0.8.0"
- "@emotion/unitless" "^0.7.5"
- classnames "^2.3.1"
- csstype "^3.1.3"
- rc-util "^5.35.0"
- stylis "^4.3.4"
-
-"@ant-design/fast-color@^2.0.6":
- version "2.0.6"
- resolved "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-2.0.6.tgz"
- integrity sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA==
- dependencies:
- "@babel/runtime" "^7.24.7"
-
-"@ant-design/fast-color@^3.0.0":
- version "3.0.0"
- resolved "https://registry.npmjs.org/@ant-design/fast-color/-/fast-color-3.0.0.tgz"
- integrity sha512-eqvpP7xEDm2S7dUzl5srEQCBTXZMmY3ekf97zI+M2DHOYyKdJGH0qua0JACHTqbkRnD/KHFQP9J1uMJ/XWVzzA==
-
-"@ant-design/icons-svg@^4.4.0":
- version "4.4.2"
- resolved "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz"
- integrity sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==
-
-"@ant-design/icons@^5.6.1":
- version "5.6.1"
- resolved "https://registry.npmjs.org/@ant-design/icons/-/icons-5.6.1.tgz"
- integrity sha512-0/xS39c91WjPAZOWsvi1//zjx6kAp4kxWwctR6kuU6p133w8RU0D2dSCvZC19uQyharg/sAvYxGYWl01BbZZfg==
- dependencies:
- "@ant-design/colors" "^7.0.0"
- "@ant-design/icons-svg" "^4.4.0"
- "@babel/runtime" "^7.24.8"
- classnames "^2.2.6"
- rc-util "^5.31.1"
-
-"@ant-design/icons@^6.0.0":
- version "6.0.0"
- resolved "https://registry.npmjs.org/@ant-design/icons/-/icons-6.0.0.tgz"
- integrity sha512-o0aCCAlHc1o4CQcapAwWzHeaW2x9F49g7P3IDtvtNXgHowtRWYb7kiubt8sQPFvfVIVU/jLw2hzeSlNt0FU+Uw==
- dependencies:
- "@ant-design/colors" "^8.0.0"
- "@ant-design/icons-svg" "^4.4.0"
- "@rc-component/util" "^1.2.1"
- classnames "^2.2.6"
-
-"@ant-design/nextjs-registry@^1.0.2":
- version "1.1.0"
- resolved "https://registry.npmjs.org/@ant-design/nextjs-registry/-/nextjs-registry-1.1.0.tgz"
- integrity sha512-zZ9SKyqTHonUK7l/z/ixpVx0LSnZTlIqYFOccSDI7jx7ojCMTGxzkl3ugGWPPh8xPYDsVxqzwJZBic84H7LgLw==
-
-"@ant-design/react-slick@~1.1.2":
- version "1.1.2"
- resolved "https://registry.npmjs.org/@ant-design/react-slick/-/react-slick-1.1.2.tgz"
- integrity sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA==
- dependencies:
- "@babel/runtime" "^7.10.4"
- classnames "^2.2.5"
- json2mq "^0.2.0"
- resize-observer-polyfill "^1.5.1"
- throttle-debounce "^5.0.0"
-
-"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.5", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.6", "@babel/runtime@^7.23.7", "@babel/runtime@^7.23.9", "@babel/runtime@^7.24.4", "@babel/runtime@^7.24.7", "@babel/runtime@^7.24.8", "@babel/runtime@^7.25.0", "@babel/runtime@^7.25.7", "@babel/runtime@^7.26.0", "@babel/runtime@^7.26.10", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2":
- version "7.28.2"
- resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.2.tgz"
- integrity sha512-KHp2IflsnGywDjBWDkR9iEqiWSpc8GIi0lgTT3mOElT0PP1tG26P4tmFI2YvAdzgq9RGyoHZQEIEdZy6Ec5xCA==
-
-"@corex/deepmerge@^4.0.43":
- version "4.0.43"
- resolved "https://registry.npmjs.org/@corex/deepmerge/-/deepmerge-4.0.43.tgz"
- integrity sha512-N8uEMrMPL0cu/bdboEWpQYb/0i2K5Qn8eCsxzOmxSggJbbQte7ljMRoXm917AbntqTGOzdTu+vP3KOOzoC70HQ==
-
-"@emotion/hash@^0.8.0":
- version "0.8.0"
- resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz"
- integrity sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==
-
-"@emotion/unitless@^0.7.5":
- version "0.7.5"
- resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz"
- integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==
-
-"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.7.0":
- version "4.7.0"
- resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz"
- integrity sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==
- dependencies:
- eslint-visitor-keys "^3.4.3"
-
-"@eslint-community/regexpp@^4.10.0", "@eslint-community/regexpp@^4.12.1":
- version "4.12.1"
- resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz"
- integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==
-
-"@eslint/config-array@^0.21.0":
- version "0.21.0"
- resolved "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz"
- integrity sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==
- dependencies:
- "@eslint/object-schema" "^2.1.6"
- debug "^4.3.1"
- minimatch "^3.1.2"
-
-"@eslint/config-helpers@^0.3.1":
- version "0.3.1"
- resolved "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.1.tgz"
- integrity sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA==
-
-"@eslint/core@^0.15.2":
- version "0.15.2"
- resolved "https://registry.npmjs.org/@eslint/core/-/core-0.15.2.tgz"
- integrity sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==
- dependencies:
- "@types/json-schema" "^7.0.15"
-
-"@eslint/eslintrc@^3", "@eslint/eslintrc@^3.3.1":
- version "3.3.1"
- resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz"
- integrity sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==
- dependencies:
- ajv "^6.12.4"
- debug "^4.3.2"
- espree "^10.0.1"
- globals "^14.0.0"
- ignore "^5.2.0"
- import-fresh "^3.2.1"
- js-yaml "^4.1.0"
- minimatch "^3.1.2"
- strip-json-comments "^3.1.1"
-
-"@eslint/[email protected]":
- version "9.33.0"
- resolved "https://registry.npmjs.org/@eslint/js/-/js-9.33.0.tgz"
- integrity sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A==
-
-"@eslint/object-schema@^2.1.6":
- version "2.1.6"
- resolved "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz"
- integrity sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==
-
-"@eslint/plugin-kit@^0.3.5":
- version "0.3.5"
- resolved "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz"
- integrity sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==
- dependencies:
- "@eslint/core" "^0.15.2"
- levn "^0.4.1"
-
-"@fluent/[email protected]":
- version "0.19.0"
- resolved "https://registry.npmjs.org/@fluent/syntax/-/syntax-0.19.0.tgz"
- integrity sha512-5D2qVpZrgpjtqU4eNOcWGp1gnUCgjfM+vKGE2y03kKN6z5EBhtx0qdRFbg8QuNNj8wXNoX93KJoYb+NqoxswmQ==
-
-"@fullcalendar/core@^6.1.17", "@fullcalendar/core@~6.1.19":
- version "6.1.19"
- resolved "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.19.tgz"
- integrity sha512-z0aVlO5e4Wah6p6mouM0UEqtRf1MZZPt4mwzEyU6kusaNL+dlWQgAasF2cK23hwT4cmxkEmr4inULXgpyeExdQ==
- dependencies:
- preact "~10.12.1"
-
-"@fullcalendar/daygrid@^6.1.17":
- version "6.1.19"
- resolved "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-6.1.19.tgz"
- integrity sha512-IAAfnMICnVWPjpT4zi87i3FEw0xxSza0avqY/HedKEz+l5MTBYvCDPOWDATpzXoLut3aACsjktIyw9thvIcRYQ==
-
-"@fullcalendar/react@^6.1.17":
- version "6.1.19"
- resolved "https://registry.npmjs.org/@fullcalendar/react/-/react-6.1.19.tgz"
- integrity sha512-FP78vnyylaL/btZeHig8LQgfHgfwxLaIG6sKbNkzkPkKEACv11UyyBoTSkaavPsHtXvAkcTED1l7TOunAyPEnA==
-
-"@humanfs/core@^0.19.1":
- version "0.19.1"
- resolved "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz"
- integrity sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==
-
-"@humanfs/node@^0.16.6":
- version "0.16.6"
- resolved "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz"
- integrity sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==
- dependencies:
- "@humanfs/core" "^0.19.1"
- "@humanwhocodes/retry" "^0.3.0"
-
-"@humanwhocodes/module-importer@^1.0.1":
- version "1.0.1"
- resolved "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz"
- integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
-
-"@humanwhocodes/retry@^0.3.0":
- version "0.3.1"
- resolved "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz"
- integrity sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==
-
-"@humanwhocodes/retry@^0.4.2":
- version "0.4.3"
- resolved "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz"
- integrity sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==
-
-"@isaacs/balanced-match@^4.0.1":
- version "4.0.1"
- resolved "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz"
- integrity sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==
-
-"@isaacs/brace-expansion@^5.0.0":
- version "5.0.0"
- resolved "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz"
- integrity sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==
- dependencies:
- "@isaacs/balanced-match" "^4.0.1"
-
-"@isaacs/cliui@^8.0.2":
- version "8.0.2"
- resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz"
- integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==
- dependencies:
- string-width "^5.1.2"
- string-width-cjs "npm:string-width@^4.2.0"
- strip-ansi "^7.0.1"
- strip-ansi-cjs "npm:strip-ansi@^6.0.1"
- wrap-ansi "^8.1.0"
- wrap-ansi-cjs "npm:wrap-ansi@^7.0.0"
-
-"@js.properties/[email protected]":
- version "0.5.4"
- resolved "https://registry.npmjs.org/@js.properties/properties/-/properties-0.5.4.tgz"
- integrity sha512-4M/Mb2CxzuI1CtQhVFs6OC9ceuGPAP6SOWnpLcrdB1TcUHroXbsYDVJNOm32koRMfuCoRACbojcm4dPPcQxu0w==
-
-"@kwooshung/react-no-ssr@^1.1.4":
- version "1.1.4"
- resolved "https://registry.npmjs.org/@kwooshung/react-no-ssr/-/react-no-ssr-1.1.4.tgz"
- integrity sha512-15hA3W5AF/qvhfyTFpMbyzET3lFAXvFsP3U+dEUCQ5+T0iRucddKuGpEsBEsd/74RXgvag8kCqi+WAfkjVMbSQ==
- dependencies:
- react "^18.2.0"
- react-dom "^18.2.0"
-
-"@next/env@^13.4.3":
- version "13.5.11"
- resolved "https://registry.npmjs.org/@next/env/-/env-13.5.11.tgz"
- integrity sha512-fbb2C7HChgM7CemdCY+y3N1n8pcTKdqtQLbC7/EQtPdLvlMUT9JX/dBYl8MMZAtYG4uVMyPFHXckb68q/NRwqg==
-
- version "14.2.29"
- resolved "https://registry.npmjs.org/@next/env/-/env-14.2.29.tgz"
- integrity sha512-UzgLR2eBfhKIQt0aJ7PWH7XRPYw7SXz0Fpzdl5THjUnvxy4kfBk9OU4RNPNiETewEEtaBcExNFNn1QWH8wQTjg==
-
- version "15.3.2"
- resolved "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.3.2.tgz"
- integrity sha512-ijVRTXBgnHT33aWnDtmlG+LJD+5vhc9AKTJPquGG5NKXjpKNjc62woIhFtrAcWdBobt8kqjCoaJ0q6sDQoX7aQ==
- dependencies:
- fast-glob "3.3.1"
-
- version "14.2.29"
- resolved "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.29.tgz"
- integrity sha512-iPPwUEKnVs7pwR0EBLJlwxLD7TTHWS/AoVZx1l9ZQzfQciqaFEr5AlYzA2uB6Fyby1IF18t4PL0nTpB+k4Tzlw==
-
-"@nodelib/[email protected]":
- version "2.1.5"
- resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz"
- integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==
- dependencies:
- "@nodelib/fs.stat" "2.0.5"
- run-parallel "^1.1.9"
-
-"@nodelib/fs.stat@^2.0.2", "@nodelib/[email protected]":
- version "2.0.5"
- resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz"
- integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
-
-"@nodelib/fs.walk@^1.2.3":
- version "1.2.8"
- resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz"
- integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==
- dependencies:
- "@nodelib/fs.scandir" "2.1.5"
- fastq "^1.6.0"
-
-"@nolyfill/[email protected]":
- version "1.0.39"
- resolved "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz"
- integrity sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==
-
-"@parcel/[email protected]":
- version "2.5.1"
- resolved "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.1.tgz"
- integrity sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==
-
-"@parcel/watcher@^2.4.1":
- version "2.5.1"
- resolved "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz"
- integrity sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==
- dependencies:
- detect-libc "^1.0.3"
- is-glob "^4.0.3"
- micromatch "^4.0.5"
- node-addon-api "^7.0.0"
- optionalDependencies:
- "@parcel/watcher-android-arm64" "2.5.1"
- "@parcel/watcher-darwin-arm64" "2.5.1"
- "@parcel/watcher-darwin-x64" "2.5.1"
- "@parcel/watcher-freebsd-x64" "2.5.1"
- "@parcel/watcher-linux-arm-glibc" "2.5.1"
- "@parcel/watcher-linux-arm-musl" "2.5.1"
- "@parcel/watcher-linux-arm64-glibc" "2.5.1"
- "@parcel/watcher-linux-arm64-musl" "2.5.1"
- "@parcel/watcher-linux-x64-glibc" "2.5.1"
- "@parcel/watcher-linux-x64-musl" "2.5.1"
- "@parcel/watcher-win32-arm64" "2.5.1"
- "@parcel/watcher-win32-ia32" "2.5.1"
- "@parcel/watcher-win32-x64" "2.5.1"
-
-"@pkgr/core@^0.2.9":
- version "0.2.9"
- resolved "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz"
- integrity sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==
-
-"@rc-component/async-validator@^5.0.3":
- version "5.0.4"
- resolved "https://registry.npmjs.org/@rc-component/async-validator/-/async-validator-5.0.4.tgz"
- integrity sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==
- dependencies:
- "@babel/runtime" "^7.24.4"
-
-"@rc-component/color-picker@~2.0.1":
- version "2.0.1"
- resolved "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-2.0.1.tgz"
- integrity sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==
- dependencies:
- "@ant-design/fast-color" "^2.0.6"
- "@babel/runtime" "^7.23.6"
- classnames "^2.2.6"
- rc-util "^5.38.1"
-
-"@rc-component/context@^1.4.0":
- version "1.4.0"
- resolved "https://registry.npmjs.org/@rc-component/context/-/context-1.4.0.tgz"
- integrity sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==
- dependencies:
- "@babel/runtime" "^7.10.1"
- rc-util "^5.27.0"
-
-"@rc-component/mini-decimal@^1.0.1":
- version "1.1.0"
- resolved "https://registry.npmjs.org/@rc-component/mini-decimal/-/mini-decimal-1.1.0.tgz"
- integrity sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==
- dependencies:
- "@babel/runtime" "^7.18.0"
-
-"@rc-component/mutate-observer@^1.1.0":
- version "1.1.0"
- resolved "https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz"
- integrity sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==
- dependencies:
- "@babel/runtime" "^7.18.0"
- classnames "^2.3.2"
- rc-util "^5.24.4"
-
-"@rc-component/portal@^1.0.0-8", "@rc-component/portal@^1.0.0-9", "@rc-component/portal@^1.0.2", "@rc-component/portal@^1.1.0", "@rc-component/portal@^1.1.1":
- version "1.1.2"
- resolved "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz"
- integrity sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==
- dependencies:
- "@babel/runtime" "^7.18.0"
- classnames "^2.3.2"
- rc-util "^5.24.4"
-
-"@rc-component/qrcode@~1.0.0":
- version "1.0.0"
- resolved "https://registry.npmjs.org/@rc-component/qrcode/-/qrcode-1.0.0.tgz"
- integrity sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==
- dependencies:
- "@babel/runtime" "^7.24.7"
- classnames "^2.3.2"
- rc-util "^5.38.0"
-
-"@rc-component/tour@~1.15.1":
- version "1.15.1"
- resolved "https://registry.npmjs.org/@rc-component/tour/-/tour-1.15.1.tgz"
- integrity sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==
- dependencies:
- "@babel/runtime" "^7.18.0"
- "@rc-component/portal" "^1.0.0-9"
- "@rc-component/trigger" "^2.0.0"
- classnames "^2.3.2"
- rc-util "^5.24.4"
-
-"@rc-component/trigger@^2.0.0", "@rc-component/trigger@^2.1.1", "@rc-component/trigger@^2.3.0":
- version "2.3.0"
- resolved "https://registry.npmjs.org/@rc-component/trigger/-/trigger-2.3.0.tgz"
- integrity sha512-iwaxZyzOuK0D7lS+0AQEtW52zUWxoGqTGkke3dRyb8pYiShmRpCjB/8TzPI4R6YySCH7Vm9BZj/31VPiiQTLBg==
- dependencies:
- "@babel/runtime" "^7.23.2"
- "@rc-component/portal" "^1.1.0"
- classnames "^2.3.2"
- rc-motion "^2.0.0"
- rc-resize-observer "^1.3.1"
- rc-util "^5.44.0"
-
-"@rc-component/util@^1.2.1":
- version "1.2.2"
- resolved "https://registry.npmjs.org/@rc-component/util/-/util-1.2.2.tgz"
- integrity sha512-p3zQr9Wu8BKncqmuW23olzBoAFsN8PYMS9FaI4JwJLwknH7DvfHAr1fwbfl9aAWw4Jva64ucpenbgG4fznLUSw==
- dependencies:
- is-mobile "^5.0.0"
- react-is "^18.2.0"
-
-"@react-dnd/asap@^5.0.1":
- version "5.0.2"
- resolved "https://registry.npmjs.org/@react-dnd/asap/-/asap-5.0.2.tgz"
- integrity sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A==
-
-"@react-dnd/invariant@^4.0.1":
- version "4.0.2"
- resolved "https://registry.npmjs.org/@react-dnd/invariant/-/invariant-4.0.2.tgz"
- integrity sha512-xKCTqAK/FFauOM9Ta2pswIyT3D8AQlfrYdOi/toTPEhqCuAs1v5tcJ3Y08Izh1cJ5Jchwy9SeAXmMg6zrKs2iw==
-
-"@react-dnd/shallowequal@^4.0.1":
- version "4.0.2"
- resolved "https://registry.npmjs.org/@react-dnd/shallowequal/-/shallowequal-4.0.2.tgz"
- integrity sha512-/RVXdLvJxLg4QKvMoM5WlwNR9ViO9z8B/qPcc+C0Sa/teJY7QG7kJ441DwzOjMYEY7GmU4dj5EcGHIkKZiQZCA==
-
-"@react-oauth/google@^0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@react-oauth/google/-/google-0.12.2.tgz"
- integrity sha512-d1GVm2uD4E44EJft2RbKtp8Z1fp/gK8Lb6KHgs3pHlM0PxCXGLaq8LLYQYENnN4xPWO1gkL4apBtlPKzpLvZwg==
-
-"@rtsao/scc@^1.1.0":
- version "1.1.0"
- resolved "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz"
- integrity sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==
-
-"@rushstack/eslint-patch@^1.10.3":
- version "1.12.0"
- resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.12.0.tgz"
- integrity sha512-5EwMtOqvJMMa3HbmxLlF74e+3/HhwBTMcvt3nqVJgGCozO6hzIPOBlwm8mGVNR9SN2IJpxSnlxczyDjcn7qIyw==
-
-"@swc/counter@^0.1.3":
- version "0.1.3"
- resolved "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz"
- integrity sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==
-
- version "0.5.5"
- resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz"
- integrity sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==
- dependencies:
- "@swc/counter" "^0.1.3"
- tslib "^2.4.0"
-
-"@szhsin/react-menu@^4.4.1":
- version "4.4.1"
- resolved "https://registry.npmjs.org/@szhsin/react-menu/-/react-menu-4.4.1.tgz"
- integrity sha512-a5uBCrYPpxiEwp839+cfEiaZh2LKqn9v7VUyBRjHWNjKbhVbSaI1Kyh5G3rIeHBxpbrhSYBmD5KJ5jgzhC2ECw==
- dependencies:
- react-transition-state "^2.3.1"
-
-"@types/blueimp-md5@^2.18.2":
- version "2.18.2"
- resolved "https://registry.npmjs.org/@types/blueimp-md5/-/blueimp-md5-2.18.2.tgz"
- integrity sha512-dJ9yRry9Olt5GAWlgCtE5dK9d/Dfhn/V7hna86eEO2Pn76+E8Y0S0n61iEUEGhWXXgtKtHxtZLVNwL8X+vLHzg==
-
-"@types/cookie@^0.6.0":
- version "0.6.0"
- resolved "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz"
- integrity sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==
-
-"@types/crypto-js@^4.2.2":
- version "4.2.2"
- resolved "https://registry.npmjs.org/@types/crypto-js/-/crypto-js-4.2.2.tgz"
- integrity sha512-sDOLlVbHhXpAUAL0YHDUUwDZf3iN4Bwi4W6a0W0b+QcAezUbRtH4FVb+9J4h+XFPW7l/gQ9F8qC7P+Ec4k8QVQ==
-
-"@types/estree@^1.0.6":
- version "1.0.8"
- resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz"
- integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==
-
-"@types/json-schema@^7.0.15":
- version "7.0.15"
- resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz"
- integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
-
-"@types/json5@^0.0.29":
- version "0.0.29"
- resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz"
- integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==
-
-"@types/lodash@^4.17.17":
- version "4.17.20"
- resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz"
- integrity sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==
-
-"@types/node@^20", "@types/node@>= 12":
- version "20.19.10"
- resolved "https://registry.npmjs.org/@types/node/-/node-20.19.10.tgz"
- integrity sha512-iAFpG6DokED3roLSP0K+ybeDdIX6Bc0Vd3mLW5uDqThPWtNos3E+EqOM11mPQHKzfWHqEBuLjIlsBQQ8CsISmQ==
- dependencies:
- undici-types "~6.21.0"
-
-"@types/prop-types@*":
- version "15.7.15"
- resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz"
- integrity sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==
-
-"@types/qs@^6.14.0":
- version "6.14.0"
- resolved "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz"
- integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==
-
-"@types/react-dom@^18":
- version "18.3.7"
- resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz"
- integrity sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==
-
-"@types/react-transition-group@^4.4.12":
- version "4.4.12"
- resolved "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz"
- integrity sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==
-
-"@types/react@*", "@types/react@^18", "@types/react@^18.0.0", "@types/react@>= 16", "@types/react@>=18.0.0":
- version "18.3.23"
- resolved "https://registry.npmjs.org/@types/react/-/react-18.3.23.tgz"
- integrity sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==
- dependencies:
- "@types/prop-types" "*"
- csstype "^3.0.2"
-
-"@types/sortablejs@1":
- version "1.15.8"
- resolved "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.15.8.tgz"
- integrity sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==
-
-"@typescript-eslint/eslint-plugin@^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "@typescript-eslint/eslint-plugin@^8.0.0", "@typescript-eslint/eslint-plugin@^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.1.tgz"
- integrity sha512-yYegZ5n3Yr6eOcqgj2nJH8cH/ZZgF+l0YIdKILSDjYFRjgYQMgv/lRjV5Z7Up04b9VYUondt8EPMqg7kTWgJ2g==
- dependencies:
- "@eslint-community/regexpp" "^4.10.0"
- "@typescript-eslint/scope-manager" "8.39.1"
- "@typescript-eslint/type-utils" "8.39.1"
- "@typescript-eslint/utils" "8.39.1"
- "@typescript-eslint/visitor-keys" "8.39.1"
- graphemer "^1.4.0"
- ignore "^7.0.0"
- natural-compare "^1.4.0"
- ts-api-utils "^2.1.0"
-
-"@typescript-eslint/parser@^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "@typescript-eslint/parser@^8.0.0", "@typescript-eslint/parser@^8.39.1":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.39.1.tgz"
- integrity sha512-pUXGCuHnnKw6PyYq93lLRiZm3vjuslIy7tus1lIQTYVK9bL8XBgJnCWm8a0KcTtHC84Yya1Q6rtll+duSMj0dg==
- dependencies:
- "@typescript-eslint/scope-manager" "8.39.1"
- "@typescript-eslint/types" "8.39.1"
- "@typescript-eslint/typescript-estree" "8.39.1"
- "@typescript-eslint/visitor-keys" "8.39.1"
- debug "^4.3.4"
-
-"@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.39.1.tgz"
- integrity sha512-8fZxek3ONTwBu9ptw5nCKqZOSkXshZB7uAxuFF0J/wTMkKydjXCzqqga7MlFMpHi9DoG4BadhmTkITBcg8Aybw==
- dependencies:
- "@typescript-eslint/tsconfig-utils" "^8.39.1"
- "@typescript-eslint/types" "^8.39.1"
- debug "^4.3.4"
-
-"@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.39.1.tgz"
- integrity sha512-RkBKGBrjgskFGWuyUGz/EtD8AF/GW49S21J8dvMzpJitOF1slLEbbHnNEtAHtnDAnx8qDEdRrULRnWVx27wGBw==
- dependencies:
- "@typescript-eslint/types" "8.39.1"
- "@typescript-eslint/visitor-keys" "8.39.1"
-
-"@typescript-eslint/tsconfig-utils@^8.39.1", "@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.1.tgz"
- integrity sha512-ePUPGVtTMR8XMU2Hee8kD0Pu4NDE1CN9Q1sxGSGd/mbOtGZDM7pnhXNJnzW63zk/q+Z54zVzj44HtwXln5CvHA==
-
-"@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.39.1.tgz"
- integrity sha512-gu9/ahyatyAdQbKeHnhT4R+y3YLtqqHyvkfDxaBYk97EcbfChSJXyaJnIL3ygUv7OuZatePHmQvuH5ru0lnVeA==
- dependencies:
- "@typescript-eslint/types" "8.39.1"
- "@typescript-eslint/typescript-estree" "8.39.1"
- "@typescript-eslint/utils" "8.39.1"
- debug "^4.3.4"
- ts-api-utils "^2.1.0"
-
-"@typescript-eslint/types@^8.39.1", "@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.39.1.tgz"
- integrity sha512-7sPDKQQp+S11laqTrhHqeAbsCfMkwJMrV7oTDvtDds4mEofJYir414bYKUEb8YPUm9QL3U+8f6L6YExSoAGdQw==
-
-"@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.1.tgz"
- integrity sha512-EKkpcPuIux48dddVDXyQBlKdeTPMmALqBUbEk38McWv0qVEZwOpVJBi7ugK5qVNgeuYjGNQxrrnoM/5+TI/BPw==
- dependencies:
- "@typescript-eslint/project-service" "8.39.1"
- "@typescript-eslint/tsconfig-utils" "8.39.1"
- "@typescript-eslint/types" "8.39.1"
- "@typescript-eslint/visitor-keys" "8.39.1"
- debug "^4.3.4"
- fast-glob "^3.3.2"
- is-glob "^4.0.3"
- minimatch "^9.0.4"
- semver "^7.6.0"
- ts-api-utils "^2.1.0"
-
-"@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.39.1.tgz"
- integrity sha512-VF5tZ2XnUSTuiqZFXCZfZs1cgkdd3O/sSYmdo2EpSyDlC86UM/8YytTmKnehOW3TGAlivqTDT6bS87B/GQ/jyg==
- dependencies:
- "@eslint-community/eslint-utils" "^4.7.0"
- "@typescript-eslint/scope-manager" "8.39.1"
- "@typescript-eslint/types" "8.39.1"
- "@typescript-eslint/typescript-estree" "8.39.1"
-
-"@typescript-eslint/[email protected]":
- version "8.39.1"
- resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.1.tgz"
- integrity sha512-W8FQi6kEh2e8zVhQ0eeRnxdvIoOkAp/CPAahcNio6nO9dsIwb9b34z90KOlheoyuVf6LSOEdjlkxSkapNEc+4A==
- dependencies:
- "@typescript-eslint/types" "8.39.1"
- eslint-visitor-keys "^4.2.1"
-
- version "1.11.1"
- resolved "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz"
- integrity sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==
-
- version "3.0.20"
- resolved "https://registry.npmjs.org/accept-language/-/accept-language-3.0.20.tgz"
- integrity sha512-xklPzRma4aoDEPk0ZfMjeuxB2FP4JBYlAR25OFUqCoOYDjYo6wGwAs49SnTN/MoB5VpnNX9tENfZ+vEIFmHQMQ==
- dependencies:
- bcp47 "^1.1.2"
-
-acorn-jsx@^5.3.2:
- version "5.3.2"
- resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz"
- integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==
-
-"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8.15.0:
- version "8.15.0"
- resolved "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz"
- integrity sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==
-
-agent-base@^7.1.2:
- version "7.1.4"
- resolved "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz"
- integrity sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==
-
-ajv@^6.12.4:
- version "6.12.6"
- resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz"
- integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
- dependencies:
- fast-deep-equal "^3.1.1"
- fast-json-stable-stringify "^2.0.0"
- json-schema-traverse "^0.4.1"
- uri-js "^4.2.2"
-
- version "2.3.10"
- resolved "https://registry.npmjs.org/android-string-resource/-/android-string-resource-2.3.10.tgz"
- integrity sha512-Ldzy2znjm+BVWVHbzyhmdiznVdIum/EM2CMtSPjnoVr1/MljZTVPB08giSpm1WIo00fK/sL/kcnvr0+d9wVUzA==
- dependencies:
- rdotjson "1.1.1"
- xml-js "1.6.11"
-
-ansi-regex@^5.0.1:
- version "5.0.1"
- resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz"
- integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
-
-ansi-regex@^6.0.1:
- version "6.1.0"
- resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz"
- integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==
-
-ansi-styles@^4.0.0:
- version "4.3.0"
- resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
- integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
- dependencies:
- color-convert "^2.0.1"
-
-ansi-styles@^4.1.0:
- version "4.3.0"
- resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
- integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
- dependencies:
- color-convert "^2.0.1"
-
-ansi-styles@^6.1.0:
- version "6.2.1"
- resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz"
- integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
-
-antd@^5.0.0, antd@^5.25.2:
- version "5.27.0"
- resolved "https://registry.npmjs.org/antd/-/antd-5.27.0.tgz"
- integrity sha512-o54dmpooLOc08RSGCkeEQBYAGPxUSmnhmYJKCNTHH46vzjOVxdteu+wPTRVkRbAkDTbs2VcNr5VL7Lu67rPIiA==
- dependencies:
- "@ant-design/colors" "^7.2.1"
- "@ant-design/cssinjs" "^1.23.0"
- "@ant-design/cssinjs-utils" "^1.1.3"
- "@ant-design/fast-color" "^2.0.6"
- "@ant-design/icons" "^5.6.1"
- "@ant-design/react-slick" "~1.1.2"
- "@babel/runtime" "^7.26.0"
- "@rc-component/color-picker" "~2.0.1"
- "@rc-component/mutate-observer" "^1.1.0"
- "@rc-component/qrcode" "~1.0.0"
- "@rc-component/tour" "~1.15.1"
- "@rc-component/trigger" "^2.3.0"
- classnames "^2.5.1"
- copy-to-clipboard "^3.3.3"
- dayjs "^1.11.11"
- rc-cascader "~3.34.0"
- rc-checkbox "~3.5.0"
- rc-collapse "~3.9.0"
- rc-dialog "~9.6.0"
- rc-drawer "~7.3.0"
- rc-dropdown "~4.2.1"
- rc-field-form "~2.7.0"
- rc-image "~7.12.0"
- rc-input "~1.8.0"
- rc-input-number "~9.5.0"
- rc-mentions "~2.20.0"
- rc-menu "~9.16.1"
- rc-motion "^2.9.5"
- rc-notification "~5.6.4"
- rc-pagination "~5.1.0"
- rc-picker "~4.11.3"
- rc-progress "~4.0.0"
- rc-rate "~2.13.1"
- rc-resize-observer "^1.4.3"
- rc-segmented "~2.7.0"
- rc-select "~14.16.8"
- rc-slider "~11.1.8"
- rc-steps "~6.0.1"
- rc-switch "~4.1.0"
- rc-table "~7.51.1"
- rc-tabs "~15.7.0"
- rc-textarea "~1.10.2"
- rc-tooltip "~6.4.0"
- rc-tree "~5.13.1"
- rc-tree-select "~5.27.0"
- rc-upload "~4.9.2"
- rc-util "^5.44.4"
- scroll-into-view-if-needed "^3.1.0"
- throttle-debounce "^5.0.2"
-
-argparse@^2.0.1:
- version "2.0.1"
- resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz"
- integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
-
-aria-query@^5.3.2:
- version "5.3.2"
- resolved "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz"
- integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==
-
-array-buffer-byte-length@^1.0.1, array-buffer-byte-length@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz"
- integrity sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==
- dependencies:
- call-bound "^1.0.3"
- is-array-buffer "^3.0.5"
-
-array-includes@^3.1.6, array-includes@^3.1.8, array-includes@^3.1.9:
- version "3.1.9"
- resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz"
- integrity sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.4"
- define-properties "^1.2.1"
- es-abstract "^1.24.0"
- es-object-atoms "^1.1.1"
- get-intrinsic "^1.3.0"
- is-string "^1.1.1"
- math-intrinsics "^1.1.0"
-
-array.prototype.findlast@^1.2.5:
- version "1.2.5"
- resolved "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz"
- integrity sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==
- dependencies:
- call-bind "^1.0.7"
- define-properties "^1.2.1"
- es-abstract "^1.23.2"
- es-errors "^1.3.0"
- es-object-atoms "^1.0.0"
- es-shim-unscopables "^1.0.2"
-
-array.prototype.findlastindex@^1.2.6:
- version "1.2.6"
- resolved "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz"
- integrity sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.4"
- define-properties "^1.2.1"
- es-abstract "^1.23.9"
- es-errors "^1.3.0"
- es-object-atoms "^1.1.1"
- es-shim-unscopables "^1.1.0"
-
-array.prototype.flat@^1.3.1, array.prototype.flat@^1.3.3:
- version "1.3.3"
- resolved "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz"
- integrity sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==
- dependencies:
- call-bind "^1.0.8"
- define-properties "^1.2.1"
- es-abstract "^1.23.5"
- es-shim-unscopables "^1.0.2"
-
-array.prototype.flatmap@^1.3.2, array.prototype.flatmap@^1.3.3:
- version "1.3.3"
- resolved "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz"
- integrity sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==
- dependencies:
- call-bind "^1.0.8"
- define-properties "^1.2.1"
- es-abstract "^1.23.5"
- es-shim-unscopables "^1.0.2"
-
-array.prototype.tosorted@^1.1.4:
- version "1.1.4"
- resolved "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz"
- integrity sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==
- dependencies:
- call-bind "^1.0.7"
- define-properties "^1.2.1"
- es-abstract "^1.23.3"
- es-errors "^1.3.0"
- es-shim-unscopables "^1.0.2"
-
-arraybuffer.prototype.slice@^1.0.4:
- version "1.0.4"
- resolved "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz"
- integrity sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==
- dependencies:
- array-buffer-byte-length "^1.0.1"
- call-bind "^1.0.8"
- define-properties "^1.2.1"
- es-abstract "^1.23.5"
- es-errors "^1.3.0"
- get-intrinsic "^1.2.6"
- is-array-buffer "^3.0.4"
-
-arrify@^2.0.1:
- version "2.0.1"
- resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz"
- integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==
-
-ast-types-flow@^0.0.8:
- version "0.0.8"
- resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz"
- integrity sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==
-
-async-function@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz"
- integrity sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==
-
- version "3.2.6"
- resolved "https://registry.npmjs.org/async/-/async-3.2.6.tgz"
- integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==
-
-asynckit@^0.4.0:
- version "0.4.0"
- resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
- integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==
-
-available-typed-arrays@^1.0.7:
- version "1.0.7"
- resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz"
- integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==
- dependencies:
- possible-typed-array-names "^1.0.0"
-
-axe-core@^4.10.0:
- version "4.10.3"
- resolved "https://registry.npmjs.org/axe-core/-/axe-core-4.10.3.tgz"
- integrity sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==
-
-axios@^1.9.0:
- version "1.11.0"
- resolved "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz"
- integrity sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==
- dependencies:
- follow-redirects "^1.15.6"
- form-data "^4.0.4"
- proxy-from-env "^1.1.0"
-
-axobject-query@^4.1.0:
- version "4.1.0"
- resolved "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz"
- integrity sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==
-
-balanced-match@^1.0.0:
- version "1.0.2"
- resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
- integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
-
-bcp47@^1.1.2:
- version "1.1.2"
- resolved "https://registry.npmjs.org/bcp47/-/bcp47-1.1.2.tgz"
- integrity sha512-JnkkL4GUpOvvanH9AZPX38CxhiLsXMBicBY2IAtqiVN8YulGDQybUydWA4W6yAMtw6iShtw+8HEF6cfrTHU+UQ==
-
-blueimp-md5@^2.19.0:
- version "2.19.0"
- resolved "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz"
- integrity sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==
-
-boolbase@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz"
- integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==
-
-brace-expansion@^1.1.7:
- version "1.1.12"
- resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz"
- integrity sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==
- dependencies:
- balanced-match "^1.0.0"
- concat-map "0.0.1"
-
-brace-expansion@^2.0.1:
- version "2.0.2"
- resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz"
- integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
- dependencies:
- balanced-match "^1.0.0"
-
-braces@^3.0.3:
- version "3.0.3"
- resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz"
- integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
- dependencies:
- fill-range "^7.1.1"
-
- version "1.6.0"
- resolved "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz"
- integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
- dependencies:
- streamsearch "^1.1.0"
-
- version "6.1.0"
- resolved "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz"
- integrity sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==
-
-call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz"
- integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==
- dependencies:
- es-errors "^1.3.0"
- function-bind "^1.1.2"
-
-call-bind@^1.0.7, call-bind@^1.0.8:
- version "1.0.8"
- resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz"
- integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==
- dependencies:
- call-bind-apply-helpers "^1.0.0"
- es-define-property "^1.0.0"
- get-intrinsic "^1.2.4"
- set-function-length "^1.2.2"
-
-call-bound@^1.0.2, call-bound@^1.0.3, call-bound@^1.0.4:
- version "1.0.4"
- resolved "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz"
- integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==
- dependencies:
- call-bind-apply-helpers "^1.0.2"
- get-intrinsic "^1.3.0"
-
-callsites@^3.0.0:
- version "3.1.0"
- resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz"
- integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
-
-caniuse-lite@^1.0.30001579:
- version "1.0.30001734"
- resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001734.tgz"
- integrity sha512-uhE1Ye5vgqju6OI71HTQqcBCZrvHugk0MjLak7Q+HfoBgoq5Bi+5YnwjP4fjDgrtYr/l8MVRBvzz9dPD4KyK0A==
-
-chalk@^4.0.0:
- version "4.1.2"
- resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
- integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
- dependencies:
- ansi-styles "^4.1.0"
- supports-color "^7.1.0"
-
-cheerio-select@^2.1.0:
- version "2.1.0"
- resolved "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz"
- integrity sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==
- dependencies:
- boolbase "^1.0.0"
- css-select "^5.1.0"
- css-what "^6.1.0"
- domelementtype "^2.3.0"
- domhandler "^5.0.3"
- domutils "^3.0.1"
-
- version "1.0.0-rc.12"
- resolved "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.12.tgz"
- integrity sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==
- dependencies:
- cheerio-select "^2.1.0"
- dom-serializer "^2.0.0"
- domhandler "^5.0.3"
- domutils "^3.0.1"
- htmlparser2 "^8.0.1"
- parse5 "^7.0.0"
- parse5-htmlparser2-tree-adapter "^7.0.0"
-
-chokidar@^4.0.0:
- version "4.0.3"
- resolved "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz"
- integrity sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==
- dependencies:
- readdirp "^4.0.1"
-
-classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.5, classnames@^2.2.6, classnames@^2.3.1, classnames@^2.3.2, classnames@^2.5.1, [email protected]:
- version "2.5.1"
- resolved "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz"
- integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==
-
- version "2.3.1"
- resolved "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz"
- integrity sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==
-
- version "0.0.1"
- resolved "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz"
- integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==
-
-color-convert@^2.0.1:
- version "2.0.1"
- resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
- integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
- dependencies:
- color-name "~1.1.4"
-
-color-name@~1.1.4:
- version "1.1.4"
- resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
- integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
-
- version "1.4.0"
- resolved "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz"
- integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
-
-combined-stream@^1.0.8:
- version "1.0.8"
- resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz"
- integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
- dependencies:
- delayed-stream "~1.0.0"
-
- version "9.5.0"
- resolved "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz"
- integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==
-
-compute-scroll-into-view@^3.0.2:
- version "3.1.1"
- resolved "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.1.1.tgz"
- integrity sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==
-
- version "0.0.1"
- resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
- integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
-
- version "1.0.5"
- resolved "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz"
- integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==
-
-cookie@^0.7.0:
- version "0.7.2"
- resolved "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz"
- integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==
-
-cookies-next@^4.3.0:
- version "4.3.0"
- resolved "https://registry.npmjs.org/cookies-next/-/cookies-next-4.3.0.tgz"
- integrity sha512-XxeCwLR30cWwRd94sa9X5lRCDLVujtx73tv+N0doQCFIDl83fuuYdxbu/WQUt9aSV7EJx7bkMvJldjvzuFqr4w==
- dependencies:
- "@types/cookie" "^0.6.0"
- cookie "^0.7.0"
-
-copy-to-clipboard@^3.3.3:
- version "3.3.3"
- resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz"
- integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==
- dependencies:
- toggle-selection "^1.0.6"
-
-cropperjs@^1.6.2:
- version "1.6.2"
- resolved "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.2.tgz"
- integrity sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA==
-
-cross-spawn@^7.0.6:
- version "7.0.6"
- resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz"
- integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
- dependencies:
- path-key "^3.1.0"
- shebang-command "^2.0.0"
- which "^2.0.1"
-
-crypto-js@^4.2.0:
- version "4.2.0"
- resolved "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz"
- integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==
-
-css-select@^5.1.0:
- version "5.2.2"
- resolved "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz"
- integrity sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==
- dependencies:
- boolbase "^1.0.0"
- css-what "^6.1.0"
- domhandler "^5.0.2"
- domutils "^3.0.1"
- nth-check "^2.0.1"
-
-css-what@^6.1.0:
- version "6.2.2"
- resolved "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz"
- integrity sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==
-
-csstype@^3.0.2, csstype@^3.1.3:
- version "3.1.3"
- resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz"
- integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
-
- version "5.1.0"
- resolved "https://registry.npmjs.org/csvjson/-/csvjson-5.1.0.tgz"
- integrity sha512-OqALQHA0k2rEGluOWikwFq5qtkRUDyoWP2u0UJy8uFjFx5FPMjPzx7D2Hn2KjBLpc8jkGrT9HDNgTUfopDlqVg==
-
-damerau-levenshtein@^1.0.8:
- version "1.0.8"
- resolved "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz"
- integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==
-
-data-view-buffer@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz"
- integrity sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==
- dependencies:
- call-bound "^1.0.3"
- es-errors "^1.3.0"
- is-data-view "^1.0.2"
-
-data-view-byte-length@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz"
- integrity sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==
- dependencies:
- call-bound "^1.0.3"
- es-errors "^1.3.0"
- is-data-view "^1.0.2"
-
-data-view-byte-offset@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz"
- integrity sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==
- dependencies:
- call-bound "^1.0.2"
- es-errors "^1.3.0"
- is-data-view "^1.0.1"
-
-dayjs@^1.11.11, dayjs@^1.11.13, "dayjs@>= 1.x":
- version "1.11.13"
- resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz"
- integrity sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==
-
-debug@^3.2.7:
- version "3.2.7"
- resolved "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz"
- integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
- dependencies:
- ms "^2.1.1"
-
-debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.4.0, debug@4:
- version "4.4.1"
- resolved "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz"
- integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==
- dependencies:
- ms "^2.1.3"
-
-deep-is@^0.1.3:
- version "0.1.4"
- resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz"
- integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
-
-define-data-property@^1.0.1, define-data-property@^1.1.4:
- version "1.1.4"
- resolved "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz"
- integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==
- dependencies:
- es-define-property "^1.0.0"
- es-errors "^1.3.0"
- gopd "^1.0.1"
-
-define-properties@^1.1.3, define-properties@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz"
- integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==
- dependencies:
- define-data-property "^1.0.1"
- has-property-descriptors "^1.0.0"
- object-keys "^1.1.1"
-
-delayed-stream@~1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
- integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==
-
-detect-libc@^1.0.3:
- version "1.0.3"
- resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz"
- integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==
-
- version "7.0.0"
- resolved "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz"
- integrity sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==
-
-dnd-core@^16.0.1:
- version "16.0.1"
- resolved "https://registry.npmjs.org/dnd-core/-/dnd-core-16.0.1.tgz"
- integrity sha512-HK294sl7tbw6F6IeuK16YSBUoorvHpY8RHO+9yFfaJyCDVb6n7PRcezrOEOa2SBCqiYpemh5Jx20ZcjKdFAVng==
- dependencies:
- "@react-dnd/asap" "^5.0.1"
- "@react-dnd/invariant" "^4.0.1"
- redux "^4.2.0"
-
-doctrine@^2.1.0:
- version "2.1.0"
- resolved "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz"
- integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==
- dependencies:
- esutils "^2.0.2"
-
-dom-helpers@^5.0.1:
- version "5.2.1"
- resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz"
- integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==
- dependencies:
- "@babel/runtime" "^7.8.7"
- csstype "^3.0.2"
-
-dom-serializer@^2.0.0:
- version "2.0.0"
- resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz"
- integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==
- dependencies:
- domelementtype "^2.3.0"
- domhandler "^5.0.2"
- entities "^4.2.0"
-
-domelementtype@^2.3.0:
- version "2.3.0"
- resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz"
- integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==
-
-domhandler@^5.0.2, domhandler@^5.0.3:
- version "5.0.3"
- resolved "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz"
- integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==
- dependencies:
- domelementtype "^2.3.0"
-
-domutils@^3.0.1:
- version "3.2.2"
- resolved "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz"
- integrity sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==
- dependencies:
- dom-serializer "^2.0.0"
- domelementtype "^2.3.0"
- domhandler "^5.0.3"
-
- version "16.4.7"
- resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz"
- integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==
-
-dunder-proto@^1.0.0, dunder-proto@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz"
- integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==
- dependencies:
- call-bind-apply-helpers "^1.0.1"
- es-errors "^1.3.0"
- gopd "^1.2.0"
-
-eastasianwidth@^0.2.0:
- version "0.2.0"
- resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz"
- integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
-
-emoji-regex@^8.0.0:
- version "8.0.0"
- resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"
- integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
-
-emoji-regex@^9.2.2:
- version "9.2.2"
- resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz"
- integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
-
-encoding@^0.1.0, [email protected]:
- version "0.1.13"
- resolved "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz"
- integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==
- dependencies:
- iconv-lite "^0.6.2"
-
-entities@^4.2.0, entities@^4.4.0:
- version "4.5.0"
- resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz"
- integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
-
-entities@^6.0.0:
- version "6.0.1"
- resolved "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz"
- integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==
-
-es-abstract@^1.17.5, es-abstract@^1.23.2, es-abstract@^1.23.3, es-abstract@^1.23.5, es-abstract@^1.23.6, es-abstract@^1.23.9, es-abstract@^1.24.0:
- version "1.24.0"
- resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.0.tgz"
- integrity sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==
- dependencies:
- array-buffer-byte-length "^1.0.2"
- arraybuffer.prototype.slice "^1.0.4"
- available-typed-arrays "^1.0.7"
- call-bind "^1.0.8"
- call-bound "^1.0.4"
- data-view-buffer "^1.0.2"
- data-view-byte-length "^1.0.2"
- data-view-byte-offset "^1.0.1"
- es-define-property "^1.0.1"
- es-errors "^1.3.0"
- es-object-atoms "^1.1.1"
- es-set-tostringtag "^2.1.0"
- es-to-primitive "^1.3.0"
- function.prototype.name "^1.1.8"
- get-intrinsic "^1.3.0"
- get-proto "^1.0.1"
- get-symbol-description "^1.1.0"
- globalthis "^1.0.4"
- gopd "^1.2.0"
- has-property-descriptors "^1.0.2"
- has-proto "^1.2.0"
- has-symbols "^1.1.0"
- hasown "^2.0.2"
- internal-slot "^1.1.0"
- is-array-buffer "^3.0.5"
- is-callable "^1.2.7"
- is-data-view "^1.0.2"
- is-negative-zero "^2.0.3"
- is-regex "^1.2.1"
- is-set "^2.0.3"
- is-shared-array-buffer "^1.0.4"
- is-string "^1.1.1"
- is-typed-array "^1.1.15"
- is-weakref "^1.1.1"
- math-intrinsics "^1.1.0"
- object-inspect "^1.13.4"
- object-keys "^1.1.1"
- object.assign "^4.1.7"
- own-keys "^1.0.1"
- regexp.prototype.flags "^1.5.4"
- safe-array-concat "^1.1.3"
- safe-push-apply "^1.0.0"
- safe-regex-test "^1.1.0"
- set-proto "^1.0.0"
- stop-iteration-iterator "^1.1.0"
- string.prototype.trim "^1.2.10"
- string.prototype.trimend "^1.0.9"
- string.prototype.trimstart "^1.0.8"
- typed-array-buffer "^1.0.3"
- typed-array-byte-length "^1.0.3"
- typed-array-byte-offset "^1.0.4"
- typed-array-length "^1.0.7"
- unbox-primitive "^1.1.0"
- which-typed-array "^1.1.19"
-
-es-define-property@^1.0.0, es-define-property@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz"
- integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==
-
-es-errors@^1.3.0:
- version "1.3.0"
- resolved "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz"
- integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==
-
-es-iterator-helpers@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.1.tgz"
- integrity sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.3"
- define-properties "^1.2.1"
- es-abstract "^1.23.6"
- es-errors "^1.3.0"
- es-set-tostringtag "^2.0.3"
- function-bind "^1.1.2"
- get-intrinsic "^1.2.6"
- globalthis "^1.0.4"
- gopd "^1.2.0"
- has-property-descriptors "^1.0.2"
- has-proto "^1.2.0"
- has-symbols "^1.1.0"
- internal-slot "^1.1.0"
- iterator.prototype "^1.1.4"
- safe-array-concat "^1.1.3"
-
-es-object-atoms@^1.0.0, es-object-atoms@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz"
- integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==
- dependencies:
- es-errors "^1.3.0"
-
-es-set-tostringtag@^2.0.3, es-set-tostringtag@^2.1.0:
- version "2.1.0"
- resolved "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz"
- integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==
- dependencies:
- es-errors "^1.3.0"
- get-intrinsic "^1.2.6"
- has-tostringtag "^1.0.2"
- hasown "^2.0.2"
-
-es-shim-unscopables@^1.0.2, es-shim-unscopables@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz"
- integrity sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==
- dependencies:
- hasown "^2.0.2"
-
-es-to-primitive@^1.3.0:
- version "1.3.0"
- resolved "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz"
- integrity sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==
- dependencies:
- is-callable "^1.2.7"
- is-date-object "^1.0.5"
- is-symbol "^1.0.4"
-
-escape-string-regexp@^4.0.0:
- version "4.0.0"
- resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz"
- integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
-
- version "15.3.2"
- resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.3.2.tgz"
- integrity sha512-FerU4DYccO4FgeYFFglz0SnaKRe1ejXQrDb8kWUkTAg036YWi+jUsgg4sIGNCDhAsDITsZaL4MzBWKB6f4G1Dg==
- dependencies:
- "@next/eslint-plugin-next" "15.3.2"
- "@rushstack/eslint-patch" "^1.10.3"
- "@typescript-eslint/eslint-plugin" "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0"
- "@typescript-eslint/parser" "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0"
- eslint-import-resolver-node "^0.3.6"
- eslint-import-resolver-typescript "^3.5.2"
- eslint-plugin-import "^2.31.0"
- eslint-plugin-jsx-a11y "^6.10.0"
- eslint-plugin-react "^7.37.0"
- eslint-plugin-react-hooks "^5.0.0"
-
-eslint-config-prettier@^8.8.0, "eslint-config-prettier@>= 7.0.0 <10.0.0 || >=10.1.0":
- version "8.10.2"
- resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.2.tgz"
- integrity sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==
-
-eslint-import-resolver-node@^0.3.6, eslint-import-resolver-node@^0.3.9:
- version "0.3.9"
- resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz"
- integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==
- dependencies:
- debug "^3.2.7"
- is-core-module "^2.13.0"
- resolve "^1.22.4"
-
-eslint-import-resolver-typescript@^3.5.2:
- version "3.10.1"
- resolved "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz"
- integrity sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==
- dependencies:
- "@nolyfill/is-core-module" "1.0.39"
- debug "^4.4.0"
- get-tsconfig "^4.10.0"
- is-bun-module "^2.0.0"
- stable-hash "^0.0.5"
- tinyglobby "^0.2.13"
- unrs-resolver "^1.6.2"
-
-eslint-module-utils@^2.12.1:
- version "2.12.1"
- resolved "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.1.tgz"
- integrity sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==
- dependencies:
- debug "^3.2.7"
-
-eslint-plugin-import@*, eslint-plugin-import@^2.31.0:
- version "2.32.0"
- resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.32.0.tgz"
- integrity sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==
- dependencies:
- "@rtsao/scc" "^1.1.0"
- array-includes "^3.1.9"
- array.prototype.findlastindex "^1.2.6"
- array.prototype.flat "^1.3.3"
- array.prototype.flatmap "^1.3.3"
- debug "^3.2.7"
- doctrine "^2.1.0"
- eslint-import-resolver-node "^0.3.9"
- eslint-module-utils "^2.12.1"
- hasown "^2.0.2"
- is-core-module "^2.16.1"
- is-glob "^4.0.3"
- minimatch "^3.1.2"
- object.fromentries "^2.0.8"
- object.groupby "^1.0.3"
- object.values "^1.2.1"
- semver "^6.3.1"
- string.prototype.trimend "^1.0.9"
- tsconfig-paths "^3.15.0"
-
-eslint-plugin-jsx-a11y@^6.10.0:
- version "6.10.2"
- resolved "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz"
- integrity sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==
- dependencies:
- aria-query "^5.3.2"
- array-includes "^3.1.8"
- array.prototype.flatmap "^1.3.2"
- ast-types-flow "^0.0.8"
- axe-core "^4.10.0"
- axobject-query "^4.1.0"
- damerau-levenshtein "^1.0.8"
- emoji-regex "^9.2.2"
- hasown "^2.0.2"
- jsx-ast-utils "^3.3.5"
- language-tags "^1.0.9"
- minimatch "^3.1.2"
- object.fromentries "^2.0.8"
- safe-regex-test "^1.0.3"
- string.prototype.includes "^2.0.1"
-
-eslint-plugin-prettier@^5.1.3:
- version "5.5.4"
- resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.4.tgz"
- integrity sha512-swNtI95SToIz05YINMA6Ox5R057IMAmWZ26GqPxusAp1TZzj+IdY9tXNWWD3vkF/wEqydCONcwjTFpxybBqZsg==
- dependencies:
- prettier-linter-helpers "^1.0.0"
- synckit "^0.11.7"
-
-eslint-plugin-react-hooks@^5.0.0:
- version "5.2.0"
- resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz"
- integrity sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==
-
-eslint-plugin-react@^7.37.0, eslint-plugin-react@^7.37.4:
- version "7.37.5"
- resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz"
- integrity sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==
- dependencies:
- array-includes "^3.1.8"
- array.prototype.findlast "^1.2.5"
- array.prototype.flatmap "^1.3.3"
- array.prototype.tosorted "^1.1.4"
- doctrine "^2.1.0"
- es-iterator-helpers "^1.2.1"
- estraverse "^5.3.0"
- hasown "^2.0.2"
- jsx-ast-utils "^2.4.1 || ^3.0.0"
- minimatch "^3.1.2"
- object.entries "^1.1.9"
- object.fromentries "^2.0.8"
- object.values "^1.2.1"
- prop-types "^15.8.1"
- resolve "^2.0.0-next.5"
- semver "^6.3.1"
- string.prototype.matchall "^4.0.12"
- string.prototype.repeat "^1.0.0"
-
-eslint-plugin-unused-imports@^4.1.4:
- version "4.1.4"
- resolved "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.1.4.tgz"
- integrity sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ==
-
-eslint-scope@^8.4.0:
- version "8.4.0"
- resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz"
- integrity sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==
- dependencies:
- esrecurse "^4.3.0"
- estraverse "^5.2.0"
-
-eslint-visitor-keys@^3.4.3:
- version "3.4.3"
- resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz"
- integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
-
-eslint-visitor-keys@^4.2.1:
- version "4.2.1"
- resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz"
- integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==
-
-eslint@*, "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0", "eslint@^6.0.0 || ^7.0.0 || >=8.0.0", "eslint@^7.23.0 || ^8.0.0 || ^9.0.0", "eslint@^8.57.0 || ^9.0.0", eslint@^9, "eslint@^9.0.0 || ^8.0.0", eslint@>=7.0.0, eslint@>=8.0.0:
- version "9.33.0"
- resolved "https://registry.npmjs.org/eslint/-/eslint-9.33.0.tgz"
- integrity sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==
- dependencies:
- "@eslint-community/eslint-utils" "^4.2.0"
- "@eslint-community/regexpp" "^4.12.1"
- "@eslint/config-array" "^0.21.0"
- "@eslint/config-helpers" "^0.3.1"
- "@eslint/core" "^0.15.2"
- "@eslint/eslintrc" "^3.3.1"
- "@eslint/js" "9.33.0"
- "@eslint/plugin-kit" "^0.3.5"
- "@humanfs/node" "^0.16.6"
- "@humanwhocodes/module-importer" "^1.0.1"
- "@humanwhocodes/retry" "^0.4.2"
- "@types/estree" "^1.0.6"
- "@types/json-schema" "^7.0.15"
- ajv "^6.12.4"
- chalk "^4.0.0"
- cross-spawn "^7.0.6"
- debug "^4.3.2"
- escape-string-regexp "^4.0.0"
- eslint-scope "^8.4.0"
- eslint-visitor-keys "^4.2.1"
- espree "^10.4.0"
- esquery "^1.5.0"
- esutils "^2.0.2"
- fast-deep-equal "^3.1.3"
- file-entry-cache "^8.0.0"
- find-up "^5.0.0"
- glob-parent "^6.0.2"
- ignore "^5.2.0"
- imurmurhash "^0.1.4"
- is-glob "^4.0.0"
- json-stable-stringify-without-jsonify "^1.0.1"
- lodash.merge "^4.6.2"
- minimatch "^3.1.2"
- natural-compare "^1.4.0"
- optionator "^0.9.3"
-
-espree@^10.0.1, espree@^10.4.0:
- version "10.4.0"
- resolved "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz"
- integrity sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==
- dependencies:
- acorn "^8.15.0"
- acorn-jsx "^5.3.2"
- eslint-visitor-keys "^4.2.1"
-
-esquery@^1.5.0:
- version "1.6.0"
- resolved "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz"
- integrity sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==
- dependencies:
- estraverse "^5.1.0"
-
-esrecurse@^4.3.0:
- version "4.3.0"
- resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz"
- integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==
- dependencies:
- estraverse "^5.2.0"
-
-estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:
- version "5.3.0"
- resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz"
- integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
-
-esutils@^2.0.2:
- version "2.0.3"
- resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz"
- integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
-
-fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
- version "3.1.3"
- resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
- integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
-
-fast-diff@^1.1.2:
- version "1.3.0"
- resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz"
- integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==
-
-fast-glob@^3.2.12, fast-glob@^3.3.2:
- version "3.3.3"
- resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz"
- integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==
- dependencies:
- "@nodelib/fs.stat" "^2.0.2"
- "@nodelib/fs.walk" "^1.2.3"
- glob-parent "^5.1.2"
- merge2 "^1.3.0"
- micromatch "^4.0.8"
-
- version "3.3.1"
- resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz"
- integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==
- dependencies:
- "@nodelib/fs.stat" "^2.0.2"
- "@nodelib/fs.walk" "^1.2.3"
- glob-parent "^5.1.2"
- merge2 "^1.3.0"
- micromatch "^4.0.4"
-
-fast-json-stable-stringify@^2.0.0:
- version "2.1.0"
- resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz"
- integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
-
-fast-levenshtein@^2.0.6:
- version "2.0.6"
- resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz"
- integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
-
-fastq@^1.6.0:
- version "1.19.1"
- resolved "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz"
- integrity sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==
- dependencies:
- reusify "^1.0.4"
-
-fdir@^6.4.4:
- version "6.4.6"
- resolved "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz"
- integrity sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==
-
-file-entry-cache@^8.0.0:
- version "8.0.0"
- resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz"
- integrity sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==
- dependencies:
- flat-cache "^4.0.0"
-
-fill-range@^7.1.1:
- version "7.1.1"
- resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz"
- integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
- dependencies:
- to-regex-range "^5.0.1"
-
-find-up@^5.0.0:
- version "5.0.0"
- resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz"
- integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==
- dependencies:
- locate-path "^6.0.0"
- path-exists "^4.0.0"
-
-flat-cache@^4.0.0:
- version "4.0.1"
- resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz"
- integrity sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==
- dependencies:
- flatted "^3.2.9"
- keyv "^4.5.4"
-
- version "5.0.2"
- resolved "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz"
- integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==
-
-flatted@^3.2.9:
- version "3.3.3"
- resolved "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz"
- integrity sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==
-
- version "3.3.0"
- resolved "https://registry.npmjs.org/fluent_conv/-/fluent_conv-3.3.0.tgz"
- integrity sha512-OsTQyVWo1WYmEnnH7m3MRlk5NQq/+jXOLzv0WOk8GGn99LdQV1kNp3IOR6HYb+fwDqYebLPLAThS2pFEaDbyHQ==
- dependencies:
- "@fluent/syntax" "0.19.0"
-
-follow-redirects@^1.15.6:
- version "1.15.11"
- resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz"
- integrity sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==
-
-for-each@^0.3.3, for-each@^0.3.5:
- version "0.3.5"
- resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz"
- integrity sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==
- dependencies:
- is-callable "^1.2.7"
-
-foreground-child@^3.3.1:
- version "3.3.1"
- resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz"
- integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==
- dependencies:
- cross-spawn "^7.0.6"
- signal-exit "^4.0.1"
-
-form-data@^4.0.4:
- version "4.0.4"
- resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz"
- integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
- dependencies:
- asynckit "^0.4.0"
- combined-stream "^1.0.8"
- es-set-tostringtag "^2.1.0"
- hasown "^2.0.2"
- mime-types "^2.1.12"
-
-fs.realpath@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
- integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
-
-function-bind@^1.1.2:
- version "1.1.2"
- resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"
- integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
-
-function.prototype.name@^1.1.6, function.prototype.name@^1.1.8:
- version "1.1.8"
- resolved "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz"
- integrity sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.3"
- define-properties "^1.2.1"
- functions-have-names "^1.2.3"
- hasown "^2.0.2"
- is-callable "^1.2.7"
-
-functions-have-names@^1.2.3:
- version "1.2.3"
- resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz"
- integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==
-
-get-intrinsic@^1.2.4, get-intrinsic@^1.2.5, get-intrinsic@^1.2.6, get-intrinsic@^1.2.7, get-intrinsic@^1.3.0:
- version "1.3.0"
- resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz"
- integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==
- dependencies:
- call-bind-apply-helpers "^1.0.2"
- es-define-property "^1.0.1"
- es-errors "^1.3.0"
- es-object-atoms "^1.1.1"
- function-bind "^1.1.2"
- get-proto "^1.0.1"
- gopd "^1.2.0"
- has-symbols "^1.1.0"
- hasown "^2.0.2"
- math-intrinsics "^1.1.0"
-
-get-proto@^1.0.0, get-proto@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz"
- integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==
- dependencies:
- dunder-proto "^1.0.1"
- es-object-atoms "^1.0.0"
-
-get-symbol-description@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz"
- integrity sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==
- dependencies:
- call-bound "^1.0.3"
- es-errors "^1.3.0"
- get-intrinsic "^1.2.6"
-
-get-tsconfig@^4.10.0:
- version "4.10.1"
- resolved "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz"
- integrity sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==
- dependencies:
- resolve-pkg-maps "^1.0.0"
-
- version "1.3.0"
- resolved "https://registry.npmjs.org/gettext-converter/-/gettext-converter-1.3.0.tgz"
- integrity sha512-vXjx4vRBjw6rd3Zg73IMyNLZuPjs8/lE9gJZs270YJJI0t5vlCpdsyX5E0TmSd+KcRWzwPbwjwd6bnNpF72sFQ==
- dependencies:
- arrify "^2.0.1"
- content-type "1.0.5"
- encoding "0.1.13"
-
-glob-parent@^5.1.2:
- version "5.1.2"
- resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz"
- integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
- dependencies:
- is-glob "^4.0.1"
-
-glob-parent@^6.0.2:
- version "6.0.2"
- resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz"
- integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
- dependencies:
- is-glob "^4.0.3"
-
-glob@^11.0.3:
- version "11.0.3"
- resolved "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz"
- integrity sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==
- dependencies:
- foreground-child "^3.3.1"
- jackspeak "^4.1.1"
- minimatch "^10.0.3"
- minipass "^7.1.2"
- package-json-from-dist "^1.0.0"
- path-scurry "^2.0.0"
-
-glob@^9.2.0:
- version "9.3.5"
- resolved "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz"
- integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==
- dependencies:
- fs.realpath "^1.0.0"
- minimatch "^8.0.2"
- minipass "^4.2.4"
- path-scurry "^1.6.1"
-
-globals@^14.0.0:
- version "14.0.0"
- resolved "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz"
- integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
-
-globalthis@^1.0.4:
- version "1.0.4"
- resolved "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz"
- integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==
- dependencies:
- define-properties "^1.2.1"
- gopd "^1.0.1"
-
-gopd@^1.0.1, gopd@^1.2.0:
- version "1.2.0"
- resolved "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz"
- integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==
-
-graceful-fs@^4.2.11:
- version "4.2.11"
- resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz"
- integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
-
-graphemer@^1.4.0:
- version "1.4.0"
- resolved "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz"
- integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
-
-has-bigints@^1.0.2:
- version "1.1.0"
- resolved "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz"
- integrity sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==
-
-has-flag@^4.0.0:
- version "4.0.0"
- resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
- integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
-
-has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz"
- integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==
- dependencies:
- es-define-property "^1.0.0"
-
-has-proto@^1.2.0:
- version "1.2.0"
- resolved "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz"
- integrity sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==
- dependencies:
- dunder-proto "^1.0.0"
-
-has-symbols@^1.0.3, has-symbols@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz"
- integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==
-
-has-tostringtag@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz"
- integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==
- dependencies:
- has-symbols "^1.0.3"
-
-hasown@^2.0.2:
- version "2.0.2"
- resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz"
- integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
- dependencies:
- function-bind "^1.1.2"
-
-hoist-non-react-statics@^3.3.2:
- version "3.3.2"
- resolved "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz"
- integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
- dependencies:
- react-is "^16.7.0"
-
-html-parse-stringify@^3.0.1:
- version "3.0.1"
- resolved "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz"
- integrity sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==
- dependencies:
- void-elements "3.1.0"
-
-htmlparser2@^8.0.1:
- version "8.0.2"
- resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz"
- integrity sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==
- dependencies:
- domelementtype "^2.3.0"
- domhandler "^5.0.3"
- domutils "^3.0.1"
- entities "^4.4.0"
-
- version "7.0.6"
- resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz"
- integrity sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==
- dependencies:
- agent-base "^7.1.2"
- debug "4"
-
- version "8.0.4"
- resolved "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-8.0.4.tgz"
- integrity sha512-f3frU3pIxD50/Tz20zx9TD9HobKYg47fmAETb117GKGPrhwcSSPJDoCposXlVycVebQ9GQohC3Efbpq7/nnJ5w==
- dependencies:
- "@babel/runtime" "^7.23.2"
-
- version "1.5.0"
- resolved "https://registry.npmjs.org/i18next-resources-for-ts/-/i18next-resources-for-ts-1.5.0.tgz"
- integrity sha512-gzVYct/sMeeOzomK0+8nl7YSr61xiDzf4Kg51g7StBaXAaKE/Vb1CLNHZ8dY56sYz6qmbwHRYHqMPanGi0go4w==
- dependencies:
- "@babel/runtime" "^7.23.7"
- yaml "^2.3.4"
-
- version "1.2.1"
- resolved "https://registry.npmjs.org/i18next-resources-to-backend/-/i18next-resources-to-backend-1.2.1.tgz"
- integrity sha512-okHbVA+HZ7n1/76MsfhPqDou0fptl2dAlhRDu2ideXloRRduzHsqDOznJBef+R3DFZnbvWoBW+KxJ7fnFjd6Yw==
- dependencies:
- "@babel/runtime" "^7.23.2"
-
-"i18next@>= 23.2.3", [email protected]:
- version "24.2.3"
- resolved "https://registry.npmjs.org/i18next/-/i18next-24.2.3.tgz"
- integrity sha512-lfbf80OzkocvX7nmZtu7nSTNbrTYR52sLWxPtlXX1zAhVw8WEnFk4puUkCR4B1dNQwbSpEHHHemcZu//7EcB7A==
- dependencies:
- "@babel/runtime" "^7.26.10"
-
-iconv-lite@^0.4.13:
- version "0.4.24"
- resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz"
- integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
- dependencies:
- safer-buffer ">= 2.1.2 < 3"
-
-iconv-lite@^0.6.2:
- version "0.6.3"
- resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz"
- integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==
- dependencies:
- safer-buffer ">= 2.1.2 < 3.0.0"
-
-idb-keyval@^6.2.2:
- version "6.2.2"
- resolved "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.2.tgz"
- integrity sha512-yjD9nARJ/jb1g+CvD0tlhUHOrJ9Sy0P8T9MF3YaLlHnSRpwPfpTX0XIvpmw3gAJUmEu3FiICLBDPXVwyEvrleg==
-
-ignore@^5.2.0:
- version "5.3.2"
- resolved "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz"
- integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==
-
-ignore@^7.0.0:
- version "7.0.5"
- resolved "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz"
- integrity sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==
-
-immutable@^5.0.2:
- version "5.1.3"
- resolved "https://registry.npmjs.org/immutable/-/immutable-5.1.3.tgz"
- integrity sha512-+chQdDfvscSF1SJqv2gn4SRO2ZyS3xL3r7IW/wWEEzrzLisnOlKiQu5ytC/BVNcS15C39WT2Hg/bjKjDMcu+zg==
-
-import-fresh@^3.2.1:
- version "3.3.1"
- resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz"
- integrity sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==
- dependencies:
- parent-module "^1.0.0"
- resolve-from "^4.0.0"
-
-imurmurhash@^0.1.4:
- version "0.1.4"
- resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz"
- integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==
-
- version "4.1.3"
- resolved "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz"
- integrity sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==
-
-internal-slot@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz"
- integrity sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==
- dependencies:
- es-errors "^1.3.0"
- hasown "^2.0.2"
- side-channel "^1.1.0"
-
-is-array-buffer@^3.0.4, is-array-buffer@^3.0.5:
- version "3.0.5"
- resolved "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz"
- integrity sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.3"
- get-intrinsic "^1.2.6"
-
-is-async-function@^2.0.0:
- version "2.1.1"
- resolved "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz"
- integrity sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==
- dependencies:
- async-function "^1.0.0"
- call-bound "^1.0.3"
- get-proto "^1.0.1"
- has-tostringtag "^1.0.2"
- safe-regex-test "^1.1.0"
-
-is-bigint@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz"
- integrity sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==
- dependencies:
- has-bigints "^1.0.2"
-
-is-boolean-object@^1.2.1:
- version "1.2.2"
- resolved "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz"
- integrity sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==
- dependencies:
- call-bound "^1.0.3"
- has-tostringtag "^1.0.2"
-
-is-bun-module@^2.0.0:
- version "2.0.0"
- resolved "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz"
- integrity sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==
- dependencies:
- semver "^7.7.1"
-
-is-callable@^1.2.7:
- version "1.2.7"
- resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz"
- integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==
-
-is-core-module@^2.13.0, is-core-module@^2.16.0, is-core-module@^2.16.1:
- version "2.16.1"
- resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz"
- integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==
- dependencies:
- hasown "^2.0.2"
-
-is-data-view@^1.0.1, is-data-view@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz"
- integrity sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==
- dependencies:
- call-bound "^1.0.2"
- get-intrinsic "^1.2.6"
- is-typed-array "^1.1.13"
-
-is-date-object@^1.0.5, is-date-object@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz"
- integrity sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==
- dependencies:
- call-bound "^1.0.2"
- has-tostringtag "^1.0.2"
-
-is-extglob@^2.1.1:
- version "2.1.1"
- resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz"
- integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
-
-is-finalizationregistry@^1.1.0:
- version "1.1.1"
- resolved "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz"
- integrity sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==
- dependencies:
- call-bound "^1.0.3"
-
-is-fullwidth-code-point@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
- integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
-
-is-generator-function@^1.0.10:
- version "1.1.0"
- resolved "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz"
- integrity sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==
- dependencies:
- call-bound "^1.0.3"
- get-proto "^1.0.0"
- has-tostringtag "^1.0.2"
- safe-regex-test "^1.1.0"
-
-is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3:
- version "4.0.3"
- resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz"
- integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
- dependencies:
- is-extglob "^2.1.1"
-
-is-map@^2.0.3:
- version "2.0.3"
- resolved "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz"
- integrity sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==
-
-is-mobile@^5.0.0:
- version "5.0.0"
- resolved "https://registry.npmjs.org/is-mobile/-/is-mobile-5.0.0.tgz"
- integrity sha512-Tz/yndySvLAEXh+Uk8liFCxOwVH6YutuR74utvOcu7I9Di+DwM0mtdPVZNaVvvBUM2OXxne/NhOs1zAO7riusQ==
-
-is-negative-zero@^2.0.3:
- version "2.0.3"
- resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz"
- integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==
-
-is-number-object@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz"
- integrity sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==
- dependencies:
- call-bound "^1.0.3"
- has-tostringtag "^1.0.2"
-
-is-number@^7.0.0:
- version "7.0.0"
- resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz"
- integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
-
-is-regex@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz"
- integrity sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==
- dependencies:
- call-bound "^1.0.2"
- gopd "^1.2.0"
- has-tostringtag "^1.0.2"
- hasown "^2.0.2"
-
-is-set@^2.0.3:
- version "2.0.3"
- resolved "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz"
- integrity sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==
-
-is-shared-array-buffer@^1.0.4:
- version "1.0.4"
- resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz"
- integrity sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==
- dependencies:
- call-bound "^1.0.3"
-
-is-stream@^2.0.0:
- version "2.0.1"
- resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz"
- integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==
-
-is-string@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz"
- integrity sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==
- dependencies:
- call-bound "^1.0.3"
- has-tostringtag "^1.0.2"
-
-is-symbol@^1.0.4, is-symbol@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz"
- integrity sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==
- dependencies:
- call-bound "^1.0.2"
- has-symbols "^1.1.0"
- safe-regex-test "^1.1.0"
-
-is-typed-array@^1.1.13, is-typed-array@^1.1.14, is-typed-array@^1.1.15:
- version "1.1.15"
- resolved "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz"
- integrity sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==
- dependencies:
- which-typed-array "^1.1.16"
-
-is-weakmap@^2.0.2:
- version "2.0.2"
- resolved "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz"
- integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==
-
-is-weakref@^1.0.2, is-weakref@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz"
- integrity sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==
- dependencies:
- call-bound "^1.0.3"
-
-is-weakset@^2.0.3:
- version "2.0.4"
- resolved "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz"
- integrity sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==
- dependencies:
- call-bound "^1.0.3"
- get-intrinsic "^1.2.6"
-
-isarray@^2.0.5:
- version "2.0.5"
- resolved "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz"
- integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==
-
-isexe@^2.0.0:
- version "2.0.0"
- resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz"
- integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
-
-iterator.prototype@^1.1.4:
- version "1.1.5"
- resolved "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz"
- integrity sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==
- dependencies:
- define-data-property "^1.1.4"
- es-object-atoms "^1.0.0"
- get-intrinsic "^1.2.6"
- get-proto "^1.0.0"
- has-symbols "^1.1.0"
- set-function-name "^2.0.2"
-
-jackspeak@^4.1.1:
- version "4.1.1"
- resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz"
- integrity sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==
- dependencies:
- "@isaacs/cliui" "^8.0.2"
-
-"js-tokens@^3.0.0 || ^4.0.0":
- version "4.0.0"
- resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"
- integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
-
-js-yaml@^4.1.0, [email protected]:
- version "4.1.0"
- resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz"
- integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
- dependencies:
- argparse "^2.0.1"
-
- version "3.0.1"
- resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz"
- integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==
-
-json-schema-traverse@^0.4.1:
- version "0.4.1"
- resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz"
- integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
-
-json-stable-stringify-without-jsonify@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz"
- integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
-
-json2mq@^0.2.0:
- version "0.2.0"
- resolved "https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz"
- integrity sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==
- dependencies:
- string-convert "^0.2.0"
-
-json5@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz"
- integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==
- dependencies:
- minimist "^1.2.0"
-
-"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5:
- version "3.3.5"
- resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz"
- integrity sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==
- dependencies:
- array-includes "^3.1.6"
- array.prototype.flat "^1.3.1"
- object.assign "^4.1.4"
- object.values "^1.1.6"
-
-keyv@^4.5.4:
- version "4.5.4"
- resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz"
- integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==
- dependencies:
- json-buffer "3.0.1"
-
-language-subtag-registry@^0.3.20:
- version "0.3.23"
- resolved "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz"
- integrity sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==
-
-language-tags@^1.0.9:
- version "1.0.9"
- resolved "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz"
- integrity sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==
- dependencies:
- language-subtag-registry "^0.3.20"
-
- version "2.0.4"
- resolved "https://registry.npmjs.org/laravelphp/-/laravelphp-2.0.4.tgz"
- integrity sha512-rx5X+Yds6MmIxGS+VVQBWhylPYxkOYmKXrWqQHc2rj2ewsoWMZS7OaTXk9UE8y95XV+D5CqLjaEj+IJgRmrIaw==
- dependencies:
- php-parser "3.1.5"
-
-levn@^0.4.1:
- version "0.4.1"
- resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz"
- integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==
- dependencies:
- prelude-ls "^1.2.1"
- type-check "~0.4.0"
-
-locate-path@^6.0.0:
- version "6.0.0"
- resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz"
- integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==
- dependencies:
- p-locate "^5.0.0"
-
- version "9.0.1"
- resolved "https://registry.npmjs.org/locize-cli/-/locize-cli-9.0.1.tgz"
- integrity sha512-m+HUWra8Xs9aZV6EhDKgJNUsVedTbJnf4koIkv+rrnNy1GhmAETd/i54d2hPMPl9rfb4gtbGMWAFWNuwFzHmJA==
- dependencies:
- "@js.properties/properties" "0.5.4"
- android-string-resource "2.3.10"
- async "3.2.6"
- cacheable-lookup "6.1.0"
- colors "1.4.0"
- commander "9.5.0"
- csvjson "5.1.0"
- diff "7.0.0"
- dotenv "16.4.7"
- flat "5.0.2"
- fluent_conv "3.3.0"
- gettext-converter "1.3.0"
- https-proxy-agent "7.0.6"
- ini "4.1.3"
- js-yaml "4.1.0"
- laravelphp "2.0.4"
- locize-xcstrings "2.0.0"
- lodash.clonedeep "4.5.0"
- mkdirp "3.0.1"
- node-fetch "2.7.0"
- resx "2.0.4"
- rimraf "4.4.1"
- strings-file "0.0.5"
- tmexchange "2.0.5"
- xliff "6.2.1"
- xlsx "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
-
- version "2.0.0"
- resolved "https://registry.npmjs.org/locize-xcstrings/-/locize-xcstrings-2.0.0.tgz"
- integrity sha512-Gef3IrMDSB5ZuRbym9ktr7KXCTFjIvs1T2TEnaew5ed7BBwt3od0/sj8C7X9iGpRebHxG1kyF6hR6aK8iBPkLg==
-
- version "4.5.0"
- resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz"
- integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==
-
-lodash.merge@^4.6.2:
- version "4.6.2"
- resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz"
- integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
-
-lodash@^4.17.21:
- version "4.17.21"
- resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz"
- integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
-
-loose-envify@^1.1.0, loose-envify@^1.4.0:
- version "1.4.0"
- resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz"
- integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
- dependencies:
- js-tokens "^3.0.0 || ^4.0.0"
-
-lru-cache@^10.2.0:
- version "10.4.3"
- resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz"
- integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==
-
-lru-cache@^11.0.0:
- version "11.1.0"
- resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz"
- integrity sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==
-
-math-intrinsics@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz"
- integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==
-
-merge2@^1.3.0:
- version "1.4.1"
- resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz"
- integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
-
-micromatch@^4.0.4, micromatch@^4.0.5, micromatch@^4.0.8:
- version "4.0.8"
- resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz"
- integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
- dependencies:
- braces "^3.0.3"
- picomatch "^2.3.1"
-
- version "1.52.0"
- resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz"
- integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==
-
-mime-types@^2.1.12:
- version "2.1.35"
- resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz"
- integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
- dependencies:
- mime-db "1.52.0"
-
-minimatch@^10.0.3:
- version "10.0.3"
- resolved "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz"
- integrity sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==
- dependencies:
- "@isaacs/brace-expansion" "^5.0.0"
-
-minimatch@^3.1.2:
- version "3.1.2"
- resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz"
- integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
- dependencies:
- brace-expansion "^1.1.7"
-
-minimatch@^8.0.2:
- version "8.0.4"
- resolved "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz"
- integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==
- dependencies:
- brace-expansion "^2.0.1"
-
-minimatch@^9.0.4:
- version "9.0.5"
- resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz"
- integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
- dependencies:
- brace-expansion "^2.0.1"
-
-minimist@^1.2.0, minimist@^1.2.6, minimist@^1.2.8:
- version "1.2.8"
- resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz"
- integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
-
-minipass@^4.2.4:
- version "4.2.8"
- resolved "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz"
- integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==
-
-"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
- version "7.1.2"
- resolved "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz"
- integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==
-
-minipass@^7.1.2:
- version "7.1.2"
- resolved "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz"
- integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==
-
- version "3.0.1"
- resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz"
- integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==
-
-ms@^2.1.1, ms@^2.1.3:
- version "2.1.3"
- resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
- integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
-
-nanoid@^3.3.6:
- version "3.3.11"
- resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz"
- integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==
-
-napi-postinstall@^0.3.0:
- version "0.3.3"
- resolved "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.3.tgz"
- integrity sha512-uTp172LLXSxuSYHv/kou+f6KW3SMppU9ivthaVTXian9sOt3XM/zHYHpRZiLgQoxeWfYUnslNWQHF1+G71xcow==
-
-natural-compare@^1.4.0:
- version "1.4.0"
- resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz"
- integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
-
-next-sitemap@^4.2.3:
- version "4.2.3"
- resolved "https://registry.npmjs.org/next-sitemap/-/next-sitemap-4.2.3.tgz"
- integrity sha512-vjdCxeDuWDzldhCnyFCQipw5bfpl4HmZA7uoo3GAaYGjGgfL4Cxb1CiztPuWGmS+auYs7/8OekRS8C2cjdAsjQ==
- dependencies:
- "@corex/deepmerge" "^4.0.43"
- "@next/env" "^13.4.3"
- fast-glob "^3.2.12"
- minimist "^1.2.8"
-
-next@*, "next@^14.0.0 || ^15.0.0", [email protected]:
- version "14.2.29"
- resolved "https://registry.npmjs.org/next/-/next-14.2.29.tgz"
- integrity sha512-s98mCOMOWLGGpGOfgKSnleXLuegvvH415qtRZXpSp00HeEgdmrxmwL9cgKU+h4XrhB16zEI5d/7BnkS3ATInsA==
- dependencies:
- "@next/env" "14.2.29"
- "@swc/helpers" "0.5.5"
- busboy "1.6.0"
- caniuse-lite "^1.0.30001579"
- graceful-fs "^4.2.11"
- postcss "8.4.31"
- styled-jsx "5.1.1"
- optionalDependencies:
- "@next/swc-darwin-arm64" "14.2.29"
- "@next/swc-darwin-x64" "14.2.29"
- "@next/swc-linux-arm64-gnu" "14.2.29"
- "@next/swc-linux-arm64-musl" "14.2.29"
- "@next/swc-linux-x64-gnu" "14.2.29"
- "@next/swc-linux-x64-musl" "14.2.29"
- "@next/swc-win32-arm64-msvc" "14.2.29"
- "@next/swc-win32-ia32-msvc" "14.2.29"
- "@next/swc-win32-x64-msvc" "14.2.29"
-
-node-addon-api@^7.0.0:
- version "7.1.1"
- resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz"
- integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==
-
- version "2.7.0"
- resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz"
- integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
- dependencies:
- whatwg-url "^5.0.0"
-
-nth-check@^2.0.1:
- version "2.1.1"
- resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz"
- integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==
- dependencies:
- boolbase "^1.0.0"
-
-object-assign@^4.1.1:
- version "4.1.1"
- resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
- integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
-
-object-inspect@^1.13.3, object-inspect@^1.13.4:
- version "1.13.4"
- resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz"
- integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==
-
-object-keys@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz"
- integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==
-
-object.assign@^4.1.4, object.assign@^4.1.7:
- version "4.1.7"
- resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz"
- integrity sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.3"
- define-properties "^1.2.1"
- es-object-atoms "^1.0.0"
- has-symbols "^1.1.0"
- object-keys "^1.1.1"
-
-object.entries@^1.1.9:
- version "1.1.9"
- resolved "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz"
- integrity sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.4"
- define-properties "^1.2.1"
- es-object-atoms "^1.1.1"
-
-object.fromentries@^2.0.8:
- version "2.0.8"
- resolved "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz"
- integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==
- dependencies:
- call-bind "^1.0.7"
- define-properties "^1.2.1"
- es-abstract "^1.23.2"
- es-object-atoms "^1.0.0"
-
-object.groupby@^1.0.3:
- version "1.0.3"
- resolved "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz"
- integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==
- dependencies:
- call-bind "^1.0.7"
- define-properties "^1.2.1"
- es-abstract "^1.23.2"
-
-object.values@^1.1.6, object.values@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz"
- integrity sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.3"
- define-properties "^1.2.1"
- es-object-atoms "^1.0.0"
-
-obop@^0.2.2:
- version "0.2.3"
- resolved "https://registry.npmjs.org/obop/-/obop-0.2.3.tgz"
- integrity sha512-xmaHk+pwv4T6QKoq553KeJlkZUV6WBVGU/dO7rppA7YFIvGf+xB1OQAkw8mcORtxtSHpiK5JiTQ+d7Bme/Y7Wg==
-
-optionator@^0.9.3:
- version "0.9.4"
- resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz"
- integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==
- dependencies:
- deep-is "^0.1.3"
- fast-levenshtein "^2.0.6"
- levn "^0.4.1"
- prelude-ls "^1.2.1"
- type-check "^0.4.0"
- word-wrap "^1.2.5"
-
-own-keys@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz"
- integrity sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==
- dependencies:
- get-intrinsic "^1.2.6"
- object-keys "^1.1.1"
- safe-push-apply "^1.0.0"
-
-p-limit@^3.0.2:
- version "3.1.0"
- resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz"
- integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==
- dependencies:
- yocto-queue "^0.1.0"
-
-p-locate@^5.0.0:
- version "5.0.0"
- resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz"
- integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==
- dependencies:
- p-limit "^3.0.2"
-
-package-json-from-dist@^1.0.0:
- version "1.0.1"
- resolved "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz"
- integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==
-
-parent-module@^1.0.0:
- version "1.0.1"
- resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz"
- integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==
- dependencies:
- callsites "^3.0.0"
-
-parse5-htmlparser2-tree-adapter@^7.0.0:
- version "7.1.0"
- resolved "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz"
- integrity sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==
- dependencies:
- domhandler "^5.0.3"
- parse5 "^7.0.0"
-
-parse5@^7.0.0:
- version "7.3.0"
- resolved "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz"
- integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==
- dependencies:
- entities "^6.0.0"
-
-path-exists@^4.0.0:
- version "4.0.0"
- resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz"
- integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
-
-path-key@^3.1.0:
- version "3.1.1"
- resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz"
- integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
-
-path-parse@^1.0.7:
- version "1.0.7"
- resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz"
- integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
-
-path-scurry@^1.6.1:
- version "1.11.1"
- resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz"
- integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==
- dependencies:
- lru-cache "^10.2.0"
- minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
-
-path-scurry@^2.0.0:
- version "2.0.0"
- resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz"
- integrity sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==
- dependencies:
- lru-cache "^11.0.0"
- minipass "^7.1.2"
-
- version "3.1.5"
- resolved "https://registry.npmjs.org/php-parser/-/php-parser-3.1.5.tgz"
- integrity sha512-jEY2DcbgCm5aclzBdfW86GM6VEIWcSlhTBSHN1qhJguVePlYe28GhwS0yoeLYXpM2K8y6wzLwrbq814n2PHSoQ==
-
-picocolors@^1.0.0:
- version "1.1.1"
- resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz"
- integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
-
-picomatch@^2.3.1:
- version "2.3.1"
- resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
- integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
-
-"picomatch@^3 || ^4", picomatch@^4.0.2:
- version "4.0.3"
- resolved "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz"
- integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
-
-possible-typed-array-names@^1.0.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz"
- integrity sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==
-
- version "8.4.31"
- resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz"
- integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==
- dependencies:
- nanoid "^3.3.6"
- picocolors "^1.0.0"
- source-map-js "^1.0.2"
-
-preact@~10.12.1:
- version "10.12.1"
- resolved "https://registry.npmjs.org/preact/-/preact-10.12.1.tgz"
- integrity sha512-l8386ixSsBdbreOAkqtrwqHwdvR35ID8c3rKPa8lCWuO86dBi32QWHV4vfsZK1utLLFMvw+Z5Ad4XLkZzchscg==
-
-prelude-ls@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz"
- integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
-
-prettier-linter-helpers@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz"
- integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
- dependencies:
- fast-diff "^1.1.2"
-
-prettier@^3.0.2, prettier@>=3.0.0:
- version "3.6.2"
- resolved "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz"
- integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
-
-process.argv@^0.6.1:
- version "0.6.1"
- resolved "https://registry.npmjs.org/process.argv/-/process.argv-0.6.1.tgz"
- integrity sha512-WQOWF/VB0pTJu7c3ko0y5w6HWDQf6Wm3ppvKDI7ET4OSYBDOvcliBRM1HFIHHkJPNa/1bYTzmUinjF8492oaBg==
- dependencies:
- obop "^0.2.2"
-
-prop-types@^15.6.2, prop-types@^15.8.1:
- version "15.8.1"
- resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz"
- integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
- dependencies:
- loose-envify "^1.4.0"
- object-assign "^4.1.1"
- react-is "^16.13.1"
-
-proxy-from-env@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz"
- integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
-
-punycode@^2.1.0:
- version "2.3.1"
- resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz"
- integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==
-
-qs@^6.14.0:
- version "6.14.0"
- resolved "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz"
- integrity sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==
- dependencies:
- side-channel "^1.1.0"
-
-queue-microtask@^1.2.2:
- version "1.2.3"
- resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz"
- integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
-
-rc-cascader@~3.34.0:
- version "3.34.0"
- resolved "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.34.0.tgz"
- integrity sha512-KpXypcvju9ptjW9FaN2NFcA2QH9E9LHKq169Y0eWtH4e/wHQ5Wh5qZakAgvb8EKZ736WZ3B0zLLOBsrsja5Dag==
- dependencies:
- "@babel/runtime" "^7.25.7"
- classnames "^2.3.1"
- rc-select "~14.16.2"
- rc-tree "~5.13.0"
- rc-util "^5.43.0"
-
-rc-checkbox@~3.5.0:
- version "3.5.0"
- resolved "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-3.5.0.tgz"
- integrity sha512-aOAQc3E98HteIIsSqm6Xk2FPKIER6+5vyEFMZfo73TqM+VVAIqOkHoPjgKLqSNtVLWScoaM7vY2ZrGEheI79yg==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "^2.3.2"
- rc-util "^5.25.2"
-
-rc-collapse@~3.9.0:
- version "3.9.0"
- resolved "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.9.0.tgz"
- integrity sha512-swDdz4QZ4dFTo4RAUMLL50qP0EY62N2kvmk2We5xYdRwcRn8WcYtuetCJpwpaCbUfUt5+huLpVxhvmnK+PHrkA==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "2.x"
- rc-motion "^2.3.4"
- rc-util "^5.27.0"
-
-rc-dialog@~9.6.0:
- version "9.6.0"
- resolved "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.6.0.tgz"
- integrity sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==
- dependencies:
- "@babel/runtime" "^7.10.1"
- "@rc-component/portal" "^1.0.0-8"
- classnames "^2.2.6"
- rc-motion "^2.3.0"
- rc-util "^5.21.0"
-
-rc-drawer@~7.3.0:
- version "7.3.0"
- resolved "https://registry.npmjs.org/rc-drawer/-/rc-drawer-7.3.0.tgz"
- integrity sha512-DX6CIgiBWNpJIMGFO8BAISFkxiuKitoizooj4BDyee8/SnBn0zwO2FHrNDpqqepj0E/TFTDpmEBCyFuTgC7MOg==
- dependencies:
- "@babel/runtime" "^7.23.9"
- "@rc-component/portal" "^1.1.1"
- classnames "^2.2.6"
- rc-motion "^2.6.1"
- rc-util "^5.38.1"
-
-rc-dropdown@~4.2.0, rc-dropdown@~4.2.1:
- version "4.2.1"
- resolved "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.2.1.tgz"
- integrity sha512-YDAlXsPv3I1n42dv1JpdM7wJ+gSUBfeyPK59ZpBD9jQhK9jVuxpjj3NmWQHOBceA1zEPVX84T2wbdb2SD0UjmA==
- dependencies:
- "@babel/runtime" "^7.18.3"
- "@rc-component/trigger" "^2.0.0"
- classnames "^2.2.6"
- rc-util "^5.44.1"
-
-rc-field-form@~2.7.0:
- version "2.7.0"
- resolved "https://registry.npmjs.org/rc-field-form/-/rc-field-form-2.7.0.tgz"
- integrity sha512-hgKsCay2taxzVnBPZl+1n4ZondsV78G++XVsMIJCAoioMjlMQR9YwAp7JZDIECzIu2Z66R+f4SFIRrO2DjDNAA==
- dependencies:
- "@babel/runtime" "^7.18.0"
- "@rc-component/async-validator" "^5.0.3"
- rc-util "^5.32.2"
-
-rc-image@~7.12.0:
- version "7.12.0"
- resolved "https://registry.npmjs.org/rc-image/-/rc-image-7.12.0.tgz"
- integrity sha512-cZ3HTyyckPnNnUb9/DRqduqzLfrQRyi+CdHjdqgsyDpI3Ln5UX1kXnAhPBSJj9pVRzwRFgqkN7p9b6HBDjmu/Q==
- dependencies:
- "@babel/runtime" "^7.11.2"
- "@rc-component/portal" "^1.0.2"
- classnames "^2.2.6"
- rc-dialog "~9.6.0"
- rc-motion "^2.6.2"
- rc-util "^5.34.1"
-
-rc-input-number@~9.5.0:
- version "9.5.0"
- resolved "https://registry.npmjs.org/rc-input-number/-/rc-input-number-9.5.0.tgz"
- integrity sha512-bKaEvB5tHebUURAEXw35LDcnRZLq3x1k7GxfAqBMzmpHkDGzjAtnUL8y4y5N15rIFIg5IJgwr211jInl3cipag==
- dependencies:
- "@babel/runtime" "^7.10.1"
- "@rc-component/mini-decimal" "^1.0.1"
- classnames "^2.2.5"
- rc-input "~1.8.0"
- rc-util "^5.40.1"
-
-rc-input@~1.8.0:
- version "1.8.0"
- resolved "https://registry.npmjs.org/rc-input/-/rc-input-1.8.0.tgz"
- integrity sha512-KXvaTbX+7ha8a/k+eg6SYRVERK0NddX8QX7a7AnRvUa/rEH0CNMlpcBzBkhI0wp2C8C4HlMoYl8TImSN+fuHKA==
- dependencies:
- "@babel/runtime" "^7.11.1"
- classnames "^2.2.1"
- rc-util "^5.18.1"
-
-rc-mentions@~2.20.0:
- version "2.20.0"
- resolved "https://registry.npmjs.org/rc-mentions/-/rc-mentions-2.20.0.tgz"
- integrity sha512-w8HCMZEh3f0nR8ZEd466ATqmXFCMGMN5UFCzEUL0bM/nGw/wOS2GgRzKBcm19K++jDyuWCOJOdgcKGXU3fXfbQ==
- dependencies:
- "@babel/runtime" "^7.22.5"
- "@rc-component/trigger" "^2.0.0"
- classnames "^2.2.6"
- rc-input "~1.8.0"
- rc-menu "~9.16.0"
- rc-textarea "~1.10.0"
- rc-util "^5.34.1"
-
-rc-menu@~9.16.0, rc-menu@~9.16.1:
- version "9.16.1"
- resolved "https://registry.npmjs.org/rc-menu/-/rc-menu-9.16.1.tgz"
- integrity sha512-ghHx6/6Dvp+fw8CJhDUHFHDJ84hJE3BXNCzSgLdmNiFErWSOaZNsihDAsKq9ByTALo/xkNIwtDFGIl6r+RPXBg==
- dependencies:
- "@babel/runtime" "^7.10.1"
- "@rc-component/trigger" "^2.0.0"
- classnames "2.x"
- rc-motion "^2.4.3"
- rc-overflow "^1.3.1"
- rc-util "^5.27.0"
-
-rc-motion@^2.0.0, rc-motion@^2.0.1, rc-motion@^2.3.0, rc-motion@^2.3.4, rc-motion@^2.4.3, rc-motion@^2.4.4, rc-motion@^2.6.1, rc-motion@^2.6.2, rc-motion@^2.9.0, rc-motion@^2.9.5:
- version "2.9.5"
- resolved "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.5.tgz"
- integrity sha512-w+XTUrfh7ArbYEd2582uDrEhmBHwK1ZENJiSJVb7uRxdE7qJSYjbO2eksRXmndqyKqKoYPc9ClpPh5242mV1vA==
- dependencies:
- "@babel/runtime" "^7.11.1"
- classnames "^2.2.1"
- rc-util "^5.44.0"
-
-rc-notification@~5.6.4:
- version "5.6.4"
- resolved "https://registry.npmjs.org/rc-notification/-/rc-notification-5.6.4.tgz"
- integrity sha512-KcS4O6B4qzM3KH7lkwOB7ooLPZ4b6J+VMmQgT51VZCeEcmghdeR4IrMcFq0LG+RPdnbe/ArT086tGM8Snimgiw==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "2.x"
- rc-motion "^2.9.0"
- rc-util "^5.20.1"
-
-rc-overflow@^1.3.1, rc-overflow@^1.3.2:
- version "1.4.1"
- resolved "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.4.1.tgz"
- integrity sha512-3MoPQQPV1uKyOMVNd6SZfONi+f3st0r8PksexIdBTeIYbMX0Jr+k7pHEDvsXtR4BpCv90/Pv2MovVNhktKrwvw==
- dependencies:
- "@babel/runtime" "^7.11.1"
- classnames "^2.2.1"
- rc-resize-observer "^1.0.0"
- rc-util "^5.37.0"
-
-rc-pagination@~5.1.0:
- version "5.1.0"
- resolved "https://registry.npmjs.org/rc-pagination/-/rc-pagination-5.1.0.tgz"
- integrity sha512-8416Yip/+eclTFdHXLKTxZvn70duYVGTvUUWbckCCZoIl3jagqke3GLsFrMs0bsQBikiYpZLD9206Ej4SOdOXQ==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "^2.3.2"
- rc-util "^5.38.0"
-
-rc-picker@~4.11.3:
- version "4.11.3"
- resolved "https://registry.npmjs.org/rc-picker/-/rc-picker-4.11.3.tgz"
- integrity sha512-MJ5teb7FlNE0NFHTncxXQ62Y5lytq6sh5nUw0iH8OkHL/TjARSEvSHpr940pWgjGANpjCwyMdvsEV55l5tYNSg==
- dependencies:
- "@babel/runtime" "^7.24.7"
- "@rc-component/trigger" "^2.0.0"
- classnames "^2.2.1"
- rc-overflow "^1.3.2"
- rc-resize-observer "^1.4.0"
- rc-util "^5.43.0"
-
-rc-progress@~4.0.0:
- version "4.0.0"
- resolved "https://registry.npmjs.org/rc-progress/-/rc-progress-4.0.0.tgz"
- integrity sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "^2.2.6"
- rc-util "^5.16.1"
-
-rc-rate@~2.13.1:
- version "2.13.1"
- resolved "https://registry.npmjs.org/rc-rate/-/rc-rate-2.13.1.tgz"
- integrity sha512-QUhQ9ivQ8Gy7mtMZPAjLbxBt5y9GRp65VcUyGUMF3N3fhiftivPHdpuDIaWIMOTEprAjZPC08bls1dQB+I1F2Q==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "^2.2.5"
- rc-util "^5.0.1"
-
-rc-resize-observer@^1.0.0, rc-resize-observer@^1.1.0, rc-resize-observer@^1.3.1, rc-resize-observer@^1.4.0, rc-resize-observer@^1.4.3:
- version "1.4.3"
- resolved "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.3.tgz"
- integrity sha512-YZLjUbyIWox8E9i9C3Tm7ia+W7euPItNWSPX5sCcQTYbnwDb5uNpnLHQCG1f22oZWUhLw4Mv2tFmeWe68CDQRQ==
- dependencies:
- "@babel/runtime" "^7.20.7"
- classnames "^2.2.1"
- rc-util "^5.44.1"
- resize-observer-polyfill "^1.5.1"
-
-rc-segmented@~2.7.0:
- version "2.7.0"
- resolved "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.7.0.tgz"
- integrity sha512-liijAjXz+KnTRVnxxXG2sYDGd6iLL7VpGGdR8gwoxAXy2KglviKCxLWZdjKYJzYzGSUwKDSTdYk8brj54Bn5BA==
- dependencies:
- "@babel/runtime" "^7.11.1"
- classnames "^2.2.1"
- rc-motion "^2.4.4"
- rc-util "^5.17.0"
-
-rc-select@~14.16.2, rc-select@~14.16.8:
- version "14.16.8"
- resolved "https://registry.npmjs.org/rc-select/-/rc-select-14.16.8.tgz"
- integrity sha512-NOV5BZa1wZrsdkKaiK7LHRuo5ZjZYMDxPP6/1+09+FB4KoNi8jcG1ZqLE3AVCxEsYMBe65OBx71wFoHRTP3LRg==
- dependencies:
- "@babel/runtime" "^7.10.1"
- "@rc-component/trigger" "^2.1.1"
- classnames "2.x"
- rc-motion "^2.0.1"
- rc-overflow "^1.3.1"
- rc-util "^5.16.1"
- rc-virtual-list "^3.5.2"
-
-rc-slider@~11.1.8:
- version "11.1.8"
- resolved "https://registry.npmjs.org/rc-slider/-/rc-slider-11.1.8.tgz"
- integrity sha512-2gg/72YFSpKP+Ja5AjC5DPL1YnV8DEITDQrcc1eASrUYjl0esptaBVJBh5nLTXCCp15eD8EuGjwezVGSHhs9tQ==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "^2.2.5"
- rc-util "^5.36.0"
-
-rc-steps@~6.0.1:
- version "6.0.1"
- resolved "https://registry.npmjs.org/rc-steps/-/rc-steps-6.0.1.tgz"
- integrity sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==
- dependencies:
- "@babel/runtime" "^7.16.7"
- classnames "^2.2.3"
- rc-util "^5.16.1"
-
-rc-switch@~4.1.0:
- version "4.1.0"
- resolved "https://registry.npmjs.org/rc-switch/-/rc-switch-4.1.0.tgz"
- integrity sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==
- dependencies:
- "@babel/runtime" "^7.21.0"
- classnames "^2.2.1"
- rc-util "^5.30.0"
-
-rc-table@~7.51.1:
- version "7.51.1"
- resolved "https://registry.npmjs.org/rc-table/-/rc-table-7.51.1.tgz"
- integrity sha512-5iq15mTHhvC42TlBLRCoCBLoCmGlbRZAlyF21FonFnS/DIC8DeRqnmdyVREwt2CFbPceM0zSNdEeVfiGaqYsKw==
- dependencies:
- "@babel/runtime" "^7.10.1"
- "@rc-component/context" "^1.4.0"
- classnames "^2.2.5"
- rc-resize-observer "^1.1.0"
- rc-util "^5.44.3"
- rc-virtual-list "^3.14.2"
-
-rc-tabs@~15.7.0:
- version "15.7.0"
- resolved "https://registry.npmjs.org/rc-tabs/-/rc-tabs-15.7.0.tgz"
- integrity sha512-ZepiE+6fmozYdWf/9gVp7k56PKHB1YYoDsKeQA1CBlJ/POIhjkcYiv0AGP0w2Jhzftd3AVvZP/K+V+Lpi2ankA==
- dependencies:
- "@babel/runtime" "^7.11.2"
- classnames "2.x"
- rc-dropdown "~4.2.0"
- rc-menu "~9.16.0"
- rc-motion "^2.6.2"
- rc-resize-observer "^1.0.0"
- rc-util "^5.34.1"
-
-rc-textarea@~1.10.0, rc-textarea@~1.10.2:
- version "1.10.2"
- resolved "https://registry.npmjs.org/rc-textarea/-/rc-textarea-1.10.2.tgz"
- integrity sha512-HfaeXiaSlpiSp0I/pvWpecFEHpVysZ9tpDLNkxQbMvMz6gsr7aVZ7FpWP9kt4t7DB+jJXesYS0us1uPZnlRnwQ==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "^2.2.1"
- rc-input "~1.8.0"
- rc-resize-observer "^1.0.0"
- rc-util "^5.27.0"
-
-rc-tooltip@~6.4.0:
- version "6.4.0"
- resolved "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-6.4.0.tgz"
- integrity sha512-kqyivim5cp8I5RkHmpsp1Nn/Wk+1oeloMv9c7LXNgDxUpGm+RbXJGL+OPvDlcRnx9DBeOe4wyOIl4OKUERyH1g==
- dependencies:
- "@babel/runtime" "^7.11.2"
- "@rc-component/trigger" "^2.0.0"
- classnames "^2.3.1"
- rc-util "^5.44.3"
-
-rc-tree-select@~5.27.0:
- version "5.27.0"
- resolved "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-5.27.0.tgz"
- integrity sha512-2qTBTzwIT7LRI1o7zLyrCzmo5tQanmyGbSaGTIf7sYimCklAToVVfpMC6OAldSKolcnjorBYPNSKQqJmN3TCww==
- dependencies:
- "@babel/runtime" "^7.25.7"
- classnames "2.x"
- rc-select "~14.16.2"
- rc-tree "~5.13.0"
- rc-util "^5.43.0"
-
-rc-tree@~5.13.0, rc-tree@~5.13.1:
- version "5.13.1"
- resolved "https://registry.npmjs.org/rc-tree/-/rc-tree-5.13.1.tgz"
- integrity sha512-FNhIefhftobCdUJshO7M8uZTA9F4OPGVXqGfZkkD/5soDeOhwO06T/aKTrg0WD8gRg/pyfq+ql3aMymLHCTC4A==
- dependencies:
- "@babel/runtime" "^7.10.1"
- classnames "2.x"
- rc-motion "^2.0.1"
- rc-util "^5.16.1"
- rc-virtual-list "^3.5.1"
-
-rc-upload@~4.9.2:
- version "4.9.2"
- resolved "https://registry.npmjs.org/rc-upload/-/rc-upload-4.9.2.tgz"
- integrity sha512-nHx+9rbd1FKMiMRYsqQ3NkXUv7COHPBo3X1Obwq9SWS6/diF/A0aJ5OHubvwUAIDs+4RMleljV0pcrNUc823GQ==
- dependencies:
- "@babel/runtime" "^7.18.3"
- classnames "^2.2.5"
- rc-util "^5.2.0"
-
-rc-util@^5.0.1, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.2.0, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.24.4, rc-util@^5.25.2, rc-util@^5.27.0, rc-util@^5.30.0, rc-util@^5.31.1, rc-util@^5.32.2, rc-util@^5.34.1, rc-util@^5.35.0, rc-util@^5.36.0, rc-util@^5.37.0, rc-util@^5.38.0, rc-util@^5.38.1, rc-util@^5.40.1, rc-util@^5.43.0, rc-util@^5.44.0, rc-util@^5.44.1, rc-util@^5.44.3, rc-util@^5.44.4:
- version "5.44.4"
- resolved "https://registry.npmjs.org/rc-util/-/rc-util-5.44.4.tgz"
- integrity sha512-resueRJzmHG9Q6rI/DfK6Kdv9/Lfls05vzMs1Sk3M2P+3cJa+MakaZyWY8IPfehVuhPJFKrIY1IK4GqbiaiY5w==
- dependencies:
- "@babel/runtime" "^7.18.3"
- react-is "^18.2.0"
-
-rc-virtual-list@^3.14.2, rc-virtual-list@^3.5.1, rc-virtual-list@^3.5.2:
- version "3.19.1"
- resolved "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.19.1.tgz"
- integrity sha512-DCapO2oyPqmooGhxBuXHM4lFuX+sshQwWqqkuyFA+4rShLe//+GEPVwiDgO+jKtKHtbeYwZoNvetwfHdOf+iUQ==
- dependencies:
- "@babel/runtime" "^7.20.0"
- classnames "^2.2.6"
- rc-resize-observer "^1.0.0"
- rc-util "^5.36.0"
-
- version "1.1.1"
- resolved "https://registry.npmjs.org/rdotjson/-/rdotjson-1.1.1.tgz"
- integrity sha512-L6wBhp64fAr/FPhjfkuf9Lx6dAbfkznROcBMj55tVamw6ddTvhcgoqu89a3lUJCaALJkZe/mTcQoNM0P09RpQg==
- dependencies:
- cheerio "1.0.0-rc.12"
- is-stream "^2.0.0"
- process.argv "^0.6.1"
-
-react-dnd-html5-backend@^16.0.1:
- version "16.0.1"
- resolved "https://registry.npmjs.org/react-dnd-html5-backend/-/react-dnd-html5-backend-16.0.1.tgz"
- integrity sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==
- dependencies:
- dnd-core "^16.0.1"
-
-react-dnd@^16.0.1:
- version "16.0.1"
- resolved "https://registry.npmjs.org/react-dnd/-/react-dnd-16.0.1.tgz"
- integrity sha512-QeoM/i73HHu2XF9aKksIUuamHPDvRglEwdHL4jsp784BgUuWcg6mzfxT0QDdQz8Wj0qyRKx2eMg8iZtWvU4E2Q==
- dependencies:
- "@react-dnd/invariant" "^4.0.1"
- "@react-dnd/shallowequal" "^4.0.1"
- dnd-core "^16.0.1"
- fast-deep-equal "^3.1.3"
- hoist-non-react-statics "^3.3.2"
-
-react-dom@*, "react-dom@^16.7.0 || ^17 || ^18 || ^19", react-dom@^18, react-dom@^18.2.0, react-dom@>=16.0.0, react-dom@>=16.11.0, react-dom@>=16.14.0, react-dom@>=16.6.0, react-dom@>=16.8.0, react-dom@>=16.9.0, react-dom@>=18.0.0:
- version "18.3.1"
- resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz"
- integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
- dependencies:
- loose-envify "^1.1.0"
- scheduler "^0.23.2"
-
- version "15.4.1"
- resolved "https://registry.npmjs.org/react-i18next/-/react-i18next-15.4.1.tgz"
- integrity sha512-ahGab+IaSgZmNPYXdV1n+OYky95TGpFwnKRflX/16dY04DsYYKHtVLjeny7sBSCREEcoMbAgSkFiGLF5g5Oofw==
- dependencies:
- "@babel/runtime" "^7.25.0"
- html-parse-stringify "^3.0.1"
-
-react-icons@^5.5.0:
- version "5.5.0"
- resolved "https://registry.npmjs.org/react-icons/-/react-icons-5.5.0.tgz"
- integrity sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==
-
-react-is@^16.13.1:
- version "16.13.1"
- resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
- integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
-
-react-is@^16.7.0:
- version "16.13.1"
- resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
- integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
-
-react-is@^18.2.0:
- version "18.3.1"
- resolved "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz"
- integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==
-
-react-sortablejs@^6.1.4:
- version "6.1.4"
- resolved "https://registry.npmjs.org/react-sortablejs/-/react-sortablejs-6.1.4.tgz"
- integrity sha512-fc7cBosfhnbh53Mbm6a45W+F735jwZ1UFIYSrIqcO/gRIFoDyZeMtgKlpV4DdyQfbCzdh5LoALLTDRxhMpTyXQ==
- dependencies:
- classnames "2.3.1"
- tiny-invariant "1.2.0"
-
-react-transition-group@^4.4.5:
- version "4.4.5"
- resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz"
- integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==
- dependencies:
- "@babel/runtime" "^7.5.5"
- dom-helpers "^5.0.1"
- loose-envify "^1.4.0"
- prop-types "^15.6.2"
-
-react-transition-state@^2.3.1:
- version "2.3.1"
- resolved "https://registry.npmjs.org/react-transition-state/-/react-transition-state-2.3.1.tgz"
- integrity sha512-Z48el73x+7HUEM131dof9YpcQ5IlM4xB+pKWH/lX3FhxGfQaNTZa16zb7pWkC/y5btTZzXfCtglIJEGc57giOw==
-
-react@*, "react@^16.7.0 || ^17 || ^18 || ^19", react@^18, react@^18.2.0, react@^18.3.1, "react@>= 16.14", "react@>= 16.8.0", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", react@>=16.0.0, react@>=16.11.0, react@>=16.14.0, react@>=16.6.0, react@>=16.8.0, react@>=16.9.0, react@>=18.0.0:
- version "18.3.1"
- resolved "https://registry.npmjs.org/react/-/react-18.3.1.tgz"
- integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
- dependencies:
- loose-envify "^1.1.0"
-
-readdirp@^4.0.1:
- version "4.1.2"
- resolved "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz"
- integrity sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==
-
-redux@^4.2.0:
- version "4.2.1"
- resolved "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz"
- integrity sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==
- dependencies:
- "@babel/runtime" "^7.9.2"
-
-reflect.getprototypeof@^1.0.6, reflect.getprototypeof@^1.0.9:
- version "1.0.10"
- resolved "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz"
- integrity sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==
- dependencies:
- call-bind "^1.0.8"
- define-properties "^1.2.1"
- es-abstract "^1.23.9"
- es-errors "^1.3.0"
- es-object-atoms "^1.0.0"
- get-intrinsic "^1.2.7"
- get-proto "^1.0.1"
- which-builtin-type "^1.2.1"
-
-regexp.prototype.flags@^1.5.3, regexp.prototype.flags@^1.5.4:
- version "1.5.4"
- resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz"
- integrity sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==
- dependencies:
- call-bind "^1.0.8"
- define-properties "^1.2.1"
- es-errors "^1.3.0"
- get-proto "^1.0.1"
- gopd "^1.2.0"
- set-function-name "^2.0.2"
-
-resize-observer-polyfill@^1.5.1:
- version "1.5.1"
- resolved "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz"
- integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==
-
-resolve-from@^4.0.0:
- version "4.0.0"
- resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz"
- integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
-
-resolve-pkg-maps@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz"
- integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==
-
-resolve@^1.22.4:
- version "1.22.10"
- resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz"
- integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==
- dependencies:
- is-core-module "^2.16.0"
- path-parse "^1.0.7"
- supports-preserve-symlinks-flag "^1.0.0"
-
-resolve@^2.0.0-next.5:
- version "2.0.0-next.5"
- resolved "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz"
- integrity sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==
- dependencies:
- is-core-module "^2.13.0"
- path-parse "^1.0.7"
- supports-preserve-symlinks-flag "^1.0.0"
-
- version "2.0.4"
- resolved "https://registry.npmjs.org/resx/-/resx-2.0.4.tgz"
- integrity sha512-b3IW7ge0nxbWOhbUGO/WULL4NG5ctrpey+UgDIwRq5K4Bblna4t1hLMbA2DZC9Y6e8U/zLuRJHg+qEOVKOoypQ==
- dependencies:
- xml2js "0.5.0"
-
-reusify@^1.0.4:
- version "1.1.0"
- resolved "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz"
- integrity sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==
-
- version "4.4.1"
- resolved "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz"
- integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==
- dependencies:
- glob "^9.2.0"
-
-run-parallel@^1.1.9:
- version "1.2.0"
- resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz"
- integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==
- dependencies:
- queue-microtask "^1.2.2"
-
-safe-array-concat@^1.1.3:
- version "1.1.3"
- resolved "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz"
- integrity sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.2"
- get-intrinsic "^1.2.6"
- has-symbols "^1.1.0"
- isarray "^2.0.5"
-
-safe-push-apply@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz"
- integrity sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==
- dependencies:
- es-errors "^1.3.0"
- isarray "^2.0.5"
-
-safe-regex-test@^1.0.3, safe-regex-test@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz"
- integrity sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==
- dependencies:
- call-bound "^1.0.2"
- es-errors "^1.3.0"
- is-regex "^1.2.1"
-
-"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0":
- version "2.1.2"
- resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz"
- integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
-
-sass@^1.3.0, sass@^1.59.2:
- version "1.90.0"
- resolved "https://registry.npmjs.org/sass/-/sass-1.90.0.tgz"
- integrity sha512-9GUyuksjw70uNpb1MTYWsH9MQHOHY6kwfnkafC24+7aOMZn9+rVMBxRbLvw756mrBFbIsFg6Xw9IkR2Fnn3k+Q==
- dependencies:
- chokidar "^4.0.0"
- immutable "^5.0.2"
- source-map-js ">=0.6.2 <2.0.0"
- optionalDependencies:
- "@parcel/watcher" "^2.4.1"
-
-sax@^1.2.4, sax@>=0.6.0:
- version "1.4.1"
- resolved "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz"
- integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==
-
-scheduler@^0.23.2:
- version "0.23.2"
- resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz"
- integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
- dependencies:
- loose-envify "^1.1.0"
-
-scroll-into-view-if-needed@^3.1.0:
- version "3.1.0"
- resolved "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz"
- integrity sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==
- dependencies:
- compute-scroll-into-view "^3.0.2"
-
-semver@^6.3.1:
- version "6.3.1"
- resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
- integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
-
-semver@^7.6.0, semver@^7.7.1:
- version "7.7.2"
- resolved "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz"
- integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
-
-set-function-length@^1.2.2:
- version "1.2.2"
- resolved "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz"
- integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==
- dependencies:
- define-data-property "^1.1.4"
- es-errors "^1.3.0"
- function-bind "^1.1.2"
- get-intrinsic "^1.2.4"
- gopd "^1.0.1"
- has-property-descriptors "^1.0.2"
-
-set-function-name@^2.0.2:
- version "2.0.2"
- resolved "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz"
- integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==
- dependencies:
- define-data-property "^1.1.4"
- es-errors "^1.3.0"
- functions-have-names "^1.2.3"
- has-property-descriptors "^1.0.2"
-
-set-proto@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz"
- integrity sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==
- dependencies:
- dunder-proto "^1.0.1"
- es-errors "^1.3.0"
- es-object-atoms "^1.0.0"
-
-shebang-command@^2.0.0:
- version "2.0.0"
- resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz"
- integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
- dependencies:
- shebang-regex "^3.0.0"
-
-shebang-regex@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz"
- integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
-
-side-channel-list@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz"
- integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==
- dependencies:
- es-errors "^1.3.0"
- object-inspect "^1.13.3"
-
-side-channel-map@^1.0.1:
- version "1.0.1"
- resolved "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz"
- integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==
- dependencies:
- call-bound "^1.0.2"
- es-errors "^1.3.0"
- get-intrinsic "^1.2.5"
- object-inspect "^1.13.3"
-
-side-channel-weakmap@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz"
- integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==
- dependencies:
- call-bound "^1.0.2"
- es-errors "^1.3.0"
- get-intrinsic "^1.2.5"
- object-inspect "^1.13.3"
- side-channel-map "^1.0.1"
-
-side-channel@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz"
- integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==
- dependencies:
- es-errors "^1.3.0"
- object-inspect "^1.13.3"
- side-channel-list "^1.0.0"
- side-channel-map "^1.0.1"
- side-channel-weakmap "^1.0.2"
-
-signal-exit@^4.0.1:
- version "4.1.0"
- resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz"
- integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
-
-sortablejs@^1.15.6, sortablejs@1:
- version "1.15.6"
- resolved "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.6.tgz"
- integrity sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==
-
-source-map-js@^1.0.2, "source-map-js@>=0.6.2 <2.0.0":
- version "1.2.1"
- resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz"
- integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
-
-stable-hash@^0.0.5:
- version "0.0.5"
- resolved "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz"
- integrity sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==
-
-stop-iteration-iterator@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz"
- integrity sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==
- dependencies:
- es-errors "^1.3.0"
- internal-slot "^1.1.0"
-
-streamsearch@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz"
- integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
-
-string-convert@^0.2.0:
- version "0.2.1"
- resolved "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz"
- integrity sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==
-
-"string-width-cjs@npm:string-width@^4.2.0":
- version "4.2.3"
- resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
- integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
- dependencies:
- emoji-regex "^8.0.0"
- is-fullwidth-code-point "^3.0.0"
- strip-ansi "^6.0.1"
-
-string-width@^4.1.0:
- version "4.2.3"
- resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
- integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
- dependencies:
- emoji-regex "^8.0.0"
- is-fullwidth-code-point "^3.0.0"
- strip-ansi "^6.0.1"
-
-string-width@^5.0.1, string-width@^5.1.2:
- version "5.1.2"
- resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz"
- integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==
- dependencies:
- eastasianwidth "^0.2.0"
- emoji-regex "^9.2.2"
- strip-ansi "^7.0.1"
-
-string.prototype.includes@^2.0.1:
- version "2.0.1"
- resolved "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz"
- integrity sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==
- dependencies:
- call-bind "^1.0.7"
- define-properties "^1.2.1"
- es-abstract "^1.23.3"
-
-string.prototype.matchall@^4.0.12:
- version "4.0.12"
- resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz"
- integrity sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.3"
- define-properties "^1.2.1"
- es-abstract "^1.23.6"
- es-errors "^1.3.0"
- es-object-atoms "^1.0.0"
- get-intrinsic "^1.2.6"
- gopd "^1.2.0"
- has-symbols "^1.1.0"
- internal-slot "^1.1.0"
- regexp.prototype.flags "^1.5.3"
- set-function-name "^2.0.2"
- side-channel "^1.1.0"
-
-string.prototype.repeat@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz"
- integrity sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==
- dependencies:
- define-properties "^1.1.3"
- es-abstract "^1.17.5"
-
-string.prototype.trim@^1.2.10:
- version "1.2.10"
- resolved "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz"
- integrity sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.2"
- define-data-property "^1.1.4"
- define-properties "^1.2.1"
- es-abstract "^1.23.5"
- es-object-atoms "^1.0.0"
- has-property-descriptors "^1.0.2"
-
-string.prototype.trimend@^1.0.9:
- version "1.0.9"
- resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz"
- integrity sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==
- dependencies:
- call-bind "^1.0.8"
- call-bound "^1.0.2"
- define-properties "^1.2.1"
- es-object-atoms "^1.0.0"
-
-string.prototype.trimstart@^1.0.8:
- version "1.0.8"
- resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz"
- integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==
- dependencies:
- call-bind "^1.0.7"
- define-properties "^1.2.1"
- es-object-atoms "^1.0.0"
-
- version "0.0.5"
- resolved "https://registry.npmjs.org/strings-file/-/strings-file-0.0.5.tgz"
- integrity sha512-4/Fc8WshjKl/6MctVvdcdH3pQpbSP3J481hMUo9qMSpEK+piDYKYg8oSTGGKFMt2AyeZCQCnGF1uMq3i/xg/wQ==
- dependencies:
- iconv-lite "^0.4.13"
-
-"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
- version "6.0.1"
- resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
- integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
- dependencies:
- ansi-regex "^5.0.1"
-
-strip-ansi@^6.0.0, strip-ansi@^6.0.1:
- version "6.0.1"
- resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
- integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
- dependencies:
- ansi-regex "^5.0.1"
-
-strip-ansi@^7.0.1:
- version "7.1.0"
- resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz"
- integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==
- dependencies:
- ansi-regex "^6.0.1"
-
-strip-bom@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz"
- integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==
-
-strip-json-comments@^3.1.1:
- version "3.1.1"
- resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz"
- integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
-
- version "5.1.1"
- resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz"
- integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==
- dependencies:
- client-only "0.0.1"
-
-stylis@^4.3.4:
- version "4.3.6"
- resolved "https://registry.npmjs.org/stylis/-/stylis-4.3.6.tgz"
- integrity sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==
-
-supports-color@^7.1.0:
- version "7.2.0"
- resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
- integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
- dependencies:
- has-flag "^4.0.0"
-
-supports-preserve-symlinks-flag@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz"
- integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
-
-swiper@^11.2.8:
- version "11.2.10"
- resolved "https://registry.npmjs.org/swiper/-/swiper-11.2.10.tgz"
- integrity sha512-RMeVUUjTQH+6N3ckimK93oxz6Sn5la4aDlgPzB+rBrG/smPdCTicXyhxa+woIpopz+jewEloiEE3lKo1h9w2YQ==
-
-synckit@^0.11.7:
- version "0.11.11"
- resolved "https://registry.npmjs.org/synckit/-/synckit-0.11.11.tgz"
- integrity sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw==
- dependencies:
- "@pkgr/core" "^0.2.9"
-
-throttle-debounce@^5.0.0, throttle-debounce@^5.0.2:
- version "5.0.2"
- resolved "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.2.tgz"
- integrity sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==
-
- version "1.2.0"
- resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz"
- integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==
-
-tinyglobby@^0.2.13:
- version "0.2.14"
- resolved "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz"
- integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==
- dependencies:
- fdir "^6.4.4"
- picomatch "^4.0.2"
-
- version "2.0.5"
- resolved "https://registry.npmjs.org/tmexchange/-/tmexchange-2.0.5.tgz"
- integrity sha512-fJQcBIY/ebEYDagOA0IY2PKYs2OJtBo0UGO+O2huyTkL9h+1Fg75DKw0JHkzXA1C56ejQdLW7S9YS/IL9rOpmQ==
- dependencies:
- xml2js "0.5.0"
-
-to-regex-range@^5.0.1:
- version "5.0.1"
- resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
- integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
- dependencies:
- is-number "^7.0.0"
-
-toggle-selection@^1.0.6:
- version "1.0.6"
- resolved "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz"
- integrity sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==
-
-tr46@~0.0.3:
- version "0.0.3"
- resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz"
- integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
-
-ts-api-utils@^2.1.0:
- version "2.1.0"
- resolved "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz"
- integrity sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==
-
-tsconfig-paths@^3.15.0:
- version "3.15.0"
- resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz"
- integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==
- dependencies:
- "@types/json5" "^0.0.29"
- json5 "^1.0.2"
- minimist "^1.2.6"
- strip-bom "^3.0.0"
-
-tslib@^2.4.0:
- version "2.8.1"
- resolved "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz"
- integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
-
-type-check@^0.4.0, type-check@~0.4.0:
- version "0.4.0"
- resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz"
- integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==
- dependencies:
- prelude-ls "^1.2.1"
-
-typed-array-buffer@^1.0.3:
- version "1.0.3"
- resolved "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz"
- integrity sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==
- dependencies:
- call-bound "^1.0.3"
- es-errors "^1.3.0"
- is-typed-array "^1.1.14"
-
-typed-array-byte-length@^1.0.3:
- version "1.0.3"
- resolved "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz"
- integrity sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==
- dependencies:
- call-bind "^1.0.8"
- for-each "^0.3.3"
- gopd "^1.2.0"
- has-proto "^1.2.0"
- is-typed-array "^1.1.14"
-
-typed-array-byte-offset@^1.0.4:
- version "1.0.4"
- resolved "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz"
- integrity sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==
- dependencies:
- available-typed-arrays "^1.0.7"
- call-bind "^1.0.8"
- for-each "^0.3.3"
- gopd "^1.2.0"
- has-proto "^1.2.0"
- is-typed-array "^1.1.15"
- reflect.getprototypeof "^1.0.9"
-
-typed-array-length@^1.0.7:
- version "1.0.7"
- resolved "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz"
- integrity sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==
- dependencies:
- call-bind "^1.0.7"
- for-each "^0.3.3"
- gopd "^1.0.1"
- is-typed-array "^1.1.13"
- possible-typed-array-names "^1.0.0"
- reflect.getprototypeof "^1.0.6"
-
-typescript@^5, typescript@>=3.3.1, typescript@>=4.8.4, "typescript@>=4.8.4 <6.0.0":
- version "5.9.2"
- resolved "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz"
- integrity sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==
-
-unbox-primitive@^1.1.0:
- version "1.1.0"
- resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz"
- integrity sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==
- dependencies:
- call-bound "^1.0.3"
- has-bigints "^1.0.2"
- has-symbols "^1.1.0"
- which-boxed-primitive "^1.1.1"
-
-undici-types@~6.21.0:
- version "6.21.0"
- resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz"
- integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
-
-unrs-resolver@^1.6.2:
- version "1.11.1"
- resolved "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.11.1.tgz"
- integrity sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==
- dependencies:
- napi-postinstall "^0.3.0"
- optionalDependencies:
- "@unrs/resolver-binding-android-arm-eabi" "1.11.1"
- "@unrs/resolver-binding-android-arm64" "1.11.1"
- "@unrs/resolver-binding-darwin-arm64" "1.11.1"
- "@unrs/resolver-binding-darwin-x64" "1.11.1"
- "@unrs/resolver-binding-freebsd-x64" "1.11.1"
- "@unrs/resolver-binding-linux-arm-gnueabihf" "1.11.1"
- "@unrs/resolver-binding-linux-arm-musleabihf" "1.11.1"
- "@unrs/resolver-binding-linux-arm64-gnu" "1.11.1"
- "@unrs/resolver-binding-linux-arm64-musl" "1.11.1"
- "@unrs/resolver-binding-linux-ppc64-gnu" "1.11.1"
- "@unrs/resolver-binding-linux-riscv64-gnu" "1.11.1"
- "@unrs/resolver-binding-linux-riscv64-musl" "1.11.1"
- "@unrs/resolver-binding-linux-s390x-gnu" "1.11.1"
- "@unrs/resolver-binding-linux-x64-gnu" "1.11.1"
- "@unrs/resolver-binding-linux-x64-musl" "1.11.1"
- "@unrs/resolver-binding-wasm32-wasi" "1.11.1"
- "@unrs/resolver-binding-win32-arm64-msvc" "1.11.1"
- "@unrs/resolver-binding-win32-ia32-msvc" "1.11.1"
- "@unrs/resolver-binding-win32-x64-msvc" "1.11.1"
-
-uri-js@^4.2.2:
- version "4.4.1"
- resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz"
- integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==
- dependencies:
- punycode "^2.1.0"
-
- version "3.1.0"
- resolved "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz"
- integrity sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==
-
-webidl-conversions@^3.0.0:
- version "3.0.1"
- resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz"
- integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==
-
-whatwg-url@^5.0.0:
- version "5.0.0"
- resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz"
- integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
- dependencies:
- tr46 "~0.0.3"
- webidl-conversions "^3.0.0"
-
-which-boxed-primitive@^1.1.0, which-boxed-primitive@^1.1.1:
- version "1.1.1"
- resolved "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz"
- integrity sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==
- dependencies:
- is-bigint "^1.1.0"
- is-boolean-object "^1.2.1"
- is-number-object "^1.1.1"
- is-string "^1.1.1"
- is-symbol "^1.1.1"
-
-which-builtin-type@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz"
- integrity sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==
- dependencies:
- call-bound "^1.0.2"
- function.prototype.name "^1.1.6"
- has-tostringtag "^1.0.2"
- is-async-function "^2.0.0"
- is-date-object "^1.1.0"
- is-finalizationregistry "^1.1.0"
- is-generator-function "^1.0.10"
- is-regex "^1.2.1"
- is-weakref "^1.0.2"
- isarray "^2.0.5"
- which-boxed-primitive "^1.1.0"
- which-collection "^1.0.2"
- which-typed-array "^1.1.16"
-
-which-collection@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz"
- integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==
- dependencies:
- is-map "^2.0.3"
- is-set "^2.0.3"
- is-weakmap "^2.0.2"
- is-weakset "^2.0.3"
-
-which-typed-array@^1.1.16, which-typed-array@^1.1.19:
- version "1.1.19"
- resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz"
- integrity sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==
- dependencies:
- available-typed-arrays "^1.0.7"
- call-bind "^1.0.8"
- call-bound "^1.0.4"
- for-each "^0.3.5"
- get-proto "^1.0.1"
- gopd "^1.2.0"
- has-tostringtag "^1.0.2"
-
-which@^2.0.1:
- version "2.0.2"
- resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz"
- integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==
- dependencies:
- isexe "^2.0.0"
-
-word-wrap@^1.2.5:
- version "1.2.5"
- resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz"
- integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==
-
-"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
- version "7.0.0"
- resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
- integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
- dependencies:
- ansi-styles "^4.0.0"
- string-width "^4.1.0"
- strip-ansi "^6.0.0"
-
-wrap-ansi@^8.1.0:
- version "8.1.0"
- resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz"
- integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==
- dependencies:
- ansi-styles "^6.1.0"
- string-width "^5.0.1"
- strip-ansi "^7.0.1"
-
- version "6.2.1"
- resolved "https://registry.npmjs.org/xliff/-/xliff-6.2.1.tgz"
- integrity sha512-uLdfmBHCG4ftZdgLHhzP7qFTt8/pOv4Hpr1lWcX0HKLZdvhu5f7zThLlPFHnXH7mHbFT+6LCaf82UB3zbLpweQ==
- dependencies:
- xml-js "1.6.11"
-
-"xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz":
- version "0.20.3"
- resolved "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
- integrity sha512-oLDq3jw7AcLqKWH2AhCpVTZl8mf6X2YReP+Neh0SJUzV/BdZYjth94tG5toiMB1PPrYtxOCfaoUCkvtuH+3AJA==
-
- version "1.6.11"
- resolved "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz"
- integrity sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==
- dependencies:
- sax "^1.2.4"
-
- version "0.5.0"
- resolved "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz"
- integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==
- dependencies:
- sax ">=0.6.0"
- xmlbuilder "~11.0.0"
-
-xmlbuilder@~11.0.0:
- version "11.0.1"
- resolved "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz"
- integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==
-
-yaml@^2.3.4:
- version "2.8.1"
- resolved "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz"
- integrity sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==
-
-yocto-queue@^0.1.0:
- version "0.1.0"
- resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
- integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
-
-zustand@^5.0.5:
- version "5.0.7"
- resolved "https://registry.npmjs.org/zustand/-/zustand-5.0.7.tgz"
- integrity sha512-Ot6uqHDW/O2VdYsKLLU8GQu8sCOM1LcoE8RwvLv9uuRT9s6SOHCKs0ZEOhxg+I1Ld+A1Q5lwx+UlKXXUoCZITg==