/* Copyright (C) 2025 QuantumNous This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . For commercial licensing, please contact support@quantumnous.com */ import { Search as ActionSearch } from '@/components/common/icons/ActionIcons'; import React from 'react'; import { Button, Input } from 'antd'; import { Search } from 'lucide-react'; import { useTranslation } from 'react-i18next'; // 原型 .sm-art 的线路路径(viewBox 1440×240),颜色由 skill-market.css 的 --sm-connector / --sm-flow-stroke 控制。 const CONNECTOR_PATHS = 'M60 40q120 0 120 75t180 60M65 210q50-125 160-125t120-70M1060 35q150 0 150 80t170 65M1080 200q80-100 160-100t150-75'; const FLOW_PATHS = 'M60 40q120 0 120 75t180 60M1060 35q150 0 150 80t170 65'; // 装饰图形使用原型路径,保留原型 flex 收缩比例;不替换页面的操作图标。 const SkillArtIcon = ({ size, path }) => ( ); const SkillHeroArt = () => (