sycommon-python-lib 0.2.12a9__tar.gz → 0.2.12a11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/PKG-INFO +1 -1
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/pyproject.toml +1 -1
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/deep_agent.py +30 -9
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/multi_agent_team.py +13 -9
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/widget.js +1 -1
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon_python_lib.egg-info/PKG-INFO +1 -1
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/README.md +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/setup.cfg +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/cli.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/core/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/core/console.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/core/models.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/core/project.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/core/utils.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/README.md.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/agent/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/agent/main_agent.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/agent/nodes/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/agent/nodes/example_node.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/agent/states/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/agent/states/agent_state.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/api/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/api/query.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/api/sse/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/api/sse/agent.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/app.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/client/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/db/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/db/model/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/db/model/entity.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/db/service.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/model/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/model/parse.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/tools/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/agent/tools/mq.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/.env.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/.gitignore.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/Dockerfile.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/README.md.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/app.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/app.yaml.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/client/FileServiceClient.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/client/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/model/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/model/file_info.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/requirements.txt.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/README.md.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/app.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/commands/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/commands/hello.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/pyproject.toml.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/tools/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/README.md.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/api/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/api/echo.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/api/sse/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/api/sse/echo.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/app.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/client/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/model/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/tools/__init__.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/tools/mq.py.tpl +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/nexus/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/__main__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/acp/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/acp/config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/acp/executor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/acp/registry.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/acp/server.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/agents/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/agents/factory.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/agents/prompts.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/browser.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/console.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/dom.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/network.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/page_errors.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/performance.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/capabilities/screenshot.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/protocol.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cdp/repl.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/cli.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/acp_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/acp_serve_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/cdp_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/chat_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/create_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/evaluate_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/init_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/memory_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/resume_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/rollback_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/commands/run_cmd.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/backend.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/display.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/git_integration.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/llm.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/core/state.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/evaluate/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/evaluate/api_evaluator.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/memory/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/memory/compressor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/memory/full.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/memory/hot.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/memory/manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/memory/warm.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/mode/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/mode/create.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/mode/optimize.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/models/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/models/config_models.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/baseline_tests.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/checkpoint.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/convergence.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/diagnosis.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/engine.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/environment.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/experience.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/harness_prompts.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/history.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/optimization_logger.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/pre_validation.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/reward.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/strategy_bandit.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/strategy_generator.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/rl/strategy_prompts.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/simple_chat_agent.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycli/skills/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/acp/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/acp/client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/acp/fetch.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/acp/server_adapter.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/acp/ssh_init.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/acp/tool.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/agent_manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/chat_events.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/dashboard/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/dashboard/api.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/dashboard/models.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/dashboard/stats.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/mcp/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/mcp/models.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/mcp/tool_loader.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/middleware/model_request_prep.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/middleware/sandbox_path_guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/middleware/sensitive_guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/middleware/skill_write_guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/reasoning_content_patch.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/resume_compactor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/consistent_hash.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/file_ops.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/http_sandbox_backend.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/minio_sync.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/sandbox_pool.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/sandbox_recovery.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/sandbox/session.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/skills_retry_patch.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/summarization_utils.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/alert_sdk.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/ao.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/api.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/bridge.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/env.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/monitor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/mq_alert.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/queue.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/ratelimit.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/sdk.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/alert/sdk_selfcheck.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/auth/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/auth/ldap_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/auth/oa_cache.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/auth/oa_crypto.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/auth/oa_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/auth/wecom_ldap_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/ACPAgentConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/Config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/DatabaseConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/EgressPolicyConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/ElasticsearchConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/EmbeddingConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/LLMConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/LangfuseConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/MQConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/PgConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/RedisConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/RerankerConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/SentryConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/XxlJobConfig.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/config/config_change_notifier.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/async_base_db_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/async_database_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/base_db_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/database_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/distlock.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/elasticsearch_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/pg_checkpoint_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/redis_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/resilient_pg_saver.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/token_usage_db_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/database/txnref.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/_page.html +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/_page.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/handler.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/login.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/store.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/tasks.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/health/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/health/health_check.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/health/metrics.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/health/ping.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/health/readiness.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/heartbeat_process/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/heartbeat_process/heartbeat_config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/heartbeat_process/heartbeat_process_manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/heartbeat_process/heartbeat_process_worker.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/embedding.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/get_llm.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/llm_logger.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/llm_tokens.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/llm_with_token_tracking.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/native_with_fallback_runnable.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/output_fixing_runnable.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/struct_token.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/sy_langfuse.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4 +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/tiktoken_cache/fb374d419588a4632f3f557e76b4b70aebbca790 +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/token_usage_es_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/token_usage_mysql_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/token_utils.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/llm/usage_token.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/async_sql_logger.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/bounded_kafka_sink.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/bounded_stdout_sink.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/kafka_log.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/log_masker.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/logger_levels.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/logger_wrapper.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/mask_engine.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/process_logger.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/logging/sql_logger.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/mcp_server/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/mcp_server/server.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/context.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/cors.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/crosstenant.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/docs.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/egress_wall.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/exception.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/middleware.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/monitor_memory.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/mq.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/sandbox.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/sandbox_gateway.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/timeout.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/token_tracking.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/tool_result_truncation.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/middleware/traceid.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/base_http.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/log.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/mcp_server_config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/mqlistener_config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/mqmsg_model.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/mqsend_config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/sandbox.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/sso_user.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/token_usage.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/token_usage_mysql.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/models/xxljob_handler_config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/notice/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/notice/uvicorn_monitor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/notice/wecom_message.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/agent/loop.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/agent/types.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/coding/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/coding/mcpserver.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/json_parse.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/message.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/model.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/retry.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/transcript.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/transform.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/usage.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/core/validation.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/mcp/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/mcp/client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/mcp/jsonrpc.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/mcp/transport.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/anthropic_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/bedrock_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/faux.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/google_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/kimi_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/pi/providers/openai_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/delay_queue.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/mq_store.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/process_pool_consumer.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbit_management_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_pool.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_service_client_manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_service_connection_monitor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_service_consumer_manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_service_core.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/rabbitmq_service_producer_manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/raw_mq.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/rabbitmq/topic_registry.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/sentry/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/sentry/sy_sentry.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/services.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/sse/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/sse/event.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/sse/sse.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/example.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/example2.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/feign.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/feign_client.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_async_loop.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_client_base.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_config_manager.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_connection_alert_listener.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_service_discovery.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/nacos_service_registration.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/synacos/param.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/deep_agent_server.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_backend_factory_compat.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consistent_hash.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consume_dedup.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consumer_broker_health.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consumer_loss_rootcause.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consumer_recovery.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consumer_recovery_fix.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_consumer_tags_sync.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_db_keepalive.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_deep_agent.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_dynamic_max_tokens.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_email.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_encoding_cache.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_env_tenant_helper.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_exp_concurrent_migrate.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_exp_delete_queue_with_consumers.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_fault_injection_real.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_fix_verification.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_heartbeat_timeout.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_integration_real_broker.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_mcp_server.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_minimax_reasoning.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_mq.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_mq_config_driven.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_nacos_llm_real.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_oa_login.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_queue_priority_fallback.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_queue_priority_upgrade_timing.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_real_summarization.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_reconnect_scenarios.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_sandbox_glob_hardening.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_services_plugin_defaults.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_summarization_config.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_summarization_real.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_summary_leak_e2e.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_upgrade_aio_pika.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_upgrade_langgraph_stream.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tests/test_upgrade_verification.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/async_utils.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/audit.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/docs.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/env.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/excel.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/merge_headers.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/money.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/snowflake.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/sso_token.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/syemail.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/time_utils.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/timing.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/tree.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/user_id.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/tools/usercache.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/xxljob/__init__.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/xxljob/sharding.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/xxljob/xxljob_service.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon_python_lib.egg-info/SOURCES.txt +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon_python_lib.egg-info/dependency_links.txt +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon_python_lib.egg-info/entry_points.txt +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon_python_lib.egg-info/requires.txt +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon_python_lib.egg-info/top_level.txt +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_acp_tool.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_agent_manager_idle_reap.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_alert_monitor.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_asyncio_logging.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_config_change_notifier.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_frame_alignment.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_hotreload_snapshot.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_kafka_upie_fix.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_llm_apikey_contextvar.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_log_masker.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_mask_engine.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_mask_engine_wiring.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_print_capture.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_resilient_pg_saver.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_sandbox_path_guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_sensitive_guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_simple_chat_agent.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_skill_regex_upgrade.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_skill_write_guard.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_sql_params_full.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_streaming_e2e.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_summary_echo_break_loop.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_sycli.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_sylogger_fixes.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_sync_skills_to_sandbox.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_time_utils.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_traceid_omit_base64.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_unicode_decode_regress.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_upload_concurrency.py +0 -0
- {sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/tests/test_upload_e2e_http.py +0 -0
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/agent/deep_agent.py
RENAMED
|
@@ -81,6 +81,23 @@ MAX_ARGS_BUFFER_BYTES = int(os.environ.get("DEEP_AGENT_MAX_ARGS_BUFFER", 1024 *
|
|
|
81
81
|
# 需 >= _match_summary_prefix_overlap 的 min_overlap(20) 且覆盖典型复述开头。
|
|
82
82
|
_DEFENSE4_PROBE_CHARS = int(os.environ.get("DEEP_AGENT_DEFENSE4_PROBE", 120))
|
|
83
83
|
|
|
84
|
+
|
|
85
|
+
def _is_punct_only(s: str) -> bool:
|
|
86
|
+
"""reasoning chunk 是否只含标点/空白(如 "." 续思考占位 token)。
|
|
87
|
+
|
|
88
|
+
思考型模型的思考流里常有单个标点的 chunk,原样转发会在前端渲染成
|
|
89
|
+
「已思考: .」空块。字母/数字/汉字任一出现即 False(一句话里的符号
|
|
90
|
+
不受影响——只有整 chunk 全是标点/空白才过滤)。与 Go 侧
|
|
91
|
+
deep_agent.go isPunctuationOnly 同语义。
|
|
92
|
+
"""
|
|
93
|
+
import unicodedata
|
|
94
|
+
for ch in s:
|
|
95
|
+
cat = unicodedata.category(ch)
|
|
96
|
+
# P* = 标点(含中文标点),Zs/Zl/Zp = 空白分隔;Cc 覆盖 \n\t 等
|
|
97
|
+
if not (cat.startswith("P") or cat.startswith("Z") or cat == "Cc"):
|
|
98
|
+
return False
|
|
99
|
+
return True
|
|
100
|
+
|
|
84
101
|
if TYPE_CHECKING:
|
|
85
102
|
from deepagents.graph import CompiledStateGraph
|
|
86
103
|
from langchain.agents.middleware.types import AgentState, ContextT, ModelRequest, ModelResponse, ResponseT
|
|
@@ -749,15 +766,19 @@ class DeepAgent:
|
|
|
749
766
|
)
|
|
750
767
|
if reasoning_content:
|
|
751
768
|
ai_text_content += reasoning_content
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
769
|
+
# 纯标点/空白 chunk(如 "." 续思考占位 token)不发射:
|
|
770
|
+
# 单独成块在前端就是一行「已思考: .」噪音;仍计入
|
|
771
|
+
# ai_text_content(空响应判定依据)与流完整性。
|
|
772
|
+
if not _is_punct_only(reasoning_content):
|
|
773
|
+
event = ChatEventBuilder.ai_chunk(
|
|
774
|
+
reasoning_content,
|
|
775
|
+
id=getattr(msg, "id", None),
|
|
776
|
+
agent=DEFAULT_AGENT_NAME,
|
|
777
|
+
)
|
|
778
|
+
event.data["reasoning"] = True
|
|
779
|
+
if on_event:
|
|
780
|
+
await on_event(event)
|
|
781
|
+
yield event
|
|
761
782
|
|
|
762
783
|
# 处理 tool_call_chunks(流式分片逐步到达,args 是字符串片段)
|
|
763
784
|
tool_call_chunks = getattr(msg, "tool_call_chunks", [])
|
|
@@ -353,15 +353,19 @@ class MultiAgentTeam:
|
|
|
353
353
|
)
|
|
354
354
|
)
|
|
355
355
|
if reasoning_content:
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
356
|
+
# 纯标点/空白 chunk("." 占位 token)不发射,同
|
|
357
|
+
# deep_agent._is_punct_only 语义。
|
|
358
|
+
from sycommon.agent.deep_agent import _is_punct_only
|
|
359
|
+
if not _is_punct_only(reasoning_content):
|
|
360
|
+
event = ChatEventBuilder.ai_chunk(
|
|
361
|
+
reasoning_content,
|
|
362
|
+
id=getattr(msg, "id", None),
|
|
363
|
+
agent=current_agent,
|
|
364
|
+
)
|
|
365
|
+
event.data["reasoning"] = True
|
|
366
|
+
if on_event:
|
|
367
|
+
await on_event(event)
|
|
368
|
+
yield event
|
|
365
369
|
|
|
366
370
|
tool_calls = getattr(msg, "tool_calls", [])
|
|
367
371
|
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/sycommon/devchat/widget.js
RENAMED
|
@@ -224,7 +224,7 @@ html body {
|
|
|
224
224
|
`,zz=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],wg={};let go;function Nz(t,o=!1){const a=t.getAttribute("id")||t.getAttribute("data-reactid")||t.getAttribute("name");if(o&&wg[a])return wg[a];const l=window.getComputedStyle(t),s=l.getPropertyValue("box-sizing")||l.getPropertyValue("-moz-box-sizing")||l.getPropertyValue("-webkit-box-sizing"),c=parseFloat(l.getPropertyValue("padding-bottom"))+parseFloat(l.getPropertyValue("padding-top")),f=parseFloat(l.getPropertyValue("border-bottom-width"))+parseFloat(l.getPropertyValue("border-top-width")),p={sizingStyle:zz.map(h=>`${h}:${l.getPropertyValue(h)}`).join(";"),paddingSize:c,borderSize:f,boxSizing:s};return o&&a&&(wg[a]=p),p}function Mz(t,o=!1,a=null,l=null){go||(go=document.createElement("textarea"),go.setAttribute("tab-index","-1"),go.setAttribute("aria-hidden","true"),go.setAttribute("name","hiddenTextarea"),document.body.appendChild(go)),t.getAttribute("wrap")?go.setAttribute("wrap",t.getAttribute("wrap")):go.removeAttribute("wrap");const{paddingSize:s,borderSize:c,boxSizing:f,sizingStyle:g}=Nz(t,o);go.setAttribute("style",`${g};${Rz}`),go.value=t.value||t.placeholder||"";let p,h,v,y=go.scrollHeight;if(f==="border-box"?y+=c:f==="content-box"&&(y-=s),a!==null||l!==null){go.value=" ";const x=go.scrollHeight-s;a!==null&&(p=x*a,f==="border-box"&&(p=p+s+c),y=Math.max(p,y)),l!==null&&(h=x*l,f==="border-box"&&(h=h+s+c),v=y>h?void 0:"hidden",y=Math.min(h,y))}const S={height:y,overflowY:v,resize:"none"};return p&&(S.minHeight=p),h&&(S.maxHeight=h),S}function Tg(){return Tg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Tg.apply(this,arguments)}const Rg=0,zg=1,Ng=2,Oz=m.forwardRef((t,o)=>{const{prefixCls:a,defaultValue:l,value:s,autoSize:c,onResize:f,className:g,style:p,disabled:h,onChange:v,onInternalAutoSize:y,...S}=t,[x,$]=Ua(l,s),C=x??"",E=ae=>{$(ae.target.value),v==null||v(ae)},T=m.useRef(null);m.useImperativeHandle(o,()=>({textArea:T.current}));const[N,w]=m.useMemo(()=>c&&typeof c=="object"?[c.minRows,c.maxRows]:[],[c]),z=!!c,[M,A]=m.useState(Ng),[O,D]=m.useState(),I=()=>{A(Rg)};On(()=>{z&&I()},[s,N,w,z]),On(()=>{if(M===Rg)A(zg);else if(M===zg){const ae=Mz(T.current,!1,N,w);A(Ng),D(ae)}},[M]);const V=m.useRef(void 0),B=()=>{V.current!==void 0&&jn.cancel(V.current)},q=ae=>{M===Ng&&(f==null||f(ae),c&&(B(),V.current=jn(()=>{I()})))};m.useEffect(()=>B,[]);const ie={...p,...z?O:null};return(M===Rg||M===zg)&&(ie.overflowY="hidden",ie.overflowX="hidden"),m.createElement(ud,{onResize:q,disabled:!(c||f)},m.createElement("textarea",Tg({},S,{ref:T,style:ie,className:X(a,g,{[`${a}-disabled`]:h}),disabled:h,value:C,onChange:E})))});function Mg(){return Mg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Mg.apply(this,arguments)}const Az=ee.forwardRef(({defaultValue:t,value:o,onFocus:a,onBlur:l,onChange:s,allowClear:c,maxLength:f,onCompositionStart:g,onCompositionEnd:p,suffix:h,prefixCls:v="rc-textarea",showCount:y,count:S,className:x,style:$,disabled:C,hidden:E,classNames:T,styles:N,onResize:w,onClear:z,onPressEnter:M,readOnly:A,autoSize:O,onKeyDown:D,...I},V)=>{const[B,q]=ee.useState(!1),K=ee.useRef(!1),[ie,ae]=ee.useState(null),L=m.useRef(null),Y=m.useRef(null),Z=()=>{var ge;return((ge=Y.current)==null?void 0:ge.textArea)||null},{setValue:fe,formatValue:le}=BS(t,o),se=_S(S,y),{isOutOfRange:pe,dataCount:Se}=DS({countConfig:se,value:le,maxLength:f}),_=HS({countConfig:se,getTarget:()=>{var ge;return((ge=Y.current)==null?void 0:ge.textArea)||null}}),P=()=>{var ge;(ge=Z())==null||ge.focus()};m.useImperativeHandle(V,()=>{var ge;return{resizableTextArea:Y.current,focus:P,blur:()=>{var xe;(xe=Z())==null||xe.blur()},nativeElement:((ge=L.current)==null?void 0:ge.nativeElement)||Z()}}),m.useEffect(()=>{q(ge=>!C&&ge)},[C]);const ne=(ge,xe)=>{const Re=_(xe,K.current);fe(Re),lu(ge.currentTarget,ge,s,Re)},J=ge=>{K.current=!0,g==null||g(ge)},ye=ge=>{K.current=!1,ne(ge,ge.currentTarget.value),p==null||p(ge)},ce=ge=>{ne(ge,ge.target.value)},ve=ge=>{ge.key==="Enter"&&M&&!ge.nativeEvent.isComposing&&M(ge),D==null||D(ge)},te=ge=>{q(!0),a==null||a(ge)},oe=ge=>{q(!1),l==null||l(ge)},be=ge=>{fe(""),P();const xe=Z();xe&&lu(xe,ge,s)};let we=h;se.show&&(we=ee.createElement(ee.Fragment,null,we,ee.createElement("span",{className:X(`${v}-data-count`,T==null?void 0:T.count),style:N==null?void 0:N.count},Se)));const Oe=ge=>{var xe;w==null||w(ge),(xe=Z())!=null&&xe.style.height&&ae(!0)},Ae=B0(c),Ce=!O&&!y&&Ae.disabled;return ee.createElement(AS,{ref:L,value:le,allowClear:c,handleReset:be,suffix:we,prefixCls:v,classNames:{...T,affixWrapper:X(T==null?void 0:T.affixWrapper,{[`${v}-show-count`]:y,[`${v}-textarea-allow-clear`]:!Ae.disabled})},disabled:C,focused:B,className:X(x,pe&&`${v}-out-of-range`),style:{...$,...ie&&!Ce?{height:"auto"}:{}},dataAttrs:typeof Se=="string"?{affixWrapper:{"data-count":Se}}:void 0,styles:N,hidden:E,readOnly:A,onClear:z},ee.createElement(Oz,Mg({},I,{autoSize:O,maxLength:f,onKeyDown:ve,onChange:ce,onFocus:te,onBlur:oe,onCompositionStart:J,onCompositionEnd:ye,className:X(T==null?void 0:T.textarea),style:{resize:$==null?void 0:$.resize,...N==null?void 0:N.textarea},disabled:C,prefixCls:v,onResize:Oe,ref:Y,readOnly:A})))});function LS(t,o){const a=m.useRef([]),l=()=>{a.current.push(setTimeout(()=>{var s,c,f,g;(s=t.current)!=null&&s.input&&((c=t.current)==null?void 0:c.input.getAttribute("type"))==="password"&&((f=t.current)!=null&&f.input.hasAttribute("value"))&&((g=t.current)==null||g.input.removeAttribute("value"))}))};return m.useEffect(()=>(o&&l(),()=>a.current.forEach(s=>{s&&clearTimeout(s)})),[o]),l}function _z(t){const{allowClear:o}=t,a=Rt(o)?!o.disabled:o;return!!(t.prefix||t.suffix||a||t.showCount)}const su=m.forwardRef((t,o)=>{const{prefixCls:a,bordered:l=!0,status:s,size:c,disabled:f,onBlur:g,onFocus:p,suffix:h,allowClear:v,addonAfter:y,addonBefore:S,className:x,style:$,styles:C,rootClassName:E,onChange:T,classNames:N,variant:w,...z}=t,{getPrefixCls:M,direction:A,allowClear:O,autoComplete:D,className:I,style:V,classNames:B,styles:q}=Ut("input"),K=M("input",a),ie=m.useRef(null),ae=gr(K),[L,Y]=NS(K,E);MS(K,ae);const{compactSize:Z,compactItemClassnames:fe}=fs(K,A),le=hr(Te=>c??Z??Te),se=ee.useContext(dr),pe=f??se,Se={...t,size:le,disabled:pe},_=ft(V),P=ft($),[ne,J]=Wt([B,N],[q,_,C,P],{props:Se}),{status:ye,hasFeedback:ce,feedbackIcon:ve}=m.useContext(fa),te=gg(ye,s),[oe]=Mo("global"),be=Pb({allowClear:v,contextAllowClear:O,defaultLabel:oe.clear,componentName:"Input"}),we=_z({...t,allowClear:be})||!!ce;m.useRef(we);const Oe=LS(ie,!0),Ae=Te=>{Oe(),g==null||g(Te)},Ce=Te=>{Oe(),p==null||p(Te)},ge=Te=>{Oe(),T==null||T(Te)},xe=(ce||h)&&ee.createElement(ee.Fragment,null,h,ce&&ve),[Re,Ie]=da("input",w,l);return ee.createElement(Tz,{ref:Ar(o,ie),prefixCls:K,autoComplete:D,...z,disabled:pe,onBlur:Ae,onFocus:Ce,style:J.root,styles:J,suffix:xe,allowClear:be,className:X(x,E,Y,ae,fe,I,ne.root),onChange:ge,addonBefore:S&&ee.createElement(nu,{form:!0,space:!0},S),addonAfter:y&&ee.createElement(nu,{form:!0,space:!0},y),classNames:{...ne,input:X({[`${K}-sm`]:le==="small",[`${K}-lg`]:le==="large",[`${K}-rtl`]:A==="rtl"},ne.input,L),variant:X({[`${K}-${Re}`]:Ie},ru(K,te)),affixWrapper:X({[`${K}-affix-wrapper-sm`]:le==="small",[`${K}-affix-wrapper-lg`]:le==="large",[`${K}-affix-wrapper-rtl`]:A==="rtl"},L),wrapper:X({[`${K}-group-rtl`]:A==="rtl"},L),groupWrapper:X({[`${K}-group-wrapper-sm`]:le==="small",[`${K}-group-wrapper-lg`]:le==="large",[`${K}-group-wrapper-rtl`]:A==="rtl",[`${K}-group-wrapper-${Re}`]:Ie},ru(`${K}-group-wrapper`,te,ce),L)}})});var Dz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};function Og(){return Og=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Og.apply(this,arguments)}const Hz=(t,o)=>m.createElement(Yt,Og({},t,{ref:o,icon:Dz})),jS=m.forwardRef(Hz);function PS(t){return["small","middle","medium","large"].includes(t)}function IS(t){return t?Ja(t):!1}const VS=ee.createContext({latestIndex:0}),Bz=VS.Provider,Lz=t=>{const{className:o,prefix:a,index:l,children:s,separator:c,style:f,classNames:g,styles:p}=t,{latestIndex:h}=m.useContext(VS);return ct(s)?m.createElement(m.Fragment,null,m.createElement("div",{className:o,style:f},s),l<h&&c&&m.createElement("span",{className:X(`${a}-item-separator`,g==null?void 0:g.separator),style:p==null?void 0:p.separator},c)):null},jz=t=>{const{componentCls:o,antCls:a}=t;return{[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"},"&-stretch":{alignItems:"stretch",[`> ${o}-item`]:{display:"flex"},[`&${o}-vertical > ${o}-item`]:{flexDirection:"column"},[`&${o}-horizontal > ${o}-item > *`]:{height:"100%"},[`&${o}-vertical > ${o}-item > *`]:{width:"100%"}}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${a}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Pz=t=>{const{componentCls:o}=t;return{[o]:{"&-gap-row-small":{rowGap:t.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:t.spaceGapMiddleSize},"&-gap-row-large":{rowGap:t.spaceGapLargeSize},"&-gap-col-small":{columnGap:t.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:t.spaceGapMiddleSize},"&-gap-col-large":{columnGap:t.spaceGapLargeSize}}}},Iz=Xt("Space",t=>{const o=jt(t,{spaceGapSmallSize:t.paddingXS,spaceGapMiddleSize:t.padding,spaceGapLargeSize:t.paddingLG});return[jz(o),Pz(o)]},()=>({}),{resetStyle:!1}),Ag=m.forwardRef((t,o)=>{const{getPrefixCls:a,direction:l,size:s,className:c,style:f,classNames:g,styles:p}=Ut("space"),{size:h=s??"small",align:v,className:y,rootClassName:S,children:x,direction:$,orientation:C,prefixCls:E,split:T,separator:N,style:w,vertical:z,wrap:M=!1,classNames:A,styles:O,...D}=t,[I,V]=Array.isArray(h)?h:[h,h],B=PS(V),q=PS(I),K=IS(V),ie=IS(I),ae=Xa(x,{keepEmpty:!0}),[L,Y]=Fb(C,z,$),Z=v===void 0&&!Y?"center":v,fe=N??T,le=a("space",E),[se,pe]=Iz(le),Se={...t,size:h,orientation:L,align:Z},_=ft(f),P=ft(w),[ne,J]=Wt([g,A],[p,_,O,P],{props:Se}),ye=X(le,c,se,`${le}-${L}`,{[`${le}-rtl`]:l==="rtl",[`${le}-align-${Z}`]:Z,[`${le}-gap-row-${V}`]:B,[`${le}-gap-col-${I}`]:q},y,S,pe,ne.root),ce=X(`${le}-item`,ne.item),ve=ae.map((be,we)=>{const Oe=(be==null?void 0:be.key)||`${ce}-${we}`;return m.createElement(Lz,{prefix:le,classNames:ne,styles:J,className:ce,key:Oe,index:we,separator:fe,style:J.item},be)}),te=m.useMemo(()=>({latestIndex:ae.reduce((we,Oe,Ae)=>ct(Oe)?Ae:we,0)}),[ae]);if(ae.length===0)return null;const oe={};return M&&(oe.flexWrap="wrap"),!q&&ie&&(oe.columnGap=I),!B&&K&&(oe.rowGap=V),m.createElement("div",{ref:o,className:ye,style:{...oe,...J.root},...D},m.createElement(Bz,{value:te},ve))});Ag.Compact=i1,Ag.Addon=Ez;const Vz=t=>{const{getPrefixCls:o,direction:a}=m.useContext(ut),{prefixCls:l,className:s}=t,c=o("input-group",l),f=o("input"),[g,p]=MS(f),h=X(c,p,{[`${c}-lg`]:t.size==="large",[`${c}-sm`]:t.size==="small",[`${c}-compact`]:t.compact,[`${c}-rtl`]:a==="rtl"},g,s),v=m.useContext(fa),y=m.useMemo(()=>({...v,isFormItemInput:!1}),[v]);return m.createElement(fa.Provider,{value:y},m.createElement(Ag.Compact,{className:h,style:t.style,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children))},qz=t=>{const{componentCls:o,paddingXS:a}=t;return{[o]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:a,[`${o}-input-wrapper`]:{position:"relative",[`${o}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${o}-mask-input`]:{color:"transparent",caretColor:t.colorText,"&::selection":{color:"transparent"}},[`${o}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${o}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${o}-input`]:{textAlign:"center",paddingInline:t.paddingXXS},[`&${o}-sm ${o}-input`]:{paddingInline:t.calc(t.paddingXXS).div(2).equal()},[`&${o}-lg ${o}-input`]:{paddingInline:t.paddingXS}}}},Uz=Xt(["Input","OTP"],t=>{const o=jt(t,ys(t));return qz(o)},vs),Fz="•",Gz=m.forwardRef((t,o)=>{const{className:a,value:l,onChange:s,onActiveChange:c,index:f,mask:g,onFocus:p,type:h,...v}=t,{getPrefixCls:y}=m.useContext(ut),S=y("otp"),x=typeof g=="string"?g:Fz,$=m.useRef(null);m.useImperativeHandle(o,()=>$.current);const C=w=>{s(f,w.target.value)},E=()=>{jn(()=>{var z;const w=(z=$.current)==null?void 0:z.input;document.activeElement===w&&w&&w.select()})},T=w=>{p==null||p(w),E()},N=w=>{const{key:z,ctrlKey:M,metaKey:A}=w;z==="ArrowLeft"?c(f-1):z==="ArrowRight"?c(f+1):z==="z"&&(M||A)?w.preventDefault():z==="Backspace"&&!l&&c(f-1),E()};return m.createElement("span",{className:`${S}-input-wrapper`,role:"presentation"},g&&l!==""&&l!==void 0&&m.createElement("span",{className:`${S}-mask-icon`,"aria-hidden":"true"},x),m.createElement(su,{...v,type:h??(g?"password":"text"),ref:$,value:l,onInput:C,onFocus:T,onKeyDown:N,onMouseDown:E,onMouseUp:E,className:X(a,{[`${S}-mask-input`]:g})}))});function cu(t){return(t||"").split("")}const Xz=t=>{const{index:o,prefixCls:a,separator:l,className:s,style:c}=t,f=en(l)?l(o):l;return ct(f)?m.createElement("span",{className:X(`${a}-separator`,s),style:c},f):null},Yz=m.forwardRef((t,o)=>{const{prefixCls:a,length:l=6,size:s,defaultValue:c,value:f,onChange:g,formatter:p,separator:h,variant:v,disabled:y,status:S,autoFocus:x,mask:$,type:C,autoComplete:E,onInput:T,onFocus:N,inputMode:w,classNames:z,styles:M,rootClassName:A,className:O,style:D,...I}=t,{classNames:V,styles:B,getPrefixCls:q,direction:K,style:ie,className:ae}=Ut("otp"),L=q("otp",a),[Y]=da("otp",v,void 0,"input"),Z={...t,length:l,variant:Y},fe=ft(ie),le=ft(D),[se,pe]=Wt([V,z],[B,fe,M,le],{props:Z}),{"aria-invalid":Se,..._}=I,P=Ga(_,{aria:!0,data:!0,attr:!0}),[ne]=Mo("Input"),[J,ye]=Uz(L),ce=hr(je=>s??je),ve=m.useContext(fa),te=gg(ve.status,S),oe=m.useMemo(()=>({...ve,status:te,hasFeedback:!1,feedbackIcon:null}),[ve,te]),be=m.useRef(null),we=m.useRef({});m.useImperativeHandle(o,()=>({focus:()=>{var je;(je=we.current[0])==null||je.focus()},blur:()=>{var je;for(let Ne=0;Ne<l;Ne+=1)(je=we.current[Ne])==null||je.blur()},nativeElement:be.current}));const Oe=je=>p?p(je):je,[Ae,Ce]=jT(cu(Oe(c||""))),ge=Ae();m.useEffect(()=>{f!==void 0&&Ce(cu(f))},[f]);const xe=bt(je=>{const Ne=Ae();Ce(je),T&&T(je),g&&je.length===l&&je.every(qe=>qe)&&je.some((qe,De)=>Ne[De]!==qe)&&g(je.join(""))}),Re=bt((je,Ne)=>{let qe=Un(ge);for(let Pe=0;Pe<je;Pe+=1)qe[Pe]||(qe[Pe]="");Ne.length<=1?qe[je]=Ne:qe=qe.slice(0,je).concat(cu(Ne));for(let Pe=qe.length-1;Pe>=0&&!qe[Pe];Pe-=1)qe.pop();const De=Oe(qe.map(Pe=>Pe||" ").join(""));return qe=cu(De).map((Pe,Ke)=>Pe===" "&&!qe[Ke]?qe[Ke]:Pe),qe.slice(0,l)}),Ie=(je,Ne)=>{var Pe;const qe=Re(je,Ne),De=Math.min(je+Ne.length,l-1);xe(qe),De!==je&&qe[je]!==void 0&&((Pe=we.current[De])==null||Pe.focus())},Te=je=>{var Ne;(Ne=we.current[je])==null||Ne.focus()},ot=(je,Ne)=>{var qe;for(let De=0;De<Ne;De+=1)if(!Ae()[De]){(qe=we.current[De])==null||qe.focus();break}N==null||N(je)},rt={"aria-invalid":Se??(te==="error"||void 0),variant:Y,disabled:y,status:te,mask:$,type:C,inputMode:w,autoComplete:E};return m.createElement("div",{...P,ref:be,className:X(O,A,L,{[`${L}-sm`]:ce==="small",[`${L}-lg`]:ce==="large",[`${L}-rtl`]:K==="rtl"},ye,J,ae,se.root),style:pe.root,role:"group"},m.createElement(fa.Provider,{value:oe},Array.from({length:l}).map((je,Ne)=>{var Pe;const qe=`otp-${Ne}`,De=ge[Ne]||"";return m.createElement(m.Fragment,{key:qe},m.createElement(Gz,{ref:Ke=>{we.current[Ne]=Ke},index:Ne,"aria-label":(Pe=ne.otpCell)==null?void 0:Pe.replace(/\$\{index\}/g,String(Ne+1)).replace(/\$\{total\}/g,String(l)),size:ce,htmlSize:1,className:X(se.input,`${L}-input`),style:pe.input,onChange:Ie,value:De,onActiveChange:Te,autoFocus:Ne===0&&x,onFocus:Ke=>ot(Ke,Ne),...rt}),Ne<l-1&&m.createElement(Xz,{separator:h,index:Ne,prefixCls:L,className:X(se.separator),style:pe.separator}))})))});var Wz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};function _g(){return _g=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},_g.apply(this,arguments)}const Qz=(t,o)=>m.createElement(Yt,_g({},t,{ref:o,icon:Wz})),Zz=m.forwardRef(Qz);var Kz={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};function Dg(){return Dg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Dg.apply(this,arguments)}const Jz=(t,o)=>m.createElement(Yt,Dg({},t,{ref:o,icon:Kz})),kz=m.forwardRef(Jz),eN=t=>t?m.createElement(kz,null):m.createElement(Zz,null),tN={click:"onClick",hover:"onMouseOver"},nN=m.forwardRef((t,o)=>{const{disabled:a,action:l="click",visibilityToggle:s=!0,iconRender:c,prefixCls:f,inputPrefixCls:g,suffix:p,className:h,style:v,classNames:y,styles:S,variant:x,...$}=t,{getPrefixCls:C,className:E,style:T,classNames:N,styles:w,iconRender:z}=Ut("inputPassword"),[M]=da("inputPassword",x,t.bordered,"input"),[A]=Mo("global"),O=m.useContext(dr),D=a??O,I={...t,disabled:D,variant:M},V=ft(T),B=ft(v),[q,K]=Wt([N,y],[w,V,S,B],{props:I}),ie=Rt(s)&&s.visible!==void 0,[ae,L]=m.useState(()=>ie?s.visible:!1),Y=m.useRef(null);m.useEffect(()=>{ie&&L(s.visible)},[ie,s]);const Z=LS(Y),fe=()=>{var J;if(D)return;ae&&Z();const ne=!ae;ie||L(ne),Rt(s)&&((J=s.onVisibleChange)==null||J.call(s,ne))},le=ne=>{const J=tN[l]||"",ce=(c||z||eN)(ae),ve=Rt(s)?s.tabIndex:void 0;return m.createElement("span",{key:"passwordIcon",role:"button",tabIndex:D?-1:ve??0,className:`${ne}-icon`,"aria-disabled":D,"aria-pressed":ae,"aria-label":ae?A.hide:A.show,onMouseDown:te=>{te.preventDefault()},onMouseUp:te=>{te.preventDefault()},onKeyDown:te=>{(te.key==="Enter"||te.key===" ")&&(te.preventDefault(),te.repeat||fe())},[J]:fe},ce)},se=C("input",g),pe=C("input-password",f),Se=s&&le(pe),_=X(pe,E,h,{[`${pe}-${t.size}`]:!!t.size}),P={...$,type:ae?"text":"password",prefixCls:se,suffix:m.createElement(m.Fragment,null,Se,p),disabled:D,className:_,classNames:q,styles:K,variant:M};return m.createElement(su,{ref:Ar(o,Y),...P})}),oN=t=>{const{componentCls:o,antCls:a,calc:l,max:s}=t,c=`${o}-btn`,[f,g]=In(a,"input-search"),p=t.inputFontSizeSM??t.fontSize,h=s(t.controlHeightSM,l(p).mul(t.lineHeight).add(l(t.paddingBlockSM).mul(2)).add(l(t.lineWidth).mul(2)).equal());return{[o]:{[f("btn-height")]:Ee(t.controlHeight),width:"100%",[c]:{height:g("btn-height"),"&:focus-visible":{zIndex:5},[`&${a}-btn-icon-only`]:{width:g("btn-height")},"&-filled":{background:t.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:t.colorFillSecondary},"&:active":{background:t.colorFill}}}},[`&${o}-large`]:{[f("btn-height")]:Ee(t.controlHeightLG)},[`&${o}-small`]:{[f("btn-height")]:Ee(t.controlHeightSM)},[`&${o}-small ${c}`]:{minHeight:h,[`&${t.antCls}-btn-icon-only`]:{minWidth:h}}}}},rN=Xt(["Input","Search"],t=>{const o=jt(t,ys(t));return oN(o)},vs),aN=m.forwardRef((t,o)=>{const{prefixCls:a,inputPrefixCls:l,className:s,rootClassName:c,size:f,style:g,enterButton:p=!1,searchIcon:h,addonAfter:v,loading:y,disabled:S,onSearch:x,onChange:$,onCompositionStart:C,onCompositionEnd:E,variant:T,onPressEnter:N,classNames:w,styles:z,hidden:M,...A}=t,{direction:O,getPrefixCls:D,className:I,style:V,classNames:B,styles:q,searchIcon:K}=Ut("inputSearch"),ie=m.useContext(dr),ae=S??ie,[L,,Y]=da("inputSearch",T,t.bordered),Z=Y?L:void 0,[fe]=da("inputSearch",T,t.bordered,"input"),le={...t,enterButton:p,variant:Z},se=ft(V),pe=ft(g),[Se,_]=Wt([B,w],[q,se,z,pe],{props:le},{button:{_default:"root"}}),P=m.useRef(!1),ne=D("input-search",a),J=D("input",l),[ye,ce]=rN(ne),{compactSize:ve}=fs(ne,O),te=hr(De=>f??ve??De),oe=m.useRef(null),be=De=>{De!=null&&De.target&&De.type==="click"&&x&&x(De.target.value,De,{source:"clear"}),$==null||$(De)},we=De=>{var Pe;document.activeElement===((Pe=oe.current)==null?void 0:Pe.input)&&De.preventDefault()},Oe=De=>{var Pe,Ke;x&&x((Ke=(Pe=oe.current)==null?void 0:Pe.input)==null?void 0:Ke.value,De,{source:"input"})},Ae=De=>{P.current||y||(N==null||N(De),Oe(De))},Ce=typeof p=="boolean"?Oo(h,K,m.createElement(SR,null)):null,ge=`${ne}-btn`,xe=X(ge,{[`${ge}-${Z}`]:Z});let Re;const Ie=p||{},Te=Ie.type&&Ie.type.__ANT_BUTTON===!0;if(Te||Ie.type==="button"){const De=Ie.props;Re=Wo(Ie,{disabled:ae||De.disabled||!Te&&y,onMouseDown:Pe=>{var Ke;(Ke=De.onMouseDown)==null||Ke.call(De,Pe),we(Pe)},onClick:Pe=>{var Ke,Et;(Et=(Ke=Ie==null?void 0:Ie.props)==null?void 0:Ke.onClick)==null||Et.call(Ke,Pe),Oe(Pe)},key:"enterButton",...Te?{className:X(xe,De.className),loading:y||De.loading,size:te}:{}})}else Re=m.createElement(nn,{classNames:Se.button,styles:_.button,className:xe,color:p?"primary":"default",size:te,disabled:S,key:"enterButton",onMouseDown:we,onClick:Oe,loading:y,icon:Ce,variant:Z==="borderless"||Z==="filled"||Z==="underlined"?"text":p?"solid":void 0},p);v&&(Re=[Re,Wo(v,{key:"addonAfter"})]);const ot=X(ne,ce,{[`${ne}-rtl`]:O==="rtl",[`${ne}-${te}`]:!!te,[`${ne}-with-button`]:!!p},s,c,I,ye,Se.root),rt=De=>{P.current=!0,C==null||C(De)},je=De=>{P.current=!1,E==null||E(De)},Ne=Ga(A,{data:!0}),qe=sr({...A,classNames:sr(Se,["button","root"]),styles:sr(_,["button","root"]),prefixCls:J,type:"search",size:te,variant:fe,onPressEnter:Ae,onCompositionStart:rt,onCompositionEnd:je,onChange:be,disabled:S},Object.keys(Ne));return m.createElement(i1,{className:ot,style:_.root,...Ne,hidden:M},m.createElement(su,{ref:Ar(oe,o),...qe}),Re)}),lN=t=>{const{componentCls:o,paddingLG:a}=t,l=`${o}-textarea`;return{[`textarea${o}`]:{maxWidth:"100%",height:"auto",minHeight:t.controlHeight,lineHeight:t.lineHeight,verticalAlign:"bottom",transition:`all ${t.motionDurationSlow}`,resize:"vertical","@media (hover: none) and (pointer: coarse)":{resize:"none"},[`&${o}-mouse-active`]:{transition:`all ${t.motionDurationSlow}, height 0s, width 0s`}},[`${o}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[l]:{position:"relative","&-show-count":{[`${o}-data-count`]:{position:"absolute",bottom:t.calc(t.fontSize).mul(t.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:t.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
225
225
|
&-allow-clear > ${o},
|
|
226
226
|
&-affix-wrapper${l}-has-feedback ${o}
|
|
227
|
-
`]:{paddingInlineEnd:a},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:t.calc(t.controlHeight).sub(t.calc(t.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:t.paddingInline,insetBlockStart:t.paddingXS},[`${l}-suffix`]:{position:"absolute",top:0,insetInlineEnd:t.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-rtl`]:{[`${o}-suffix`]:{[`${o}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:t.paddingInlineSM}}}}}},iN=Xt(["Input","TextArea"],t=>{const o=jt(t,ys(t));return lN(o)},vs,{resetFont:!1}),sN=m.forwardRef((t,o)=>{var ge;const{prefixCls:a,bordered:l=!0,size:s,disabled:c,status:f,allowClear:g,classNames:p,rootClassName:h,className:v,style:y,styles:S,variant:x,showCount:$,onMouseDown:C,onResize:E,...T}=t,{getPrefixCls:N,direction:w,allowClear:z,autoComplete:M,className:A,style:O,classNames:D,styles:I}=Ut("textArea"),V=m.useContext(dr),B=c??V,{status:q,hasFeedback:K,feedbackIcon:ie}=m.useContext(fa),ae=gg(q,f),L=ft(O),Y=ft(y),[Z,fe]=Wt([D,p],[I,L,S,Y],{props:t}),le=m.useRef(null);m.useImperativeHandle(o,()=>{var xe,Re;return{resizableTextArea:(xe=le.current)==null?void 0:xe.resizableTextArea,focus:Ie=>{var Te,ot;ty((ot=(Te=le.current)==null?void 0:Te.resizableTextArea)==null?void 0:ot.textArea,Ie)},blur:()=>{var Ie;return(Ie=le.current)==null?void 0:Ie.blur()},nativeElement:((Re=le.current)==null?void 0:Re.nativeElement)||null}});const se=N("input",a),pe=gr(se),[Se,_]=NS(se,h);iN(se,pe);const{compactSize:P,compactItemClassnames:ne}=fs(se,w),J=hr(xe=>s??P??xe),[ye,ce]=da("textArea",x,l),[ve]=Mo("global"),te=Pb({allowClear:g,contextAllowClear:z,componentName:"TextArea",defaultLabel:ve.clear}),[oe,be]=m.useState(!1),[we,Oe]=m.useState(!1),Ae=xe=>{be(!0),C==null||C(xe);const Re=()=>{be(!1),document.removeEventListener("mouseup",Re)};document.addEventListener("mouseup",Re)},Ce=xe=>{var Re,Ie;if(E==null||E(xe),oe&&en(getComputedStyle)){const Te=(Ie=(Re=le.current)==null?void 0:Re.nativeElement)==null?void 0:Ie.querySelector("textarea");Te&&getComputedStyle(Te).resize==="both"&&Oe(!0)}};return m.createElement(Az,{autoComplete:M,...T,style:fe.root,styles:fe,disabled:B,allowClear:te,className:X(_,pe,v,h,ne,A,Z.root,{[`${se}-textarea-affix-wrapper-resize-dirty`]:we}),classNames:{...Z,textarea:X({[`${se}-sm`]:J==="small",[`${se}-lg`]:J==="large"},Se,Z.textarea,oe&&`${se}-mouse-active`),variant:X({[`${se}-${ye}`]:ce},ru(se,ae)),affixWrapper:X(`${se}-textarea-affix-wrapper`,{[`${se}-affix-wrapper-rtl`]:w==="rtl",[`${se}-affix-wrapper-sm`]:J==="small",[`${se}-affix-wrapper-lg`]:J==="large",[`${se}-textarea-show-count`]:$||((ge=t.count)==null?void 0:ge.show)},Se)},prefixCls:se,suffix:K&&m.createElement("span",{className:`${se}-textarea-suffix`},ie),showCount:$,ref:le,onResize:Ce,onMouseDown:Ae})}),jr=su;jr.Group=Vz,jr.Search=aN,jr.TextArea=sN,jr.Password=nN,jr.OTP=Yz;const uu=100,qS=uu/5,US=uu/2-qS/2,Hg=US*2*Math.PI,FS=50,GS=t=>{const{dotClassName:o,style:a,hasCircleCls:l}=t;return m.createElement("circle",{className:X(`${o}-circle`,{[`${o}-circle-bg`]:l}),r:US,cx:FS,cy:FS,strokeWidth:qS,style:a})},cN=({percent:t,prefixCls:o})=>{const a=`${o}-dot`,l=`${a}-holder`,s=`${l}-hidden`,[c,f]=m.useState(!1);On(()=>{t!==0&&f(!0)},[t]);const g=Math.max(Math.min(t,100),0);if(!c)return null;const p={strokeDashoffset:`${Hg/4}`,strokeDasharray:`${Hg*g/100} ${Hg*(100-g)/100}`};return m.createElement("span",{className:X(l,`${a}-progress`,{[s]:g<=0})},m.createElement("svg",{viewBox:`0 0 ${uu} ${uu}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":g},m.createElement(GS,{dotClassName:a,hasCircleCls:!0}),m.createElement(GS,{dotClassName:a,style:p})))};function uN(t){const{prefixCls:o,percent:a=0,className:l,style:s}=t,c=`${o}-dot`,f=`${c}-holder`,g=`${f}-hidden`;return m.createElement(m.Fragment,null,m.createElement("span",{className:X(f,l,a>0&&g),style:s},m.createElement("span",{className:X(c,`${o}-dot-spin`)},[1,2,3,4].map(p=>m.createElement("i",{className:`${o}-dot-item`,key:p})))),m.createElement(cN,{prefixCls:o,percent:a}))}function fN(t){const{prefixCls:o,indicator:a,percent:l,className:s,style:c}=t,f=`${o}-dot`;return a&&m.isValidElement(a)?Wo(a,g=>({className:X(g.className,f,s),style:{...g.style,...c},percent:l})):m.createElement(uN,{prefixCls:o,percent:l,className:s,style:c})}const dN=new Ft("antSpinMove",{to:{opacity:1}}),mN=new Ft("antRotate",{to:{transform:"rotate(405deg)"}}),gN=t=>{const{componentCls:o}=t,a=`${o}-section`;return{[o]:{...Xo(t),position:"relative","&-rtl":{direction:"rtl"},[`&${a}, > ${a}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:t.paddingSM,color:t.colorPrimary},[`&${a}`]:{display:"inline-flex"},[`> ${a}`]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${o}-description`]:{fontSize:t.fontSize,lineHeight:1},[`${o}-container`]:{position:"relative",transition:`opacity ${t.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:t.colorBgContainer,opacity:0,transition:`all ${t.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${o}-description`]:{textShadow:`0 0px 5px ${t.colorBgContainer}`},[`${o}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:t.colorBgMask,zIndex:t.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${t.motionDurationMid}`,[`&${o}-spinning`]:{opacity:1,pointerEvents:"auto"},[`> ${a}`]:{color:t.colorWhite,[`${o}-description`]:{color:t.colorTextLightSolid}}}}}},hN=t=>{const{componentCls:o,antCls:a,motionDurationSlow:l}=t,[s,c]=In(a,"spin");return{[o]:{[s("dot-holder-size")]:t.dotSize,[s("dot-item-size")]:`calc((${c("dot-holder-size")} - ${t.marginXXS} / 2) / 2)`,[`${o}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:c("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(f=>`${f} ${l} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:c("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:mN,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:c("dot-item-size"),height:c("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:dN,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(f=>`${f} ${l} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:t.colorFillSecondary}}}}},pN=t=>{const{componentCls:o}=t,[a]=In(t.antCls,"spin");return{[o]:{"&-sm":{[a("dot-holder-size")]:t.dotSizeSM},"&-lg":{[a("dot-holder-size")]:t.dotSizeLG}}}},yN=Xt("Spin",t=>{const o=jt(t,{spinDotDefault:t.colorTextDescription});return[gN(o),hN(o),pN(o)]},t=>{const{controlHeightLG:o,controlHeight:a}=t;return{contentHeight:400,dotSize:o/2,dotSizeSM:o*.35,dotSizeLG:a}}),vN=200,XS=[[30,.05],[70,.03],[96,.01]];function bN(t,o){const[a,l]=m.useState(0),s=m.useRef(null),c=o==="auto";return m.useEffect(()=>(c&&t&&(l(0),s.current=setInterval(()=>{l(f=>{const g=100-f;for(let p=0;p<XS.length;p+=1){const[h,v]=XS[p];if(f<=h)return f+g*v}return f})},vN)),()=>{s.current&&(clearInterval(s.current),s.current=null)}),[c,t]),c?a:o}let YS;function SN(t,o){return!!t&&!!o&&!Number.isNaN(Number(o))}const fu=m.forwardRef((t,o)=>{const{prefixCls:a,spinning:l=!0,delay:s=0,className:c,rootClassName:f,size:g,tip:p,description:h,wrapperClassName:v,style:y,children:S,fullscreen:x=!1,indicator:$,percent:C,classNames:E,styles:T,...N}=t,{getPrefixCls:w,direction:z,indicator:M,className:A,style:O,classNames:D,styles:I}=Ut("spin"),V=w("spin",a),[B,q]=yN(V),[K,ie]=m.useState(()=>l&&!SN(l,s)),ae=bN(K,C);m.useEffect(()=>{if(l){const J=yz(s,()=>{ie(!0)});return J(),()=>{var ye;(ye=J==null?void 0:J.cancel)==null||ye.call(J)}}ie(!1)},[s,l]);const L=hr(J=>g??J),Y=h??p,Z={...t,size:L,spinning:K,tip:Y,description:Y,fullscreen:x,children:S,percent:ae},fe=ft(O),[le,se]=Wt([D,E],[I,fe,T],{props:Z}),pe=$??M??YS,Se=typeof S<"u",_=Se||x,P=m.createElement(m.Fragment,null,m.createElement(fN,{className:X(le.indicator),style:se.indicator,prefixCls:V,indicator:pe,percent:ae}),Y&&m.createElement("div",{className:X(`${V}-description`,le.tip,le.description),style:{...se.tip,...se.description}},Y)),ne=m.useRef(null);return m.useImperativeHandle(o,()=>({nativeElement:ne.current})),m.createElement("div",{ref:ne,className:X(V,{[`${V}-sm`]:L==="small",[`${V}-lg`]:L==="large",[`${V}-spinning`]:K,[`${V}-rtl`]:z==="rtl",[`${V}-fullscreen`]:x},f,le.root,x&&le.mask,_?v:[`${V}-section`,le.section],A,c,B,q),style:{...se.root,..._?{}:se.section,...x?se.mask:{},...y},"aria-live":"polite","aria-busy":K,...N},K&&(_?m.createElement("div",{className:X(`${V}-section`,le.section),style:se.section},P):P),Se&&m.createElement("div",{className:X(`${V}-container`,le.container),style:se.container},S))});fu.setDefaultIndicator=t=>{YS=t};const xN=t=>{const{items:o,classNames:a,style:l}=t,{getPrefixCls:s}=Ut("message"),c=s("message"),f=gr(c),[g,p]=Fm(c,f),h=`${c}-notice`,v=o.map(y=>{const{content:S,duration:x,key:$,type:C}=y,E=C?`${h}-icon-${C}`:void 0;return{key:$,duration:x,icon:Gm(C),title:S,className:`${h}-${C}`,classNames:{wrapper:`${c}-${C}`,icon:E}}});return m.createElement(Bb,{prefixCls:c,placement:"top",configList:v,className:X(g,p,f),classNames:{...a,wrapper:a==null?void 0:a.wrapper,title:a==null?void 0:a.title},style:l,stack:!1})};let ho=null,rl=t=>t(),bs=[],Ss={};function WS(){const{getContainer:t,duration:o,rtl:a,maxCount:l,top:s,stack:c}=Ss,f=(t==null?void 0:t())||document.body;return{getContainer:()=>f,duration:o,rtl:a,maxCount:l,top:s,stack:c}}const CN=ee.forwardRef((t,o)=>{const{messageConfig:a,sync:l}=t,{getPrefixCls:s}=m.useContext(ut),c=Ss.prefixCls||s("message"),f=m.useContext(cR),[g,p]=n1({...a,prefixCls:c,...f.message});return ee.useImperativeHandle(o,()=>{const h={...g};return Object.keys(h).forEach(v=>{h[v]=(...y)=>(l(),g[v].apply(g,y))}),{instance:h,sync:l}}),p}),EN=ee.forwardRef((t,o)=>{const[a,l]=ee.useState(WS),s=()=>{l(WS)};ee.useEffect(s,[]);const c=pb(),f=c.getRootPrefixCls(),g=c.getIconPrefixCls(),p=c.getTheme(),h=ee.createElement(CN,{ref:o,sync:s,messageConfig:a});return ee.createElement(mr,{prefixCls:f,iconPrefixCls:g,theme:p},c.holderRender?c.holderRender(h):h)}),du=()=>{if(!ho){const t=document.createDocumentFragment(),o={fragment:t};ho=o,rl(()=>{ad(ee.createElement(EN,{ref:a=>{const{instance:l,sync:s}=a||{};Promise.resolve().then(()=>{!o.instance&&l&&(o.instance=l,o.sync=s,du())})}}),t)});return}ho.instance&&(bs.forEach(t=>{const{type:o,skipped:a}=t;if(!a)switch(o){case"open":{rl(()=>{const l=ho.instance.open({...Ss,...t.config});l==null||l.then(t.resolve),t.setCloseFn(l)});break}case"destroy":rl(()=>{ho==null||ho.instance.destroy(t.key)});break;default:rl(()=>{var l;const s=(l=ho.instance)[o].apply(l,Un(t.args));s==null||s.then(t.resolve),t.setCloseFn(s)})}}),bs=[])};function $N(t){Ss={...Ss,...t},rl(()=>{var o;(o=ho==null?void 0:ho.sync)==null||o.call(ho)})}function wN(t){const o=Xm(a=>{let l;const s={type:"open",config:t,resolve:a,setCloseFn:c=>{l=c}};return bs.push(s),()=>{l?rl(()=>{l()}):s.skipped=!0}});return du(),o}function TN(t,o){const a=Xm(l=>{let s;const c={type:t,args:o,resolve:l,setCloseFn:f=>{s=f}};return bs.push(c),()=>{s?rl(()=>{s()}):c.skipped=!0}});return du(),a}const RN=t=>{bs.push({type:"destroy",key:t}),du()},zN=["success","info","warning","error","loading"],to={open:wN,destroy:RN,config:$N,useMessage:b5,_InternalPanelDoNotUseOrYouWillBeFired:f5,_InternalListDoNotUseOrYouWillBeFired:xN};zN.forEach(t=>{to[t]=(...o)=>TN(t,o)});const NN=uR(t=>{const{prefixCls:o,className:a,closeIcon:l,closable:s,type:c,title:f,children:g,footer:p,style:h,classNames:v,styles:y,...S}=t,{getPrefixCls:x}=m.useContext(ut),{className:$,style:C,classNames:E,styles:T}=Ut("modal"),N=x(),w=o||x("modal"),z=gr(N),[M,A]=P1(w,z),O=ft(C),D=ft(h),[I,V]=Wt([E,v],[T,O,y,D],{props:t}),B=`${w}-confirm`;let q={};return c?q={closable:s??!1,title:"",footer:"",children:m.createElement(V1,{...t,prefixCls:w,confirmPrefixCls:B,rootPrefixCls:N,content:g})}:q={closable:s??!0,title:f,footer:p!==null&&m.createElement(D1,{...t}),children:g},m.createElement(R1,{prefixCls:w,className:X(M,`${w}-pure-panel`,c&&B,c&&`${B}-${c}`,a,$,A,z,I.root),style:V.root,...S,closeIcon:_1(w,l),closable:s,classNames:I,styles:V,...q})});function QS(t){return ps(G1(t))}const Qo=I1;Qo.useModal=sR,Qo.info=function(o){return ps(X1(o))},Qo.success=function(o){return ps(Y1(o))},Qo.error=function(o){return ps(W1(o))},Qo.warning=QS,Qo.warn=QS,Qo.confirm=function(o){return ps(Q1(o))},Qo.destroyAll=function(){for(;nl.length;){const o=nl.pop();o&&o()}},Qo.config=aR,Qo._InternalPanelDoNotUseOrYouWillBeFired=NN;const ZS=Xt("Popconfirm",t=>{const{componentCls:o,iconCls:a,antCls:l,zIndexPopup:s,colorText:c,colorWarning:f,marginXXS:g,marginXS:p,fontSize:h,fontWeightStrong:v,colorTextHeading:y}=t;return{[o]:{zIndex:s,[`&${l}-popover`]:{fontSize:h},[`${o}-message`]:{marginBottom:p,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o}-message-icon`]:{color:f},[`> ${o}-message-icon ${a}`]:{fontSize:h,lineHeight:1,marginInlineEnd:p},[`${o}-title`]:{fontWeight:v,color:y,"&:only-child":{fontWeight:400}},[`${o}-description`]:{marginTop:g,color:c}},[`${o}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:p}}}}},t=>{const{zIndexPopupBase:o}=t;return{zIndexPopup:o+60}},{resetStyle:!1}),KS=t=>{const{prefixCls:o,okButtonProps:a,cancelButtonProps:l,title:s,description:c,cancelText:f,okText:g,okType:p="primary",icon:h=m.createElement(_c,null),showCancel:v=!0,close:y,onConfirm:S,onCancel:x,onPopupClick:$,classNames:C,styles:E}=t,{getPrefixCls:T}=m.useContext(ut),[N]=Mo("Popconfirm",Lr.Popconfirm),w=Xl(s),z=Xl(c),M=A=>{var O;x==null||x(A),(O=l==null?void 0:l.onClick)==null||O.call(l,A)};return m.createElement("div",{className:`${o}-inner-content`,onClick:$},m.createElement("div",{className:`${o}-message`},h&&m.createElement("span",{className:X(`${o}-message-icon`,C==null?void 0:C.icon),style:E==null?void 0:E.icon},h),m.createElement("div",{className:`${o}-message-text`},ct(w)&&m.createElement("div",{className:X(`${o}-title`,C==null?void 0:C.title),style:E==null?void 0:E.title},w),ct(z)&&m.createElement("div",{className:X(`${o}-description`,C==null?void 0:C.content),style:E==null?void 0:E.content},z))),m.createElement("div",{className:`${o}-buttons`},v&&m.createElement(nn,{size:"small",...l,onClick:M},f||(N==null?void 0:N.cancelText)),m.createElement(og,{buttonProps:{size:"small",...Qm(p),...a},actionFn:S,close:y,prefixCls:T("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},g||(N==null?void 0:N.okText))))},MN=t=>{const{prefixCls:o,placement:a,className:l,style:s,...c}=t,{getPrefixCls:f}=m.useContext(ut),g=f("popconfirm",o);return ZS(g),m.createElement(cS,{placement:a,className:X(g,l),style:s,content:m.createElement(KS,{prefixCls:g,...c})})},Bg=m.forwardRef((t,o)=>{const{prefixCls:a,placement:l="top",trigger:s,okType:c="primary",icon:f=m.createElement(_c,null),children:g,overlayClassName:p,onOpenChange:h,onConfirm:v,onCancel:y,overlayStyle:S,styles:x,arrow:$,classNames:C,disabled:E=!1,mouseEnterDelay:T,mouseLeaveDelay:N,...w}=t,{getPrefixCls:z,className:M,style:A,classNames:O,styles:D,arrow:I,trigger:V,mouseEnterDelay:B,mouseLeaveDelay:q}=Ut("popconfirm"),[K,ie]=Ua(t.defaultOpen??!1,t.open),ae=Sg($,I),L=s||V||"click",Y=T??B??.1,Z=N??q??.1,fe=te=>{ie(te),h==null||h(te)},le=()=>{fe(!1)},se=te=>v==null?void 0:v(te),pe=te=>{fe(!1),y==null||y(te)},Se=te=>{E||fe(te)},_=z("popconfirm",a),P={...t,placement:l,trigger:L,okType:c,overlayStyle:S,styles:x,classNames:C,mouseEnterDelay:Y,mouseLeaveDelay:Z},ne=ft(A),J=ft(S),[ye,ce]=Wt([O,C],[D,ne,x,J],{props:P}),ve=X(_,M,p,ye.root);return ZS(_),m.createElement(uS,{arrow:ae,...sr(w,["title"]),trigger:L,placement:l,onOpenChange:Se,open:K,ref:o,mouseEnterDelay:Y,mouseLeaveDelay:Z,classNames:{root:ve,container:ye.container,arrow:ye.arrow},styles:{root:ce.root,container:ce.container,arrow:ce.arrow},content:m.createElement(KS,{okType:c,icon:f,...t,onPopupClick:void 0,prefixCls:_,close:le,onConfirm:se,onCancel:pe,classNames:ye,styles:ce}),"data-popover-inject":!0},g)});Bg._InternalPanelDoNotUseOrYouWillBeFired=MN;var ON={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};function Lg(){return Lg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Lg.apply(this,arguments)}const AN=(t,o)=>m.createElement(Yt,Lg({},t,{ref:o,icon:ON})),_N=m.forwardRef(AN),DN=t=>{const{paddingXXS:o,lineWidth:a,tagPaddingHorizontal:l,componentCls:s,calc:c}=t,f=c(l).sub(a).equal(),g=c(o).sub(a).equal();return{[s]:{...Xo(t),display:"inline-block",height:"auto",paddingInline:f,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",backgroundColor:t.defaultBg,border:`${Ee(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${s}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${s}-close-icon`]:{marginInlineStart:g,fontSize:t.tagIconSize,color:t.colorIcon,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${s}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive},"&-disabled":{cursor:"not-allowed",[`&:not(${s}-checkable-checked)`]:{color:t.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${s}-checkable-checked`]:{color:t.colorTextDisabled,backgroundColor:t.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:t.colorBgContainerDisabled,color:t.colorTextDisabled},[`&:not(${s}-checkable-checked):hover`]:{color:t.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:t.paddingXS}},"&-hidden":{display:"none"},"> svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},[`> ${t.iconCls} + span, > span + ${t.iconCls}, > svg + span, > span + svg`]:{marginInlineStart:f}},[`&${t.componentCls}-solid`]:{borderColor:"transparent",color:t.colorTextLightSolid,backgroundColor:t.colorBgSolid,[`&${s}-default`]:{color:t.solidTextColor}},[`${s}-filled`]:{borderColor:"transparent",backgroundColor:t.tagBorderlessBg},[`&${s}-disabled`]:{color:t.colorTextDisabled,cursor:"not-allowed",backgroundColor:t.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:t.colorTextDisabled,"&:hover":{color:t.colorTextDisabled}},"a&":{"&:hover, &:active":{color:t.colorTextDisabled}},[`&${s}-outlined`]:{borderColor:t.colorBorderDisabled},[`&${s}-solid, &${s}-filled`]:{color:t.colorTextDisabled,[`${s}-close-icon`]:{color:t.colorTextDisabled}},[`${s}-close-icon`]:{cursor:"not-allowed",color:t.colorTextDisabled,"&:hover":{color:t.colorTextDisabled}}}}},jg=t=>{const{lineWidth:o,fontSizeIcon:a,calc:l}=t,s=t.fontSizeSM;return jt(t,{tagFontSize:s,tagLineHeight:Ee(l(t.lineHeightSM).mul(s).equal()),tagIconSize:l(a).sub(l(o).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},Pg=t=>{const o=v1(new eu(t.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new kt(t.colorFillTertiary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText,solidTextColor:o}},Ig=Xt("Tag",t=>{const o=jg(t);return DN(o)},Pg),JS=m.forwardRef((t,o)=>{const{prefixCls:a,style:l,className:s,checked:c,children:f,icon:g,onChange:p,onClick:h,onKeyDown:v,disabled:y,...S}=t,{getPrefixCls:x,tag:$}=m.useContext(ut),C=m.useContext(dr),E=y??C,T=O=>{E||(p==null||p(!c),h==null||h(O))},N=O=>{v==null||v(O),!(O.defaultPrevented||E)&&O.key===" "&&(O.preventDefault(),O.repeat||p==null||p(!c))},w=x("tag",a),[z,M]=Ig(w),A=X(w,`${w}-checkable`,{[`${w}-checkable-checked`]:c,[`${w}-checkable-disabled`]:E},$==null?void 0:$.className,s,z,M);return m.createElement("span",{...S,ref:o,role:"checkbox","aria-checked":c,"aria-disabled":E||void 0,tabIndex:E?-1:0,style:{...$==null?void 0:$.style,...l},className:A,onClick:T,onKeyDown:N},g,m.createElement("span",null,f))}),HN=ee.forwardRef((t,o)=>{const{id:a,prefixCls:l,rootClassName:s,className:c,style:f,classNames:g,styles:p,disabled:h,options:v,value:y,defaultValue:S,onChange:x,multiple:$,...C}=t,{getPrefixCls:E,direction:T,className:N,style:w,classNames:z,styles:M}=Ut("tag"),A=E("tag",l),O=`${A}-checkable-group`,D=gr(A),[I,V]=Ig(A,D),B=ft(w),q=ft(f),[K,ie]=Wt([z,g],[M,B,p,q],{props:t}),ae=m.useMemo(()=>Array.isArray(v)?v.map(se=>Rt(se)?se:{value:se,label:se}):[],[v]),[L,Y]=Ua(S,y),Z=(se,pe)=>{let Se=null;if($){const _=L||[];Se=se?[].concat(Un(_),[pe.value]):_.filter(P=>P!==pe.value)}else Se=se?pe.value:null;Y(Se),x==null||x(Se)},fe=ee.useRef(null);m.useImperativeHandle(o,()=>({nativeElement:fe.current}));const le=Ga(C,{aria:!0,data:!0});return ee.createElement("div",{...le,className:X(O,N,s,{[`${O}-disabled`]:h,[`${O}-rtl`]:T==="rtl"},I,V,c,K.root),style:ie.root,id:a,ref:fe},ae.map(se=>ee.createElement(JS,{key:se.value,className:X(`${O}-item`,K.item,se.className),style:{...ie.item,...se.style},checked:$?(L||[]).includes(se.value):L===se.value,onChange:pe=>Z(pe,se),disabled:h},se.label)))});function BN(t,o){const{color:a,variant:l,bordered:s}=t;return m.useMemo(()=>{const c=a==null?void 0:a.endsWith("-inverse");let f;l?f=l:c?f="solid":s===!1?f="filled":f=o||"filled";let g=c?a==null?void 0:a.replace("-inverse",""):a;g===void 0&&f==="solid"&&(g="default");const p=au(g),h=_R(g),v={};if(!p&&!h&&g)if(f==="solid")v.backgroundColor=a;else{const y=new kt(g).toHsl();y.l=.95,v.backgroundColor=new kt(y).toHexString(),v.color=a,f==="outlined"&&(v.borderColor=a)}return[f,g,p,h,v]},[a,l,s,o])}const LN=t=>Mc(t,(o,{textColor:a,lightBorderColor:l,lightColor:s,darkColor:c})=>({[`${t.componentCls}${t.componentCls}-${o}:not(${t.componentCls}-disabled)`]:{[`&${t.componentCls}-outlined`]:{backgroundColor:s,borderColor:l,color:a},[`&${t.componentCls}-solid`]:{backgroundColor:c,borderColor:c,color:t.colorTextLightSolid},[`&${t.componentCls}-filled`]:{backgroundColor:s,color:a}}})),jN=Bl(["Tag","preset"],t=>{const o=jg(t);return LN(o)},Pg);function PN(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const mu=(t,o,a)=>{const l=PN(a);return{[`${t.componentCls}${t.componentCls}-${o}:not(${t.componentCls}-disabled)`]:{[`&${t.componentCls}-outlined`]:{backgroundColor:t[`color${l}Bg`],borderColor:t[`color${l}Border`],color:t[`color${a}`]},[`&${t.componentCls}-solid`]:{backgroundColor:t[`color${a}`],borderColor:t[`color${a}`]},[`&${t.componentCls}-filled`]:{backgroundColor:t[`color${l}Bg`],color:t[`color${a}`]}}}},IN=Bl(["Tag","status"],t=>{const o=jg(t);return[mu(o,"success","Success"),mu(o,"processing","Info"),mu(o,"error","Error"),mu(o,"warning","Warning")]},Pg),Zl=m.forwardRef((t,o)=>{var xe;const{prefixCls:a,className:l,rootClassName:s,style:c,children:f,icon:g,color:p,variant:h,onClose:v,bordered:y,disabled:S,href:x,target:$,styles:C,classNames:E,...T}=t,{getPrefixCls:N,direction:w,className:z,style:M,classNames:A,styles:O}=Ut("tag"),[D]=da("tag",void 0,{variants:["filled","solid","outlined"],defaultVariant:"filled"}),[I,V,B,q,K]=BN(t,D),ie=B||q,ae=m.useContext(dr),L=S??ae,{tag:Y}=m.useContext(ut),[Z,fe]=m.useState(!0),le=sr(T,["closeIcon","closable"]),se={...t,color:V,variant:I,disabled:L},pe=ft(M),Se=ft(c),[_,P]=Wt([A,E],[O,pe,C,Se],{props:se}),ne=m.useMemo(()=>{let Re=P.root;return L||(Re={...K,...Re}),Re},[P.root,K,L]),J=N("tag",a),[ye,ce]=Ig(J),ve=X(J,z,_.root,`${J}-${I}`,{[`${J}-${V}`]:ie,[`${J}-hidden`]:!Z,[`${J}-rtl`]:w==="rtl",[`${J}-disabled`]:L},l,s,ye,ce),te=Re=>{L||(Re.stopPropagation(),v==null||v(Re),!Re.defaultPrevented&&(x&&Re.preventDefault(),fe(!1)))},oe=Re=>{(Re.key==="Enter"||Re.key===" ")&&(Re.preventDefault(),Re.repeat||Re.currentTarget.click())},[,be]=qb(Jc(t),Jc(Y),{closable:!1,closeIconRender:Re=>{const Ie=m.createElement("span",{role:"button",tabIndex:L?-1:0,"aria-disabled":L||void 0,className:X(`${J}-close-icon`,_.close),onClick:te,onKeyDown:oe,style:P.close},Re);return cb(Re,Ie,Te=>({onClick:ot=>{var rt;(rt=Te==null?void 0:Te.onClick)==null||rt.call(Te,ot),te(ot)},onKeyDown:ot=>{var rt;(rt=Te==null?void 0:Te.onKeyDown)==null||rt.call(Te,ot),ot.defaultPrevented||oe(ot)},role:"button",tabIndex:L?-1:0,"aria-disabled":L||void 0,className:X(Te==null?void 0:Te.className,`${J}-close-icon`,_.close),style:{...P.close,...Te==null?void 0:Te.style}}))}}),we=en(T.onClick)||f&&f.type==="a",Oe=Wo(g,{className:X(m.isValidElement(g)?(xe=g.props)==null?void 0:xe.className:void 0,_.icon),style:P.icon}),Ae=Oe?m.createElement(m.Fragment,null,Oe,ct(f)&&m.createElement("span",{className:_.content,style:P.content},f)):f,Ce=x?"a":"span",ge=m.createElement(Ce,{...le,ref:o,className:ve,style:ne,href:L?void 0:x,target:$,onClick:L?void 0:le.onClick,...x&&L?{"aria-disabled":!0}:{}},Ae,be,B&&m.createElement(jN,{key:"preset",prefixCls:J}),q&&m.createElement(IN,{key:"status",prefixCls:J}));return we?m.createElement(l1,{component:"Tag"},ge):ge});Zl.CheckableTag=JS,Zl.CheckableTagGroup=HN;const VN={defaultSeed:zc.token,defaultAlgorithm:rv};var qN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};function Vg(){return Vg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Vg.apply(this,arguments)}const UN=(t,o)=>m.createElement(Yt,Vg({},t,{ref:o,icon:qN})),FN=m.forwardRef(UN);var GN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};function qg(){return qg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},qg.apply(this,arguments)}const XN=(t,o)=>m.createElement(Yt,qg({},t,{ref:o,icon:GN})),YN=m.forwardRef(XN);var WN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};function Ug(){return Ug=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Ug.apply(this,arguments)}const QN=(t,o)=>m.createElement(Yt,Ug({},t,{ref:o,icon:WN})),ZN=m.forwardRef(QN);var KN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"};function Fg(){return Fg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Fg.apply(this,arguments)}const JN=(t,o)=>m.createElement(Yt,Fg({},t,{ref:o,icon:KN})),kS=m.forwardRef(JN);var kN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"};function Gg(){return Gg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Gg.apply(this,arguments)}const eM=(t,o)=>m.createElement(Yt,Gg({},t,{ref:o,icon:kN})),Xg=m.forwardRef(eM);var tM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"};function Yg(){return Yg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Yg.apply(this,arguments)}const nM=(t,o)=>m.createElement(Yt,Yg({},t,{ref:o,icon:tM})),oM=m.forwardRef(nM);var rM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"};function Wg(){return Wg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Wg.apply(this,arguments)}const aM=(t,o)=>m.createElement(Yt,Wg({},t,{ref:o,icon:rM})),ex=m.forwardRef(aM);var lM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"};function Qg(){return Qg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Qg.apply(this,arguments)}const iM=(t,o)=>m.createElement(Yt,Qg({},t,{ref:o,icon:lM})),sM=m.forwardRef(iM);var cM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"};function Zg(){return Zg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Zg.apply(this,arguments)}const uM=(t,o)=>m.createElement(Yt,Zg({},t,{ref:o,icon:cM})),Kg=m.forwardRef(uM),Kl={queued:{label:"排队等待",color:"#8a919c",bg:"#ffffff",tagColor:"default"},running:{label:"进行中",color:"#185fa5",bg:"#e6f1fb",tagColor:"processing"},done:{label:"完成",color:"#0f6e56",bg:"#ffffff",tagColor:"success"},error:{label:"失败",color:"#a32d2d",bg:"#fcebeb",tagColor:"error"},cancelled:{label:"已取消",color:"#a32d2d",bg:"#fcebeb",tagColor:"default"}},{TextArea:fM}=jr;function dM({base:t,initialOpen:o,standalone:a=!1,displayName:l}){const s=m.useCallback(he=>t+he,[t]),[c,f]=m.useState(o),[g,p]=m.useState(0),[h,v]=m.useState("checking"),[y,S]=m.useState([]),[x,$]=m.useState([]),[C,E]=m.useState([]),[T,N]=m.useState(!1),[w,z]=m.useState(1),[M,A]=m.useState(!1),[O,D]=m.useState(null),[I,V]=m.useState("chat"),[B,q]=m.useState(""),[K,ie]=m.useState(!1),[ae,L]=m.useState(!1),[Y,Z]=m.useState(!1),fe=m.useRef(""),[le,se]=m.useState(0),pe=m.useRef(null),Se=m.useRef(null),_=m.useRef(null),P=m.useCallback(()=>{requestAnimationFrame(()=>{const he=pe.current??Se.current;he&&(he.scrollTop=he.scrollHeight)})},[]),ne=m.useCallback(async()=>{try{const[he,He,Me]=await Promise.all([fetch(s("/devchat/messages?limit=200"),{credentials:"include"}),fetch(s("/devchat/tasks?limit=100"),{credentials:"include"}),fetch(s("/devchat/status"),{credentials:"include"})]);if(he.status===401||He.status===401||Me.status===401){v("required");return}v("ok");const[Be,Je,yt]=await Promise.all([he.json(),He.json(),Me.json()]);S(Be.messages??[]),$(Je.tasks??[]),N(!!yt.running),z(yt.viewers??1),A(!!yt.is_admin)}catch{}},[s]);m.useEffect(()=>{ne().then(P)},[ne,P]),m.useEffect(()=>{h==="ok"&&fetch(s("/devchat/whoami"),{credentials:"include"}).then(he=>he.ok?he.json():null).then(he=>D(he)).catch(()=>{})},[s,h]),m.useEffect(()=>{const he=new EventSource(s("/devchat/stream"));return _.current=he,he.onopen=()=>Z(!0),he.onerror=()=>Z(!1),he.onmessage=He=>{let Me;try{Me=JSON.parse(He.data)}catch{return}switch(Me.type){case"hello":Z(!0),N(!!Me.running),z(Me.viewers??1);break;case"message":S(Be=>Me.message?[...Be,Me.message]:Be),fe.current="",se(Be=>Be+1),c||p(Be=>Be+1),P();break;case"typing":fe.current=(fe.current+(Me.content??"")).slice(-400),se(Be=>Be+1),P();break;case"tool":S(Be=>[...Be,{id:`tool-${Date.now()}-${Math.random().toString(36).slice(2,6)}`,sender_role:"tool",sender_name:Me.tool||"tool",content:Me.phase==="call"?`🔧 ${Me.tool||""}`:`✓ 完成 ${Me.tool||""}`,created_at:Date.now()/1e3}]),P();break;case"tasks":$(Me.tasks??[]);break;case"approval":{const Be=Me.approval;if(!Be)break;E(Je=>{const yt=Je.filter(Bt=>Bt.approval_id!==Be.approval_id);return Me.decided?yt:[...yt,Be]}),!Me.decided&&!c&&p(Je=>Je+1);break}case"status":N(Me.state==="running");break;case"done":N(!1),fe.current="",se(Be=>Be+1);break;case"error":S(Be=>[...Be,{id:`err-${Date.now()}`,sender_role:"system",sender_name:"devchat",content:`⚠ ${Me.message||"未知错误"}`,created_at:Date.now()/1e3}]),P();break;case"restarting":S(Be=>[...Be,{id:`rst-${Date.now()}`,sender_role:"system",sender_name:"devchat",content:`♻ ${Me.message||"服务重启中…"}`,created_at:Date.now()/1e3}]),setTimeout(()=>window.location.reload(),6e3);break}},()=>{he.close(),_.current=null}},[s,c,P]),m.useEffect(()=>{const he=setInterval(()=>{fetch(s("/devchat/status"),{credentials:"include"}).then(He=>He.json()).then(He=>{N(!!He.running),z(He.viewers??1),A(!!He.is_admin)}).catch(()=>{}),I==="tasks"&&fetch(s("/devchat/tasks?limit=100"),{credentials:"include"}).then(He=>He.json()).then(He=>$(He.tasks??[])).catch(()=>{})},1e4);return()=>clearInterval(he)},[s,I]),m.useEffect(()=>{let he=!1;const He=()=>{if(he)return;const yt=I==="tasks"?Se.current:pe.current;yt&&(yt.scrollTop=yt.scrollHeight)};He();const Me=requestAnimationFrame(He),Be=Date.now()+1200,Je=setInterval(()=>{if(Date.now()>Be||he){clearInterval(Je);return}He()},200);return()=>{he=!0,cancelAnimationFrame(Me),clearInterval(Je)}},[I,x.length]);const[J,ye]=m.useState([]),ce=m.useRef(null),[ve,te]=m.useState(!1),oe=m.useCallback(()=>{var he;(he=ce.current)==null||he.click()},[]),be=m.useCallback(he=>{const He=Array.from(he.target.files??[]);He.length&&ye(Me=>[...Me,...He].slice(0,5)),he.target.value=""},[]),we=m.useCallback(async he=>{const He=new FormData;He.append("file",he);try{const Me=await fetch(s("/devchat/upload"),{method:"POST",credentials:"include",body:He}).then(Be=>Be.json());return Me.path?Me.path:(to.error(Me.detail||`上传失败:${he.name}`),null)}catch{return to.error(`上传失败:${he.name}`),null}},[s]),Oe=m.useCallback(async()=>{const he=B.trim();if(!he||K)return;let He=he;if(J.length){ie(!0),te(!0);const Me=[];for(const Be of J){const Je=await we(Be);Je&&Me.push(Je)}if(te(!1),!Me.length){ie(!1);return}He=he+`
|
|
227
|
+
`]:{paddingInlineEnd:a},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:t.calc(t.controlHeight).sub(t.calc(t.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:t.paddingInline,insetBlockStart:t.paddingXS},[`${l}-suffix`]:{position:"absolute",top:0,insetInlineEnd:t.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-rtl`]:{[`${o}-suffix`]:{[`${o}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:t.paddingInlineSM}}}}}},iN=Xt(["Input","TextArea"],t=>{const o=jt(t,ys(t));return lN(o)},vs,{resetFont:!1}),sN=m.forwardRef((t,o)=>{var ge;const{prefixCls:a,bordered:l=!0,size:s,disabled:c,status:f,allowClear:g,classNames:p,rootClassName:h,className:v,style:y,styles:S,variant:x,showCount:$,onMouseDown:C,onResize:E,...T}=t,{getPrefixCls:N,direction:w,allowClear:z,autoComplete:M,className:A,style:O,classNames:D,styles:I}=Ut("textArea"),V=m.useContext(dr),B=c??V,{status:q,hasFeedback:K,feedbackIcon:ie}=m.useContext(fa),ae=gg(q,f),L=ft(O),Y=ft(y),[Z,fe]=Wt([D,p],[I,L,S,Y],{props:t}),le=m.useRef(null);m.useImperativeHandle(o,()=>{var xe,Re;return{resizableTextArea:(xe=le.current)==null?void 0:xe.resizableTextArea,focus:Ie=>{var Te,ot;ty((ot=(Te=le.current)==null?void 0:Te.resizableTextArea)==null?void 0:ot.textArea,Ie)},blur:()=>{var Ie;return(Ie=le.current)==null?void 0:Ie.blur()},nativeElement:((Re=le.current)==null?void 0:Re.nativeElement)||null}});const se=N("input",a),pe=gr(se),[Se,_]=NS(se,h);iN(se,pe);const{compactSize:P,compactItemClassnames:ne}=fs(se,w),J=hr(xe=>s??P??xe),[ye,ce]=da("textArea",x,l),[ve]=Mo("global"),te=Pb({allowClear:g,contextAllowClear:z,componentName:"TextArea",defaultLabel:ve.clear}),[oe,be]=m.useState(!1),[we,Oe]=m.useState(!1),Ae=xe=>{be(!0),C==null||C(xe);const Re=()=>{be(!1),document.removeEventListener("mouseup",Re)};document.addEventListener("mouseup",Re)},Ce=xe=>{var Re,Ie;if(E==null||E(xe),oe&&en(getComputedStyle)){const Te=(Ie=(Re=le.current)==null?void 0:Re.nativeElement)==null?void 0:Ie.querySelector("textarea");Te&&getComputedStyle(Te).resize==="both"&&Oe(!0)}};return m.createElement(Az,{autoComplete:M,...T,style:fe.root,styles:fe,disabled:B,allowClear:te,className:X(_,pe,v,h,ne,A,Z.root,{[`${se}-textarea-affix-wrapper-resize-dirty`]:we}),classNames:{...Z,textarea:X({[`${se}-sm`]:J==="small",[`${se}-lg`]:J==="large"},Se,Z.textarea,oe&&`${se}-mouse-active`),variant:X({[`${se}-${ye}`]:ce},ru(se,ae)),affixWrapper:X(`${se}-textarea-affix-wrapper`,{[`${se}-affix-wrapper-rtl`]:w==="rtl",[`${se}-affix-wrapper-sm`]:J==="small",[`${se}-affix-wrapper-lg`]:J==="large",[`${se}-textarea-show-count`]:$||((ge=t.count)==null?void 0:ge.show)},Se)},prefixCls:se,suffix:K&&m.createElement("span",{className:`${se}-textarea-suffix`},ie),showCount:$,ref:le,onResize:Ce,onMouseDown:Ae})}),jr=su;jr.Group=Vz,jr.Search=aN,jr.TextArea=sN,jr.Password=nN,jr.OTP=Yz;const uu=100,qS=uu/5,US=uu/2-qS/2,Hg=US*2*Math.PI,FS=50,GS=t=>{const{dotClassName:o,style:a,hasCircleCls:l}=t;return m.createElement("circle",{className:X(`${o}-circle`,{[`${o}-circle-bg`]:l}),r:US,cx:FS,cy:FS,strokeWidth:qS,style:a})},cN=({percent:t,prefixCls:o})=>{const a=`${o}-dot`,l=`${a}-holder`,s=`${l}-hidden`,[c,f]=m.useState(!1);On(()=>{t!==0&&f(!0)},[t]);const g=Math.max(Math.min(t,100),0);if(!c)return null;const p={strokeDashoffset:`${Hg/4}`,strokeDasharray:`${Hg*g/100} ${Hg*(100-g)/100}`};return m.createElement("span",{className:X(l,`${a}-progress`,{[s]:g<=0})},m.createElement("svg",{viewBox:`0 0 ${uu} ${uu}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":g},m.createElement(GS,{dotClassName:a,hasCircleCls:!0}),m.createElement(GS,{dotClassName:a,style:p})))};function uN(t){const{prefixCls:o,percent:a=0,className:l,style:s}=t,c=`${o}-dot`,f=`${c}-holder`,g=`${f}-hidden`;return m.createElement(m.Fragment,null,m.createElement("span",{className:X(f,l,a>0&&g),style:s},m.createElement("span",{className:X(c,`${o}-dot-spin`)},[1,2,3,4].map(p=>m.createElement("i",{className:`${o}-dot-item`,key:p})))),m.createElement(cN,{prefixCls:o,percent:a}))}function fN(t){const{prefixCls:o,indicator:a,percent:l,className:s,style:c}=t,f=`${o}-dot`;return a&&m.isValidElement(a)?Wo(a,g=>({className:X(g.className,f,s),style:{...g.style,...c},percent:l})):m.createElement(uN,{prefixCls:o,percent:l,className:s,style:c})}const dN=new Ft("antSpinMove",{to:{opacity:1}}),mN=new Ft("antRotate",{to:{transform:"rotate(405deg)"}}),gN=t=>{const{componentCls:o}=t,a=`${o}-section`;return{[o]:{...Xo(t),position:"relative","&-rtl":{direction:"rtl"},[`&${a}, > ${a}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:t.paddingSM,color:t.colorPrimary},[`&${a}`]:{display:"inline-flex"},[`> ${a}`]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${o}-description`]:{fontSize:t.fontSize,lineHeight:1},[`${o}-container`]:{position:"relative",transition:`opacity ${t.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:t.colorBgContainer,opacity:0,transition:`all ${t.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${o}-description`]:{textShadow:`0 0px 5px ${t.colorBgContainer}`},[`${o}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:t.colorBgMask,zIndex:t.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${t.motionDurationMid}`,[`&${o}-spinning`]:{opacity:1,pointerEvents:"auto"},[`> ${a}`]:{color:t.colorWhite,[`${o}-description`]:{color:t.colorTextLightSolid}}}}}},hN=t=>{const{componentCls:o,antCls:a,motionDurationSlow:l}=t,[s,c]=In(a,"spin");return{[o]:{[s("dot-holder-size")]:t.dotSize,[s("dot-item-size")]:`calc((${c("dot-holder-size")} - ${t.marginXXS} / 2) / 2)`,[`${o}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:c("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(f=>`${f} ${l} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:c("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:mN,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:c("dot-item-size"),height:c("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:dN,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(f=>`${f} ${l} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:t.colorFillSecondary}}}}},pN=t=>{const{componentCls:o}=t,[a]=In(t.antCls,"spin");return{[o]:{"&-sm":{[a("dot-holder-size")]:t.dotSizeSM},"&-lg":{[a("dot-holder-size")]:t.dotSizeLG}}}},yN=Xt("Spin",t=>{const o=jt(t,{spinDotDefault:t.colorTextDescription});return[gN(o),hN(o),pN(o)]},t=>{const{controlHeightLG:o,controlHeight:a}=t;return{contentHeight:400,dotSize:o/2,dotSizeSM:o*.35,dotSizeLG:a}}),vN=200,XS=[[30,.05],[70,.03],[96,.01]];function bN(t,o){const[a,l]=m.useState(0),s=m.useRef(null),c=o==="auto";return m.useEffect(()=>(c&&t&&(l(0),s.current=setInterval(()=>{l(f=>{const g=100-f;for(let p=0;p<XS.length;p+=1){const[h,v]=XS[p];if(f<=h)return f+g*v}return f})},vN)),()=>{s.current&&(clearInterval(s.current),s.current=null)}),[c,t]),c?a:o}let YS;function SN(t,o){return!!t&&!!o&&!Number.isNaN(Number(o))}const fu=m.forwardRef((t,o)=>{const{prefixCls:a,spinning:l=!0,delay:s=0,className:c,rootClassName:f,size:g,tip:p,description:h,wrapperClassName:v,style:y,children:S,fullscreen:x=!1,indicator:$,percent:C,classNames:E,styles:T,...N}=t,{getPrefixCls:w,direction:z,indicator:M,className:A,style:O,classNames:D,styles:I}=Ut("spin"),V=w("spin",a),[B,q]=yN(V),[K,ie]=m.useState(()=>l&&!SN(l,s)),ae=bN(K,C);m.useEffect(()=>{if(l){const J=yz(s,()=>{ie(!0)});return J(),()=>{var ye;(ye=J==null?void 0:J.cancel)==null||ye.call(J)}}ie(!1)},[s,l]);const L=hr(J=>g??J),Y=h??p,Z={...t,size:L,spinning:K,tip:Y,description:Y,fullscreen:x,children:S,percent:ae},fe=ft(O),[le,se]=Wt([D,E],[I,fe,T],{props:Z}),pe=$??M??YS,Se=typeof S<"u",_=Se||x,P=m.createElement(m.Fragment,null,m.createElement(fN,{className:X(le.indicator),style:se.indicator,prefixCls:V,indicator:pe,percent:ae}),Y&&m.createElement("div",{className:X(`${V}-description`,le.tip,le.description),style:{...se.tip,...se.description}},Y)),ne=m.useRef(null);return m.useImperativeHandle(o,()=>({nativeElement:ne.current})),m.createElement("div",{ref:ne,className:X(V,{[`${V}-sm`]:L==="small",[`${V}-lg`]:L==="large",[`${V}-spinning`]:K,[`${V}-rtl`]:z==="rtl",[`${V}-fullscreen`]:x},f,le.root,x&&le.mask,_?v:[`${V}-section`,le.section],A,c,B,q),style:{...se.root,..._?{}:se.section,...x?se.mask:{},...y},"aria-live":"polite","aria-busy":K,...N},K&&(_?m.createElement("div",{className:X(`${V}-section`,le.section),style:se.section},P):P),Se&&m.createElement("div",{className:X(`${V}-container`,le.container),style:se.container},S))});fu.setDefaultIndicator=t=>{YS=t};const xN=t=>{const{items:o,classNames:a,style:l}=t,{getPrefixCls:s}=Ut("message"),c=s("message"),f=gr(c),[g,p]=Fm(c,f),h=`${c}-notice`,v=o.map(y=>{const{content:S,duration:x,key:$,type:C}=y,E=C?`${h}-icon-${C}`:void 0;return{key:$,duration:x,icon:Gm(C),title:S,className:`${h}-${C}`,classNames:{wrapper:`${c}-${C}`,icon:E}}});return m.createElement(Bb,{prefixCls:c,placement:"top",configList:v,className:X(g,p,f),classNames:{...a,wrapper:a==null?void 0:a.wrapper,title:a==null?void 0:a.title},style:l,stack:!1})};let ho=null,rl=t=>t(),bs=[],Ss={};function WS(){const{getContainer:t,duration:o,rtl:a,maxCount:l,top:s,stack:c}=Ss,f=(t==null?void 0:t())||document.body;return{getContainer:()=>f,duration:o,rtl:a,maxCount:l,top:s,stack:c}}const CN=ee.forwardRef((t,o)=>{const{messageConfig:a,sync:l}=t,{getPrefixCls:s}=m.useContext(ut),c=Ss.prefixCls||s("message"),f=m.useContext(cR),[g,p]=n1({...a,prefixCls:c,...f.message});return ee.useImperativeHandle(o,()=>{const h={...g};return Object.keys(h).forEach(v=>{h[v]=(...y)=>(l(),g[v].apply(g,y))}),{instance:h,sync:l}}),p}),EN=ee.forwardRef((t,o)=>{const[a,l]=ee.useState(WS),s=()=>{l(WS)};ee.useEffect(s,[]);const c=pb(),f=c.getRootPrefixCls(),g=c.getIconPrefixCls(),p=c.getTheme(),h=ee.createElement(CN,{ref:o,sync:s,messageConfig:a});return ee.createElement(mr,{prefixCls:f,iconPrefixCls:g,theme:p},c.holderRender?c.holderRender(h):h)}),du=()=>{if(!ho){const t=document.createDocumentFragment(),o={fragment:t};ho=o,rl(()=>{ad(ee.createElement(EN,{ref:a=>{const{instance:l,sync:s}=a||{};Promise.resolve().then(()=>{!o.instance&&l&&(o.instance=l,o.sync=s,du())})}}),t)});return}ho.instance&&(bs.forEach(t=>{const{type:o,skipped:a}=t;if(!a)switch(o){case"open":{rl(()=>{const l=ho.instance.open({...Ss,...t.config});l==null||l.then(t.resolve),t.setCloseFn(l)});break}case"destroy":rl(()=>{ho==null||ho.instance.destroy(t.key)});break;default:rl(()=>{var l;const s=(l=ho.instance)[o].apply(l,Un(t.args));s==null||s.then(t.resolve),t.setCloseFn(s)})}}),bs=[])};function $N(t){Ss={...Ss,...t},rl(()=>{var o;(o=ho==null?void 0:ho.sync)==null||o.call(ho)})}function wN(t){const o=Xm(a=>{let l;const s={type:"open",config:t,resolve:a,setCloseFn:c=>{l=c}};return bs.push(s),()=>{l?rl(()=>{l()}):s.skipped=!0}});return du(),o}function TN(t,o){const a=Xm(l=>{let s;const c={type:t,args:o,resolve:l,setCloseFn:f=>{s=f}};return bs.push(c),()=>{s?rl(()=>{s()}):c.skipped=!0}});return du(),a}const RN=t=>{bs.push({type:"destroy",key:t}),du()},zN=["success","info","warning","error","loading"],to={open:wN,destroy:RN,config:$N,useMessage:b5,_InternalPanelDoNotUseOrYouWillBeFired:f5,_InternalListDoNotUseOrYouWillBeFired:xN};zN.forEach(t=>{to[t]=(...o)=>TN(t,o)});const NN=uR(t=>{const{prefixCls:o,className:a,closeIcon:l,closable:s,type:c,title:f,children:g,footer:p,style:h,classNames:v,styles:y,...S}=t,{getPrefixCls:x}=m.useContext(ut),{className:$,style:C,classNames:E,styles:T}=Ut("modal"),N=x(),w=o||x("modal"),z=gr(N),[M,A]=P1(w,z),O=ft(C),D=ft(h),[I,V]=Wt([E,v],[T,O,y,D],{props:t}),B=`${w}-confirm`;let q={};return c?q={closable:s??!1,title:"",footer:"",children:m.createElement(V1,{...t,prefixCls:w,confirmPrefixCls:B,rootPrefixCls:N,content:g})}:q={closable:s??!0,title:f,footer:p!==null&&m.createElement(D1,{...t}),children:g},m.createElement(R1,{prefixCls:w,className:X(M,`${w}-pure-panel`,c&&B,c&&`${B}-${c}`,a,$,A,z,I.root),style:V.root,...S,closeIcon:_1(w,l),closable:s,classNames:I,styles:V,...q})});function QS(t){return ps(G1(t))}const Qo=I1;Qo.useModal=sR,Qo.info=function(o){return ps(X1(o))},Qo.success=function(o){return ps(Y1(o))},Qo.error=function(o){return ps(W1(o))},Qo.warning=QS,Qo.warn=QS,Qo.confirm=function(o){return ps(Q1(o))},Qo.destroyAll=function(){for(;nl.length;){const o=nl.pop();o&&o()}},Qo.config=aR,Qo._InternalPanelDoNotUseOrYouWillBeFired=NN;const ZS=Xt("Popconfirm",t=>{const{componentCls:o,iconCls:a,antCls:l,zIndexPopup:s,colorText:c,colorWarning:f,marginXXS:g,marginXS:p,fontSize:h,fontWeightStrong:v,colorTextHeading:y}=t;return{[o]:{zIndex:s,[`&${l}-popover`]:{fontSize:h},[`${o}-message`]:{marginBottom:p,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o}-message-icon`]:{color:f},[`> ${o}-message-icon ${a}`]:{fontSize:h,lineHeight:1,marginInlineEnd:p},[`${o}-title`]:{fontWeight:v,color:y,"&:only-child":{fontWeight:400}},[`${o}-description`]:{marginTop:g,color:c}},[`${o}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:p}}}}},t=>{const{zIndexPopupBase:o}=t;return{zIndexPopup:o+60}},{resetStyle:!1}),KS=t=>{const{prefixCls:o,okButtonProps:a,cancelButtonProps:l,title:s,description:c,cancelText:f,okText:g,okType:p="primary",icon:h=m.createElement(_c,null),showCancel:v=!0,close:y,onConfirm:S,onCancel:x,onPopupClick:$,classNames:C,styles:E}=t,{getPrefixCls:T}=m.useContext(ut),[N]=Mo("Popconfirm",Lr.Popconfirm),w=Xl(s),z=Xl(c),M=A=>{var O;x==null||x(A),(O=l==null?void 0:l.onClick)==null||O.call(l,A)};return m.createElement("div",{className:`${o}-inner-content`,onClick:$},m.createElement("div",{className:`${o}-message`},h&&m.createElement("span",{className:X(`${o}-message-icon`,C==null?void 0:C.icon),style:E==null?void 0:E.icon},h),m.createElement("div",{className:`${o}-message-text`},ct(w)&&m.createElement("div",{className:X(`${o}-title`,C==null?void 0:C.title),style:E==null?void 0:E.title},w),ct(z)&&m.createElement("div",{className:X(`${o}-description`,C==null?void 0:C.content),style:E==null?void 0:E.content},z))),m.createElement("div",{className:`${o}-buttons`},v&&m.createElement(nn,{size:"small",...l,onClick:M},f||(N==null?void 0:N.cancelText)),m.createElement(og,{buttonProps:{size:"small",...Qm(p),...a},actionFn:S,close:y,prefixCls:T("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},g||(N==null?void 0:N.okText))))},MN=t=>{const{prefixCls:o,placement:a,className:l,style:s,...c}=t,{getPrefixCls:f}=m.useContext(ut),g=f("popconfirm",o);return ZS(g),m.createElement(cS,{placement:a,className:X(g,l),style:s,content:m.createElement(KS,{prefixCls:g,...c})})},Bg=m.forwardRef((t,o)=>{const{prefixCls:a,placement:l="top",trigger:s,okType:c="primary",icon:f=m.createElement(_c,null),children:g,overlayClassName:p,onOpenChange:h,onConfirm:v,onCancel:y,overlayStyle:S,styles:x,arrow:$,classNames:C,disabled:E=!1,mouseEnterDelay:T,mouseLeaveDelay:N,...w}=t,{getPrefixCls:z,className:M,style:A,classNames:O,styles:D,arrow:I,trigger:V,mouseEnterDelay:B,mouseLeaveDelay:q}=Ut("popconfirm"),[K,ie]=Ua(t.defaultOpen??!1,t.open),ae=Sg($,I),L=s||V||"click",Y=T??B??.1,Z=N??q??.1,fe=te=>{ie(te),h==null||h(te)},le=()=>{fe(!1)},se=te=>v==null?void 0:v(te),pe=te=>{fe(!1),y==null||y(te)},Se=te=>{E||fe(te)},_=z("popconfirm",a),P={...t,placement:l,trigger:L,okType:c,overlayStyle:S,styles:x,classNames:C,mouseEnterDelay:Y,mouseLeaveDelay:Z},ne=ft(A),J=ft(S),[ye,ce]=Wt([O,C],[D,ne,x,J],{props:P}),ve=X(_,M,p,ye.root);return ZS(_),m.createElement(uS,{arrow:ae,...sr(w,["title"]),trigger:L,placement:l,onOpenChange:Se,open:K,ref:o,mouseEnterDelay:Y,mouseLeaveDelay:Z,classNames:{root:ve,container:ye.container,arrow:ye.arrow},styles:{root:ce.root,container:ce.container,arrow:ce.arrow},content:m.createElement(KS,{okType:c,icon:f,...t,onPopupClick:void 0,prefixCls:_,close:le,onConfirm:se,onCancel:pe,classNames:ye,styles:ce}),"data-popover-inject":!0},g)});Bg._InternalPanelDoNotUseOrYouWillBeFired=MN;var ON={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"};function Lg(){return Lg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Lg.apply(this,arguments)}const AN=(t,o)=>m.createElement(Yt,Lg({},t,{ref:o,icon:ON})),_N=m.forwardRef(AN),DN=t=>{const{paddingXXS:o,lineWidth:a,tagPaddingHorizontal:l,componentCls:s,calc:c}=t,f=c(l).sub(a).equal(),g=c(o).sub(a).equal();return{[s]:{...Xo(t),display:"inline-block",height:"auto",paddingInline:f,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",backgroundColor:t.defaultBg,border:`${Ee(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${s}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${s}-close-icon`]:{marginInlineStart:g,fontSize:t.tagIconSize,color:t.colorIcon,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${s}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive},"&-disabled":{cursor:"not-allowed",[`&:not(${s}-checkable-checked)`]:{color:t.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${s}-checkable-checked`]:{color:t.colorTextDisabled,backgroundColor:t.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:t.colorBgContainerDisabled,color:t.colorTextDisabled},[`&:not(${s}-checkable-checked):hover`]:{color:t.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:t.paddingXS}},"&-hidden":{display:"none"},"> svg":{display:"inline-block",verticalAlign:"middle",marginBlockEnd:"0.2em"},[`> ${t.iconCls} + span, > span + ${t.iconCls}, > svg + span, > span + svg`]:{marginInlineStart:f}},[`&${t.componentCls}-solid`]:{borderColor:"transparent",color:t.colorTextLightSolid,backgroundColor:t.colorBgSolid,[`&${s}-default`]:{color:t.solidTextColor}},[`${s}-filled`]:{borderColor:"transparent",backgroundColor:t.tagBorderlessBg},[`&${s}-disabled`]:{color:t.colorTextDisabled,cursor:"not-allowed",backgroundColor:t.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:t.colorTextDisabled,"&:hover":{color:t.colorTextDisabled}},"a&":{"&:hover, &:active":{color:t.colorTextDisabled}},[`&${s}-outlined`]:{borderColor:t.colorBorderDisabled},[`&${s}-solid, &${s}-filled`]:{color:t.colorTextDisabled,[`${s}-close-icon`]:{color:t.colorTextDisabled}},[`${s}-close-icon`]:{cursor:"not-allowed",color:t.colorTextDisabled,"&:hover":{color:t.colorTextDisabled}}}}},jg=t=>{const{lineWidth:o,fontSizeIcon:a,calc:l}=t,s=t.fontSizeSM;return jt(t,{tagFontSize:s,tagLineHeight:Ee(l(t.lineHeightSM).mul(s).equal()),tagIconSize:l(a).sub(l(o).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},Pg=t=>{const o=v1(new eu(t.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new kt(t.colorFillTertiary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText,solidTextColor:o}},Ig=Xt("Tag",t=>{const o=jg(t);return DN(o)},Pg),JS=m.forwardRef((t,o)=>{const{prefixCls:a,style:l,className:s,checked:c,children:f,icon:g,onChange:p,onClick:h,onKeyDown:v,disabled:y,...S}=t,{getPrefixCls:x,tag:$}=m.useContext(ut),C=m.useContext(dr),E=y??C,T=O=>{E||(p==null||p(!c),h==null||h(O))},N=O=>{v==null||v(O),!(O.defaultPrevented||E)&&O.key===" "&&(O.preventDefault(),O.repeat||p==null||p(!c))},w=x("tag",a),[z,M]=Ig(w),A=X(w,`${w}-checkable`,{[`${w}-checkable-checked`]:c,[`${w}-checkable-disabled`]:E},$==null?void 0:$.className,s,z,M);return m.createElement("span",{...S,ref:o,role:"checkbox","aria-checked":c,"aria-disabled":E||void 0,tabIndex:E?-1:0,style:{...$==null?void 0:$.style,...l},className:A,onClick:T,onKeyDown:N},g,m.createElement("span",null,f))}),HN=ee.forwardRef((t,o)=>{const{id:a,prefixCls:l,rootClassName:s,className:c,style:f,classNames:g,styles:p,disabled:h,options:v,value:y,defaultValue:S,onChange:x,multiple:$,...C}=t,{getPrefixCls:E,direction:T,className:N,style:w,classNames:z,styles:M}=Ut("tag"),A=E("tag",l),O=`${A}-checkable-group`,D=gr(A),[I,V]=Ig(A,D),B=ft(w),q=ft(f),[K,ie]=Wt([z,g],[M,B,p,q],{props:t}),ae=m.useMemo(()=>Array.isArray(v)?v.map(se=>Rt(se)?se:{value:se,label:se}):[],[v]),[L,Y]=Ua(S,y),Z=(se,pe)=>{let Se=null;if($){const _=L||[];Se=se?[].concat(Un(_),[pe.value]):_.filter(P=>P!==pe.value)}else Se=se?pe.value:null;Y(Se),x==null||x(Se)},fe=ee.useRef(null);m.useImperativeHandle(o,()=>({nativeElement:fe.current}));const le=Ga(C,{aria:!0,data:!0});return ee.createElement("div",{...le,className:X(O,N,s,{[`${O}-disabled`]:h,[`${O}-rtl`]:T==="rtl"},I,V,c,K.root),style:ie.root,id:a,ref:fe},ae.map(se=>ee.createElement(JS,{key:se.value,className:X(`${O}-item`,K.item,se.className),style:{...ie.item,...se.style},checked:$?(L||[]).includes(se.value):L===se.value,onChange:pe=>Z(pe,se),disabled:h},se.label)))});function BN(t,o){const{color:a,variant:l,bordered:s}=t;return m.useMemo(()=>{const c=a==null?void 0:a.endsWith("-inverse");let f;l?f=l:c?f="solid":s===!1?f="filled":f=o||"filled";let g=c?a==null?void 0:a.replace("-inverse",""):a;g===void 0&&f==="solid"&&(g="default");const p=au(g),h=_R(g),v={};if(!p&&!h&&g)if(f==="solid")v.backgroundColor=a;else{const y=new kt(g).toHsl();y.l=.95,v.backgroundColor=new kt(y).toHexString(),v.color=a,f==="outlined"&&(v.borderColor=a)}return[f,g,p,h,v]},[a,l,s,o])}const LN=t=>Mc(t,(o,{textColor:a,lightBorderColor:l,lightColor:s,darkColor:c})=>({[`${t.componentCls}${t.componentCls}-${o}:not(${t.componentCls}-disabled)`]:{[`&${t.componentCls}-outlined`]:{backgroundColor:s,borderColor:l,color:a},[`&${t.componentCls}-solid`]:{backgroundColor:c,borderColor:c,color:t.colorTextLightSolid},[`&${t.componentCls}-filled`]:{backgroundColor:s,color:a}}})),jN=Bl(["Tag","preset"],t=>{const o=jg(t);return LN(o)},Pg);function PN(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const mu=(t,o,a)=>{const l=PN(a);return{[`${t.componentCls}${t.componentCls}-${o}:not(${t.componentCls}-disabled)`]:{[`&${t.componentCls}-outlined`]:{backgroundColor:t[`color${l}Bg`],borderColor:t[`color${l}Border`],color:t[`color${a}`]},[`&${t.componentCls}-solid`]:{backgroundColor:t[`color${a}`],borderColor:t[`color${a}`]},[`&${t.componentCls}-filled`]:{backgroundColor:t[`color${l}Bg`],color:t[`color${a}`]}}}},IN=Bl(["Tag","status"],t=>{const o=jg(t);return[mu(o,"success","Success"),mu(o,"processing","Info"),mu(o,"error","Error"),mu(o,"warning","Warning")]},Pg),Zl=m.forwardRef((t,o)=>{var xe;const{prefixCls:a,className:l,rootClassName:s,style:c,children:f,icon:g,color:p,variant:h,onClose:v,bordered:y,disabled:S,href:x,target:$,styles:C,classNames:E,...T}=t,{getPrefixCls:N,direction:w,className:z,style:M,classNames:A,styles:O}=Ut("tag"),[D]=da("tag",void 0,{variants:["filled","solid","outlined"],defaultVariant:"filled"}),[I,V,B,q,K]=BN(t,D),ie=B||q,ae=m.useContext(dr),L=S??ae,{tag:Y}=m.useContext(ut),[Z,fe]=m.useState(!0),le=sr(T,["closeIcon","closable"]),se={...t,color:V,variant:I,disabled:L},pe=ft(M),Se=ft(c),[_,P]=Wt([A,E],[O,pe,C,Se],{props:se}),ne=m.useMemo(()=>{let Re=P.root;return L||(Re={...K,...Re}),Re},[P.root,K,L]),J=N("tag",a),[ye,ce]=Ig(J),ve=X(J,z,_.root,`${J}-${I}`,{[`${J}-${V}`]:ie,[`${J}-hidden`]:!Z,[`${J}-rtl`]:w==="rtl",[`${J}-disabled`]:L},l,s,ye,ce),te=Re=>{L||(Re.stopPropagation(),v==null||v(Re),!Re.defaultPrevented&&(x&&Re.preventDefault(),fe(!1)))},oe=Re=>{(Re.key==="Enter"||Re.key===" ")&&(Re.preventDefault(),Re.repeat||Re.currentTarget.click())},[,be]=qb(Jc(t),Jc(Y),{closable:!1,closeIconRender:Re=>{const Ie=m.createElement("span",{role:"button",tabIndex:L?-1:0,"aria-disabled":L||void 0,className:X(`${J}-close-icon`,_.close),onClick:te,onKeyDown:oe,style:P.close},Re);return cb(Re,Ie,Te=>({onClick:ot=>{var rt;(rt=Te==null?void 0:Te.onClick)==null||rt.call(Te,ot),te(ot)},onKeyDown:ot=>{var rt;(rt=Te==null?void 0:Te.onKeyDown)==null||rt.call(Te,ot),ot.defaultPrevented||oe(ot)},role:"button",tabIndex:L?-1:0,"aria-disabled":L||void 0,className:X(Te==null?void 0:Te.className,`${J}-close-icon`,_.close),style:{...P.close,...Te==null?void 0:Te.style}}))}}),we=en(T.onClick)||f&&f.type==="a",Oe=Wo(g,{className:X(m.isValidElement(g)?(xe=g.props)==null?void 0:xe.className:void 0,_.icon),style:P.icon}),Ae=Oe?m.createElement(m.Fragment,null,Oe,ct(f)&&m.createElement("span",{className:_.content,style:P.content},f)):f,Ce=x?"a":"span",ge=m.createElement(Ce,{...le,ref:o,className:ve,style:ne,href:L?void 0:x,target:$,onClick:L?void 0:le.onClick,...x&&L?{"aria-disabled":!0}:{}},Ae,be,B&&m.createElement(jN,{key:"preset",prefixCls:J}),q&&m.createElement(IN,{key:"status",prefixCls:J}));return we?m.createElement(l1,{component:"Tag"},ge):ge});Zl.CheckableTag=JS,Zl.CheckableTagGroup=HN;const VN={defaultSeed:zc.token,defaultAlgorithm:rv};var qN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};function Vg(){return Vg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Vg.apply(this,arguments)}const UN=(t,o)=>m.createElement(Yt,Vg({},t,{ref:o,icon:qN})),FN=m.forwardRef(UN);var GN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};function qg(){return qg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},qg.apply(this,arguments)}const XN=(t,o)=>m.createElement(Yt,qg({},t,{ref:o,icon:GN})),YN=m.forwardRef(XN);var WN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};function Ug(){return Ug=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Ug.apply(this,arguments)}const QN=(t,o)=>m.createElement(Yt,Ug({},t,{ref:o,icon:WN})),ZN=m.forwardRef(QN);var KN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"};function Fg(){return Fg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Fg.apply(this,arguments)}const JN=(t,o)=>m.createElement(Yt,Fg({},t,{ref:o,icon:KN})),kS=m.forwardRef(JN);var kN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"};function Gg(){return Gg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Gg.apply(this,arguments)}const eM=(t,o)=>m.createElement(Yt,Gg({},t,{ref:o,icon:kN})),Xg=m.forwardRef(eM);var tM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"};function Yg(){return Yg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Yg.apply(this,arguments)}const nM=(t,o)=>m.createElement(Yt,Yg({},t,{ref:o,icon:tM})),oM=m.forwardRef(nM);var rM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"};function Wg(){return Wg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Wg.apply(this,arguments)}const aM=(t,o)=>m.createElement(Yt,Wg({},t,{ref:o,icon:rM})),ex=m.forwardRef(aM);var lM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"};function Qg(){return Qg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Qg.apply(this,arguments)}const iM=(t,o)=>m.createElement(Yt,Qg({},t,{ref:o,icon:lM})),sM=m.forwardRef(iM);var cM={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"};function Zg(){return Zg=Object.assign?Object.assign.bind():function(t){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(t[l]=a[l])}return t},Zg.apply(this,arguments)}const uM=(t,o)=>m.createElement(Yt,Zg({},t,{ref:o,icon:cM})),Kg=m.forwardRef(uM),Kl={queued:{label:"排队等待",color:"#8a919c",bg:"#ffffff",tagColor:"default"},running:{label:"进行中",color:"#185fa5",bg:"#e6f1fb",tagColor:"processing"},done:{label:"完成",color:"#0f6e56",bg:"#ffffff",tagColor:"success"},error:{label:"失败",color:"#a32d2d",bg:"#fcebeb",tagColor:"error"},cancelled:{label:"已取消",color:"#a32d2d",bg:"#fcebeb",tagColor:"default"}},{TextArea:fM}=jr;function dM({base:t,initialOpen:o,standalone:a=!1,displayName:l}){const s=m.useCallback(he=>t+he,[t]),[c,f]=m.useState(o),[g,p]=m.useState(0),[h,v]=m.useState("checking"),[y,S]=m.useState([]),[x,$]=m.useState([]),[C,E]=m.useState([]),[T,N]=m.useState(!1),[w,z]=m.useState(1),[M,A]=m.useState(!1),[O,D]=m.useState(null),[I,V]=m.useState("chat"),[B,q]=m.useState(""),[K,ie]=m.useState(!1),[ae,L]=m.useState(!1),[Y,Z]=m.useState(!1),fe=m.useRef(""),[le,se]=m.useState(0),pe=m.useRef(null),Se=m.useRef(null),_=m.useRef(null),P=m.useCallback(()=>{requestAnimationFrame(()=>{const he=pe.current??Se.current;he&&(he.scrollTop=he.scrollHeight)})},[]),ne=m.useCallback(async()=>{try{const[he,He,Me]=await Promise.all([fetch(s("/devchat/messages?limit=200"),{credentials:"include"}),fetch(s("/devchat/tasks?limit=100"),{credentials:"include"}),fetch(s("/devchat/status"),{credentials:"include"})]);if(he.status===401||He.status===401||Me.status===401){v("required");return}v("ok");const[Be,Je,yt]=await Promise.all([he.json(),He.json(),Me.json()]);S(Be.messages??[]),$(Je.tasks??[]),N(!!yt.running),z(yt.viewers??1),A(!!yt.is_admin)}catch{}},[s]);m.useEffect(()=>{ne().then(P)},[ne,P]),m.useEffect(()=>{h==="ok"&&fetch(s("/devchat/whoami"),{credentials:"include"}).then(he=>he.ok?he.json():null).then(he=>D(he)).catch(()=>{})},[s,h]),m.useEffect(()=>{const he=new EventSource(s("/devchat/stream"));return _.current=he,he.onopen=()=>Z(!0),he.onerror=()=>Z(!1),he.onmessage=He=>{let Me;try{Me=JSON.parse(He.data)}catch{return}switch(Me.type){case"hello":Z(!0),N(!!Me.running),z(Me.viewers??1);break;case"message":S(Be=>Me.message?[...Be,Me.message]:Be),fe.current="",se(Be=>Be+1),c||p(Be=>Be+1),P();break;case"typing":fe.current=(fe.current+(Me.content??"")).slice(-400),se(Be=>Be+1),P();break;case"tool":S(Be=>[...Be,{id:`tool-${Date.now()}-${Math.random().toString(36).slice(2,6)}`,sender_role:"tool",sender_name:Me.tool||"tool",content:Me.phase==="call"?`🔧 ${Me.tool||""}`:`✓ 完成 ${Me.tool||""}`,created_at:Date.now()/1e3}]),P();break;case"tasks":$(Me.tasks??[]);break;case"approval":{const Be=Me.approval;if(!Be)break;E(Je=>{const yt=Je.filter(Bt=>Bt.approval_id!==Be.approval_id);return Me.decided?yt:[...yt,Be]}),!Me.decided&&!c&&p(Je=>Je+1);break}case"status":N(Me.state==="running");break;case"done":N(!1),fe.current="",se(Be=>Be+1),window.dispatchEvent(new CustomEvent("devchat-task-done",{detail:{state:Me.state,seq:Me.seq}}));break;case"error":S(Be=>[...Be,{id:`err-${Date.now()}`,sender_role:"system",sender_name:"devchat",content:`⚠ ${Me.message||"未知错误"}`,created_at:Date.now()/1e3}]),P();break;case"restarting":S(Be=>[...Be,{id:`rst-${Date.now()}`,sender_role:"system",sender_name:"devchat",content:`♻ ${Me.message||"服务重启中…"}`,created_at:Date.now()/1e3}]),setTimeout(()=>window.location.reload(),6e3);break}},()=>{he.close(),_.current=null}},[s,c,P]),m.useEffect(()=>{const he=setInterval(()=>{fetch(s("/devchat/status"),{credentials:"include"}).then(He=>He.json()).then(He=>{N(!!He.running),z(He.viewers??1),A(!!He.is_admin)}).catch(()=>{}),I==="tasks"&&fetch(s("/devchat/tasks?limit=100"),{credentials:"include"}).then(He=>He.json()).then(He=>$(He.tasks??[])).catch(()=>{})},1e4);return()=>clearInterval(he)},[s,I]),m.useEffect(()=>{let he=!1;const He=()=>{if(he)return;const yt=I==="tasks"?Se.current:pe.current;yt&&(yt.scrollTop=yt.scrollHeight)};He();const Me=requestAnimationFrame(He),Be=Date.now()+1200,Je=setInterval(()=>{if(Date.now()>Be||he){clearInterval(Je);return}He()},200);return()=>{he=!0,cancelAnimationFrame(Me),clearInterval(Je)}},[I,x.length]);const[J,ye]=m.useState([]),ce=m.useRef(null),[ve,te]=m.useState(!1),oe=m.useCallback(()=>{var he;(he=ce.current)==null||he.click()},[]),be=m.useCallback(he=>{const He=Array.from(he.target.files??[]);He.length&&ye(Me=>[...Me,...He].slice(0,5)),he.target.value=""},[]),we=m.useCallback(async he=>{const He=new FormData;He.append("file",he);try{const Me=await fetch(s("/devchat/upload"),{method:"POST",credentials:"include",body:He}).then(Be=>Be.json());return Me.path?Me.path:(to.error(Me.detail||`上传失败:${he.name}`),null)}catch{return to.error(`上传失败:${he.name}`),null}},[s]),Oe=m.useCallback(async()=>{const he=B.trim();if(!he||K)return;let He=he;if(J.length){ie(!0),te(!0);const Me=[];for(const Be of J){const Je=await we(Be);Je&&Me.push(Je)}if(te(!1),!Me.length){ie(!1);return}He=he+`
|
|
228
228
|
|
|
229
229
|
[附件](可用 Read 工具直接查看):
|
|
230
230
|
`+Me.map(Be=>`- ${Be}`).join(`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/.env.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/base/app.py.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/__init__.py
RENAMED
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/cli/app.py.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sycommon_python_lib-0.2.12a9 → sycommon_python_lib-0.2.12a11}/src/command/templates/web/app.py.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|