diff --git a/luci-app-quickstart/Makefile b/luci-app-quickstart/Makefile index 352534cf..b0a952e6 100644 --- a/luci-app-quickstart/Makefile +++ b/luci-app-quickstart/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart LUCI_DEPENDS:=+quickstart +luci-app-store LUCI_PKGARCH:=all -PKG_VERSION:=0.8.13-3 +PKG_VERSION:=0.8.16-1 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json b/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json new file mode 100644 index 00000000..578c026d --- /dev/null +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/en.json @@ -0,0 +1 @@ +{"en":{"- -自定义- -":"- -Custom- -","(无DNS服务器,请之后自行填写公共DNS服务器,例如 223.5.5.5)":"(No DNS server, please fill in the public DNS server later, such as 223.5.5.5)","(未挂载)":"(Not mounted)","(未格式化)":"(Not formatted)","(系统分区)":"(System partition)","(系统盘)":"(System disk)","(请先获取IPv4上游信息)":"(Please obtain IPv4 upstream information first)","* 表示每天":"* Means daily","* 表示每小时":"* Means hourly","* 表示每月":"* Means monthly","%{ countdown }s后 跳转新地址":"%{ countdown }s before redirecting to new address","%{ days }天":["%{ days } d ","%{ days } d "],"%{ hours }小时":["%{ hours } h","%{ hours } h"],"%{ minutes }分":[" %{ minutes } min"," %{ minutes } min"],"%{ seconds }秒":[" %{ seconds } sec"," %{ seconds } sec"],"%{status}下载服务配置向导":"%{status} download service configuration wizard","1、点击“提交”可将变更合并到非沙箱环境":"1. Click 'Submit' to merge changes into non-sandbox environment","1. 满足上述条件以后,点击“当前 IPv4 上游信息”以刷新当前连接信息,成功以后,“自动填写”按钮将被激活。(失败可再次点击)":"1. After the above conditions are met, click 'Current IPv4 Upstream Information' to refresh the current connection information. After success, the 'Auto Fill' button will be activated. (Click again if failed)","2、点击“重置”可将沙箱恢复到初始状态":"2. Click 'Reset' to restore the sandbox to its initial state","2. 点击“自动填写”,将切换到参数页并自动填写。此时依然可以自行调整参数。":"2. Click 'Auto-fill' to switch to the parameter page and auto-fill. Parameters can still be adjusted manually.","223.5.5.5":"223.5.5.5","3、点击“退出”可退出沙箱环境,并放弃沙箱中的数据":"3. Click 'Exit' to exit the sandbox environment and abandon the data in the sandbox","Aria2高级配置":"Aria2 Adv.","CPU使用率":"CPU Usage","CPU温度":"CPU Temp.","DDNSTO":"DDNSTO","DDNSTO 是一个不需要公网IP也可以在外网访问的穿透域名服务,一个浏览器搞定内网穿透,远程访问Openwrt、远程终端、远程桌面...":"DDNSTO is a domain name penetration service that can be accessed from the Internet without a public IP. A browser can handle intranet penetration and remote access to Openwrt, remote terminal, remote desktop...","DDNSTO控制台":"DDNSTO Console","DHCP客户端":"DHCP Client","DHCP的IP池格式错误或超出子网范围":"DHCP IP pool format error or out of subnet range","DNS 配置方式":"DNS Configuration Method","dnspod":"dnspod","Dnspod":"Dnspod","DNS服务器":"DNS Server","DNS服务器: ":"DNS Server: ","DNS服务器地址":"DNS Server Address","DNS选项":"DNS Options","DNS配置":"DNS Settings","DNS配置已保存":"DNS Saved","DNS错误":"DNS Error","Docker根目录:":"Docker Root Directory: ","Docker管理":"Docker Actions","Docker迁移向导":"Docker Migration Wizard","Docker高级配置":"Docker Adv.","IP 地址":"IP Address","IP 地址: ":"IP Address: ","IPv4地址":"IPv4 Address","IPv4地址格式错误":"IPv4 Address Format Error","IPv4子网掩码":"IPv4 Subnet Mask","IPv4子网掩码格式错误":"IPv4 Subnet Mask Format Error","IPv6地址":"IPv6 Address","IP地址":"IP Address","IP地址版本:":"IP Version: ","IP池结束地址":"IP Pool End Address","IP池起始地址":"IP Pool Start Address","iStoreOS官网":"iStoreOS","JBOD (线性)":"JBOD (Linear)","LAN 接口配置方式":"LAN Interface Configuration Method","LAN口未关联任何物理网口,可能导致路由器失联,是否继续操作?":"LAN port not associated with any physical network port, may cause router disconnection, continue?","MAC:":"MAC:","qBittorrent高级配置":"qBittorrent Adv.","RAID ( Redundant Array of Independent Disks )即独立磁盘冗余阵列,简称为「磁盘阵列」,就是用多个独立的磁盘组成在一起形成一个大的磁盘系统,从而实现比单块磁盘更好的存储性能和更高的可靠性。":"RAID (Redundant Array of Independent Disks) is a redundant array of independent disks, which uses multiple independent disks to form a large disk system, thereby achieving better storage performance and higher reliability than a single disk.","RAID 0 (条带)":"RAID 0 (Striping)","RAID 1 (镜像)":"RAID 1 (Mirroring)","RAID创建向导":"RAID Creation Wizard","RAID功能正在公测中,使用过程中如造成数据丢失等问题,概不负责,请谨慎使用。":"The RAID function is currently in public beta testing. We are not responsible for any data loss or other issues caused during use. Please use it with caution.","RAID磁盘阵列是用多个独立的磁盘组成在一起形成一个大的磁盘系统,从而实现比单块磁盘更好的存储性能和更高的可靠性。":"RAID disk array uses multiple independent disks together to form a large disk system, thereby achieving better storage performance and higher reliability than a single disk.","RAID管理":"RAID Mananger","RAID级别:":"RAID Level:","RAID设备":"RAID","RPC 令牌:":"RPC Token:","S.M.A.R.T.,全称为“Self-Monitoring Analysis and Reporting Technology”,即“自我监测、分析及报告技术”,":"S.M.A.R.T., the full name of which is 'Self-Monitoring Analysis and Reporting Technology', is an automatic hard disk status detection and early warning system and specification. ","S.M.A.R.T异常":"S.M.A.R.T Exception","SAMBA":"SAMBA","Samba共享配置":"Samba Share Configuration","SAMBA高级配置":"SAMBA Adv.","Transmission高级配置":"Transmission Adv.","WAN 接口配置方式":"WAN Interface Configuration Method","WEBDAV":"WEBDAV","Webdav共享配置":"Webdav Share Configuration","WebDAV高级配置":"WebDAV Adv.","一个简易沙箱,方便用来实验系统配置和程序,方便开发未完成的软件,但不保护 Docker 和硬盘的数据":"A simple sandbox, convenient for experimenting with system configuration and programs, and for developing unfinished software, but does not protect Docker and hard disk data","上传":"Upload","上传:":"Upload:","下一步":"Next","下载":"Download","下载:":"Download:","下载易有云客户端,随时随地相册备份、远程访问":"Download Linkease client for anytime, anywhere photo backup, remote access","下载服务":"Download Services","下载服务:":"Download Services: ","下载服务配置向导":"Download Services Guide","下载目录":"Download Directory","下载目录:":"Download Directory:","下载目录:":"Download Directory:","不支持挂载":"Not Supported for Mounting","不格式化,使用原文件系统":"Do Not Format, Use Original File System","为拥有动态IP的主机配置一个固定的可访问域名":"Configure a fixed accessible domain name for hosts with dynamic IPs","仅统计已挂载分区":"Only Count Mounted Partitions","以上操作都将重启设备,设备重启完成后会自动刷新页面。如果 IP 变化可能需要":"The above operations will restart the device, and the page will automatically refresh after the device restarts. If the IP changes, you may need to ","传输时自检":"Self-Test During Transfer","使用DDNSTO":"Use DDNSTO","使用全局配置":"Use Global Configuration","使用易有云APP,随时随地远程下载":"Use Linkease APP for Remote Downloads Anytime, Anywhere","保存":"Save","保存中...":"Saving...","保存并应用":"Save and Apply","保存成功":"Saved Successfully","保存配置":"Save Configuration","保持DHCP服务设置":"Keep DHCP Service Settings","修改":"Modify","修改DHCP服务":"Modify DHCP Service","健康":"Healthy","允许旧协议与身份验证(不安全)":"Allow Old Protocols and Authentication (Not Secure)","全双工":"Full Duplex","共享名(建议使用英文字母)":"Share Name (Recommended to Use English Letters)","共享名称":"Share Name","共享名称不能为空":"Share Name Cannot Be Empty","共享路径不能为空":"Share Path Cannot Be Empty","关闭":"Close","兼容一些电视或者电视盒子":"Compatible with Some TVs or TV Boxes","内存使用率":"Mem. Usage","内核版本":"Kernel Ver.","内网测速":"LAN Speedtest","内网配置":"LAN Settings","分区 / 挂载点":"Partition / Mount Point","分区信息":"Partition Information","分区存在异常,点击分区列表查看错误":"Partition Abnormal, Click Partition List to View Errors","分区并格式化":"Partition and Format","切换软件源":"Switch Software Source","创建":"Create","创建RAID":"Create RAID","创建中...":"Creating...","创建成功":"Created Successfully","创建计划任务":"Create Scheduled Task","初始化中...":"Initializing...","初始化成功":"Initialized Successfully","删除":"Delete","删除 RAID 设备之前请先卸载文件系统":"Please Uninstall File System Before Deleting RAID Device","删除中...":"Deleting...","删除成功":"Deleted Successfully","刷新页面":"Refresh Page","前往":"Go to ","功能":"Function","加载中...":"Loading...","加载磁盘信息失败":"Load disk info failed","半双工":"Half Duplex","协议(网络获取方式)":"Protocol (Network Acquisition Method)","即将重启设备":"Device Will Restart Soon","去卸载":"Umount","去挂载":"Mount","发送:":"Send:","取消":"Cancel","只读":"Read-Only","可前往":"Can Go","可读写状态:":"R/W Status: ","名称":"Name","名称:":"Name:","启动失败":"Start failed","启用":"Enable","启用LAN口DHCP服务(用于从旁路由模式恢复成默认状态)":"Enable LAN Port DHCP Service (Used to Restore from Bypass Routing Mode to Default State)","固件更新":"OTA","固件版本":"Firmware Ver.","地址":"Address","型号":"Model","域名:":"Domain Name:","域名配置":"DDNS","域名配置向导":"DDNS Guide","处理中...":"Processing...","备份升级":"Backup/Flash","备用DNS地址":"Backup DNS Address","备用DNS服务器":"Backup DNS Server","备用DNS服务器地址":"Backup DNS Server Address","外网测速":"Internet Speedtest","天":"Day","如果您在RAID磁盘阵列中创建了文件系统,先卸载文件系统,后删除文件系统删除操作可能会导致数据丢失,请谨慎操作。":"If you have created a file system in the RAID disk array, uninstall the file system first and then delete the file system. Deleting the file system may result in data loss, so proceed with caution.","如果温度大于或等于 N 摄氏度则报告.":"Report if Temperature is Greater Than or Equal to N Degrees Celsius.","如果由于系统重置或重启导致的RAID设备丢失可以尝试通过下方'扫描恢复RAID'按钮恢复":"If the RAID device is lost due to system reset or restart, you can try to recover it by clicking the 'Scan and Recover RAID' button below.","如需临时退出沙箱环境,请将设备关机后拔出相关磁盘,启动前插入相关磁盘可再次进入沙箱。
注意临时退出沙箱环境以后升级固件会导致之前的沙箱数据无效":"If you need to temporarily exit the sandbox environment, please shut down the device and unplug the relevant disk. Insert the relevant disk before starting to enter the sandbox again.
Note that upgrading the firmware after temporarily exiting the sandbox environment will cause the previous sandbox data to become invalid","如需对 Samba 或 WebDAV 进行更细致的权限控制,请使用“%{unishare}”":"For More Detailed Permission Control of Samba or WebDAV, Please Use '%{unishare}'","子网掩码":"Subnet Mask","子网掩码: ":"Subnet Mask: ","存储服务":"Share","安装中...":"Installing...","安装失败":"Installation Failed","安装失败,":"Installation Failed,","安装失败或超时,请检查软件源或稍候重试":"Installation Failed or Timed Out, Please Check Software Source or Retry Later","完成":"Complete","容量":"Capacity","宽带密码":"PPPoE Password","宽带拨号连接":"PPPoE","宽带账号":"PPPoE Account","密码":"Password","密码:":"Password:","密码不能为空":"Password Cannot Be Empty","将扫描磁盘里 RAID 的磁盘阵列配置并恢复,确定要恢复 RAID 磁盘阵列吗?":"Will Scan Disk RAID Array Configuration and Restore, Are You Sure to Restore RAID Array?","小时":"Hour","就可以通过主机的监控硬件或软件自动向用户作出警告并进行轻微的自动修复,以提前保障硬盘数据的安全。":"the host's monitoring hardware or software can automatically warn the user and perform minor automatic repairs to ensure the safety of the hard disk data in advance.","局域网文件共享(Samba)":"Local Network File Sharing (Samba)","局域网文件共享(WebDAV)":"Local Network File Sharing (WebDAV)","属性":"Attributes","已启动":"Started","已启用":"Started","已成功将分区 %{dev} 挂载到 %{mount}":"Successfully Mounted Partition %{dev} to %{mount}","已挂载为交换区":"Mounted as Swap Area","已挂载磁盘":"Mounted Disks","已断开":"Disconnected","已经成功初始化分区":"Partition Initialized Successfully","已经成功格式化磁盘":"Disk Formatted Successfully","已联网":"Internet Connected","已连接设备":"Connected Devices","已配置":"Configured","带宽监控":"Bandwidth Monitor","常规设置":"General Settings","并挂载到":"And Mount to","序号":"Serial Number","开启 NAT(可修复某些无线热点不能访问外网问题)":"Enable NAT (Can Fix Some Wireless Hotspots Not Accessing the Internet Issue)","开启沙箱":"Enable Sandbox","当前 IPv4 上游信息(点此刷新)":"Current IPv4 upstream information (click here to refresh)","当前处于沙箱环境:":"Currently in sandbox environment:","当前状态:":"Current status:","当前软件源":"Current software source","当系统根目录空间不足时,可将Docker根目录迁移到外置硬盘,以保证系统的正常运行(目标分区不支持NTFS,FAT等文件系统)":"When the system root directory space is insufficient, you can migrate the Docker root directory to an external hard disk to ensure the normal operation of the system (the target partition does not support NTFS, FAT and other file systems)","待机":"Standby","待机-处于待机和睡眠模式下不检查设备。此模式下磁盘一般不旋转,如果你不想每次检查都转动磁盘,那么这个模式比较适合。":"Standby - The device is not checked in standby and sleep mode. In this mode, the disk generally does not rotate. If you do not want to spin the disk every time you check, then this mode is more suitable.","快速配置":"Guide","总是":"Always","总是-无论是什么功耗模式下都测试(检查)磁盘,当检查时,这可能会使停转的磁盘开始转动。":"Always - Tests (checks) the disk regardless of power mode. When checking, this may spin up a stalled disk.","恢复":"Restore","恢复完成":"Restore complete","您可以用上一级路由(主路由)拨号,然后用本路由来实现一些高级功能。":"You can dial using the upper level router (main router), and then use this router to implement some advanced functions.","您的系统空间已不足,检测到您的Docker根目录位于系统根目录上,可能会影响系统的正常运行,建议使用Docker迁移向导将Docker根目录迁移到外置硬盘上。":"Your system space is insufficient. It is detected that your Docker root directory is located on the system root directory, which may affect the normal operation of the system. It is recommended to use the Docker Migration Wizard to migrate the Docker root directory to an external hard disk.","想要更精确的配置?请前往":"Want more precise configuration? Please go to ","成员":"Member","我知道了":"Got it","手动在地址栏输入地址":"manually enter address in the address bar","手动挂载":"Manual mount","手动配置":"Manual","手动配置...":"Manual...","手动配置则需自行获取主路由器的IP地址(例如 192.168.2.1 )和子网掩码,记录以备后续填写,点击“手动配置”按钮,切换到参数配置页,按实际情况自行填写。":"For manual configuration, you need to obtain the IP address of the main router (for example, 192.168.2.1) and subnet mask, record them for later filling, click the 'Manual' button, switch to the parameter configuration page, and fill in the information according to the actual situation.","手工配置":"Manual configuration","执行中...":"Executing...","扩充":"Expand","扩展信息":"Extended information","扫描中...":"Scanning ...","扫描恢复RAID":"Scan to restore RAID","拨号上网":"PPPoE","挂载中...":"Mounting...","挂载信息":"Mount information","挂载成功":"Mount successful","挂载点":"Mount Points","挂载路径:":"Mount path:","接收:":"Receive:","控制台":"Dashboard","提交":"Submit","提交中...":"Submitting...","提供 DHCPv4 服务":"Provide DHCPv4 service","提供 DHCPv4 服务(需要关闭主路由 DHCP 服务)":"Provide DHCPv4 service (need to turn off main router DHCP service)","提示":"Tip","插件备份":"APP Backup","操作":"Operation","文件管理":"File Manager","文件系统:":"File System: ","新建":"Create new","旁路由模式,也叫单臂路由模式。":"Bypass routing mode, also called single-arm routing mode.","旁路由模式仅支持静态IP地址":"Bypass routing mode only supports static IP addresses","旁路由自动配置":"Bypass routing auto-configuration","旁路由配置前的准备工作":"Preparation before bypass routing configuration","无法识别数据":"Unrecognized data","无法识别路径":"Unrecognized path","易有云":"LinkEase","是一种自动的硬盘状态检测与预警系统和规范。通过在硬盘硬件内的检测指令对硬盘的硬件如磁头、盘片、马达、":"Through the detection instructions in the hard disk hardware, the operation of the hard disk hardware such as the head, disk, motor, and circuit is monitored, recorded,","是否确定初始化?":"Are you sure to initialize?","是否确定格式化 %{partname}?":"Are you sure to format %{partname}?","是否立即创建 %{name}?选择的硬盘所有分区将会被清除,此操作可能会导致硬盘数据丢失,请谨慎操作。":"Do you want to create %{name} now? All partitions of the selected hard disk will be cleared. This operation may cause hard disk data loss. Please operate with caution.","更换目录(不覆盖目标路径,仅将Docker目录修改为目标路径)":"Change directory (does not overwrite target path, only changes Docker directory to target path)","更换配置":"Change configuration","月":"Month","服务-动态DNS":"Service - Dynamic DNS","服务地址:":"Service address:","服务已启动":"Service started","服务目录路径":"Service directory path","服务路径:":"Service path:","未分区":"Unpartitioned","未分区(%{total})":"Unpartitioned (%{total})","未启动":"Not Started","未启用":"Not enabled","未安装":"Not Installed","未安装或未配置":"Uninitialized","未挂载磁盘":"Not Mounted","未格式化":"Not formatted","未知":"Unknown","未知错误":"Unknown error","未联网":"Internet Down","未配置":"Not Configured","本向导支持自动或手动配置:":"This wizard supports automatic or manual configuration:","查看存储服务信息":"Actions","查看教程":"View tutorial","查看日志":"View log","查看更多详情":" to check details","查看磁盘管理信息":"Disk Actions","查看系统信息":"System Utils","查看网络接口信息":"NIC Info","查看设备信息":"Check Clients","查看详情":"View details","查看高级配置":"Acrions","格式化":"Format","格式化中...":"Formatting...","格式化为EXT4文件系统":"Format as EXT4 file system","格式化分区":"Format partition","格式化并挂载":"Format and mount","格式化成功":"Format successful","格式化选项":"Format options","检查中...":"Checking ...","检查插件状态失败":"Failed to check plugin status","检测不到可用磁盘阵列成员":"No available RAID array members detected","检测不到挂载的磁盘信息,请先插上磁盘,建议使用U盘或者移动硬盘,方便装卸":"No mounted disk information detected, please insert a disk, recommended to use a USB drive or external hard drive for easy mounting/unmounting","检测中...":"Detecting ...","检测到你尚未安装 %{name} 插件,是否安装?":"Detected that you have not installed %{name} plugin, install now?","检测到你有未保存的配置,可前往页面右上角点击查看,保存并应用或者恢复配置后继续":"It is detected that you have unsaved configuration. You can go to the upper right corner of the page and click View, Save and Apply, or Restore the configuration to continue","检测到您的wan口没有公网IP或者IPv6地址,可以使用DDNSTO配置远程域名访问":"Detected that your WAN port has no public IP or IPv6 address, you can use DDNSTO to configure remote domain access","检测到您还没有挂载外置硬盘或分区小于8GB,需要您接上硬盘并格式化或手动挂载硬盘后,再执行Docker迁移向导,将Docker迁移到目标硬盘。":"It is detected that you have not mounted the external hard disk or the partition is less than 8GB. You need to connect the hard disk and format it or manually mount the hard disk, and then execute the Docker Migration Wizard to migrate Docker to the target hard disk.","欢迎使用 NAS 配置向导":"Welcome to the NAS configuration wizard","欢迎使用网络配置向导":"Welcome to the network configuration wizard","正在切换中...":"Switching ...","正在创建中...":"Creating...","正在加载中...":"Loading...","正在安装中...":"Installing...","正在检测中...":"Detecting ...","正在检测插件是否已启动...":"Checking if plugin has started...","正在获取磁盘信息...":"Fetching Disk List...","正在迁移中...":"Migrating...","正在配置…请稍等":"Configuring...please wait","此分区为只读状态,可能无法写入数据":"This partition is read-only, data may not be writable","此操作会将会删除该分区全部数据":"This operation will delete all data on this partition","此操作会将会删除该分区全部数据,并格式化成EXT4,随后自动重启进入沙箱模式,是否继续?":"This operation will delete all data on the partition and format it to EXT4, then automatically reboot into sandbox mode. Do you want to continue?","此文件系统不支持Docker等应用数据,建议格式化成EXT4文件系统":"This file system does not support Docker and other application data, it is recommended to format as EXT4 file system","沙箱已开启":"In Sandbox","沙箱模式配置向导":"Sandbox mode configuration wizard","没找到想要的配置?请使用%{link}":"Couldn't find the desired configuration? Please use %{link}","流量统计":"Traffic","测试时磁盘会转动,请选择合适的模式来控制磁盘转动。":"Disk will spin during testing, please choose the appropriate mode to control disk spinning.","测速":"Speedtest","添加LAN":"Add LAN","添加WAN":"Add WAN","添加成功":"Added successfully","温度":"Temp.","温度监测(最大)":"Temperature monitoring (max)","温度监测(差异)":"Temperature monitoring (difference)","温馨提示":"Kind reminder","点击“自动配置”按钮开始自动配置向导;":"Click the 'Auto' button to start the automatic configuration wizard;","点此自动配置 AriaNg":"Click here to auto-configure AriaNg","状态":"Status","现在,将本路由WAN口断开,将其中一个LAN口与主路由连接,并将当前浏览器设备连接到主路由。点击“进入控制台”浏览器将跳转到新的路由IP":"Now, disconnect the WAN port of this router, connect one of the LAN ports to the main router, and connect the current browser device to the main router. Click 'Enter Console' and the browser will redirect to the new router IP","现在,请你配置旁路由信息":"Now, please configure bypass routing information","用于放置下载文件的目录。例如:/mnt/sda1/download":"Directory for placing download files. For example: /mnt/sda1/download","用于放置配置文件的目录。例如:/mnt/sda1/Configs/aria2;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/aria2; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置配置文件的目录。例如:/mnt/sda1/Configs/qb;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/qb; do not use /tmp or /var to avoid losing tasks after reboot.","用于放置配置文件的目录。例如:/mnt/sda1/Configs/tr;请勿使用 /tmp 或 /var ,以免重启以后任务丢失":"The directory for storing configuration files. For example: /mnt/sda1/Configs/tr; do not use /tmp or /var to avoid losing tasks after reboot.","用于远程访问的令牌。":"Token for remote access.","用户名":"Username","用户名:":"Username:","用户名不能为空":"Username cannot be empty","用户名不能以_开头":"Username cannot start with _","用户名不能以数字开头":"Username cannot start with a number","用户名只能为小写":"Username must be lowercase","用户名太短":"Username is too short","由于您的设备没有 WAN 口,无法使用本设置向导,具体请看%{link}":"Since your device does not have a WAN port, you cannot use this setup wizard. For details, please see %{link}","电源模式":"Power mode","电路的运行情况进行监控、记录并与厂商所设定的预设安全值进行比较,若监控情况将要或已超出预设安全值的安全范围,":"and compared with the preset safety value set by the manufacturer. If the monitoring situation is about to or has exceeded the safety range of the preset safety value, ","登录过期,请重新登录":"Login expired, please log in again","目录":"Directory","目标分区":"Target partition","目标分区(分区大小须大于2G,将此分区作为外部 overlay 使用)":"Target partition (partition size must be greater than 2G, use this partition as an external overlay)","目标磁盘(建议选择U盘或者移动硬盘,方便装卸)":"Target disk (recommended to use USB drive or external hard drive for easy mounting/unmounting)","睡眠":"Sleep","睡眠-处于睡眠模式下不检查设备。":"Sleep - Do not check devices in sleep mode.","短暂自检":"Short self-test","硬盘配置":"Hard disk configuration","确定":"Confirm","确定创建 %{name}?该操作不可逆,请谨慎操作":"Confirm to create %{name}? This operation is irreversible, please proceed with caution","确定放弃沙箱中的数据?再次进入沙箱需要重新格式化相应磁盘分区":"Confirm to abandon data in the sandbox? Re-entering the sandbox requires reformatting the corresponding disk partition","确定要删除 %{name} 吗?":"Are you sure to delete %{name}?","确定要删除 %{name} 该磁盘阵列吗?删除操作可能会导致数据丢失,请谨慎操作。删除成功后,如需另外组RAID,建议稍等几分钟后再试。":"Are you sure you want to delete the disk array %{name}? Deletion may result in data loss, so please proceed with caution. If you need to create another RAID after successful deletion, it is recommended that you wait a few minutes and try again.","确认":"Confirm","磁盘":"Disk","磁盘信息":"Disk Info","磁盘管理":"Disk Manager","磁盘阵列成员:":"RAID array members:","禁用":"Disable","离线时自检":"Self-test while offline","移除":"Remove","窗口 %{ item }":"Window %{ item }","等待设备重启,重启完成后":"Waiting for device to restart, after restart","类型":"Type","系统信息":"System Info","系统时间":"System Time","系统根目录":"Rootfs","系统监控":"System Monitor","级别":"Level","终端":"Terminal","统一文件共享":"Unified file sharing","继续":"Continue","继续保存":"Continue saving","继续配置":" to continue configuration","编辑":"Edit","编辑LAN":"Edit LAN","编辑WAN":"Edit WAN","网关地址":"Gateway address","网关地址: ":"Gateway address: ","网口配置":"NIC Assignment","网络向导":"Network Guide","网络地址:":"Network address:","网络异常:":"Network abnormality:","网络接口状态":"NIC Status","自上次报告以来温度变化至少 N 度,则需报告.":"Report if temperature changes by at least N degrees since the last report.","自动填写...":"Auto-fill...","自动获取":"Auto","自动获取 IPV6(即开启 DHCPv6 客户端)":"Automatically obtain IPv6 (i.e. enable DHCPv6 client)","自动获取(DHCP)":"DHCP","自动获取DNS":"Auto","自动获取IP地址(DHCP)":"Automatically obtain IP address (DHCP)","自动配置...":"Auto...","自定义DNS":"Custom DNS","自己添加":"Custom","自检日志":"Self-test log","至少需要2块硬盘,“区块延展”功能是将数据分成多个块,并将数据块分散到组成的多个硬盘上以提高性能的过程。不提供数据冗余。":"At least 2 hard disks are required. The 'Block Stretch' function is the process of dividing data into multiple blocks and spreading the data blocks across multiple hard disks to improve performance. No data redundancy is provided.","至少需要2块硬盘,同时向所有硬盘写入相同的数据。提供数据冗余。":"At least 2 hard drives are required, write the same data to all drives. Provides data redundancy.","至少需要2块硬盘,将多个硬盘合并为单个存储空间,其容量等于所有硬盘容量的总和。不提供数据冗余。":"At least 2 hard disks are required to combine multiple hard disks into a single storage space with a capacity equal to the sum of all hard disk capacities. No data redundancy is provided.","至少需要3块硬盘,执行段落分块延展,并对分布到所有组成硬盘上的数据执行奇偶校验,从而提供比 RAID 1 更有效的数据冗余。":"Requires at least 3 hard disks, performs block stretching, and performs parity checking on data distributed across all component hard disks, providing more effective data redundancy than RAID 1.","至少需要4块硬盘,执行两个层级的数据奇偶校验以存储等于 2 个硬盘容量的冗余数据,提供比 RAID 5 更大程度的数据冗余。":"Requires at least 4 hard drives, performs two levels of data parity to store redundant data equal to the capacity of 2 hard drives, and provides a greater degree of data redundancy than RAID 5.","至少需要4块硬盘,提供 RAID 0 的性能和 RAID 1 的数据保护级别,将硬盘组合进镜像数据的由两个硬盘组成的组。":"Requires at least 4 hard drives, provides the performance of RAID 0 and the data protection level of RAID 1, combining the hard drives into groups of two hard drives that mirror data.","至少需要填写一个DNS":"At least one DNS must be filled in","花生壳":"Oray","获取不到分区":"Cannot get partition","获取不到分区ID":"Cannot get partition ID","获取不到分区路径":"Cannot get partition path","获取不到设备名称":"Cannot get device name","获取不到设备路径":"Cannot get device path","覆盖迁移(覆盖目标路径,继续迁移会清空该目标路径下的文件)":"Overwrite migration (overwrite target path, continuing migration will clear files under the target path)","警告:格式化会清空 %{partname} 分区数据,请你谨慎操作":"Warning: Formatting will clear all data on %{partname} partition, please proceed with caution","警告:该操作将初始化 %{model} 硬盘并创建分区,请你谨慎操作":"Warning: This operation will initialize %{model} hard drive and create partitions, please proceed with caution","计划任务":"Scheduled tasks","认证失败?":"Authentication failed?","设备":"Device","设备信息":"Device Info","设备型号":"Model","设备路由":"Routes","设备重启中...":"Device rebooting...","设备重启中... 若页面长时间未刷新可能需要手动填写地址":"Device rebooting... If the page does not refresh for a long time, you may need to manually enter the address","设定哪一个 IP 地址(IPv4 或 IPv6)会被发送给 DDNS 提供商":"Specify which IP address (IPv4 or IPv6) will be sent to the DDNS provider","访问地址:":"Access address:","该分区尚未挂载,请先去挂载":"This partition is not yet mounted, please mount it first","该固件不支持沙箱模式":"Current firmware does not support sandbox","该目标路径不为空":"The target path is not empty","详情":"Details","请刷新界面":"Please refresh the interface","请在保存以后前往'网络-接口'页面配置接口详细参数":"Please go to the 'Network - Interface' page to configure interface details after saving","请尝试重新配置":"Please try to reconfigure","请确保您已将本设备 WAN 口连接到上级路由器局域网( LAN )接口":"Please ensure that the WAN port of this device is connected to the LAN port of the upstream router","请确保您已将路由 WAN 口连接到光猫":"Please ensure that the router's WAN port is connected to the optical modem","请稍等1分钟生效后再使用。":"Please wait 1 minute for the settings to take effect before using.","请输入%{title}":"Please enter %{title}","请输入BT Tracker服务器地址,多个地址使用换行或者英文逗号分隔":"Please enter the BT Tracker server address, use newline or comma to separate multiple addresses","请输入DNS地址":"Please enter the DNS address","请输入RPC令牌":"Please enter the RPC token","请输入合法的IP地址":"Please enter a valid IP address","请输入合法的地址":"Please enter a valid address","请输入密码":"Please enter the password","请输入用户名":"Please enter the username","请输入迁移路径":"Please enter the migration path","请选择%{title}":"Please choose %{title}","请选择raid类型":"Please select the RAID type","请选择一个硬盘或分区":"Please select a hard drive or partition","请选择目标分区":"Please select the target partition","请选择目标硬盘":"Please select the target hard drive","请选择目标磁盘":"Please select the target disk","请选择硬盘分区":"Please select the hard drive partition","请选择磁盘":"Please select the disk","请选择至少%{min}块磁盘":"Please select at least %{min} disks","请选择要删除的硬盘":"Please select the hard drive to delete","请选择要添加的硬盘":"Please select the hard drive to add","请选择软件源":"Please select the software source","请选择迁移路径":"Please select the migration path","请选择选项":"Please select an option","请选择需要添加的NAS服务":"Please select the NAS service to add","读写":"Read/write","读取结果失败":"Failed to read result","调度":"Schedule","调试":"Debug","账号:":"Account:","账号不能为空":"Account cannot be empty","账号用户名":"Account username","跨设备共享(易有云)":"Cross-device sharing (Linkease)","路由器 IP 可能已经修改成功。若刷新页面失败,请重新连接路由器,否则请尝试重新配置。":"The router IP may have been modified successfully. If refreshing the page fails, please reconnect to the router, otherwise try to reconfigure it.","跳转教程":"Jump to tutorial","软件源配置":"Feeds Mirror","软件源错误":"Feeds Inaccessible","迁移到:":"Migrate to: ","迁移成功!":"Migration successful!","运行":"Run","运行调试":"Run debugging","返回":"Return","进入控制台":"Enter console","进行测速":" to test speed","远程域名":"DDNS","连接现有路由器":"Connect to existing router","退出":"Exit","选择一种连接方式以开始":"Choose a connection method to start","选择将要用于创建 RAID 的硬盘,通过 USB 接入的设备不会在列表中显示(USB接入不稳定)。":"Select the hard disk that will be used to create the RAID. Devices connected via USB will not be displayed in the list (USB connection is unstable).","选择硬盘(选择空闲的硬盘恢复RAID设备):":"Choose a hard drive (select idle hard drive to restore RAID device):","选择硬盘(选择被添加到RAID的硬盘):":"Choose a hard drive (select the hard drive to be added to RAID):","选择硬盘(选择要从RAID阵列中删除的硬盘):":"Choose a hard drive (select the hard drive to be removed from RAID array):","选择磁盘":"Choose disk","配置中...":"Configuring...","配置中....":"Configuring....","配置为旁路由":"Configure as bypass router","配置互联网":"Configure internet","配置失败":"Configuration failed","配置宽带账号":"Configure PPPoE account","配置成功":"Configuration successful","配置成功!":"Configuration successful!","配置旁路由网络":"Configure bypass router network","配置沙箱重启中...":"Configuring sandbox rebooting...","配置目录":"Configure directory","配置目录:":"Configure directory:","配置超时":"Configuration timeout","重新创建":"Recreate","重置":"Reset","重置中...":"Reseting…","链接":"Link","错误":"Error","长时自检":"Long self-test","闲置":"Idle","闲置-处于待机、睡眠、闲置模式下不检查设备,在闲置状态下,大多数磁盘还在转动,所以这可能不适合你。":"Idle - Does not check devices in standby, sleep, or idle modes. Most disks are still spinning in idle mode, so this may not be suitable for you.","阿里云":"Aliyun","附加的 BT Tracker:":"Additional BT Tracker:","需要安装DDNSTO插件,点击“确定”开始安装":"DDNSTO plugin needs to be installed, click 'OK' to start installation","静态IP地址":"Static IP Address","静态地址":"Static","静态网络":"Static","非法的用户名":"Invalid username","预览":"Preview","首先确认主路由开启了 DHCP 服务,确认本路由 WAN 口是 DHCP 客户端模式(默认即是,如果不是可使用“连接现有路由器”向导改成 DHCP 客户端),然后将本路由 WAN 口与主路由的 LAN 连接,以自动获取配置。":"First, make sure that the DHCP service is turned on on the main router, and confirm that the WAN port of this router is in DHCP client mode (it is by default. If not, you can use the 'Connect to an Existing Router' wizard to change it to DHCP client). Then connect the WAN port of this router to the LAN of the main router to automatically obtain the configuration.","高级模式":"Advanced mode","高级设置":"Advanced settings","默认":"Default","默认密码:":"Default password:","默认用户名:":"Default username:"}} \ No newline at end of file diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/zh-cn.json b/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/zh-cn.json new file mode 100644 index 00000000..d82f104b --- /dev/null +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/i18n/zh-cn.json @@ -0,0 +1 @@ +{"zh-cn":{}} \ No newline at end of file diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/index.js b/luci-app-quickstart/htdocs/luci-static/quickstart/index.js index 20eaab18..52ce0227 100644 --- a/luci-app-quickstart/htdocs/luci-static/quickstart/index.js +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/index.js @@ -1,3 +1,3 @@ -var ka=Object.defineProperty,xa=Object.defineProperties;var wa=Object.getOwnPropertyDescriptors;var Ge=Object.getOwnPropertySymbols;var ya=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable;var xe=(e,a,o)=>a in e?ka(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,Z=(e,a)=>{for(var o in a||(a={}))ya.call(a,o)&&xe(e,o,a[o]);if(Ge)for(var o of Ge(a))Fa.call(a,o)&&xe(e,o,a[o]);return e},at=(e,a)=>xa(e,wa(a));var Ea=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var Zt=(e,a,o)=>(xe(e,typeof a!="symbol"?a+"":a,o),o);var T=(e,a,o)=>new Promise((n,s)=>{var c=u=>{try{m(o.next(u))}catch(d){s(d)}},p=u=>{try{m(o.throw(u))}catch(d){s(d)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(c,p);m((o=o.apply(e,a)).next())});import{d as Qt,a as P,c as j,u as x,o as i,b as r,e as t,t as h,n as Vt,f as E,r as J,g as D,h as ot,i as Dt,w as z,v as Tt,j as Ca,k as M,l as q,m as y,p as $a,q as yt,s as Q,F as L,x as G,y as H,z as O,A as N,B as It,C as Da,D as Gt,E as Ba,G as Ya,H as Aa,I as Sa,J as za,K as Pa,L as Ta,M as nt,T as kt,N as tt,O as Ia,P as it,Q as xt,R,S as pt,U as te,V as Fe,W as La,X as Ma,Y as ue,Z as Oa,_ as Na,$ as qa,a0 as Va}from"./vendor.js?v=c0f4c287";var eF=Ea(Kt=>{const Ga=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const p of c.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&n(p)}).observe(document,{childList:!0,subtree:!0});function o(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerpolicy&&(c.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?c.credentials="include":s.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function n(s){if(s.ep)return;s.ep=!0;const c=o(s);fetch(s.href,c)}};Ga();const ja=(e,a)=>T(Kt,null,function*(){return new Promise((o,n)=>T(Kt,null,function*(){try{const s=yield fetch(e,a);if(Math.floor(s.status/100)!=2)throw s.status+" "+s.statusText;const c=Z({},s);c.data=yield s.json(),o(c)}catch(s){const c=s;n("\u7F51\u7EDC\u5F02\u5E38\uFF1A"+((c==null?void 0:c.message)||s))}}))});class Ee{constructor(a){Zt(this,"config",{baseURL:"",headers:{}});Zt(this,"useRequest",a=>a);Zt(this,"useResponse",a=>a);Zt(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new Ee(a)}Do(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const c=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${c.baseURL||""}${a}`,o.headers==null&&(o.headers={}),c.headers&&(o.headers=Z({},c.headers));const m=yield fetch(a,o),u=Z({},m);u.data=yield m.json(),n(this.useResponse(u))}catch(c){this.useError(c),s(c)}}))})}TEXT(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const c=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${c.baseURL||""}${a}`,o.headers==null&&(o.headers={}),c.headers&&(o.headers=Z({},c.headers));const m=yield fetch(a,o),u=Z({},m);u.data=yield m.text(),n(u)}catch(c){this.useError(c),s(c)}}))})}interceptors(){const a=this;return{requset:{use(o){a.useRequest=o}},response:{use(o,n){a.useResponse=o,n&&(a.useError=n)}}}}}const Xe=Ee.create({});Xe.interceptors().requset.use(e=>e);Xe.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const Ra="/cgi-bin/luci/istore";let je=!1;const I=(e,a)=>(e.indexOf("//")==-1&&(e=`${Ra}${e}`),ja(e,a).then(o=>(o!=null&&o.data&&o.data.success==-1001&&o.data.error=="Forbidden"&&(je||(je=!0,alert("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),location.reload())),o))),Ua={Statistics:{GET(){return I("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return I("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return I("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return I("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(e){return I("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetInterfaceConfig:{GET(){return I("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(e){return I("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},PortList:{GET(){return I("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Wa={Version:{GET(){return I("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return I("/system/check-update/",{method:"GET"})}},Reboot:{POST(e){return I("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/system/status/",{method:"GET"})}}},Ha={Disk:{Status:{GET(){return I("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return I("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>I("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>I("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>I("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>I("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return I("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return I("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return I("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return I("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(e){return I("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSandbox:{GET(){return I("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return I("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return I("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return I("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return I("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Za={Check:{POST(e){return I("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return I("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Ja={Pppoe:{GET(){return I("/guide/pppoe/",{method:"GET"})},POST(e){return I("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return I("/guide/dns-config/",{method:"GET"})},POST(e){return I("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return I("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return I("/guide/client-mode/",{method:"GET"})},POST(e){return I("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return I("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return I("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return I("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return I("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerSwitch:{POST(e){return I("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DownloadService:{Status:{GET(){return I("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return I("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(e){return I("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},qbitorrentInit:{POST(e){return I("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},transmissionInit:{POST(e){return I("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetLan:{GET(){return I("/guide/lan/",{method:"GET"})}},LanIp:{POST(e){return I("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},SoftSource:{POST(e){return I("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSoftSource:{GET(){return I("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return I("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(e){return I("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetDdns:{GET(){return I("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(e){return I("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DdntoConfig:{GET(){return I("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(e){return I("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Xa={Create:{POST(e){return I("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Delete:{POST(e){return I("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Add:{POST(e){return I("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Remove:{POST(e){return I("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Recover:{POST(e){return I("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Detail:{POST(e){return I("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},List:{GET(){return I("/raid/list/",{method:"GET"})}},CreateList:{GET(){return I("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return I("/raid/autofix/",{method:"GET"})}}},Ka={Log:{GET(){return I("/smart/log/",{method:"GET"})}},List:{GET(){return I("/u/smart/list/",{method:"GET"})}},Config:{GET(){return I("/smart/config/",{method:"GET"})},POST(e){return I("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Test:{POST(e){return I("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Result:{POST(e){return I("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Attribute:{Result:{POST(e){return I("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Extend:{Result:{POST(e){return I("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}}};var Qa=Object.freeze(Object.defineProperty({__proto__:null,Network:Ua,System:Wa,Nas:Ha,App:Za,Guide:Ja,Raid:Xa,Smart:Ka},Symbol.toStringTag,{value:"Module"})),S=Z({},Qa);const Ke=Qt("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});Qt("guide",{});const Qe=Qt("nas",{state:()=>({webdav:{}})}),le=Qt("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(e){this.status=e},requestDeviceList(){S.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:a}=e==null?void 0:e.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Ce=Qt("system",{state:()=>({version:{},checkUpdate:null,systemStatus:{}}),getters:{},actions:{incrTime(){var e;(e=this.systemStatus)!=null&&e.uptime&&this.systemStatus.uptime++},requestVersion(){S.System.Version.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.version=e.data.result)})},requestCheckUpdate(){S.System.CheckUpdate.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.checkUpdate=e.data.result)})},updateSystemStatus(e){this.systemStatus=e}}});let Re=!1;const to=()=>{if(Re)return;Re=!0;let e=!0,a=!0;const o=le(),n=Ce(),s=function(){return(!e&&document.hidden?Promise.resolve():S.System.Status.GET().then(p=>{p!=null&&p.data.result&&n.updateSystemStatus(p.data.result)})).finally(()=>{setTimeout(s,5e3),e&&(setInterval(()=>{n.incrTime()},1e3),e=!1)})},c=function(){return(!a&&document.hidden?Promise.resolve():S.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:m}=p==null?void 0:p.data;m&&o.updateNetworkStatus(m)}})).finally(()=>{setTimeout(c,5e3),a&&(setInterval(()=>{o.incrTime()},1e3),a=!1)})};c(),o.requestDeviceList(),setTimeout(()=>{n.requestCheckUpdate(),n.requestVersion(),s()},1100)};var Y=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o};const eo=P({setup(e){const a=Ke(),o=j(()=>a.portitemStyle.portitem),n=j(()=>a.portitemStyle.show),s=j(()=>({bottom:`calc(100% - ${a.portitemStyle.top}px)`,left:`${a.portitemStyle.left}px`})),c=u=>{switch(u){case"full":return"\u5168\u53CC\u5DE5";case"half":return"\u534A\u53CC\u5DE5"}},p=u=>{a.portitemStyle.show=!0},m=u=>{a.portitemStyle.show=!1};return(u,d)=>x(n)?(i(),r("div",{key:0,class:"disk-item-tooltip",style:Vt(x(s)),onMouseenter:p,onMouseleave:m},[t("div",null,h(c(x(o).duplex)),1),t("div",null,"\u540D\u79F0\uFF1A"+h(x(o).name||"--"),1),t("div",null,"MAC\uFF1A"+h(x(o).macAddress||"--"),1),t("div",null,"\u63A5\u6536\uFF1A"+h(x(o).rx_packets||"--"),1),t("div",null,"\u53D1\u9001\uFF1A"+h(x(o).tx_packets||"--"),1)],36)):E("",!0)}});var ao=Y(eo,[["__scopeId","data-v-57f1326f"]]);const oo={id:"main"},no=P({setup(e){return(a,o)=>{const n=J("router-view");return i(),r("div",oo,[D(n),D(ao)])}}});var io=Y(no,[["__scopeId","data-v-9bc295c2"]]);const ro={},so={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},uo=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),lo=t("path",{d:"M562.0736 588.8h295.2192c64.9216 0 118.0672 53.1456 118.0672 118.0672v177.152c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152c-64.9216 0-118.0672-53.1456-118.0672-118.0672V588.8z m0 0","p-id":"54872"},null,-1),co=[uo,lo];function po(e,a){return i(),r("svg",so,co)}var fo=Y(ro,[["render",po]]);const mo={},vo={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},bo=t("path",{d:"M984.177778 432.355556l-45.511111 0c-22.755556 0-45.511111-17.066667-51.2-39.822222l-28.444444-68.266667C847.644444 312.888889 853.333333 284.444444 870.4 267.377778l34.133333-34.133333c17.066667-17.066667 17.066667-39.822222 0-56.888889l-56.888889-56.888889c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-34.133333 34.133333C739.555556 170.666667 711.111111 176.355556 694.044444 164.977778L625.777778 136.533333c-22.755556-5.688889-39.822222-28.444444-39.822222-51.2L585.955556 39.822222c0-22.755556-17.066667-39.822222-39.822222-39.822222L472.177778 0C449.422222 0 432.355556 17.066667 432.355556 39.822222l0 45.511111c0 22.755556-17.066667 45.511111-39.822222 51.2L329.955556 164.977778C312.888889 176.355556 284.444444 170.666667 267.377778 153.6L233.244444 119.466667c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-56.888889 56.888889c-17.066667 17.066667-17.066667 39.822222 0 56.888889l34.133333 34.133333C170.666667 284.444444 176.355556 312.888889 164.977778 329.955556L136.533333 398.222222C130.844444 415.288889 108.088889 432.355556 85.333333 432.355556l-45.511111 0C17.066667 432.355556 0 449.422222 0 472.177778l0 79.644444c0 22.755556 17.066667 39.822222 39.822222 39.822222l45.511111 0c22.755556 0 45.511111 17.066667 51.2 39.822222l28.444444 68.266667C176.355556 711.111111 170.666667 739.555556 153.6 756.622222l-34.133333 34.133333c-17.066667 17.066667-17.066667 39.822222 0 56.888889l56.888889 56.888889c17.066667 17.066667 39.822222 17.066667 56.888889 0l34.133333-34.133333C284.444444 853.333333 312.888889 847.644444 329.955556 859.022222L398.222222 887.466667c22.755556 5.688889 39.822222 28.444444 39.822222 51.2l0 45.511111c0 22.755556 17.066667 39.822222 39.822222 39.822222l79.644444 0c22.755556 0 39.822222-17.066667 39.822222-39.822222l0-45.511111c0-22.755556 17.066667-45.511111 39.822222-51.2l68.266667-28.444444c17.066667-11.377778 45.511111-5.688889 62.577778 11.377778l34.133333 34.133333c17.066667 17.066667 39.822222 17.066667 56.888889 0l56.888889-56.888889c17.066667-17.066667 17.066667-39.822222 0-56.888889l-34.133333-34.133333c-17.066667-17.066667-17.066667-45.511111-11.377778-62.577778l28.444444-68.266667c5.688889-22.755556 28.444444-39.822222 51.2-39.822222l45.511111 0c22.755556 0 39.822222-17.066667 39.822222-39.822222L1035.377778 472.177778C1024 449.422222 1006.933333 432.355556 984.177778 432.355556L984.177778 432.355556zM711.111111 512c0 108.088889-91.022222 199.111111-199.111111 199.111111-108.088889 0-199.111111-85.333333-199.111111-199.111111 0-108.088889 85.333333-199.111111 199.111111-199.111111C620.088889 312.888889 711.111111 403.911111 711.111111 512L711.111111 512zM711.111111 512","p-id":"65342"},null,-1),go=[bo];function _o(e,a){return i(),r("svg",vo,go)}var ho=Y(mo,[["render",_o]]);const ko={},xo={t:"1640599890701",class:"icon",viewBox:"0 0 1565 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"76947",width:"128",height:"128"},wo=t("path",{d:"M1206.477959 299.331595c-27.357038 0-53.867311 3.354494-79.465683 9.151581C1078.518669 130.792698 916.428217 0 723.365689 0 492.068443 0 304.575027 187.493416 304.575027 418.790662c0 16.055976 1.074741 31.786273 2.865975 47.386299-9.184149-0.911901-18.400865-1.40042-27.812989-1.40042C125.191018 464.743973 0 589.934991 0 744.371987c0 154.469563 125.191018 279.628013 279.595446 279.628013 59.990077 0 221.233764 0 394.527575 0l0-302.295274L496.986197 721.704726l285.457668-339.031868 285.457668 339.031868-177.136823 0 0 302.295274c139.748871 0 262.204185 0 315.71325 0 197.947713 0 358.40977-168.34349 358.40977-366.291203S1404.425673 299.331595 1206.477959 299.331595z","p-id":"76948"},null,-1),yo=[wo];function Fo(e,a){return i(),r("svg",xo,yo)}var Eo=Y(ko,[["render",Fo]]);const Co={},$o={t:"1640599792937",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"68605",width:"128",height:"128"},Do=t("path",{d:"M512 825.6c-211.2 0-377.6-57.6-377.6-128l0 0L134.4 896l0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0 0-204.8 0 0C889.6 768 723.2 825.6 512 825.6L512 825.6z","p-id":"68606"},null,-1),Bo=t("path",{d:"M512 544c-211.2 0-377.6-57.6-377.6-128l0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 416l0 0C889.6 486.4 723.2 544 512 544L512 544z","p-id":"68607"},null,-1),Yo=t("path",{d:"M889.6 128 889.6 128c0-70.4-166.4-128-377.6-128C300.8 0 134.4 57.6 134.4 128l0 0 0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 128 889.6 128 889.6 128zM512 217.6c-153.6 0-281.6-44.8-281.6-96 0-51.2 128-96 281.6-96 153.6 0 281.6 44.8 281.6 96C793.6 179.2 665.6 217.6 512 217.6L512 217.6z","p-id":"68608"},null,-1),Ao=[Do,Bo,Yo];function So(e,a){return i(),r("svg",$o,Ao)}var zo=Y(Co,[["render",So]]);const Po={},To={t:"1640575557247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4211",width:"128",height:"128"},Io=t("path",{d:"M560 800l-10.464-416h-75.072L464 800h96z m-14.144-493.984c9.44-9.312 14.144-20.672 14.144-34.016 0-13.6-4.704-24.992-14.144-34.208A46.784 46.784 0 0 0 512 224c-13.12 0-24.448 4.608-33.856 13.792A45.856 45.856 0 0 0 464 272c0 13.344 4.704 24.704 14.144 34.016 9.408 9.312 20.704 13.984 33.856 13.984 13.12 0 24.448-4.672 33.856-13.984zM512 32C246.912 32 32 246.912 32 512c0 265.088 214.912 480 480 480 265.088 0 480-214.912 480-480 0-265.088-214.912-480-480-480z m0 64c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z","p-id":"4212"},null,-1),Lo=[Io];function Mo(e,a){return i(),r("svg",To,Lo)}var Oo=Y(Po,[["render",Mo]]);const No={},qo={t:"1640681742480",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"80687",width:"128",height:"128"},Vo=t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"80688"},null,-1),Go=t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"80689"},null,-1),jo=t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"80690"},null,-1),Ro=t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"80691"},null,-1),Uo=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Wo=t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"80693"},null,-1),Ho=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),Zo=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),Jo=t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"80696"},null,-1),Xo=t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"80697"},null,-1),Ko=t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80698"},null,-1),Qo=t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80699"},null,-1),tn=t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80700"},null,-1),en=t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80701"},null,-1),an=t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80702"},null,-1),on=t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"80703"},null,-1),nn=t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"80704"},null,-1),rn=t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"80705"},null,-1),sn=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),dn=[Vo,Go,jo,Ro,Uo,Wo,Ho,Zo,Jo,Xo,Ko,Qo,tn,en,an,on,nn,rn,sn];function un(e,a){return i(),r("svg",qo,dn)}var ln=Y(No,[["render",un]]);const cn={},pn={t:"1640775712185",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2996",width:"128",height:"128"},fn=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),mn=[fn];function vn(e,a){return i(),r("svg",pn,mn)}var bn=Y(cn,[["render",vn]]);const gn={class:"progress"},_n=P({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const a=e,o=j(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(n,s)=>(i(),r("div",gn,[t("div",{class:ot(["progress-value",`${e.value>50}`]),style:Vt({width:`${e.value}%`,backgroundColor:x(o)})},[t("span",null,h(e.text),1)],6),Dt(n.$slots,"default",{},void 0,!0)]))}});var ta=Y(_n,[["__scopeId","data-v-733828e1"]]);const hn={},kn={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},xn=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),wn=[xn];function yn(e,a){return i(),r("svg",kn,wn)}var Fn=Y(hn,[["render",yn]]);const En={},Cn={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},$n=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),Dn=[$n];function Bn(e,a){return i(),r("svg",Cn,Dn)}var Yn=Y(En,[["render",Bn]]);const An={class:"checkbox_switch"},Sn={class:"checkbox_switch_on"},zn={class:"checkbox_switch_off"},Pn=P({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=j({get:()=>o.modelValue.valueOf(),set:s=>a("update:modelValue",s)});return(s,c)=>(i(),r("label",An,[z(t("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=p=>Ca(n)?n.value=p:null)},null,512),[[Tt,x(n)]]),t("span",Sn,[D(Fn)]),t("span",zn,[D(Yn)]),Dt(s.$slots,"default",{},void 0,!0)]))}});var ea=Y(Pn,[["__scopeId","data-v-2c8b6a70"]]);const Tn={},In={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},Ln=t("path",{d:"M757.76 637.44l-218.88 245.76c-14.72 16.64-40.32 16.64-54.4 0L265.6 637.44C244.48 613.76 261.12 576 293.12 576l437.76 0C762.24 576 779.52 613.76 757.76 637.44z","p-id":"7686"},null,-1),Mn=[Ln];function On(e,a){return i(),r("svg",In,Mn)}var Nn=Y(Tn,[["render",On]]);const qn={},Vn={t:"1641369492518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7831",width:"128",height:"128"},Gn=t("path",{d:"M758.4 385.92 539.52 140.16c-14.72-16.64-40.32-16.64-54.4 0L266.24 385.92C244.48 409.6 261.76 448 293.12 448l437.76 0C762.88 448 779.52 409.6 758.4 385.92z","p-id":"7832"},null,-1),jn=[Gn];function Rn(e,a){return i(),r("svg",Vn,jn)}var Un=Y(qn,[["render",Rn]]);const Wn={};function Hn(e,a){return i(),r("article",null,[Dt(e.$slots,"default",{},void 0,!0)])}var Zn=Y(Wn,[["render",Hn],["__scopeId","data-v-bd286d4e"]]);const Jn={class:"cover"},Xn={class:"thumbnail"},Kn=P({emits:["click"],setup(e,{emit:a}){const o=()=>{a("click")};return(n,s)=>(i(),M(Zn,null,{default:q(()=>[t("a",{onClick:o},[t("div",Jn,[t("div",Xn,[Dt(n.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Qn=Y(Kn,[["__scopeId","data-v-123deb20"]]);const ti=e=>(O("data-v-169d5b59"),e=e(),N(),e),ei={class:"select-editable"},ai={selected:"",value:""},oi=["value"],ni=ti(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),ii=["placeholder"],ri=P({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=y(""),s=y(""),c=j({get:()=>o.modelValue.valueOf(),set:d=>a("update:modelValue",d)}),p=d=>{d===n.value||n.value==="useInput"&&d===s.value||(d===""||o.options.some(l=>l.key===d)?n.value=d:(s.value=d,n.value="useInput"))};$a(()=>o.modelValue,d=>{p(d)}),yt(()=>{const d=c.value;p(d)});const m=d=>{n.value==="useInput"?c.value=s.value:c.value=n.value},u=d=>{c.value=s.value};return(d,l)=>(i(),r("label",null,[t("div",ei,[z(t("select",{"onUpdate:modelValue":l[0]||(l[0]=f=>n.value=f),autocomplete:"off",onChange:m},[t("option",ai,"\u8BF7\u9009\u62E9"+h(e.title),1),(i(!0),r(L,null,G(e.options,(f,v)=>(i(),r("option",{value:f.key,key:v},h(f.value||f.key),9,oi))),128)),ni],544),[[Q,n.value,void 0,{trim:!0}]]),n.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":l[1]||(l[1]=f=>s.value=f),required:"",placeholder:"\u8BF7\u8F93\u5165"+e.title,onChange:u},null,40,ii)),[[H,s.value,void 0,{trim:!0}]]):E("",!0)])]))}});var Pt=Y(ri,[["__scopeId","data-v-169d5b59"]]);const si={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},di=P({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(e){const a=o=>{if(o==null)return;if(typeof o=="number")return o+"px";const n=o.toString();return parseInt(n)+""==n?n+"px":n};return(o,n)=>(i(),r("div",{class:"quick-loading",style:Vt({width:a(e.size),height:a(e.size)})},[(i(),r("svg",si,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:Vt({fill:e.color})},null,4)]))],4))}});var ui=Y(di,[["__scopeId","data-v-0ec4e762"]]);const li={},ci={t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},pi=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),fi=[pi];function mi(e,a){return i(),r("svg",ci,fi)}var vi=Y(li,[["render",mi]]);const bi={},gi={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_i=It('',1),hi=[_i];function ki(e,a){return i(),r("svg",gi,hi)}var xi=Y(bi,[["render",ki]]);const wi=e=>(O("data-v-7fc1a08c"),e=e(),N(),e),yi=["href"],Fi=wi(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),Ei=[Fi],Ci=P({props:{type:null},setup(e){const a=e,o=j(()=>{switch(a.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(n,s)=>(i(),r("a",{href:x(o),target:"_blank",title:"\u8DF3\u8F6C\u6559\u7A0B"},Ei,8,yi))}});var $i=Y(Ci,[["__scopeId","data-v-7fc1a08c"]]),aa={install:e=>{e.component("icon-loading",ui),e.component("icon-success",vi),e.component("icon-error",xi),e.component("GlHelp",$i)}};const Di=e=>{},Bi=()=>new Date().getTime(),Yi=e=>{if(e<1e3)return`${e} B`;let o=1e3,n=0;for(let p=e/1e3;p>=1e3;p/=1e3)o*=1e3,n++;let s=[" KB"," MB"," GB"," TB"," PB"," EB"];return(e/100/(o/100)).toFixed(1)+s[n]},Ai=e=>{if(e==null)return 0;if(e<1e4)return e;let o=parseInt(`${e/1e4}`),n=e%1e4;return`${o}\u4E07${n}`},Si=e=>{if(e)try{var a=new Date(e),o=a.getHours(),n=a.getMinutes(),s=a.getSeconds();return o<10&&(o=`0${o}`),n<10&&(n=`0${n}`),s<10&&(s=`0${s}`),`${o}:${n}:${s}`}catch(c){}return""},zi=e=>{if(e){let a=Math.floor(e/86400),o=Math.floor(e/3600)%24,n=Math.floor(e/60)%60,s=e%60;return a+"\u5929"+o+"\u5C0F\u65F6"+(n<10?"0"+n:n)+"\u5206"+(s<10?"0"+s:s)+"\u79D2"}},Pi=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e),Ti=e=>e.length<3?"\u7528\u6237\u540D\u592A\u77ED":e.toLowerCase()!=e?"\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199":new RegExp("^\\d").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934":new RegExp("^_").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934":new RegExp("^[a-z0-9_]+$").exec(e)?!0:"\u975E\u6CD5\u7684\u7528\u6237\u540D",Ii=(e,a)=>{let o=!0,n=null;const s=()=>{n=null,o&&e().finally(()=>{o&&(n=setTimeout(s,a))})};return n=setTimeout(s,0),()=>{o=!1,n!=null&&clearTimeout(n)}};var Li=Object.freeze(Object.defineProperty({__proto__:null,formatDate:Di,UnixDate:Bi,byteToSize:Yi,numberToSum:Ai,dateForm:Si,stampForm:zi,checkIsIP:Pi,checkSmabaUserName:Ti,easyInterval:Ii},Symbol.toStringTag,{value:"Module"})),wt=Z({},Li);const Mi=()=>{var a;const e=document.body.getAttribute("theme");if(e)switch(e){case"dark":case"light":return e}return(a=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&a.matches?"dark":"light"},Oi=()=>Mi()=="dark",Ni={class:"flow"},qi={class:"flow-data"},Vi={key:0},Gi={key:1},ji=P({setup(e){Da([Ba,Ya,Aa,Sa,za,Pa]);const a=y(),o=g=>{var _;const b=(_=a.value)==null?void 0:_[g];return!b||b.startTime==0?"":u(b.startTime*1e3)+"-"+u(b.endTime*1e3)},n=j(()=>{var b;let g=[];return(b=a.value)==null||b.forEach(_=>{g.push({value:_.uploadSpeed})}),g}),s=j(()=>{var b;let g=[];return(b=a.value)==null||b.forEach(_=>{g.push({value:_.downloadSpeed})}),g}),c=j(()=>{var b;let g="";if(a.value){let _=((b=a.value)==null?void 0:b.length)||0;if(_>0){let w=a.value[_-1];g=d(w.uploadSpeed)+"/s"}}return g}),p=j(()=>{var b;let g="";if(a.value){let _=((b=a.value)==null?void 0:b.length)||0;if(_>0){let w=a.value[_-1];g=d(w.downloadSpeed)+"/s"}}return g});j(()=>{var b;let g=[];return(b=a.value)==null||b.forEach(_=>{g.push({value:_.downloadSpeed+_.uploadSpeed})}),g});const m=()=>T(this,null,function*(){var g;try{const b=yield S.Network.Statistics.GET();if(b.data&&(g=b.data.result)!=null&&g.items){const _=b.data.result.slots||10;if(b.data.result.items.length<_){let w=b.data.result.items;for(;w.length<_;)w=[{downloadSpeed:0,endTime:0,startTime:0,uploadSpeed:0}].concat(w);a.value=w}else b.data.result.items.length>_?a.value=b.data.result.items.slice(_-b.data.result.items.length):a.value=b.data.result.items}}catch(b){console.log(b)}}),u=wt.dateForm,d=wt.byteToSize,l=y();let f=null;const v=g=>{const b=Oi();return f=Ta(g,b?"dark":"light"),f.setOption({animation:!1,backgroundColor:b?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:_=>{if(Array.isArray(_)){let w="";_.length>0&&(w=o(_[0].axisValue));for(let k=0;k<_.length;k++)w=`${w}
${_[k].seriesName}: ${d(_[k].value)}/s`;return w.toString()}else{const w=_;return`${o(w.axisValue)}
${w.seriesName}: ${d(w.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:"\u6D41\u91CF\u7EDF\u8BA1",textStyle:{fontSize:12,color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(_,w){return`${d(_)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:"\u4E0A\u4F20",data:n.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:"\u4E0A\u4F20",itemStyle:{color:"rgb(85, 58, 254)"}},{name:"\u4E0B\u8F7D",itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),f};return yt(()=>{setTimeout(()=>T(this,null,function*(){if(l.value){yield m();const g=v(l.value),b=l.value;g.resize({width:b.clientWidth,height:b.clientHeight}),window.addEventListener("resize",()=>{g.resize({width:b.clientWidth,height:b.clientHeight})});const _=()=>T(this,null,function*(){if(f!=null){if(!document.hidden){if(yield m(),f==null)return;g.setOption({series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:n.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(_,5e3)}});setTimeout(_,5e3)}}),900)}),Gt(()=>{f!=null&&(f.dispose(),f=null)}),(g,b)=>(i(),r("div",Ni,[t("div",{ref_key:"el",ref:l,class:"echart"},null,512),t("div",qi,[x(c)?(i(),r("span",Vi,"\u4E0A\u4F20: "+h(x(c)),1)):E("",!0),x(p)?(i(),r("span",Gi,"\u4E0B\u8F7D: "+h(x(p)),1)):E("",!0)])]))}});var Ri=Y(ji,[["__scopeId","data-v-6b923912"]]);const Ui={},Wi={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},Hi=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),Zi=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),Ji=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),Xi=[Hi,Zi,Ji];function Ki(e,a){return i(),r("svg",Wi,Xi)}var $t=Y(Ui,[["render",Ki]]);let se=0;const Qi={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const e=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,se=window.setTimeout(e,1e3))};se=window.setTimeout(e,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,se!=0&&clearTimeout(se),this.Close())}}},ce=e=>(O("data-v-6935a479"),e=e(),N(),e),tr={key:0,class:"loading icon"},er=ce(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),ar=[er],or={key:1,class:"success icon"},nr=ce(()=>t("svg",{t:"1632451272305",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M1001.305115 275.874141 431.461709 845.718571c-28.221762 28.221762-73.977875 28.221762-102.20066 0L22.661116 539.116591c-28.222785-28.221762-28.222785-73.979922 0-102.20066 28.221762-28.221762 73.977875-28.221762 102.20066 0l255.500115 255.502162 518.743588-518.743588c28.221762-28.221762 73.977875-28.221762 102.199637 0C1029.5279 201.89422 1029.5279 247.65238 1001.305115 275.874141z","p-id":"2205"})],-1)),ir=[nr],rr={key:2,class:"error icon"},sr=ce(()=>t("svg",{t:"1632451325789",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M823.04 840.32 524.16 540.16l296.32-294.4c12.8-12.8 12.8-33.28 0-45.44-12.8-12.8-33.28-12.8-46.08 0L478.08 494.08 184.96 200.32c-12.8-12.8-33.28-12.8-45.44 0s-12.8 33.28 0 45.44l292.48 293.76-302.72 300.8c-12.8 12.8-12.8 33.28 0 45.44 12.8 12.8 33.28 12.8 46.08 0l302.72-300.16 299.52 300.16c12.8 12.8 33.28 12.8 45.44 0C835.2 873.6 835.2 853.12 823.04 840.32z","p-id":"2205"})],-1)),dr=[sr],ur={key:3,class:"warning icon"},lr=ce(()=>t("svg",{t:"1632451401172",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1638",width:"128",height:"128"},[t("path",{d:"M512 1021.45211835a60.32985613 60.32985613 0 1 1 60.32985613-60.32985611 60.32985613 60.32985613 0 0 1-60.32985613 60.32985611z m86.85823451-924.97400238L572.32985613 719.80283775a60.32985613 60.32985613 0 0 1-120.65971226 0l-26.52837838-623.32472178c-0.16758294-2.22885301-0.28489098-4.49122263-0.284891-6.78710881a87.14312551 87.14312551 0 0 1 174.28625102 0c0 2.2958862-0.11730806 4.5582558-0.284891 6.78710881z","p-id":"1639"})],-1)),cr=[lr];function pr(e,a,o,n,s,c){return i(),M(kt,{name:"el-fade-in-linear"},{default:q(()=>[s.show?(i(),r("div",{key:0,class:"toast",onClick:a[1]||(a[1]=p=>c.Stop())},[o.type=="loading"?(i(),r("div",tr,ar)):o.type=="success"?(i(),r("div",or,ir)):o.type=="error"?(i(),r("div",rr,dr)):o.type=="warning"?(i(),r("div",ur,cr)):E("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=nt(()=>{},["stop"]))},h(c.Message),1)])):E("",!0)]),_:1})}var fr=Y(Qi,[["render",pr],["__scopeId","data-v-6935a479"]]);const Xt=new Map,jt=e=>{const a=tt(fr,at(Z({},e),{Close:()=>{n()}})),o=document.createElement("div");document.body.append(o),a.mount(o);const n=()=>{o.remove(),Xt.get(a._uid)&&Xt.delete(a._uid)};return e.type=="loading"&&Xt.set(a._uid,{Close:n}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{n()},e==null?void 0:e.duration):setTimeout(()=>{n()},3e3)),{Close:n}},F=e=>jt(e);F.Loading=(e,a)=>jt({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});F.Success=e=>jt({type:"success",message:e});F.Error=e=>jt({type:"error",message:e,duration:0});F.Warning=e=>jt({type:"warning",message:e});F.Message=e=>jt({message:e});F.Clear=()=>{Xt.forEach((e,a)=>{e.Close(),Xt.delete(a)})};const ct={installApp:(e,a)=>new Promise((o,n)=>{let s=0;S.App.Install.POST({name:e}).then(()=>{const c=setTimeout(()=>{s==0&&(s=1,o(!1))},(a||60)*1e3),p=()=>{s==0&&S.App.Check.POST({name:e}).then(m=>{if(s==0&&m!=null&&m.data){const{result:u}=m.data;if((u==null?void 0:u.status)=="installed"){clearTimeout(c),s=1,o(!0);return}}}).catch(m=>{}).finally(()=>{s==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(c=>{s==0&&(s=1,n("\u5B89\u88C5\u5931\u8D25\uFF0C"+c))})}),checkAndInstallApp:(e,a,o)=>T(Kt,null,function*(){let n=F.Loading("\u68C0\u67E5\u4E2D...");try{const s=yield S.App.Check.POST({name:e});if(n.Close(),s!=null&&s.data){const{result:c,error:p}=s.data;if(p)F.Warning(p);else if(c){if(c.status=="installed")return!0;if(confirm(`\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 ${a} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F`)){n=F.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D...");const m=yield ct.installApp(o||e);if(n.Close(),m)return!0;F.Error("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5")}}else F.Warning("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25")}return!1}catch(s){return n.Close(),F.Warning(s),!1}}),installAndGo:(e,a,o,n)=>T(Kt,null,function*(){(yield ct.checkAndInstallApp(e,a,n))&&(location.href=o)})},mr={},vr={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},br=t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217"},null,-1),gr=[br];function _r(e,a){return i(),r("svg",vr,gr)}var hr=Y(mr,[["render",_r]]);const kr=e=>(O("data-v-428d873e"),e=e(),N(),e),xr={id:"actioner"},wr={key:0,class:"action-container"},yr={class:"action-container_header"},Fr=kr(()=>t("div",null,null,-1)),Er={class:"title"},Cr={class:"action-container_body"},$r=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const a=e,o=y(!1);yt(()=>{o.value=!0,document.body.setAttribute("lock-scroll","true")}),Gt(()=>{document.body.removeAttribute("lock-scroll")});const n=()=>{a.Close&&(o.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(s,c)=>(i(),r("div",xr,[t("div",{class:"bg",onClick:n}),e.type!=null?Dt(s.$slots,"default",{key:0},void 0,!0):(i(),r(L,{key:1},[o.value?(i(),r("div",wr,[t("div",yr,[Fr,t("div",Er,h(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:n},[D(hr)])]),t("div",Cr,[Dt(s.$slots,"default",{},void 0,!0)])])):E("",!0)],64))]))}});var Dr=Y($r,[["__scopeId","data-v-428d873e"]]);const et=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){return(a,o)=>(i(),M(Dr,{Close:e.Close,type:e.type,title:e.title},{default:q(()=>[Dt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Lt=e=>(O("data-v-2a4078c6"),e=e(),N(),e),Br=["onSubmit"],Yr=Lt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),Ar={class:"actioner-dns_body"},Sr={class:"label-item"},zr=Lt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),Pr={class:"label-item_value"},Tr=["disabled"],Ir=Lt(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),Lr={class:"label-item"},Mr=Lt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),Or={class:"label-item_value"},Nr=["onUpdate:modelValue"],qr=Lt(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),Vr={class:"label-item_value"},Gr=["onUpdate:modelValue"],jr={key:1,class:"label-message"},Rr={class:"actioner-dns_footer"},Ur=["disabled"],Wr={key:1,class:"actioner-dns"},Hr=Lt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),Zr=Lt(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),Jr=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=le(),s=n.status,c=j(()=>n.status.proto!="static"),p=()=>{let g=s.dnsList||[];for(g=g.filter(b=>b);g.length<2;)g.push("");return g},m=y({interfaceName:s.defaultInterface||"",dnsProto:s.dnsProto||"manual",manualDnsIp:p()}),u=y(""),d=y(!1),l=()=>T(this,null,function*(){u.value="";let g={};switch(m.value.dnsProto){case"auto":break;case"manual":if(g.manualDnsIp=[],!m.value.manualDnsIp[0]){F.Error("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS");return}g.manualDnsIp=m.value.manualDnsIp.filter(_=>_);break}g.dnsProto=m.value.dnsProto,g.interfaceName=m.value.interfaceName;const b=F.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.Guide.DnsConfig.POST(g);if(_!=null&&_.data){const{success:w,error:k}=_==null?void 0:_.data;k&&(u.value=k),(w==null||w==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),o.value=1)}}catch(_){u.value=_}b.Close()}),f=g=>{g.preventDefault(),a.Close&&a.Close()},v=g=>{location.reload()};return(g,b)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(l,["prevent"])},[Yr,t("div",Ar,[t("div",Sr,[zr,t("div",Pr,[z(t("select",{"onUpdate:modelValue":b[0]||(b[0]=_=>m.value.dnsProto=_)},[t("option",{value:"auto",disabled:!x(c)},"\u81EA\u52A8\u83B7\u53D6DNS",8,Tr),Ir],512),[[Q,m.value.dnsProto]])])]),m.value.dnsProto=="manual"?(i(!0),r(L,{key:0},G(m.value.manualDnsIp,(_,w)=>(i(),r("div",Lr,[w==0?(i(),r(L,{key:0},[Mr,t("div",Or,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":k=>m.value.manualDnsIp[w]=k},null,8,Nr),[[H,m.value.manualDnsIp[w],void 0,{trim:!0}]])])],64)):(i(),r(L,{key:1},[qr,t("div",Vr,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":k=>m.value.manualDnsIp[w]=k},null,8,Gr),[[H,m.value.manualDnsIp[w],void 0,{trim:!0}]])])],64))]))),256)):E("",!0),u.value?(i(),r("div",jr,h(u.value),1)):E("",!0)]),t("div",Rr,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:d.value},"\u786E\u8BA4",8,Ur),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},"\u53D6\u6D88")])],40,Br)):o.value==1?(i(),r("div",Wr,[Hr,Zr,t("div",{class:"actioner-dns_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v},"\u5B8C\u6210")])])):E("",!0)]),_:1},8,["Close"]))}});var Xr=Y(Jr,[["__scopeId","data-v-2a4078c6"]]);const oa=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Xr,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},pe=e=>(O("data-v-0ae97e7e"),e=e(),N(),e),Kr={class:"action"},Qr={class:"action-body"},ts=pe(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),es=pe(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),as={class:"info"},os=pe(()=>t("span",null,"\u524D\u5F80",-1)),ns=["href"],is=pe(()=>t("span",null,"\u8FDB\u884C\u6D4B\u901F",-1)),rs=P({props:{port:Number,Close:Function},setup(e){const a=e,o=j(()=>`http://${location.hostname}:${a.port}`),n=()=>{a.Close&&(a.Close(),location.reload())};return(s,c)=>(i(),M(et,{type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[t("div",Kr,[t("div",Qr,[ts,es,t("div",as,[os,t("a",{href:x(o),target:"_blank",rel:"noopener noreferrer"},h(x(o)),9,ns),is]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:n},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var ss=Y(rs,[["__scopeId","data-v-0ae97e7e"]]),ds=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ss,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const $e=e=>(O("data-v-342aaca4"),e=e(),N(),e),us=$e(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),ls={class:"app-container_status-label_text"},cs=$e(()=>t("div",{class:"text_status"},"\u5DF2\u65AD\u5F00",-1)),ps={class:"text_info"},fs=$e(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),ms={class:"app-container_status-label_text"},vs={class:"text_info"},bs=P({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(e){const a=e,o=Ke(),n=y(null),s=p=>{const m=p.target,{left:u,top:d}=m.getBoundingClientRect();o.portitemStyle.show=!0,o.portitemStyle.left=u,o.portitemStyle.top=d,o.portitemStyle.portitem=a.item},c=p=>{o.portitemStyle.show=!1};return(p,m)=>(i(),r("div",{class:"app-container_status-label_bg",style:Vt(`transform: translateX(${e.transform}px);`),ref_key:"el",ref:n,onMouseenter:s,onMouseleave:c},[e.item.linkState=="DOWN"?(i(),r(L,{key:0},[us,t("div",ls,[cs,t("div",ps,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(i(),r(L,{key:1},[fs,t("div",ms,[t("div",null,h(e.item.linkSpeed),1),t("div",vs,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var na=Y(bs,[["__scopeId","data-v-342aaca4"]]);const ia=e=>(O("data-v-3470ca08"),e=e(),N(),e),gs=ia(()=>t("span",null,h("<"),-1)),_s=[gs],hs=ia(()=>t("span",null,h(">"),-1)),ks=[hs],xs=P({props:{portList:{type:Array,required:!0}},setup(e){const a=y(),o=y(0),n=y(0),s=y(0),c=y(!1),p=()=>{if(s.value>=0){s.value=0;return}s.value+=100},m=()=>{if(s.value<=0-o.value+n.value){s.value=0-o.value+n.value;return}s.value-=100};return yt(()=>{Ia(()=>{a.value&&(o.value=a.value.scrollWidth,n.value=a.value.clientWidth,c.value=o.value>n.value)})}),(u,d)=>(i(),r("div",{class:"app-interfaces",ref_key:"el",ref:a},[c.value?(i(),r(L,{key:0},[t("a",{class:"btn-f",onClick:p},_s),t("a",{class:"btn-r",onClick:m},ks)],64)):E("",!0),(i(!0),r(L,null,G(e.portList,(l,f)=>(i(),M(na,{item:l,transform:s.value},null,8,["item","transform"]))),256))],512))}});var ws=Y(xs,[["__scopeId","data-v-3470ca08"]]);const ys={},Fs={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Es=It('icon_finished',2),Cs=[Es];function $s(e,a){return i(),r("svg",Fs,Cs)}var De=Y(ys,[["render",$s]]);const Rt=e=>(O("data-v-1e29113c"),e=e(),N(),e),Ds=["onSubmit"],Bs=Rt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u8F6F\u4EF6\u6E90\u914D\u7F6E")],-1)),Ys={class:"actioner-dns_body"},As={class:"label-item"},Ss=Rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5F53\u524D\u8F6F\u4EF6\u6E90")],-1)),zs={class:"label-item_value"},Ps={class:"item_info"},Ts={class:"label-item"},Is=Rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5207\u6362\u8F6F\u4EF6\u6E90")],-1)),Ls={class:"label-item_value"},Ms=Rt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90",-1)),Os=["value"],Ns={class:"actioner-dns_footer"},qs=["disabled"],Vs={key:1,class:"actioner-dns"},Gs=Rt(()=>t("div",{class:"actioner-dns_header"},[t("span",{class:"softsource_tit"},"\u8F6F\u4EF6\u6E90\u914D\u7F6E")],-1)),js={class:"actioner-dns_body"},Rs={class:"finished"},Us=Rt(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),Ws=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(""),s=y(),c=y();(()=>{S.Guide.SoftSourceList.GET().then(l=>{var f,v;if((f=l==null?void 0:l.data)!=null&&f.result){const g=(v=l==null?void 0:l.data)==null?void 0:v.result;c.value=g}}).then(()=>S.Guide.GetSoftSource.GET()).then(l=>{var f,v;if((f=l==null?void 0:l.data)!=null&&f.result){const g=l.data.result;s.value=g.softSource,(v=c.value)!=null&&v.softSourceList.find(b=>b.identity==g.softSource.identity)&&(n.value=g.softSource.identity)}})})();const m=l=>{l.preventDefault(),a.Close&&a.Close()},u=l=>{const f=F.Loading("\u6B63\u5728\u5207\u6362\u4E2D...");S.Guide.SoftSource.POST({softSourceIdentity:n.value}).then(v=>{if(v!=null&&v.data){if((v.data.success||0)==0){o.value=1;return}else if(v.data.error)throw v.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(v=>{F.Error(v)}).finally(()=>f.Close())},d=l=>{l.preventDefault(),location.reload()};return(l,f)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>{var v,g;return[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(u,["prevent"])},[Bs,t("div",Ys,[t("div",As,[Ss,t("div",zs,[t("p",Ps,h((v=s.value)==null?void 0:v.name),1)])]),t("div",Ts,[Is,t("div",Ls,[z(t("select",{name:"",id:"","onUpdate:modelValue":f[0]||(f[0]=b=>n.value=b)},[Ms,(i(!0),r(L,null,G((g=c.value)==null?void 0:g.softSourceList,(b,_)=>(i(),r("option",{value:b.identity,key:_},h(b.name),9,Os))),128))],512),[[Q,n.value,void 0,{trim:!0}]])])])]),t("div",Ns,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:n.value==""},"\u786E\u8BA4",8,qs),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m},"\u53D6\u6D88")])],40,Ds)):E("",!0),o.value==1?(i(),r("form",Vs,[Gs,t("div",js,[t("div",Rs,[D(De)]),Us,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:d},"\u786E\u5B9A")])])])):E("",!0)]}),_:1},8,["Close"]))}});var Hs=Y(Ws,[["__scopeId","data-v-1e29113c"]]);const ra=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Hs,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},lt=e=>(O("data-v-5ebe1ee6"),e=e(),N(),e),Zs={class:"app-container_status-label"},Js={class:"app-container_status-label_item",style:{"padding-right":"10px"}},Xs={class:"app-container_status-container",style:{height:"100%"}},Ks={key:0,class:"app-container_status-container_body"},Qs=lt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("title",null,"icon_internet connected"),t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),td={class:"app-container_status-info"},ed=lt(()=>t("span",{class:"container_success"},"\u5DF2\u8054\u7F51",-1)),ad={class:"container_time"},od={key:1,class:"app-container_status-container_body"},nd=lt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),id={class:"app-container_status-info"},rd=lt(()=>t("span",{class:"container_failure"},"DNS\u9519\u8BEF",-1)),sd={class:"container_time"},dd={key:2,class:"app-container_status-container_body"},ud=lt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),ld={class:"app-container_status-info"},cd=lt(()=>t("span",{class:"container_failure"},"\u8F6F\u4EF6\u6E90\u9519\u8BEF",-1)),pd={class:"container_time"},fd={key:3,class:"app-container_status-container_body"},md=lt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),vd={class:"app-container_status-info"},bd=lt(()=>t("span",{class:"container_failure"},"\u672A\u8054\u7F51",-1)),gd={class:"container_time"},_d={key:4,class:"app-container_status-container_body"},hd=lt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),kd=lt(()=>t("div",{class:"app-container_status-info"},[t("span",{class:"container_failure"},"\u68C0\u6D4B\u4E2D...")],-1)),xd=[hd,kd],wd={class:"app-container_status-label_item",style:{"padding-left":"10px"}},yd={class:"app-container_status-container",style:{height:"100%"}},Fd={class:"more_icon",title:"\u67E5\u770B\u8BBE\u5907\u4FE1\u606F"},Ed={class:"DeviceBlock"},Cd=lt(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/status/routes"},"\u8BBE\u5907\u8DEF\u7531")],-1)),$d={class:"app-container_status-container_body"},Dd=lt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("title",null,"icon_device number"),t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),Bd={class:"app-container_status-info"},Yd={class:"container_content"},Ad=lt(()=>t("span",{class:"devise"},"\u5DF2\u8FDE\u63A5\u8BBE\u5907",-1)),Sd=lt(()=>t("em",null,null,-1)),zd={class:"app-container_status-container"},Pd={class:"more_icon",title:"\u6D4B\u901F"},Td={class:"DeviceBlock"},Id={class:"app-container_title"},Ld={class:"app-container_status-label_block"},Md={class:"app-container_status-label_block"},Od={class:"app-container_title"},Nd={class:"app-container_status-label_block"},qd=lt(()=>t("em",null,null,-1)),Vd={class:"app-container_status-container"},Gd={class:"app-container_title"},jd=lt(()=>t("span",null,"\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001",-1)),Rd={class:"more_icon",title:"\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F"},Ud={class:"DeviceBlock"},Wd=R("\u7F51\u53E3\u914D\u7F6E"),Hd={class:"app-container_body"},Zd=P({props:{homebox:{type:Object}},setup(e){const a=()=>{oa()},o=()=>{ra()},n=le(),s=j(()=>n.status),c=j(()=>n.deviceList),p=y(!1),m=y(!1),u=y(!1),d=it({portList:[],load:!1}),l=$=>{switch($){case"pppoe":return"\u62E8\u53F7\u4E0A\u7F51";case"static":return"\u9759\u6001\u7F51\u7EDC";case"dhcp":return"DHCP"}return $&&$.toUpperCase()},f=$=>{switch($){case"manual":return"\u624B\u52A8\u914D\u7F6E";case"auto":return"\u81EA\u52A8\u83B7\u53D6";default:return""}},v=()=>{(d.load&&document.hidden?Promise.resolve():S.Network.PortList.GET().then($=>{if($!=null&&$.data){const{result:B}=$==null?void 0:$.data;B&&(d.portList=B.ports||[])}})).finally(()=>{d.load=!0,setTimeout(v,1e4)})};v();const g=wt.stampForm,b=()=>{p.value=!p.value},_=()=>{m.value=!m.value},w=()=>{u.value=!u.value},k=()=>{b(),ct.installAndGo("app-meta-nlbwmon","\u5E26\u5BBD\u76D1\u63A7","/cgi-bin/luci/admin/services/nlbw")},C=()=>T(this,null,function*(){var $,B,V;if(_(),yield ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const W=yield S.Network.Homebox.Enable.POST();(B=($=W==null?void 0:W.data)==null?void 0:$.result)!=null&&B.port?ds({port:W.data.result.port,setup:0}):((V=W==null?void 0:W.data)==null?void 0:V.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":F.Warning("\u542F\u52A8\u5931\u8D25")}catch(W){F.Warning("\u542F\u52A8\u5931\u8D25")}}),A=()=>{_(),ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return($,B)=>{var W,U;const V=J("router-link");return i(),r(L,null,[t("div",Zs,[t("div",Js,[t("div",Xs,[x(s)!=null?(i(),r(L,{key:0},[x(s).networkInfo=="netSuccess"?(i(),r("div",Ks,[Qs,t("div",td,[ed,t("span",ad,h(x(g)(x(s).uptimeStamp)),1)])])):x(s).networkInfo=="dnsFailed"?(i(),r("div",od,[nd,t("div",id,[rd,t("span",sd,h(x(g)(x(s).uptimeStamp)),1),t("div",{onClick:a,class:"container_configure"},"DNS\u914D\u7F6E")])])):x(s).networkInfo=="softSourceFailed"?(i(),r("div",dd,[ud,t("div",ld,[cd,t("span",pd,h(x(g)(x(s).uptimeStamp)),1),t("div",{onClick:o,class:"container_configure"},"\u8F6F\u4EF6\u6E90\u914D\u7F6E")])])):x(s).networkInfo=="netFailed"?(i(),r("div",fd,[md,t("div",vd,[bd,t("span",gd,h(x(g)(x(s).uptimeStamp)),1)])])):(i(),r("div",_d,xd))],64)):E("",!0)])]),t("div",wd,[t("div",yd,[t("span",Fd,[D($t,{onClick:b})]),z(t("div",Ed,[t("div",{class:"menu_background",onClick:b}),t("ul",null,[Cd,t("li",null,[t("a",{onClick:k},"\u5E26\u5BBD\u76D1\u63A7")])])],512),[[xt,p.value]]),t("div",$d,[Dd,t("div",Bd,[t("span",Yd,h(((U=(W=x(c))==null?void 0:W.devices)==null?void 0:U.length)||0),1),Ad])])])])]),Sd,t("div",zd,[t("span",Pd,[D($t,{onClick:_})]),z(t("div",Td,[t("div",{class:"menu_background",onClick:_}),t("ul",null,[t("li",null,[t("a",{onClick:C},"\u5185\u7F51\u6D4B\u901F")]),t("li",null,[t("a",{onClick:A},"\u5916\u7F51\u6D4B\u901F")])])],512),[[xt,m.value]]),t("div",Id,[t("span",null,"IP\u5730\u5740\uFF08"+h(x(s).defaultInterface)+"\uFF09",1)]),t("div",Ld,[t("span",null," IPv4\uFF1A "+h(x(s).ipv4addr)+" \uFF08"+h(l(x(s).proto||""))+"\uFF09 ",1)]),t("div",Md,[t("span",null,"IPv6\uFF1A"+h(x(s).ipv6addr),1)]),t("div",Od,[t("span",null,"DNS\uFF08"+h(f(x(s).dnsProto))+"\uFF09",1)]),(i(!0),r(L,null,G(x(s).dnsList,X=>(i(),r("div",Nd,[t("span",null,h(X),1)]))),256))]),qd,t("div",Vd,[t("div",Gd,[jd,t("span",Rd,[D($t,{onClick:w})]),z(t("div",Ud,[t("div",{class:"menu_background",onClick:w}),t("ul",null,[t("li",null,[D(V,{to:"/interfaceconfig"},{default:q(()=>[Wd]),_:1})])])],512),[[xt,u.value]])]),t("div",Hd,[x(d).load?(i(),M(ws,{key:0,portList:x(d).portList},null,8,["portList"])):E("",!0)])])],64)}}});var Jd=Y(Zd,[["__scopeId","data-v-5ebe1ee6"]]);const Xd={class:"network-container"},Kd={class:"network-container_flow"},Qd={class:"network-container_flow-container"},t0={class:"network-container_status"},e0=P({setup(e){return(a,o)=>(i(),r("div",Xd,[t("div",Kd,[t("div",Qd,[D(Ri)])]),t("div",t0,[D(Jd)])]))}});var a0=Y(e0,[["__scopeId","data-v-569bbceb"]]);const o0={},n0={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},i0=t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),r0=[i0];function s0(e,a){return i(),r("svg",n0,r0)}var gt=Y(o0,[["render",s0]]);const d0={},u0={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},l0=It('\u5206\u533A\u4FE1\u606F',2),c0=[l0];function p0(e,a){return i(),r("svg",u0,c0)}var Ue=Y(d0,[["render",p0]]);const f0={},m0={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},v0=It('\u5168\u76D8\u683C\u5F0F\u5316',2),b0=[v0];function g0(e,a){return i(),r("svg",m0,b0)}var _0=Y(f0,[["render",g0]]);const Bt=e=>(O("data-v-4116205a"),e=e(),N(),e),h0=["onSubmit"],k0=Bt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u786C\u76D8\u914D\u7F6E")],-1)),x0={class:"action-body"},w0={class:"disk-info"},y0=Bt(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),F0={key:0,class:"disk-info_mount-name"},E0={key:1,class:"disk-info_mount-name"},C0={key:0,class:"label-item"},$0=Bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),D0={class:"label-item_path"},B0={class:"label-item"},Y0=Bt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u683C\u5F0F\u5316\u9009\u9879")],-1)),A0={class:"label-item_value"},S0=["disabled"],z0={key:0,value:""},P0=Bt(()=>t("option",{value:"format"},"\u683C\u5F0F\u5316",-1)),T0={key:1,value:"default"},I0={class:"label-item_value"},L0={key:0,class:"msg"},M0={key:1,class:"msg"},O0={class:"action-footer"},N0=Bt(()=>t("div",{class:"auto"},null,-1)),q0=["disabled"],V0=["disabled"],G0={key:1,class:"action result"},j0={class:"action-body"},R0=Bt(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),U0=Bt(()=>t("div",{class:"action-body_msg"},"\u683C\u5F0F\u5316\u6210\u529F",-1)),W0={key:0,class:"action-body_info"},H0={key:1,class:"action-body_info"},Z0=R(" \u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A "),J0={class:"btns"},X0=P({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const a=e,o=()=>{a.Close&&a.Close()},n=k=>{k.preventDefault(),a.Cancel&&a.Cancel(),o()},s=k=>{a.Next&&a.Next(k),o()},c=y(!1),p=y(0),m=k=>{p.value=k},u=y(a.action=="nas"?"":"format"),d=y(),l=y(),f=()=>{switch(u.value){case"format":g();return;case"default":v();return;default:F.Warning("\u8BF7\u9009\u62E9\u9009\u7EBF");return}},v=()=>{let k="";const C=a.mount;if(C!=null&&C.mountPoint!=null&&(k=C.mountPoint),k!=""){s(k);return}F.Warning("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84")},g=()=>{const k=a.disk,C=a.mount;if(C){const A=C.mountPoint||C.path;if(!confirm(`\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A ${A} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm(`\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 ${A}?`))return;_(C);return}if(k){if(!confirm(`\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 ${k.venderModel} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?"))return;b(k);return}F.Warning("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E")},b=k=>T(this,null,function*(){if(k.name==null||k.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0");return}if(k.path==null||k.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84");return}c.value=!0;const C=F.Loading("\u521D\u59CB\u5316\u4E2D...");try{const A=yield S.Nas.Disk.Init.POST({name:k.name,path:k.path});if(A!=null&&A.data){const{result:$,error:B}=A==null?void 0:A.data;B&&F.Warning(B),$&&($.errorInfo?F.Warning($.errorInfo):(F.Success("\u521D\u59CB\u5316\u6210\u529F"),$.childrens&&$.childrens.length>0&&(l.value=$.childrens[0]),d.value=$,m(1)))}}catch(A){F.Error(A)}C.Close(),c.value=!1}),_=k=>T(this,null,function*(){if(k.path==null||k.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}c.value=!0;const C=F.Loading("\u683C\u5F0F\u5316\u4E2D...");try{const A=yield S.Nas.Disk.Partition.Format.POST({path:k.path,uuid:k.uuid,mountPoint:k.mountPoint});if(A!=null&&A.data){const{result:$,error:B}=A==null?void 0:A.data;B&&F.Warning(B),$&&(F.Success("\u683C\u5F0F\u5316\u6210\u529F"),l.value=$,m(1))}}catch(A){F.Error(A)}C.Close(),c.value=!1}),w=()=>{if(l.value&&l.value.mountPoint){s(l.value.mountPoint);return}F.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return(k,C)=>(i(),M(et,{type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>{var A;return[p.value==0?(i(),r("form",{key:0,class:"action format",onSubmit:nt(f,["prevent"])},[k0,t("div",x0,[t("div",w0,[y0,e.mount?(i(),r("div",F0,[t("span",null,"\u3010"+h(e.mount.total)+"\u3011",1),t("span",null,h(e.mount.mountPoint||e.mount.path),1)])):e.disk?(i(),r("div",E0,[t("span",null,"\u3010"+h(e.disk.size)+"\u3011",1),t("span",null,h(e.disk.venderModel),1)])):E("",!0)]),e.mount?(i(),r("div",C0,[$0,t("div",D0,h(e.mount.mountPoint||e.mount.path)+"\uFF08"+h(e.mount.total)+"\uFF09",1)])):E("",!0),t("div",B0,[Y0,t("div",A0,[z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=$=>u.value=$),required:"",disabled:e.action=="disk"},[e.mount!=null?(i(),r("option",z0,"\u8BF7\u9009\u62E9\u9009\u9879")):E("",!0),P0,e.mount!=null?(i(),r("option",T0,"\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")):E("",!0)],8,S0),[[Q,u.value]])]),t("div",I0,[u.value=="format"?(i(),r("p",L0,"\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")):u.value=="default"?(i(),r("p",M0)):E("",!0)])])]),t("div",O0,[N0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:c.value},"\u8FD4\u56DE",8,q0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value},"\u4E0B\u4E00\u6B65",8,V0)])],40,h0)):p.value==1?(i(),r("div",G0,[t("div",j0,[R0,U0,d.value?(i(),r("div",W0,[R(" \u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8 "+h(d.value.venderModel)+" \u5E76\u6302\u8F7D\u5230 ",1),t("a",null,h((A=l.value)==null?void 0:A.mountPoint),1)])):E("",!0),l.value?(i(),r("div",H0,[Z0,t("a",null,h(l.value.mountPoint),1)])):E("",!0),t("div",J0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:w},h(e.action=="nas"?"\u4E0B\u4E00\u6B65":"\u5B8C\u6210"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var K0=Y(X0,[["__scopeId","data-v-4116205a"]]),Be=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(K0,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Mt=e=>(O("data-v-57d4812a"),e=e(),N(),e),Q0=["onSubmit"],tu=Mt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),eu={class:"action-body"},au={class:"disk-info"},ou=Mt(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),nu={key:0,class:"disk-info_mount-name"},iu={key:1,class:"disk-info_mount-name"},ru={key:0,class:"label-item"},su=Mt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),du={class:"label-item_path"},uu={class:"label-item"},lu=Mt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u6302\u8F7D\u70B9")],-1)),cu={class:"label-item_value"},pu={class:"action-footer"},fu=Mt(()=>t("div",{class:"auto"},null,-1)),mu=["disabled"],vu=["disabled"],bu={key:1,class:"action result"},gu={class:"action-body"},_u=Mt(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),hu=Mt(()=>t("div",{class:"action-body_msg"},"\u6302\u8F7D\u6210\u529F",-1)),ku={key:0,class:"action-body_info"},xu={class:"btns"},wu=P({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){var g;const a=e,o=()=>{a.Close&&a.Close()},n=b=>{b.preventDefault(),a.Cancel&&a.Cancel(),o()},s=b=>{a.Next&&a.Next(b),o()},c=y(!1),p=y(0),m=y("/mnt/data_"+((g=a==null?void 0:a.mount)==null?void 0:g.name)),u=b=>{p.value=b};y(a.mount?"":"format"),y();const d=y(),l=()=>T(this,null,function*(){const b=a.mount;if(b==null){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A");return}if(b.path==null||b.path==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if(b.uuid==null||b.uuid==""){F.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}c.value=!0;const _=F.Loading("\u6302\u8F7D\u4E2D...");try{const w=yield S.Nas.Disk.Partition.Mount.POST({path:b.path,uuid:b.uuid,mountPoint:m.value});if(w!=null&&w.data){const{result:k,error:C}=w==null?void 0:w.data;C&&F.Warning(C),k&&(F.Success("\u6302\u8F7D\u6210\u529F"),d.value=k,u(1))}}catch(w){F.Error(w)}_.Close(),c.value=!1}),f=()=>{if(d.value&&d.value.mountPoint){s(d.value.mountPoint);return}F.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")},v=()=>{};return(b,_)=>(i(),M(et,{type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>{var w,k;return[p.value==0?(i(),r("form",{key:0,class:"action format",onSubmit:nt(v,["prevent"])},[tu,t("div",eu,[t("div",au,[ou,e.mount?(i(),r("div",nu,[t("span",null,"\u3010"+h(e.mount.total)+"\u3011",1),t("span",null,h(e.mount.mountPoint),1)])):e.disk?(i(),r("div",iu,[t("span",null,"\u3010"+h(e.disk.size)+"\u3011",1),t("span",null,h(e.disk.venderModel),1)])):E("",!0)]),e.mount?(i(),r("div",ru,[su,t("div",du,h(e.mount.path)+"\uFF08"+h(e.mount.total)+"\uFF0C"+h((k=(w=e.mount)==null?void 0:w.filesystem)==null?void 0:k.toUpperCase())+"\uFF09",1)])):E("",!0),t("div",uu,[lu,t("div",cu,[z(t("input",{type:"text","onUpdate:modelValue":_[0]||(_[0]=C=>m.value=C)},null,512),[[H,m.value,void 0,{trim:!0}]])])])]),t("div",pu,[fu,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:c.value,onClick:l},"\u786E\u5B9A",8,mu),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:c.value},"\u8FD4\u56DE",8,vu)])],40,Q0)):p.value==1?(i(),r("div",bu,[t("div",gu,[_u,hu,d.value?(i(),r("div",ku,[R(" \u5DF2\u6210\u529F\u5C06\u5206\u533A "+h(d.value.path)+" \u6302\u8F7D\u5230 ",1),t("a",null,h(d.value.mountPoint),1)])):E("",!0),t("div",xu,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:f},h(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var yu=Y(wu,[["__scopeId","data-v-57d4812a"]]),sa=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(yu,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const da=e=>(O("data-v-3e619a52"),e=e(),N(),e),Fu={class:"disk-content"},Eu={class:"disk-item"},Cu={class:"disk-item_name"},$u={key:0},Du={key:1},Bu={key:2},Yu={class:"disk_value"},Au={class:"disk-item_value"},Su={class:"value-data"},zu={key:0,class:"disk-item"},Pu={class:"disk-item_name"},Tu={key:0},Iu=["href"],Lu={key:0},Mu={class:"disk_status"},Ou={key:0,class:"disk_status_item"},Nu={key:0,class:"tooltip-trigger disk_tip"},qu=da(()=>t("div",{class:"tooltip-text tooltip-top"},[t("div",{class:"disk_dir_tip"},"\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")],-1)),Vu={class:"disk_status_item"},Gu={key:0,class:"tooltip-trigger disk_tip"},ju=da(()=>t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")],-1)),Ru=P({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(e){const a=e,o=j(()=>a.part.filesystem=="No FileSystem"),n=j(()=>a.part.filesystem&&["ntfs","vfat","exfat"].indexOf(a.part.filesystem)>=0),s=j(()=>a.part.mountPoint&&a.part.isReadOnly&&a.part.filesystem!="swap"),c=j(()=>o.value||!a.part.isSystemRoot&&(s.value||n.value||!a.part.mountPoint&&a.part.filesystem=="swap")),p=function(){Be({action:"disk",disk:a.disk,mount:a.part,Cancel:()=>{},Next:f=>{location.reload()}})},m=()=>{sa({action:"nas",disk:a.disk,mount:a.part,Cancel:()=>{},Next:()=>{location.reload()}})},u=()=>T(this,null,function*(){const f=F.Loading("\u5904\u7406\u4E2D...");try{const v=yield S.Nas.Disk.InitRest.POST({name:a.disk.name,path:a.disk.path});if(v!=null&&v.data){const{result:g,error:b}=v==null?void 0:v.data;b&&F.Warning(b),g&&(F.Success("\u6302\u8F7D\u6210\u529F"),location.reload())}}catch(v){F.Error(v)}f.Close()}),d=j(()=>a.part.filesystem=="Free Space"),l=j(()=>{const f=a.part.mountPoint?a.part.mountPoint:"";return f.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+f.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+f});return(f,v)=>{var b;const g=J("progress-item");return i(),r("div",Fu,[t("li",Eu,[t("div",Cu,[x(d)?(i(),r("span",$u,"\u672A\u5206\u533A")):(i(),r("span",Du,h(e.part.name)+h(e.part.mountPoint?"":x(o)?"\uFF08\u672A\u683C\u5F0F\u5316\uFF09":"\uFF08\u672A\u6302\u8F7D\uFF09"),1)),e.part.isSystemRoot?(i(),r("span",Bu,"\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")):E("",!0)]),t("div",Yu,[t("div",Au,[t("div",Su,[D(g,{value:x(d)||!e.part.usage?0:e.part.usage,text:x(d)?"\u672A\u5206\u533A\uFF08"+e.part.total+"\uFF09":(e.part.mountPoint&&e.part.filesystem!="swap"?e.part.used:"\u672A\u77E5")+"/"+e.part.total,style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),x(d)?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:u},"\u5206\u533A\u5E76\u683C\u5F0F\u5316")):x(c)?(i(),r("button",{key:1,class:"cbi-button cbi-button-apply",onClick:p},"\u683C\u5F0F\u5316\u5206\u533A")):E("",!0)])]),!x(d)&&!x(o)?(i(),r("li",zu,[t("span",Pu,[e.part.mountPoint?(i(),r(L,{key:0},[e.part.filesystem=="swap"?(i(),r("span",Tu,"\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")):(i(),r("a",{key:1,href:x(l),target:"_blank"},h(e.part.mountPoint),9,Iu))],64)):(i(),r(L,{key:1},[e.part.filesystem=="swap"?(i(),r("span",Lu,"\u4E0D\u652F\u6301\u6302\u8F7D")):(i(),r("span",{key:1,class:"value-data buttondiv",onClick:m},"\u624B\u52A8\u6302\u8F7D"))],64))]),t("div",Mu,[e.part.mountPoint&&e.part.filesystem!="swap"?(i(),r("div",Ou,[t("div",null,"\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"+h(e.part.isReadOnly?"\u53EA\u8BFB":"\u8BFB\u5199"),1),x(s)?(i(),r("div",Nu,[D(gt),qu])):E("",!0)])):E("",!0),t("div",Vu,[t("div",null,"\u6587\u4EF6\u7CFB\u7EDF\uFF1A"+h((b=e.part.filesystem)==null?void 0:b.toUpperCase()),1),!e.part.isSystemRoot&&x(n)?(i(),r("div",Gu,[D(gt),ju])):E("",!0)])])])):E("",!0)])}}});var Uu=Y(Ru,[["__scopeId","data-v-3e619a52"]]);const ua=e=>(O("data-v-5fa713aa"),e=e(),N(),e),Wu={key:0,class:"action"},Hu={class:"title"},Zu=ua(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5206\u533A / \u6302\u8F7D\u70B9"),t("span",null,"\u5BB9\u91CF")],-1)),Ju={class:"app-container_body"},Xu=ua(()=>t("div",{class:"auto"},null,-1)),Ku=P({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const a=e,o=y(0),n=()=>{a.Close&&a.Close()},s=c=>{c.preventDefault(),a.Cancel&&a.Cancel(),n()};return(c,p)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[o.value==0?(i(),r("div",Wu,[t("h2",Hu,"\u5206\u533A\u4FE1\u606F - "+h((e.disk.name||"?")+(e.disk.isSystemRoot?"\uFF08\u7CFB\u7EDF\u76D8\uFF09":"")),1),t("ul",null,[t("li",null,[Zu,t("div",Ju,[(i(!0),r(L,null,G(e.disk.childrens,(m,u)=>(i(),M(Uu,{key:u,part:m,disk:e.disk},null,8,["part","disk"]))),128))])])]),t("div",{class:"action-footer"},[Xu,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:s,type:"button"},"\u8FD4\u56DE")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var Qu=Y(Ku,[["__scopeId","data-v-5fa713aa"]]),tl=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Qu,at(Z({},e),{Close:()=>{n()}}));o.component("progress-item",ta),o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const fe=e=>(O("data-v-3eb8bf52"),e=e(),N(),e),el={key:0,class:"disk-item error"},al=["title"],ol={class:"disk-item_value"},nl={class:"value-data"},il={class:"error"},rl={key:1,class:"disk-item"},sl=["title"],dl={key:0,class:"disk_value"},ul=fe(()=>t("div",{class:"value-data"},[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},[t("span",{class:"error"}," S.M.A.R.T\u5F02\u5E38")])],-1)),ll=[ul],cl={key:1,class:"disk_value"},pl={class:"disk-item_value"},fl={class:"value-data"},ml=fe(()=>t("div",{class:"disk-item-tooltip"},[t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")],-1)),vl={class:"disk_icon"},bl={key:0,class:"tooltip-trigger"},gl={class:"disk_tip"},_l=fe(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")])],-1)),hl={key:1,class:"tooltip-trigger"},kl={class:"disk_tip"},xl=fe(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")])],-1)),wl={key:2,class:"disk-item load"},yl=["title"],Fl={class:"disk_value"},El={class:"disk-item_value"},Cl={class:"value-data"},$l={key:3,class:"disk-item load"},Dl=["title"],Bl={class:"disk_value"},Yl={key:0,class:"disk-item_value"},Al={class:"value-data"},Sl={class:"disk_icon"},zl=P({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(e){const a=e,o=j(()=>a.disk.errorInfo?"error":a.disk.childrens==null||a.disk.childrens.length==0||a.disk.childrens.length==1&&a.disk.childrens[0].filesystem=="No FileSystem"?"load":a.disk.childrens.filter(u=>u.mountPoint).length==0?"unmounted":"success"),n=j(()=>{const u=a.disk;let d=u.name;return u.size&&(d+=`\u3010${u.size}\u3011`),u.venderModel&&(d+=`(${u.venderModel})`),d}),s=j(()=>{var d;const u=a.disk;return!u.isSystemRoot&&(((d=u.childrens)==null?void 0:d.filter(l=>l.isReadOnly&&l.filesystem!="swap").length)||0)>0}),c=()=>{Be({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>{tl({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},m=()=>{const u=a.disk,d=u.childrens||[];sa({action:"nas",disk:u,mount:d[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(u,d)=>{var f,v,g;const l=J("progress-item");return x(o)=="error"?(i(),r("li",el,[t("div",{class:"disk-item_name",title:x(n)},[t("span",null,h(x(n)),1)],8,al),t("div",ol,[t("div",nl,[t("span",il,h(e.disk.errorInfo),1)])])])):x(o)=="success"?(i(),r("li",rl,[t("div",{class:"disk-item_name",title:x(n)},[t("span",null,h(x(n)),1)],8,sl),e.disk.smartWarning&&e.smartWarning?(i(),r("div",dl,ll)):(i(),r("div",cl,[t("div",pl,[t("div",fl,[D(l,{value:e.disk.usage||0,text:`${e.disk.used}/${e.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),ml]),t("div",vl,[e.disk.isDockerRoot&&e.disk.isSystemRoot&&e.disk.usage&&e.disk.usage>=90?(i(),r("span",bl,[t("span",gl,[D(gt)]),_l])):E("",!0),x(s)?(i(),r("span",hl,[t("span",kl,[D(gt)]),xl])):E("",!0),x(s)&&((f=e.disk.childrens)==null?void 0:f.length)==1?(i(),r("span",{key:2,class:"disk_infoicon",onClick:d[0]||(d[0]=b=>c())},[D(_0)])):E("",!0),t("span",{class:"disk_infoicon",onClick:d[1]||(d[1]=b=>p())},[D(Ue)])])]))])):x(o)=="load"?(i(),r("li",wl,[t("div",{class:"disk-item_name",title:x(n)},[t("span",null,h(x(n)),1)],8,yl),t("div",Fl,[t("div",El,[t("div",Cl,[t("button",{onClick:d[2]||(d[2]=b=>c())},"\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")])])])])):x(o)=="unmounted"?(i(),r("li",$l,[t("div",{class:"disk-item_name",title:x(n)},[t("span",null,h(x(n)),1)],8,Dl),t("div",Bl,[((v=e.disk.childrens)==null?void 0:v.length)==1?(i(),r("div",Yl,[t("div",Al,[e.disk.childrens[0].filesystem=="swap"?(i(),r("button",{key:0,onClick:d[3]||(d[3]=b=>p())},"\u67E5\u770B\u8BE6\u60C5")):(i(),r("button",{key:1,onClick:d[4]||(d[4]=b=>m())},"\u624B\u52A8\u6302\u8F7D"))])])):E("",!0),t("div",Sl,[(((g=e.disk.childrens)==null?void 0:g.length)||0)>1?(i(),r("span",{key:0,class:"disk_infoicon",onClick:d[5]||(d[5]=b=>p())},[D(Ue)])):E("",!0)])])])):E("",!0)}}});var we=Y(zl,[["__scopeId","data-v-3eb8bf52"]]);const ee=e=>(O("data-v-bc09566a"),e=e(),N(),e),Pl={class:"app-container"},Tl={class:"app-container_title"},Il={class:"disk_info"},Ll=R(" \u78C1\u76D8\u4FE1\u606F "),Ml={class:"app-container_tool"},Ol={class:"more_icon",title:"\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F"},Nl={class:"DeviceBlock"},ql=ee(()=>t("ul",null,[t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/raid"},"RAID\u7BA1\u7406")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/diskman"},"\u78C1\u76D8\u7BA1\u7406")]),t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/mounts"},"\u6302\u8F7D\u70B9")])],-1)),Vl={key:0},Gl={class:"disk_loading_icon"},jl=ee(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...",-1)),Rl={key:1},Ul=ee(()=>t("div",{class:"app-container_info"},[t("span",null,"\u7CFB\u7EDF\u6839\u76EE\u5F55")],-1)),Wl={class:"app-container_body"},Hl={key:2},Zl=ee(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5DF2\u6302\u8F7D\u78C1\u76D8")],-1)),Jl={class:"app-container_body"},Xl={key:3},Kl=ee(()=>t("div",{class:"app-container_info"},[t("span",null,"RAID\u8BBE\u5907")],-1)),Ql={class:"app-container_body"},tc=P({setup(e){const a=y(!1),o=it({disks:null,raidList:null}),n=()=>{S.Nas.Disk.Status.GET().then(m=>{var u;if((u=m==null?void 0:m.data)!=null&&u.result){const d=m.data.result;o.disks=d.disks||[]}})};(()=>T(this,null,function*(){try{const m=yield S.Raid.List.GET();if(m!=null&&m.data){const{success:u,error:d,result:l}=m.data;if(l&&(o.raidList=l.disks||[]),d)throw d}}catch(m){console.log(m)}}))(),n();const c=()=>{a.value=!a.value},p=()=>{ct.installAndGo("luci-app-linkease","\u6613\u6709\u4E91","/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(m,u)=>{var f,v;const d=J("GlHelp"),l=J("icon-loading");return i(),r("div",Pl,[t("ul",null,[t("li",null,[t("div",Tl,[t("span",Il,[Ll,D(d,{type:"disk"})]),t("div",Ml,[t("div",{class:"app-container_configure",onClick:p}," \u6587\u4EF6\u7BA1\u7406 "),t("span",Ol,[D($t,{onClick:c})])]),z(t("div",Nl,[t("div",{class:"menu_background",onClick:c}),ql],512),[[xt,a.value]])])]),!x(o).disks&&!x(o).raidList?(i(),r("li",Vl,[t("div",Gl,[D(l,{size:38,color:"currentColor"}),jl])])):E("",!0),x(o).disks?(i(),r("li",Rl,[Ul,t("div",Wl,[(i(!0),r(L,null,G((f=x(o).disks)==null?void 0:f.filter(g=>g.isSystemRoot),(g,b)=>(i(),M(we,{key:b,disk:g},null,8,["disk"]))),128))])])):E("",!0),x(o).disks?(i(),r("li",Hl,[Zl,t("div",Jl,[(i(!0),r(L,null,G((v=x(o).disks)==null?void 0:v.filter(g=>!g.isSystemRoot),(g,b)=>(i(),M(we,{key:b,disk:g,smartWarning:!0},null,8,["disk"]))),128))])])):E("",!0),x(o).raidList&&x(o).raidList.length>0?(i(),r("li",Xl,[Kl,t("div",Ql,[(i(!0),r(L,null,G(x(o).raidList,(g,b)=>(i(),M(we,{key:b,disk:g},null,8,["disk"]))),128))])])):E("",!0)])])}}});var ec=Y(tc,[["__scopeId","data-v-bc09566a"]]);const la=e=>(O("data-v-184dd932"),e=e(),N(),e),ac={class:"app-container_samba"},oc={key:0,class:"sambas-item"},nc=la(()=>t("div",{class:"sambas-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),ic={class:"sambas-item_value"},rc=la(()=>t("li",{class:"sambas-item"},[t("div",{class:"sambas-item_name tit"},[t("span",null,"\u5730\u5740")]),t("div",{class:"sambas-item_value tit"},[t("span",null,"\u76EE\u5F55")])],-1)),sc={class:"samba-item"},dc={class:"samba-item_name"},uc=["title"],lc=["href"],cc=P({props:{sambas:{type:Array}},setup(e){const a=window.location.hostname;return(o,n)=>{var s;return i(),r("ul",ac,[e.sambas?(i(),r("li",oc,[nc,t("div",ic,[t("span",null,h((s=e.sambas)!=null&&s.length?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])])):E("",!0),rc,(i(!0),r(L,null,G(e.sambas,c=>(i(),r("li",sc,[t("div",dc,[t("span",null,"smb://"+h(x(a))+"/"+h(c.shareName),1)]),t("div",{class:"samba-item_value",title:c.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+c.path},h(c.path),9,lc)],8,uc)]))),256))])}}});var pc=Y(cc,[["__scopeId","data-v-184dd932"]]);const me=e=>(O("data-v-b4608492"),e=e(),N(),e),fc={class:"webdav-item"},mc=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),vc={class:"webdav-item_value"},bc={key:0,class:"webdav-item"},gc=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u6302\u8F7D\u8DEF\u5F84:")],-1)),_c={class:"webdav-item_value"},hc=["href"],kc={key:1,class:"webdav-item"},xc=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u670D\u52A1\u8DEF\u5F84:")],-1)),wc={class:"webdav-item_value"},yc=["href"],Fc={key:2,class:"webdav-item"},Ec=me(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u8D26\u53F7:")],-1)),Cc={class:"webdav-item_value"},$c=P({props:{webdav:{type:Object}},setup(e){const a=e,o=j(()=>{var n;return`http://${location.hostname}:${(n=a.webdav)==null?void 0:n.port}`});return(n,s)=>{var c,p,m,u,d,l,f;return i(),r(L,null,[t("li",fc,[mc,t("div",vc,[t("span",null,h((c=e.webdav)!=null&&c.path?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])]),(p=e.webdav)!=null&&p.path?(i(),r("li",bc,[gc,t("div",_c,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((m=e.webdav)==null?void 0:m.path)},h((u=e.webdav)==null?void 0:u.path),9,hc)])])):E("",!0),(d=e.webdav)!=null&&d.port?(i(),r("li",kc,[xc,t("div",wc,[t("a",{href:x(o),target:"_blank",rel:"noopener noreferrer"},h(x(o)),9,yc)])])):E("",!0),(l=e.webdav)!=null&&l.username?(i(),r("li",Fc,[Ec,t("div",Cc,[t("span",null,h((f=e.webdav)==null?void 0:f.username),1)])])):E("",!0)],64)}}});var Dc=Y($c,[["__scopeId","data-v-b4608492"]]);const Ye=e=>(O("data-v-4a3b6e0a"),e=e(),N(),e),Bc={class:"disk-item"},Yc=Ye(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563338465",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2216",width:"128",height:"128"},[t("path",{d:"M998.4 711.68l-119.467-512c-6.826-42.667-42.666-75.093-87.04-76.8H232.107c-44.374 1.707-80.214 35.84-87.04 78.507L25.6 711.68c-5.12 13.653-6.827 29.013-6.827 42.667 0 76.8 63.147 139.946 141.654 139.946H865.28c78.507 0 141.653-63.146 141.653-139.946 0-13.654-3.413-29.014-8.533-42.667zM394.24 366.933c1.707-51.2 56.32-92.16 124.587-92.16S640 315.733 640 365.227c44.373-1.707 81.92 23.893 83.627 58.026s-34.134 63.147-78.507 64.854h-6.827l-245.76 1.706c-44.373 0-80.213-27.306-80.213-59.733 0-35.84 37.547-63.147 81.92-63.147z m471.04 459.094H160.427c-39.254 0-69.974-30.72-69.974-69.974s32.427-69.973 69.974-69.973H865.28c39.253 0 69.973 30.72 69.973 69.973 1.707 37.547-30.72 69.974-69.973 69.974z m-35.84-92.16c-11.947 0-22.187 8.533-23.893 20.48 0 11.946 8.533 22.186 20.48 23.893h3.413c11.947 0 22.187-10.24 22.187-22.187 0-13.653-8.534-22.186-22.187-22.186z m-46.08 22.186c0-25.6 20.48-46.08 46.08-46.08s46.08 20.48 46.08 46.08-20.48 46.08-46.08 46.08-46.08-20.48-46.08-46.08z","p-id":"2217"})])],-1)),Ac={class:"disk-item_f"},Sc={class:"disk-item_venderModel"},zc={class:"disk-item_used"},Pc=Ye(()=>t("div",{class:"auto"},null,-1)),Tc={class:"disk-item-r"},Ic={class:"disk-children"},Lc=["onClick"],Mc=Ye(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563581459",class:"icon",viewBox:"0 0 1228 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7132",width:"128",height:"128"},[t("path",{d:"M525.2096 145.3568c1.9968-45.568-35.6864-99.1232-57.4976-99.1232H57.4976C15.872 79.9232 17.8176 145.408 17.8176 145.408h507.392z",fill:"#ECC049","p-id":"7133"}),t("path",{d:"M21.8112 143.36L19.8144 825.1392c0 75.3152 75.3152 152.576 150.6304 152.576h887.9104c75.264 0 150.6304-75.264 150.6304-152.576V297.984c0-75.264-75.3152-152.576-150.6304-152.576h-434.0224L21.8112 143.36z",fill:"#FFD658","p-id":"7134"})])],-1)),Oc={key:0},Nc={key:1},qc=P({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(e){var s,c;const a=e,o=y(!1);a.currDisk!=null&&((s=a.currDisk)==null?void 0:s.venderModel)==((c=a.disk)==null?void 0:c.venderModel)&&(o.value=!0);const n=p=>{o.value=!o.value,a.onDisk(p,null)};return(p,m)=>{var u;return i(),r("ul",Bc,[t("li",{class:ot(["disk-info",{on:e.disk.venderModel==((u=e.currDisk)==null?void 0:u.venderModel),nopoint:e.disk.childrens==null||e.disk.childrens.length==0}]),onClick:m[0]||(m[0]=d=>n(e.disk))},[Yc,t("div",Ac,[t("div",Sc,h(e.disk.venderModel),1),t("div",zc,h(e.disk.used)+"/"+h(e.disk.size),1)]),Pc,t("div",Tc,h(e.disk.path),1)],2),z(t("div",Ic,[(i(!0),r(L,null,G(e.disk.childrens,d=>{var l,f;return i(),r("li",{class:ot(["disk-children_item",{on:d.uuid==((l=e.currMountPoint)==null?void 0:l.uuid)&&d.path==((f=e.currMountPoint)==null?void 0:f.path)}]),onClick:v=>e.onDisk(e.disk,d)},[Mc,d.mountPoint?(i(),r("span",Oc," \u3010"+h(d.filesystem)+"\u3011 "+h(d.mountPoint)+" \uFF08"+h(d.used)+"/"+h(d.total)+"\uFF09 ["+h(d.uuid)+"] ",1)):(i(),r("span",Nc," \u3010"+h(d.filesystem)+"\u3011 "+h(d.mountPoint||d.path||"\u672A\u6302\u8F7D\u78C1\u76D8")+" ["+h(d.uuid)+"] ",1))],10,Lc)}),256))],512),[[xt,o.value]])])}}});var We=Y(qc,[["__scopeId","data-v-4a3b6e0a"]]);const Ae=e=>(O("data-v-12d0f96b"),e=e(),N(),e),Vc={class:"action list"},Gc=Ae(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")],-1)),jc={class:"action-body"},Rc={class:"disk-list"},Uc=Ae(()=>t("div",{class:"action-msg"},[t("span",null,[R(" \u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80 "),t("a",{href:"/cgi-bin/luci/admin/system/diskman"},"\u9AD8\u7EA7\u8BBE\u7F6E")])],-1)),Wc=Ae(()=>t("div",{class:"auto"},null,-1)),Hc=P({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(e){const a=e,o=y(!0),n=it({disks:[],raids:[]});(()=>T(this,null,function*(){const v=yield Promise.all([S.Nas.Disk.Status.GET(),S.Raid.List.GET()]);try{if(v[0]){const g=v[0];g!=null&&g.data.result&&(n.disks=(g==null?void 0:g.data.result.disks)||[])}if(v[1]){const g=v[1];g.data.result&&(n.raids=g.data.result.disks||[])}}catch(g){F.Warning(g)}}))();const c=y(),p=y(),m=(v,g)=>{c.value=v,p.value=g},u=()=>{a.Close&&a.Close()},d=()=>{a.Cancel&&a.Cancel(),u()},l=v=>{a.Next&&a.Next(v),u()},f=()=>{if(c.value==null){F.Warning("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8");return}if(c.value.childrens!=null&&c.value.childrens.length>0&&p.value==null){F.Warning("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A");return}if(p.value!=null&&(p.value.mountPoint==null||p.value.mountPoint=="")){F.Warning("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D");return}o.value=!1,Be({action:"nas",disk:c.value,mount:p.value,Cancel:()=>{o.value=!0},Next:v=>{l(v)}})};return(v,g)=>o.value?(i(),M(et,{key:0,type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[t("div",Vc,[Gc,t("div",jc,[t("div",Rc,[(i(!0),r(L,null,G(x(n).disks,b=>(i(),M(We,{disk:b,onDisk:m,currDisk:c.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(i(!0),r(L,null,G(x(n).raids,b=>(i(),M(We,{disk:b,onDisk:m,currDisk:c.value,currMountPoint:p.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),Uc,t("div",{class:"action-footer"},[Wc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:d,type:"button"},"\u8FD4\u56DE"),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:f,type:"button"},"\u4E0B\u4E00\u6B65")])])]),_:1})]),_:1})):E("",!0)}});var Zc=Y(Hc,[["__scopeId","data-v-12d0f96b"]]),Jc=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Zc,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const ve=e=>(O("data-v-67a63e8f"),e=e(),N(),e),Xc={class:"action"},Kc={class:"action-body"},Qc=ve(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),t1=ve(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),e1={class:"info"},a1=ve(()=>t("span",null,"\u524D\u5F80",-1)),o1=["href"],n1=ve(()=>t("span",null,"\u914D\u7F6E",-1)),i1=P({props:{Close:Function},setup(e){const a=e,o=y(""),n=j(()=>`http://${location.hostname}:${o.value}`);(()=>{S.Nas.Linkease.Enable.POST().then(p=>{var m,u;(m=p==null?void 0:p.data)!=null&&m.result&&(o.value=((u=p.data.result)==null?void 0:u.port)||"")})})();const c=()=>{a.Close&&a.Close(),location.reload()};return(p,m)=>(i(),M(et,{type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[t("div",Xc,[t("div",Kc,[Qc,t1,t("div",e1,[a1,t("a",{href:x(n),target:"_blank",rel:"noopener noreferrer"},h(x(n)),9,o1),n1]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:c},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var r1=Y(i1,[["__scopeId","data-v-67a63e8f"]]),s1=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(r1,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const ae=e=>(O("data-v-30ef6ccb"),e=e(),N(),e),d1=["onSubmit"],u1=ae(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Webdav\u5171\u4EAB\u914D\u7F6E")],-1)),l1={class:"action-body"},c1={class:"label-item"},p1=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),f1={class:"label-item_value"},m1=["value"],v1={class:"label-item"},b1=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),g1={class:"label-item_value"},_1={class:"label-item"},h1=ae(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),k1={class:"label-item_value"},x1={class:"action-footer"},w1=ae(()=>t("div",{class:"auto"},null,-1)),y1=["disabled"],F1=["disabled"],E1=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=u=>{u.preventDefault(),a.Close&&a.Close()},n=y(!1),s=y({username:"root",password:"",rootPath:a.rootPath});(()=>T(this,null,function*(){const u=F.Loading("\u52A0\u8F7D\u4E2D...");n.value=!0;try{const d=yield S.Nas.Webdav.Status.GET();if(d!=null&&d.data){const{result:l,error:f}=d.data;if(f){F.Warning(f);return}l&&(l.username&&(s.value.username=l.username),l.password&&(s.value.password=l.password))}}catch(d){F.Error(d)}n.value=!1,u.Close()}))();const p=()=>{const u=s.value;if(u.rootPath==""){F.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(u.username==""){F.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(u.password==""){F.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}m(u)},m=u=>T(this,null,function*(){n.value=!0;const d=F.Loading("\u521B\u5EFA\u4E2D...");try{const l=yield S.Nas.Webdav.Create.POST(u);if(l!=null&&l.data){const{error:f,result:v}=l.data;f&&F.Warning(f),v&&(F.Success("\u521B\u5EFA\u6210\u529F"),window.setTimeout(()=>{location.reload()},1e3))}}catch(l){F.Error(l)}d.Close(),n.value=!1});return(u,d)=>(i(),M(et,{type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[t("form",{class:"action",onSubmit:nt(p,["prevent"])},[u1,t("div",l1,[t("div",c1,[p1,t("div",f1,[t("input",{type:"text",value:s.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,m1)])]),t("div",v1,[b1,t("div",g1,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":d[0]||(d[0]=l=>s.value.username=l)},null,512),[[H,s.value.username,void 0,{trim:!0}]])])]),t("div",_1,[h1,t("div",k1,[z(t("input",{type:"password","onUpdate:modelValue":d[1]||(d[1]=l=>s.value.password=l)},null,512),[[H,s.value.password,void 0,{trim:!0}]])])])]),t("div",x1,[w1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:o,disabled:n.value},"\u5173\u95ED",8,y1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,F1)])],40,d1)]),_:1})]),_:1}))}});var C1=Y(E1,[["__scopeId","data-v-30ef6ccb"]]),$1=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(C1,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Yt=e=>(O("data-v-3ef9e48f"),e=e(),N(),e),D1=["onSubmit"],B1=Yt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Samba\u5171\u4EAB\u914D\u7F6E")],-1)),Y1={class:"action-body"},A1={class:"label-item"},S1=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),z1={class:"label-item_value"},P1=["value"],T1={class:"label-item"},I1=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")],-1)),L1={class:"label-item_value"},M1={class:"label-item"},O1=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),N1={class:"label-item_value"},q1={class:"label-item"},V1=Yt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),G1={class:"label-item_value"},j1={class:"samba-item"},R1={class:"samba-item_allow"},U1=Yt(()=>t("label",{for:"allow",class:"samba-allow"},"\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)",-1)),W1={class:"samba-item_tips"},H1={class:"tooltip-trigger"},Z1={class:"samba_tip"},J1=Yt(()=>t("span",{class:"samba_dir_tip"},"\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50",-1)),X1={class:"action-footer"},K1=Yt(()=>t("div",{class:"auto"},null,-1)),Q1=["disabled"],t2=["disabled"],e2=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=m=>{m.preventDefault(),a.Close&&a.Close()},n=y(!1),s=y({shareName:"",username:"",password:"",rootPath:a.rootPath,allowLegacy:!1}),c=()=>{const m=s.value;if(m.rootPath==""){F.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(m.shareName==""){F.Warning("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");return}if(m.username==""){F.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(m.password==""){F.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}const u=wt.checkSmabaUserName(m.username);if(u!==!0){F.Warning(`${u}`);return}p(m)},p=m=>T(this,null,function*(){n.value=!0;const u=F.Loading("\u521B\u5EFA\u4E2D...");try{const d=yield S.Nas.Samba.Create.POST(m);if(d!=null&&d.data){const{error:l,result:f}=d.data;l&&F.Warning(l),f&&(F.Success("\u521B\u5EFA\u6210\u529F"),window.setTimeout(()=>{location.reload()},1e3))}}catch(d){F.Error(d)}u.Close(),n.value=!1});return(m,u)=>(i(),M(et,{type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[t("form",{class:"action",onSubmit:nt(c,["prevent"])},[B1,t("div",Y1,[t("div",A1,[S1,t("div",z1,[t("input",{type:"text",value:s.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,P1)])]),t("div",T1,[I1,t("div",L1,[z(t("input",{type:"text","onUpdate:modelValue":u[0]||(u[0]=d=>s.value.shareName=d),required:"",placeholder:"\u5171\u4EAB\u540D\u79F0"},null,512),[[H,s.value.shareName,void 0,{trim:!0}]])])]),t("div",M1,[O1,t("div",N1,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":u[1]||(u[1]=d=>s.value.username=d)},null,512),[[H,s.value.username,void 0,{trim:!0}]])])]),t("div",q1,[V1,t("div",G1,[z(t("input",{type:"password","onUpdate:modelValue":u[2]||(u[2]=d=>s.value.password=d)},null,512),[[H,s.value.password,void 0,{trim:!0}]])])]),t("div",j1,[t("div",R1,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":u[3]||(u[3]=d=>s.value.allowLegacy=d)},null,512),[[Tt,s.value.allowLegacy]]),U1]),t("div",W1,[t("span",H1,[t("span",Z1,[D(gt)]),J1])])])]),t("div",X1,[K1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:o,disabled:n.value},"\u5173\u95ED",8,Q1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,t2)])],40,D1)]),_:1})]),_:1}))}});var a2=Y(e2,[["__scopeId","data-v-3ef9e48f"]]),o2=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(a2,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const qt=e=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(e)!=-1,Ut=e=>(O("data-v-650e3bd4"),e=e(),N(),e),n2={key:0,class:"action"},i2=Ut(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC",-1)),r2=Ut(()=>t("h3",{class:"desc"},"\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1",-1)),s2=Ut(()=>t("option",{value:"linkease"},"\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09",-1)),d2=Ut(()=>t("option",{value:"samba"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09",-1)),u2=Ut(()=>t("option",{value:"webdav"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09",-1)),l2=[s2,d2,u2],c2={key:0,class:"tips"},p2=R("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C"),f2=Ut(()=>t("a",{href:"/cgi-bin/luci/admin/nas/unishare"},"\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB",-1)),m2=R("\u201D"),v2=[p2,f2,m2],b2={class:"btns"},g2=["disabled"],_2=P({props:{setup:Number,Close:{type:Function,required:!0}},setup(e){const a=e,o=y(!0),n=y("linkease"),s=y(!1),c=y(a.setup||0),p=()=>{a.Close&&a.Close()},m=()=>T(this,null,function*(){switch(n.value){case"webdav":yield u();break;case"samba":yield l();break;case"linkease":yield d();break}}),u=()=>T(this,null,function*(){s.value=!0,(yield ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&f(),s.value=!1}),d=()=>T(this,null,function*(){s.value=!0,(yield ct.checkAndInstallApp("linkease","\u6613\u6709\u4E91","app-meta-linkease"))&&v(),s.value=!1}),l=()=>T(this,null,function*(){s.value=!0;const _=F.Loading("\u914D\u7F6E\u4E2D...");f(),_.Close(),s.value=!1}),f=()=>{s.value=!1,o.value=!1,Jc({Cancel:()=>{o.value=!0},Next:_=>{switch(n.value){case"webdav":g(_);break;case"samba":b(_);break}}})},v=()=>{s1({}),p()},g=_=>{$1({rootPath:_}),p()},b=_=>{o2({rootPath:_}),p()};return(_,w)=>o.value?(i(),M(et,{key:0,Close:e.Close,type:1},{default:q(()=>[D(kt,{name:"rotate",mode:"out-in"},{default:q(()=>[c.value==0?(i(),r("div",n2,[i2,r2,t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":w[0]||(w[0]=k=>n.value=k)},l2,512),[[Q,n.value]])])]),x(qt)("unishare")?(i(),r("div",c2,v2)):E("",!0),t("div",b2,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:m,type:"button",disabled:s.value},"\u4E0B\u4E00\u6B65",8,g2),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p,type:"button"},"\u53D6\u6D88")])])):E("",!0)]),_:1})]),_:1},8,["Close"])):E("",!0)}});var h2=Y(_2,[["__scopeId","data-v-650e3bd4"]]),ca=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(h2,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const Se=e=>(O("data-v-edf68726"),e=e(),N(),e),k2={class:"app-container_linkease"},x2={class:"linkease-item"},w2=Se(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),y2={class:"linkease-item_value"},F2={key:0,class:"configure"},E2={key:0,class:"linkease-item"},C2=Se(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u670D\u52A1\u5730\u5740:")],-1)),$2={class:"linkease-item_value"},D2=["href"],B2=Se(()=>t("div",null,[t("a",{href:" https://app.linkease.com/",target:"_blank"},"\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")],-1)),Y2=P({props:{linkease:{type:Object}},setup(e){const a=e,o=j(()=>{var s;return`http://${location.hostname}:${(s=a.linkease)==null?void 0:s.port}`}),n=()=>{ca({setup:0})};return(s,c)=>{var p,m,u;return i(),r("ul",k2,[t("li",x2,[w2,t("div",y2,[(p=e.linkease)!=null&&p.enabel?(i(),r("span",F2,"\u5DF2\u914D\u7F6E")):(i(),r("span",{key:1,class:"configure enabel",onClick:c[0]||(c[0]=d=>n())},"\u672A\u914D\u7F6E"))])]),(m=e.linkease)!=null&&m.enabel?(i(),r(L,{key:0},[(u=e.linkease)!=null&&u.port?(i(),r("li",E2,[C2,t("div",$2,[t("a",{href:x(o),target:"_blank",rel:"noopener noreferrer"},h(x(o)),9,D2)])])):E("",!0)],64)):E("",!0),B2])}}});var A2=Y(Y2,[["__scopeId","data-v-edf68726"]]);const pa=e=>(O("data-v-6c088396"),e=e(),N(),e),S2={class:"app-container"},z2={class:"app-container_title"},P2=pa(()=>t("span",null,"\u5B58\u50A8\u670D\u52A1",-1)),T2={class:"app-container_tool"},I2={class:"more_icon",title:"\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F"},L2={class:"DeviceBlock"},M2=pa(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/services/samba4"},"SAMBA\u9AD8\u7EA7\u914D\u7F6E")],-1)),O2={class:"app-container_body"},N2={class:"app-container_nas-menu"},q2=P({setup(e){const a=y(!1),o=y("linkease"),n=y(),s=Qe();(()=>{S.Nas.Service.Status.GET().then(d=>{var l;if((l=d==null?void 0:d.data)!=null&&l.result){const f=d.data.result;n.value=f,f.webdav&&(s.webdav=f.webdav)}})})();const p=()=>{ca({setup:0})},m=()=>{a.value=!a.value},u=()=>{m(),ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(d,l)=>{var v,g,b;const f=J("GlHelp");return i(),r("div",S2,[t("div",z2,[t("span",null,[P2,D(f,{type:"store"})]),t("div",T2,[t("div",{class:"app-container_configure",onClick:p},"\u5FEB\u901F\u914D\u7F6E"),t("span",I2,[D($t,{onClick:m})])]),z(t("div",L2,[t("div",{class:"menu_background",onClick:m}),t("ul",null,[M2,t("li",null,[t("a",{onClick:u},"WebDAV\u9AD8\u7EA7\u914D\u7F6E")])])],512),[[xt,a.value]])]),t("div",O2,[t("ul",N2,[t("button",{onClick:l[0]||(l[0]=_=>o.value="linkease"),class:ot({on:o.value=="linkease"})},"\u6613\u6709\u4E91",2),t("button",{onClick:l[1]||(l[1]=_=>o.value="samba"),class:ot({on:o.value=="samba"})},"SAMBA",2),t("button",{onClick:l[2]||(l[2]=_=>o.value="webdav"),class:ot({on:o.value=="webdav"})},"WEBDAV",2)]),o.value=="samba"?(i(),M(pc,{key:0,sambas:(v=n.value)==null?void 0:v.sambas},null,8,["sambas"])):o.value=="webdav"?(i(),M(Dc,{key:1,webdav:(g=n.value)==null?void 0:g.webdav},null,8,["webdav"])):o.value=="linkease"?(i(),M(A2,{key:2,linkease:(b=n.value)==null?void 0:b.linkease},null,8,["linkease"])):E("",!0)])])}}});var V2=Y(q2,[["__scopeId","data-v-6c088396"]]);const be=e=>(O("data-v-3fd3a42d"),e=e(),N(),e),G2={class:"app-container_docker"},j2={class:"docker-item"},R2=be(()=>t("div",{class:"docker-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),U2={key:0,class:"docker-item_value"},W2=be(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),H2=[W2],Z2={key:1,class:"docker-item_value"},J2={class:"input-switch"},X2=["value","disabled"],K2=be(()=>t("em",null,null,-1)),Q2=[K2],t6={key:0,class:"docker-item"},e6=be(()=>t("div",{class:"docker-item_name"},[t("span",null,"Docker\u6839\u76EE\u5F55\uFF1A")],-1)),a6={class:"docker-item_value"},o6={class:"configure enabel"},n6={key:0},i6={class:"tooltip-trigger"},r6={class:"docker_tip"},s6={class:"tooltip-text tooltip-top"},d6={class:"docker_dir_tip"},u6=P({props:{docker:{type:Object}},setup(e){var c;const a=e,o=j(()=>{var p;return((p=a.docker)==null?void 0:p.status)!="not installed"}),n=it({enable:((c=a.docker)==null?void 0:c.status)=="running",disabled:!1}),s=()=>T(this,null,function*(){n.disabled=!0;try{const p=yield S.Guide.DockerSwitch.POST({enable:n.enable});if(p!=null&&p.data){const{success:m,error:u}=p.data;if(u)throw n.enable=!n.enable,u;(m||0)==0}}catch(p){F.Warning(`${p}`)}finally{n.disabled=!1}});return(p,m)=>{var u,d,l,f;return i(),r("ul",G2,[t("li",j2,[R2,(u=a.docker)!=null&&u.status?(i(),r(L,{key:0},[x(o)?(i(),r("div",Z2,[t("label",J2,[z(t("input",{type:"checkbox",hidden:"",value:!x(n).enable,"onUpdate:modelValue":m[0]||(m[0]=v=>x(n).enable=v),disabled:x(n).disabled,onChange:s},null,40,X2),[[Tt,x(n).enable]]),t("span",{class:ot(x(n).enable?"enable":"close")},Q2,2)])])):(i(),r("div",U2,H2))],64)):E("",!0)]),((d=e.docker)==null?void 0:d.status)=="running"?(i(),r("li",t6,[e6,t("div",a6,[t("span",o6,h((l=e.docker)==null?void 0:l.path),1),(f=e.docker)!=null&&f.errorInfo?(i(),r("span",n6,[t("span",i6,[t("span",r6,[D(gt)]),t("div",null,[t("div",s6,[t("span",d6,h(e.docker.errorInfo),1)])])])])):E("",!0)])])):E("",!0)])}}});var l6=Y(u6,[["__scopeId","data-v-3fd3a42d"]]);const c6={},p6={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},f6=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),m6=[f6];function v6(e,a){return i(),r("svg",p6,m6)}var b6=Y(c6,[["render",v6]]);const mt=e=>(O("data-v-0c5883d5"),e=e(),N(),e),g6={key:0,class:"action"},_6=mt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),h6=mt(()=>t("p",{class:"desc"},"\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09",-1)),k6={class:"roots"},x6=mt(()=>t("span",{class:"roots_tit"},"Docker\u6839\u76EE\u5F55\uFF1A",-1)),w6={class:"root"},y6={class:"move"},F6=mt(()=>t("span",{class:"roots_tit"},"\u8FC1\u79FB\u5230\uFF1A",-1)),E6={key:0},C6=["onSubmit"],$6={class:"select-editable"},D6=mt(()=>t("option",{selected:"",value:null},"\u8BF7\u9009\u62E9\u8FC1\u79FB\u5730\u5740",-1)),B6=["value"],Y6=mt(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),A6={key:1,class:"tips"},S6={class:"tips_content"},z6=mt(()=>t("span",{class:"tip"},"\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002",-1)),P6={key:0,class:"btns"},T6={key:1,class:"btns"},I6={key:1,class:"action docker_success"},L6=mt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),M6={class:"finished"},O6=mt(()=>t("p",{class:"successed"},"\u8FC1\u79FB\u6210\u529F\uFF01",-1)),N6={key:2,class:"action docker_download"},q6=mt(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),V6={class:"finished"},G6=mt(()=>t("p",{class:"successed"},"\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A",-1)),j6={class:"docker_moves"},R6={class:"moves change"},U6=mt(()=>t("label",{for:"move"},"\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09",-1)),W6={class:"moves"},H6=mt(()=>t("label",{for:"cover"},"\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09",-1)),Z6={class:"btns"},J6=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const a=e,o=y(),n=y(),s=y(0),c=y("null"),p=y(""),m=y(),u=y(!1),d=y("");(()=>{S.Nas.Disk.Status.GET().then(k=>{k!=null&&k.data.result&&(m.value=k==null?void 0:k.data.result)}),S.Guide.DockerStatus.GET().then(k=>{var C;if((C=k==null?void 0:k.data)!=null&&C.result){const A=k.data.result;o.value=A}}),S.Guide.DockerPartitionList.GET().then(k=>{var C;if((C=k==null?void 0:k.data)!=null&&C.result){const A=k.data.result;n.value=A}})})();const f=k=>{let C=c.value;if(C=="useInput"&&(C=p.value),C==null||C=="null"||C=="")return;const A=F.Loading("\u6B63\u5728\u8FC1\u79FB\u4E2D...");S.Guide.DockerTransfer.POST({path:C,force:k,overwriteDir:!!d.value}).then($=>{var B;if($!=null&&$.data){if(($.data.success||0)==0){if((B=$.data.result)!=null&&B.emptyPathWarning){u.value=!0,s.value=2;return}s.value=1;return}else if($.data.error)throw $.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch($=>{F.Error($)}).finally(()=>A.Close())},v=()=>{u.value=!1,f(!1)},g=k=>{k.preventDefault(),a.Close&&a.Close()},b=k=>{k.preventDefault(),location.reload()},_=k=>{k.preventDefault(),s.value=0},w=k=>{k.preventDefault(),f(!0)};return(k,C)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>{var A,$,B,V,W,U;return[s.value==0?(i(),r("div",g6,[_6,h6,t("div",k6,[x6,t("span",w6,h((A=o.value)==null?void 0:A.path),1)]),t("div",y6,[F6,(B=($=n.value)==null?void 0:$.partitionList)!=null&&B.length?(i(),r("div",E6,[t("form",{onSubmit:nt(v,["prevent"])},[t("label",null,[t("div",$6,[z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=X=>c.value=X)},[D6,(i(!0),r(L,null,G((V=n.value)==null?void 0:V.partitionList,(X,Et)=>(i(),r("option",{value:X,key:Et},h(X),9,B6))),128)),Y6],512),[[Q,c.value,void 0,{trim:!0}]]),c.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":C[1]||(C[1]=X=>p.value=X),required:"",placeholder:"\u8BF7\u8F93\u5165\u8FC1\u79FB\u5730\u5740"},null,512)),[[H,p.value,void 0,{trim:!0}]]):E("",!0)])])],40,C6)])):n.value?(i(),r("div",A6,[t("div",S6,[D(gt),z6])])):E("",!0)]),(U=(W=n.value)==null?void 0:W.partitionList)!=null&&U.length?(i(),r("div",P6,[t("button",{class:"cbi-button cbi-button-apply",onClick:v},"\u786E\u5B9A"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:g},"\u53D6\u6D88")])):(i(),r("div",T6,[t("button",{class:"cbi-button cbi-button-apply",onClick:g},"\u786E\u5B9A")]))])):s.value==1?(i(),r("div",I6,[L6,t("div",M6,[D(De)]),O6,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:b},"\u786E\u5B9A")])])):s.value==2?(i(),r("div",N6,[q6,t("div",V6,[D(b6)]),G6,t("div",j6,[t("div",R6,[z(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":C[2]||(C[2]=X=>d.value=X),value:""},null,512),[[pt,d.value]]),U6]),t("div",W6,[z(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":C[3]||(C[3]=X=>d.value=X),value:"true"},null,512),[[pt,d.value]]),H6])]),t("div",Z6,[u.value?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:w},"\u786E\u5B9A")):E("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:_},"\u8FD4\u56DE"),u.value?E("",!0):(i(),r("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:b},"\u53D6\u6D88"))])])):E("",!0)]}),_:1},8,["Close"]))}});var X6=Y(J6,[["__scopeId","data-v-0c5883d5"]]);const K6=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(X6,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},fa=e=>(O("data-v-68f828b1"),e=e(),N(),e),Q6={class:"app-container"},t5={class:"app-container_title"},e5=fa(()=>t("span",null,"Docker",-1)),a5={key:0,class:"app-container_tool"},o5={key:1,class:"more_icon",title:"\u67E5\u770BDocker\u4FE1\u606F"},n5={class:"DeviceBlock"},i5=fa(()=>t("ul",null,[t("li",null,[t("a",{href:"/cgi-bin/luci/admin/docker/overview"},"Docker\u9AD8\u7EA7\u914D\u7F6E")])],-1)),r5={key:1,class:"loading_placeholder"},s5=P({props:{docker:{type:Object}},setup(e){const a=y(!1),o=y(),n=y(!1),s=()=>{n.value=!n.value},c=()=>{K6()};return setTimeout(()=>{S.Guide.DockerStatus.GET().then(m=>{var u;if((u=m==null?void 0:m.data)!=null&&u.result){const d=m.data.result;o.value=d}}).finally(()=>{a.value=!0})},1100),(m,u)=>{var f,v;const d=J("GlHelp"),l=J("icon-loading");return i(),r("div",Q6,[t("div",t5,[t("span",null,[e5,D(d,{type:"docker"})]),a.value?(i(),r("div",a5,[((f=o.value)==null?void 0:f.status)!="not installed"?(i(),r("div",{key:0,class:"app-container_configure",onClick:c},"\u5FEB\u901F\u914D\u7F6E ")):E("",!0),((v=o.value)==null?void 0:v.status)==="running"?(i(),r("span",o5,[D($t,{onClick:s})])):E("",!0)])):E("",!0),z(t("div",n5,[t("div",{class:"menu_background",onClick:s}),i5],512),[[xt,n.value]])]),t("div",null,[a.value?(i(),M(l6,{key:0,docker:o.value},null,8,["docker"])):(i(),r("div",r5,[D(l,{size:50,color:"currentColor"})]))])])}}});var d5=Y(s5,[["__scopeId","data-v-68f828b1"]]);const oe=e=>(O("data-v-dbe287b2"),e=e(),N(),e),u5={class:"app-container_aria2"},l5={class:"aria2-item"},c5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),p5={class:"aria2-item_value"},f5={key:0,class:"configure"},m5={key:1,class:"configure enabel"},v5={class:"aria2-item"},b5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),g5={class:"aria2-item_value"},_5=["href"],h5={class:"aria2-item"},k5=oe(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),x5={class:"aria2-item_value"},w5=["href"],y5={class:"aria2-item"},F5=oe(()=>t("div",{class:"aria2-item_name right"},[t("span",null,"\u8BA4\u8BC1\u5931\u8D25\uFF1F")],-1)),E5={class:"aria2-item_value"},C5=["href"],$5=oe(()=>t("div",{class:"use-url_app"},[t("a",{href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},"\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")],-1)),D5=P({props:{aria2:{type:Object}},setup(e){const a=e,o=j(()=>{var s;return`${location.origin}${(s=a.aria2)==null?void 0:s.webPath}`}),n=j(()=>{var p,m,u;let s=(p=a.aria2)==null?void 0:p.rpcToken;s&&(s=encodeURIComponent(btoa(s)));const c=encodeURIComponent(location.hostname);return`${location.origin}${(m=a.aria2)==null?void 0:m.webPath}/#!/settings/rpc/set/http/${c}/${(u=a.aria2)==null?void 0:u.rpcPort}/jsonrpc/${s}`});return(s,c)=>{var p,m,u,d;return i(),r("ul",u5,[t("li",l5,[c5,t("div",p5,[((p=e.aria2)==null?void 0:p.status)=="running"?(i(),r("span",f5,"\u5DF2\u542F\u52A8")):(i(),r("span",m5,"\u672A\u542F\u52A8"))])]),((m=e.aria2)==null?void 0:m.status)=="running"?(i(),r(L,{key:0},[t("li",v5,[b5,t("div",g5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((u=e.aria2)==null?void 0:u.downloadPath)},h((d=e.aria2)==null?void 0:d.downloadPath),9,_5)])]),t("li",h5,[k5,t("div",x5,[t("a",{href:x(o),target:"_blank",rel:"noopener noreferrer"},h(x(o)),9,w5)])]),t("li",y5,[F5,t("div",E5,[t("a",{href:x(n),target:"_blank",rel:"noopener noreferrer"},"\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg",8,C5)])])],64)):E("",!0),$5])}}});var B5=Y(D5,[["__scopeId","data-v-dbe287b2"]]);const ge=e=>(O("data-v-1af61e64"),e=e(),N(),e),Y5={class:"app-container_qbittorrent"},A5={class:"qbittorrent-item"},S5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),z5={class:"qbittorrent-item_value"},P5={key:0,class:"configure"},T5={key:1,class:"configure enabel"},I5={class:"qbittorrent-item"},L5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),M5={class:"qbittorrent-item_value"},O5=["href"],N5={class:"qbittorrent-item"},q5=ge(()=>t("div",{class:"qbittorrent-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),V5={class:"qbittorrent-item_value"},G5=["href"],j5=ge(()=>t("li",{class:"qbittorrent-item"},[t("div",{class:"qbittorrent-item_name right"},[t("span",null,"\u9ED8\u8BA4\u7528\u6237\u540D\uFF1Aadmin")]),t("div",{class:"qbittorrent-item_value"},[t("span",null,"\u9ED8\u8BA4\u5BC6\u7801\uFF1Aadminadmin")])],-1)),R5=P({props:{qbittorrent:{type:Object}},setup(e){const a=e,o=j(()=>{var n;return`http://${location.hostname}${(n=a.qbittorrent)==null?void 0:n.webPath}`});return(n,s)=>{var c,p,m,u;return i(),r("ul",Y5,[t("li",A5,[S5,t("div",z5,[((c=e.qbittorrent)==null?void 0:c.status)=="running"?(i(),r("span",P5,"\u5DF2\u542F\u52A8")):(i(),r("span",T5,"\u672A\u542F\u52A8"))])]),((p=e.qbittorrent)==null?void 0:p.status)=="running"?(i(),r(L,{key:0},[t("li",I5,[L5,t("div",M5,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((m=e.qbittorrent)==null?void 0:m.downloadPath)},h((u=e.qbittorrent)==null?void 0:u.downloadPath),9,O5)])]),t("li",N5,[q5,t("div",V5,[t("a",{href:x(o),target:"_blank",rel:"noopener noreferrer"},h(x(o)),9,G5)])]),j5],64)):E("",!0)])}}});var U5=Y(R5,[["__scopeId","data-v-1af61e64"]]);const ze=e=>(O("data-v-31717210"),e=e(),N(),e),W5={class:"app-container_transmission"},H5={class:"transmission-item"},Z5=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),J5={class:"transmission-item_value"},X5={key:0,class:"configure"},K5={key:1,class:"configure enabel"},Q5={class:"transmission-item"},t3=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55:")],-1)),e3={class:"transmission-item_value"},a3=["href"],o3={class:"transmission-item"},n3=ze(()=>t("div",{class:"transmission-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740:")],-1)),i3={class:"transmission-item_value"},r3=["href"],s3=P({props:{transmission:{type:Object}},setup(e){const a=e,o=j(()=>{var n;return`http://${location.hostname}${(n=a.transmission)==null?void 0:n.webPath}`});return(n,s)=>{var c,p,m,u;return i(),r("ul",W5,[t("li",H5,[Z5,t("div",J5,[((c=e.transmission)==null?void 0:c.status)=="running"?(i(),r("span",X5,"\u5DF2\u542F\u52A8")):(i(),r("span",K5,"\u672A\u542F\u52A8"))])]),((p=e.transmission)==null?void 0:p.status)=="running"?(i(),r(L,{key:0},[t("li",Q5,[t3,t("div",e3,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((m=e.transmission)==null?void 0:m.downloadPath)},h((u=e.transmission)==null?void 0:u.downloadPath),9,a3)])]),t("li",o3,[n3,t("div",i3,[t("a",{href:x(o),target:"_blank",rel:"noopener noreferrer"},h(x(o)),9,r3)])])],64)):E("",!0)])}}});var d3=Y(s3,[["__scopeId","data-v-31717210"]]);const u3={},l3={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},c3=t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6","fill-opacity":"0.65"},null,-1),p3=[c3];function f3(e,a){return i(),r("svg",l3,p3)}var zt=Y(u3,[["render",f3]]);const K=e=>(O("data-v-378dba8e"),e=e(),N(),e),m3={key:0,class:"action"},v3=K(()=>t("h2",{class:"title"},"\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),b3={class:"load_service input_row"},g3=K(()=>t("div",{class:"left"},[t("span",null,"\u4E0B\u8F7D\u670D\u52A1\uFF1A")],-1)),_3={class:"radios"},h3=K(()=>t("label",{for:"Aria2"},"Aria2",-1)),k3={class:"radios"},x3=K(()=>t("label",{for:"qB"},"qBittorrent",-1)),w3={class:"radios"},y3=K(()=>t("label",{for:"Tr"},"Transmission",-1)),F3=["onSubmit"],E3={class:"input_row"},C3={class:"left"},$3={class:"tooltip-trigger"},D3=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")])],-1)),B3=K(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),Y3={class:"myinput_wrap"},A3={class:"input_row"},S3={class:"left"},z3={class:"tooltip-trigger"},P3=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),T3=K(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),I3={class:"myinput_wrap"},L3={class:"input_row"},M3={class:"left"},O3={class:"tooltip-trigger"},N3=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-bottom"},[t("span",{class:"dowload_rpc_tip"},"\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")])],-1)),q3=K(()=>t("span",null,"RPC \u4EE4\u724C\uFF1A",-1)),V3={class:"input_row"},G3=K(()=>t("div",{class:""},[t("span",null,"\u9644\u52A0\u7684 BT Tracker\uFF1A")],-1)),j3={class:"radios"},R3=K(()=>t("label",{for:"default"},"\u9ED8\u8BA4",-1)),U3={class:"radios"},W3=K(()=>t("label",{for:"add"},"\u81EA\u5DF1\u6DFB\u52A0",-1)),H3={class:"input_row"},Z3=K(()=>t("div",{class:"left"},null,-1)),J3={class:"myinput_wrap Tracker_input"},X3=["onSubmit"],K3={class:"input_row"},Q3={class:"left"},t8={class:"tooltip-trigger"},e8=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")])],-1)),a8=K(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),o8={class:"myinput_wrap"},n8={class:"input_row"},i8={class:"left"},r8={class:"tooltip-trigger"},s8=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),d8=K(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),u8={class:"myinput_wrap"},l8=["onSubmit"],c8={class:"input_row"},p8={class:"left"},f8={class:"tooltip-trigger"},m8=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")])],-1)),v8=K(()=>t("span",null,"\u914D\u7F6E\u76EE\u5F55\uFF1A",-1)),b8={class:"myinput_wrap"},g8={class:"input_row"},_8={class:"left"},h8={class:"tooltip-trigger"},k8=K(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"dowload_dir_tip"},"\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")])],-1)),x8=K(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),w8={class:"myinput_wrap"},y8={class:"btns"},F8={key:1,class:"action"},E8={class:"title"},C8={class:"finished"},$8=K(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),D8=P({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(e){const a=e,o=y(""),n=y(""),s=y(""),c=y(""),p=y("default"),m=y("Aria2"),u=y(""),d=y(""),l=y(""),f=y(""),v=y([]),g=y([]),b=y(0);yt(()=>{var U,X,Et,Ie,Le,Me,Oe,Ne,qe,Ve;switch(a.defaultTab){case"aria2":m.value="Aria2";break;case"qbittorrent":m.value="qBittorrent";break;case"transmission":m.value="Transmission";break}v.value=a.partitionList.map(Ht=>({key:Ht})),g.value=a.partitionList.filter(Ht=>Ht.startsWith("/mnt/")).map(Ht=>Ht.replace(/(\/mnt\/[^/]+).*/,"$1")),s.value=((U=a.services.aria2)==null?void 0:U.configPath)||"";const $=((X=a.services.aria2)==null?void 0:X.downloadPath)||((Et=a.services.qbittorrent)==null?void 0:Et.downloadPath)||((Ie=a.services.transmission)==null?void 0:Ie.downloadPath);$&&(c.value=$);const B=(Le=a.services.aria2)==null?void 0:Le.rpcToken;B&&(o.value=B),u.value=((Me=a.services.qbittorrent)==null?void 0:Me.configPath)||"";const V=((Oe=a.services.qbittorrent)==null?void 0:Oe.downloadPath)||$||((Ne=a.services.transmission)==null?void 0:Ne.downloadPath);V&&(d.value=V),l.value=((qe=a.services.transmission)==null?void 0:qe.configPath)||"";const W=((Ve=a.services.transmission)==null?void 0:Ve.downloadPath)||$||V;W&&(f.value=W)});const _=()=>{let $=s.value,B=c.value;$==null||$==""||B==null||B==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-aria2","Aria2")){const W=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.Aria2Init.POST({configPath:$,downloadPath:B,rpcToken:o.value,btTracker:p.value=="add"?n.value:""}).then(U=>{var X;if(U!=null&&U.data){if((U.data.success||0)==0){b.value=1;return}else if((X=U.data)!=null&&X.error)throw U.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(U=>F.Error(U)).finally(()=>W.Close())}})},w=()=>{let $=u.value,B=d.value;$==null||$==""||B==null||B==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const W=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.qbitorrentInit.POST({configPath:$,downloadPath:B}).then(U=>{var X;if(U!=null&&U.data){if((U.data.success||0)==0){b.value=1;return}else if((X=U.data)!=null&&X.error)throw U.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(U=>F.Error(U)).finally(()=>W.Close())}})},k=()=>{let $=l.value,B=f.value;$==null||$==""||B==null||B==""||T(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-transmission","Transmission")){const W=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.transmissionInit.POST({configPath:$,downloadPath:B}).then(U=>{var X;if(U!=null&&U.data){if((U.data.success||0)==0){b.value=1;return}else if((X=U.data)!=null&&X.error)throw U.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(U=>F.Error(U)).finally(()=>W.Close())}})},C=$=>{$.preventDefault(),a.Close&&a.Close()},A=$=>{$.preventDefault(),location.reload()};return($,B)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[b.value==0?(i(),r("div",m3,[v3,t("ul",null,[t("li",null,[t("div",b3,[g3,t("div",_3,[z(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":B[0]||(B[0]=V=>m.value=V),name:"download",id:"Aria2"},null,512),[[pt,m.value]]),h3]),t("div",k3,[z(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":B[1]||(B[1]=V=>m.value=V),name:"download",id:"qB"},null,512),[[pt,m.value]]),x3]),t("div",w3,[z(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":B[2]||(B[2]=V=>m.value=V),name:"download",id:"Tr"},null,512),[[pt,m.value]]),y3])])])]),m.value=="Aria2"?(i(),r("form",{key:0,onSubmit:nt(_,["prevent"])},[t("ul",null,[t("li",null,[t("div",E3,[t("div",C3,[t("span",$3,[D(zt),D3]),B3]),t("div",Y3,[D(Pt,{modelValue:s.value,"onUpdate:modelValue":B[3]||(B[3]=V=>s.value=V),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:g.value.concat("/root").map(V=>({key:V+"/Configs/aria2"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",A3,[t("div",S3,[t("span",z3,[D(zt),P3]),T3]),t("div",I3,[D(Pt,{modelValue:c.value,"onUpdate:modelValue":B[4]||(B[4]=V=>c.value=V),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:v.value},null,8,["modelValue","options"])])])]),t("li",null,[t("div",L3,[t("div",M3,[t("span",O3,[D(zt),N3]),q3]),z(t("input",{type:"text",class:"RPC_input",placeholder:"\u8BF7\u8F93\u5165RPC\u4EE4\u724C","onUpdate:modelValue":B[5]||(B[5]=V=>o.value=V)},null,512),[[H,o.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",V3,[G3,t("div",j3,[z(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":B[6]||(B[6]=V=>p.value=V)},null,512),[[pt,p.value]]),R3]),t("div",U3,[z(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":B[7]||(B[7]=V=>p.value=V)},null,512),[[pt,p.value]]),W3])])]),t("li",null,[t("div",H3,[Z3,t("div",J3,[p.value=="add"?z((i(),r("textarea",{key:0,"onUpdate:modelValue":B[8]||(B[8]=V=>n.value=V),rows:"4",placeholder:"\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694"},null,512)),[[H,n.value,void 0,{trim:!0}]]):E("",!0)])])])])],40,F3)):E("",!0),m.value=="qBittorrent"?(i(),r("form",{key:1,onSubmit:nt(w,["prevent"])},[t("ul",null,[t("li",null,[t("div",K3,[t("div",Q3,[t("span",t8,[D(zt),e8]),a8]),t("div",o8,[D(Pt,{modelValue:u.value,"onUpdate:modelValue":B[9]||(B[9]=V=>u.value=V),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:g.value.concat("/root").map(V=>({key:V+"/Configs/qb"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",n8,[t("div",i8,[t("span",r8,[D(zt),s8]),d8]),t("div",u8,[D(Pt,{modelValue:d.value,"onUpdate:modelValue":B[10]||(B[10]=V=>d.value=V),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:v.value},null,8,["modelValue","options"])])])])])],40,X3)):E("",!0),m.value=="Transmission"?(i(),r("form",{key:2,onSubmit:nt(k,["prevent"])},[t("ul",null,[t("li",null,[t("div",c8,[t("div",p8,[t("span",f8,[D(zt),m8]),v8]),t("div",b8,[D(Pt,{modelValue:l.value,"onUpdate:modelValue":B[11]||(B[11]=V=>l.value=V),modelModifiers:{trim:!0},title:"\u914D\u7F6E\u76EE\u5F55",options:g.value.concat("/root").map(V=>({key:V+"/Configs/transmission"}))},null,8,["modelValue","options"])])])]),t("li",null,[t("div",g8,[t("div",_8,[t("span",h8,[D(zt),k8]),x8]),t("div",w8,[D(Pt,{modelValue:f.value,"onUpdate:modelValue":B[12]||(B[12]=V=>f.value=V),modelModifiers:{trim:!0},title:"\u4E0B\u8F7D\u76EE\u5F55",options:v.value},null,8,["modelValue","options"])])])])])],40,l8)):E("",!0),t("div",y8,[m.value=="Aria2"?(i(),r("button",{key:0,class:"cbi-button cbi-button-apply",onClick:_},"\u542F\u7528")):E("",!0),m.value=="qBittorrent"?(i(),r("button",{key:1,class:"cbi-button cbi-button-apply",onClick:w},"\u542F\u7528")):E("",!0),m.value=="Transmission"?(i(),r("button",{key:2,class:"cbi-button cbi-button-apply",onClick:k},"\u542F\u7528")):E("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:C},"\u53D6\u6D88")])])):b.value==1?(i(),r("div",F8,[t("h2",E8,h(m.value)+"\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",1),t("div",C8,[D(De)]),$8,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:A},"\u786E\u5B9A")])])):E("",!0)]),_:1},8,["Close"]))}});var B8=Y(D8,[["__scopeId","data-v-378dba8e"]]);const Y8=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(B8,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},A8=e=>(O("data-v-6c45d60c"),e=e(),N(),e),S8={class:"app-container"},z8={class:"app-container_title"},P8=A8(()=>t("span",null,"\u4E0B\u8F7D\u670D\u52A1",-1)),T8={class:"app-container_tool"},I8=["disabled"],L8={class:"more_icon",title:"\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E"},M8={class:"DeviceBlock"},O8={class:"app-container_body"},N8={class:"app-container_nas-menu"},q8=P({setup(e){y(!1);const a=y("aria2"),o=y();Qe(),setTimeout(()=>{S.Guide.DownloadService.Status.GET().then(v=>{var g;if((g=v==null?void 0:v.data)!=null&&g.result){const b=v.data.result;o.value=b}})},800);const s=y(!1),c=y(!1),p=()=>{c.value=!c.value},m=()=>{S.Guide.DownloadPartition.List.GET().then(v=>{var b,_;let g=[];(_=(b=v==null?void 0:v.data)==null?void 0:b.result)!=null&&_.partitionList&&(g=v.data.result.partitionList),Y8({services:o.value,partitionList:g,defaultTab:a.value})})},u=(v,g,b)=>T(this,null,function*(){p(),ct.installAndGo(v,g,b)}),d=()=>{u("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},l=()=>{u("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},f=()=>{u("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(v,g)=>{var _,w,k;const b=J("GlHelp");return i(),r("div",S8,[t("div",z8,[t("span",null,[P8,D(b,{type:"download"})]),t("div",T8,[o.value?(i(),r("div",{key:0,class:"app-container_configure",onClick:m,disabled:s.value},"\u5FEB\u901F\u914D\u7F6E ",8,I8)):E("",!0),t("span",L8,[D($t,{onClick:p})])]),z(t("div",M8,[t("div",{class:"menu_background",onClick:p}),t("ul",null,[t("li",null,[t("a",{onClick:d},"Aria2\u9AD8\u7EA7\u914D\u7F6E")]),t("li",null,[t("a",{onClick:l},"qBittorrent\u9AD8\u7EA7\u914D\u7F6E")]),t("li",null,[t("a",{onClick:f},"Transmission\u9AD8\u7EA7\u914D\u7F6E")])])],512),[[xt,c.value]])]),t("div",O8,[t("ul",N8,[t("button",{onClick:g[0]||(g[0]=C=>a.value="aria2"),class:ot({on:a.value=="aria2"})},"Aria2",2),t("button",{onClick:g[1]||(g[1]=C=>a.value="qbittorrent"),class:ot({on:a.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:g[2]||(g[2]=C=>a.value="transmission"),class:ot({on:a.value=="transmission"})},"Transmission",2)]),a.value=="aria2"?(i(),M(B5,{key:0,aria2:(_=o.value)==null?void 0:_.aria2},null,8,["aria2"])):a.value=="qbittorrent"?(i(),M(U5,{key:1,qbittorrent:(w=o.value)==null?void 0:w.qbittorrent},null,8,["qbittorrent"])):a.value=="transmission"?(i(),M(d3,{key:2,transmission:(k=o.value)==null?void 0:k.transmission},null,8,["transmission"])):E("",!0)])])}}});var V8=Y(q8,[["__scopeId","data-v-6c45d60c"]]);const Ft=e=>(O("data-v-43beecef"),e=e(),N(),e),G8={class:"actioner-container"},j8=Ft(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),R8={class:"actioner-container_body"},U8={class:"label-item"},W8=Ft(()=>t("span",null,"DDNSTO",-1)),H8=Ft(()=>t("p",{class:"label_info"},"DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...",-1)),Z8={class:"label-item"},J8=Ft(()=>t("span",null,"\u963F\u91CC\u4E91",-1)),X8=Ft(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),K8={class:"label-item"},Q8=Ft(()=>t("span",null,"Dnspod",-1)),t4=Ft(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),e4={class:"label-item"},a4=Ft(()=>t("span",null,"\u82B1\u751F\u58F3",-1)),o4=Ft(()=>t("p",{class:"label_info"}," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),n4=P({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(e,{emit:a}){const o=e,n=()=>{o.onSetup()},s=y(o.active),c=()=>{switch(a("update:active",s.value),s.value){case"ddnsto":o.onSetup("ddnsto");break;case"ali":o.onSetup("ddns-ali");break;case"dnspod":o.onSetup("ddns-dnspod");break;case"oray":o.onSetup("ddns-oray");break}};return(p,m)=>(i(),r("div",G8,[j8,t("div",R8,[t("div",U8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":m[0]||(m[0]=u=>s.value=u),value:"ddnsto"},null,512),[[pt,s.value]]),W8]),H8]),t("div",Z8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":m[1]||(m[1]=u=>s.value=u),value:"ali"},null,512),[[pt,s.value]]),J8]),X8]),t("div",K8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":m[2]||(m[2]=u=>s.value=u),value:"dnspod"},null,512),[[pt,s.value]]),Q8]),t4]),t("div",e4,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":m[3]||(m[3]=u=>s.value=u),value:"oray"},null,512),[[pt,s.value]]),a4]),o4])]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:n},"\u53D6\u6D88"),t("div",{class:"next",onClick:c},"\u4E0B\u4E00\u6B65")])]))}});var i4=Y(n4,[["__scopeId","data-v-43beecef"]]);const ne=e=>(O("data-v-43dd65a2"),e=e(),N(),e),r4={class:"actioner-container"},s4={class:"actioner-container_body"},d4=ne(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),u4=ne(()=>t("div",{class:"body-title"},"\u6DFB\u52A0\u6210\u529F",-1)),l4=ne(()=>t("p",{class:"body-tips"},"\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002",-1)),c4={class:"body-info"},p4=ne(()=>t("span",null,"\u8BBF\u95EE\u5730\u5740\uFF1A",-1)),f4=["href"],m4=ne(()=>t("div",null,[t("span",null,"\u53EF\u524D\u5F80"),t("a",{href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},"\u670D\u52A1-\u52A8\u6001DNS"),t("span",null,"\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")],-1)),v4=P({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(e){const a=()=>{location.reload()};return(o,n)=>(i(),r("div",r4,[t("div",s4,[d4,u4,l4,t("div",c4,[p4,t("a",{href:e.target,target:"_blank",rel:"noopener noreferrer"},h(e.target),9,f4)]),m4]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:a},"\u5173\u95ED")])]))}});var b4=Y(v4,[["__scopeId","data-v-43dd65a2"]]);const ma=e=>(O("data-v-7790f1da"),e=e(),N(),e),g4={class:"actioner-container"},_4=ma(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),h4=ma(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),k4=P({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(e){const a=e,o=()=>{a.onSetup()},n=s=>{if(s.data.auth=="ddnsto"){const c=s.data.sign,p=s.data.token;c&&p&&(removeEventListener("message",n),a.onDdnstoConfig(c,p),a.onSetup("ddnsto-run"))}};return yt(()=>{window.addEventListener("message",n)}),Gt(()=>{removeEventListener("message",n)}),(s,c)=>(i(),r("div",g4,[_4,h4,t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u53D6\u6D88")])]))}});var x4=Y(k4,[["__scopeId","data-v-7790f1da"]]);const w4=e=>(O("data-v-7b3ee72a"),e=e(),N(),e),y4={class:"actioner-container"},F4=w4(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),E4={class:"actioner-container_body ddnsto-bind"},C4=["src"],$4=P({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(e,{emit:a}){const o=e,n=j(()=>{const{domain:p,token:m,sign:u,routerId:d,netaddr:l}=o.config,f=encodeURIComponent(p),v=encodeURIComponent(l);return`https://www.kooldns.cn/bind/#/domain?domain=${f}&sign=${u}&token=${m}&routerId=${d}&netaddr=${v}`}),s=p=>{if(p.data){const{auth:m,url:u}=p.data;m==="ddnsto"&&u&&c(u)}},c=p=>T(this,null,function*(){var m;try{const u=yield S.Guide.DdnstoAddress.POST({address:p});u!=null&&u.data&&(((m=u==null?void 0:u.data)==null?void 0:m.success)||0)==0&&(a("update:domain",p),o.onSetup("ddnsto-save"))}catch(u){}});return yt(()=>{window.addEventListener("message",s)}),Gt(()=>{removeEventListener("message",s)}),(p,m)=>(i(),r("div",y4,[F4,t("div",E4,[t("iframe",{src:x(n)},null,8,C4)])]))}});var D4=Y($4,[["__scopeId","data-v-7b3ee72a"]]);const ie=e=>(O("data-v-7f5a8953"),e=e(),N(),e),B4={class:"actioner-container"},Y4={class:"actioner-container_body"},A4=ie(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),S4=ie(()=>t("div",{class:"body-title"},"\u6DFB\u52A0\u6210\u529F",-1)),z4=ie(()=>t("p",{class:"body-tips"},"\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002",-1)),P4={class:"body-info"},T4=ie(()=>t("span",null,"\u8BBF\u95EE\u5730\u5740\uFF1A",-1)),I4=["href"],L4=ie(()=>t("div",null,[t("span",null,"\u53EF\u524D\u5F80"),t("a",{href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},"DDNSTO\u63A7\u5236\u53F0"),t("span",null,"\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")],-1)),M4=P({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(e){const a=()=>{location.reload()};return(o,n)=>(i(),r("div",B4,[t("div",Y4,[A4,S4,z4,t("div",P4,[T4,t("a",{href:e.target,target:"_blank",rel:"noopener noreferrer"},h(e.target),9,I4)]),L4]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:a},"\u5173\u95ED")])]))}});var O4=Y(M4,[["__scopeId","data-v-7f5a8953"]]);const N4=e=>(O("data-v-d60389d6"),e=e(),N(),e),q4={class:"actioner-container"},V4=N4(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),G4={class:"actioner-container_body"},j4={class:"actioner-container_footer"},R4=P({props:{onSetup:{type:Function,required:!0}},setup(e){const a=e,o=()=>{a.onSetup()},n=()=>T(this,null,function*(){if(p.value)return;p.value=!0;const u=F.Loading("\u5B89\u88C5\u4E2D...");try{if(yield ct.installApp("app-meta-ddnsto",30)){a.onSetup("ddnsto-login");return}else s.value="\u5B89\u88C5\u5931\u8D25"}catch(d){s.value=d}finally{u.Close()}p.value=!1}),s=y("\u6B63\u5728\u68C0\u6D4B\u4E2D..."),c=y(!1),p=y(!1);return(()=>T(this,null,function*(){try{const u=yield S.App.Check.POST({name:"ddnsto"});if(u!=null&&u.data){const{result:d,error:l}=u.data;if(l){s.value=l;return}if(d){if(d.status=="installed"){a.onSetup("ddnsto-login");return}d.status=="uninstalled"&&(s.value="\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5")}}}catch(u){s.value=u}c.value=!0}))(),(u,d)=>(i(),r("div",q4,[V4,t("div",G4,[t("span",null,h(s.value),1)]),t("div",j4,[c.value?(i(),r(L,{key:0},[t("div",{class:"close",onClick:o},"\u53D6\u6D88"),t("div",{class:"next",onClick:n},"\u786E\u5B9A")],64)):E("",!0)])]))}});var U4=Y(R4,[["__scopeId","data-v-d60389d6"]]);const W4=e=>(O("data-v-1e0ebd66"),e=e(),N(),e),H4={class:"actioner-container"},Z4=W4(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),J4={class:"actioner-container_body"},X4=P({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(e){const a=e,o=y("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8...");(u=>T(this,null,function*(){var d;try{const l=yield S.Guide.Ddnsto.POST({token:a.token});l!=null&&l.data&&(l.data.error&&(o.value=l.data.error),(((d=l==null?void 0:l.data)==null?void 0:d.success)||0)==0&&c())}catch(l){o.value=l}}))(a.token);const s=y(),c=()=>{const u=()=>T(this,null,function*(){if((yield p())===!0){m();return}s.value=window.setTimeout(u,2e3)});u()},p=()=>T(this,null,function*(){try{const u=yield S.App.Check.POST({name:"ddnsto",checkRunning:!0});if(u!=null&&u.data){u.data.error&&(o.value=u.data.error);const d=u.data.result;if((d==null?void 0:d.status)=="running")return!0}}catch(u){o.value=u}return!1});Gt(()=>{s.value&&clearInterval(s.value)});const m=()=>T(this,null,function*(){var u;try{const d=yield S.Guide.DdntoConfig.GET();if(d!=null&&d.data&&(d.data.error&&(o.value=d.data.error),(((u=d==null?void 0:d.data)==null?void 0:u.success)||0)==0&&d.data.result)){const l=d.data.result;a.onDdnstoLocalConfig(l.netAddr,l.deviceId),a.onSetup("ddnsto-bind")}}catch(d){o.value=d}});return(u,d)=>(i(),r("div",H4,[Z4,t("div",J4,h(o.value),1)]))}});var K4=Y(X4,[["__scopeId","data-v-1e0ebd66"]]);const Q4={class:"action-main"},tp=P({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(e){const a=e,o=y("ddnsto-install"),n=u=>{u!=null?o.value=u:s()},s=()=>{a.Close&&a.Close()},c=it({sign:"",token:"",domain:a.url,netaddr:"",routerId:""}),p=(u,d)=>{c.sign=u,c.token=d},m=(u,d)=>{c.netaddr=u,c.routerId=d};return(u,d)=>(i(),M(et,{type:1},{default:q(()=>[t("div",Q4,[o.value=="ddnsto-install"?(i(),M(U4,{key:0,onSetup:n})):o.value=="ddnsto-login"?(i(),M(x4,{key:1,onSetup:n,onDdnstoConfig:p})):o.value=="ddnsto-run"?(i(),M(K4,{key:2,onSetup:n,token:x(c).token,onDdnstoLocalConfig:m},null,8,["token"])):o.value=="ddnsto-bind"?(i(),M(D4,{key:3,onSetup:n,config:{token:x(c).token,sign:x(c).sign,domain:x(c).domain,netaddr:x(c).netaddr,routerId:x(c).routerId},domain:x(c).domain,"onUpdate:domain":d[0]||(d[0]=l=>x(c).domain=l)},null,8,["config","domain"])):o.value=="ddnsto-save"?(i(),M(O4,{key:4,onSetup:n,target:x(c).domain},null,8,["target"])):E("",!0)])]),_:1}))}});var ep=Y(tp,[["__scopeId","data-v-7a6bd385"]]);const ap=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ep,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},op={class:"action"},np={class:"action-header"},ip=["innerHTML"],rp={class:"action-footer"},sp=P({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String,default:"\u786E\u5B9A"},clearTitle:{type:String,default:"\u8FD4\u56DE"},continuerTitle:{type:String,default:"\u7EE7\u7EED\u4FDD\u5B58"},title:{type:String,default:"\u63D0\u793A"},content:{type:String}},setup(e){const a=e,o=()=>{a.next&&a.next(),a.Close&&a.Close()},n=()=>{a.clear&&a.clear(),a.Close&&a.Close()},s=()=>{a.continuer&&a.continuer(),a.Close&&a.Close()};return(c,p)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[t("div",op,[t("div",np,h(e.title),1),t("div",{class:"action-body",innerHTML:e.content},null,8,ip),t("div",rp,[e.clear?(i(),r("div",{key:0,class:"clear",onClick:n},h(e.clearTitle),1)):E("",!0),t("div",{class:"next",onClick:o},h(e.nextTitle),1),e.continuer?(i(),r("div",{key:1,class:"next",onClick:s},h(e.continuerTitle),1)):E("",!0)])])]),_:1},8,["Close"]))}});var dp=Y(sp,[["__scopeId","data-v-4358e88c"]]);const de=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(dp,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},rt=e=>(O("data-v-9435cfa6"),e=e(),N(),e),up={class:"actioner-container"},lp=["onSubmit"],cp=rt(()=>t("div",{class:"actioner-container_header"},[t("span",null,"\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),pp={key:0,class:"title_info"},fp=rt(()=>t("p",null," \u963F\u91CC\u4E91 ",-1)),mp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),vp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),bp=[fp,mp,vp],gp={key:1,class:"title_info"},_p=rt(()=>t("p",null," dnspod ",-1)),hp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),kp=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),xp=[_p,hp,kp],wp={key:2,class:"title_info"},yp=rt(()=>t("p",null," \u82B1\u751F\u58F3 ",-1)),Fp=rt(()=>t("span",null," \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D ",-1)),Ep=rt(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},"\u67E5\u770B\u6559\u7A0B>>",-1)),Cp=[yp,Fp,Ep],$p={class:"label-item"},Dp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u5730\u5740\u7248\u672C\uFF1A")],-1)),Bp={class:"label-item_value"},Yp=rt(()=>t("option",{value:"ipv4"},"IPv4\u5730\u5740",-1)),Ap=rt(()=>t("option",{value:"ipv6"},"IPv6\u5730\u5740",-1)),Sp=[Yp,Ap],zp=rt(()=>t("div",{class:"label_tips"},[t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])]),t("span",{class:"info"},"\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")],-1)),Pp={class:"label-item"},Tp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u57DF\u540D\uFF1A")],-1)),Ip={class:"label-item_value"},Lp={class:"label-item"},Mp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D\uFF1A")],-1)),Op={class:"label-item_value"},Np={class:"label-item"},qp=rt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801\uFF1A")],-1)),Vp={class:"label-item_value"},Gp={class:"actioner-container_footer"},jp=["disabled"],Rp=P({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(e,{emit:a}){const o=e,n=y("ipv4"),s=y(o.name),c=y(""),p=y(""),m=y(""),u=y(!1),d=()=>{o.onSetup("index")},l=()=>{u.value=!0;const b=F.Loading("\u68C0\u6D4B\u4E2D...");S.Network.CheckPublickNet.POST({ipVersion:n.value}).then(_=>{var w,k;if(_!=null&&_.data){if((w=_==null?void 0:_.data)!=null&&w.error){F.Warning(_==null?void 0:_.data.error);return}if((((k=_==null?void 0:_.data)==null?void 0:k.success)||0)==0){const C=_.data.result;C&&C.address?g():f();return}}throw"\u672A\u77E5\u9519\u8BEF"}).catch(_=>{F.Error(_)}).finally(()=>{b.Close(),u.value=!1})},f=()=>{de({title:"\u6E29\u99A8\u63D0\u793A",nextTitle:"\u4F7F\u7528DDNSTO",continuerTitle:"\u7EE7\u7EED\u4FDD\u5B58",content:"\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE",next(){v()},continuer(){g()},clear(){}})},v=()=>{o.onSetup("ddnsto")},g=()=>{u.value=!0;const b=F.Loading("\u914D\u7F6E\u4E2D...");S.Guide.PostDdns.POST({ipVersion:n.value,serviceName:s.value,domain:c.value,userName:p.value,password:m.value}).then(_=>{if(_!=null&&_.data){const{error:w,scope:k,success:C}=_.data;if(w=="-100"&&k=="guide.ddns"){de({title:"\u6E29\u99A8\u63D0\u793A",content:"\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED",next(){}});return}if(w){F.Warning(w);return}if((C||0)==0){a("update:target",c.value),o.onSetup("ddns-success");return}}throw"\u672A\u77E5\u9519\u8BEF"}).catch(_=>{F.Error(_)}).finally(()=>{b.Close(),u.value=!1})};return(b,_)=>(i(),r("div",up,[t("form",{class:"actioner-dns",onSubmit:nt(l,["prevent"])},[cp,t("div",{class:ot(["actioner-container_body",e.name])},[e.name=="ali"?(i(),r("div",pp,bp)):e.name=="dnspod"?(i(),r("div",gp,xp)):e.name=="oray"?(i(),r("div",wp,Cp)):E("",!0),t("div",$p,[Dp,t("div",Bp,[z(t("select",{name:"",id:"","onUpdate:modelValue":_[0]||(_[0]=w=>n.value=w)},Sp,512),[[Q,n.value]])]),zp]),t("div",Pp,[Tp,t("div",Ip,[z(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":_[1]||(_[1]=w=>c.value=w),required:""},null,512),[[H,c.value,void 0,{trim:!0}]])])]),t("div",Lp,[Mp,t("div",Op,[z(t("input",{type:"text","onUpdate:modelValue":_[2]||(_[2]=w=>p.value=w),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",required:""},null,512),[[H,p.value,void 0,{trim:!0}]])])]),t("div",Np,[qp,t("div",Vp,[z(t("input",{type:"password","onUpdate:modelValue":_[3]||(_[3]=w=>m.value=w),placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",required:""},null,512),[[H,m.value,void 0,{trim:!0}]])])])],2),t("div",Gp,[t("div",{class:"close",onClick:d,type:"button"},"\u8FD4\u56DE"),t("button",{class:"next save",type:"submit",disabled:u.value},"\u4FDD\u5B58",8,jp)])],40,lp)]))}});var ye=Y(Rp,[["__scopeId","data-v-9435cfa6"]]);const Up={class:"action-main"},Wp=P({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(e){const a=e,o=y(""),n=y("index"),s=u=>{if(u!=null){if(u=="ddnsto"){c();return}n.value=u}else p()},c=()=>{p(),ap({url:a.url})},p=()=>{a.Close&&a.Close()},m=y("ddnsto");return(u,d)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[t("div",Up,[n.value=="index"?(i(),M(i4,{key:0,onSetup:s,active:m.value,"onUpdate:active":d[0]||(d[0]=l=>m.value=l)},null,8,["active"])):n.value=="ddns-ali"?(i(),M(ye,{key:1,onSetup:s,target:o.value,"onUpdate:target":d[1]||(d[1]=l=>o.value=l),name:"ali"},null,8,["target"])):n.value=="ddns-dnspod"?(i(),M(ye,{key:2,onSetup:s,target:o.value,"onUpdate:target":d[2]||(d[2]=l=>o.value=l),name:"dnspod"},null,8,["target"])):n.value=="ddns-oray"?(i(),M(ye,{key:3,onSetup:s,target:o.value,"onUpdate:target":d[3]||(d[3]=l=>o.value=l),name:"oray"},null,8,["target"])):n.value=="ddns-success"?(i(),M(b4,{key:4,onSetup:s,target:o.value},null,8,["target"])):E("",!0)])]),_:1},8,["Close"]))}});var Hp=Y(Wp,[["__scopeId","data-v-6f1d92d9"]]);const Zp=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(Hp,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},Ot=e=>(O("data-v-1e47a06d"),e=e(),N(),e),Jp={class:"app-container"},Xp={class:"app-container_title"},Kp=Ot(()=>t("span",null,"\u8FDC\u7A0B\u57DF\u540D",-1)),Qp={class:"app-container_domain"},t7={class:"domain-item"},e7=Ot(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO\uFF1A")],-1)),a7={class:"domain-item_value"},o7=["href","title"],n7={key:1,class:"configure"},i7=Ot(()=>t("a",{class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},"\u63A7\u5236\u53F0",-1)),r7={key:0,class:"domain-item"},s7=Ot(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4\uFF1A")],-1)),d7={class:"domain-item_value"},u7={key:0},l7=["href"],c7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},p7=Ot(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),f7=[p7],m7={key:1,class:"domain-item"},v7=Ot(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6\uFF1A")],-1)),b7={class:"domain-item_value"},g7={key:0},_7=["href"],h7={key:2,href:"/cgi-bin/luci/admin/services/ddns"},k7=Ot(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),x7=[k7],w7=P({setup(e){let a=!1,o;const n=y({}),s=function(){!a||(document.hidden?Promise.resolve():S.Guide.GetDdns.GET().then(u=>{var d;u!=null&&u.data&&(((d=u==null?void 0:u.data)==null?void 0:d.success)||0)==0&&u.data.result&&(n.value=u.data.result)})).then(()=>{!a||(o=window.setTimeout(s,3e3))})};yt(()=>{a=!0,o=window.setTimeout(s,1100)}),Gt(()=>{o!==void 0&&window.clearTimeout(o),a=!1});const c=()=>{Zp({url:n.value.ddnstoDomain})},p=j(()=>{const u=n.value.ipv4Domain;return!u||u=="Stopped"||u=="Disabled"?u:`http://${u}`}),m=j(()=>{const u=n.value.ipv6Domain;return!u||u=="Stopped"||u=="Disabled"?u:`http://${u}`});return(u,d)=>{var f,v,g,b;const l=J("GlHelp");return i(),r("div",Jp,[t("div",Xp,[t("span",null,[Kp,D(l,{type:"ddns"})]),t("div",{class:"app-container_tool"},[t("div",{class:"app-container_configure",onClick:c},"\u5FEB\u901F\u914D\u7F6E")])]),t("ul",Qp,[t("li",t7,[e7,t("div",a7,[(f=n.value)!=null&&f.ddnstoDomain?(i(),r("a",{key:0,class:"configure",href:(v=n.value)==null?void 0:v.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(g=n.value)==null?void 0:g.ddnstoDomain},h((b=n.value)==null?void 0:b.ddnstoDomain),9,o7)):(i(),r("span",n7,"\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),i7])]),x(p)?(i(),r("li",r7,[s7,t("div",d7,[x(p)=="Stopped"||x(p)=="Disabled"?(i(),r("span",u7,h(x(p)),1)):(i(),r("a",{key:1,class:"configure",href:x(p),target:"_blank",rel:"noopener noreferrer"},h(x(p)),9,l7)),x(p)?(i(),r("a",c7,f7)):E("",!0)])])):E("",!0),x(m)?(i(),r("li",m7,[v7,t("div",b7,[x(m)=="Stopped"||x(m)=="Disabled"?(i(),r("span",g7,h(x(m)),1)):(i(),r("a",{key:1,class:"configure",href:x(m),target:"_blank",rel:"noopener noreferrer"},h(x(m)),9,_7)),x(m)?(i(),r("a",h7,x7)):E("",!0)])])):E("",!0)])])}}});var y7=Y(w7,[["__scopeId","data-v-1e47a06d"]]);const F7={class:"nas-container"},E7={class:"nas-container_card"},C7={class:"nas-container_card"},$7={key:0,class:"nas-container_card"},D7={class:"nas-container_card"},B7={class:"nas-container_card"},Y7=P({setup(e){return(a,o)=>(i(),r("div",F7,[t("div",E7,[D(ec)]),t("div",C7,[D(V2)]),x(qt)("dockerd")?(i(),r("div",$7,[D(d5)])):E("",!0),t("div",D7,[D(V8)]),t("div",B7,[D(y7)])]))}});var A7=Y(Y7,[["__scopeId","data-v-66cc4e33"]]);const _t=e=>(O("data-v-4c08c4d6"),e=e(),N(),e),S7={class:"app-container"},z7={class:"app-container_title"},P7=_t(()=>t("span",null,"\u7CFB\u7EDF\u4FE1\u606F",-1)),T7={class:"more_icon",title:"\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F"},I7={class:"DeviceBlock"},L7=_t(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/system/flash"},"\u5907\u4EFD\u5347\u7EA7")],-1)),M7=_t(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/store/pages/maintance"},"\u63D2\u4EF6\u5907\u4EFD")],-1)),O7={class:"item-label"},N7=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u6E29\u5EA6")],-1)),q7={class:"item-label_value"},V7={class:"item-label"},G7=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u4F7F\u7528\u7387")],-1)),j7={class:"item-label_value"},R7={class:"item-label"},U7=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u5B58\u4F7F\u7528\u7387")],-1)),W7={class:"item-label_value"},H7={class:"item-label"},Z7=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"\u8BBE\u5907\u578B\u53F7")],-1)),J7={class:"item-label_value"},X7={class:"item-label"},K7=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"\u56FA\u4EF6\u7248\u672C")],-1)),Q7={class:"item-label_value"},tf={class:"item-label"},ef=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u6838\u7248\u672C")],-1)),af={class:"item-label_value"},of={class:"item-label"},nf=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5DF2\u542F\u52A8")],-1)),rf={class:"item-label_value"},sf={class:"item-label"},df=_t(()=>t("div",{class:"item-label_key"},[t("span",null,"\u7CFB\u7EDF\u65F6\u95F4")],-1)),uf={class:"item-label_value"},lf=P({setup(e){const a=Ce(),o=j(()=>a.version),n=j(()=>a.systemStatus),s=y(!1),c=j(()=>{var f;return((f=n.value)==null?void 0:f.cpuUsage)||0}),p=j(()=>{var f;return((f=n.value)==null?void 0:f.cpuTemperature)||0}),m=j(()=>{var v;const f=((v=n.value)==null?void 0:v.memAvailablePercentage)||100;return 100-f}),u=wt.stampForm;yt(()=>{});const d=()=>{s.value=!s.value},l=()=>{d(),ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(f,v)=>{var b,_,w,k,C;const g=J("progress-item");return i(),r("div",S7,[t("div",z7,[P7,t("span",T7,[D($t,{onClick:d})]),z(t("div",I7,[t("div",{class:"menu_background",onClick:d}),t("ul",null,[t("li",null,[t("a",{onClick:l},"\u7CFB\u7EDF\u76D1\u63A7")]),L7,M7])],512),[[xt,s.value]])]),t("div",O7,[N7,t("div",q7,[D(g,{value:x(p)/1.5,text:`${x(p)}\u2103`},null,8,["value","text"])])]),t("div",V7,[G7,t("div",j7,[D(g,{value:x(c),text:`${x(c)}%`},null,8,["value","text"])])]),t("div",R7,[U7,t("div",W7,[D(g,{value:x(m),text:`${x(m)}%`},null,8,["value","text"])])]),t("div",H7,[Z7,t("div",J7,[t("span",null,h((b=x(o))==null?void 0:b.model),1)])]),t("div",X7,[K7,t("div",Q7,[t("span",null,h((_=x(o))==null?void 0:_.firmwareVersion),1)])]),t("div",tf,[ef,t("div",af,[t("span",null,h((w=x(o))==null?void 0:w.kernelVersion),1)])]),t("div",of,[nf,t("div",rf,[t("span",null,h(x(u)((k=x(n))==null?void 0:k.uptime)),1)])]),t("div",sf,[df,t("div",uf,[t("span",null,h((C=x(n))==null?void 0:C.localtime),1)])])])}}});var cf=Y(lf,[["__scopeId","data-v-4c08c4d6"]]);const va=/\d+\.\d+\.\d+\.\d+/,pf=e=>va.test(e)&&te.IPv4.isValid(e),Ct=e=>{const a=te.IPv4.parse(e).toByteArray();return a[0]<<24|a[1]<<16|a[2]<<8|a[3]},He=e=>te.fromByteArray([e>>24&255,e>>16&255,e>>8&255,e&255]).toString(),ff=e=>{if(!va.test(e)||!te.IPv4.isIPv4(e))return!1;let a=0,o=Ct(e);for(let n=31;n>=0&&(o&1<{let s=Ct(e)&Ct(a),c=Ct(o),p=Ct(n),u=~Ct(a);return cs+1&&p{let o=Ct(a),n=Ct(e)&o,s=~o,c;return s>=105?(c=n|s-5,n=n|100):s>=3?(c=n|s-1,n=n|2):(n=n|1,c=n),[He(n),He(c)]},bf=e=>te.IPv4.subnetMaskFromPrefixLength(e).toString();var ht={isValidMask:ff,isValidIPv4:pf,isValidMaskRange:mf,calcMaskRange:vf,prefixToMask:bf};const ft=e=>(O("data-v-9cffddcc"),e=e(),N(),e),gf=["onSubmit"],_f=ft(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u5185\u7F51\u914D\u7F6E")],-1)),hf={class:"actioner-dns_body"},kf={class:"label-item"},xf=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5730\u5740")],-1)),wf={class:"label-item_value"},yf={class:"label-item"},Ff=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5B50\u7F51\u63A9\u7801")],-1)),Ef={class:"label-item_value"},Cf={key:0,class:"chose_dhcp"},$f={key:0,class:"dhcp_info"},Df={key:1,class:"dhcp_info"},Bf={class:"label-item"},Yf=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u8D77\u59CB\u5730\u5740")],-1)),Af={class:"label-item_value"},Sf={class:"label-item"},zf=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u7ED3\u675F\u5730\u5740")],-1)),Pf={class:"label-item_value"},Tf={class:"actioner-dns_footer"},If=["disabled"],Lf={key:1,class:"actioner-dns"},Mf=ft(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u66F4\u6362\u914D\u7F6E")],-1)),Of={class:"actioner-dns_body"},Nf={key:0,class:"setting_status"},qf=ft(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),Vf=ft(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u6210\u529F",-1)),Gf=["href"],jf={key:1,class:"setting_status"},Rf=ft(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),Uf=ft(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u5931\u8D25",-1)),Wf=ft(()=>t("p",null,"\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E",-1)),Hf={key:2,class:"setting_status"},Zf=ft(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),Jf=ft(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u8D85\u65F6",-1)),Xf=ft(()=>t("p",null,"\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002",-1)),Kf=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});y("");const s=y(!1);y(!0),y(!1);const c=y(""),p=y(2),m=y(!1),u=y("timeout");let d=!0;(()=>{S.Guide.GetLan.GET().then(_=>{_.data.result&&(m.value=_.data.result.enableDhcp||!1,_.data.result.enableDhcp=!1,n.value=_.data.result,_.data.result.lanIp!==location.hostname&&(d=!1))})})();const f=()=>{const _=n.value;if(!ht.isValidIPv4(_.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!ht.isValidMask(_.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}const w=ht.calcMaskRange(_.lanIp,_.netMask);_.dhcpStart=w[0],_.dhcpEnd=w[1],n.value=_},v=()=>{const _=n.value;if(!ht.isValidIPv4(_.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!ht.isValidMask(_.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}if(_.enableDhcp&&!(ht.isValidIPv4(_.dhcpStart)&&ht.isValidIPv4(_.dhcpEnd)&&ht.isValidMaskRange(_.lanIp,_.netMask,_.dhcpStart,_.dhcpEnd))){F.Warning("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4");return}const w=F.Loading("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49",30);let k=0;const C=$=>{u.value=$,o.value=1,k=1,w.Close()},A=()=>{const $=new Date().getTime()+3e4,B=d?location.protocol+"//"+_.lanIp+(location.port?":"+location.port:""):location.origin,V=B+"/luci-static/resources/icons/loading.gif",W=()=>{k==0&&(new Date().getTime()>$?C("timeout"):window.setTimeout(X,2e3))},U=()=>{k==0&&(c.value=B+location.pathname,C("success"),window.setTimeout(()=>{p.value=1},1e3),window.setTimeout(()=>{location.href=c.value},2e3))},X=()=>{if(k!=0)return;console.log("check online ",V);const Et=new Image;Et.onload=U,Et.onerror=W,Et.src=V};window.setTimeout(X,5e3)};S.Guide.LanIp.POST(_).then($=>{var B;if($!=null&&$.data){if(($.data.success||0)==0)return;if((B=$.data)!=null&&B.error)throw $.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch($=>{k==0&&(C("fail"),F.Error($))}),A(),window.setTimeout(()=>{k==0&&C("timeout")},3e4)},g=_=>{_.preventDefault(),a.Close&&a.Close()},b=_=>{location.reload()};return(_,w)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(v,["prevent"])},[_f,t("div",hf,[t("div",kf,[xf,t("div",wf,[z(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":w[0]||(w[0]=k=>n.value.lanIp=k),onChange:f},null,544),[[H,n.value.lanIp,void 0,{trim:!0}]])])]),t("div",yf,[Ff,t("div",Ef,[z(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":w[1]||(w[1]=k=>n.value.netMask=k),onChange:f},null,544),[[H,n.value.netMask,void 0,{trim:!0}]])])]),m.value?(i(),r("div",Cf,[D(ea,{modelValue:n.value.enableDhcp,"onUpdate:modelValue":w[2]||(w[2]=k=>n.value.enableDhcp=k)},{default:q(()=>[n.value.enableDhcp?(i(),r("span",$f,"\u4FEE\u6539DHCP\u670D\u52A1")):(i(),r("span",Df,"\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E"))]),_:1},8,["modelValue"])])):E("",!0),n.value.enableDhcp?(i(),r(L,{key:1},[t("div",Bf,[Yf,t("div",Af,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":w[3]||(w[3]=k=>n.value.dhcpStart=k)},null,512),[[H,n.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",Sf,[zf,t("div",Pf,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":w[4]||(w[4]=k=>n.value.dhcpEnd=k)},null,512),[[H,n.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):E("",!0)]),t("div",Tf,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value},"\u786E\u8BA4",8,If),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u53D6\u6D88")])],40,gf)):o.value==1?(i(),r("div",Lf,[Mf,t("div",Of,[u.value=="success"?(i(),r("div",Nf,[qf,Vf,t("a",{href:c.value,class:"NewAdress"},h(p.value)+"s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",9,Gf)])):u.value=="fail"?(i(),r("div",jf,[Rf,Uf,Wf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},"\u6211\u77E5\u9053\u4E86")])):u.value=="timeout"?(i(),r("div",Hf,[Zf,Jf,Xf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},"\u5237\u65B0\u9875\u9762")])):E("",!0)])])):E("",!0)]),_:1},8,["Close"]))}});var Qf=Y(Kf,[["__scopeId","data-v-9cffddcc"]]);const tm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Qf,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},vt=e=>(O("data-v-0384f3ac"),e=e(),N(),e),em={key:0,class:"actioner-dns"},am=vt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),om={class:"actioner-dns_body"},nm=vt(()=>t("p",{class:"sandbox_info"},"\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4Docker\u548C\u786C\u76D8\u7684\u6570\u636E",-1)),im={key:0,class:"disk_loading_icon"},rm=vt(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u52A0\u8F7D\u4E2D...",-1)),sm={key:1,class:"disk_tips"},dm=vt(()=>t("span",null,"\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378",-1)),um={class:"label-item"},lm=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")],-1)),cm={class:"label-item_value"},pm=vt(()=>t("option",{value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8",-1)),fm=["value"],mm={class:"label-item"},vm=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")],-1)),bm={class:"label-item_value"},gm=vt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A",-1)),_m=["value","disabled"],hm={class:"sandbox_tips"},km=vt(()=>t("span",null,"\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E",-1)),xm={class:"sandbox_info timeout"},wm=R("\u5373\u5C06\u91CD\u542F\u8BBE\u5907 "),ym=vt(()=>t("p",{class:"sandbox_roboot_tips"},[R("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E"),t("span",{class:"sandbox_roboot_refresh"},"\u8BF7\u5237\u65B0\u754C\u9762")],-1)),Fm={key:0,class:"actioner-dns_footer"},Em=["disabled"],Cm={key:1,class:"actioner-tips"},$m=vt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u6E29\u99A8\u63D0\u793A")],-1)),Dm=vt(()=>t("div",{class:"actioner-tips_body"},[t("p",{class:"sandbox_info"},"\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")],-1)),Bm={key:2,class:"actioner-tips"},Ym=vt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u9519\u8BEF")],-1)),Am={class:"actioner-tips_body"},Sm={class:"sandbox_info"},zm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0);y("disk");const n=y(""),s=y(3),c=y(""),p=y([]),m=y(""),u=y(null);(()=>{S.Nas.SandboxDisks.GET().then(k=>{var C;if(k!=null&&k.data&&(C=k.data)!=null&&C.result){u.value=k.data.result;return}throw"\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25"}).catch(k=>{n.value=k,o.value=3})})();const l=()=>S.System.Reboot.POST({name:c.value,path:m.value}).then(k=>{var C;if(!(k!=null&&k.data&&(((C=k==null?void 0:k.data)==null?void 0:C.success)||0)==0))throw"\u672A\u77E5\u9519\u8BEF"}),f=k=>{var C,A;m.value="",p.value=c.value&&((A=(C=u.value)==null?void 0:C.disks.find($=>$.path==c.value))==null?void 0:A.childrens)||[]},v=()=>{s.value>0&&(s.value-=1,window.setTimeout(v,1e3))},g=k=>{k.preventDefault(),a.Close&&a.Close()},b=()=>{new Promise((k,C)=>{const A="/luci-static/resources/icons/loading.gif",$=()=>{window.setTimeout(B,2e3)},B=()=>{const V=new Image;V.onload=k,V.onerror=$,V.src=A};window.setTimeout(B,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},_=k=>{const C=F.Loading("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D...");S.Nas.Sandbox.POST({path:m.value}).then(A=>{var $;if(A!=null&&A.data){if((A.data.success||0)==0)return o.value=2,window.setTimeout(v,1e3),l();if(($=A.data)!=null&&$.error)throw A.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).then(b).catch(A=>F.Warning(A)).finally(()=>C.Close())},w=()=>{o.value=0};return(k,C)=>{const A=J("icon-loading");return i(),M(et,{Close:e.Close,type:1},{default:q(()=>[o.value==0||o.value==2?(i(),r("div",em,[am,t("div",om,[nm,o.value==0?(i(),r(L,{key:0},[u.value?E("",!0):(i(),r("div",im,[D(A,{size:38,color:"currentColor"}),rm])),u.value&&u.value.disks.length==0?(i(),r("div",sm,[D(gt),dm])):E("",!0),u.value&&u.value.disks.length>0?(i(),r(L,{key:2},[t("div",um,[lm,t("div",cm,[z(t("select",{name:"",id:"",onChange:f,"onUpdate:modelValue":C[0]||(C[0]=$=>c.value=$)},[pm,(i(!0),r(L,null,G(u.value.disks,($,B)=>(i(),r("option",{value:$.path,key:B},h($.venderModel)+"\uFF08"+h($.size)+"\uFF09 ",9,fm))),128))],544),[[Q,c.value]])])]),t("div",mm,[vm,t("div",bm,[z(t("select",{name:"",id:"","onUpdate:modelValue":C[1]||(C[1]=$=>m.value=$)},[gm,(i(!0),r(L,null,G(p.value,($,B)=>(i(),r("option",{value:$.path,key:B,disabled:$.sizeInt<(1<<30)*1||$.isSystemRoot},h($.name)+"\uFF08"+h($.filesystem||"\u672A\u683C\u5F0F\u5316")+"\uFF09"+h($.total),9,_m))),128))],512),[[Q,m.value]])])]),t("div",hm,[D(gt),km])],64)):E("",!0)],64)):E("",!0),o.value==2?(i(),r(L,{key:1},[t("p",xm,[wm,t("span",null,"\uFF08"+h(s.value)+"s\uFF09",1)]),ym],64)):E("",!0)]),o.value==0?(i(),r("div",Fm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!m.value,onClick:C[2]||(C[2]=$=>o.value=1)},"\u5F00\u542F\u6C99\u7BB1",8,Em),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u53D6\u6D88")])):E("",!0)])):E("",!0),o.value==1?(i(),r("div",Cm,[$m,Dm,t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:_},"\u7EE7\u7EED"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},"\u53D6\u6D88")])])):E("",!0),o.value==3?(i(),r("div",Bm,[Ym,t("div",Am,[t("p",Sm,h(n.value),1)]),t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"])}}});var Pm=Y(zm,[["__scopeId","data-v-0384f3ac"]]);const Tm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Pm,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},ba=e=>(O("data-v-4db2efb4"),e=e(),N(),e),Im={key:0,class:"actioner-dns"},Lm=ba(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),Mm=ba(()=>t("div",{class:"actioner-dns_body"},[t("p",{class:"sandbox_info"},"\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E"),t("div",{class:"sandbox_environment"},[t("p",null,"\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A"),t("p",null,"1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883"),t("p",null,"2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001"),t("p",null,"3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")]),t("div",{class:"sandbox_environment_info"},[R("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981"),t("span",{class:"sandbox_environment_reboot"},"\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740"),t("p",{class:"sandbox_environment_tex"},[R(" \u5982\u9700"),t("b",null,"\u4E34\u65F6"),R("\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002"),t("br"),R(" \u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548 ")])])],-1)),Om={class:"actioner-dns_footer"},Nm=["disabled"],qm=["disabled"],Vm=["disabled"],Gm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(!1),s=()=>{new Promise((d,l)=>{const f="/luci-static/resources/icons/loading.gif",v=()=>{window.setTimeout(g,2e3)},g=()=>{const b=new Image;b.onload=d,b.onerror=v,b.src=f};window.setTimeout(g,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},c=()=>{n.value=!0;const d=F.Loading("\u63D0\u4EA4\u4E2D...");S.Nas.SandboxCommit.POST().then(l=>{var f,v;if(l!=null&&l.data)if((((f=l==null?void 0:l.data)==null?void 0:f.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D...");return}else(v=l==null?void 0:l.data)!=null&&v.error&&alert(l.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(l=>{F.Error(l),n.value=!1}).finally(()=>d.Close())},p=()=>{n.value=!0;const d=F.Loading("\u91CD\u7F6E\u4E2D...");S.Nas.SandboxReset.POST().then(l=>{var f,v;if(l!=null&&l.data)if((((f=l==null?void 0:l.data)==null?void 0:f.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740");return}else(v=l==null?void 0:l.data)!=null&&v.error&&alert(l.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(l=>{F.Error(l),n.value=!1}).finally(()=>d.Close())},m=()=>{if(!confirm("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A"))return;n.value=!0;const d=F.Loading("\u6267\u884C\u4E2D...");S.Nas.SandboxExit.POST().then(l=>{var f,v;if(l!=null&&l.data)if((((f=l==null?void 0:l.data)==null?void 0:f.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740");return}else(v=l==null?void 0:l.data)!=null&&v.error&&alert(l.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(l=>{F.Error(l),n.value=!1}).finally(()=>d.Close())},u=d=>{d.preventDefault(),a.Close&&a.Close()};return(d,l)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[o.value==0?(i(),r("div",Im,[Lm,Mm,t("div",Om,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:c,disabled:n.value},"\u63D0\u4EA4",8,Nm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:n.value},"\u91CD\u7F6E",8,qm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:m,disabled:n.value},"\u9000\u51FA",8,Vm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:u},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"]))}});var jm=Y(Gm,[["__scopeId","data-v-4db2efb4"]]);const Rm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(jm,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},Um={class:"nav-container"},Wm=["onClick"],Hm={key:1,class:"btn_styles color3 app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},Zm=R(" \u56FA\u4EF6\u66F4\u65B0 "),Jm={key:0,style:{display:"inline-block"}},Xm={key:1},Km=["disabled"],Qm=R(" DNS\u914D\u7F6E "),t9={key:0,style:{display:"inline-block"}},e9=P({setup(e){const a=Ce(),o=le(),n=j(()=>o.status);y(!1),y(!0);const s=y(),c=()=>{oa()},p=()=>{Tm()},m=()=>{Rm()},u=()=>{alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F")},d=()=>{tm()},l=()=>{ra()},f=()=>{var v,g,b,_;window.open(`${(g=(v=window.quickstart_configs)==null?void 0:v.ttyd)!=null&&g.ssl?"https":"http"}://${window.location.hostname}:${((_=(b=window.quickstart_configs)==null?void 0:b.ttyd)==null?void 0:_.port)||7681}/`,"_blank")};return qt("sandbox")&&S.Nas.GetSandbox.GET().then(g=>{var b,_,w;g!=null&&g.data&&((((b=g==null?void 0:g.data)==null?void 0:b.success)||0)==0?(_=g==null?void 0:g.data)!=null&&_.result&&(s.value=g.data.result):(w=g==null?void 0:g.data)!=null&&w.error&&alert(g.data.error))}).catch(g=>F.Warning(g)),(v,g)=>{var w,k,C,A,$,B;const b=J("router-link"),_=J("icon-loading");return i(),r("div",Um,[D(b,{to:"/network",custom:""},{default:q(({navigate:V})=>[t("button",{class:"btn_styles color1",onClick:V},"\u7F51\u7EDC\u5411\u5BFC",8,Wm)]),_:1}),x(qt)("ttyd")?(i(),r("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:f},"\u7EC8\u7AEF")):E("",!0),x(qt)("ota")?(i(),r("button",Hm,[Zm,x(a).checkUpdate==null?(i(),r("span",Jm,[D(_,{size:"0.8em",color:"currentColor"})])):(w=x(a).checkUpdate)!=null&&w.needUpdate?(i(),r("i",Xm)):E("",!0)])):E("",!0),t("button",{class:"btn_styles color4",onClick:d},"\u5185\u7F51\u914D\u7F6E"),t("button",{class:"btn_styles color5",onClick:c,disabled:!((k=x(n))!=null&&k.proto)},[Qm,(C=x(n))!=null&&C.proto?E("",!0):(i(),r("span",t9,[D(_,{size:"0.8em",color:"currentColor"})]))],8,Km),t("button",{class:"btn_styles color1",onClick:l},"\u8F6F\u4EF6\u6E90\u914D\u7F6E"),x(qt)("sandbox")?(i(),r(L,{key:2},[((A=s.value)==null?void 0:A.status)=="unsupport"?(i(),r("button",{key:0,class:"btn_styles color2",onClick:u},"\u5F00\u542F\u6C99\u7BB1")):(($=s.value)==null?void 0:$.status)=="stopped"?(i(),r("button",{key:1,class:"btn_styles color3",onClick:p},"\u5F00\u542F\u6C99\u7BB1")):((B=s.value)==null?void 0:B.status)=="running"?(i(),r("button",{key:2,class:"btn_styles color4",onClick:m},"\u6C99\u7BB1\u5DF2\u5F00\u542F")):E("",!0)],64)):E("",!0)])}}});var a9=Y(e9,[["__scopeId","data-v-0d223b54"]]);const _e=e=>(O("data-v-d324f700"),e=e(),N(),e),o9={id:"page"},n9=_e(()=>t("div",{style:{height:"48px","text-align":"right"}},[t("a",{onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},"iStoreOS\u5B98\u7F51")],-1)),i9=_e(()=>t("em",null,null,-1)),r9=_e(()=>t("em",null,null,-1)),s9=_e(()=>t("em",null,null,-1)),d9=P({setup(e){return to(),(a,o)=>(i(),r("div",o9,[n9,D(a0),i9,D(a9),D(A7),r9,D(cf),s9]))}});var u9=Y(d9,[["__scopeId","data-v-d324f700"]]);const l9={};function c9(e,a){const o=J("router-view");return i(),M(o)}var p9=Y(l9,[["render",c9]]);const f9={},m9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},v9=It('icon_router',3),b9=[v9];function g9(e,a){return i(),r("svg",m9,b9)}var _9=Y(f9,[["render",g9]]);const h9={},k9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},x9=It('icon_dial',3),w9=[x9];function y9(e,a){return i(),r("svg",k9,w9)}var F9=Y(h9,[["render",y9]]);const E9={},C9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},$9=It('icon_side router',3),D9=[$9];function B9(e,a){return i(),r("svg",C9,D9)}var Y9=Y(E9,[["render",B9]]);const Wt=e=>(O("data-v-082ffcaf"),e=e(),N(),e),A9={id:"page"},S9=Wt(()=>t("div",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC",-1)),z9=Wt(()=>t("div",{class:"desc"},"\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB",-1)),P9={class:"network-containers"},T9={class:"network-container_item"},I9={class:"cover"},L9={class:"thumbnail"},M9=Wt(()=>t("span",null,"\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5",-1)),O9={class:"network-container_item"},N9={class:"cover"},q9={class:"thumbnail"},V9=Wt(()=>t("span",null,"\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668",-1)),G9={class:"network-container_item"},j9={class:"cover"},R9={class:"thumbnail"},U9=Wt(()=>t("span",null,"\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531",-1)),W9=Wt(()=>t("div",{class:"info"},[R(" \u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528 "),t("a",{href:"/cgi-bin/luci/admin/network/network"},"\u9AD8\u7EA7\u6A21\u5F0F")],-1)),H9=P({setup(e){return(a,o)=>{const n=J("router-link");return i(),r("div",A9,[S9,z9,t("div",P9,[t("div",T9,[D(n,{to:"/network/pppoe"},{default:q(()=>[t("div",I9,[t("div",L9,[D(F9),M9])])]),_:1})]),t("div",O9,[D(n,{to:"/network/dhcp"},{default:q(()=>[t("div",N9,[t("div",q9,[D(_9),V9])])]),_:1})]),t("div",G9,[D(n,{to:"/network/gateway"},{default:q(()=>[t("div",j9,[t("div",R9,[D(Y9),U9])])]),_:1})])]),W9])}}});var Z9=Y(H9,[["__scopeId","data-v-082ffcaf"]]);const At=e=>(O("data-v-16746f19"),e=e(),N(),e),J9={key:0,id:"page"},X9=At(()=>t("h2",{class:"title"},"\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7",-1)),K9=At(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B",-1)),Q9={class:"network-message"},tv={key:0},ev=R(" \u56E0\u4E3A\u60A8\u7684\u8BBE\u5907"),av=At(()=>t("span",null,"\u6CA1\u6709 WAN \u53E3",-1)),ov=R("\uFF0C\u65E0\u6CD5\u8D70\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B "),nv=At(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/question.html#%E7%BD%91%E7%BB%9C",target:"_blank",rel:"noopener noreferrer"},"\u94FE\u63A5",-1)),iv=[ev,av,ov,nv],rv=["onSubmit"],sv=At(()=>t("div",{class:"label-key"},[t("span",null,"\u5BBD\u5E26\u8D26\u53F7")],-1)),dv=["disabled"],uv=At(()=>t("div",{class:"label-key"},[t("span",null,"\u5BC6\u7801")],-1)),lv=["disabled"],cv={key:0,class:"chose_dhcp"},pv=At(()=>t("span",{class:"dhcp_info"},"\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09",-1)),fv={key:1,class:"msg"},mv={class:"btns"},vv=["disabled"],bv=["onClick"],gv={key:1,id:"page"},_v=At(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),hv={class:"btns"},kv=["onClick"],xv=["onClick"],wv=P({setup(e){const a=y(0),o=y({}),n=y(""),s=y(!1),c=y(0),p=y(!1);(()=>T(this,null,function*(){var d,l;s.value=!0;try{const f=yield Promise.all([S.Guide.Pppoe.GET(),S.Guide.GetLan.GET()]);if(f[0].data){const{success:v,error:g,result:b}=f[0].data;b&&(b.enableLanDhcp=!1,o.value=b),v==-1011&&(s.value=!0,c.value=v)}(d=f[1].data)!=null&&d.result&&(((l=f[1].data)==null?void 0:l.result).enableDhcp||(p.value=!0,o.value.enableLanDhcp=!0))}catch(f){n.value=f}c.value==0&&(s.value=!1)}))();const u=()=>T(this,null,function*(){const d=o.value.account||"",l=o.value.password||"";if(d==""){n.value="\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A";return}if(l==""){n.value="\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A";return}s.value=!0;const f=F.Loading("\u914D\u7F6E\u4E2D...");try{const v=yield S.Guide.Pppoe.POST({account:d,password:l});if(v!=null&&v.data){const{error:g,success:b}=v.data;g&&(n.value=g),(b==null||b==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),a.value=1)}}catch(v){n.value=v}s.value=!1,f.Close()});return(d,l)=>{const f=J("switch-box"),v=J("router-link");return a.value==0?(i(),r("div",J9,[X9,K9,t("div",Q9,[c.value==-1011?(i(),r("li",tv,iv)):E("",!0)]),t("form",{onSubmit:nt(u,["prevent"])},[t("label",null,[sv,z(t("input",{type:"text","onUpdate:modelValue":l[0]||(l[0]=g=>o.value.account=g),placeholder:"\u5BBD\u5E26\u8D26\u53F7",required:"",disabled:s.value},null,8,dv),[[H,o.value.account,void 0,{trim:!0}]])]),t("label",null,[uv,z(t("input",{type:"password","onUpdate:modelValue":l[1]||(l[1]=g=>o.value.password=g),placeholder:"\u5BBD\u5E26\u5BC6\u7801",required:"",disabled:s.value},null,8,lv),[[H,o.value.password,void 0,{trim:!0}]])]),p.value?(i(),r("div",cv,[D(f,{modelValue:o.value.enableLanDhcp,"onUpdate:modelValue":l[2]||(l[2]=g=>o.value.enableLanDhcp=g)},{default:q(()=>[pv]),_:1},8,["modelValue"])])):E("",!0),n.value?(i(),r("div",fv,h(n.value),1)):E("",!0),t("div",mv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:s.value},"\u4FDD\u5B58\u914D\u7F6E",8,vv),D(v,{to:"/network",custom:""},{default:q(({navigate:g})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u8FD4\u56DE",8,bv)]),_:1})])],40,rv)])):a.value==1?(i(),r("div",gv,[_v,t("div",hv,[D(v,{to:"/",custom:""},{default:q(({navigate:g})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:g},"\u8FDB\u5165\u63A7\u5236\u53F0",8,kv)]),_:1}),D(v,{to:"/network",custom:""},{default:q(({navigate:g})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u8FD4\u56DE",8,xv)]),_:1})])])):E("",!0)}}});var yv=Y(wv,[["__scopeId","data-v-16746f19"]]);const st=e=>(O("data-v-0d3a64fa"),e=e(),N(),e),Fv={key:0,id:"page"},Ev=st(()=>t("h2",{class:"title"},"\u914D\u7F6E\u4E92\u8054\u7F51",-1)),Cv=st(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3",-1)),$v={class:"network-message"},Dv={key:0},Bv=R(" \u56E0\u4E3A\u60A8\u7684\u8BBE\u5907"),Yv=st(()=>t("span",null,"\u6CA1\u6709 WAN \u53E3",-1)),Av=R("\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B "),Sv=st(()=>t("a",{href:"https://doc.linkease.com/zh/guide/istoreos/question.html#%E7%BD%91%E7%BB%9C",target:"_blank",rel:"noopener noreferrer"},"\u94FE\u63A5",-1)),zv=[Bv,Yv,Av,Sv],Pv=["onSubmit"],Tv=st(()=>t("div",{class:"label-key"},[t("span",null,"WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),Iv=st(()=>t("option",{value:"dhcp"},"\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09",-1)),Lv=st(()=>t("option",{value:"static"},"\u9759\u6001IP\u5730\u5740",-1)),Mv=[Iv,Lv],Ov=st(()=>t("div",{class:"label-key"},[t("span",null,"IP\u5730\u5740")],-1)),Nv=["disabled"],qv={key:0,class:"msg"},Vv=st(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),Gv=["disabled"],jv={key:1,class:"msg"},Rv=st(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),Uv=["disabled"],Wv=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),Hv=["disabled"],Zv=st(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),Jv=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Xv=["onUpdate:modelValue","disabled"],Kv=st(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Qv=["disabled"],tb=st(()=>t("div",{class:"label-key"},"\u5907\u7528DNS\u670D\u52A1\u5668",-1)),eb=["disabled"],ab={key:2,class:"chose_dhcp"},ob=st(()=>t("span",{class:"dhcp_info"},"\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09",-1)),nb={key:3,class:"msgs"},ib={class:"btns"},rb=["disabled"],sb=["onClick"],db={key:1,id:"page"},ub=st(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),lb={class:"btns"},cb=["onClick"],pb=["onClick"],fb=P({setup(e){const a=y(0),o=y({}),n=y(""),s=y(""),c=y(""),p=y(!1),m=y(""),u=y(""),d=y(0),l=wt.checkIsIP,f=y(!1);(()=>T(this,null,function*(){var k,C;p.value=!0;try{const A=yield Promise.all([S.Guide.ClientModel.GET(),S.Guide.GetLan.GET()]);if(A[0]){const $=A[0];if($.data){const{success:B,error:V,result:W}=$.data;W&&(W.wanProto!="dhcp"&&W.wanProto!="static"&&(W.wanProto="dhcp",W.dnsProto="auto"),W.enableLanDhcp=!1,o.value=W),B==-1011&&(d.value=B,p.value=!0)}}(k=A[1].data)!=null&&k.result&&(((C=A[1].data)==null?void 0:C.result).enableDhcp||(f.value=!0,o.value.enableLanDhcp=!0))}catch(A){n.value=A}d.value==0&&(p.value=!1)}))();const g=k=>{k.target.value=="static"?((o.value.staticIp==null||o.value.staticIp=="")&&(o.value.staticIp="192.168.1.100"),(o.value.subnetMask==null||o.value.subnetMask=="")&&(o.value.subnetMask="255.255.255.0"),o.value.dnsProto=="auto"&&setTimeout(()=>o.value.dnsProto="manual",0)):o.value.dnsProto=="manual"&&setTimeout(()=>o.value.dnsProto="auto",0)},b=k=>{const C=k.target;if(C.value==""){m.value="";return}l(C.value)?m.value="":m.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740"},_=k=>{const C=k.target;if(C.value==""){u.value="";return}l(C.value)?u.value="":u.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740"},w=()=>T(this,null,function*(){const k={};switch(o.value.wanProto){case"dhcp":break;case"static":k.staticIp=o.value.staticIp,k.subnetMask=o.value.subnetMask,k.gateway=o.value.gateway;break}switch(o.value.dnsProto){case"auto":break;case"manual":k.manualDnsIp=[],o.value.manualDnsIp!=null&&o.value.manualDnsIp.length>0?k.manualDnsIp=o.value.manualDnsIp:(k.manualDnsIp.push(s.value),c.value&&k.manualDnsIp.push(c.value));break}k.dnsProto=o.value.dnsProto,k.wanProto=o.value.wanProto,k.enableLanDhcp=o.value.enableLanDhcp;const C=F.Loading("\u914D\u7F6E\u4E2D....");p.value=!0;try{const A=yield S.Guide.ClientModel.POST(k);if(A!=null&&A.data){const{success:$,error:B}=A==null?void 0:A.data;B&&(n.value=B),($==null||$==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),a.value=1)}}catch(A){n.value=A}p.value=!1,C.Close()});return(k,C)=>{const A=J("switch-box"),$=J("router-link");return a.value==0?(i(),r("div",Fv,[Ev,Cv,t("div",$v,[d.value==-1011?(i(),r("li",Dv,zv)):E("",!0)]),t("form",{onSubmit:nt(w,["prevent"])},[t("label",null,[Tv,z(t("select",{"onUpdate:modelValue":C[0]||(C[0]=B=>o.value.wanProto=B),onInput:g},Mv,544),[[Q,o.value.wanProto]])]),o.value.wanProto=="static"?(i(),r(L,{key:0},[t("label",null,[Ov,z(t("input",{type:"text","onUpdate:modelValue":C[1]||(C[1]=B=>o.value.staticIp=B),placeholder:"\u9759\u6001IP\u5730\u5740",required:"",disabled:p.value,onInput:b},null,40,Nv),[[H,o.value.staticIp,void 0,{trim:!0}]])]),m.value?(i(),r("p",qv,h(m.value),1)):E("",!0),t("label",null,[Vv,z(t("input",{type:"text","onUpdate:modelValue":C[2]||(C[2]=B=>o.value.subnetMask=B),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:p.value,onInput:_},null,40,Gv),[[H,o.value.subnetMask,void 0,{trim:!0}]])]),u.value?(i(),r("p",jv,h(u.value),1)):E("",!0),t("label",null,[Rv,z(t("input",{type:"text","onUpdate:modelValue":C[3]||(C[3]=B=>o.value.gateway=B),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:p.value},null,8,Uv),[[H,o.value.gateway,void 0,{trim:!0}]])])],64)):E("",!0),t("label",null,[Wv,z(t("select",{"onUpdate:modelValue":C[4]||(C[4]=B=>o.value.dnsProto=B)},[t("option",{value:"auto",disabled:o.value.wanProto=="static"},"\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09",8,Hv),Zv],512),[[Q,o.value.dnsProto]])]),o.value.dnsProto=="manual"?(i(),r(L,{key:1},[o.value.manualDnsIp!=null&&o.value.manualDnsIp.length>0?(i(!0),r(L,{key:0},G(o.value.manualDnsIp,(B,V)=>(i(),r("label",null,[Jv,z(t("input",{type:"text","onUpdate:modelValue":W=>o.value.manualDnsIp[V]=W,placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:p.value},null,8,Xv),[[H,o.value.manualDnsIp[V],void 0,{trim:!0}]])]))),256)):(i(),r(L,{key:1},[t("label",null,[Kv,z(t("input",{type:"text","onUpdate:modelValue":C[5]||(C[5]=B=>s.value=B),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:p.value},null,8,Qv),[[H,s.value,void 0,{trim:!0}]])]),t("label",null,[tb,z(t("input",{type:"text","onUpdate:modelValue":C[6]||(C[6]=B=>c.value=B),placeholder:"\u5907\u7528DNS\u670D\u52A1\u5668",disabled:p.value},null,8,eb),[[H,c.value,void 0,{trim:!0}]])])],64))],64)):E("",!0),f.value?(i(),r("div",ab,[D(A,{modelValue:o.value.enableLanDhcp,"onUpdate:modelValue":C[7]||(C[7]=B=>o.value.enableLanDhcp=B)},{default:q(()=>[ob]),_:1},8,["modelValue"])])):E("",!0),n.value?(i(),r("div",nb,h(n.value),1)):E("",!0),t("div",ib,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:p.value},"\u4FDD\u5B58\u914D\u7F6E",8,rb),D($,{to:"/network",custom:""},{default:q(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},"\u8FD4\u56DE",8,sb)]),_:1})])],40,Pv)])):a.value==1?(i(),r("div",db,[ub,t("div",lb,[D($,{to:"/",custom:""},{default:q(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:B},"\u8FDB\u5165\u63A7\u5236\u53F0",8,cb)]),_:1}),D($,{to:"/network",custom:""},{default:q(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},"\u8FD4\u56DE",8,pb)]),_:1})])])):E("",!0)}}});var mb=Y(fb,[["__scopeId","data-v-0d3a64fa"]]);const dt=e=>(O("data-v-f4dbbdaa"),e=e(),N(),e),vb={key:0,id:"page"},bb=dt(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C",-1)),gb=dt(()=>t("code",null,[R(" \u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002 "),t("br"),R("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002 "),t("br"),R("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A "),t("br"),R("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B "),t("br"),R("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002 ")],-1)),_b={class:"btns"},hb=["onClick"],kb={key:1,id:"page"},xb=dt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC",-1)),wb=dt(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F",-1)),yb=["onSubmit"],Fb=dt(()=>t("div",{class:"label-key"},[t("span",null,"LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),Eb={class:"label-value"},Cb=dt(()=>t("option",null,"\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740",-1)),$b=[Cb],Db=dt(()=>t("div",{class:"label-key"},[t("span",null,"IP \u5730\u5740")],-1)),Bb=dt(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),Yb=dt(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),Ab=dt(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Sb={key:0,class:"msgs"},zb={class:"switch_inline"},Pb={key:0,class:"switch_info"},Tb={key:1,class:"switch_info"},Ib={class:"switch_inline"},Lb=dt(()=>t("span",{class:"switch_info"},"\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09",-1)),Mb={class:"switch_inline"},Ob=dt(()=>t("span",{class:"switch_info"},"\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09",-1)),Nb={class:"btns"},qb=dt(()=>t("button",{class:"cbi-button cbi-button-apply app-btn app-next"},"\u4FDD\u5B58\u914D\u7F6E",-1)),Vb=["onClick"],Gb={key:2,id:"page"},jb=dt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),Rb=dt(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP",-1)),Ub={key:3,id:"page"},Wb=dt(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E",-1)),Hb=dt(()=>t("code",null," \u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002 ",-1)),Zb=R(" 1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB) "),Jb=["disabled"],Xb=R("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09 "),Kb={style:{"text-align":"left"}},Qb=R(" 2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002 "),tg={class:"btns"},eg=["disabled"],ag=["onClick"],og=P({setup(e){const a=y(0),o=y(""),n=y(!1),s=j(()=>{var f,v,g;return!(((f=p.value)==null?void 0:f.ipv4addr)&&((v=p.value)==null?void 0:v.ipv4mask)&&((g=p.value)==null?void 0:g.gateway))}),c=y({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),p=y(),m=()=>{n.value=!0,S.Network.Status.GET().then(f=>{if(f!=null&&f.data){const{result:v}=f==null?void 0:f.data;v&&(p.value=v)}}).finally(()=>{n.value=!1})},u=f=>{var v,g,b,_,w;f&&(c.value.staticLanIp=((v=p.value)==null?void 0:v.ipv4addr)||"",c.value.subnetMask=((g=p.value)==null?void 0:g.ipv4mask)&&ht.prefixToMask(p.value.ipv4mask)||"",c.value.gateway=((b=p.value)==null?void 0:b.gateway)||"",c.value.staticDnsIp=((_=p.value)==null?void 0:_.dnsList)&&((w=p.value)==null?void 0:w.dnsList[0])||"223.5.5.5"),a.value=1},d=f=>{window.location.href=location.protocol+"//"+c.value.staticLanIp+(location.port?":"+location.port:"")},l=()=>T(this,null,function*(){const f=c.value,v=F.Loading("\u914D\u7F6E\u4E2D...");try{const g=yield S.Guide.GatewayRouter.POST(f);if(g!=null&&g.data){const{success:b,error:_}=g==null?void 0:g.data;if(_&&(o.value=_),b==null||b==0){setTimeout(()=>{a.value=2,v.Close()},5e3);return}}}catch(g){o.value=g}v.Close()});return(f,v)=>{var _,w,k,C;const g=J("router-link"),b=J("switch-box");return a.value==0?(i(),r("div",vb,[bb,gb,t("div",_b,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:v[0]||(v[0]=A=>a.value=3)},"\u81EA\u52A8\u914D\u7F6E..."),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:v[1]||(v[1]=A=>u(!1))},"\u624B\u52A8\u914D\u7F6E..."),D(g,{to:"/network",custom:""},{default:q(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,hb)]),_:1})])])):a.value==1?(i(),r("div",kb,[xb,wb,t("form",{onSubmit:nt(l,["prevent"])},[t("label",null,[Fb,t("div",Eb,[t("select",{disabled:"",style:Vt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},$b,4)])]),t("label",null,[Db,z(t("input",{type:"text","onUpdate:modelValue":v[2]||(v[2]=A=>c.value.staticLanIp=A),placeholder:"IP\u5730\u5740",required:""},null,512),[[H,c.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[Bb,z(t("input",{type:"text","onUpdate:modelValue":v[3]||(v[3]=A=>c.value.subnetMask=A),placeholder:"\u5B50\u7F51\u63A9\u7801",required:""},null,512),[[H,c.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[Yb,z(t("input",{type:"text","onUpdate:modelValue":v[4]||(v[4]=A=>c.value.gateway=A),placeholder:"\u7F51\u5173\u5730\u5740",required:""},null,512),[[H,c.value.gateway,void 0,{trim:!0}]])]),t("label",null,[Ab,z(t("input",{type:"text","onUpdate:modelValue":v[5]||(v[5]=A=>c.value.staticDnsIp=A),placeholder:"223.5.5.5",required:""},null,512),[[H,c.value.staticDnsIp,void 0,{trim:!0}]])]),o.value?(i(),r("div",Sb,h(o.value),1)):E("",!0),t("div",zb,[D(b,{modelValue:c.value.enableDhcp,"onUpdate:modelValue":v[6]||(v[6]=A=>c.value.enableDhcp=A)},{default:q(()=>[c.value.enableDhcp?(i(),r("span",Pb,"\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")):(i(),r("span",Tb,"\u63D0\u4F9B DHCPv4 \u670D\u52A1"))]),_:1},8,["modelValue"])]),t("div",Ib,[D(b,{modelValue:c.value.dhcp6c,"onUpdate:modelValue":v[7]||(v[7]=A=>c.value.dhcp6c=A)},{default:q(()=>[Lb]),_:1},8,["modelValue"])]),t("div",Mb,[D(b,{modelValue:c.value.enableNat,"onUpdate:modelValue":v[8]||(v[8]=A=>c.value.enableNat=A)},{default:q(()=>[Ob]),_:1},8,["modelValue"])]),t("div",Nb,[qb,D(g,{to:"/network",custom:""},{default:q(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,Vb)]),_:1})])],40,yb)])):a.value==2?(i(),r("div",Gb,[jb,Rb,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:d},"\u8FDB\u5165\u63A7\u5236\u53F0")])])):a.value==3?(i(),r("div",Ub,[Wb,Hb,Zb,t("button",{class:ot(["cbi-button cbi-button-neutral",x(s)?"cbi-button-neutral":"cbi-button-success"]),disabled:n.value,onClick:m},[Xb,t("p",Kb,[t("ul",null,[t("li",null,"IP \u5730\u5740: "+h((_=p.value)==null?void 0:_.ipv4addr),1),t("li",null,"\u5B50\u7F51\u63A9\u7801: "+h(((w=p.value)==null?void 0:w.ipv4mask)&&x(ht).prefixToMask(p.value.ipv4mask)),1),t("li",null,"\u7F51\u5173\u5730\u5740: "+h((k=p.value)==null?void 0:k.gateway),1),t("li",null,"DNS\u670D\u52A1\u5668: "+h(((C=p.value)==null?void 0:C.dnsList)&&p.value.dnsList[0]||(x(s)?"":"\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09")),1)])])],10,Jb),Qb,t("div",tg,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:x(s),onClick:v[9]||(v[9]=A=>u(!0))},"\u81EA\u52A8\u586B\u5199..."+h(x(s)?"\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09":""),9,eg),D(g,{to:"/network",custom:""},{default:q(({navigate:A})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:A},"\u8FD4\u56DE",8,ag)]),_:1})])])):E("",!0)}}});var ng=Y(og,[["__scopeId","data-v-f4dbbdaa"]]);const St=e=>(O("data-v-7fc91c6d"),e=e(),N(),e),ig={class:"actioner-container"},rg=St(()=>t("div",{class:"actioner-container_header"},[t("span",null,"RAID\u521B\u5EFA\u5411\u5BFC")],-1)),sg={class:"actioner-container_body"},dg=St(()=>t("p",null,"RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C \u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002",-1)),ug={class:"label-item"},lg=St(()=>t("div",{class:"label-item_key"},[t("span",null,"RAID\u7EA7\u522B\uFF1A")],-1)),cg={class:"label-item_value"},pg=["value"],fg={class:"label-item_tips"},mg={class:"label-item"},vg=St(()=>t("div",{class:"label-item_key"},[t("span",null,"\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")],-1)),bg={key:0,class:"label-item_value"},gg=St(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),_g=[gg],hg={key:1,class:"label-item_value"},kg=["value"],xg={key:1,class:"msg-warning"},wg={class:"label-item_tips"},yg=R(" \u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002 "),Fg={class:"actioner-container_footer"},Eg=["disabled"],Cg=["disabled"],$g={key:1,class:"actioner-container_body setup-loading"},Dg=St(()=>t("span",null,"\u6B63\u5728\u521B\u5EFA\u4E2D...",-1)),Bg={class:"actioner-container_body setup-error"},Yg={class:"actioner-container_footer"},Ag=["disabled"],Sg={class:"actioner-container_body setup-success"},zg=St(()=>t("div",{class:"body-title"},"\u521B\u5EFA\u6210\u529F",-1)),Pg=St(()=>t("div",{class:"body-info"},[t("span",null," \u5982\u9700\u5BF9raid\u8BBE\u5907\u8FDB\u884C\u8BFB\u5199\u64CD\u4F5C\uFF0C\u9700\u8981\u5BF9raid\u8BBE\u5907\u683C\u5F0F\u5316\u5E76\u6302\u8F7D\u6587\u4EF6\u7CFB\u7EDF "),t("br"),t("span",null,[R(" \u53EF\u524D\u5F80 "),t("a",{href:"/cgi-bin/luci/",target:"_blank",rel:"noopener noreferrer"},"\u9996\u9875-\u78C1\u76D8\u4FE1\u606F"),R(" \u8FDB\u884C\u6302\u8F7D ")])],-1)),Tg=P({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=y("init"),c=y(""),p=[{name:"jbod",title:"JBOD (\u7EBF\u6027)",info:"\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002",select:2},{name:"raid0",title:"RAID 0 (\u6761\u5E26)",info:"\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002",select:2},{name:"raid1",title:"RAID 1 (\u955C\u50CF)",info:"\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002",select:2},{name:"raid5",title:"RAID 5 ",info:"\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002",select:3},{name:"raid6",title:"RAID 6 ",info:"\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002",select:4},{name:"raid10",title:"RAID 10",info:"\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002",select:4}],m=y("raid5"),u=y([]),d=_=>{let w="";return p.forEach(k=>{k.name===_&&(w=k.info)}),w},l=y(!1),f=it({loading:!1,members:[]}),v=_=>{};(()=>T(this,null,function*(){f.loading=!0;try{const _=yield S.Raid.CreateList.GET();if(_!=null&&_.data){const{success:w,error:k,result:C}=_.data;if(C&&(f.members=C.members||[]),k)throw k}}catch(_){console.log(_)}finally{f.loading=!1}}))();const b=()=>T(this,null,function*(){const _=p.filter(k=>k.name===m.value)[0],w=u.value;if(!_){F.Warning("\u8BF7\u9009\u62E9raid\u7C7B\u578B");return}if(w.length==0){F.Warning("\u8BF7\u9009\u62E9\u78C1\u76D8");return}if(_.select>w.length){F.Warning("\u8BF7\u9009\u62E9\u81F3\u5C11"+_.select+"\u5757\u78C1\u76D8");return}if(!!confirm(`\u662F\u5426\u7ACB\u5373\u521B\u5EFA ${_.name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002`)&&!!confirm(`\u786E\u5B9A\u521B\u5EFA ${_.name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C`)){l.value=!0,s.value="loading";try{const k=yield S.Raid.Create.POST({level:_.name,devicePaths:w});if(k.data){const{success:C,error:A,result:$}=k.data;if(A)throw A;(C||0)==0&&(s.value="success",n())}}catch(k){c.value=k,s.value="error"}finally{l.value=!1}}});return(_,w)=>{const k=J("icon-loading"),C=J("icon-error"),A=J("icon-success");return i(),r("div",ig,[rg,s.value=="init"?(i(),r(L,{key:0},[t("div",sg,[dg,t("div",ug,[lg,t("div",cg,[z(t("select",{"onUpdate:modelValue":w[0]||(w[0]=$=>m.value=$),onChange:v},[(i(),r(L,null,G(p,$=>t("option",{value:$.name},h($.title),9,pg)),64))],544),[[Q,m.value]])]),t("div",fg,[D(gt),R(" "+h(d(m.value)),1)])]),t("div",mg,[vg,x(f).loading?(i(),r("div",bg,_g)):(i(),r("div",hg,[x(f).members.length>0?(i(!0),r(L,{key:0},G(x(f).members,$=>(i(),r("label",null,[z(t("input",{type:"checkbox","onUpdate:modelValue":w[1]||(w[1]=B=>u.value=B),value:$.path},null,8,kg),[[Tt,u.value]]),R(" \u3010"+h($.model)+"\u3011"+h($.name)+" "+h($.path)+" ["+h($.sizeStr)+"] ",1)]))),256)):(i(),r("span",xg," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))])),t("div",wg,[D(gt),yg])])]),t("div",Fg,[t("div",{class:"close",onClick:o,disabled:l.value},"\u53D6\u6D88",8,Eg),t("div",{class:"next",onClick:b,disabled:l.value},"\u521B\u5EFA",8,Cg)])],64)):s.value=="loading"?(i(),r("div",$g,[D(k,{size:60,color:"#666"}),Dg])):s.value=="error"?(i(),r(L,{key:2},[t("div",Bg,[D(C),t("span",null,h(c.value),1)]),t("div",Yg,[t("div",{class:"close",onClick:o},"\u5173\u95ED"),t("div",{class:"next",onClick:b,disabled:l.value},"\u91CD\u65B0\u521B\u5EFA",8,Ag)])],64)):s.value=="success"?(i(),r(L,{key:3},[t("div",Sg,[D(A),zg,Pg]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u5173\u95ED")])],64)):E("",!0)])}}});var Ig=Y(Tg,[["__scopeId","data-v-7fc91c6d"]]);const Lg={class:"actioner-container"},Mg={class:"actioner-container_body"},Og=["value"],Ng=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(e){const a=e,o=()=>{a.Close()},n=y("");return(()=>{S.Raid.Detail.POST({path:a.raid.path}).then(c=>{if(c.data){const{result:p,error:m}=c.data;m?n.value=m:n.value=(p==null?void 0:p.detail)||""}}).catch(c=>{n.value=c.message})})(),(c,p)=>(i(),r("div",Lg,[t("div",Mg,[t("textarea",{value:n.value},null,8,Og)]),t("div",{class:"actioner-container_footer"},[t("div",{class:"close",onClick:o},"\u5173\u95ED")])]))}});var qg=Y(Ng,[["__scopeId","data-v-51f9d7a2"]]);const Pe=e=>(O("data-v-c07c8244"),e=e(),N(),e),Vg={class:"actioner-container"},Gg={class:"actioner-container_header"},jg={class:"actioner-container_body"},Rg={class:"label-item"},Ug=Pe(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),Wg={class:"label-item_value"},Hg={disabled:""},Zg={class:"label-item"},Jg=Pe(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A ",-1)),Xg={key:0,class:"label-item_value"},Kg=Pe(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),Qg=[Kg],t_={key:1,class:"label-item_value"},e_=["value"],a_={key:1,class:"msg-warning"},o_={class:"actioner-container_footer"},n_=["disabled"],i_=["disabled"],r_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const d=m.value;if(d==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8");return}p.value=!0;const l=F.Loading("\u4FDD\u5B58\u4E2D...");try{const f=yield S.Raid.Add.POST({path:a.raid.path,memberPath:d});if(f.data){const{error:v,success:g}=f.data;if(v)throw v;(g||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(f){F.Error(`${f}`)}finally{p.value=!1,l.Close()}}),c=it({loading:!1,members:[]}),p=y(!1),m=y("");return(()=>T(this,null,function*(){c.loading=!0,p.value=!0;try{const d=yield S.Raid.CreateList.GET();if(d!=null&&d.data){const{success:l,error:f,result:v}=d.data;if(v&&(c.members=v.members||[]),f)throw f}}catch(d){console.log(d)}finally{p.value=!1,c.loading=!1}}))(),(d,l)=>(i(),r("div",Vg,[t("div",Gg,[t("span",null,"RAID - "+h(e.raid.name)+" \u4FEE\u6539",1)]),t("div",jg,[t("div",Rg,[Ug,t("div",Wg,[t("select",Hg,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",Zg,[Jg,x(c).loading?(i(),r("div",Xg,Qg)):(i(),r("div",t_,[x(c).members.length>0?(i(!0),r(L,{key:0},G(x(c).members,f=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":l[0]||(l[0]=v=>m.value=v),value:f.path},null,8,e_),[[pt,m.value]]),R(" \u3010"+h(f.model)+"\u3011"+h(f.name)+" "+h(f.path)+" ["+h(f.sizeStr)+"] ",1)]))),256)):(i(),r("span",a_," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))]))])]),t("div",o_,[t("div",{class:"close",onClick:o,disabled:p.value},"\u53D6\u6D88",8,n_),t("div",{class:"next",onClick:s,disabled:p.value},"\u4FDD\u5B58",8,i_)])]))}});var s_=Y(r_,[["__scopeId","data-v-c07c8244"]]);const ga=e=>(O("data-v-13dc2cd6"),e=e(),N(),e),d_={class:"actioner-container"},u_={class:"actioner-container_header"},l_={class:"actioner-container_body"},c_={class:"label-item"},p_=ga(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),f_={class:"label-item_value"},m_={disabled:""},v_={class:"label-item"},b_=ga(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A ",-1)),g_={class:"label-item_value"},__=["value"],h_={class:"actioner-container_footer"},k_=["disabled"],x_=["disabled"],w_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const m=p.value;if(m==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8");return}c.value=!0;const u=F.Loading("\u4FDD\u5B58\u4E2D...");try{const d=yield S.Raid.Remove.POST({path:a.raid.path,memberPath:m});if(d.data){const{error:l,success:f}=d.data;if(l)throw l;(f||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(d){F.Error(`${d}`)}finally{c.value=!1,u.Close()}}),c=y(!1),p=y("");return(m,u)=>(i(),r("div",d_,[t("div",u_,[t("span",null,"RAID - "+h(e.raid.name)+" \u79FB\u9664",1)]),t("div",l_,[t("div",c_,[p_,t("div",f_,[t("select",m_,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",v_,[b_,t("div",g_,[(i(!0),r(L,null,G(e.raid.members,d=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":u[0]||(u[0]=l=>p.value=l),value:d},null,8,__),[[pt,p.value]]),R(" "+h(d),1)]))),256))])])]),t("div",h_,[t("div",{class:"close",onClick:o,disabled:c.value},"\u53D6\u6D88",8,k_),t("div",{class:"next",onClick:s,disabled:c.value},"\u4FDD\u5B58",8,x_)])]))}});var y_=Y(w_,[["__scopeId","data-v-13dc2cd6"]]);const Te=e=>(O("data-v-5643983d"),e=e(),N(),e),F_={class:"actioner-container"},E_={class:"actioner-container_header"},C_={class:"actioner-container_body"},$_={class:"label-item"},D_=Te(()=>t("div",{class:"label-item_key"}," \u8BBE\u5907 ",-1)),B_={class:"label-item_value"},Y_={disabled:""},A_={class:"label-item"},S_=Te(()=>t("div",{class:"label-item_key"}," \u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A ",-1)),z_={key:0,class:"label-item_value"},P_=Te(()=>t("span",{class:"msg-warning"}," \u68C0\u6D4B\u4E2D... ",-1)),T_=[P_],I_={key:1,class:"label-item_value"},L_=["value"],M_={key:1,class:"msg-warning"},O_={class:"actioner-container_footer"},N_=["disabled"],q_=["disabled"],V_=P({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(e){const a=e,o=()=>{a.Close()},n=()=>{a.success&&a.success()},s=()=>T(this,null,function*(){const d=m.value;if(d==""){F.Warning("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8");return}p.value=!0;const l=F.Loading("\u4FDD\u5B58\u4E2D...");try{const f=yield S.Raid.Recover.POST({path:a.raid.path,memberPath:d});if(f.data){const{error:v,success:g}=f.data;if(v)throw v;(g||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),n(),o())}}catch(f){F.Error(`${f}`)}finally{p.value=!1,l.Close()}}),c=it({loading:!1,members:[]}),p=y(!1),m=y("");return(()=>T(this,null,function*(){c.loading=!0,p.value=!0;try{const d=yield S.Raid.CreateList.GET();if(d!=null&&d.data){const{success:l,error:f,result:v}=d.data;if(v&&(c.members=v.members||[]),f)throw f}}catch(d){console.log(d)}finally{p.value=!1,c.loading=!1}}))(),(d,l)=>(i(),r("div",F_,[t("div",E_,[t("span",null,"RAID - "+h(e.raid.name)+" \u6062\u590D",1)]),t("div",C_,[t("div",$_,[D_,t("div",B_,[t("select",Y_,[t("option",null,h(e.raid.name)+"_"+h(e.raid.venderModel)+" ("+h(e.raid.path)+"\uFF0C"+h(e.raid.level)+"\uFF0C"+h(e.raid.size)+") ",1)])])]),t("div",A_,[S_,x(c).loading?(i(),r("div",z_,T_)):(i(),r("div",I_,[x(c).members.length>0?(i(!0),r(L,{key:0},G(x(c).members,f=>(i(),r("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":l[0]||(l[0]=v=>m.value=v),value:f.path},null,8,L_),[[pt,m.value]]),R(" \u3010"+h(f.model)+"\u3011"+h(f.name)+" "+h(f.path)+" ["+h(f.sizeStr)+"] ",1)]))),256)):(i(),r("span",M_," \u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458... "))]))])]),t("div",O_,[t("div",{class:"close",onClick:o,disabled:p.value},"\u53D6\u6D88",8,N_),t("div",{class:"next",onClick:s,disabled:p.value},"\u4FDD\u5B58",8,q_)])]))}});var G_=Y(V_,[["__scopeId","data-v-5643983d"]]);const j_={class:"action-main"},R_=P({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(e){return(a,o)=>(i(),M(et,{type:2},{default:q(()=>[t("div",j_,[e.setup=="create"?(i(),M(Ig,{key:0,Close:e.Close},null,8,["Close"])):e.setup=="info"&&e.raid!=null?(i(),M(qg,{key:1,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="edit"&&e.raid!=null?(i(),M(s_,{key:2,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="remove"&&e.raid!=null?(i(),M(y_,{key:3,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):e.setup=="recover"&&e.raid!=null?(i(),M(G_,{key:4,Close:e.Close,raid:e.raid,success:e.success},null,8,["Close","raid","success"])):E("",!0)])]),_:1}))}});var U_=Y(R_,[["__scopeId","data-v-6ef94d02"]]);const Jt=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(U_,at(Z({},e),{Close:()=>{n()}}));o.use(aa),o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}},re=e=>(O("data-v-535a673b"),e=e(),N(),e),W_={id:"page"},H_=re(()=>t("h2",{name:"content"}," RAID\u7BA1\u7406",-1)),Z_=re(()=>t("div",{class:"cbi-map-descr"},[t("p",null," RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C \u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002 "),t("p",{style:{color:"#f5365b","margin-top":"10px"}}," * RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002 "),t("p",{style:{color:"#f5365b","margin-top":"10px"}}," * \u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D ")],-1)),J_={class:"btns"},X_=["disabled"],K_={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Q_={class:"table cbi-section-table"},th={style:{}},eh=re(()=>t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u540D\u79F0"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u72B6\u6001"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u7EA7\u522B"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5BB9\u91CF"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6210\u5458"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6302\u8F7D\u4FE1\u606F"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u64CD\u4F5C")],-1)),ah={class:"tr cbi-section-table-row"},oh={class:"td cbi-value-field"},nh={class:"td cbi-value-field"},ih=["title"],rh={class:"item-status"},sh={key:0,class:"item-status item-status-detail"},dh={class:"td cbi-value-field"},uh={class:"td cbi-value-field"},lh={class:"td cbi-value-field"},ch=re(()=>t("br",null,null,-1)),ph={class:"td cbi-value-field"},fh=re(()=>t("br",null,null,-1)),mh={key:1,href:"/cgi-bin/luci/admin/quickstart/"},vh={class:"td cbi-section-table-cell nowrap cbi-section-actions"},bh=["disabled","onClick"],gh=["disabled","onClick"],_h=["onClick"],hh=["onClick"],kh=["onClick"],xh=P({setup(e){const a=it({disksList:[]}),o=()=>T(this,null,function*(){try{const b=yield S.Raid.List.GET();if(b!=null&&b.data){const{success:_,error:w,result:k}=b.data;if(k&&(a.disksList=k.disks||[]),w)throw w}}catch(b){console.log(b)}}),n=wt.easyInterval(o,5e3);Fe(()=>{n()});const s=b=>{switch(b.level){case"raid0":case"jbod":return!0}return b.status.indexOf("degraded")!=-1||b.status.indexOf("resyncing(")!=-1},c=b=>{let _=[];return b.childrens&&b.childrens.forEach(w=>{w.mountPoint&&_.push(`${w.name}(${w.mountPoint})`)}),_},p=()=>T(this,null,function*(){Jt({setup:"create",success:()=>{o()}})}),m=b=>{Jt({setup:"info",raid:b})},u=b=>T(this,null,function*(){if(b.childrens&&b.childrens.length>0&&b.childrens.filter(k=>k.mountPoint).length>0){de({content:"\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF",nextTitle:"\u53BB\u5378\u8F7D",next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:"\u53D6\u6D88",clear:()=>{}});return}if(!confirm(`\u786E\u5B9A\u8981\u5220\u9664 ${b.name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002`)||!confirm(`\u786E\u5B9A\u8981\u5220\u9664 ${b.name} \u5417?`))return;const _=F.Loading("\u5220\u9664\u4E2D...");try{const w=yield S.Raid.Delete.POST({path:b.path,members:b.members});if(w.data){const{success:k,error:C}=w.data;if(C)throw C;(k||0)==0&&(F.Success("\u5220\u9664\u6210\u529F"),o())}}catch(w){F.Error(`${w}`)}finally{_.Close()}}),d=b=>{Jt({setup:"edit",raid:b,success:()=>{o()}})},l=b=>{Jt({setup:"remove",raid:b,success:()=>{o()}})},f=b=>{Jt({setup:"recover",raid:b,success:()=>{o()}})},v=y(!1),g=()=>{de({content:"\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F",nextTitle:"\u786E\u5B9A",next:()=>T(this,null,function*(){v.value=!0;const b=F.Loading("\u626B\u63CF\u4E2D...");try{const _=yield S.Raid.Autofix.GET();if(_.data){const{error:w,success:k}=_.data;if(w)throw w;(k||0)==0&&(F.Success("\u6062\u590D\u5B8C\u6210"),o())}}catch(_){F.Error(`${_}`)}finally{b.Close(),v.value=!1}}),clearTitle:"\u53D6\u6D88",clear:()=>{}})};return(b,_)=>(i(),r("div",W_,[H_,Z_,t("div",J_,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:_[0]||(_[0]=w=>p())},"\u521B\u5EFARAID"),t("button",{class:"btn cbi-button cbi-button-apply",onClick:_[1]||(_[1]=w=>g()),disabled:v.value},"\u626B\u63CF\u6062\u590DRAID",8,X_)]),t("div",null,[t("div",K_,[t("table",Q_,[t("tbody",th,[eh,(i(!0),r(L,null,G(x(a).disksList,w=>(i(),r("tr",ah,[t("td",oh,[t("b",null,h(w.name),1)]),t("td",nh,[t("b",null,h(w.path),1)]),t("td",{class:"td cbi-value-field",title:w.status+(w.rebuildStatus||"")},[t("b",rh,h(w.status),1),w.rebuildStatus?(i(),r("b",sh," \u2026 ")):E("",!0)],8,ih),t("td",dh,[t("b",null,h(w.level),1)]),t("td",uh,[t("b",null,h(w.size),1)]),t("td",lh,[(i(!0),r(L,null,G(w.members,k=>(i(),r("b",null,[R(h(k)+" ",1),ch]))),256))]),t("td",ph,[c(w).length>0?(i(!0),r(L,{key:0},G(c(w),k=>(i(),r("b",null,[R(h(k)+" ",1),fh]))),256)):(i(),r("a",mh,"\u53BB\u6302\u8F7D"))]),t("td",vh,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u6269\u5145",disabled:s(w),onClick:k=>d(w)},"\u6269\u5145",8,bh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u79FB\u9664",disabled:s(w),onClick:k=>l(w)},"\u79FB\u9664",8,gh),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u6062\u590D",onClick:k=>f(w)},"\u6062\u590D",8,_h),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8BE6\u60C5",onClick:k=>m(w)},"\u8BE6\u60C5",8,hh),t("button",{class:"cbi-button cbi-button-remove",title:"\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",onClick:k=>u(w)},"\u5220\u9664",8,kh)])]))),256))])])])])]))}});var wh=Y(xh,[["__scopeId","data-v-535a673b"]]);const _a=e=>(O("data-v-2bc40d1c"),e=e(),N(),e),yh={id:"page"},Fh=_a(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),Eh=_a(()=>t("div",{class:"cbi-map-descr"},[t("p",null," S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C "),t("p",null," \u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001 "),t("p",null," \u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C "),t("p",null," \u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002 ")],-1)),Ch={class:"tabs"},$h=["href","onClick"],Dh=P({setup(e){const a=[{to:"/smart",name:"\u5E38\u89C4\u8BBE\u7F6E"},{to:"/smart/task",name:"\u8BA1\u5212\u4EFB\u52A1"},{to:"/smart/log",name:"\u67E5\u770B\u65E5\u5FD7"}],o=y(!1),n=it({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),s=m=>{const{global:u,devices:d,tasks:l}=m;u&&(n.global.enable=u.enable||!1,n.global.powermode=u.powermode||"never"),n.devices=d||[],n.tasks=l||[]};(()=>T(this,null,function*(){try{const m=yield S.Smart.Config.GET();if(m.data){const{result:u}=m.data;u&&s(u)}}catch(m){}finally{o.value=!0}}))();const p=m=>T(this,null,function*(){const u=F.Loading("\u4FDD\u5B58\u4E2D...");try{const d=yield S.Smart.Config.POST(m);if(d.data){console.log(d.data);const{success:l,error:f,result:v}=d.data;if(f)throw f;(l||0)==0&&(F.Success("\u4FDD\u5B58\u6210\u529F"),v&&s(v))}}catch(d){F.Error(`${d}`)}finally{u.Close()}});return(m,u)=>{const d=J("router-link"),l=J("router-view");return i(),r("div",yh,[Fh,Eh,t("ul",Ch,[(i(),r(L,null,G(a,f=>D(d,{to:f.to,custom:"",key:f.to},{default:q(({route:v,href:g,navigate:b,isActive:_,isExactActive:w})=>[t("li",{class:ot({"active cbi-tab":_&&w})},[t("a",{href:g,onClick:b},h(f.name),9,$h)],2)]),_:2},1032,["to"])),64))]),o.value?(i(),M(l,{key:0,name:"default"},{default:q(({Component:f,route:v})=>[(i(),M(La,null,{default:q(()=>[(i(),M(Ma(f),{key:v.path,config:x(n),saveData:p},null,8,["config"]))]),_:2},1024))]),_:1})):E("",!0)])}}});var Bh=Y(Dh,[["__scopeId","data-v-2bc40d1c"]]);const Yh={class:"action-main"},Ah=P({setup(e){return(a,o)=>(i(),M(et,{type:2},{default:q(()=>[t("div",Yh,[Dt(a.$slots,"default",{},void 0,!0)])]),_:3}))}});var he=Y(Ah,[["__scopeId","data-v-742230ae"]]);const Sh={class:"actioner-container"},zh={class:"actioner-container_header"},Ph={class:"actioner-container_body"},Th={class:"cbi-value"},Ih=t("label",{class:"cbi-value-title"}," \u78C1\u76D8 ",-1),Lh={class:"cbi-value-field"},Mh={class:"cbi-value-description"},Oh={class:"cbi-value"},Nh=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09 ",-1),qh={class:"cbi-value-field"},Vh={class:"cbi-checkbox"},Gh=t("option",{value:-1},"\u4F7F\u7528\u5168\u5C40\u914D\u7F6E",-1),jh=t("option",{value:0},"\u7981\u7528",-1),Rh=["value"],Uh=t("div",{class:"cbi-value-description"}," \u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A. ",-1),Wh={class:"cbi-value"},Hh=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09 ",-1),Zh={class:"cbi-value-field"},Jh={class:"cbi-checkbox"},Xh=t("option",{value:-1},"\u4F7F\u7528\u5168\u5C40\u914D\u7F6E",-1),Kh=t("option",{value:0},"\u7981\u7528",-1),Qh=["value"],tk=t("div",{class:"cbi-value-description"}," \u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A. ",-1),ek={class:"actioner-container_footer"},ak=["disabled"],ok=["disabled"],nk=P({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(e){var p,m,u;const a=e;console.log(a.device);const o=y(!1),n=it({tmpDiff:((p=a.device)==null?void 0:p.tmpDiff)||0,tmpMax:((m=a.device)==null?void 0:m.tmpMax)||0,devicePath:((u=a.device)==null?void 0:u.devicePath)||""}),s=()=>{o.value=!0,a.close()},c=()=>T(this,null,function*(){o.value=!0;try{yield a.next({tmpDiff:n.tmpDiff,tmpMax:n.tmpMax,devicePath:n.devicePath}),o.value=!1,s()}catch(d){}});return(d,l)=>(i(),M(he,null,{default:q(()=>[t("div",Sh,[t("div",zh,[t("span",null," S.M.A.R.T. \xBB \u8BBE\u5907 \xBB "+h(e.disk.path),1)]),t("div",Ph,[t("div",Th,[Ih,t("div",Lh,[t("div",Mh,h(e.disk.model)+" [ "+h(e.disk.path)+"\uFF0C"+h(e.disk.sizeStr)+" ] ",1)])]),t("div",Oh,[Nh,t("div",qh,[t("div",Vh,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[0]||(l[0]=f=>x(n).tmpDiff=f)},[Gh,jh,(i(),r(L,null,G(20,f=>t("option",{value:f},h(f)+"\xB0C",9,Rh)),64))],512),[[Q,x(n).tmpDiff,void 0,{number:!0}]])]),Uh])]),t("div",Wh,[Hh,t("div",Zh,[t("div",Jh,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":l[1]||(l[1]=f=>x(n).tmpMax=f)},[Xh,Kh,(i(),r(L,null,G(20,f=>t("option",{value:f*5},h(f*5)+"\xB0C",9,Qh)),64))],512),[[Q,x(n).tmpMax,void 0,{number:!0}]])]),tk])])]),t("div",ek,[t("button",{class:"close",onClick:s,disabled:o.value},"\u53D6\u6D88",8,ak),t("button",{class:"next",onClick:c,disabled:o.value},"\u4FDD\u5B58",8,ok)])])]),_:1}))}}),ik={class:"actioner-container"},rk=t("div",{class:"actioner-container_header"},[t("span",null," \u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1 ")],-1),sk={class:"actioner-container_body"},dk={class:"cbi-value"},uk=t("label",{class:"cbi-value-title"}," \u78C1\u76D8 ",-1),lk={class:"cbi-value-field"},ck={class:"cbi-checkbox"},pk=t("option",{value:""},"\u9009\u62E9\u78C1\u76D8",-1),fk=["value"],mk={class:"cbi-value"},vk=t("label",{class:"cbi-value-title"}," \u7C7B\u578B ",-1),bk={class:"cbi-value-field"},gk={class:"cbi-checkbox"},_k=t("option",{value:"short"},"\u77ED\u6682\u81EA\u68C0",-1),hk=t("option",{value:"long"},"\u957F\u65F6\u81EA\u68C0",-1),kk=t("option",{value:"conveyance"},"\u4F20\u8F93\u65F6\u81EA\u68C0",-1),xk=t("option",{value:"offline"},"\u79BB\u7EBF\u65F6\u81EA\u68C0",-1),wk=[_k,hk,kk,xk],yk={class:"cbi-value"},Fk=t("label",{class:"cbi-value-title"}," \u5C0F\u65F6 ",-1),Ek={class:"cbi-value-field"},Ck={class:"cbi-checkbox"},$k=t("option",{value:"*"},"*",-1),Dk=["value"],Bk=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u5C0F\u65F6 ",-1),Yk={class:"cbi-value"},Ak=t("label",{class:"cbi-value-title"}," \u5929 ",-1),Sk={class:"cbi-value-field"},zk={class:"cbi-checkbox"},Pk=t("option",{value:"*"},"*",-1),Tk=["value"],Ik=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u5929 ",-1),Lk={class:"cbi-value"},Mk=t("label",{class:"cbi-value-title"}," \u6708 ",-1),Ok={class:"cbi-value-field"},Nk={class:"cbi-checkbox"},qk=t("option",{value:"*"},"*",-1),Vk=["value"],Gk=t("div",{class:"cbi-value-description"}," * \u8868\u793A\u6BCF\u6708 ",-1),jk={class:"actioner-container_footer"},Rk=["disabled"],Uk=["disabled"],Wk=P({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(e){const a=e,o=y(!1),n=it({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),s=y([]);(()=>T(this,null,function*(){try{const u=yield S.Smart.List.GET();if(u.data){const{result:d,error:l}=u.data;d&&d.disks&&(s.value=d.disks)}}catch(u){}}))();const p=()=>{o.value=!0,a.close()},m=()=>T(this,null,function*(){if(n.devicePath==""){F.Warning("\u8BF7\u9009\u62E9\u78C1\u76D8");return}o.value=!0;try{yield a.next(n),p()}catch(u){}finally{o.value=!1}});return(u,d)=>(i(),M(he,null,{default:q(()=>[t("div",ik,[rk,t("div",sk,[t("div",dk,[uk,t("div",lk,[t("div",ck,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":d[0]||(d[0]=l=>x(n).devicePath=l)},[pk,(i(!0),r(L,null,G(s.value,l=>(i(),r("option",{value:l.path},h(l.model)+" [ "+h(l.path)+"\uFF0C"+h(l.sizeStr)+" ] ",9,fk))),256))],512),[[Q,x(n).devicePath,void 0,{trim:!0}]])])])]),t("div",mk,[vk,t("div",bk,[t("div",gk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":d[1]||(d[1]=l=>x(n).type=l)},wk,512),[[Q,x(n).type,void 0,{trim:!0}]])])])]),t("div",yk,[Fk,t("div",Ek,[t("div",Ck,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":d[2]||(d[2]=l=>x(n).hour=l)},[$k,(i(),r(L,null,G(24,(l,f)=>t("option",{value:`${f}`},h(f),9,Dk)),64))],512),[[Q,x(n).hour,void 0,{trim:!0}]])]),Bk])]),t("div",Yk,[Ak,t("div",Sk,[t("div",zk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":d[3]||(d[3]=l=>x(n).dayPerMonth=l)},[Pk,(i(),r(L,null,G(31,l=>t("option",{value:`${l}`},h(l),9,Tk)),64))],512),[[Q,x(n).dayPerMonth,void 0,{trim:!0}]])]),Ik])]),t("div",Lk,[Mk,t("div",Ok,[t("div",Nk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":d[4]||(d[4]=l=>x(n).month=l)},[qk,(i(),r(L,null,G(12,(l,f)=>t("option",{value:`${l}`},h(l),9,Vk)),64))],512),[[Q,x(n).month,void 0,{trim:!0}]])]),Gk])])]),t("div",jk,[t("button",{class:"close",onClick:p,disabled:o.value},"\u53D6\u6D88",8,Rk),t("button",{class:"next",onClick:m,disabled:o.value},"\u4FDD\u5B58",8,Uk)])])]),_:1}))}}),Hk=e=>(O("data-v-3f7c551e"),e=e(),N(),e),Zk={class:"actioner-container"},Jk=Hk(()=>t("div",{class:"actioner-container_header"},[t("span",null," \u8FD0\u884C\u8C03\u8BD5 ")],-1)),Xk={class:"actioner-container_body"},Kk=["value"],Qk={class:"actioner-container_footer"},tx=["disabled"],ex=["disabled"],ax=P({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(e){const a=e,o=y(!1),n=y(""),s=y(""),c=y(""),p=()=>T(this,null,function*(){n.value+=".";try{const l=yield S.Smart.Test.Result.POST({type:"selftest",devicePath:a.task.devicePath||""});if(l.data){const{result:f,error:v}=l.data;f&&f.result&&(c.value=f.result),v&&(c.value=v)}}catch(l){l&&(c.value=l)}}),m=wt.easyInterval(p,5e3);Fe(()=>{m()});const u=()=>{o.value=!0,m(),a.close()},d=()=>T(this,null,function*(){o.value=!0;try{const l=yield S.Smart.Test.POST({type:a.task.type||"short",devicePath:a.task.devicePath||""});if(l.data){const{success:f,error:v,result:g}=l.data;v&&(s.value=v),g&&g.result&&(s.value=g.result)}}catch(l){s.value=l}finally{}});return(l,f)=>(i(),M(he,null,{default:q(()=>[t("div",Zk,[Jk,t("div",Xk,[t("textarea",{value:s.value+` -`+c.value+` -`+n.value,disabled:""},null,8,Kk)]),t("div",Qk,[t("div",{class:"close",onClick:u,disabled:o.value},"\u5173\u95ED",8,tx),o.value?E("",!0):(i(),r("div",{key:0,class:"next",onClick:d,disabled:o.value},"\u8FD0\u884C",8,ex))])])]),_:1}))}});var ox=Y(ax,[["__scopeId","data-v-3f7c551e"]]);const Nt=e=>(O("data-v-7d3ebf99"),e=e(),N(),e),nx={class:"actioner-container"},ix={class:"actioner-container_header"},rx={class:"tabs"},sx=Nt(()=>t("a",null,"\u8BBE\u5907\u4FE1\u606F",-1)),dx=[sx],ux=Nt(()=>t("a",null,"\u5C5E\u6027",-1)),lx=[ux],cx=Nt(()=>t("a",null,"\u81EA\u68C0\u65E5\u5FD7",-1)),px=[cx],fx=Nt(()=>t("a",null,"\u6269\u5C55\u4FE1\u606F",-1)),mx=[fx],vx={class:"actioner-container_body"},bx={key:0,class:"table"},gx={class:"tr"},_x=Nt(()=>t("td",{class:"td left"},"\u8BBE\u5907",-1)),hx={class:"td left"},kx={class:"tr"},xx=Nt(()=>t("td",{class:"td left"},"\u578B\u53F7",-1)),wx={class:"td left"},yx={class:"tr"},Fx=Nt(()=>t("td",{class:"td left"},"\u5E8F\u53F7",-1)),Ex={class:"td left"},Cx=["value"],$x=["value"],Dx=["value"],Bx={class:"actioner-container_footer"},Yx=["disabled"],Ax=P({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(e){const a=e,o=y(!1),n=y("info"),s=l=>{switch(n.value=l,l){case"info":break;case"attribute":u();break;case"log":m();break;case"extend":d();break}},c=()=>{o.value=!0,a.close()},p=it({log:"",attribute:"",extend:""}),m=()=>T(this,null,function*(){try{const l=yield S.Smart.Test.Result.POST({type:"selftest",devicePath:a.disk.path||""});if(l.data){const{result:f,error:v}=l.data;f&&f.result&&(p.log=f.result),v&&(p.log=v)}}catch(l){p.log=l}}),u=()=>T(this,null,function*(){try{const l=yield S.Smart.Attribute.Result.POST({devicePath:a.disk.path||""});if(l.data){const{result:f,error:v}=l.data;f&&f.result&&(p.attribute=f.result),v&&(p.attribute=v)}}catch(l){p.attribute=l}}),d=()=>T(this,null,function*(){try{const l=yield S.Smart.Extend.Result.POST({devicePath:a.disk.path||""});if(l.data){const{result:f,error:v}=l.data;f&&f.result&&(p.extend=f.result),v&&(p.extend=v)}}catch(l){p.extend=l}});return(l,f)=>(i(),M(he,null,{default:q(()=>[t("div",nx,[t("div",ix,[t("ul",rx,[t("li",{class:ot({"active cbi-tab":n.value=="info"}),onClick:f[0]||(f[0]=v=>s("info"))},dx,2),t("li",{class:ot({"active cbi-tab":n.value=="attribute"}),onClick:f[1]||(f[1]=v=>s("attribute"))},lx,2),t("li",{class:ot({"active cbi-tab":n.value=="log"}),onClick:f[2]||(f[2]=v=>s("log"))},px,2),t("li",{class:ot({"active cbi-tab":n.value=="extend"}),onClick:f[3]||(f[3]=v=>s("extend"))},mx,2)])]),t("div",vx,[n.value=="info"?(i(),r("table",bx,[t("tr",gx,[_x,t("td",hx,h(e.disk.path),1)]),t("tr",kx,[xx,t("td",wx,h(e.disk.model),1)]),t("tr",yx,[Fx,t("td",Ex,h(e.disk.serial),1)])])):n.value=="attribute"?(i(),r("textarea",{key:1,disabled:"",value:x(p).attribute},null,8,Cx)):n.value=="log"?(i(),r("textarea",{key:2,disabled:"",value:x(p).log},null,8,$x)):n.value=="extend"?(i(),r("textarea",{key:3,disabled:"",value:x(p).extend},null,8,Dx)):E("",!0)]),t("div",Bx,[t("div",{class:"close",onClick:c,disabled:o.value},"\u5173\u95ED",8,Yx)])])]),_:1}))}});var Sx=Y(Ax,[["__scopeId","data-v-7d3ebf99"]]);const zx=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=D(nk,at(Z({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Px=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=D(Wk,at(Z({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Tx=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=D(ox,at(Z({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Ix=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=D(Sx,at(Z({},e),{close:()=>{n()}})),n=()=>{a.remove()};ue(o,a)},Lx={class:"cbi-section"},Mx={class:"cbi-value"},Ox=t("label",{class:"cbi-value-title"}," \u542F\u7528 ",-1),Nx={class:"cbi-value-field"},qx={class:"cbi-checkbox"},Vx=["value"],Gx={class:"cbi-value"},jx=t("label",{class:"cbi-value-title"}," \u7535\u6E90\u6A21\u5F0F ",-1),Rx={class:"cbi-value-field"},Ux={class:"cbi-checkbox"},Wx=t("option",{value:"never"},"\u6C38\u4E0D",-1),Hx=t("option",{value:"sleep"},"\u7761\u7720",-1),Zx=t("option",{value:"standby"},"\u5F85\u673A",-1),Jx=t("option",{value:"idle"},"\u95F2\u7F6E",-1),Xx=[Wx,Hx,Zx,Jx],Kx=t("div",{class:"cbi-value-description"},[t("span",null," \u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002"),t("br"),t("span",null,".\u6C38\u8FDC-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002"),t("br"),t("span",null,".\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002"),t("br"),t("span",null,".\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002"),t("br"),t("span",null,".\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")],-1),Qx={class:"cbi-value"},tw=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09 ",-1),ew={class:"cbi-value-field"},aw={class:"cbi-checkbox"},ow=t("option",{value:0},"\u7981\u7528",-1),nw=["value"],iw=t("div",{class:"cbi-value-description"}," \u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A. ",-1),rw={class:"cbi-value"},sw=t("label",{class:"cbi-value-title"}," \u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09 ",-1),dw={class:"cbi-value-field"},uw={class:"cbi-checkbox"},lw=t("option",{value:0},"\u7981\u7528",-1),cw=["value"],pw=t("div",{class:"cbi-value-description"}," \u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A. ",-1),fw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},mw={class:"table cbi-section-table"},vw=t("thead",null,[t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u578B\u53F7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5E8F\u53F7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5BB9\u91CF"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u6E29\u5EA6"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u72B6\u6001"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u5065\u5EB7"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u64CD\u4F5C")])],-1),bw={class:"tr cbi-section-table-row"},gw={class:"td cbi-value-field"},_w={class:"td cbi-value-field"},hw={class:"td cbi-value-field"},kw={class:"td cbi-value-field"},xw={class:"td cbi-value-field"},ww={class:"td cbi-value-field"},yw={class:"td cbi-value-field"},Fw={class:"td cbi-value-field"},Ew=["onClick"],Cw=["onClick"],$w=P({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(e){const a=e,o=it(a.config),n=()=>{o.global.tmpDiff=a.config.global.tmpDiff||0,o.global.tmpMax=a.config.global.tmpMax||0,o.global.enable=a.config.global.enable||!1,o.global.powermode=a.config.global.powermode||"never",o.devices=a.config.devices||[],o.tasks=a.config.tasks||[]},s=y([]),c=()=>T(this,null,function*(){try{const l=yield S.Smart.List.GET();if(l.data){const{result:f,error:v}=l.data;f&&f.disks&&(s.value=f.disks||[])}}catch(l){}}),p=wt.easyInterval(c,5e3);Fe(()=>{p()});const m=()=>T(this,null,function*(){yield a.saveData({global:o.global,devices:a.config.devices,tasks:a.config.tasks}),n()}),u=l=>{Ix({disk:l})},d=(l,f)=>T(this,null,function*(){let v=null,g=-1;if(o.devices){for(let b=0;bT(this,null,function*(){b.tmpDiff==-1&&(b.tmpDiff=o.global.tmpDiff),b.tmpMax==-1&&(b.tmpMax=o.global.tmpMax),b.devicePath==""&&(b.devicePath=l.path);let _=[...o.devices];g>=0&&(_[g]=b);const w=new Map;_.forEach(k=>{k.devicePath!=null&&w.set(k.devicePath,null)});for(let k=0;k(i(),r(L,null,[t("fieldset",Lx,[t("div",Mx,[Ox,t("div",Nx,[t("div",qx,[z(t("input",{type:"checkbox","onUpdate:modelValue":f[0]||(f[0]=v=>x(o).global.enable=v),value:!x(o).global.enable},null,8,Vx),[[Tt,x(o).global.enable]])])])]),t("div",Gx,[jx,t("div",Rx,[t("div",Ux,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":f[1]||(f[1]=v=>x(o).global.powermode=v)},Xx,512),[[Q,x(o).global.powermode,void 0,{trim:!0}]])]),Kx])]),t("div",Qx,[tw,t("div",ew,[t("div",aw,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":f[2]||(f[2]=v=>x(o).global.tmpDiff=v)},[ow,(i(),r(L,null,G(15,v=>t("option",{value:v},h(v)+"\xB0C",9,nw)),64))],512),[[Q,x(o).global.tmpDiff,void 0,{number:!0}]])]),iw])]),t("div",rw,[sw,t("div",dw,[t("div",uw,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":f[3]||(f[3]=v=>x(o).global.tmpMax=v)},[lw,(i(),r(L,null,G(20,v=>t("option",{value:v*5},h(v*5)+"\xB0C",9,cw)),64))],512),[[Q,x(o).global.tmpMax,void 0,{number:!0}]])]),pw])])]),t("div",fw,[t("table",mw,[vw,t("tbody",null,[(i(!0),r(L,null,G(s.value,(v,g)=>(i(),r("tr",bw,[t("td",gw,[t("b",null,h(v.path),1)]),t("td",_w,[t("b",null,h(v.model),1)]),t("td",hw,[t("b",null,h(v.serial),1)]),t("td",kw,[t("b",null,h(v.sizeStr),1)]),t("td",xw,[t("b",null,h(v.temp),1)]),t("td",ww,[t("b",null,h(v.status),1)]),t("td",yw,[t("b",null,h(v.health),1)]),t("td",Fw,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:b=>d(v)},"\u7F16\u8F91",8,Ew),t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8BE6\u60C5",onClick:b=>u(v)},"\u8BE6\u60C5",8,Cw)])]))),256))])])]),t("span",{class:"cbi-page-actions control-group"},[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:"\u4FDD\u5B58\u5E76\u5E94\u7528",onClick:m})])],64))}}),Dw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Bw={class:"table cbi-section-table"},Yw=t("thead",null,[t("tr",{class:"tr cbi-section-table-titles anonymous"},[t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8BBE\u5907"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u7C7B\u578B"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u8C03\u5EA6"),t("th",{class:"th cbi-section-table-cell","data-widget":"value"},"\u529F\u80FD")])],-1),Aw={class:"tr cbi-section-table-row"},Sw={class:"td cbi-value-field"},zw={class:"td cbi-value-field"},Pw={class:"td cbi-value-field"},Tw={class:"td cbi-value-field"},Iw=["onClick"],Lw=["onClick"],Mw=P({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(e){const a=e,o=it(a.config),n=m=>{switch(m){case"short":return"\u77ED\u6682\u81EA\u68C0";case"long":return"\u957F\u65F6\u81EA\u68C0";case"conveyance":return"\u4F20\u8F93\u65F6\u81EA\u68C0";case"offline":return"\u79BB\u7EBF\u65F6\u81EA\u68C0";default:return"\u672A\u77E5"}},s=()=>{Px({config:a.config,disks:[],next:m=>T(this,null,function*(){yield a.saveData({tasks:[...o.tasks,m],global:a.config.global,devices:a.config.devices}),o.tasks=a.config.tasks||[]})})},c=m=>T(this,null,function*(){const u=[...o.tasks];u.splice(m,1),yield a.saveData({tasks:u,global:a.config.global,devices:a.config.devices}),o.tasks=a.config.tasks||[]}),p=m=>{Tx({task:m})};return(m,u)=>(i(),r(L,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:u[0]||(u[0]=d=>s())},"\u65B0\u5EFA"),t("div",Dw,[t("table",Bw,[Yw,t("tbody",null,[(i(!0),r(L,null,G(x(o).tasks,(d,l)=>(i(),r("tr",Aw,[t("td",Sw,[t("b",null,h(d.devicePath),1)]),t("td",zw,[t("b",null,h(n(d.type)),1)]),t("td",Pw,[t("b",null,h(d.month)+"/"+h(d.dayPerMonth)+"/"+h(d.hour),1)]),t("td",Tw,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u8C03\u8BD5",onClick:f=>p(d)},"\u9884\u89C8",8,Iw),t("button",{class:"cbi-button cbi-button-remove",title:"\u5220\u9664",onClick:f=>c(l)},"\u5220\u9664",8,Lw)])]))),256))])])])],64))}}),Ow={class:"cbi-section"},Nw=["value"],qw=P({setup(e){return T(this,null,function*(){let a,o;const n=y(""),s=()=>T(this,null,function*(){try{const c=yield S.Smart.Log.GET();if(c.data){const{result:p,error:m}=c.data;p&&p.result&&(n.value=p.result),m&&(n.value=m)}}catch(c){n.value=c}});return[a,o]=Oa(()=>s()),yield a,o(),(c,p)=>(i(),r("fieldset",Ow,[t("textarea",{value:n.value,disabled:""},null,8,Nw)]))})}});var Vw=Y(qw,[["__scopeId","data-v-76197cba"]]);const Gw={},jw={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},Rw=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),Uw=[Rw];function Ww(e,a){return i(),r("svg",jw,Uw)}var Ze=Y(Gw,[["render",Ww]]);const ke=e=>(O("data-v-2f7b866f"),e=e(),N(),e),Hw=["onSubmit"],Zw={class:"actioner-dns_header"},Jw={key:0},Xw={key:1},Kw={class:"actioner-dns_body"},Qw={class:"label-item"},ty=ke(()=>t("div",{class:"label-item_key"},[t("span",null,"\u540D\u79F0")],-1)),ey={class:"label-item_value"},ay={class:"label-item"},oy=ke(()=>t("div",{class:"label-item_key"},[t("span",null,"\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")],-1)),ny={class:"label-item_value"},iy=ke(()=>t("option",{value:"dhcp"},"DHCP\u5BA2\u6237\u7AEF",-1)),ry={key:0,value:"pppoe"},sy=ke(()=>t("option",{value:"static"},"\u9759\u6001\u5730\u5740",-1)),dy={class:"actioner-dns_footer"},uy=["disabled"],ly=P({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(e){const a=e,o=y(!1),n=y(a.inface),s=()=>T(this,null,function*(){F.Loading("\u914D\u7F6E\u4E2D...").Close(),a.next(n.value),c()}),c=()=>{a.Close&&a.Close()};return(p,m)=>(i(),M(et,{Close:e.Close,type:1},{default:q(()=>[t("form",{class:"actioner-dns",onSubmit:nt(s,["prevent"])},[t("div",Zw,[e.name=="wan"?(i(),r("span",Jw,h(e.e=="edit"?"\u7F16\u8F91WAN":"\u6DFB\u52A0WAN"),1)):(i(),r("span",Xw,h(e.e=="edit"?"\u7F16\u8F91LAN":"\u6DFB\u52A0LAN"),1))]),t("div",Kw,[t("div",Qw,[ty,t("div",ey,[t("span",null,h(n.value.name.toLocaleUpperCase()),1)])]),t("div",ay,[oy,t("div",ny,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=u=>n.value.proto=u)},[iy,e.name=="wan"?(i(),r("option",ry,"PPPoE")):E("",!0),sy],512),[[Q,n.value.proto]])])])]),t("div",dy,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:o.value},"\u4FDD\u5B58",8,uy),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c},"\u53D6\u6D88")])],40,Hw)]),_:1},8,["Close"]))}});var cy=Y(ly,[["__scopeId","data-v-2f7b866f"]]);const Je=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(cy,at(Z({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()}},bt=e=>(O("data-v-589588f0"),e=e(),N(),e),py={id:"page"},fy=bt(()=>t("h2",{name:"content"}," \u7F51\u53E3\u914D\u7F6E",-1)),my={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},vy={class:"table cbi-section-table"},by={width:"200"},gy=bt(()=>t("col",null,null,-1)),_y=bt(()=>t("col",null,null,-1)),hy=bt(()=>t("col",{width:"200"},null,-1)),ky={class:"tr cbi-section-table-cell"},xy={class:"th cbi-section-table-cell interface-device","data-widget":"value"},wy={class:"interface-device-flex"},yy=bt(()=>t("th",{style:{width:"10px"}},null,-1)),Fy=bt(()=>t("th",{style:{width:"32px"}},null,-1)),Ey=bt(()=>t("th",null,null,-1)),Cy={class:"tr cbi-section-table-row cbi-rowstyle-1"},$y={class:"td cbi-value-field interface-device info"},Dy=["name","value","onUpdate:modelValue","onInput"],By=bt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Yy={class:"td cbi-value-field"},Ay={class:"td cbi-value-field btns"},Sy=["onClick"],zy=["onClick"],Py={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ty={class:"td cbi-value-field"},Iy=bt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ly=bt(()=>t("td",{class:"td cbi-value-field"},null,-1)),My={class:"tr cbi-section-table-row cbi-rowstyle-1"},Oy={class:"td cbi-value-field interface-device info","data-widget":"value"},Ny=["name","value","onUpdate:modelValue","onInput"],qy=bt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Vy={class:"td cbi-value-field"},Gy={class:"td cbi-value-field btns"},jy=["onClick"],Ry=["onClick"],Uy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Wy={class:"td cbi-value-field"},Hy=bt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Zy=bt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Jy={class:"cbi-page-actions control-group"},Xy=["disabled"],Ky=P({setup(e){const a=it({devices:[],interfaces:[]}),o=y(!1),n=it({lan:[],wan:[]});(()=>{S.Network.GetInterfaceConfig.GET().then(f=>{if(f.data){const{result:v}=f.data;if(v){a.devices=v.devices||[],a.interfaces=v.interfaces||[];for(let g=0;g{f=="wan"?n.wan.splice(v,1):f=="lan"&&n.lan.splice(v,1)},p=(f,v)=>{if(v==null){let g=f=="wan"?n.wan.length:n.lan.length;g==6&&f=="wan"&&g++,Je({e:"add",name:f,inface:{name:f+`${g}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:f},next:b=>{f=="wan"?n.wan.push(b):n.lan.push(b),F.Message("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570")}})}else Je({e:"edit",name:f,inface:f=="wan"?n.wan[v]:n.lan[v],next:g=>{f=="wan"?n.wan[v]=g:n.lan[v]=g}})},m=(f,v)=>f?f.indexOf(v):-1,u=(f,v)=>{const b=f.target.value;for(let w=0;w{const b=f.target.value;for(let _=0;_T(this,null,function*(){o.value=!0;const f=[];for(let g=0;g(i(),r("div",py,[fy,t("div",null,[t("div",my,[t("table",vy,[t("colgroup",null,[(i(!0),r(L,null,G(x(a).devices,g=>(i(),r("col",by))),256)),gy,_y,hy]),t("thead",null,[t("tr",ky,[(i(!0),r(L,null,G(x(a).devices,g=>(i(),r("th",xy,[t("div",wy,[D(na,{item:g},null,8,["item"])])]))),256)),yy,Fy,Ey])]),t("tbody",null,[(i(!0),r(L,null,G(x(n).lan,(g,b)=>(i(),r("tr",Cy,[(i(!0),r(L,null,G(x(a).devices,_=>(i(),r("td",$y,[z(t("input",{type:"checkbox",name:_.name,value:_.name,"onUpdate:modelValue":w=>g.deviceNames=w,onInput:w=>u(w,b)},null,40,Dy),[[Tt,g.deviceNames]])]))),256)),By,t("td",Yy,[t("b",null,h(g.name),1)]),t("td",Ay,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:_=>p("lan",b)},"\u7F16\u8F91",8,Sy),b!=0?(i(),r("button",{key:0,class:"cbi-button cbi-button-remove",onClick:_=>c("lan",b)},"\u5220\u9664 ",8,zy)):E("",!0)])]))),256)),t("tr",Py,[(i(!0),r(L,null,G(x(a).devices,g=>(i(),r("td",Ty))),256)),Iy,Ly,t("td",{class:"td cbi-value-field btns",onClick:v[0]||(v[0]=g=>p("lan"))},[D(Ze,{class:"icon"})])]),(i(!0),r(L,null,G(x(n).wan,(g,b)=>(i(),r("tr",My,[(i(!0),r(L,null,G(x(a).devices,_=>(i(),r("td",Oy,[z(t("input",{type:"checkbox",name:_.name,value:_.name,"onUpdate:modelValue":w=>g.deviceNames=w,onInput:w=>d(w,b)},null,40,Ny),[[Tt,g.deviceNames]])]))),256)),qy,t("td",Vy,[t("b",null,h(g.name),1)]),t("td",Gy,[t("button",{class:"btn cbi-button cbi-button-apply",title:"\u7F16\u8F91",onClick:_=>p("wan",b)},"\u7F16\u8F91",8,jy),b!=0?(i(),r("button",{key:0,class:"cbi-button cbi-button-remove",onClick:_=>c("wan",b)},"\u5220\u9664",8,Ry)):E("",!0)])]))),256)),t("tr",Uy,[(i(!0),r(L,null,G(x(a).devices,g=>(i(),r("td",Wy))),256)),Hy,Zy,t("td",{class:"td cbi-value-field btns",onClick:v[1]||(v[1]=g=>p("wan"))},[D(Ze,{class:"icon"})])])])])]),t("div",Jy,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:"\u4FDD\u5B58\u5E76\u5E94\u7528",onClick:l,disabled:o.value},null,8,Xy)])])]))}});var Qy=Y(Ky,[["__scopeId","data-v-589588f0"]]);const tF=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",ha=Na({history:qa(tF()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:u9},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:p9,children:[{path:"",component:Z9},{path:"pppoe",component:yv},{path:"dhcp",component:mb},{path:"gateway",component:ng}]},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:wh},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:Bh,children:[{path:"",component:$w},{path:"task",component:Mw},{path:"log",component:Vw}]},{path:"/interfaceconfig",component:Qy}]});ha.beforeEach((e,a)=>(e.meta.title,!0));const ut=tt(io);ut.component("svg-menu",fo);ut.component("svg-system",ho);ut.component("svg-download",Eo);ut.component("svg-store",zo);ut.component("svg-info",Oo);ut.component("svg-disk",ln);ut.component("svg-nav",bn);ut.component("progress-item",ta);ut.component("svg-view-show",Nn);ut.component("svg-view-hidden",Un);ut.component("article-item",Qn);ut.component("switch-box",ea);ut.component("editable-select",Pt);ut.use(aa);ut.use(ha);ut.use(Va());ut.mount("#app")});export default eF(); +var Ve=Object.defineProperty,Ge=Object.defineProperties;var je=Object.getOwnPropertyDescriptors;var _e=Object.getOwnPropertySymbols;var Re=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var Qt=(o,a,n)=>a in o?Ve(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,X=(o,a)=>{for(var n in a||(a={}))Re.call(a,n)&&Qt(o,n,a[n]);if(_e)for(var n of _e(a))Ue.call(a,n)&&Qt(o,n,a[n]);return o},nt=(o,a)=>Ge(o,je(a));var He=(o,a)=>()=>(a||o((a={exports:{}}).exports,a),a.exports);var Tt=(o,a,n)=>(Qt(o,typeof a!="symbol"?a+"":a,n),n);var M=(o,a,n)=>new Promise((l,d)=>{var r=_=>{try{x(n.next(_))}catch(b){d(b)}},p=_=>{try{x(n.throw(_))}catch(b){d(b)}},x=_=>_.done?l(_.value):Promise.resolve(_.value).then(r,p);x((n=n.apply(o,a)).next())});import{a as We,c as Ze,d as Ot,b as I,e as U,u as e,o as s,f as u,g as t,t as i,n as Yt,h as D,i as A,r as K,j as rt,k as wt,w as L,v as Ct,l as Je,m as V,p as G,q as E,s as Xe,x as _t,y as tt,F as N,z as R,A as H,B as $t,C as W,D as Z,E as Ke,G as St,H as Qe,I as ta,J as ea,K as aa,L as oa,M as na,N as ia,O as st,T as ft,P as et,Q as ra,R as dt,S as bt,U as at,V as lt,W as Nt,X as ae,Y as sa,Z as da,_ as Ut,$ as ua,a0 as la,a1 as ca,a2 as pa}from"./vendor.js?v=db9353c3";var Wy=He(At=>{const ma=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))l(d);new MutationObserver(d=>{for(const r of d)if(r.type==="childList")for(const p of r.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&l(p)}).observe(document,{childList:!0,subtree:!0});function n(d){const r={};return d.integrity&&(r.integrity=d.integrity),d.referrerpolicy&&(r.referrerPolicy=d.referrerpolicy),d.crossorigin==="use-credentials"?r.credentials="include":d.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function l(d){if(d.ep)return;d.ep=!0;const r=n(d);fetch(d.href,r)}};ma();const vt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},fa=o=>M(At,null,function*(){const a=window.vue_lang;new Date().getTime();let n={};try{const r=yield We({url:window.vue_lang_data,method:"GET"});r.data&&(n=r.data)}catch(r){console.log(r)}const l=Ze({defaultLanguage:a,mutedLanguages:["zh-cn"],translations:n,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(l),vt.language=l;const{$gettext:d}=l;window.$i18n=d;try{vt.numberFormat=new Intl.NumberFormat(a,{notation:"compact"})}catch(r){console.error("Intl.NumberFormat unsupported lang",a,r)}}),q=()=>{if(vt.language)return vt.language;throw new Error("I18N Uninitialized!")},Ht=()=>({$gettext:(o,a,n)=>{if(vt.language)return vt.language.$gettext(o,a,n);throw new Error("I18N Uninitialized!")},$ngettext:(o,a,n,l,d)=>{if(vt.language)return vt.language.$ngettext(o,a,n,l,d);throw new Error("I18N Uninitialized!")}}),Vt=o=>typeof o=="number"?vt.numberFormat.format(o):"?",{$gettext:va,$ngettext:Xy}=Ht(),ba=(o,a)=>M(At,null,function*(){return new Promise((n,l)=>M(At,null,function*(){try{const d=yield fetch(o,a);if(Math.floor(d.status/100)!=2)throw d.status+" "+d.statusText;const r=X({},d);r.data=yield d.json(),n(r)}catch(d){const r=d;l(va("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((r==null?void 0:r.message)||d))}}))});class oe{constructor(a){Tt(this,"config",{baseURL:"",headers:{}});Tt(this,"useRequest",a=>a);Tt(this,"useResponse",a=>a);Tt(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new oe(a)}Do(a,n){return M(this,null,function*(){return new Promise((l,d)=>M(this,null,function*(){try{const r=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${r.baseURL||""}${a}`,n.headers==null&&(n.headers={}),r.headers&&(n.headers=X({},r.headers));const x=yield fetch(a,n),_=X({},x);_.data=yield x.json(),l(this.useResponse(_))}catch(r){this.useError(r),d(r)}}))})}TEXT(a,n){return M(this,null,function*(){return new Promise((l,d)=>M(this,null,function*(){try{const r=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${r.baseURL||""}${a}`,n.headers==null&&(n.headers={}),r.headers&&(n.headers=X({},r.headers));const x=yield fetch(a,n),_=X({},x);_.data=yield x.text(),l(_)}catch(r){this.useError(r),d(r)}}))})}interceptors(){const a=this;return{requset:{use(n){a.useRequest=n}},response:{use(n,l){a.useResponse=n,l&&(a.useError=l)}}}}}const Ce=oe.create({});Ce.interceptors().requset.use(o=>o);Ce.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:ga,$ngettext:Ky}=Ht(),_a="/cgi-bin/luci/istore";let he=!1;const O=(o,a)=>(o.indexOf("//")==-1&&(o=`${_a}${o}`),ba(o,a).then(n=>(n!=null&&n.data&&n.data.success==-1001&&n.data.error=="Forbidden"&&(he||(he=!0,alert(ga("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),n))),ha={Statistics:{GET(){return O("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return O("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return O("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return O("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return O("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return O("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return O("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return O("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},xa={Version:{GET(){return O("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return O("/system/check-update/",{method:"GET"})}},Reboot:{POST(o){return O("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return O("/system/status/",{method:"GET"})}}},ka={Disk:{Status:{GET(){return O("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return O("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>O("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>O("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>O("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>O("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return O("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return O("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return O("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return O("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return O("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return O("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return O("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return O("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return O("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return O("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return O("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},wa={Check:{POST(o){return O("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return O("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},ya={Pppoe:{GET(){return O("/guide/pppoe/",{method:"GET"})},POST(o){return O("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return O("/guide/dns-config/",{method:"GET"})},POST(o){return O("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return O("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return O("/guide/client-mode/",{method:"GET"})},POST(o){return O("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return O("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return O("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return O("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return O("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return O("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return O("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return O("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return O("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return O("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return O("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return O("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return O("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return O("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return O("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return O("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return O("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return O("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return O("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return O("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return O("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Fa={Create:{POST(o){return O("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return O("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return O("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return O("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return O("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return O("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return O("/raid/list/",{method:"GET"})}},CreateList:{GET(){return O("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return O("/raid/autofix/",{method:"GET"})}}},Ea={Log:{GET(){return O("/smart/log/",{method:"GET"})}},List:{GET(){return O("/u/smart/list/",{method:"GET"})}},Config:{GET(){return O("/smart/config/",{method:"GET"})},POST(o){return O("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return O("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return O("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return O("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return O("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}};var Ca=Object.freeze(Object.defineProperty({__proto__:null,Network:ha,System:xa,Nas:ka,App:wa,Guide:ya,Raid:Fa,Smart:Ea},Symbol.toStringTag,{value:"Module"})),P=X({},Ca);const $e=Ot("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});Ot("guide",{});const De=Ot("nas",{state:()=>({webdav:{}})}),Wt=Ot("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){P.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:a}=o==null?void 0:o.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),ne=Ot("system",{state:()=>({version:{},checkUpdate:null,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){P.System.Version.GET().then(o=>{var a;(a=o==null?void 0:o.data)!=null&&a.result&&(this.version=o.data.result)})},requestCheckUpdate(){P.System.CheckUpdate.GET().then(o=>{var a;(a=o==null?void 0:o.data)!=null&&a.result&&(this.checkUpdate=o.data.result)})},updateSystemStatus(o){this.systemStatus=o}}});let xe=!1;const $a=()=>{if(xe)return;xe=!0;let o=!0,a=!0;const n=Wt(),l=ne(),d=function(){return(!o&&document.hidden?Promise.resolve():P.System.Status.GET().then(p=>{p!=null&&p.data.result&&l.updateSystemStatus(p.data.result)})).finally(()=>{setTimeout(d,5e3),o&&(setInterval(()=>{l.incrTime()},1e3),o=!1)})},r=function(){return(!a&&document.hidden?Promise.resolve():P.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:x}=p==null?void 0:p.data;x&&n.updateNetworkStatus(x)}})).finally(()=>{setTimeout(r,5e3),a&&(setInterval(()=>{n.incrTime()},1e3),a=!1)})};r(),n.requestDeviceList(),setTimeout(()=>{l.requestCheckUpdate(),l.requestVersion(),d()},1100)};var S=(o,a)=>{const n=o.__vccOpts||o;for(const[l,d]of a)n[l]=d;return n};const Da=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=$e(),d=U(()=>l.portitemStyle.portitem),r=U(()=>l.portitemStyle.show),p=U(()=>({bottom:`calc(100% - ${l.portitemStyle.top}px)`,left:`${l.portitemStyle.left}px`})),x=m=>{switch(m){case"full":return a("\u5168\u53CC\u5DE5");case"half":return a("\u534A\u53CC\u5DE5")}},_=m=>{l.portitemStyle.show=!0},b=m=>{l.portitemStyle.show=!1};return(m,c)=>e(r)?(s(),u("div",{key:0,class:"disk-item-tooltip",style:Yt(e(p)),onMouseenter:_,onMouseleave:b},[t("div",null,i(x(e(d).duplex)),1),t("div",null,i(e(a)("\u540D\u79F0\uFF1A"))+i(e(d).name||"--"),1),t("div",null,i(e(a)("MAC\uFF1A"))+i(e(d).macAddress||"--"),1),t("div",null,i(e(a)("\u63A5\u6536\uFF1A"))+i(e(d).rx_packets||"--"),1),t("div",null,i(e(a)("\u53D1\u9001\uFF1A"))+i(e(d).tx_packets||"--"),1)],36)):D("",!0)}});var Ba=S(Da,[["__scopeId","data-v-0698ba82"]]);const Ya={id:"main"},Aa=I({setup(o){return(a,n)=>{const l=K("router-view");return s(),u("div",Ya,[A(l),A(Ba)])}}});var Sa=S(Aa,[["__scopeId","data-v-9bc295c2"]]);const za={},Pa={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},Ta=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),La=t("path",{d:"M562.0736 588.8h295.2192c64.9216 0 118.0672 53.1456 118.0672 118.0672v177.152c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152c-64.9216 0-118.0672-53.1456-118.0672-118.0672V588.8z m0 0","p-id":"54872"},null,-1),Ia=[Ta,La];function Ma(o,a){return s(),u("svg",Pa,Ia)}var Oa=S(za,[["render",Ma]]);const Na={},qa={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},Va=t("path",{d:"M984.177778 432.355556l-45.511111 0c-22.755556 0-45.511111-17.066667-51.2-39.822222l-28.444444-68.266667C847.644444 312.888889 853.333333 284.444444 870.4 267.377778l34.133333-34.133333c17.066667-17.066667 17.066667-39.822222 0-56.888889l-56.888889-56.888889c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-34.133333 34.133333C739.555556 170.666667 711.111111 176.355556 694.044444 164.977778L625.777778 136.533333c-22.755556-5.688889-39.822222-28.444444-39.822222-51.2L585.955556 39.822222c0-22.755556-17.066667-39.822222-39.822222-39.822222L472.177778 0C449.422222 0 432.355556 17.066667 432.355556 39.822222l0 45.511111c0 22.755556-17.066667 45.511111-39.822222 51.2L329.955556 164.977778C312.888889 176.355556 284.444444 170.666667 267.377778 153.6L233.244444 119.466667c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-56.888889 56.888889c-17.066667 17.066667-17.066667 39.822222 0 56.888889l34.133333 34.133333C170.666667 284.444444 176.355556 312.888889 164.977778 329.955556L136.533333 398.222222C130.844444 415.288889 108.088889 432.355556 85.333333 432.355556l-45.511111 0C17.066667 432.355556 0 449.422222 0 472.177778l0 79.644444c0 22.755556 17.066667 39.822222 39.822222 39.822222l45.511111 0c22.755556 0 45.511111 17.066667 51.2 39.822222l28.444444 68.266667C176.355556 711.111111 170.666667 739.555556 153.6 756.622222l-34.133333 34.133333c-17.066667 17.066667-17.066667 39.822222 0 56.888889l56.888889 56.888889c17.066667 17.066667 39.822222 17.066667 56.888889 0l34.133333-34.133333C284.444444 853.333333 312.888889 847.644444 329.955556 859.022222L398.222222 887.466667c22.755556 5.688889 39.822222 28.444444 39.822222 51.2l0 45.511111c0 22.755556 17.066667 39.822222 39.822222 39.822222l79.644444 0c22.755556 0 39.822222-17.066667 39.822222-39.822222l0-45.511111c0-22.755556 17.066667-45.511111 39.822222-51.2l68.266667-28.444444c17.066667-11.377778 45.511111-5.688889 62.577778 11.377778l34.133333 34.133333c17.066667 17.066667 39.822222 17.066667 56.888889 0l56.888889-56.888889c17.066667-17.066667 17.066667-39.822222 0-56.888889l-34.133333-34.133333c-17.066667-17.066667-17.066667-45.511111-11.377778-62.577778l28.444444-68.266667c5.688889-22.755556 28.444444-39.822222 51.2-39.822222l45.511111 0c22.755556 0 39.822222-17.066667 39.822222-39.822222L1035.377778 472.177778C1024 449.422222 1006.933333 432.355556 984.177778 432.355556L984.177778 432.355556zM711.111111 512c0 108.088889-91.022222 199.111111-199.111111 199.111111-108.088889 0-199.111111-85.333333-199.111111-199.111111 0-108.088889 85.333333-199.111111 199.111111-199.111111C620.088889 312.888889 711.111111 403.911111 711.111111 512L711.111111 512zM711.111111 512","p-id":"65342"},null,-1),Ga=[Va];function ja(o,a){return s(),u("svg",qa,Ga)}var Ra=S(Na,[["render",ja]]);const Ua={},Ha={t:"1640599890701",class:"icon",viewBox:"0 0 1565 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"76947",width:"128",height:"128"},Wa=t("path",{d:"M1206.477959 299.331595c-27.357038 0-53.867311 3.354494-79.465683 9.151581C1078.518669 130.792698 916.428217 0 723.365689 0 492.068443 0 304.575027 187.493416 304.575027 418.790662c0 16.055976 1.074741 31.786273 2.865975 47.386299-9.184149-0.911901-18.400865-1.40042-27.812989-1.40042C125.191018 464.743973 0 589.934991 0 744.371987c0 154.469563 125.191018 279.628013 279.595446 279.628013 59.990077 0 221.233764 0 394.527575 0l0-302.295274L496.986197 721.704726l285.457668-339.031868 285.457668 339.031868-177.136823 0 0 302.295274c139.748871 0 262.204185 0 315.71325 0 197.947713 0 358.40977-168.34349 358.40977-366.291203S1404.425673 299.331595 1206.477959 299.331595z","p-id":"76948"},null,-1),Za=[Wa];function Ja(o,a){return s(),u("svg",Ha,Za)}var Xa=S(Ua,[["render",Ja]]);const Ka={},Qa={t:"1640599792937",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"68605",width:"128",height:"128"},to=t("path",{d:"M512 825.6c-211.2 0-377.6-57.6-377.6-128l0 0L134.4 896l0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0 0-204.8 0 0C889.6 768 723.2 825.6 512 825.6L512 825.6z","p-id":"68606"},null,-1),eo=t("path",{d:"M512 544c-211.2 0-377.6-57.6-377.6-128l0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 416l0 0C889.6 486.4 723.2 544 512 544L512 544z","p-id":"68607"},null,-1),ao=t("path",{d:"M889.6 128 889.6 128c0-70.4-166.4-128-377.6-128C300.8 0 134.4 57.6 134.4 128l0 0 0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 128 889.6 128 889.6 128zM512 217.6c-153.6 0-281.6-44.8-281.6-96 0-51.2 128-96 281.6-96 153.6 0 281.6 44.8 281.6 96C793.6 179.2 665.6 217.6 512 217.6L512 217.6z","p-id":"68608"},null,-1),oo=[to,eo,ao];function no(o,a){return s(),u("svg",Qa,oo)}var io=S(Ka,[["render",no]]);const ro={},so={t:"1640575557247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4211",width:"128",height:"128"},uo=t("path",{d:"M560 800l-10.464-416h-75.072L464 800h96z m-14.144-493.984c9.44-9.312 14.144-20.672 14.144-34.016 0-13.6-4.704-24.992-14.144-34.208A46.784 46.784 0 0 0 512 224c-13.12 0-24.448 4.608-33.856 13.792A45.856 45.856 0 0 0 464 272c0 13.344 4.704 24.704 14.144 34.016 9.408 9.312 20.704 13.984 33.856 13.984 13.12 0 24.448-4.672 33.856-13.984zM512 32C246.912 32 32 246.912 32 512c0 265.088 214.912 480 480 480 265.088 0 480-214.912 480-480 0-265.088-214.912-480-480-480z m0 64c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z","p-id":"4212"},null,-1),lo=[uo];function co(o,a){return s(),u("svg",so,lo)}var po=S(ro,[["render",co]]);const mo={},fo={t:"1640681742480",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"80687",width:"128",height:"128"},vo=t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"80688"},null,-1),bo=t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"80689"},null,-1),go=t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"80690"},null,-1),_o=t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"80691"},null,-1),ho=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),xo=t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"80693"},null,-1),ko=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),wo=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),yo=t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"80696"},null,-1),Fo=t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"80697"},null,-1),Eo=t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80698"},null,-1),Co=t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80699"},null,-1),$o=t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80700"},null,-1),Do=t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80701"},null,-1),Bo=t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80702"},null,-1),Yo=t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"80703"},null,-1),Ao=t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"80704"},null,-1),So=t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"80705"},null,-1),zo=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),Po=[vo,bo,go,_o,ho,xo,ko,wo,yo,Fo,Eo,Co,$o,Do,Bo,Yo,Ao,So,zo];function To(o,a){return s(),u("svg",fo,Po)}var Lo=S(mo,[["render",To]]);const Io={},Mo={t:"1640775712185",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2996",width:"128",height:"128"},Oo=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),No=[Oo];function qo(o,a){return s(),u("svg",Mo,No)}var Vo=S(Io,[["render",qo]]);const Go={class:"progress"},jo=I({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const a=o,n=U(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(l,d)=>(s(),u("div",Go,[t("div",{class:rt(["progress-value",`${o.value>50}`]),style:Yt({width:`${o.value}%`,backgroundColor:e(n)})},[t("span",null,i(o.text),1)],6),wt(l.$slots,"default",{},void 0,!0)]))}});var Be=S(jo,[["__scopeId","data-v-733828e1"]]);const Ro={},Uo={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},Ho=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),Wo=[Ho];function Zo(o,a){return s(),u("svg",Uo,Wo)}var Jo=S(Ro,[["render",Zo]]);const Xo={},Ko={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},Qo=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),tn=[Qo];function en(o,a){return s(),u("svg",Ko,tn)}var an=S(Xo,[["render",en]]);const on={class:"checkbox_switch"},nn={class:"checkbox_switch_on"},rn={class:"checkbox_switch_off"},sn=I({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,l=U({get:()=>n.modelValue.valueOf(),set:d=>a("update:modelValue",d)});return(d,r)=>(s(),u("label",on,[L(t("input",{type:"checkbox","onUpdate:modelValue":r[0]||(r[0]=p=>Je(l)?l.value=p:null)},null,512),[[Ct,e(l)]]),t("span",nn,[A(Jo)]),t("span",rn,[A(an)]),wt(d.$slots,"default",{},void 0,!0)]))}});var Ye=S(sn,[["__scopeId","data-v-2c8b6a70"]]);const dn={},un={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},ln=t("path",{d:"M757.76 637.44l-218.88 245.76c-14.72 16.64-40.32 16.64-54.4 0L265.6 637.44C244.48 613.76 261.12 576 293.12 576l437.76 0C762.24 576 779.52 613.76 757.76 637.44z","p-id":"7686"},null,-1),cn=[ln];function pn(o,a){return s(),u("svg",un,cn)}var mn=S(dn,[["render",pn]]);const fn={},vn={t:"1641369492518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7831",width:"128",height:"128"},bn=t("path",{d:"M758.4 385.92 539.52 140.16c-14.72-16.64-40.32-16.64-54.4 0L266.24 385.92C244.48 409.6 261.76 448 293.12 448l437.76 0C762.88 448 779.52 409.6 758.4 385.92z","p-id":"7832"},null,-1),gn=[bn];function _n(o,a){return s(),u("svg",vn,gn)}var hn=S(fn,[["render",_n]]);const xn={};function kn(o,a){return s(),u("article",null,[wt(o.$slots,"default",{},void 0,!0)])}var wn=S(xn,[["render",kn],["__scopeId","data-v-bd286d4e"]]);const yn={class:"cover"},Fn={class:"thumbnail"},En=I({emits:["click"],setup(o,{emit:a}){const n=()=>{a("click")};return(l,d)=>(s(),V(wn,null,{default:G(()=>[t("a",{onClick:n},[t("div",yn,[t("div",Fn,[wt(l.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Cn=S(En,[["__scopeId","data-v-123deb20"]]);const $n={class:"select-editable"},Dn={selected:"",value:""},Bn=["value"],Yn={value:"useInput"},An=["placeholder"],Sn=I({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,{$gettext:l,$ngettext:d}=q(),r=E(""),p=E(""),x=U({get:()=>n.modelValue.valueOf(),set:c=>a("update:modelValue",c)}),_=c=>{c===r.value||r.value==="useInput"&&c===p.value||(c===""||n.options.some(f=>f.key===c)?r.value=c:(p.value=c,r.value="useInput"))};Xe(()=>n.modelValue,c=>{_(c)}),_t(()=>{const c=x.value;_(c)});const b=c=>{r.value==="useInput"?x.value=p.value:x.value=r.value},m=c=>{x.value=p.value};return(c,f)=>(s(),u("label",null,[t("div",$n,[L(t("select",{"onUpdate:modelValue":f[0]||(f[0]=v=>r.value=v),autocomplete:"off",onChange:b},[t("option",Dn,i(e(l)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(s(!0),u(N,null,R(o.options,(v,g)=>(s(),u("option",{value:v.key,key:g},i(v.value||v.key),9,Bn))),128)),t("option",Yn,i(e(l)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[tt,r.value,void 0,{trim:!0}]]),r.value=="useInput"?L((s(),u("input",{key:0,type:"text","onUpdate:modelValue":f[1]||(f[1]=v=>p.value=v),required:"",placeholder:e(l)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:m},null,40,An)),[[H,p.value,void 0,{trim:!0}]]):D("",!0)])]))}});var Et=S(Sn,[["__scopeId","data-v-0b6f3a7d"]]);const zn={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},Pn=I({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const a=n=>{if(n==null)return;if(typeof n=="number")return n+"px";const l=n.toString();return parseInt(l)+""==l?l+"px":l};return(n,l)=>(s(),u("div",{class:"quick-loading",style:Yt({width:a(o.size),height:a(o.size)})},[(s(),u("svg",zn,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:Yt({fill:o.color})},null,4)]))],4))}});var Tn=S(Pn,[["__scopeId","data-v-0ec4e762"]]);const Ln={},In={t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},Mn=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),On=[Mn];function Nn(o,a){return s(),u("svg",In,On)}var qn=S(Ln,[["render",Nn]]);const Vn={},Gn={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},jn=$t('',1),Rn=[jn];function Un(o,a){return s(),u("svg",Gn,Rn)}var Hn=S(Vn,[["render",Un]]);const Wn=o=>(W("data-v-b934e2ce"),o=o(),Z(),o),Zn=["href","title"],Jn=Wn(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),Xn=[Jn],Kn=I({props:{type:null},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{switch(a.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(r,p)=>(s(),u("a",{href:e(d),target:"_blank",title:e(n)("\u8DF3\u8F6C\u6559\u7A0B")},Xn,8,Zn))}});var Qn=S(Kn,[["__scopeId","data-v-b934e2ce"]]),Ae={install:o=>{o.component("icon-loading",Tn),o.component("icon-success",qn),o.component("icon-error",Hn),o.component("GlHelp",Qn)}};const{$gettext:Lt,$ngettext:Gt}=Ht(),ti=o=>{},ei=()=>new Date().getTime(),ai=o=>{if(o<1e3)return`${o} B`;let n=1e3,l=0;for(let p=o/1e3;p>=1e3;p/=1e3)n*=1e3,l++;let d=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(n/100)).toFixed(1)+d[l]},oi=o=>{if(o==null)return 0;if(o<1e4)return o;let n=parseInt(`${o/1e4}`),l=o%1e4;return`${n}\u4E07${l}`},ni=o=>{if(o)try{var a=new Date(o),n=a.getHours(),l=a.getMinutes(),d=a.getSeconds();return n<10&&(n=`0${n}`),l<10&&(l=`0${l}`),d<10&&(d=`0${d}`),`${n}:${l}:${d}`}catch(r){}return""},ii=o=>{if(o){let a=Math.floor(o/86400),n=Math.floor(o/3600)%24,l=Math.floor(o/60)%60,d=o%60;return(a>0?Gt("%{ days }\u5929","%{ days }\u5929",a,{days:Vt(a)}):"")+Gt("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",n,{hours:Vt(n)})+Gt("%{ minutes }\u5206","%{ minutes }\u5206",l,{minutes:Vt(l)})+Gt("%{ seconds }\u79D2","%{ seconds }\u79D2",d,{seconds:Vt(d)})}},ri=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),si=o=>o.length<3?Lt("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?Lt("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?Lt("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?Lt("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:Lt("\u975E\u6CD5\u7684\u7528\u6237\u540D"),di=(o,a)=>{let n=!0,l=null;const d=()=>{l=null,n&&o().finally(()=>{n&&(l=setTimeout(d,a))})};return l=setTimeout(d,0),()=>{n=!1,l!=null&&clearTimeout(l)}};var ui=Object.freeze(Object.defineProperty({__proto__:null,formatDate:ti,UnixDate:ei,byteToSize:ai,numberToSum:oi,dateForm:ni,stampForm:ii,checkIsIP:ri,checkSmabaUserName:si,easyInterval:di},Symbol.toStringTag,{value:"Module"})),gt=X({},ui);const li=()=>{var a;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(a=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&a.matches?"dark":"light"},ci=()=>li()=="dark",pi={class:"flow"},mi={class:"flow-data"},fi={key:0},vi={key:1},bi=I({setup(o){const{$gettext:a,$ngettext:n}=q();Ke([Qe,ta,ea,aa,oa,na]);const l=E(),d=k=>{var w;const h=(w=l.value)==null?void 0:w[k];return!h||h.startTime==0?"":m(h.startTime*1e3)+"-"+m(h.endTime*1e3)},r=U(()=>{var h;let k=[];return(h=l.value)==null||h.forEach(w=>{k.push({value:w.uploadSpeed})}),k}),p=U(()=>{var h;let k=[];return(h=l.value)==null||h.forEach(w=>{k.push({value:w.downloadSpeed})}),k}),x=U(()=>{var h;let k="";if(l.value){let w=((h=l.value)==null?void 0:h.length)||0;if(w>0){let y=l.value[w-1];k=c(y.uploadSpeed)+"/s"}}return k}),_=U(()=>{var h;let k="";if(l.value){let w=((h=l.value)==null?void 0:h.length)||0;if(w>0){let y=l.value[w-1];k=c(y.downloadSpeed)+"/s"}}return k});U(()=>{var h;let k=[];return(h=l.value)==null||h.forEach(w=>{k.push({value:w.downloadSpeed+w.uploadSpeed})}),k});const b=()=>M(this,null,function*(){var k;try{const h=yield P.Network.Statistics.GET();if(h.data&&(k=h.data.result)!=null&&k.items){const w=h.data.result.slots||10;if(h.data.result.items.lengthw?l.value=h.data.result.items.slice(w-h.data.result.items.length):l.value=h.data.result.items}}catch(h){console.log(h)}}),m=gt.dateForm,c=gt.byteToSize,f=E();let v=null;const g=k=>{const h=ci();return v=ia(k,h?"dark":"light"),v.setOption({animation:!1,backgroundColor:h?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:w=>{if(Array.isArray(w)){let y="";w.length>0&&(y=d(w[0].axisValue));for(let F=0;F${w[F].seriesName}: ${c(w[F].value)}/s`;return y.toString()}else{const y=w;return`${d(y.axisValue)}
${y.seriesName}: ${c(y.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(w,y){return`${c(w)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:p.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:r.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:h?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),v};return _t(()=>{setTimeout(()=>M(this,null,function*(){if(f.value){yield b();const k=g(f.value),h=f.value;k.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{k.resize({width:h.clientWidth,height:h.clientHeight})});const w=()=>M(this,null,function*(){if(v!=null){if(!document.hidden){if(yield b(),v==null)return;k.setOption({series:[{name:a("\u4E0B\u8F7D"),data:p.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:r.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(w,5e3)}});setTimeout(w,5e3)}}),900)}),St(()=>{v!=null&&(v.dispose(),v=null)}),(k,h)=>(s(),u("div",pi,[t("div",{ref_key:"el",ref:f,class:"echart"},null,512),t("div",mi,[e(x)?(s(),u("span",fi,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(x)),1)):D("",!0),e(_)?(s(),u("span",vi,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(_)),1)):D("",!0)])]))}});var gi=S(bi,[["__scopeId","data-v-641bc7f8"]]);const _i={},hi={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},xi=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),ki=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),wi=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),yi=[xi,ki,wi];function Fi(o,a){return s(),u("svg",hi,yi)}var kt=S(_i,[["render",Fi]]);let jt=0;const Ei={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,jt=window.setTimeout(o,1e3))};jt=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,jt!=0&&clearTimeout(jt),this.Close())}}},Zt=o=>(W("data-v-6935a479"),o=o(),Z(),o),Ci={key:0,class:"loading icon"},$i=Zt(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),Di=[$i],Bi={key:1,class:"success icon"},Yi=Zt(()=>t("svg",{t:"1632451272305",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M1001.305115 275.874141 431.461709 845.718571c-28.221762 28.221762-73.977875 28.221762-102.20066 0L22.661116 539.116591c-28.222785-28.221762-28.222785-73.979922 0-102.20066 28.221762-28.221762 73.977875-28.221762 102.20066 0l255.500115 255.502162 518.743588-518.743588c28.221762-28.221762 73.977875-28.221762 102.199637 0C1029.5279 201.89422 1029.5279 247.65238 1001.305115 275.874141z","p-id":"2205"})],-1)),Ai=[Yi],Si={key:2,class:"error icon"},zi=Zt(()=>t("svg",{t:"1632451325789",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M823.04 840.32 524.16 540.16l296.32-294.4c12.8-12.8 12.8-33.28 0-45.44-12.8-12.8-33.28-12.8-46.08 0L478.08 494.08 184.96 200.32c-12.8-12.8-33.28-12.8-45.44 0s-12.8 33.28 0 45.44l292.48 293.76-302.72 300.8c-12.8 12.8-12.8 33.28 0 45.44 12.8 12.8 33.28 12.8 46.08 0l302.72-300.16 299.52 300.16c12.8 12.8 33.28 12.8 45.44 0C835.2 873.6 835.2 853.12 823.04 840.32z","p-id":"2205"})],-1)),Pi=[zi],Ti={key:3,class:"warning icon"},Li=Zt(()=>t("svg",{t:"1632451401172",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1638",width:"128",height:"128"},[t("path",{d:"M512 1021.45211835a60.32985613 60.32985613 0 1 1 60.32985613-60.32985611 60.32985613 60.32985613 0 0 1-60.32985613 60.32985611z m86.85823451-924.97400238L572.32985613 719.80283775a60.32985613 60.32985613 0 0 1-120.65971226 0l-26.52837838-623.32472178c-0.16758294-2.22885301-0.28489098-4.49122263-0.284891-6.78710881a87.14312551 87.14312551 0 0 1 174.28625102 0c0 2.2958862-0.11730806 4.5582558-0.284891 6.78710881z","p-id":"1639"})],-1)),Ii=[Li];function Mi(o,a,n,l,d,r){return s(),V(ft,{name:"el-fade-in-linear"},{default:G(()=>[d.show?(s(),u("div",{key:0,class:"toast",onClick:a[1]||(a[1]=p=>r.Stop())},[n.type=="loading"?(s(),u("div",Ci,Di)):n.type=="success"?(s(),u("div",Bi,Ai)):n.type=="error"?(s(),u("div",Si,Pi)):n.type=="warning"?(s(),u("div",Ti,Ii)):D("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=st(()=>{},["stop"]))},i(r.Message),1)])):D("",!0)]),_:1})}var Oi=S(Ei,[["render",Mi],["__scopeId","data-v-6935a479"]]);const Mt=new Map,zt=o=>{const a=et(Oi,nt(X({},o),{Close:()=>{l()}})),n=document.createElement("div");document.body.append(n),a.mount(n);const l=()=>{n.remove(),Mt.get(a._uid)&&Mt.delete(a._uid)};return o.type=="loading"&&Mt.set(a._uid,{Close:l}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{l()},o==null?void 0:o.duration):setTimeout(()=>{l()},3e3)),{Close:l}},C=o=>zt(o);C.Loading=(o,a)=>zt({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});C.Success=o=>zt({type:"success",message:o});C.Error=o=>zt({type:"error",message:o,duration:0});C.Warning=o=>zt({type:"warning",message:o});C.Message=o=>zt({message:o});C.Clear=()=>{Mt.forEach((o,a)=>{o.Close(),Mt.delete(a)})};const{$gettext:Dt,$ngettext:Qy}=Ht(),ut={installApp:(o,a)=>new Promise((n,l)=>{let d=0;P.App.Install.POST({name:o}).then(()=>{const r=setTimeout(()=>{d==0&&(d=1,n(!1))},(a||60)*1e3),p=()=>{d==0&&P.App.Check.POST({name:o}).then(x=>{if(d==0&&x!=null&&x.data){const{result:_}=x.data;if((_==null?void 0:_.status)=="installed"){clearTimeout(r),d=1,n(!0);return}}}).catch(x=>{}).finally(()=>{d==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(r=>{d==0&&(d=1,l(Dt("\u5B89\u88C5\u5931\u8D25\uFF0C")+r))})}),checkAndInstallApp:(o,a,n)=>M(At,null,function*(){let l=C.Loading(Dt("\u68C0\u67E5\u4E2D..."));try{const d=yield P.App.Check.POST({name:o});if(l.Close(),d!=null&&d.data){const{result:r,error:p}=d.data;if(p)C.Warning(p);else if(r){if(r.status=="installed")return!0;if(confirm(Dt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:a}))){l=C.Loading(Dt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const x=yield ut.installApp(n||o);if(l.Close(),x)return!0;C.Error(Dt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else C.Warning(Dt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(d){return l.Close(),C.Warning(d),!1}}),installAndGo:(o,a,n,l)=>M(At,null,function*(){(yield ut.checkAndInstallApp(o,a,l))&&(location.href=n)})},Ni={},qi={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},Vi=t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217"},null,-1),Gi=[Vi];function ji(o,a){return s(),u("svg",qi,Gi)}var Ri=S(Ni,[["render",ji]]);const Ui=o=>(W("data-v-75eeccd3"),o=o(),Z(),o),Hi={id:"actioner"},Wi={key:0,class:"action-container"},Zi={class:"action-container_header"},Ji=Ui(()=>t("div",null,null,-1)),Xi={class:"title"},Ki=["title"],Qi={class:"action-container_body"},tr=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!1);_t(()=>{d.value=!0,document.body.setAttribute("lock-scroll","true")}),St(()=>{document.body.removeAttribute("lock-scroll")});const r=()=>{a.Close&&(d.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(p,x)=>(s(),u("div",Hi,[t("div",{class:"bg",onClick:r}),o.type!=null?wt(p.$slots,"default",{key:0},void 0,!0):(s(),u(N,{key:1},[d.value?(s(),u("div",Wi,[t("div",Zi,[Ji,t("div",Xi,i(o.title),1),t("button",{class:"close",title:e(n)("\u5173\u95ED"),onClick:r},[A(Ri)],8,Ki)]),t("div",Qi,[wt(p.$slots,"default",{},void 0,!0)])])):D("",!0)],64))]))}});var er=S(tr,[["__scopeId","data-v-75eeccd3"]]);const ot=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(a,n)=>(s(),V(er,{Close:o.Close,type:o.type,title:o.title},{default:G(()=>[wt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),ar=["onSubmit"],or={class:"actioner-dns_header"},nr={class:"actioner-dns_body"},ir={class:"label-item"},rr={class:"label-item_key"},sr={class:"label-item_value"},dr=["disabled"],ur={value:"manual"},lr={class:"label-item"},cr={class:"label-item_key"},pr={class:"label-item_value"},mr=["placeholder","onUpdate:modelValue"],fr={class:"label-item_key"},vr={class:"label-item_value"},br=["placeholder","onUpdate:modelValue"],gr={key:1,class:"label-message"},_r={class:"actioner-dns_footer"},hr=["disabled"],xr={key:1,class:"actioner-dns"},kr={class:"actioner-dns_header"},wr={class:"actioner-dns_body"},yr={class:"config-message"},Fr={class:"actioner-dns_footer"},Er=I({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(0),r=Wt(),p=r.status,x=U(()=>r.status.proto!="static"),_=()=>{let k=p.dnsList||[];for(k=k.filter(h=>h);k.length<2;)k.push("");return k},b=E({interfaceName:p.defaultInterface||"",dnsProto:p.dnsProto||"manual",manualDnsIp:_()}),m=E(""),c=E(!1),f=()=>M(this,null,function*(){m.value="";let k={};switch(b.value.dnsProto){case"auto":break;case"manual":if(k.manualDnsIp=[],!b.value.manualDnsIp[0]){C.Error(n("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}k.manualDnsIp=b.value.manualDnsIp.filter(w=>w);break}k.dnsProto=b.value.dnsProto,k.interfaceName=b.value.interfaceName;const h=C.Loading(n("\u914D\u7F6E\u4E2D..."));try{const w=yield P.Guide.DnsConfig.POST(k);if(w!=null&&w.data){const{success:y,error:F}=w==null?void 0:w.data;F&&(m.value=F),(y==null||y==0)&&(C.Success(n("\u914D\u7F6E\u6210\u529F")),d.value=1)}}catch(w){m.value=w}h.Close()}),v=k=>{k.preventDefault(),a.Close&&a.Close()},g=k=>{location.reload()};return(k,h)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[d.value==0?(s(),u("form",{key:0,class:"actioner-dns",onSubmit:st(f,["prevent"])},[t("div",or,[t("span",null,i(e(n)("DNS\u914D\u7F6E")),1)]),t("div",nr,[t("div",ir,[t("div",rr,[t("span",null,i(e(n)("DNS\u9009\u9879")),1)]),t("div",sr,[L(t("select",{"onUpdate:modelValue":h[0]||(h[0]=w=>b.value.dnsProto=w)},[t("option",{value:"auto",disabled:!e(x)},i(e(n)("\u81EA\u52A8\u83B7\u53D6DNS")),9,dr),t("option",ur,i(e(n)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[tt,b.value.dnsProto]])])]),b.value.dnsProto=="manual"?(s(!0),u(N,{key:0},R(b.value.manualDnsIp,(w,y)=>(s(),u("div",lr,[y==0?(s(),u(N,{key:0},[t("div",cr,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",pr,[L(t("input",{type:"text",placeholder:e(n)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":F=>b.value.manualDnsIp[y]=F},null,8,mr),[[H,b.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(s(),u(N,{key:1},[t("div",fr,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",vr,[L(t("input",{type:"text",placeholder:e(n)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":F=>b.value.manualDnsIp[y]=F},null,8,br),[[H,b.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):D("",!0),m.value?(s(),u("div",gr,i(m.value),1)):D("",!0)]),t("div",_r,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},i(e(n)("\u786E\u8BA4")),9,hr),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v},i(e(n)("\u53D6\u6D88")),1)])],40,ar)):d.value==1?(s(),u("div",xr,[t("div",kr,[t("span",null,i(e(n)("DNS\u914D\u7F6E")),1)]),t("div",wr,[t("div",yr,i(e(n)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",Fr,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},i(e(n)("\u5B8C\u6210")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var Cr=S(Er,[["__scopeId","data-v-5cff2770"]]);const Se=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=et(Cr,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},$r=o=>(W("data-v-7f0d8217"),o=o(),Z(),o),Dr={class:"action"},Br={class:"action-body"},Yr=$r(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),Ar={class:"title"},Sr={class:"info"},zr=["href"],Pr={class:"btns"},Tr=I({props:{port:Number,Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>`http://${location.hostname}:${a.port}`),r=()=>{a.Close&&(a.Close(),location.reload())};return(p,x)=>(s(),V(ot,{type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[t("div",Dr,[t("div",Br,[Yr,t("h2",Ar,i(e(n)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Sr,[t("span",null,i(e(n)("\u524D\u5F80")),1),t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,zr),t("span",null,i(e(n)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",Pr,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:r},i(e(n)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var Lr=S(Tr,[["__scopeId","data-v-7f0d8217"]]),Ir=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(Lr,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const ze=o=>(W("data-v-02f10ac5"),o=o(),Z(),o),Mr=ze(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),Or={class:"app-container_status-label_text"},Nr={class:"text_status"},qr={class:"text_info"},Vr=ze(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),Gr={class:"app-container_status-label_text"},jr={class:"text_info"},Rr=I({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=$e(),r=E(null),p=_=>{const b=_.target,{left:m,top:c}=b.getBoundingClientRect();d.portitemStyle.show=!0,d.portitemStyle.left=m,d.portitemStyle.top=c,d.portitemStyle.portitem=a.item},x=_=>{d.portitemStyle.show=!1};return(_,b)=>(s(),u("div",{class:"app-container_status-label_bg",style:Yt(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:r,onMouseenter:p,onMouseleave:x},[o.item.linkState=="DOWN"?(s(),u(N,{key:0},[Mr,t("div",Or,[t("div",Nr,i(e(n)("\u5DF2\u65AD\u5F00")),1),t("div",qr,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(s(),u(N,{key:1},[Vr,t("div",Gr,[t("div",null,i(o.item.linkSpeed),1),t("div",jr,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var Pe=S(Rr,[["__scopeId","data-v-02f10ac5"]]);const Te=o=>(W("data-v-3470ca08"),o=o(),Z(),o),Ur=Te(()=>t("span",null,i("<"),-1)),Hr=[Ur],Wr=Te(()=>t("span",null,i(">"),-1)),Zr=[Wr],Jr=I({props:{portList:{type:Array,required:!0}},setup(o){const a=E(),n=E(0),l=E(0),d=E(0),r=E(!1),p=()=>{if(d.value>=0){d.value=0;return}d.value+=100},x=()=>{if(d.value<=0-n.value+l.value){d.value=0-n.value+l.value;return}d.value-=100};return _t(()=>{ra(()=>{a.value&&(n.value=a.value.scrollWidth,l.value=a.value.clientWidth,r.value=n.value>l.value)})}),(_,b)=>(s(),u("div",{class:"app-interfaces",ref_key:"el",ref:a},[r.value?(s(),u(N,{key:0},[t("a",{class:"btn-f",onClick:p},Hr),t("a",{class:"btn-r",onClick:x},Zr)],64)):D("",!0),(s(!0),u(N,null,R(o.portList,(m,c)=>(s(),V(Pe,{item:m,transform:d.value},null,8,["item","transform"]))),256))],512))}});var Xr=S(Jr,[["__scopeId","data-v-3470ca08"]]);const Kr={},Qr={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},ts=$t('',1),es=[ts];function as(o,a){return s(),u("svg",Qr,es)}var ie=S(Kr,[["render",as]]);const os=["onSubmit"],ns={class:"actioner-dns_header"},is={class:"actioner-dns_body"},rs={class:"label-item"},ss={class:"label-item_key"},ds={class:"label-item_value"},us={class:"item_info"},ls={class:"label-item"},cs={class:"label-item_key"},ps={class:"label-item_value"},ms={selected:"true",value:""},fs=["value"],vs={class:"actioner-dns_footer"},bs=["disabled"],gs={key:1,class:"actioner-dns"},_s={class:"actioner-dns_header"},hs={class:"softsource_tit"},xs={class:"actioner-dns_body"},ks={class:"finished"},ws={class:"successed"},ys={class:"btns"},Fs=I({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(0),r=E(""),p=E(),x=E();(()=>{P.Guide.SoftSourceList.GET().then(f=>{var v,g;if((v=f==null?void 0:f.data)!=null&&v.result){const k=(g=f==null?void 0:f.data)==null?void 0:g.result;x.value=k}}).then(()=>P.Guide.GetSoftSource.GET()).then(f=>{var v,g;if((v=f==null?void 0:f.data)!=null&&v.result){const k=f.data.result;p.value=k.softSource,(g=x.value)!=null&&g.softSourceList.find(h=>h.identity==k.softSource.identity)&&(r.value=k.softSource.identity)}})})();const b=f=>{f.preventDefault(),a.Close&&a.Close()},m=f=>{const v=C.Loading(n("\u6B63\u5728\u5207\u6362\u4E2D..."));P.Guide.SoftSource.POST({softSourceIdentity:r.value}).then(g=>{if(g!=null&&g.data){if((g.data.success||0)==0){d.value=1;return}else if(g.data.error)throw g.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(g=>{C.Error(g)}).finally(()=>v.Close())},c=f=>{f.preventDefault(),location.reload()};return(f,v)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>{var g,k;return[d.value==0?(s(),u("form",{key:0,class:"actioner-dns",onSubmit:st(m,["prevent"])},[t("div",ns,[t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",is,[t("div",rs,[t("div",ss,[t("span",null,i(e(n)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",ds,[t("p",us,i((g=p.value)==null?void 0:g.name),1)])]),t("div",ls,[t("div",cs,[t("span",null,i(e(n)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",ps,[L(t("select",{name:"",id:"","onUpdate:modelValue":v[0]||(v[0]=h=>r.value=h)},[t("option",ms,i(e(n)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(s(!0),u(N,null,R((k=x.value)==null?void 0:k.softSourceList,(h,w)=>(s(),u("option",{value:h.identity,key:w},i(h.name),9,fs))),128))],512),[[tt,r.value,void 0,{trim:!0}]])])])]),t("div",vs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:r.value==""},i(e(n)("\u786E\u8BA4")),9,bs),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:b},i(e(n)("\u53D6\u6D88")),1)])],40,os)):D("",!0),d.value==1?(s(),u("form",gs,[t("div",_s,[t("span",hs,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",xs,[t("div",ks,[A(ie)]),t("p",ws,i(e(n)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",ys,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:c},i(e(n)("\u786E\u5B9A")),1)])])])):D("",!0)]}),_:1},8,["Close"]))}});var Es=S(Fs,[["__scopeId","data-v-3f8f9931"]]);const Le=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=et(Es,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},yt=o=>(W("data-v-08006dd5"),o=o(),Z(),o),Cs={class:"app-container_status-label"},$s={class:"app-container_status-label_item",style:{"padding-right":"10px"}},Ds={class:"app-container_status-container",style:{height:"100%"}},Bs={key:0,class:"app-container_status-container_body"},Ys=yt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),As={class:"app-container_status-info"},Ss={class:"container_success"},zs={class:"container_time"},Ps={key:1,class:"app-container_status-container_body"},Ts=yt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ls={class:"app-container_status-info"},Is={class:"container_failure"},Ms={class:"container_time"},Os={key:2,class:"app-container_status-container_body"},Ns=yt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),qs={class:"app-container_status-info"},Vs={class:"container_failure"},Gs={class:"container_time"},js={key:3,class:"app-container_status-container_body"},Rs=yt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Us={class:"app-container_status-info"},Hs={class:"container_failure"},Ws={class:"container_time"},Zs={key:4,class:"app-container_status-container_body"},Js=yt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),Xs={class:"app-container_status-info"},Ks={class:"container_failure"},Qs={class:"app-container_status-label_item",style:{"padding-left":"10px"}},td={class:"app-container_status-container",style:{height:"100%"}},ed=["title"],ad={class:"DeviceBlock"},od={href:"/cgi-bin/luci/admin/status/routes"},nd={class:"app-container_status-container_body"},id=yt(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),rd={class:"app-container_status-info"},sd={class:"container_content"},dd={class:"devise"},ud=yt(()=>t("em",null,null,-1)),ld={class:"app-container_status-container"},cd=["title"],pd={class:"DeviceBlock"},md={class:"app-container_title"},fd={class:"app-container_status-label_block"},vd={class:"app-container_status-label_block"},bd={class:"app-container_title"},gd={class:"app-container_status-label_block"},_d=yt(()=>t("em",null,null,-1)),hd={class:"app-container_status-container"},xd={class:"app-container_title"},kd=["title"],wd={class:"DeviceBlock"},yd={class:"app-container_body"},Fd=I({props:{homebox:{type:Object}},setup(o){const{$gettext:a,$ngettext:n}=q(),l=()=>{Se()},d=()=>{Le()},r=Wt(),p=U(()=>r.status),x=U(()=>r.deviceList),_=E(!1),b=E(!1),m=E(!1),c=dt({portList:[],load:!1}),f=$=>{switch($){case"pppoe":return a("\u62E8\u53F7\u4E0A\u7F51");case"static":return a("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return $&&$.toUpperCase()},v=$=>{switch($){case"manual":return a("\u624B\u52A8\u914D\u7F6E");case"auto":return a("\u81EA\u52A8\u83B7\u53D6");default:return""}},g=()=>{(c.load&&document.hidden?Promise.resolve():P.Network.PortList.GET().then($=>{if($!=null&&$.data){const{result:z}=$==null?void 0:$.data;z&&(c.portList=z.ports||[])}})).finally(()=>{c.load=!0,setTimeout(g,1e4)})};g();const k=gt.stampForm,h=()=>{_.value=!_.value},w=()=>{b.value=!b.value},y=()=>{m.value=!m.value},F=()=>{h(),ut.installAndGo("app-meta-nlbwmon",a("\u5E26\u5BBD\u76D1\u63A7"),"/cgi-bin/luci/admin/services/nlbw")},B=()=>M(this,null,function*(){var $,z,T;if(w(),yield ut.checkAndInstallApp("app-meta-homebox","Homebox"))try{const J=yield P.Network.Homebox.Enable.POST();(z=($=J==null?void 0:J.data)==null?void 0:$.result)!=null&&z.port?Ir({port:J.data.result.port,setup:0}):((T=J==null?void 0:J.data)==null?void 0:T.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":C.Warning(a("\u542F\u52A8\u5931\u8D25"))}catch(J){C.Warning(a("\u542F\u52A8\u5931\u8D25"))}}),Y=()=>{w(),ut.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return($,z)=>{var J,j;const T=K("router-link");return s(),u(N,null,[t("div",Cs,[t("div",$s,[t("div",Ds,[e(p)!=null?(s(),u(N,{key:0},[e(p).networkInfo=="netSuccess"?(s(),u("div",Bs,[Ys,t("div",As,[t("span",Ss,i(e(a)("\u5DF2\u8054\u7F51")),1),t("span",zs,i(e(k)(e(p).uptimeStamp)),1)])])):e(p).networkInfo=="dnsFailed"?(s(),u("div",Ps,[Ts,t("div",Ls,[t("span",Is,i(e(a)("DNS\u9519\u8BEF")),1),t("span",Ms,i(e(k)(e(p).uptimeStamp)),1),t("div",{onClick:l,class:"container_configure"},i(e(a)("DNS\u914D\u7F6E")),1)])])):e(p).networkInfo=="softSourceFailed"?(s(),u("div",Os,[Ns,t("div",qs,[t("span",Vs,i(e(a)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1),t("span",Gs,i(e(k)(e(p).uptimeStamp)),1),t("div",{onClick:d,class:"container_configure"},i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])])):e(p).networkInfo=="netFailed"?(s(),u("div",js,[Rs,t("div",Us,[t("span",Hs,i(e(a)("\u672A\u8054\u7F51")),1),t("span",Ws,i(e(k)(e(p).uptimeStamp)),1)])])):(s(),u("div",Zs,[Js,t("div",Xs,[t("span",Ks,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):D("",!0)])]),t("div",Qs,[t("div",td,[t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u8BBE\u5907\u4FE1\u606F")},[A(kt,{onClick:h})],8,ed),L(t("div",ad,[t("div",{class:"menu_background",onClick:h}),t("ul",null,[t("li",null,[t("a",od,i(e(a)("\u8BBE\u5907\u8DEF\u7531")),1)]),t("li",null,[t("a",{onClick:F},i(e(a)("\u5E26\u5BBD\u76D1\u63A7")),1)])])],512),[[bt,_.value]]),t("div",nd,[id,t("div",rd,[t("span",sd,i(((j=(J=e(x))==null?void 0:J.devices)==null?void 0:j.length)||0),1),t("span",dd,i(e(a)("\u5DF2\u8FDE\u63A5\u8BBE\u5907")),1)])])])])]),ud,t("div",ld,[t("span",{class:"more_icon",title:e(a)("\u6D4B\u901F")},[A(kt,{onClick:w})],8,cd),L(t("div",pd,[t("div",{class:"menu_background",onClick:w}),t("ul",null,[t("li",null,[t("a",{onClick:B},i(e(a)("\u5185\u7F51\u6D4B\u901F")),1)]),t("li",null,[t("a",{onClick:Y},i(e(a)("\u5916\u7F51\u6D4B\u901F")),1)])])],512),[[bt,b.value]]),t("div",md,[t("span",null,i(e(a)("IP\u5730\u5740"))+"\uFF08"+i(e(p).defaultInterface)+"\uFF09",1)]),t("div",fd,[t("span",null," IPv4: "+i(e(p).ipv4addr)+" \uFF08"+i(f(e(p).proto||""))+"\uFF09 ",1)]),t("div",vd,[t("span",null,"IPv6: "+i(e(p).ipv6addr),1)]),t("div",bd,[t("span",null,"DNS\uFF08"+i(v(e(p).dnsProto))+"\uFF09",1)]),(s(!0),u(N,null,R(e(p).dnsList,Q=>(s(),u("div",gd,[t("span",null,i(Q),1)]))),256))]),_d,t("div",hd,[t("div",xd,[t("span",null,i(e(a)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F")},[A(kt,{onClick:y})],8,kd),L(t("div",wd,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[A(T,{to:"/interfaceconfig"},{default:G(()=>[at(i(e(a)("\u7F51\u53E3\u914D\u7F6E")),1)]),_:1})])])],512),[[bt,m.value]])]),t("div",yd,[e(c).load?(s(),V(Xr,{key:0,portList:e(c).portList},null,8,["portList"])):D("",!0)])])],64)}}});var Ed=S(Fd,[["__scopeId","data-v-08006dd5"]]);const Cd={class:"network-container"},$d={class:"network-container_flow"},Dd={class:"network-container_flow-container"},Bd={class:"network-container_status"},Yd=I({setup(o){return(a,n)=>(s(),u("div",Cd,[t("div",$d,[t("div",Dd,[A(gi)])]),t("div",Bd,[A(Ed)])]))}});var Ad=S(Yd,[["__scopeId","data-v-569bbceb"]]);const Sd={},zd={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Pd=t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),Td=[Pd];function Ld(o,a){return s(),u("svg",zd,Td)}var pt=S(Sd,[["render",Ld]]);const Id={},Md={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Od=$t('',1),Nd=[Od];function qd(o,a){return s(),u("svg",Md,Nd)}var ke=S(Id,[["render",qd]]);const Vd={},Gd={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},jd=$t('',1),Rd=[jd];function Ud(o,a){return s(),u("svg",Gd,Rd)}var Hd=S(Vd,[["render",Ud]]);const re=o=>(W("data-v-d72e7026"),o=o(),Z(),o),Wd=["onSubmit"],Zd={class:"action-header"},Jd={class:"action-header_title"},Xd={class:"action-body"},Kd={class:"disk-info"},Qd=re(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),t0={key:0,class:"disk-info_mount-name"},e0={key:1,class:"disk-info_mount-name"},a0={key:0,class:"label-item"},o0={class:"label-item_key"},n0={class:"label-item_path"},i0={class:"label-item"},r0={class:"label-item_key"},s0={class:"label-item_value"},d0=["disabled"],u0={key:0,value:""},l0={value:"format"},c0={key:1,value:"default"},p0={class:"label-item_value"},m0={key:0,class:"msg"},f0={key:1,class:"msg"},v0={class:"action-footer"},b0=re(()=>t("div",{class:"auto"},null,-1)),g0=["disabled"],_0=["disabled"],h0={key:1,class:"action result"},x0={class:"action-body"},k0=re(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),w0={class:"action-body_msg"},y0={key:0,class:"action-body_info"},F0={key:1,class:"action-body_info"},E0={class:"btns"},C0=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close&&a.Close()},r=F=>{F.preventDefault(),a.Cancel&&a.Cancel(),d()},p=F=>{a.Next&&a.Next(F),d()},x=E(!1),_=E(0),b=F=>{_.value=F},m=E(a.action=="nas"?"":"format"),c=E(),f=E(),v=()=>{switch(m.value){case"format":k();return;case"default":g();return;default:C.Warning(n("\u8BF7\u9009\u62E9\u9009\u9879"));return}},g=()=>{let F="";const B=a.mount;if(B!=null&&B.mountPoint!=null&&(F=B.mountPoint),F!=""){p(F);return}C.Warning(n("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},k=()=>{const F=a.disk,B=a.mount;if(B){const Y=B.mountPoint||B.path;if(!confirm(n("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:Y||""}))||!confirm(n("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:Y||""})))return;w(B);return}if(F){if(!confirm(n("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:F.venderModel||""}))||!confirm(n("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;h(F);return}C.Warning(n("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},h=F=>M(this,null,function*(){if(F.name==null||F.path==""){C.Warning(n("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(F.path==null||F.path==""){C.Warning(n("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}x.value=!0;const B=C.Loading(n("\u521D\u59CB\u5316\u4E2D..."));try{const Y=yield P.Nas.Disk.Init.POST({name:F.name,path:F.path});if(Y!=null&&Y.data){const{result:$,error:z}=Y==null?void 0:Y.data;z&&C.Warning(z),$&&($.errorInfo?C.Warning($.errorInfo):(C.Success(n("\u521D\u59CB\u5316\u6210\u529F")),$.childrens&&$.childrens.length>0&&(f.value=$.childrens[0]),c.value=$,b(1)))}}catch(Y){C.Error(Y)}B.Close(),x.value=!1}),w=F=>M(this,null,function*(){if(F.path==null||F.path==""){C.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}x.value=!0;const B=C.Loading(n("\u683C\u5F0F\u5316\u4E2D..."));try{const Y=yield P.Nas.Disk.Partition.Format.POST({path:F.path,uuid:F.uuid,mountPoint:F.mountPoint});if(Y!=null&&Y.data){const{result:$,error:z}=Y==null?void 0:Y.data;z&&C.Warning(z),$&&(C.Success(n("\u683C\u5F0F\u5316\u6210\u529F")),f.value=$,b(1))}}catch(Y){C.Error(Y)}B.Close(),x.value=!1}),y=()=>{if(f.value&&f.value.mountPoint){p(f.value.mountPoint);return}C.Warning(n("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(F,B)=>(s(),V(ot,{type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>{var Y;return[_.value==0?(s(),u("form",{key:0,class:"action format",onSubmit:st(v,["prevent"])},[t("div",Zd,[t("div",Jd,i(e(n)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",Xd,[t("div",Kd,[Qd,o.mount?(s(),u("div",t0,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(s(),u("div",e0,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):D("",!0)]),o.mount?(s(),u("div",a0,[t("div",o0,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A")),1)]),t("div",n0,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):D("",!0),t("div",i0,[t("div",r0,[t("span",null,i(e(n)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",s0,[L(t("select",{"onUpdate:modelValue":B[0]||(B[0]=$=>m.value=$),required:"",disabled:o.action=="disk"},[o.mount!=null?(s(),u("option",u0,i(e(n)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):D("",!0),t("option",l0,i(e(n)("\u683C\u5F0F\u5316")),1),o.mount!=null?(s(),u("option",c0,i(e(n)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):D("",!0)],8,d0),[[tt,m.value]])]),t("div",p0,[m.value=="format"?(s(),u("p",m0,i(e(n)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):m.value=="default"?(s(),u("p",f0)):D("",!0)])])]),t("div",v0,[b0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button",disabled:x.value},i(e(n)("\u8FD4\u56DE")),9,g0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:x.value},i(e(n)("\u4E0B\u4E00\u6B65")),9,_0)])],40,Wd)):_.value==1?(s(),u("div",h0,[t("div",x0,[k0,t("div",w0,i(e(n)("\u683C\u5F0F\u5316\u6210\u529F")),1),c.value?(s(),u("div",y0,[at(i(e(n)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(c.value.venderModel)+" "+i(e(n)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((Y=f.value)==null?void 0:Y.mountPoint),1)])):D("",!0),f.value?(s(),u("div",F0,[at(i(e(n)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(f.value.mountPoint),1)])):D("",!0),t("div",E0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(n)("\u4E0B\u4E00\u6B65"):e(n)("\u5B8C\u6210")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var $0=S(C0,[["__scopeId","data-v-d72e7026"]]),se=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et($0,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const Jt=o=>(W("data-v-b5895698"),o=o(),Z(),o),D0=["onSubmit"],B0=Jt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Y0={class:"action-body"},A0={class:"disk-info"},S0=Jt(()=>t("div",{class:"disk-info_icon"},[t("svg",{t:"1642589762094",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11301",width:"128",height:"128"},[t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"11302"}),t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"11303"}),t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"11304"}),t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"11305"}),t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"11306"}),t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"11307"}),t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"11308"}),t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"11309"}),t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"11310"}),t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"11311"}),t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11312"}),t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11313"}),t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11314"}),t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"11315"}),t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"11316"}),t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"11317"}),t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"11318"}),t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"11319"}),t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"11320"})])],-1)),z0={key:0,class:"disk-info_mount-name"},P0={key:1,class:"disk-info_mount-name"},T0={key:0,class:"label-item"},L0={class:"label-item_key"},I0={class:"label-item_path"},M0={class:"label-item"},O0={class:"label-item_key"},N0={class:"label-item_value"},q0={class:"action-footer"},V0=Jt(()=>t("div",{class:"auto"},null,-1)),G0=["disabled"],j0=["disabled"],R0={key:1,class:"action result"},U0={class:"action-body"},H0=Jt(()=>t("div",{class:"action-body_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),W0={class:"action-body_msg"},Z0=["innerHTML"],J0={class:"btns"},X0=I({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var k;const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close&&a.Close()},r=h=>{h.preventDefault(),a.Cancel&&a.Cancel(),d()},p=h=>{a.Next&&a.Next(h),d()},x=E(!1),_=E(0),b=E("/mnt/data_"+((k=a==null?void 0:a.mount)==null?void 0:k.name)),m=h=>{_.value=h};E(a.mount?"":"format"),E();const c=E(),f=()=>M(this,null,function*(){const h=a.mount;if(h==null){C.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(h.path==null||h.path==""){C.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(h.uuid==null||h.uuid==""){C.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}x.value=!0;const w=C.Loading(n("\u6302\u8F7D\u4E2D..."));try{const y=yield P.Nas.Disk.Partition.Mount.POST({path:h.path,uuid:h.uuid,mountPoint:b.value});if(y!=null&&y.data){const{result:F,error:B}=y==null?void 0:y.data;B&&C.Warning(B),F&&(C.Success(n("\u6302\u8F7D\u6210\u529F")),c.value=F,m(1))}}catch(y){C.Error(y)}w.Close(),x.value=!1}),v=()=>{if(c.value&&c.value.mountPoint){p(c.value.mountPoint);return}C.Warning(n("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},g=()=>{};return(h,w)=>(s(),V(ot,{type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>{var y,F;return[_.value==0?(s(),u("form",{key:0,class:"action format",onSubmit:st(g,["prevent"])},[B0,t("div",Y0,[t("div",A0,[S0,o.mount?(s(),u("div",z0,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(s(),u("div",P0,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):D("",!0)]),o.mount?(s(),u("div",T0,[t("div",L0,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A")),1)]),t("div",I0,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i((F=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:F.toUpperCase())+"\uFF09",1)])):D("",!0),t("div",M0,[t("div",O0,[t("span",null,i(e(n)("\u6302\u8F7D\u70B9")),1)]),t("div",N0,[L(t("input",{type:"text","onUpdate:modelValue":w[0]||(w[0]=B=>b.value=B)},null,512),[[H,b.value,void 0,{trim:!0}]])])])]),t("div",q0,[V0,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:x.value,onClick:f},i(e(n)("\u786E\u5B9A")),9,G0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button",disabled:x.value},i(e(n)("\u8FD4\u56DE")),9,j0)])],40,D0)):_.value==1?(s(),u("div",R0,[t("div",U0,[H0,t("div",W0,i(e(n)("\u6302\u8F7D\u6210\u529F")),1),c.value?(s(),u("div",{key:0,class:"action-body_info",innerHTML:e(n)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:c.value.path||"",mount:c.value.mountPoint||""},!0)},null,8,Z0)):D("",!0),t("div",J0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:v},i(o.action=="nas"?e(n)("\u5B8C\u6210"):e(n)("\u4E0B\u4E00\u6B65")),1)])])])):D("",!0)]}),_:1})]),_:1}))}});var K0=S(X0,[["__scopeId","data-v-b5895698"]]),Ie=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(K0,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const Q0={class:"disk-content"},tu={class:"disk-item"},eu={class:"disk-item_name"},au={key:0},ou={key:1},nu={key:2},iu={class:"disk_value"},ru={class:"disk-item_value"},su={class:"value-data"},du={key:0,class:"disk-item"},uu={class:"disk-item_name"},lu={key:0},cu=["href"],pu={key:0},mu={class:"disk_status"},fu={key:0,class:"disk_status_item"},vu={key:0,class:"tooltip-trigger disk_tip"},bu={class:"tooltip-text tooltip-top"},gu={class:"disk_dir_tip"},_u={class:"disk_status_item"},hu={key:0,class:"tooltip-trigger disk_tip"},xu={class:"tooltip-text tooltip-top"},ku={class:"disk_dir_tip"},wu=I({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>a.part.filesystem=="No FileSystem"),r=U(()=>a.part.filesystem&&["ntfs","vfat","exfat"].indexOf(a.part.filesystem)>=0),p=U(()=>a.part.mountPoint&&a.part.isReadOnly&&a.part.filesystem!="swap"),x=U(()=>d.value||!a.part.isSystemRoot&&(p.value||r.value||!a.part.mountPoint&&a.part.filesystem=="swap")),_=function(){se({action:"disk",disk:a.disk,mount:a.part,Cancel:()=>{},Next:v=>{location.reload()}})},b=()=>{Ie({action:"nas",disk:a.disk,mount:a.part,Cancel:()=>{},Next:()=>{location.reload()}})},m=()=>M(this,null,function*(){const v=C.Loading(n("\u5904\u7406\u4E2D..."));try{const g=yield P.Nas.Disk.InitRest.POST({name:a.disk.name,path:a.disk.path});if(g!=null&&g.data){const{result:k,error:h}=g==null?void 0:g.data;h&&C.Warning(h),k&&(C.Success(n("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(g){C.Error(g)}v.Close()}),c=U(()=>a.part.filesystem=="Free Space"),f=U(()=>{const v=a.part.mountPoint?a.part.mountPoint:"";return v.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+v.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+v});return(v,g)=>{var h;const k=K("progress-item");return s(),u("div",Q0,[t("li",tu,[t("div",eu,[e(c)?(s(),u("span",au,i(e(n)("\u672A\u5206\u533A")),1)):(s(),u("span",ou,i(o.part.name)+i(o.part.mountPoint?"":e(d)?e(n)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(n)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(s(),u("span",nu,i(e(n)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):D("",!0)]),t("div",iu,[t("div",ru,[t("div",su,[A(k,{value:e(c)||!o.part.usage?0:o.part.usage,text:e(c)?e(n)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(n)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(c)?(s(),u("button",{key:0,class:"cbi-button cbi-button-apply",onClick:m},i(e(n)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(x)?(s(),u("button",{key:1,class:"cbi-button cbi-button-apply",onClick:_},i(e(n)("\u683C\u5F0F\u5316\u5206\u533A")),1)):D("",!0)])]),!e(c)&&!e(d)?(s(),u("li",du,[t("span",uu,[o.part.mountPoint?(s(),u(N,{key:0},[o.part.filesystem=="swap"?(s(),u("span",lu,i(e(n)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(s(),u("a",{key:1,href:e(f),target:"_blank"},i(o.part.mountPoint),9,cu))],64)):(s(),u(N,{key:1},[o.part.filesystem=="swap"?(s(),u("span",pu,i(e(n)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(s(),u("span",{key:1,class:"value-data buttondiv",onClick:b},i(e(n)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",mu,[o.part.mountPoint&&o.part.filesystem!="swap"?(s(),u("div",fu,[t("div",null,i(e(n)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(n)("\u53EA\u8BFB"):e(n)("\u8BFB\u5199")),1),e(p)?(s(),u("div",vu,[A(pt),t("div",bu,[t("div",gu,i(e(n)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):D("",!0)])):D("",!0),t("div",_u,[t("div",null,i(e(n)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((h=o.part.filesystem)==null?void 0:h.toUpperCase()),1),!o.part.isSystemRoot&&e(r)?(s(),u("div",hu,[A(pt),t("div",xu,[t("span",ku,i(e(n)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):D("",!0)])])])):D("",!0)])}}});var yu=S(wu,[["__scopeId","data-v-10dd00b8"]]);const Fu=o=>(W("data-v-127a3100"),o=o(),Z(),o),Eu={key:0,class:"action"},Cu={class:"title"},$u={class:"app-container_info"},Du={class:"app-container_body"},Bu={class:"action-footer"},Yu=Fu(()=>t("div",{class:"auto"},null,-1)),Au=I({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(0),r=()=>{a.Close&&a.Close()},p=x=>{x.preventDefault(),a.Cancel&&a.Cancel(),r()};return(x,_)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[d.value==0?(s(),u("div",Eu,[t("h2",Cu,i(e(n)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(n)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",$u,[t("span",null,i(e(n)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(n)("\u5BB9\u91CF")),1)]),t("div",Du,[(s(!0),u(N,null,R(o.disk.childrens,(b,m)=>(s(),V(yu,{key:m,part:b,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",Bu,[Yu,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p,type:"button"},i(e(n)("\u8FD4\u56DE")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"]))}});var Su=S(Au,[["__scopeId","data-v-127a3100"]]),zu=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(Su,nt(X({},o),{Close:()=>{l()}}));n.component("progress-item",Be),n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const Pu={key:0,class:"disk-item error"},Tu=["title"],Lu={class:"disk-item_value"},Iu={class:"value-data"},Mu={class:"error"},Ou={key:1,class:"disk-item"},Nu=["title"],qu={key:0,class:"disk_value"},Vu={class:"value-data"},Gu={href:"/cgi-bin/luci/admin/nas/smart"},ju={class:"error"},Ru={key:1,class:"disk_value"},Uu={class:"disk-item_value"},Hu={class:"value-data"},Wu={class:"disk-item-tooltip"},Zu={class:"disk_icon"},Ju={key:0,class:"tooltip-trigger"},Xu={class:"disk_tip"},Ku={class:"tooltip-text tooltip-top"},Qu={class:"disk_dir_tip"},tl={key:1,class:"tooltip-trigger"},el={class:"disk_tip"},al={class:"tooltip-text tooltip-top"},ol={class:"disk_dir_tip"},nl={key:2,class:"disk-item load"},il=["title"],rl={class:"disk_value"},sl={class:"disk-item_value"},dl={class:"value-data"},ul={key:3,class:"disk-item load"},ll=["title"],cl={class:"disk_value"},pl={key:0,class:"disk-item_value"},ml={class:"value-data"},fl={class:"disk_icon"},vl=I({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>a.disk.errorInfo?"error":a.disk.childrens==null||a.disk.childrens.length==0||a.disk.childrens.length==1&&a.disk.childrens[0].filesystem=="No FileSystem"?"load":a.disk.childrens.filter(m=>m.mountPoint).length==0?"unmounted":"success"),r=U(()=>{const m=a.disk;let c=m.name;return m.size&&(c+=`\u3010${m.size}\u3011`),m.venderModel&&(c+=`(${m.venderModel})`),c}),p=U(()=>{var c;const m=a.disk;return!m.isSystemRoot&&(((c=m.childrens)==null?void 0:c.filter(f=>f.isReadOnly&&f.filesystem!="swap").length)||0)>0}),x=()=>{se({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},_=()=>{zu({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},b=()=>{const m=a.disk,c=m.childrens||[];Ie({action:"nas",disk:m,mount:c[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(m,c)=>{var v,g,k;const f=K("progress-item");return e(d)=="error"?(s(),u("li",Pu,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,Tu),t("div",Lu,[t("div",Iu,[t("span",Mu,i(o.disk.errorInfo),1)])])])):e(d)=="success"?(s(),u("li",Ou,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,Nu),o.disk.smartWarning&&o.smartWarning?(s(),u("div",qu,[t("div",Vu,[t("a",Gu,[t("span",ju,i(e(n)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(s(),u("div",Ru,[t("div",Uu,[t("div",Hu,[A(f,{value:o.disk.usage||0,text:`${o.disk.used}/${o.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),t("div",Wu,[t("span",null,i(e(n)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",Zu,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(s(),u("span",Ju,[t("span",Xu,[A(pt)]),t("div",null,[t("div",Ku,[t("span",Qu,i(e(n)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):D("",!0),e(p)?(s(),u("span",tl,[t("span",el,[A(pt)]),t("div",null,[t("div",al,[t("span",ol,i(e(n)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):D("",!0),e(p)&&((v=o.disk.childrens)==null?void 0:v.length)==1?(s(),u("span",{key:2,class:"disk_infoicon",onClick:c[0]||(c[0]=h=>x())},[A(Hd)])):D("",!0),t("span",{class:"disk_infoicon",onClick:c[1]||(c[1]=h=>_())},[A(ke)])])]))])):e(d)=="load"?(s(),u("li",nl,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,il),t("div",rl,[t("div",sl,[t("div",dl,[t("button",{onClick:c[2]||(c[2]=h=>x())},i(e(n)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(d)=="unmounted"?(s(),u("li",ul,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,ll),t("div",cl,[((g=o.disk.childrens)==null?void 0:g.length)==1?(s(),u("div",pl,[t("div",ml,[o.disk.childrens[0].filesystem=="swap"?(s(),u("button",{key:0,onClick:c[3]||(c[3]=h=>_())},i(e(n)("\u67E5\u770B\u8BE6\u60C5")),1)):(s(),u("button",{key:1,onClick:c[4]||(c[4]=h=>b())},i(e(n)("\u624B\u52A8\u6302\u8F7D")),1))])])):D("",!0),t("div",fl,[(((k=o.disk.childrens)==null?void 0:k.length)||0)>1?(s(),u("span",{key:0,class:"disk_infoicon",onClick:c[5]||(c[5]=h=>_())},[A(ke)])):D("",!0)])])])):D("",!0)}}});var te=S(vl,[["__scopeId","data-v-0b8d992f"]]);const bl=o=>(W("data-v-5f7dc1ac"),o=o(),Z(),o),gl={class:"app-container"},_l={class:"app-container_title"},hl={class:"disk_info"},xl={class:"app-container_tool"},kl=["title"],wl={class:"DeviceBlock"},yl={href:"/cgi-bin/luci/admin/nas/raid"},Fl=bl(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),El={href:"/cgi-bin/luci/admin/system/diskman"},Cl={href:"/cgi-bin/luci/admin/system/mounts"},$l={key:0},Dl={class:"disk_loading_icon"},Bl={class:"disk_loading_info"},Yl={key:1},Al={class:"app-container_info"},Sl={class:"app-container_body"},zl={key:2},Pl={class:"app-container_info"},Tl={class:"app-container_body"},Ll={key:3},Il={class:"app-container_info"},Ml={class:"app-container_body"},Ol=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=E(!1),d=dt({disks:null,raidList:null}),r=()=>{P.Nas.Disk.Status.GET().then(b=>{var m;if((m=b==null?void 0:b.data)!=null&&m.result){const c=b.data.result;d.disks=c.disks||[]}})};(()=>M(this,null,function*(){try{const b=yield P.Raid.List.GET();if(b!=null&&b.data){const{success:m,error:c,result:f}=b.data;if(f&&(d.raidList=f.disks||[]),c)throw c}}catch(b){console.log(b)}}))(),r();const x=()=>{l.value=!l.value},_=()=>{ut.installAndGo("luci-app-linkease",a("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(b,m)=>{var v,g;const c=K("GlHelp"),f=K("icon-loading");return s(),u("div",gl,[t("ul",null,[t("li",null,[t("div",_l,[t("span",hl,[at(i(e(a)("\u78C1\u76D8\u4FE1\u606F"))+" ",1),A(c,{type:"disk"})]),t("div",xl,[t("div",{class:"app-container_configure",onClick:_},i(e(a)("\u6587\u4EF6\u7BA1\u7406")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F")},[A(kt,{onClick:x})],8,kl)]),L(t("div",wl,[t("div",{class:"menu_background",onClick:x}),t("ul",null,[t("li",null,[t("a",yl,i(e(a)("RAID\u7BA1\u7406")),1)]),Fl,t("li",null,[t("a",El,i(e(a)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("li",null,[t("a",Cl,i(e(a)("\u6302\u8F7D\u70B9")),1)])])],512),[[bt,l.value]])])]),!e(d).disks&&!e(d).raidList?(s(),u("li",$l,[t("div",Dl,[A(f,{size:38,color:"currentColor"}),t("span",Bl,i(e(a)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])])):D("",!0),e(d).disks?(s(),u("li",Yl,[t("div",Al,[t("span",null,i(e(a)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Sl,[(s(!0),u(N,null,R((v=e(d).disks)==null?void 0:v.filter(k=>k.isSystemRoot),(k,h)=>(s(),V(te,{key:h,disk:k},null,8,["disk"]))),128))])])):D("",!0),e(d).disks?(s(),u("li",zl,[t("div",Pl,[t("span",null,i(e(a)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",Tl,[(s(!0),u(N,null,R((g=e(d).disks)==null?void 0:g.filter(k=>!k.isSystemRoot),(k,h)=>(s(),V(te,{key:h,disk:k,smartWarning:!0},null,8,["disk"]))),128))])])):D("",!0),e(d).raidList&&e(d).raidList.length>0?(s(),u("li",Ll,[t("div",Il,[t("span",null,i(e(a)("RAID\u8BBE\u5907")),1)]),t("div",Ml,[(s(!0),u(N,null,R(e(d).raidList,(k,h)=>(s(),V(te,{key:h,disk:k},null,8,["disk"]))),128))])])):D("",!0)])])}}});var Nl=S(Ol,[["__scopeId","data-v-5f7dc1ac"]]);const ql={class:"app-container_samba"},Vl={key:0,class:"sambas-item"},Gl={class:"sambas-item_name"},jl={class:"sambas-item_value"},Rl={class:"sambas-item"},Ul={class:"sambas-item_name tit"},Hl={class:"sambas-item_value tit"},Wl={class:"samba-item"},Zl={class:"samba-item_name"},Jl=["title"],Xl=["href"],Kl=I({props:{sambas:{type:Array}},setup(o){const{$gettext:a,$ngettext:n}=q(),l=window.location.hostname;return(d,r)=>{var p;return s(),u("ul",ql,[o.sambas?(s(),u("li",Vl,[t("div",Gl,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",jl,[t("span",null,i((p=o.sambas)!=null&&p.length?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])])):D("",!0),t("li",Rl,[t("div",Ul,[t("span",null,i(e(a)("\u5730\u5740")),1)]),t("div",Hl,[t("span",null,i(e(a)("\u76EE\u5F55")),1)])]),(s(!0),u(N,null,R(o.sambas,x=>(s(),u("li",Wl,[t("div",Zl,[t("span",null,"smb://"+i(e(l))+"/"+i(x.shareName),1)]),t("div",{class:"samba-item_value",title:x.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+x.path},i(x.path),9,Xl)],8,Jl)]))),256))])}}});var Ql=S(Kl,[["__scopeId","data-v-ba3ddae2"]]);const tc={class:"webdav-item"},ec={class:"webdav-item_name"},ac={class:"webdav-item_value"},oc={key:0,class:"webdav-item"},nc={class:"webdav-item_name"},ic={class:"webdav-item_value"},rc=["href"],sc={key:1,class:"webdav-item"},dc={class:"webdav-item_name"},uc={class:"webdav-item_value"},lc=["href"],cc={key:2,class:"webdav-item"},pc={class:"webdav-item_name"},mc={class:"webdav-item_value"},fc=I({props:{webdav:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{var r;return`http://${location.hostname}:${(r=a.webdav)==null?void 0:r.port}`});return(r,p)=>{var x,_,b,m,c,f,v;return s(),u(N,null,[t("li",tc,[t("div",ec,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ac,[t("span",null,i((x=o.webdav)!=null&&x.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])]),(_=o.webdav)!=null&&_.path?(s(),u("li",oc,[t("div",nc,[t("span",null,i(e(n)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",ic,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((b=o.webdav)==null?void 0:b.path)},i((m=o.webdav)==null?void 0:m.path),9,rc)])])):D("",!0),(c=o.webdav)!=null&&c.port?(s(),u("li",sc,[t("div",dc,[t("span",null,i(e(n)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",uc,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,lc)])])):D("",!0),(f=o.webdav)!=null&&f.username?(s(),u("li",cc,[t("div",pc,[t("span",null,i(e(n)("\u8D26\u53F7:")),1)]),t("div",mc,[t("span",null,i((v=o.webdav)==null?void 0:v.username),1)])])):D("",!0)],64)}}});var vc=S(fc,[["__scopeId","data-v-2bc5f580"]]);const de=o=>(W("data-v-7732abe2"),o=o(),Z(),o),bc={class:"disk-item"},gc=de(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563338465",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2216",width:"128",height:"128"},[t("path",{d:"M998.4 711.68l-119.467-512c-6.826-42.667-42.666-75.093-87.04-76.8H232.107c-44.374 1.707-80.214 35.84-87.04 78.507L25.6 711.68c-5.12 13.653-6.827 29.013-6.827 42.667 0 76.8 63.147 139.946 141.654 139.946H865.28c78.507 0 141.653-63.146 141.653-139.946 0-13.654-3.413-29.014-8.533-42.667zM394.24 366.933c1.707-51.2 56.32-92.16 124.587-92.16S640 315.733 640 365.227c44.373-1.707 81.92 23.893 83.627 58.026s-34.134 63.147-78.507 64.854h-6.827l-245.76 1.706c-44.373 0-80.213-27.306-80.213-59.733 0-35.84 37.547-63.147 81.92-63.147z m471.04 459.094H160.427c-39.254 0-69.974-30.72-69.974-69.974s32.427-69.973 69.974-69.973H865.28c39.253 0 69.973 30.72 69.973 69.973 1.707 37.547-30.72 69.974-69.973 69.974z m-35.84-92.16c-11.947 0-22.187 8.533-23.893 20.48 0 11.946 8.533 22.186 20.48 23.893h3.413c11.947 0 22.187-10.24 22.187-22.187 0-13.653-8.534-22.186-22.187-22.186z m-46.08 22.186c0-25.6 20.48-46.08 46.08-46.08s46.08 20.48 46.08 46.08-20.48 46.08-46.08 46.08-46.08-20.48-46.08-46.08z","p-id":"2217"})])],-1)),_c={class:"disk-item_f"},hc={class:"disk-item_venderModel"},xc={class:"disk-item_used"},kc=de(()=>t("div",{class:"auto"},null,-1)),wc={class:"disk-item-r"},yc={class:"disk-children"},Fc=["onClick"],Ec=de(()=>t("div",{class:"disk-item_icon"},[t("svg",{t:"1642563581459",class:"icon",viewBox:"0 0 1228 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7132",width:"128",height:"128"},[t("path",{d:"M525.2096 145.3568c1.9968-45.568-35.6864-99.1232-57.4976-99.1232H57.4976C15.872 79.9232 17.8176 145.408 17.8176 145.408h507.392z",fill:"#ECC049","p-id":"7133"}),t("path",{d:"M21.8112 143.36L19.8144 825.1392c0 75.3152 75.3152 152.576 150.6304 152.576h887.9104c75.264 0 150.6304-75.264 150.6304-152.576V297.984c0-75.264-75.3152-152.576-150.6304-152.576h-434.0224L21.8112 143.36z",fill:"#FFD658","p-id":"7134"})])],-1)),Cc={key:0},$c={key:1},Dc=I({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var p,x;const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!1);a.currDisk!=null&&((p=a.currDisk)==null?void 0:p.venderModel)==((x=a.disk)==null?void 0:x.venderModel)&&(d.value=!0);const r=_=>{d.value=!d.value,a.onDisk(_,null)};return(_,b)=>{var m;return s(),u("ul",bc,[t("li",{class:rt(["disk-info",{on:o.disk.venderModel==((m=o.currDisk)==null?void 0:m.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:b[0]||(b[0]=c=>r(o.disk))},[gc,t("div",_c,[t("div",hc,i(o.disk.venderModel),1),t("div",xc,i(o.disk.used)+"/"+i(o.disk.size),1)]),kc,t("div",wc,i(o.disk.path),1)],2),L(t("div",yc,[(s(!0),u(N,null,R(o.disk.childrens,c=>{var f,v;return s(),u("li",{class:rt(["disk-children_item",{on:c.uuid==((f=o.currMountPoint)==null?void 0:f.uuid)&&c.path==((v=o.currMountPoint)==null?void 0:v.path)}]),onClick:g=>o.onDisk(o.disk,c)},[Ec,c.mountPoint?(s(),u("span",Cc," \u3010"+i(c.filesystem)+"\u3011 "+i(c.mountPoint)+" \uFF08"+i(c.used)+"/"+i(c.total)+"\uFF09 ["+i(c.uuid)+"] ",1)):(s(),u("span",$c," \u3010"+i(c.filesystem)+"\u3011 "+i(c.mountPoint||c.path||e(n)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(c.uuid)+"] ",1))],10,Fc)}),256))],512),[[bt,d.value]])])}}});var we=S(Dc,[["__scopeId","data-v-7732abe2"]]);const Bc=o=>(W("data-v-0d1b6ac8"),o=o(),Z(),o),Yc={class:"action list"},Ac={class:"action-header"},Sc={class:"action-header_title"},zc={class:"action-body"},Pc={class:"disk-list"},Tc={class:"action-msg"},Lc={href:"/cgi-bin/luci/admin/system/diskman"},Ic={class:"action-footer"},Mc=Bc(()=>t("div",{class:"auto"},null,-1)),Oc=I({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!0),r=dt({disks:[],raids:[]});(()=>M(this,null,function*(){const g=yield Promise.all([P.Nas.Disk.Status.GET(),P.Raid.List.GET()]);try{if(g[0]){const k=g[0];k!=null&&k.data.result&&(r.disks=(k==null?void 0:k.data.result.disks)||[])}if(g[1]){const k=g[1];k.data.result&&(r.raids=k.data.result.disks||[])}}catch(k){C.Warning(k)}}))();const x=E(),_=E(),b=(g,k)=>{x.value=g,_.value=k},m=()=>{a.Close&&a.Close()},c=()=>{a.Cancel&&a.Cancel(),m()},f=g=>{a.Next&&a.Next(g),m()},v=()=>{if(x.value==null){C.Warning(n("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(x.value.childrens!=null&&x.value.childrens.length>0&&_.value==null){C.Warning(n("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(_.value!=null&&(_.value.mountPoint==null||_.value.mountPoint=="")){C.Warning(n("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}d.value=!1,se({action:"nas",disk:x.value,mount:_.value,Cancel:()=>{d.value=!0},Next:g=>{f(g)}})};return(g,k)=>d.value?(s(),V(ot,{key:0,type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[t("div",Yc,[t("div",Ac,[t("div",Sc,i(e(n)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",zc,[t("div",Pc,[(s(!0),u(N,null,R(e(r).disks,h=>(s(),V(we,{disk:h,onDisk:b,currDisk:x.value,currMountPoint:_.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(s(!0),u(N,null,R(e(r).raids,h=>(s(),V(we,{disk:h,onDisk:b,currDisk:x.value,currMountPoint:_.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",Tc,[t("span",null,[at(i(e(n)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",Lc,i(e(n)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",Ic,[Mc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c,type:"button"},i(e(n)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:v,type:"button"},i(e(n)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):D("",!0)}});var Nc=S(Oc,[["__scopeId","data-v-0d1b6ac8"]]),qc=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(Nc,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const Vc=o=>(W("data-v-5f6e53be"),o=o(),Z(),o),Gc={class:"action"},jc={class:"action-body"},Rc=Vc(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),Uc={class:"title"},Hc={class:"info"},Wc=["href"],Zc={class:"btns"},Jc=I({props:{Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(""),r=U(()=>`http://${location.hostname}:${d.value}`);(()=>{P.Nas.Linkease.Enable.POST().then(_=>{var b,m;(b=_==null?void 0:_.data)!=null&&b.result&&(d.value=((m=_.data.result)==null?void 0:m.port)||"")})})();const x=()=>{a.Close&&a.Close(),location.reload()};return(_,b)=>(s(),V(ot,{type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[t("div",Gc,[t("div",jc,[Rc,t("h2",Uc,i(e(n)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Hc,[t("span",null,i(e(n)("\u524D\u5F80")),1),t("a",{href:e(r),target:"_blank",rel:"noopener noreferrer"},i(e(r)),9,Wc),t("span",null,i(e(n)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",Zc,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:x},i(e(n)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var Xc=S(Jc,[["__scopeId","data-v-5f6e53be"]]),Kc=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(Xc,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const Qc=o=>(W("data-v-2eafa10c"),o=o(),Z(),o),t1=["onSubmit"],e1={class:"action-header"},a1={class:"action-header_title"},o1={class:"action-body"},n1={class:"label-item"},i1={class:"label-item_key"},r1={class:"label-item_value"},s1=["value"],d1={class:"label-item"},u1={class:"label-item_key"},l1={class:"label-item_value"},c1=["placeholder"],p1={class:"label-item"},m1={class:"label-item_key"},f1={class:"label-item_value"},v1={class:"action-footer"},b1=Qc(()=>t("div",{class:"auto"},null,-1)),g1=["disabled"],_1=["disabled"],h1=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=m=>{m.preventDefault(),a.Close&&a.Close()},r=E(!1),p=E({username:"root",password:"",rootPath:a.rootPath});(()=>M(this,null,function*(){const m=C.Loading(n("\u52A0\u8F7D\u4E2D..."));r.value=!0;try{const c=yield P.Nas.Webdav.Status.GET();if(c!=null&&c.data){const{result:f,error:v}=c.data;if(v){C.Warning(v);return}f&&(f.username&&(p.value.username=f.username),f.password&&(p.value.password=f.password))}}catch(c){C.Error(c)}r.value=!1,m.Close()}))();const _=()=>{const m=p.value;if(m.rootPath==""){C.Warning(n("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(m.username==""){C.Warning(n("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(m.password==""){C.Warning(n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}b(m)},b=m=>M(this,null,function*(){r.value=!0;const c=C.Loading(n("\u521B\u5EFA\u4E2D..."));try{const f=yield P.Nas.Webdav.Create.POST(m);if(f!=null&&f.data){const{error:v,result:g}=f.data;v&&C.Warning(v),g&&(C.Success(n("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(f){C.Error(f)}c.Close(),r.value=!1});return(m,c)=>(s(),V(ot,{type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[t("form",{class:"action",onSubmit:st(_,["prevent"])},[t("div",e1,[t("div",a1,i(e(n)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",o1,[t("div",n1,[t("div",i1,[t("span",null,i(e(n)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",r1,[t("input",{type:"text",value:p.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,s1)])]),t("div",d1,[t("div",u1,[t("span",null,i(e(n)("\u7528\u6237\u540D")),1)]),t("div",l1,[L(t("input",{type:"text",required:"",placeholder:e(n)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":c[0]||(c[0]=f=>p.value.username=f)},null,8,c1),[[H,p.value.username,void 0,{trim:!0}]])])]),t("div",p1,[t("div",m1,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),t("div",f1,[L(t("input",{type:"password","onUpdate:modelValue":c[1]||(c[1]=f=>p.value.password=f)},null,512),[[H,p.value.password,void 0,{trim:!0}]])])])]),t("div",v1,[b1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:d,disabled:r.value},i(e(n)("\u5173\u95ED")),9,g1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:r.value},i(e(n)("\u521B\u5EFA")),9,_1)])],40,t1)]),_:1})]),_:1}))}});var x1=S(h1,[["__scopeId","data-v-2eafa10c"]]),k1=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(x1,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const w1=o=>(W("data-v-58844394"),o=o(),Z(),o),y1=["onSubmit"],F1={class:"action-header"},E1={class:"action-header_title"},C1={class:"action-body"},$1={class:"label-item"},D1={class:"label-item_key"},B1={class:"label-item_value"},Y1=["value"],A1={class:"label-item"},S1={class:"label-item_key"},z1={class:"label-item_value"},P1=["placeholder"],T1={class:"label-item"},L1={class:"label-item_key"},I1={class:"label-item_value"},M1=["placeholder"],O1={class:"label-item"},N1={class:"label-item_key"},q1={class:"label-item_value"},V1={class:"samba-item"},G1={class:"samba-item_allow"},j1={for:"allow",class:"samba-allow"},R1={class:"samba-item_tips"},U1={class:"tooltip-trigger"},H1={class:"samba_tip"},W1={class:"samba_dir_tip"},Z1={class:"action-footer"},J1=w1(()=>t("div",{class:"auto"},null,-1)),X1=["disabled"],K1=["disabled"],Q1=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=b=>{b.preventDefault(),a.Close&&a.Close()},r=E(!1),p=E({shareName:"",username:"",password:"",rootPath:a.rootPath,allowLegacy:!1}),x=()=>{const b=p.value;if(b.rootPath==""){C.Warning(n("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(b.shareName==""){C.Warning(n("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(b.username==""){C.Warning(n("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(b.password==""){C.Warning(n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const m=gt.checkSmabaUserName(b.username);if(m!==!0){C.Warning(`${m}`);return}_(b)},_=b=>M(this,null,function*(){r.value=!0;const m=C.Loading(n("\u521B\u5EFA\u4E2D..."));try{const c=yield P.Nas.Samba.Create.POST(b);if(c!=null&&c.data){const{error:f,result:v}=c.data;f&&C.Warning(f),v&&(C.Success(n("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(c){C.Error(c)}m.Close(),r.value=!1});return(b,m)=>(s(),V(ot,{type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[t("form",{class:"action",onSubmit:st(x,["prevent"])},[t("div",F1,[t("div",E1,i(e(n)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",C1,[t("div",$1,[t("div",D1,[t("span",null,i(e(n)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",B1,[t("input",{type:"text",value:p.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,Y1)])]),t("div",A1,[t("div",S1,[t("span",null,i(e(n)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",z1,[L(t("input",{type:"text","onUpdate:modelValue":m[0]||(m[0]=c=>p.value.shareName=c),required:"",placeholder:e(n)("\u5171\u4EAB\u540D\u79F0")},null,8,P1),[[H,p.value.shareName,void 0,{trim:!0}]])])]),t("div",T1,[t("div",L1,[t("span",null,i(e(n)("\u7528\u6237\u540D")),1)]),t("div",I1,[L(t("input",{type:"text",required:"",placeholder:e(n)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[1]||(m[1]=c=>p.value.username=c)},null,8,M1),[[H,p.value.username,void 0,{trim:!0}]])])]),t("div",O1,[t("div",N1,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),t("div",q1,[L(t("input",{type:"password","onUpdate:modelValue":m[2]||(m[2]=c=>p.value.password=c)},null,512),[[H,p.value.password,void 0,{trim:!0}]])])]),t("div",V1,[t("div",G1,[L(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":m[3]||(m[3]=c=>p.value.allowLegacy=c)},null,512),[[Ct,p.value.allowLegacy]]),t("label",j1,i(e(n)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",R1,[t("span",U1,[t("span",H1,[A(pt)]),t("span",W1,i(e(n)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",Z1,[J1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:d,disabled:r.value},i(e(n)("\u5173\u95ED")),9,X1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:r.value},i(e(n)("\u521B\u5EFA")),9,K1)])],40,y1)]),_:1})]),_:1}))}});var t2=S(Q1,[["__scopeId","data-v-58844394"]]),e2=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(t2,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const Bt=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,a2={key:0,class:"action"},o2={class:"title"},n2={class:"desc"},i2={value:"linkease"},r2={value:"samba"},s2={value:"webdav"},d2=["innerHTML"],u2={class:"btns"},l2=["disabled"],c2=I({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!0),r=E("linkease"),p=E(!1),x=E(a.setup||0),_=()=>{a.Close&&a.Close()},b=()=>M(this,null,function*(){switch(r.value){case"webdav":yield m();break;case"samba":yield f();break;case"linkease":yield c();break}}),m=()=>M(this,null,function*(){p.value=!0,(yield ut.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&v(),p.value=!1}),c=()=>M(this,null,function*(){p.value=!0,(yield ut.checkAndInstallApp("linkease",n("\u6613\u6709\u4E91"),"app-meta-linkease"))&&g(),p.value=!1}),f=()=>M(this,null,function*(){p.value=!0;const w=C.Loading(n("\u914D\u7F6E\u4E2D..."));v(),w.Close(),p.value=!1}),v=()=>{p.value=!1,d.value=!1,qc({Cancel:()=>{d.value=!0},Next:w=>{switch(r.value){case"webdav":k(w);break;case"samba":h(w);break}}})},g=()=>{Kc({}),_()},k=w=>{k1({rootPath:w}),_()},h=w=>{e2({rootPath:w}),_()};return(w,y)=>d.value?(s(),V(ot,{key:0,Close:o.Close,type:1},{default:G(()=>[A(ft,{name:"rotate",mode:"out-in"},{default:G(()=>[x.value==0?(s(),u("div",a2,[t("h2",o2,i(e(n)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",n2,i(e(n)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[L(t("select",{"onUpdate:modelValue":y[0]||(y[0]=F=>r.value=F)},[t("option",i2,i(e(n)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",r2,i(e(n)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",s2,i(e(n)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[tt,r.value]])])]),e(Bt)("unishare")?(s(),u("div",{key:0,class:"tips",innerHTML:e(n)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(n)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,d2)):D("",!0),t("div",u2,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:b,type:"button",disabled:p.value},i(e(n)("\u4E0B\u4E00\u6B65")),9,l2),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_,type:"button"},i(e(n)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1})]),_:1},8,["Close"])):D("",!0)}});var p2=S(c2,[["__scopeId","data-v-1d64dea6"]]),Me=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(p2,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}};const m2={class:"app-container_linkease"},f2={class:"linkease-item"},v2={class:"linkease-item_name"},b2={class:"linkease-item_value"},g2={key:0,class:"configure"},_2={key:0,class:"linkease-item"},h2={class:"linkease-item_name"},x2={class:"linkease-item_value"},k2=["href"],w2={href:" https://app.linkease.com/",target:"_blank"},y2=I({props:{linkease:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{var p;return`http://${location.hostname}:${(p=a.linkease)==null?void 0:p.port}`}),r=()=>{Me({setup:0})};return(p,x)=>{var _,b,m;return s(),u("ul",m2,[t("li",f2,[t("div",v2,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",b2,[(_=o.linkease)!=null&&_.enabel?(s(),u("span",g2,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(s(),u("span",{key:1,class:"configure enabel",onClick:x[0]||(x[0]=c=>r())},i(e(n)("\u672A\u914D\u7F6E")),1))])]),(b=o.linkease)!=null&&b.enabel?(s(),u(N,{key:0},[(m=o.linkease)!=null&&m.port?(s(),u("li",_2,[t("div",h2,[t("span",null,i(e(n)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",x2,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,k2)])])):D("",!0)],64)):D("",!0),t("div",null,[t("a",w2,i(e(n)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var F2=S(y2,[["__scopeId","data-v-55d1fac2"]]);const E2={class:"app-container"},C2={class:"app-container_title"},$2={class:"app-container_tool"},D2=["title"],B2={class:"DeviceBlock"},Y2={href:"/cgi-bin/luci/admin/services/samba4"},A2={class:"app-container_body"},S2={class:"app-container_nas-menu"},z2=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=E(!1),d=E("linkease"),r=E(),p=De();(()=>{P.Nas.Service.Status.GET().then(c=>{var f;if((f=c==null?void 0:c.data)!=null&&f.result){const v=c.data.result;r.value=v,v.webdav&&(p.webdav=v.webdav)}})})();const _=()=>{Me({setup:0})},b=()=>{l.value=!l.value},m=()=>{b(),ut.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(c,f)=>{var g,k,h;const v=K("GlHelp");return s(),u("div",E2,[t("div",C2,[t("span",null,[t("span",null,i(e(a)("\u5B58\u50A8\u670D\u52A1")),1),A(v,{type:"store"})]),t("div",$2,[t("div",{class:"app-container_configure",onClick:_},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F")},[A(kt,{onClick:b})],8,D2)]),L(t("div",B2,[t("div",{class:"menu_background",onClick:b}),t("ul",null,[t("li",null,[t("a",Y2,i(e(a)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:m},i(e(a)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[bt,l.value]])]),t("div",A2,[t("ul",S2,[t("button",{onClick:f[0]||(f[0]=w=>d.value="linkease"),class:rt({on:d.value=="linkease"})},i(e(a)("\u6613\u6709\u4E91")),3),t("button",{onClick:f[1]||(f[1]=w=>d.value="samba"),class:rt({on:d.value=="samba"})},i(e(a)("SAMBA")),3),t("button",{onClick:f[2]||(f[2]=w=>d.value="webdav"),class:rt({on:d.value=="webdav"})},i(e(a)("WEBDAV")),3)]),d.value=="samba"?(s(),V(Ql,{key:0,sambas:(g=r.value)==null?void 0:g.sambas},null,8,["sambas"])):d.value=="webdav"?(s(),V(vc,{key:1,webdav:(k=r.value)==null?void 0:k.webdav},null,8,["webdav"])):d.value=="linkease"?(s(),V(F2,{key:2,linkease:(h=r.value)==null?void 0:h.linkease},null,8,["linkease"])):D("",!0)])])}}});var P2=S(z2,[["__scopeId","data-v-1e1fa308"]]);const T2=o=>(W("data-v-3b1e9470"),o=o(),Z(),o),L2={class:"app-container_docker"},I2={class:"docker-item"},M2={class:"docker-item_name"},O2={key:0,class:"docker-item_value"},N2={class:"configure"},q2={key:1,class:"docker-item_value"},V2={class:"input-switch"},G2=["value","disabled"],j2=T2(()=>t("em",null,null,-1)),R2=[j2],U2={key:0,class:"docker-item"},H2={class:"docker-item_name"},W2={class:"docker-item_value"},Z2={class:"configure enabel"},J2={key:0},X2={class:"tooltip-trigger"},K2={class:"docker_tip"},Q2={class:"tooltip-text tooltip-top"},t5={class:"docker_dir_tip"},e5=I({props:{docker:{type:Object}},setup(o){var x;const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{var _;return((_=a.docker)==null?void 0:_.status)!="not installed"}),r=dt({enable:((x=a.docker)==null?void 0:x.status)=="running",disabled:!1}),p=()=>M(this,null,function*(){r.disabled=!0;try{const _=yield P.Guide.DockerSwitch.POST({enable:r.enable});if(_!=null&&_.data){const{success:b,error:m}=_.data;if(m)throw r.enable=!r.enable,m;(b||0)==0}}catch(_){C.Warning(`${_}`)}finally{r.disabled=!1}});return(_,b)=>{var m,c,f,v;return s(),u("ul",L2,[t("li",I2,[t("div",M2,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),(m=a.docker)!=null&&m.status?(s(),u(N,{key:0},[e(d)?(s(),u("div",q2,[t("label",V2,[L(t("input",{type:"checkbox",hidden:"",value:!e(r).enable,"onUpdate:modelValue":b[0]||(b[0]=g=>e(r).enable=g),disabled:e(r).disabled,onChange:p},null,40,G2),[[Ct,e(r).enable]]),t("span",{class:rt(e(r).enable?"enable":"close")},R2,2)])])):(s(),u("div",O2,[t("span",N2,i(e(n)("\u672A\u5B89\u88C5")),1)]))],64)):D("",!0)]),((c=o.docker)==null?void 0:c.status)=="running"?(s(),u("li",U2,[t("div",H2,[t("span",null,i(e(n)("Docker\u6839\u76EE\u5F55\uFF1A")),1)]),t("div",W2,[t("span",Z2,i((f=o.docker)==null?void 0:f.path),1),(v=o.docker)!=null&&v.errorInfo?(s(),u("span",J2,[t("span",X2,[t("span",K2,[A(pt)]),t("div",null,[t("div",Q2,[t("span",t5,i(o.docker.errorInfo),1)])])])])):D("",!0)])])):D("",!0)])}}});var a5=S(e5,[["__scopeId","data-v-3b1e9470"]]);const o5={},n5={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},i5=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),r5=[i5];function s5(o,a){return s(),u("svg",n5,r5)}var d5=S(o5,[["render",s5]]);const u5={key:0,class:"action"},l5={class:"title"},c5={class:"desc"},p5={class:"roots"},m5={class:"roots_tit"},f5={class:"root"},v5={class:"move"},b5={class:"roots_tit"},g5={key:0},_5=["onSubmit"],h5={class:"select-editable"},x5={selected:"",value:null},k5=["value"],w5={value:"useInput"},y5=["placeholder"],F5={key:1,class:"tips"},E5={class:"tips_content"},C5={class:"tip"},$5={key:0,class:"btns"},D5={key:1,class:"btns"},B5={key:1,class:"action docker_success"},Y5={class:"title"},A5={class:"finished"},S5={class:"successed"},z5={class:"btns"},P5={key:2,class:"action docker_download"},T5={class:"title"},L5={class:"finished"},I5={class:"successed"},M5={class:"docker_moves"},O5={class:"moves change"},N5={for:"move"},q5={class:"moves"},V5={for:"cover"},G5={class:"btns"},j5=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(),r=E(),p=E(0),x=E("null"),_=E(""),b=E(),m=E(!1),c=E("");(()=>{P.Nas.Disk.Status.GET().then(F=>{F!=null&&F.data.result&&(b.value=F==null?void 0:F.data.result)}),P.Guide.DockerStatus.GET().then(F=>{var B;if((B=F==null?void 0:F.data)!=null&&B.result){const Y=F.data.result;d.value=Y}}),P.Guide.DockerPartitionList.GET().then(F=>{var B;if((B=F==null?void 0:F.data)!=null&&B.result){const Y=F.data.result;r.value=Y}})})();const v=F=>{let B=x.value;if(B=="useInput"&&(B=_.value),B==null||B=="null"||B=="")return;const Y=C.Loading(n("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));P.Guide.DockerTransfer.POST({path:B,force:F,overwriteDir:!!c.value}).then($=>{var z;if($!=null&&$.data){if(($.data.success||0)==0){if((z=$.data.result)!=null&&z.emptyPathWarning){m.value=!0,p.value=2;return}p.value=1;return}else if($.data.error)throw $.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch($=>{C.Error($)}).finally(()=>Y.Close())},g=()=>{m.value=!1,v(!1)},k=F=>{F.preventDefault(),a.Close&&a.Close()},h=F=>{F.preventDefault(),location.reload()},w=F=>{F.preventDefault(),p.value=0},y=F=>{F.preventDefault(),v(!0)};return(F,B)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>{var Y,$,z,T,J,j;return[p.value==0?(s(),u("div",u5,[t("h2",l5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",c5,i(e(n)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",p5,[t("span",m5,i(e(n)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",f5,i((Y=d.value)==null?void 0:Y.path),1)]),t("div",v5,[t("span",b5,i(e(n)("\u8FC1\u79FB\u5230\uFF1A")),1),(z=($=r.value)==null?void 0:$.partitionList)!=null&&z.length?(s(),u("div",g5,[t("form",{onSubmit:st(g,["prevent"])},[t("label",null,[t("div",h5,[L(t("select",{"onUpdate:modelValue":B[0]||(B[0]=Q=>x.value=Q)},[t("option",x5,i(e(n)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(s(!0),u(N,null,R((T=r.value)==null?void 0:T.partitionList,(Q,ht)=>(s(),u("option",{value:Q,key:ht},i(Q),9,k5))),128)),t("option",w5,i(e(n)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[tt,x.value,void 0,{trim:!0}]]),x.value=="useInput"?L((s(),u("input",{key:0,type:"text","onUpdate:modelValue":B[1]||(B[1]=Q=>_.value=Q),required:"",placeholder:e(n)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,y5)),[[H,_.value,void 0,{trim:!0}]]):D("",!0)])])],40,_5)])):r.value?(s(),u("div",F5,[t("div",E5,[A(pt),t("span",C5,i(e(n)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):D("",!0)]),(j=(J=r.value)==null?void 0:J.partitionList)!=null&&j.length?(s(),u("div",$5,[t("button",{class:"cbi-button cbi-button-apply",onClick:g},i(e(n)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:k},i(e(n)("\u53D6\u6D88")),1)])):(s(),u("div",D5,[t("button",{class:"cbi-button cbi-button-apply",onClick:k},i(e(n)("\u786E\u5B9A")),1)]))])):p.value==1?(s(),u("div",B5,[t("h2",Y5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",A5,[A(ie)]),t("p",S5,i(e(n)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",z5,[t("button",{class:"cbi-button cbi-button-apply",onClick:h},i(e(n)("\u786E\u5B9A")),1)])])):p.value==2?(s(),u("div",P5,[t("h2",T5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",L5,[A(d5)]),t("p",I5,i(e(n)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",M5,[t("div",O5,[L(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":B[2]||(B[2]=Q=>c.value=Q),value:""},null,512),[[lt,c.value]]),t("label",N5,i(e(n)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",q5,[L(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":B[3]||(B[3]=Q=>c.value=Q),value:"true"},null,512),[[lt,c.value]]),t("label",V5,i(e(n)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",G5,[m.value?(s(),u("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},i(e(n)("\u786E\u5B9A")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:w},i(e(n)("\u8FD4\u56DE")),1),m.value?D("",!0):(s(),u("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:h},i(e(n)("\u53D6\u6D88")),1))])])):D("",!0)]}),_:1},8,["Close"]))}});var R5=S(j5,[["__scopeId","data-v-919e529c"]]);const U5=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=et(R5,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},H5=o=>(W("data-v-fcb97952"),o=o(),Z(),o),W5={class:"app-container"},Z5={class:"app-container_title"},J5=H5(()=>t("span",null,"Docker",-1)),X5={key:0,class:"app-container_tool"},K5=["title"],Q5={class:"DeviceBlock"},t6={href:"/cgi-bin/luci/admin/docker/overview"},e6={key:1,class:"loading_placeholder"},a6=I({props:{docker:{type:Object}},setup(o){const{$gettext:a,$ngettext:n}=q(),l=E(!1),d=E(),r=E(!1),p=()=>{r.value=!r.value},x=()=>{U5()};return setTimeout(()=>{P.Guide.DockerStatus.GET().then(b=>{var m;if((m=b==null?void 0:b.data)!=null&&m.result){const c=b.data.result;d.value=c}}).finally(()=>{l.value=!0})},1100),(b,m)=>{var v,g;const c=K("GlHelp"),f=K("icon-loading");return s(),u("div",W5,[t("div",Z5,[t("span",null,[J5,A(c,{type:"docker"})]),l.value?(s(),u("div",X5,[((v=d.value)==null?void 0:v.status)!="not installed"?(s(),u("div",{key:0,class:"app-container_configure",onClick:x},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1)):D("",!0),((g=d.value)==null?void 0:g.status)==="running"?(s(),u("span",{key:1,class:"more_icon",title:e(a)("Docker\u7BA1\u7406")},[A(kt,{onClick:p})],8,K5)):D("",!0)])):D("",!0),L(t("div",Q5,[t("div",{class:"menu_background",onClick:p}),t("ul",null,[t("li",null,[t("a",t6,i(e(a)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[bt,r.value]])]),t("div",null,[l.value?(s(),V(a5,{key:0,docker:d.value},null,8,["docker"])):(s(),u("div",e6,[A(f,{size:50,color:"currentColor"})]))])])}}});var o6=S(a6,[["__scopeId","data-v-fcb97952"]]);const n6={class:"app-container_aria2"},i6={class:"aria2-item"},r6={class:"aria2-item_name"},s6={class:"aria2-item_value"},d6={key:0,class:"configure"},u6={key:1,class:"configure enabel"},l6={class:"aria2-item"},c6={class:"aria2-item_name"},p6={class:"aria2-item_value"},m6=["href"],f6={class:"aria2-item"},v6={class:"aria2-item_name"},b6={class:"aria2-item_value"},g6=["href"],_6={class:"aria2-item"},h6={class:"aria2-item_name right"},x6={class:"aria2-item_value"},k6=["href"],w6={class:"use-url_app"},y6={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},F6=I({props:{aria2:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{var p;return`${location.origin}${(p=a.aria2)==null?void 0:p.webPath}`}),r=U(()=>{var _,b,m;let p=(_=a.aria2)==null?void 0:_.rpcToken;p?p=encodeURIComponent(btoa(p)):p="";const x=encodeURIComponent(location.hostname);return`${location.origin}${(b=a.aria2)==null?void 0:b.webPath}/#!/settings/rpc/set/http/${x}/${(m=a.aria2)==null?void 0:m.rpcPort}/jsonrpc/${p}`});return(p,x)=>{var _,b,m,c;return s(),u("ul",n6,[t("li",i6,[t("div",r6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",s6,[((_=o.aria2)==null?void 0:_.status)=="running"?(s(),u("span",d6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),u("span",u6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((b=o.aria2)==null?void 0:b.status)=="running"?(s(),u(N,{key:0},[t("li",l6,[t("div",c6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",p6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((m=o.aria2)==null?void 0:m.downloadPath)},i((c=o.aria2)==null?void 0:c.downloadPath),9,m6)])]),t("li",f6,[t("div",v6,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",b6,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,g6)])]),t("li",_6,[t("div",h6,[t("span",null,i(e(n)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",x6,[t("a",{href:e(r),target:"_blank",rel:"noopener noreferrer"},i(e(n)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,k6)])])],64)):D("",!0),t("div",w6,[t("a",y6,i(e(n)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var E6=S(F6,[["__scopeId","data-v-40652d1d"]]);const C6={class:"app-container_qbittorrent"},$6={class:"qbittorrent-item"},D6={class:"qbittorrent-item_name"},B6={class:"qbittorrent-item_value"},Y6={key:0,class:"configure"},A6={key:1,class:"configure enabel"},S6={class:"qbittorrent-item"},z6={class:"qbittorrent-item_name"},P6={class:"qbittorrent-item_value"},T6=["href"],L6={class:"qbittorrent-item"},I6={class:"qbittorrent-item_name"},M6={class:"qbittorrent-item_value"},O6=["href"],N6={class:"qbittorrent-item"},q6={class:"qbittorrent-item_name right"},V6={class:"qbittorrent-item_value"},G6=I({props:{qbittorrent:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{var r;return`http://${location.hostname}${(r=a.qbittorrent)==null?void 0:r.webPath}`});return(r,p)=>{var x,_,b,m;return s(),u("ul",C6,[t("li",$6,[t("div",D6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",B6,[((x=o.qbittorrent)==null?void 0:x.status)=="running"?(s(),u("span",Y6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),u("span",A6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((_=o.qbittorrent)==null?void 0:_.status)=="running"?(s(),u(N,{key:0},[t("li",S6,[t("div",z6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",P6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((b=o.qbittorrent)==null?void 0:b.downloadPath)},i((m=o.qbittorrent)==null?void 0:m.downloadPath),9,T6)])]),t("li",L6,[t("div",I6,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",M6,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,O6)])]),t("li",N6,[t("div",q6,[t("span",null,i(e(n)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",V6,[t("span",null,i(e(n)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):D("",!0)])}}});var j6=S(G6,[["__scopeId","data-v-96972a5a"]]);const R6={class:"app-container_transmission"},U6={class:"transmission-item"},H6={class:"transmission-item_name"},W6={class:"transmission-item_value"},Z6={key:0,class:"configure"},J6={key:1,class:"configure enabel"},X6={class:"transmission-item"},K6={class:"transmission-item_name"},Q6={class:"transmission-item_value"},t3=["href"],e3={class:"transmission-item"},a3={class:"transmission-item_name"},o3={class:"transmission-item_value"},n3=["href"],i3=I({props:{transmission:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=U(()=>{var r;return`http://${location.hostname}${(r=a.transmission)==null?void 0:r.webPath}`});return(r,p)=>{var x,_,b,m;return s(),u("ul",R6,[t("li",U6,[t("div",H6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",W6,[((x=o.transmission)==null?void 0:x.status)=="running"?(s(),u("span",Z6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),u("span",J6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((_=o.transmission)==null?void 0:_.status)=="running"?(s(),u(N,{key:0},[t("li",X6,[t("div",K6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",Q6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((b=o.transmission)==null?void 0:b.downloadPath)},i((m=o.transmission)==null?void 0:m.downloadPath),9,t3)])]),t("li",e3,[t("div",a3,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",o3,[t("a",{href:e(d),target:"_blank",rel:"noopener noreferrer"},i(e(d)),9,n3)])])],64)):D("",!0)])}}});var r3=S(i3,[["__scopeId","data-v-05c8d77a"]]);const s3={},d3={width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},u3=t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6","fill-opacity":"0.65"},null,-1),l3=[u3];function c3(o,a){return s(),u("svg",d3,l3)}var Ft=S(s3,[["render",c3]]);const Xt=o=>(W("data-v-7b328460"),o=o(),Z(),o),p3={key:0,class:"action"},m3={class:"title"},f3={class:"load_service input_row"},v3={class:"left"},b3={class:"radios"},g3=Xt(()=>t("label",{for:"Aria2"},"Aria2",-1)),_3={class:"radios"},h3=Xt(()=>t("label",{for:"qB"},"qBittorrent",-1)),x3={class:"radios"},k3=Xt(()=>t("label",{for:"Tr"},"Transmission",-1)),w3=["onSubmit"],y3={class:"input_row"},F3={class:"left"},E3={class:"tooltip-trigger"},C3={class:"tooltip-text tooltip-top"},$3={class:"dowload_dir_tip"},D3={class:"myinput_wrap"},B3={class:"input_row"},Y3={class:"left"},A3={class:"tooltip-trigger"},S3={class:"tooltip-text tooltip-top"},z3={class:"dowload_dir_tip"},P3={class:"myinput_wrap"},T3={class:"input_row"},L3={class:"left"},I3={class:"tooltip-trigger"},M3={class:"tooltip-text tooltip-bottom"},O3={class:"dowload_rpc_tip"},N3=["placeholder"],q3={class:"input_row"},V3={class:""},G3={class:"radios"},j3={for:"default"},R3={class:"radios"},U3={for:"add"},H3={class:"input_row"},W3=Xt(()=>t("div",{class:"left"},null,-1)),Z3={class:"myinput_wrap Tracker_input"},J3=["placeholder"],X3=["onSubmit"],K3={class:"input_row"},Q3={class:"left"},t8={class:"tooltip-trigger"},e8={class:"tooltip-text tooltip-top"},a8={class:"dowload_dir_tip"},o8={class:"myinput_wrap"},n8={class:"input_row"},i8={class:"left"},r8={class:"tooltip-trigger"},s8={class:"tooltip-text tooltip-top"},d8={class:"dowload_dir_tip"},u8={class:"myinput_wrap"},l8=["onSubmit"],c8={class:"input_row"},p8={class:"left"},m8={class:"tooltip-trigger"},f8={class:"tooltip-text tooltip-top"},v8={class:"dowload_dir_tip"},b8={class:"myinput_wrap"},g8={class:"input_row"},_8={class:"left"},h8={class:"tooltip-trigger"},x8={class:"tooltip-text tooltip-top"},k8={class:"dowload_dir_tip"},w8={class:"myinput_wrap"},y8={class:"btns"},F8={key:1,class:"action"},E8={class:"title"},C8={class:"finished"},$8={class:"successed"},D8={class:"btns"},B8=I({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(""),r=E(""),p=E(""),x=E(""),_=E("default"),b=E("Aria2"),m=E(""),c=E(""),f=E(""),v=E(""),g=E([]),k=E([]),h=E(0);_t(()=>{var j,Q,ht,ce,pe,me,fe,ve,be,ge;switch(a.defaultTab){case"aria2":b.value="Aria2";break;case"qbittorrent":b.value="qBittorrent";break;case"transmission":b.value="Transmission";break}g.value=a.partitionList.map(Pt=>({key:Pt})),k.value=a.partitionList.filter(Pt=>Pt.startsWith("/mnt/")).map(Pt=>Pt.replace(/(\/mnt\/[^/]+).*/,"$1")),p.value=((j=a.services.aria2)==null?void 0:j.configPath)||"";const $=((Q=a.services.aria2)==null?void 0:Q.downloadPath)||((ht=a.services.qbittorrent)==null?void 0:ht.downloadPath)||((ce=a.services.transmission)==null?void 0:ce.downloadPath);$&&(x.value=$);const z=(pe=a.services.aria2)==null?void 0:pe.rpcToken;z&&(d.value=z),m.value=((me=a.services.qbittorrent)==null?void 0:me.configPath)||"";const T=((fe=a.services.qbittorrent)==null?void 0:fe.downloadPath)||$||((ve=a.services.transmission)==null?void 0:ve.downloadPath);T&&(c.value=T),f.value=((be=a.services.transmission)==null?void 0:be.configPath)||"";const J=((ge=a.services.transmission)==null?void 0:ge.downloadPath)||$||T;J&&(v.value=J)});const w=()=>{let $=p.value,z=x.value;$==null||$==""||z==null||z==""||M(this,null,function*(){if(yield ut.checkAndInstallApp("app-meta-aria2","Aria2")){const J=C.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.Aria2Init.POST({configPath:$,downloadPath:z,rpcToken:d.value,btTracker:_.value=="add"?r.value:""}).then(j=>{var Q;if(j!=null&&j.data){if((j.data.success||0)==0){h.value=1;return}else if((Q=j.data)!=null&&Q.error)throw j.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(j=>C.Error(j)).finally(()=>J.Close())}})},y=()=>{let $=m.value,z=c.value;$==null||$==""||z==null||z==""||M(this,null,function*(){if(yield ut.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const J=C.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.qbitorrentInit.POST({configPath:$,downloadPath:z}).then(j=>{var Q;if(j!=null&&j.data){if((j.data.success||0)==0){h.value=1;return}else if((Q=j.data)!=null&&Q.error)throw j.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(j=>C.Error(j)).finally(()=>J.Close())}})},F=()=>{let $=f.value,z=v.value;$==null||$==""||z==null||z==""||M(this,null,function*(){if(yield ut.checkAndInstallApp("app-meta-transmission","Transmission")){const J=C.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.transmissionInit.POST({configPath:$,downloadPath:z}).then(j=>{var Q;if(j!=null&&j.data){if((j.data.success||0)==0){h.value=1;return}else if((Q=j.data)!=null&&Q.error)throw j.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(j=>C.Error(j)).finally(()=>J.Close())}})},B=$=>{$.preventDefault(),a.Close&&a.Close()},Y=$=>{$.preventDefault(),location.reload()};return($,z)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[h.value==0?(s(),u("div",p3,[t("h2",m3,i(e(n)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",f3,[t("div",v3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",b3,[L(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":z[0]||(z[0]=T=>b.value=T),name:"download",id:"Aria2"},null,512),[[lt,b.value]]),g3]),t("div",_3,[L(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":z[1]||(z[1]=T=>b.value=T),name:"download",id:"qB"},null,512),[[lt,b.value]]),h3]),t("div",x3,[L(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":z[2]||(z[2]=T=>b.value=T),name:"download",id:"Tr"},null,512),[[lt,b.value]]),k3])])])]),b.value=="Aria2"?(s(),u("form",{key:0,onSubmit:st(w,["prevent"])},[t("ul",null,[t("li",null,[t("div",y3,[t("div",F3,[t("span",E3,[A(Ft),t("div",null,[t("div",C3,[t("span",$3,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",D3,[A(Et,{modelValue:p.value,"onUpdate:modelValue":z[3]||(z[3]=T=>p.value=T),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:k.value.concat("/root").map(T=>({key:T+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",B3,[t("div",Y3,[t("span",A3,[A(Ft),t("div",null,[t("div",S3,[t("span",z3,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",P3,[A(Et,{modelValue:x.value,"onUpdate:modelValue":z[4]||(z[4]=T=>x.value=T),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",T3,[t("div",L3,[t("span",I3,[A(Ft),t("div",null,[t("div",M3,[t("span",O3,i(e(n)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(n)("RPC \u4EE4\u724C\uFF1A")),1)]),L(t("input",{type:"text",class:"RPC_input",placeholder:e(n)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":z[5]||(z[5]=T=>d.value=T)},null,8,N3),[[H,d.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",q3,[t("div",V3,[t("span",null,i(e(n)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",G3,[L(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":z[6]||(z[6]=T=>_.value=T)},null,512),[[lt,_.value]]),t("label",j3,i(e(n)("\u9ED8\u8BA4")),1)]),t("div",R3,[L(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":z[7]||(z[7]=T=>_.value=T)},null,512),[[lt,_.value]]),t("label",U3,i(e(n)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",H3,[W3,t("div",Z3,[_.value=="add"?L((s(),u("textarea",{key:0,"onUpdate:modelValue":z[8]||(z[8]=T=>r.value=T),rows:"4",placeholder:e(n)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,J3)),[[H,r.value,void 0,{trim:!0}]]):D("",!0)])])])])],40,w3)):D("",!0),b.value=="qBittorrent"?(s(),u("form",{key:1,onSubmit:st(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",K3,[t("div",Q3,[t("span",t8,[A(Ft),t("div",null,[t("div",e8,[t("span",a8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",o8,[A(Et,{modelValue:m.value,"onUpdate:modelValue":z[9]||(z[9]=T=>m.value=T),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:k.value.concat("/root").map(T=>({key:T+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",n8,[t("div",i8,[t("span",r8,[A(Ft),t("div",null,[t("div",s8,[t("span",d8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",u8,[A(Et,{modelValue:c.value,"onUpdate:modelValue":z[10]||(z[10]=T=>c.value=T),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])])])],40,X3)):D("",!0),b.value=="Transmission"?(s(),u("form",{key:2,onSubmit:st(F,["prevent"])},[t("ul",null,[t("li",null,[t("div",c8,[t("div",p8,[t("span",m8,[A(Ft),t("div",null,[t("div",f8,[t("span",v8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",b8,[A(Et,{modelValue:f.value,"onUpdate:modelValue":z[11]||(z[11]=T=>f.value=T),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:k.value.concat("/root").map(T=>({key:T+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",g8,[t("div",_8,[t("span",h8,[A(Ft),t("div",null,[t("div",x8,[t("span",k8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",w8,[A(Et,{modelValue:v.value,"onUpdate:modelValue":z[12]||(z[12]=T=>v.value=T),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])])])],40,l8)):D("",!0),t("div",y8,[b.value=="Aria2"?(s(),u("button",{key:0,class:"cbi-button cbi-button-apply",onClick:w},i(e(n)("\u542F\u7528")),1)):D("",!0),b.value=="qBittorrent"?(s(),u("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},i(e(n)("\u542F\u7528")),1)):D("",!0),b.value=="Transmission"?(s(),u("button",{key:2,class:"cbi-button cbi-button-apply",onClick:F},i(e(n)("\u542F\u7528")),1)):D("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(n)("\u53D6\u6D88")),1)])])):h.value==1?(s(),u("div",F8,[t("h2",E8,i(e(n)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:b.value})),1),t("div",C8,[A(ie)]),t("p",$8,i(e(n)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",D8,[t("button",{class:"cbi-button cbi-button-apply",onClick:Y},i(e(n)("\u786E\u5B9A")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var Y8=S(B8,[["__scopeId","data-v-7b328460"]]);const A8=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(Y8,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}},S8={class:"app-container"},z8={class:"app-container_title"},P8={class:"app-container_tool"},T8=["disabled"],L8=["title"],I8={class:"DeviceBlock"},M8={class:"app-container_body"},O8={class:"app-container_nas-menu"},N8=I({setup(o){const{$gettext:a,$ngettext:n}=q();E(!1);const l=E("aria2"),d=E();De(),setTimeout(()=>{P.Guide.DownloadService.Status.GET().then(g=>{var k;if((k=g==null?void 0:g.data)!=null&&k.result){const h=g.data.result;d.value=h}})},800);const p=E(!1),x=E(!1),_=()=>{x.value=!x.value},b=()=>{P.Guide.DownloadPartition.List.GET().then(g=>{var h,w;let k=[];(w=(h=g==null?void 0:g.data)==null?void 0:h.result)!=null&&w.partitionList&&(k=g.data.result.partitionList),A8({services:d.value,partitionList:k,defaultTab:l.value})})},m=(g,k,h)=>M(this,null,function*(){_(),ut.installAndGo(g,k,h)}),c=()=>{m("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},f=()=>{m("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},v=()=>{m("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(g,k)=>{var w,y,F;const h=K("GlHelp");return s(),u("div",S8,[t("div",z8,[t("span",null,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1")),1),A(h,{type:"download"})]),t("div",P8,[d.value?(s(),u("div",{key:0,class:"app-container_configure",onClick:b,disabled:p.value},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),9,T8)):D("",!0),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E")},[A(kt,{onClick:_})],8,L8)]),L(t("div",I8,[t("div",{class:"menu_background",onClick:_}),t("ul",null,[t("li",null,[t("a",{onClick:c},i(e(a)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:f},i(e(a)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:v},i(e(a)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[bt,x.value]])]),t("div",M8,[t("ul",O8,[t("button",{onClick:k[0]||(k[0]=B=>l.value="aria2"),class:rt({on:l.value=="aria2"})},"Aria2",2),t("button",{onClick:k[1]||(k[1]=B=>l.value="qbittorrent"),class:rt({on:l.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:k[2]||(k[2]=B=>l.value="transmission"),class:rt({on:l.value=="transmission"})},"Transmission",2)]),l.value=="aria2"?(s(),V(E6,{key:0,aria2:(w=d.value)==null?void 0:w.aria2},null,8,["aria2"])):l.value=="qbittorrent"?(s(),V(j6,{key:1,qbittorrent:(y=d.value)==null?void 0:y.qbittorrent},null,8,["qbittorrent"])):l.value=="transmission"?(s(),V(r3,{key:2,transmission:(F=d.value)==null?void 0:F.transmission},null,8,["transmission"])):D("",!0)])])}}});var q8=S(N8,[["__scopeId","data-v-602f6713"]]);const V8={class:"actioner-container"},G8={class:"actioner-container_header"},j8={class:"actioner-container_body"},R8={class:"label-item"},U8={class:"label_info"},H8={class:"label-item"},W8={class:"label_info"},Z8={class:"label-item"},J8={class:"label_info"},X8={class:"label-item"},K8={class:"label_info"},Q8={class:"actioner-container_footer"},t7=I({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:a}){const n=o,{$gettext:l,$ngettext:d}=q(),r=()=>{n.onSetup()},p=E(n.active),x=()=>{switch(a("update:active",p.value),p.value){case"ddnsto":n.onSetup("ddnsto");break;case"ali":n.onSetup("ddns-ali");break;case"dnspod":n.onSetup("ddns-dnspod");break;case"oray":n.onSetup("ddns-oray");break}};return(_,b)=>(s(),u("div",V8,[t("div",G8,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",j8,[t("div",R8,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=m=>p.value=m),value:"ddnsto"},null,512),[[lt,p.value]]),t("span",null,i(e(l)("DDNSTO")),1)]),t("p",U8,i(e(l)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",H8,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":b[1]||(b[1]=m=>p.value=m),value:"ali"},null,512),[[lt,p.value]]),t("span",null,i(e(l)("\u963F\u91CC\u4E91")),1)]),t("p",W8,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",Z8,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":b[2]||(b[2]=m=>p.value=m),value:"dnspod"},null,512),[[lt,p.value]]),t("span",null,i(e(l)("Dnspod")),1)]),t("p",J8,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",X8,[t("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":b[3]||(b[3]=m=>p.value=m),value:"oray"},null,512),[[lt,p.value]]),t("span",null,i(e(l)("\u82B1\u751F\u58F3")),1)]),t("p",K8,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",Q8,[t("div",{class:"close",onClick:r},i(e(l)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:x},i(e(l)("\u4E0B\u4E00\u6B65")),1)])]))}});var e7=S(t7,[["__scopeId","data-v-46dd945e"]]);const a7=o=>(W("data-v-8a3b670c"),o=o(),Z(),o),o7={class:"actioner-container"},n7={class:"actioner-container_body"},i7=a7(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),r7={class:"body-title"},s7={class:"body-tips"},d7={class:"body-info"},u7=["href"],l7={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},c7={class:"actioner-container_footer"},p7=I({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:a,$ngettext:n}=q(),l=()=>{location.reload()};return(d,r)=>(s(),u("div",o7,[t("div",n7,[i7,t("div",r7,i(e(a)("\u6DFB\u52A0\u6210\u529F")),1),t("p",s7,i(e(a)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",d7,[t("span",null,i(e(a)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,u7)]),t("div",null,[t("span",null,i(e(a)("\u53EF\u524D\u5F80")),1),t("a",l7,i(e(a)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(a)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",c7,[t("div",{class:"close",onClick:l},i(e(a)("\u5173\u95ED")),1)])]))}});var m7=S(p7,[["__scopeId","data-v-8a3b670c"]]);const f7=o=>(W("data-v-064efd50"),o=o(),Z(),o),v7={class:"actioner-container"},b7={class:"actioner-container_header"},g7=f7(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),_7={class:"actioner-container_footer"},h7=I({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.onSetup()},r=p=>{if(p.data.auth=="ddnsto"){const x=p.data.sign,_=p.data.token;x&&_&&(removeEventListener("message",r),a.onDdnstoConfig(x,_),a.onSetup("ddnsto-run"))}};return _t(()=>{window.addEventListener("message",r)}),St(()=>{removeEventListener("message",r)}),(p,x)=>(s(),u("div",v7,[t("div",b7,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),g7,t("div",_7,[t("div",{class:"close",onClick:d},i(e(n)("\u53D6\u6D88")),1)])]))}});var x7=S(h7,[["__scopeId","data-v-064efd50"]]);const k7={class:"actioner-container"},w7={class:"actioner-container_header"},y7={class:"actioner-container_body ddnsto-bind"},F7=["src"],E7=I({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:a}){const n=o,{$gettext:l,$ngettext:d}=q(),r=U(()=>{const{domain:_,token:b,sign:m,routerId:c,netaddr:f}=n.config,v=encodeURIComponent(_),g=encodeURIComponent(f);return`https://www.kooldns.cn/bind/#/domain?domain=${v}&sign=${m}&token=${b}&routerId=${c}&netaddr=${g}`}),p=_=>{if(_.data){const{auth:b,url:m}=_.data;b==="ddnsto"&&m&&x(m)}},x=_=>M(this,null,function*(){var b;try{const m=yield P.Guide.DdnstoAddress.POST({address:_});m!=null&&m.data&&(((b=m==null?void 0:m.data)==null?void 0:b.success)||0)==0&&(a("update:domain",_),n.onSetup("ddnsto-save"))}catch(m){}});return _t(()=>{window.addEventListener("message",p)}),St(()=>{removeEventListener("message",p)}),(_,b)=>(s(),u("div",k7,[t("div",w7,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",y7,[t("iframe",{src:e(r)},null,8,F7)])]))}});var C7=S(E7,[["__scopeId","data-v-49c43a08"]]);const $7=o=>(W("data-v-2904f676"),o=o(),Z(),o),D7={class:"actioner-container"},B7={class:"actioner-container_body"},Y7=$7(()=>t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})],-1)),A7={class:"body-title"},S7={class:"body-tips"},z7={class:"body-info"},P7=["href"],T7={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},L7={class:"actioner-container_footer"},I7=I({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:a,$ngettext:n}=q(),l=()=>{location.reload()};return(d,r)=>(s(),u("div",D7,[t("div",B7,[Y7,t("div",A7,i(e(a)("\u6DFB\u52A0\u6210\u529F")),1),t("p",S7,i(e(a)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",z7,[t("span",null,i(e(a)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,P7)]),t("div",null,[t("span",null,i(e(a)("\u53EF\u524D\u5F80")),1),t("a",T7,i(e(a)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(a)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",L7,[t("div",{class:"close",onClick:l},i(e(a)("\u5173\u95ED")),1)])]))}});var M7=S(I7,[["__scopeId","data-v-2904f676"]]);const O7={class:"actioner-container"},N7={class:"actioner-container_header"},q7={class:"actioner-container_body"},V7={class:"actioner-container_footer"},G7=I({props:{onSetup:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.onSetup()},r=()=>M(this,null,function*(){if(_.value)return;_.value=!0;const m=C.Loading(n("\u5B89\u88C5\u4E2D..."));try{if(yield ut.installApp("app-meta-ddnsto",30)){a.onSetup("ddnsto-login");return}else p.value=n("\u5B89\u88C5\u5931\u8D25")}catch(c){p.value=c}finally{m.Close()}_.value=!1}),p=E(n("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),x=E(!1),_=E(!1);return(()=>M(this,null,function*(){try{const m=yield P.App.Check.POST({name:"ddnsto"});if(m!=null&&m.data){const{result:c,error:f}=m.data;if(f){p.value=f;return}if(c){if(c.status=="installed"){a.onSetup("ddnsto-login");return}c.status=="uninstalled"&&(p.value=n("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(m){p.value=m}x.value=!0}))(),(m,c)=>(s(),u("div",O7,[t("div",N7,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",q7,[t("span",null,i(p.value),1)]),t("div",V7,[x.value?(s(),u(N,{key:0},[t("div",{class:"close",onClick:d},i(e(n)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:r},i(e(n)("\u786E\u5B9A")),1)],64)):D("",!0)])]))}});var j7=S(G7,[["__scopeId","data-v-210c03e8"]]);const R7={class:"actioner-container"},U7={class:"actioner-container_header"},H7={class:"actioner-container_body"},W7=I({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(n("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(m=>M(this,null,function*(){var c;try{const f=yield P.Guide.Ddnsto.POST({token:a.token});f!=null&&f.data&&(f.data.error&&(d.value=f.data.error),(((c=f==null?void 0:f.data)==null?void 0:c.success)||0)==0&&x())}catch(f){d.value=f}}))(a.token);const p=E(),x=()=>{const m=()=>M(this,null,function*(){if((yield _())===!0){b();return}p.value=window.setTimeout(m,2e3)});m()},_=()=>M(this,null,function*(){try{const m=yield P.App.Check.POST({name:"ddnsto",checkRunning:!0});if(m!=null&&m.data){m.data.error&&(d.value=m.data.error);const c=m.data.result;if((c==null?void 0:c.status)=="running")return!0}}catch(m){d.value=m}return!1});St(()=>{p.value&&clearInterval(p.value)});const b=()=>M(this,null,function*(){var m;try{const c=yield P.Guide.DdntoConfig.GET();if(c!=null&&c.data&&(c.data.error&&(d.value=c.data.error),(((m=c==null?void 0:c.data)==null?void 0:m.success)||0)==0&&c.data.result)){const f=c.data.result;a.onDdnstoLocalConfig(f.netAddr,f.deviceId),a.onSetup("ddnsto-bind")}}catch(c){d.value=c}});return(m,c)=>(s(),u("div",R7,[t("div",U7,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",H7,i(d.value),1)]))}});var Z7=S(W7,[["__scopeId","data-v-1b21487b"]]);const J7={class:"action-main"},X7=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const a=o,n=E("ddnsto-install"),l=_=>{_!=null?n.value=_:d()},d=()=>{a.Close&&a.Close()},r=dt({sign:"",token:"",domain:a.url,netaddr:"",routerId:""}),p=(_,b)=>{r.sign=_,r.token=b},x=(_,b)=>{r.netaddr=_,r.routerId=b};return(_,b)=>(s(),V(ot,{type:1},{default:G(()=>[t("div",J7,[n.value=="ddnsto-install"?(s(),V(j7,{key:0,onSetup:l})):n.value=="ddnsto-login"?(s(),V(x7,{key:1,onSetup:l,onDdnstoConfig:p})):n.value=="ddnsto-run"?(s(),V(Z7,{key:2,onSetup:l,token:e(r).token,onDdnstoLocalConfig:x},null,8,["token"])):n.value=="ddnsto-bind"?(s(),V(C7,{key:3,onSetup:l,config:{token:e(r).token,sign:e(r).sign,domain:e(r).domain,netaddr:e(r).netaddr,routerId:e(r).routerId},domain:e(r).domain,"onUpdate:domain":b[0]||(b[0]=m=>e(r).domain=m)},null,8,["config","domain"])):n.value=="ddnsto-save"?(s(),V(M7,{key:4,onSetup:l,target:e(r).domain},null,8,["target"])):D("",!0)])]),_:1}))}});var K7=S(X7,[["__scopeId","data-v-7a6bd385"]]);const Q7=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(K7,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}},tp={class:"action"},ep={class:"action-header"},ap=["innerHTML"],op={class:"action-footer"},np=I({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.next&&a.next(),a.Close&&a.Close()},r=()=>{a.clear&&a.clear(),a.Close&&a.Close()},p=()=>{a.continuer&&a.continuer(),a.Close&&a.Close()};return(x,_)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[t("div",tp,[t("div",ep,i(o.title||e(n)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,ap),t("div",op,[o.clear?(s(),u("div",{key:0,class:"clear",onClick:r},i(o.clearTitle||e(n)("\u8FD4\u56DE")),1)):D("",!0),t("div",{class:"next",onClick:d},i(o.nextTitle||e(n)("\u786E\u5B9A")),1),o.continuer?(s(),u("div",{key:1,class:"next",onClick:p},i(o.continuerTitle||e(n)("\u7EE7\u7EED\u4FDD\u5B58")),1)):D("",!0)])])]),_:1},8,["Close"]))}});var ip=S(np,[["__scopeId","data-v-05611967"]]);const Rt=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(ip,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}},rp=o=>(W("data-v-6e29e960"),o=o(),Z(),o),sp={class:"actioner-container"},dp=["onSubmit"],up={class:"actioner-container_header"},lp={key:0,class:"title_info"},cp={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},pp={key:1,class:"title_info"},mp={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},fp={key:2,class:"title_info"},vp={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},bp={class:"label-item"},gp={class:"label-item_key"},_p={class:"label-item_value"},hp={value:"ipv4"},xp={value:"ipv6"},kp={class:"label_tips"},wp=rp(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),yp={class:"info"},Fp={class:"label-item"},Ep={class:"label-item_key"},Cp={class:"label-item_value"},$p={class:"label-item"},Dp={class:"label-item_key"},Bp={class:"label-item_value"},Yp=["placeholder"],Ap={class:"label-item"},Sp={class:"label-item_key"},zp={class:"label-item_value"},Pp=["placeholder"],Tp={class:"actioner-container_footer"},Lp=["disabled"],Ip=I({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:a}){const n=o,{$gettext:l,$ngettext:d}=q(),r=E("ipv4"),p=E(n.name),x=E(""),_=E(""),b=E(""),m=E(!1),c=()=>{n.onSetup("index")},f=()=>{m.value=!0;const h=C.Loading(l("\u68C0\u6D4B\u4E2D..."));P.Network.CheckPublickNet.POST({ipVersion:r.value}).then(w=>{var y,F;if(w!=null&&w.data){if((y=w==null?void 0:w.data)!=null&&y.error){C.Warning(w==null?void 0:w.data.error);return}if((((F=w==null?void 0:w.data)==null?void 0:F.success)||0)==0){const B=w.data.result;B&&B.address?k():v();return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(w=>{C.Error(w)}).finally(()=>{h.Close(),m.value=!1})},v=()=>{Rt({title:l("\u6E29\u99A8\u63D0\u793A"),nextTitle:l("\u4F7F\u7528DDNSTO"),continuerTitle:l("\u7EE7\u7EED\u4FDD\u5B58"),content:l("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){g()},continuer(){k()},clear(){}})},g=()=>{n.onSetup("ddnsto")},k=()=>{m.value=!0;const h=C.Loading(l("\u914D\u7F6E\u4E2D..."));P.Guide.PostDdns.POST({ipVersion:r.value,serviceName:p.value,domain:x.value,userName:_.value,password:b.value}).then(w=>{if(w!=null&&w.data){const{error:y,scope:F,success:B}=w.data;if(y=="-100"&&F=="guide.ddns"){Rt({title:l("\u6E29\u99A8\u63D0\u793A"),content:l("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){C.Warning(y);return}if((B||0)==0){a("update:target",x.value),n.onSetup("ddns-success");return}}throw l("\u672A\u77E5\u9519\u8BEF")}).catch(w=>{C.Error(w)}).finally(()=>{h.Close(),m.value=!1})};return(h,w)=>(s(),u("div",sp,[t("form",{class:"actioner-dns",onSubmit:st(f,["prevent"])},[t("div",up,[t("span",null,i(e(l)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:rt(["actioner-container_body",o.name])},[o.name=="ali"?(s(),u("div",lp,[t("p",null,i(e(l)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",cp,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(s(),u("div",pp,[t("p",null,i(e(l)("dnspod")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",mp,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(s(),u("div",fp,[t("p",null,i(e(l)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(l)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",vp,i(e(l)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):D("",!0),t("div",bp,[t("div",gp,[t("span",null,i(e(l)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",_p,[L(t("select",{name:"",id:"","onUpdate:modelValue":w[0]||(w[0]=y=>r.value=y)},[t("option",hp,i(e(l)("IPv4\u5730\u5740")),1),t("option",xp,i(e(l)("IPv6\u5730\u5740")),1)],512),[[tt,r.value]])]),t("div",kp,[wp,t("span",yp,i(e(l)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",Fp,[t("div",Ep,[t("span",null,i(e(l)("\u57DF\u540D\uFF1A")),1)]),t("div",Cp,[L(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":w[1]||(w[1]=y=>x.value=y),required:""},null,512),[[H,x.value,void 0,{trim:!0}]])])]),t("div",$p,[t("div",Dp,[t("span",null,i(e(l)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",Bp,[L(t("input",{type:"text","onUpdate:modelValue":w[2]||(w[2]=y=>_.value=y),placeholder:e(l)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,Yp),[[H,_.value,void 0,{trim:!0}]])])]),t("div",Ap,[t("div",Sp,[t("span",null,i(e(l)("\u5BC6\u7801\uFF1A")),1)]),t("div",zp,[L(t("input",{type:"password","onUpdate:modelValue":w[3]||(w[3]=y=>b.value=y),placeholder:e(l)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,Pp),[[H,b.value,void 0,{trim:!0}]])])])],2),t("div",Tp,[t("div",{class:"close",onClick:c,type:"button"},i(e(l)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:m.value},i(e(l)("\u4FDD\u5B58")),9,Lp)])],40,dp)]))}});var ee=S(Ip,[["__scopeId","data-v-6e29e960"]]);const Mp={class:"action-main"},Op=I({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const a=o,n=E(""),l=E("index"),d=_=>{if(_!=null){if(_=="ddnsto"){r();return}l.value=_}else p()},r=()=>{p(),Q7({url:a.url})},p=()=>{a.Close&&a.Close()},x=E("ddnsto");return(_,b)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[t("div",Mp,[l.value=="index"?(s(),V(e7,{key:0,onSetup:d,active:x.value,"onUpdate:active":b[0]||(b[0]=m=>x.value=m)},null,8,["active"])):l.value=="ddns-ali"?(s(),V(ee,{key:1,onSetup:d,target:n.value,"onUpdate:target":b[1]||(b[1]=m=>n.value=m),name:"ali"},null,8,["target"])):l.value=="ddns-dnspod"?(s(),V(ee,{key:2,onSetup:d,target:n.value,"onUpdate:target":b[2]||(b[2]=m=>n.value=m),name:"dnspod"},null,8,["target"])):l.value=="ddns-oray"?(s(),V(ee,{key:3,onSetup:d,target:n.value,"onUpdate:target":b[3]||(b[3]=m=>n.value=m),name:"oray"},null,8,["target"])):l.value=="ddns-success"?(s(),V(m7,{key:4,onSetup:d,target:n.value},null,8,["target"])):D("",!0)])]),_:1},8,["Close"]))}});var Np=S(Op,[["__scopeId","data-v-6f1d92d9"]]);const qp=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(Np,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}},qt=o=>(W("data-v-1532b758"),o=o(),Z(),o),Vp={class:"app-container"},Gp={class:"app-container_title"},jp={class:"app-container_tool"},Rp={class:"app-container_domain"},Up={class:"domain-item"},Hp=qt(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO: ")],-1)),Wp={class:"domain-item_value"},Zp=["href","title"],Jp={key:1,class:"configure"},Xp={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},Kp={key:0,class:"domain-item"},Qp=qt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4: ")],-1)),t4={class:"domain-item_value"},e4={key:0},a4=["href"],o4={key:2,href:"/cgi-bin/luci/admin/services/ddns"},n4=qt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),i4=[n4],r4={key:1,class:"domain-item"},s4=qt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6: ")],-1)),d4={class:"domain-item_value"},u4={key:0},l4=["href"],c4={key:2,href:"/cgi-bin/luci/admin/services/ddns"},p4=qt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),m4=[p4],f4=I({setup(o){const{$gettext:a,$ngettext:n}=q();let l=!1,d;const r=E({}),p=function(){!l||(document.hidden?Promise.resolve():P.Guide.GetDdns.GET().then(m=>{var c;m!=null&&m.data&&(((c=m==null?void 0:m.data)==null?void 0:c.success)||0)==0&&m.data.result&&(r.value=m.data.result)})).then(()=>{!l||(d=window.setTimeout(p,3e3))})};_t(()=>{l=!0,d=window.setTimeout(p,1100)}),St(()=>{d!==void 0&&window.clearTimeout(d),l=!1});const x=()=>{qp({url:r.value.ddnstoDomain})},_=U(()=>{const m=r.value.ipv4Domain;return!m||m=="Stopped"||m=="Disabled"?m:`http://${m}`}),b=U(()=>{const m=r.value.ipv6Domain;return!m||m=="Stopped"||m=="Disabled"?m:`http://${m}`});return(m,c)=>{var v,g,k,h;const f=K("GlHelp");return s(),u("div",Vp,[t("div",Gp,[t("span",null,[t("span",null,i(e(a)("\u8FDC\u7A0B\u57DF\u540D")),1),A(f,{type:"ddns"})]),t("div",jp,[t("div",{class:"app-container_configure",onClick:x},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1)])]),t("ul",Rp,[t("li",Up,[Hp,t("div",Wp,[(v=r.value)!=null&&v.ddnstoDomain?(s(),u("a",{key:0,class:"configure",href:(g=r.value)==null?void 0:g.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(k=r.value)==null?void 0:k.ddnstoDomain},i((h=r.value)==null?void 0:h.ddnstoDomain),9,Zp)):(s(),u("span",Jp,i(e(a)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("a",Xp,i(e(a)("\u63A7\u5236\u53F0")),1)])]),e(_)?(s(),u("li",Kp,[Qp,t("div",t4,[e(_)=="Stopped"||e(_)=="Disabled"?(s(),u("span",e4,i(e(_)),1)):(s(),u("a",{key:1,class:"configure",href:e(_),target:"_blank",rel:"noopener noreferrer"},i(e(_)),9,a4)),e(_)?(s(),u("a",o4,i4)):D("",!0)])])):D("",!0),e(b)?(s(),u("li",r4,[s4,t("div",d4,[e(b)=="Stopped"||e(b)=="Disabled"?(s(),u("span",u4,i(e(b)),1)):(s(),u("a",{key:1,class:"configure",href:e(b),target:"_blank",rel:"noopener noreferrer"},i(e(b)),9,l4)),e(b)?(s(),u("a",c4,m4)):D("",!0)])])):D("",!0)])])}}});var v4=S(f4,[["__scopeId","data-v-1532b758"]]);const b4={class:"nas-container"},g4={class:"nas-container_card"},_4={class:"nas-container_card"},h4={key:0,class:"nas-container_card"},x4={class:"nas-container_card"},k4={class:"nas-container_card"},w4=I({setup(o){return(a,n)=>(s(),u("div",b4,[t("div",g4,[A(Nl)]),t("div",_4,[A(P2)]),e(Bt)("dockerd")?(s(),u("div",h4,[A(o6)])):D("",!0),t("div",x4,[A(q8)]),t("div",k4,[A(v4)])]))}});var y4=S(w4,[["__scopeId","data-v-66cc4e33"]]);const F4={class:"app-container"},E4={class:"app-container_title"},C4=["title"],$4={class:"DeviceBlock"},D4={href:"/cgi-bin/luci/admin/system/flash"},B4={href:"/cgi-bin/luci/admin/store/pages/maintance"},Y4={class:"item-label"},A4={class:"item-label_key"},S4={class:"item-label_value"},z4={class:"item-label"},P4={class:"item-label_key"},T4={class:"item-label_value"},L4={class:"item-label"},I4={class:"item-label_key"},M4={class:"item-label_value"},O4={class:"item-label"},N4={class:"item-label_key"},q4={class:"item-label_value"},V4={class:"item-label"},G4={class:"item-label_key"},j4={class:"item-label_value"},R4={class:"item-label"},U4={class:"item-label_key"},H4={class:"item-label_value"},W4={class:"item-label"},Z4={class:"item-label_key"},J4={class:"item-label_value"},X4={class:"item-label"},K4={class:"item-label_key"},Q4={class:"item-label_value"},t9=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=ne(),d=U(()=>l.version),r=U(()=>l.systemStatus),p=E(!1),x=U(()=>{var v;return((v=r.value)==null?void 0:v.cpuUsage)||0}),_=U(()=>{var v;return((v=r.value)==null?void 0:v.cpuTemperature)||0}),b=U(()=>{var g;const v=((g=r.value)==null?void 0:g.memAvailablePercentage)||100;return 100-v}),m=gt.stampForm;_t(()=>{});const c=()=>{p.value=!p.value},f=()=>{c(),ut.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(v,g)=>{var h,w,y,F,B;const k=K("progress-item");return s(),u("div",F4,[t("div",E4,[t("span",null,i(e(a)("\u7CFB\u7EDF\u4FE1\u606F")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F")},[A(kt,{onClick:c})],8,C4),L(t("div",$4,[t("div",{class:"menu_background",onClick:c}),t("ul",null,[t("li",null,[t("a",{onClick:f},i(e(a)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("li",null,[t("a",D4,i(e(a)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("li",null,[t("a",B4,i(e(a)("\u63D2\u4EF6\u5907\u4EFD")),1)])])],512),[[bt,p.value]])]),t("div",Y4,[t("div",A4,[t("span",null,i(e(a)("CPU\u6E29\u5EA6")),1)]),t("div",S4,[A(k,{value:e(_)/1.5,text:`${e(_)}\u2103`},null,8,["value","text"])])]),t("div",z4,[t("div",P4,[t("span",null,i(e(a)("CPU\u4F7F\u7528\u7387")),1)]),t("div",T4,[A(k,{value:e(x),text:`${e(x)}%`},null,8,["value","text"])])]),t("div",L4,[t("div",I4,[t("span",null,i(e(a)("\u5185\u5B58\u4F7F\u7528\u7387")),1)]),t("div",M4,[A(k,{value:e(b),text:`${e(b)}%`},null,8,["value","text"])])]),t("div",O4,[t("div",N4,[t("span",null,i(e(a)("\u8BBE\u5907\u578B\u53F7")),1)]),t("div",q4,[t("span",null,i((h=e(d))==null?void 0:h.model),1)])]),t("div",V4,[t("div",G4,[t("span",null,i(e(a)("\u56FA\u4EF6\u7248\u672C")),1)]),t("div",j4,[t("span",null,i((w=e(d))==null?void 0:w.firmwareVersion),1)])]),t("div",R4,[t("div",U4,[t("span",null,i(e(a)("\u5185\u6838\u7248\u672C")),1)]),t("div",H4,[t("span",null,i((y=e(d))==null?void 0:y.kernelVersion),1)])]),t("div",W4,[t("div",Z4,[t("span",null,i(e(a)("\u5DF2\u542F\u52A8")),1)]),t("div",J4,[t("span",null,i(e(m)((F=e(r))==null?void 0:F.uptime)),1)])]),t("div",X4,[t("div",K4,[t("span",null,i(e(a)("\u7CFB\u7EDF\u65F6\u95F4")),1)]),t("div",Q4,[t("span",null,i((B=e(r))==null?void 0:B.localtime),1)])])])}}});var e9=S(t9,[["__scopeId","data-v-b8dfe98c"]]);const Oe=/\d+\.\d+\.\d+\.\d+/,a9=o=>Oe.test(o)&&Nt.IPv4.isValid(o),xt=o=>{const a=Nt.IPv4.parse(o).toByteArray();return a[0]<<24|a[1]<<16|a[2]<<8|a[3]},ye=o=>Nt.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),o9=o=>{if(!Oe.test(o)||!Nt.IPv4.isIPv4(o))return!1;let a=0,n=xt(o);for(let l=31;l>=0&&(n&1<{let d=xt(o)&xt(a),r=xt(n),p=xt(l),_=~xt(a);return rd+1&&p{let n=xt(a),l=xt(o)&n,d=~n,r;return d>=105?(r=l|d-5,l=l|100):d>=3?(r=l|d-1,l=l|2):(l=l|1,r=l),[ye(l),ye(r)]},r9=o=>Nt.IPv4.subnetMaskFromPrefixLength(o).toString();var mt={isValidMask:o9,isValidIPv4:a9,isValidMaskRange:n9,calcMaskRange:i9,prefixToMask:r9};const ue=o=>(W("data-v-22104807"),o=o(),Z(),o),s9=["onSubmit"],d9={class:"actioner-dns_header"},u9={class:"actioner-dns_body"},l9={class:"label-item"},c9={class:"label-item_key"},p9={class:"label-item_value"},m9={class:"label-item"},f9={class:"label-item_key"},v9={class:"label-item_value"},b9={key:0,class:"chose_dhcp"},g9={key:0,class:"dhcp_info"},_9={key:1,class:"dhcp_info"},h9={class:"label-item"},x9={class:"label-item_key"},k9={class:"label-item_value"},w9={class:"label-item"},y9={class:"label-item_key"},F9={class:"label-item_value"},E9={class:"actioner-dns_footer"},C9=["disabled"],$9={key:1,class:"actioner-dns"},D9={class:"actioner-dns_header"},B9={class:"actioner-dns_body"},Y9={key:0,class:"setting_status"},A9=ue(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),S9={class:"config-message"},z9=["href"],P9={key:1,class:"setting_status"},T9=ue(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),L9={class:"config-message"},I9={key:2,class:"setting_status"},M9=ue(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),O9={class:"config-message"},N9=I({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(0),r=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const p=E(!1);E(!0),E(!1);const x=E(""),_=E(2),b=E(!1),m=E("timeout");let c=!0;(()=>{P.Guide.GetLan.GET().then(w=>{w.data.result&&(b.value=w.data.result.enableDhcp||!1,w.data.result.enableDhcp=!1,r.value=w.data.result,w.data.result.lanIp!==location.hostname&&(c=!1))})})();const v=()=>{const w=r.value;if(!mt.isValidIPv4(w.lanIp)){C.Warning(n("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!mt.isValidMask(w.netMask)){C.Warning(n("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=mt.calcMaskRange(w.lanIp,w.netMask);w.dhcpStart=y[0],w.dhcpEnd=y[1],r.value=w},g=()=>{const w=r.value;if(!mt.isValidIPv4(w.lanIp)){C.Warning(n("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!mt.isValidMask(w.netMask)){C.Warning(n("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(w.enableDhcp&&!(mt.isValidIPv4(w.dhcpStart)&&mt.isValidIPv4(w.dhcpEnd)&&mt.isValidMaskRange(w.lanIp,w.netMask,w.dhcpStart,w.dhcpEnd))){C.Warning(n("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=C.Loading(n("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let F=0;const B=$=>{m.value=$,d.value=1,F=1,y.Close()},Y=()=>{const $=new Date().getTime()+3e4,z=c?location.protocol+"//"+w.lanIp+(location.port?":"+location.port:""):location.origin,T=z+"/luci-static/resources/icons/loading.gif",J=()=>{F==0&&(new Date().getTime()>$?B("timeout"):window.setTimeout(Q,2e3))},j=()=>{F==0&&(x.value=z+location.pathname,B("success"),window.setTimeout(()=>{_.value=1},1e3),window.setTimeout(()=>{location.href=x.value},2e3))},Q=()=>{if(F!=0)return;console.log("check online ",T);const ht=new Image;ht.onload=j,ht.onerror=J,ht.src=T};window.setTimeout(Q,5e3)};P.Guide.LanIp.POST(w).then($=>{var z;if($!=null&&$.data){if(($.data.success||0)==0)return;if((z=$.data)!=null&&z.error)throw $.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch($=>{F==0&&(B("fail"),C.Error($))}),Y(),window.setTimeout(()=>{F==0&&B("timeout")},3e4)},k=w=>{w.preventDefault(),a.Close&&a.Close()},h=w=>{location.reload()};return(w,y)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[d.value==0?(s(),u("form",{key:0,class:"actioner-dns",onSubmit:st(g,["prevent"])},[t("div",d9,[t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",u9,[t("div",l9,[t("div",c9,[t("span",null,i(e(n)("IPv4\u5730\u5740")),1)]),t("div",p9,[L(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=F=>r.value.lanIp=F),onChange:v},null,544),[[H,r.value.lanIp,void 0,{trim:!0}]])])]),t("div",m9,[t("div",f9,[t("span",null,i(e(n)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",v9,[L(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=F=>r.value.netMask=F),onChange:v},null,544),[[H,r.value.netMask,void 0,{trim:!0}]])])]),b.value?(s(),u("div",b9,[A(Ye,{modelValue:r.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=F=>r.value.enableDhcp=F)},{default:G(()=>[r.value.enableDhcp?(s(),u("span",g9,i(e(n)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(s(),u("span",_9,i(e(n)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):D("",!0),r.value.enableDhcp?(s(),u(N,{key:1},[t("div",h9,[t("div",x9,[t("span",null,i(e(n)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",k9,[L(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=F=>r.value.dhcpStart=F)},null,512),[[H,r.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",w9,[t("div",y9,[t("span",null,i(e(n)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",F9,[L(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=F=>r.value.dhcpEnd=F)},null,512),[[H,r.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):D("",!0)]),t("div",E9,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:p.value},i(e(n)("\u786E\u8BA4")),9,C9),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},i(e(n)("\u53D6\u6D88")),1)])],40,s9)):d.value==1?(s(),u("div",$9,[t("div",D9,[t("span",null,i(e(n)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",B9,[m.value=="success"?(s(),u("div",Y9,[A9,t("div",S9,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:x.value,class:"NewAdress"},i(e(n)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+_.value})),9,z9)])):m.value=="fail"?(s(),u("div",P9,[T9,t("div",L9,i(e(n)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(n)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:h},i(e(n)("\u6211\u77E5\u9053\u4E86")),1)])):m.value=="timeout"?(s(),u("div",I9,[M9,t("div",O9,i(e(n)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(n)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:h},i(e(n)("\u5237\u65B0\u9875\u9762")),1)])):D("",!0)])])):D("",!0)]),_:1},8,["Close"]))}});var q9=S(N9,[["__scopeId","data-v-22104807"]]);const V9=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=et(q9,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},G9={key:0,class:"actioner-dns"},j9={class:"actioner-dns_header"},R9={class:"actioner-dns_body"},U9={class:"sandbox_info"},H9={key:0,class:"disk_loading_icon"},W9={class:"disk_loading_info"},Z9={key:1,class:"disk_tips"},J9={class:"label-item"},X9={class:"label-item_key"},K9={class:"label-item_value"},Q9={value:""},tm=["value"],em={class:"label-item"},am={class:"label-item_key"},om={class:"label-item_value"},nm={selected:"true",value:""},im=["value","disabled"],rm={class:"sandbox_tips"},sm={class:"sandbox_info timeout"},dm={class:"sandbox_roboot_tips"},um={class:"sandbox_roboot_refresh"},lm={key:0,class:"actioner-dns_footer"},cm=["disabled"],pm={key:1,class:"actioner-tips"},mm={class:"actioner-tips_header"},fm={class:"actioner-tips_body"},vm={class:"sandbox_info"},bm={class:"actioner-tips_footer"},gm={key:2,class:"actioner-tips"},_m={class:"actioner-tips_header"},hm={class:"actioner-tips_body"},xm={class:"sandbox_info"},km={class:"actioner-tips_footer"},wm=I({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(0);E("disk");const r=E(""),p=E(3),x=E(""),_=E([]),b=E(""),m=E(null);(()=>{P.Nas.SandboxDisks.GET().then(F=>{var B;if(F!=null&&F.data&&(B=F.data)!=null&&B.result){m.value=F.data.result;return}throw n("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(F=>{r.value=F,d.value=3})})();const f=()=>P.System.Reboot.POST({name:x.value,path:b.value}).then(F=>{var B;if(!(F!=null&&F.data&&(((B=F==null?void 0:F.data)==null?void 0:B.success)||0)==0))throw n("\u672A\u77E5\u9519\u8BEF")}),v=F=>{var B,Y;b.value="",_.value=x.value&&((Y=(B=m.value)==null?void 0:B.disks.find($=>$.path==x.value))==null?void 0:Y.childrens)||[]},g=()=>{p.value>0&&(p.value-=1,window.setTimeout(g,1e3))},k=F=>{F.preventDefault(),a.Close&&a.Close()},h=()=>{new Promise((F,B)=>{const Y="/luci-static/resources/icons/loading.gif",$=()=>{window.setTimeout(z,2e3)},z=()=>{const T=new Image;T.onload=F,T.onerror=$,T.src=Y};window.setTimeout(z,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},w=F=>{const B=C.Loading(n("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));P.Nas.Sandbox.POST({path:b.value}).then(Y=>{var $;if(Y!=null&&Y.data){if((Y.data.success||0)==0)return d.value=2,window.setTimeout(g,1e3),f();if(($=Y.data)!=null&&$.error)throw Y.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).then(h).catch(Y=>C.Warning(Y)).finally(()=>B.Close())},y=()=>{d.value=0};return(F,B)=>{const Y=K("icon-loading");return s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[d.value==0||d.value==2?(s(),u("div",G9,[t("div",j9,[t("span",null,i(e(n)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",R9,[t("p",U9,i(e(n)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),d.value==0?(s(),u(N,{key:0},[m.value?D("",!0):(s(),u("div",H9,[A(Y,{size:38,color:"currentColor"}),t("span",W9,i(e(n)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),m.value&&m.value.disks.length==0?(s(),u("div",Z9,[A(pt),t("span",null,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):D("",!0),m.value&&m.value.disks.length>0?(s(),u(N,{key:2},[t("div",J9,[t("div",X9,[t("span",null,i(e(n)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",K9,[L(t("select",{name:"",id:"",onChange:v,"onUpdate:modelValue":B[0]||(B[0]=$=>x.value=$)},[t("option",Q9,i(e(n)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(s(!0),u(N,null,R(m.value.disks,($,z)=>(s(),u("option",{value:$.path,key:z},i($.venderModel)+"\uFF08"+i($.size)+"\uFF09 ",9,tm))),128))],544),[[tt,x.value]])])]),t("div",em,[t("div",am,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",om,[L(t("select",{name:"",id:"","onUpdate:modelValue":B[1]||(B[1]=$=>b.value=$)},[t("option",nm,i(e(n)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(s(!0),u(N,null,R(_.value,($,z)=>(s(),u("option",{value:$.path,key:z,disabled:$.sizeInt<(1<<30)*1||$.isSystemRoot},i($.name)+"\uFF08"+i($.filesystem||e(n)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i($.total),9,im))),128))],512),[[tt,b.value]])])]),t("div",rm,[A(pt),t("span",null,i(e(n)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):D("",!0)],64)):D("",!0),d.value==2?(s(),u(N,{key:1},[t("p",sm,[at(i(e(n)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(p.value)+"s\uFF09",1)]),t("p",dm,[at(i(e(n)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",um,i(e(n)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):D("",!0)]),d.value==0?(s(),u("div",lm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!b.value,onClick:B[2]||(B[2]=$=>d.value=1)},i(e(n)("\u5F00\u542F\u6C99\u7BB1")),9,cm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},i(e(n)("\u53D6\u6D88")),1)])):D("",!0)])):D("",!0),d.value==1?(s(),u("div",pm,[t("div",mm,[t("span",null,i(e(n)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",fm,[t("p",vm,i(e(n)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",bm,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w},i(e(n)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u53D6\u6D88")),1)])])):D("",!0),d.value==3?(s(),u("div",gm,[t("div",_m,[t("span",null,i(e(n)("\u9519\u8BEF")),1)]),t("div",hm,[t("p",xm,i(r.value),1)]),t("div",km,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"])}}});var ym=S(wm,[["__scopeId","data-v-2b57eea5"]]);const Fm=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=et(ym,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Em={key:0,class:"actioner-dns"},Cm={class:"actioner-dns_header"},$m={class:"actioner-dns_body"},Dm={class:"sandbox_info"},Bm={class:"sandbox_environment"},Ym={class:"sandbox_environment_info"},Am={class:"sandbox_environment_reboot"},Sm=["innerHTML"],zm={class:"actioner-dns_footer"},Pm=["disabled"],Tm=["disabled"],Lm=["disabled"],Im=I({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(0),r=E(!1),p=()=>{new Promise((c,f)=>{const v="/luci-static/resources/icons/loading.gif",g=()=>{window.setTimeout(k,2e3)},k=()=>{const h=new Image;h.onload=c,h.onerror=g,h.src=v};window.setTimeout(k,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},x=()=>{r.value=!0;const c=C.Loading(n("\u63D0\u4EA4\u4E2D..."));P.Nas.SandboxCommit.POST().then(f=>{var v,g;if(f!=null&&f.data)if((((v=f==null?void 0:f.data)==null?void 0:v.success)||0)==0){C.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(g=f==null?void 0:f.data)!=null&&g.error&&alert(f.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(f=>{C.Error(f),r.value=!1}).finally(()=>c.Close())},_=()=>{r.value=!0;const c=C.Loading(n("\u91CD\u7F6E\u4E2D..."));P.Nas.SandboxReset.POST().then(f=>{var v,g;if(f!=null&&f.data)if((((v=f==null?void 0:f.data)==null?void 0:v.success)||0)==0){C.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(g=f==null?void 0:f.data)!=null&&g.error&&alert(f.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(f=>{C.Error(f),r.value=!1}).finally(()=>c.Close())},b=()=>{if(!confirm(n("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;r.value=!0;const c=C.Loading(n("\u6267\u884C\u4E2D..."));P.Nas.SandboxExit.POST().then(f=>{var v,g;if(f!=null&&f.data)if((((v=f==null?void 0:f.data)==null?void 0:v.success)||0)==0){C.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(g=f==null?void 0:f.data)!=null&&g.error&&alert(f.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(p).catch(f=>{C.Error(f),r.value=!1}).finally(()=>c.Close())},m=c=>{c.preventDefault(),a.Close&&a.Close()};return(c,f)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[d.value==0?(s(),u("div",Em,[t("div",Cm,[t("span",null,i(e(n)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",$m,[t("p",Dm,i(e(n)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",Bm,[t("p",null,i(e(n)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(n)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(n)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(n)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",Ym,[at(i(e(n)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",Am,i(e(n)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(n)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,Sm)])]),t("div",zm,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:x,disabled:r.value},i(e(n)("\u63D0\u4EA4")),9,Pm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:_,disabled:r.value},i(e(n)("\u91CD\u7F6E")),9,Tm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b,disabled:r.value},i(e(n)("\u9000\u51FA")),9,Lm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m},i(e(n)("\u53D6\u6D88")),1)])])):D("",!0)]),_:1},8,["Close"]))}});var Mm=S(Im,[["__scopeId","data-v-9573dc70"]]);const Om=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=et(Mm,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Nm={class:"nav-container"},qm=["onClick"],Vm={key:1,class:"btn_styles color3 app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},Gm={key:0,style:{display:"inline-block"}},jm={key:1},Rm=["disabled"],Um={key:0,style:{display:"inline-block"}},Hm=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=ne(),d=Wt(),r=U(()=>d.status);E(!1),E(!0);const p=E(),x=()=>{Se()},_=()=>{Fm()},b=()=>{Om()},m=()=>{alert(a("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},c=()=>{V9()},f=()=>{Le()},v=()=>{var g,k,h,w;window.open(`${(k=(g=window.quickstart_configs)==null?void 0:g.ttyd)!=null&&k.ssl?"https":"http"}://${window.location.hostname}:${((w=(h=window.quickstart_configs)==null?void 0:h.ttyd)==null?void 0:w.port)||7681}/`,"_blank")};return Bt("sandbox")&&P.Nas.GetSandbox.GET().then(k=>{var h,w,y;k!=null&&k.data&&((((h=k==null?void 0:k.data)==null?void 0:h.success)||0)==0?(w=k==null?void 0:k.data)!=null&&w.result&&(p.value=k.data.result):(y=k==null?void 0:k.data)!=null&&y.error&&alert(k.data.error))}).catch(k=>C.Warning(k)),(g,k)=>{var y,F,B,Y,$,z;const h=K("router-link"),w=K("icon-loading");return s(),u("div",Nm,[A(h,{to:"/network",custom:""},{default:G(({navigate:T})=>[t("button",{class:"btn_styles color1",onClick:T},i(e(a)("\u7F51\u7EDC\u5411\u5BFC")),9,qm)]),_:1}),e(Bt)("ttyd")?(s(),u("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:v},i(e(a)("\u7EC8\u7AEF")),1)):D("",!0),e(Bt)("ota")?(s(),u("button",Vm,[at(i(e(a)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),e(l).checkUpdate==null?(s(),u("span",Gm,[A(w,{size:"0.8em",color:"currentColor"})])):(y=e(l).checkUpdate)!=null&&y.needUpdate?(s(),u("i",jm)):D("",!0)])):D("",!0),t("button",{class:"btn_styles color4",onClick:c},i(e(a)("\u5185\u7F51\u914D\u7F6E")),1),t("button",{class:"btn_styles color5",onClick:x,disabled:!((F=e(r))!=null&&F.proto)},[at(i(e(a)("DNS\u914D\u7F6E"))+" ",1),(B=e(r))!=null&&B.proto?D("",!0):(s(),u("span",Um,[A(w,{size:"0.8em",color:"currentColor"})]))],8,Rm),t("button",{class:"btn_styles color1",onClick:f},i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1),e(Bt)("sandbox")?(s(),u(N,{key:2},[((Y=p.value)==null?void 0:Y.status)=="unsupport"?(s(),u("button",{key:0,class:"btn_styles color2",onClick:m},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),1)):(($=p.value)==null?void 0:$.status)=="stopped"?(s(),u("button",{key:1,class:"btn_styles color3",onClick:_},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),1)):((z=p.value)==null?void 0:z.status)=="running"?(s(),u("button",{key:2,class:"btn_styles color4",onClick:b},i(e(a)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)):D("",!0)],64)):D("",!0)])}}});var Wm=S(Hm,[["__scopeId","data-v-3a6a7fea"]]);const le=o=>(W("data-v-d954742e"),o=o(),Z(),o),Zm={id:"page"},Jm={style:{height:"48px","text-align":"right"}},Xm={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},Km=le(()=>t("em",null,null,-1)),Qm=le(()=>t("em",null,null,-1)),tf=le(()=>t("em",null,null,-1)),ef=I({setup(o){$a();const{$gettext:a,$ngettext:n}=q();return(l,d)=>(s(),u("div",Zm,[t("div",Jm,[t("a",Xm,i(e(a)("iStoreOS\u5B98\u7F51")),1)]),A(Ad),Km,A(Wm),A(y4),Qm,A(e9),tf]))}});var af=S(ef,[["__scopeId","data-v-d954742e"]]);const of={};function nf(o,a){const n=K("router-view");return s(),V(n)}var rf=S(of,[["render",nf]]);const sf={},df={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},uf=$t('',2),lf=[uf];function cf(o,a){return s(),u("svg",df,lf)}var pf=S(sf,[["render",cf]]);const mf={},ff={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},vf=$t('',2),bf=[vf];function gf(o,a){return s(),u("svg",ff,bf)}var _f=S(mf,[["render",gf]]);const hf={},xf={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},kf=$t('',2),wf=[kf];function yf(o,a){return s(),u("svg",xf,wf)}var Ff=S(hf,[["render",yf]]);const Ef={id:"page"},Cf={class:"title"},$f={class:"desc"},Df={class:"network-containers"},Bf={class:"network-container_item"},Yf={class:"cover"},Af={class:"thumbnail"},Sf={class:"network-container_item"},zf={class:"cover"},Pf={class:"thumbnail"},Tf={class:"network-container_item"},Lf={class:"cover"},If={class:"thumbnail"},Mf=["innerHTML"],Of=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=a("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+a("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(d,r)=>{const p=K("router-link");return s(),u("div",Ef,[t("div",Cf,i(e(a)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",$f,i(e(a)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",Df,[t("div",Bf,[A(p,{to:"/network/pppoe"},{default:G(()=>[t("div",Yf,[t("div",Af,[A(_f),t("span",null,i(e(a)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",Sf,[A(p,{to:"/network/dhcp"},{default:G(()=>[t("div",zf,[t("div",Pf,[A(pf),t("span",null,i(e(a)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",Tf,[A(p,{to:"/network/gateway"},{default:G(()=>[t("div",Lf,[t("div",If,[A(Ff),t("span",null,i(e(a)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(l)},null,8,Mf)])}}});var Nf=S(Of,[["__scopeId","data-v-52c03678"]]);const qf={key:0,id:"page"},Vf={class:"title"},Gf={class:"desc"},jf={class:"network-message"},Rf=["innerHTML"],Uf=["onSubmit"],Hf={class:"label-key"},Wf=["placeholder","disabled"],Zf={class:"label-key"},Jf=["placeholder","disabled"],Xf={key:0,class:"chose_dhcp"},Kf={class:"dhcp_info"},Qf={key:1,class:"msg"},tv={class:"btns"},ev=["disabled"],av=["onClick"],ov={key:1,id:"page"},nv={class:"title"},iv={class:"btns"},rv=["onClick"],sv=["onClick"],dv=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=a("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+a("\u94FE\u63A5")+""},!0),d=E(0),r=E({}),p=E(""),x=E(!1),_=E(0),b=E(!1);(()=>M(this,null,function*(){var f,v;x.value=!0;try{const g=yield Promise.all([P.Guide.Pppoe.GET(),P.Guide.GetLan.GET()]);if(g[0].data){const{success:k,error:h,result:w}=g[0].data;w&&(w.enableLanDhcp=!1,r.value=w),k==-1011&&(x.value=!0,_.value=k)}(f=g[1].data)!=null&&f.result&&(((v=g[1].data)==null?void 0:v.result).enableDhcp||(b.value=!0,r.value.enableLanDhcp=!0))}catch(g){p.value=g}_.value==0&&(x.value=!1)}))();const c=()=>M(this,null,function*(){const f=r.value.account||"",v=r.value.password||"";if(f==""){p.value=a("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(v==""){p.value=a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}x.value=!0;const g=C.Loading(a("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.Pppoe.POST({account:f,password:v});if(k!=null&&k.data){const{error:h,success:w}=k.data;h&&(p.value=h),(w==null||w==0)&&(C.Success(a("\u914D\u7F6E\u6210\u529F")),d.value=1)}}catch(k){p.value=k}x.value=!1,g.Close()});return(f,v)=>{const g=K("switch-box"),k=K("router-link");return d.value==0?(s(),u("div",qf,[t("h2",Vf,i(e(a)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",Gf,i(e(a)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",jf,[_.value==-1011?(s(),u("li",{key:0,innerHTML:e(l)},null,8,Rf)):D("",!0)]),t("form",{onSubmit:st(c,["prevent"])},[t("label",null,[t("div",Hf,[t("span",null,i(e(a)("\u5BBD\u5E26\u8D26\u53F7")),1)]),L(t("input",{type:"text","onUpdate:modelValue":v[0]||(v[0]=h=>r.value.account=h),placeholder:e(a)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:x.value},null,8,Wf),[[H,r.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",Zf,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),L(t("input",{type:"password","onUpdate:modelValue":v[1]||(v[1]=h=>r.value.password=h),placeholder:e(a)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:x.value},null,8,Jf),[[H,r.value.password,void 0,{trim:!0}]])]),b.value?(s(),u("div",Xf,[A(g,{modelValue:r.value.enableLanDhcp,"onUpdate:modelValue":v[2]||(v[2]=h=>r.value.enableLanDhcp=h)},{default:G(()=>[t("span",Kf,i(e(a)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),p.value?(s(),u("div",Qf,i(p.value),1)):D("",!0),t("div",tv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:x.value},i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),9,ev),A(k,{to:"/network",custom:""},{default:G(({navigate:h})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(a)("\u8FD4\u56DE")),9,av)]),_:1})])],40,Uf)])):d.value==1?(s(),u("div",ov,[t("h2",nv,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("div",iv,[A(k,{to:"/",custom:""},{default:G(({navigate:h})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:h},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,rv)]),_:1}),A(k,{to:"/network",custom:""},{default:G(({navigate:h})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(a)("\u8FD4\u56DE")),9,sv)]),_:1})])])):D("",!0)}}});var uv=S(dv,[["__scopeId","data-v-e0dbc410"]]);const lv={key:0,id:"page"},cv={class:"title"},pv={class:"desc"},mv={class:"network-message"},fv=["innerHTML"],vv=["onSubmit"],bv={class:"label-key"},gv={value:"dhcp"},_v={value:"static"},hv={class:"label-key"},xv=["placeholder","disabled"],kv={key:0,class:"msg"},wv={class:"label-key"},yv=["placeholder","disabled"],Fv={key:1,class:"msg"},Ev={class:"label-key"},Cv=["placeholder","disabled"],$v={class:"label-key"},Dv=["disabled"],Bv={value:"manual"},Yv={class:"label-key"},Av=["onUpdate:modelValue","placeholder","disabled"],Sv={class:"label-key"},zv=["placeholder","disabled"],Pv={class:"label-key"},Tv=["placeholder","disabled"],Lv={key:2,class:"chose_dhcp"},Iv={class:"dhcp_info"},Mv={key:3,class:"msgs"},Ov={class:"btns"},Nv=["disabled"],qv=["onClick"],Vv={key:1,id:"page"},Gv={class:"title"},jv={class:"btns"},Rv=["onClick"],Uv=["onClick"],Hv=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=a("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+a("\u94FE\u63A5")+""},!0),d=E(0),r=E({}),p=E(""),x=E(""),_=E(""),b=E(!1),m=E(""),c=E(""),f=E(0),v=gt.checkIsIP,g=E(!1);(()=>M(this,null,function*(){var B,Y;b.value=!0;try{const $=yield Promise.all([P.Guide.ClientModel.GET(),P.Guide.GetLan.GET()]);if($[0]){const z=$[0];if(z.data){const{success:T,error:J,result:j}=z.data;j&&(j.wanProto!="dhcp"&&j.wanProto!="static"&&(j.wanProto="dhcp",j.dnsProto="auto"),j.enableLanDhcp=!1,r.value=j),T==-1011&&(f.value=T,b.value=!0)}}(B=$[1].data)!=null&&B.result&&(((Y=$[1].data)==null?void 0:Y.result).enableDhcp||(g.value=!0,r.value.enableLanDhcp=!0))}catch($){p.value=$}f.value==0&&(b.value=!1)}))();const h=B=>{B.target.value=="static"?((r.value.staticIp==null||r.value.staticIp=="")&&(r.value.staticIp="192.168.1.100"),(r.value.subnetMask==null||r.value.subnetMask=="")&&(r.value.subnetMask="255.255.255.0"),r.value.dnsProto=="auto"&&setTimeout(()=>r.value.dnsProto="manual",0)):r.value.dnsProto=="manual"&&setTimeout(()=>r.value.dnsProto="auto",0)},w=B=>{const Y=B.target;if(Y.value==""){m.value="";return}v(Y.value)?m.value="":m.value=a("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},y=B=>{const Y=B.target;if(Y.value==""){c.value="";return}v(Y.value)?c.value="":c.value=a("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},F=()=>M(this,null,function*(){const B={};switch(r.value.wanProto){case"dhcp":break;case"static":B.staticIp=r.value.staticIp,B.subnetMask=r.value.subnetMask,B.gateway=r.value.gateway;break}switch(r.value.dnsProto){case"auto":break;case"manual":B.manualDnsIp=[],r.value.manualDnsIp!=null&&r.value.manualDnsIp.length>0?B.manualDnsIp=r.value.manualDnsIp:(B.manualDnsIp.push(x.value),_.value&&B.manualDnsIp.push(_.value));break}B.dnsProto=r.value.dnsProto,B.wanProto=r.value.wanProto,B.enableLanDhcp=r.value.enableLanDhcp;const Y=C.Loading(a("\u914D\u7F6E\u4E2D...."));b.value=!0;try{const $=yield P.Guide.ClientModel.POST(B);if($!=null&&$.data){const{success:z,error:T}=$==null?void 0:$.data;T&&(p.value=T),(z==null||z==0)&&(C.Success(a("\u914D\u7F6E\u6210\u529F")),d.value=1)}}catch($){p.value=$}b.value=!1,Y.Close()});return(B,Y)=>{const $=K("switch-box"),z=K("router-link");return d.value==0?(s(),u("div",lv,[t("h2",cv,i(e(a)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",pv,i(e(a)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",mv,[f.value==-1011?(s(),u("li",{key:0,innerHTML:e(l)},null,8,fv)):D("",!0)]),t("form",{onSubmit:st(F,["prevent"])},[t("label",null,[t("div",bv,[t("span",null,i(e(a)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),L(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=T=>r.value.wanProto=T),onInput:h},[t("option",gv,i(e(a)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",_v,i(e(a)("\u9759\u6001IP\u5730\u5740")),1)],544),[[tt,r.value.wanProto]])]),r.value.wanProto=="static"?(s(),u(N,{key:0},[t("label",null,[t("div",hv,[t("span",null,i(e(a)("IP\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":Y[1]||(Y[1]=T=>r.value.staticIp=T),placeholder:e(a)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:b.value,onInput:w},null,40,xv),[[H,r.value.staticIp,void 0,{trim:!0}]])]),m.value?(s(),u("p",kv,i(m.value),1)):D("",!0),t("label",null,[t("div",wv,[t("span",null,i(e(a)("\u5B50\u7F51\u63A9\u7801")),1)]),L(t("input",{type:"text","onUpdate:modelValue":Y[2]||(Y[2]=T=>r.value.subnetMask=T),placeholder:e(a)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:b.value,onInput:y},null,40,yv),[[H,r.value.subnetMask,void 0,{trim:!0}]])]),c.value?(s(),u("p",Fv,i(c.value),1)):D("",!0),t("label",null,[t("div",Ev,[t("span",null,i(e(a)("\u7F51\u5173\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":Y[3]||(Y[3]=T=>r.value.gateway=T),placeholder:e(a)("\u7F51\u5173\u5730\u5740"),required:"",disabled:b.value},null,8,Cv),[[H,r.value.gateway,void 0,{trim:!0}]])])],64)):D("",!0),t("label",null,[t("div",$v,[t("span",null,i(e(a)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),L(t("select",{"onUpdate:modelValue":Y[4]||(Y[4]=T=>r.value.dnsProto=T)},[t("option",{value:"auto",disabled:r.value.wanProto=="static"},i(e(a)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,Dv),t("option",Bv,i(e(a)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[tt,r.value.dnsProto]])]),r.value.dnsProto=="manual"?(s(),u(N,{key:1},[r.value.manualDnsIp!=null&&r.value.manualDnsIp.length>0?(s(!0),u(N,{key:0},R(r.value.manualDnsIp,(T,J)=>(s(),u("label",null,[t("div",Yv,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":j=>r.value.manualDnsIp[J]=j,placeholder:e(a)("DNS\u670D\u52A1\u5668"),required:"",disabled:b.value},null,8,Av),[[H,r.value.manualDnsIp[J],void 0,{trim:!0}]])]))),256)):(s(),u(N,{key:1},[t("label",null,[t("div",Sv,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":Y[5]||(Y[5]=T=>x.value=T),placeholder:e(a)("DNS\u670D\u52A1\u5668"),required:"",disabled:b.value},null,8,zv),[[H,x.value,void 0,{trim:!0}]])]),t("label",null,[t("div",Pv,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),L(t("input",{type:"text","onUpdate:modelValue":Y[6]||(Y[6]=T=>_.value=T),placeholder:e(a)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:b.value},null,8,Tv),[[H,_.value,void 0,{trim:!0}]])])],64))],64)):D("",!0),g.value?(s(),u("div",Lv,[A($,{modelValue:r.value.enableLanDhcp,"onUpdate:modelValue":Y[7]||(Y[7]=T=>r.value.enableLanDhcp=T)},{default:G(()=>[t("span",Iv,i(e(a)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):D("",!0),p.value?(s(),u("div",Mv,i(p.value),1)):D("",!0),t("div",Ov,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:b.value},i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),9,Nv),A(z,{to:"/network",custom:""},{default:G(({navigate:T})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:T},i(e(a)("\u8FD4\u56DE")),9,qv)]),_:1})])],40,vv)])):d.value==1?(s(),u("div",Vv,[t("h2",Gv,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("div",jv,[A(z,{to:"/",custom:""},{default:G(({navigate:T})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:T},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,Rv)]),_:1}),A(z,{to:"/network",custom:""},{default:G(({navigate:T})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:T},i(e(a)("\u8FD4\u56DE")),9,Uv)]),_:1})])])):D("",!0)}}});var Wv=S(Hv,[["__scopeId","data-v-2a551d90"]]);const Zv=o=>(W("data-v-21e138ec"),o=o(),Z(),o),Jv={key:0,id:"page"},Xv={class:"title"},Kv=Zv(()=>t("br",null,null,-1)),Qv={class:"btns"},tb=["onClick"],eb={key:1,id:"page"},ab={class:"title"},ob={class:"desc"},nb=["onSubmit"],ib={class:"label-key"},rb={class:"label-value"},sb={class:"label-key"},db=["placeholder"],ub={class:"label-key"},lb=["placeholder"],cb={class:"label-key"},pb=["placeholder"],mb={class:"label-key"},fb=["placeholder"],vb={key:0,class:"msgs"},bb={class:"switch_inline"},gb={key:0,class:"switch_info"},_b={key:1,class:"switch_info"},hb={class:"switch_inline"},xb={class:"switch_info"},kb={class:"switch_inline"},wb={class:"switch_info"},yb={class:"btns"},Fb={class:"cbi-button cbi-button-apply app-btn app-next"},Eb=["onClick"],Cb={key:2,id:"page"},$b={class:"title"},Db={class:"desc"},Bb={class:"btns"},Yb={key:3,id:"page"},Ab={class:"title"},Sb=["disabled"],zb={style:{"text-align":"left"}},Pb={class:"btns"},Tb=["disabled"],Lb=["onClick"],Ib=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=E(0),d=E(""),r=E(!1),p=U(()=>{var v,g,k;return!(((v=_.value)==null?void 0:v.ipv4addr)&&((g=_.value)==null?void 0:g.ipv4mask)&&((k=_.value)==null?void 0:k.gateway))}),x=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),_=E(),b=()=>{r.value=!0,P.Network.Status.GET().then(v=>{if(v!=null&&v.data){const{result:g}=v==null?void 0:v.data;g&&(_.value=g)}}).finally(()=>{r.value=!1})},m=v=>{var g,k,h,w,y;v&&(x.value.staticLanIp=((g=_.value)==null?void 0:g.ipv4addr)||"",x.value.subnetMask=((k=_.value)==null?void 0:k.ipv4mask)&&mt.prefixToMask(_.value.ipv4mask)||"",x.value.gateway=((h=_.value)==null?void 0:h.gateway)||"",x.value.staticDnsIp=((w=_.value)==null?void 0:w.dnsList)&&((y=_.value)==null?void 0:y.dnsList[0])||"223.5.5.5"),l.value=1},c=v=>{window.location.href=location.protocol+"//"+x.value.staticLanIp+(location.port?":"+location.port:"")},f=()=>M(this,null,function*(){const v=x.value,g=C.Loading(a("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.GatewayRouter.POST(v);if(k!=null&&k.data){const{success:h,error:w}=k==null?void 0:k.data;if(w&&(d.value=w),h==null||h==0){setTimeout(()=>{l.value=2,g.Close()},5e3);return}}}catch(k){d.value=k}g.Close()});return(v,g)=>{var w,y,F,B;const k=K("router-link"),h=K("switch-box");return l.value==0?(s(),u("div",Jv,[t("h2",Xv,i(e(a)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[at(i(e(a)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(a)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),Kv,t("p",null,i(e(a)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(a)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(a)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",Qv,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:g[0]||(g[0]=Y=>l.value=3)},i(e(a)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:g[1]||(g[1]=Y=>m(!1))},i(e(a)("\u624B\u52A8\u914D\u7F6E...")),1),A(k,{to:"/network",custom:""},{default:G(({navigate:Y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(a)("\u8FD4\u56DE")),9,tb)]),_:1})])])):l.value==1?(s(),u("div",eb,[t("h2",ab,i(e(a)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",ob,i(e(a)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:st(f,["prevent"])},[t("label",null,[t("div",ib,[t("span",null,i(e(a)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",rb,[t("select",{disabled:"",style:Yt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(a)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",sb,[t("span",null,i(e(a)("IP \u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":g[2]||(g[2]=Y=>x.value.staticLanIp=Y),placeholder:e(a)("IP\u5730\u5740"),required:""},null,8,db),[[H,x.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",ub,[t("span",null,i(e(a)("\u5B50\u7F51\u63A9\u7801")),1)]),L(t("input",{type:"text","onUpdate:modelValue":g[3]||(g[3]=Y=>x.value.subnetMask=Y),placeholder:e(a)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,lb),[[H,x.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",cb,[t("span",null,i(e(a)("\u7F51\u5173\u5730\u5740")),1)]),L(t("input",{type:"text","onUpdate:modelValue":g[4]||(g[4]=Y=>x.value.gateway=Y),placeholder:e(a)("\u7F51\u5173\u5730\u5740"),required:""},null,8,pb),[[H,x.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",mb,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),L(t("input",{type:"text","onUpdate:modelValue":g[5]||(g[5]=Y=>x.value.staticDnsIp=Y),placeholder:e(a)("223.5.5.5"),required:""},null,8,fb),[[H,x.value.staticDnsIp,void 0,{trim:!0}]])]),d.value?(s(),u("div",vb,i(d.value),1)):D("",!0),t("div",bb,[A(h,{modelValue:x.value.enableDhcp,"onUpdate:modelValue":g[6]||(g[6]=Y=>x.value.enableDhcp=Y)},{default:G(()=>[x.value.enableDhcp?(s(),u("span",gb,i(e(a)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(s(),u("span",_b,i(e(a)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",hb,[A(h,{modelValue:x.value.dhcp6c,"onUpdate:modelValue":g[7]||(g[7]=Y=>x.value.dhcp6c=Y)},{default:G(()=>[t("span",xb,i(e(a)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",kb,[A(h,{modelValue:x.value.enableNat,"onUpdate:modelValue":g[8]||(g[8]=Y=>x.value.enableNat=Y)},{default:G(()=>[t("span",wb,i(e(a)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",yb,[t("button",Fb,i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),1),A(k,{to:"/network",custom:""},{default:G(({navigate:Y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(a)("\u8FD4\u56DE")),9,Eb)]),_:1})])],40,nb)])):l.value==2?(s(),u("div",Cb,[t("h2",$b,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Db,i(e(a)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Bb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:c},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):l.value==3?(s(),u("div",Yb,[t("h2",Ab,i(e(a)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(a)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),at(" "+i(e(a)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:rt(["cbi-button cbi-button-neutral",e(p)?"cbi-button-neutral":"cbi-button-success"]),disabled:r.value,onClick:b},[at(i(e(a)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",zb,[t("ul",null,[t("li",null,i(e(a)("IP \u5730\u5740: "))+i((w=_.value)==null?void 0:w.ipv4addr),1),t("li",null,i(e(a)("\u5B50\u7F51\u63A9\u7801: "))+i(((y=_.value)==null?void 0:y.ipv4mask)&&e(mt).prefixToMask(_.value.ipv4mask)),1),t("li",null,i(e(a)("\u7F51\u5173\u5730\u5740: "))+i((F=_.value)==null?void 0:F.gateway),1),t("li",null,i(e(a)("DNS\u670D\u52A1\u5668: "))+i(((B=_.value)==null?void 0:B.dnsList)&&_.value.dnsList[0]||(e(p)?"":e(a)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Sb),at(" "+i(e(a)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Pb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(p),onClick:g[9]||(g[9]=Y=>m(!0))},i(e(a)("\u81EA\u52A8\u586B\u5199..."))+i(e(p)?e(a)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,Tb),A(k,{to:"/network",custom:""},{default:G(({navigate:Y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(a)("\u8FD4\u56DE")),9,Lb)]),_:1})])])):D("",!0)}}});var Mb=S(Ib,[["__scopeId","data-v-21e138ec"]]);const Ob={class:"actioner-container"},Nb={class:"actioner-container_header"},qb={class:"actioner-container_body"},Vb={class:"label-item"},Gb={class:"label-item_key"},jb={class:"label-item_value"},Rb=["value"],Ub={class:"label-item_tips"},Hb={class:"label-item"},Wb={class:"label-item_key"},Zb={key:0,class:"label-item_value"},Jb={class:"msg-warning"},Xb={key:1,class:"label-item_value"},Kb=["value"],Qb={key:1,class:"msg-warning"},tg={class:"label-item_tips"},eg={class:"actioner-container_footer"},ag=["disabled"],og=["disabled"],ng={key:1,class:"actioner-container_body setup-loading"},ig={class:"actioner-container_body setup-error"},rg={class:"actioner-container_footer"},sg=["disabled"],dg={class:"actioner-container_body setup-success"},ug={class:"body-title"},lg={class:"actioner-container_footer"},cg=I({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close()},r=()=>{a.success&&a.success()},p=E("init"),x=E(""),_=[{name:"jbod",title:n("JBOD (\u7EBF\u6027)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:n("RAID 0 (\u6761\u5E26)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:n("RAID 1 (\u955C\u50CF)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:n("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:n("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:n("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],b=E("raid5"),m=E([]),c=w=>{let y="";return _.forEach(F=>{F.name===w&&(y=F.info)}),y},f=E(!1),v=dt({loading:!1,members:[]}),g=w=>{};(()=>M(this,null,function*(){v.loading=!0;try{const w=yield P.Raid.CreateList.GET();if(w!=null&&w.data){const{success:y,error:F,result:B}=w.data;if(B&&(v.members=B.members||[]),F)throw F}}catch(w){console.log(w)}finally{v.loading=!1}}))();const h=()=>M(this,null,function*(){const w=_.filter(F=>F.name===b.value)[0],y=m.value;if(!w){C.Warning(n("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){C.Warning(n("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(w.select>y.length){C.Warning(n("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+w.select}));return}if(!!confirm(n("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:w.name}))&&!!confirm(n("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:w.name}))){f.value=!0,p.value="loading";try{const F=yield P.Raid.Create.POST({level:w.name,devicePaths:y});if(F.data){const{success:B,error:Y,result:$}=F.data;if(Y)throw Y;(B||0)==0&&(p.value="success",r())}}catch(F){x.value=F,p.value="error"}finally{f.value=!1}}});return(w,y)=>{const F=K("icon-loading"),B=K("icon-error"),Y=K("icon-success");return s(),u("div",Ob,[t("div",Nb,[t("span",null,i(e(n)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),p.value=="init"?(s(),u(N,{key:0},[t("div",qb,[t("p",null,i(e(n)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",Vb,[t("div",Gb,[t("span",null,i(e(n)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",jb,[L(t("select",{"onUpdate:modelValue":y[0]||(y[0]=$=>b.value=$),onChange:g},[(s(),u(N,null,R(_,$=>t("option",{value:$.name},i($.title),9,Rb)),64))],544),[[tt,b.value]])]),t("div",Ub,[A(pt),at(" "+i(c(b.value)),1)])]),t("div",Hb,[t("div",Wb,[t("span",null,i(e(n)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(v).loading?(s(),u("div",Zb,[t("span",Jb,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),u("div",Xb,[e(v).members.length>0?(s(!0),u(N,{key:0},R(e(v).members,$=>(s(),u("label",null,[L(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=z=>m.value=z),value:$.path},null,8,Kb),[[Ct,m.value]]),at(" \u3010"+i($.model)+"\u3011"+i($.name)+" "+i($.path)+" ["+i($.sizeStr)+"] ",1)]))),256)):(s(),u("span",Qb,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",tg,[A(pt),at(" "+i(e(n)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",eg,[t("div",{class:"close",onClick:d,disabled:f.value},i(e(n)("\u53D6\u6D88")),9,ag),t("div",{class:"next",onClick:h,disabled:f.value},i(e(n)("\u521B\u5EFA")),9,og)])],64)):p.value=="loading"?(s(),u("div",ng,[A(F,{size:60,color:"#666"}),t("span",null,i(e(n)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):p.value=="error"?(s(),u(N,{key:2},[t("div",ig,[A(B),t("span",null,i(x.value),1)]),t("div",rg,[t("div",{class:"close",onClick:d},i(e(n)("\u5173\u95ED")),1),t("div",{class:"next",onClick:h,disabled:f.value},i(e(n)("\u91CD\u65B0\u521B\u5EFA")),9,sg)])],64)):p.value=="success"?(s(),u(N,{key:3},[t("div",dg,[A(Y),t("div",ug,i(e(n)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",lg,[t("div",{class:"close",onClick:d},i(e(n)("\u5173\u95ED")),1)])],64)):D("",!0)])}}});var pg=S(cg,[["__scopeId","data-v-7cf2dd18"]]);const mg={class:"actioner-container"},fg={class:"actioner-container_body"},vg=["value"],bg={class:"actioner-container_footer"},gg=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close()},r=E("");return(()=>{P.Raid.Detail.POST({path:a.raid.path}).then(x=>{if(x.data){const{result:_,error:b}=x.data;b?r.value=b:r.value=(_==null?void 0:_.detail)||""}}).catch(x=>{r.value=x.message})})(),(x,_)=>(s(),u("div",mg,[t("div",fg,[t("textarea",{value:r.value},null,8,vg)]),t("div",bg,[t("div",{class:"close",onClick:d},i(e(n)("\u5173\u95ED")),1)])]))}});var _g=S(gg,[["__scopeId","data-v-0ef06e27"]]);const hg={class:"actioner-container"},xg={class:"actioner-container_header"},kg={class:"actioner-container_body"},wg={class:"label-item"},yg={class:"label-item_key"},Fg={class:"label-item_value"},Eg={disabled:""},Cg={class:"label-item"},$g={class:"label-item_key"},Dg={key:0,class:"label-item_value"},Bg={class:"msg-warning"},Yg={key:1,class:"label-item_value"},Ag=["value"],Sg={key:1,class:"msg-warning"},zg={class:"actioner-container_footer"},Pg=["disabled"],Tg=["disabled"],Lg=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close()},r=()=>{a.success&&a.success()},p=()=>M(this,null,function*(){const c=b.value;if(c==""){C.Warning(n("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}_.value=!0;const f=C.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const v=yield P.Raid.Add.POST({path:a.raid.path,memberPath:c});if(v.data){const{error:g,success:k}=v.data;if(g)throw g;(k||0)==0&&(C.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),d())}}catch(v){C.Error(`${v}`)}finally{_.value=!1,f.Close()}}),x=dt({loading:!1,members:[]}),_=E(!1),b=E("");return(()=>M(this,null,function*(){x.loading=!0,_.value=!0;try{const c=yield P.Raid.CreateList.GET();if(c!=null&&c.data){const{success:f,error:v,result:g}=c.data;if(g&&(x.members=g.members||[]),v)throw v}}catch(c){console.log(c)}finally{_.value=!1,x.loading=!1}}))(),(c,f)=>(s(),u("div",hg,[t("div",xg,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u4FEE\u6539")),1)]),t("div",kg,[t("div",wg,[t("div",yg,i(e(n)("\u8BBE\u5907")),1),t("div",Fg,[t("select",Eg,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Cg,[t("div",$g,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(x).loading?(s(),u("div",Dg,[t("span",Bg,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),u("div",Yg,[e(x).members.length>0?(s(!0),u(N,{key:0},R(e(x).members,v=>(s(),u("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=g=>b.value=g),value:v.path},null,8,Ag),[[lt,b.value]]),at(" \u3010"+i(v.model)+"\u3011"+i(v.name)+" "+i(v.path)+" ["+i(v.sizeStr)+"] ",1)]))),256)):(s(),u("span",Sg,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",zg,[t("div",{class:"close",onClick:d,disabled:_.value},i(e(n)("\u53D6\u6D88")),9,Pg),t("div",{class:"next",onClick:p,disabled:_.value},i(e(n)("\u4FDD\u5B58")),9,Tg)])]))}});var Ig=S(Lg,[["__scopeId","data-v-593445fb"]]);const Mg={class:"actioner-container"},Og={class:"actioner-container_header"},Ng={class:"actioner-container_body"},qg={class:"label-item"},Vg={class:"label-item_key"},Gg={class:"label-item_value"},jg={disabled:""},Rg={class:"label-item"},Ug={class:"label-item_key"},Hg={class:"label-item_value"},Wg=["value"],Zg={class:"actioner-container_footer"},Jg=["disabled"],Xg=["disabled"],Kg=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close()},r=()=>{a.success&&a.success()},p=()=>M(this,null,function*(){const b=_.value;if(b==""){C.Warning(n("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}x.value=!0;const m=C.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const c=yield P.Raid.Remove.POST({path:a.raid.path,memberPath:b});if(c.data){const{error:f,success:v}=c.data;if(f)throw f;(v||0)==0&&(C.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),d())}}catch(c){C.Error(`${c}`)}finally{x.value=!1,m.Close()}}),x=E(!1),_=E("");return(b,m)=>(s(),u("div",Mg,[t("div",Og,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u79FB\u9664")),1)]),t("div",Ng,[t("div",qg,[t("div",Vg,i(e(n)("\u8BBE\u5907")),1),t("div",Gg,[t("select",jg,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Rg,[t("div",Ug,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",Hg,[(s(!0),u(N,null,R(o.raid.members,c=>(s(),u("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":m[0]||(m[0]=f=>_.value=f),value:c},null,8,Wg),[[lt,_.value]]),at(" "+i(c),1)]))),256))])])]),t("div",Zg,[t("div",{class:"close",onClick:d,disabled:x.value},i(e(n)("\u53D6\u6D88")),9,Jg),t("div",{class:"next",onClick:p,disabled:x.value},i(e(n)("\u4FDD\u5B58")),9,Xg)])]))}});var Qg=S(Kg,[["__scopeId","data-v-77aa4121"]]);const t_={class:"actioner-container"},e_={class:"actioner-container_header"},a_={class:"actioner-container_body"},o_={class:"label-item"},n_={class:"label-item_key"},i_={class:"label-item_value"},r_={disabled:""},s_={class:"label-item"},d_={class:"label-item_key"},u_={key:0,class:"label-item_value"},l_={class:"msg-warning"},c_={key:1,class:"label-item_value"},p_=["value"],m_={key:1,class:"msg-warning"},f_={class:"actioner-container_footer"},v_=["disabled"],b_=["disabled"],g_=I({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=()=>{a.Close()},r=()=>{a.success&&a.success()},p=()=>M(this,null,function*(){const c=b.value;if(c==""){C.Warning(n("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}_.value=!0;const f=C.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const v=yield P.Raid.Recover.POST({path:a.raid.path,memberPath:c});if(v.data){const{error:g,success:k}=v.data;if(g)throw g;(k||0)==0&&(C.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),d())}}catch(v){C.Error(`${v}`)}finally{_.value=!1,f.Close()}}),x=dt({loading:!1,members:[]}),_=E(!1),b=E("");return(()=>M(this,null,function*(){x.loading=!0,_.value=!0;try{const c=yield P.Raid.CreateList.GET();if(c!=null&&c.data){const{success:f,error:v,result:g}=c.data;if(g&&(x.members=g.members||[]),v)throw v}}catch(c){console.log(c)}finally{_.value=!1,x.loading=!1}}))(),(c,f)=>(s(),u("div",t_,[t("div",e_,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u6062\u590D")),1)]),t("div",a_,[t("div",o_,[t("div",n_,i(e(n)("\u8BBE\u5907")),1),t("div",i_,[t("select",r_,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",s_,[t("div",d_,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(x).loading?(s(),u("div",u_,[t("span",l_,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),u("div",c_,[e(x).members.length>0?(s(!0),u(N,{key:0},R(e(x).members,v=>(s(),u("label",null,[L(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=g=>b.value=g),value:v.path},null,8,p_),[[lt,b.value]]),at(" \u3010"+i(v.model)+"\u3011"+i(v.name)+" "+i(v.path)+" ["+i(v.sizeStr)+"] ",1)]))),256)):(s(),u("span",m_,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",f_,[t("div",{class:"close",onClick:d,disabled:_.value},i(e(n)("\u53D6\u6D88")),9,v_),t("div",{class:"next",onClick:p,disabled:_.value},i(e(n)("\u4FDD\u5B58")),9,b_)])]))}});var __=S(g_,[["__scopeId","data-v-a924400c"]]);const h_={class:"action-main"},x_=I({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(a,n)=>(s(),V(ot,{type:2},{default:G(()=>[t("div",h_,[o.setup=="create"?(s(),V(pg,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(s(),V(_g,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(s(),V(Ig,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(s(),V(Qg,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(s(),V(__,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):D("",!0)])]),_:1}))}});var k_=S(x_,[["__scopeId","data-v-6ef94d02"]]);const It=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(k_,nt(X({},o),{Close:()=>{l()}}));n.use(Ae),n.mount(a);const l=()=>{n.unmount(),a.remove()};return{Close:l}},Ne=o=>(W("data-v-e68d5bbe"),o=o(),Z(),o),w_={id:"page"},y_={name:"content"},F_={class:"cbi-map-descr"},E_={style:{color:"#f5365b","margin-top":"10px"}},C_={style:{color:"#f5365b","margin-top":"10px"}},$_={class:"btns"},D_=["disabled"],B_={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Y_={class:"table cbi-section-table"},A_={style:{}},S_={class:"tr cbi-section-table-titles anonymous"},z_={class:"th cbi-section-table-cell","data-widget":"value"},P_={class:"th cbi-section-table-cell","data-widget":"value"},T_={class:"th cbi-section-table-cell","data-widget":"value"},L_={class:"th cbi-section-table-cell","data-widget":"value"},I_={class:"th cbi-section-table-cell","data-widget":"value"},M_={class:"th cbi-section-table-cell","data-widget":"value"},O_={class:"th cbi-section-table-cell","data-widget":"value"},N_={class:"th cbi-section-table-cell","data-widget":"value"},q_={class:"tr cbi-section-table-row"},V_={class:"td cbi-value-field"},G_={class:"td cbi-value-field"},j_=["title"],R_={class:"item-status"},U_={key:0,class:"item-status item-status-detail"},H_={class:"td cbi-value-field"},W_={class:"td cbi-value-field"},Z_={class:"td cbi-value-field"},J_=Ne(()=>t("br",null,null,-1)),X_={class:"td cbi-value-field"},K_=Ne(()=>t("br",null,null,-1)),Q_={key:1,href:"/cgi-bin/luci/admin/quickstart/"},th={class:"td cbi-section-table-cell nowrap cbi-section-actions"},eh=["title","disabled","onClick"],ah=["title","disabled","onClick"],oh=["title","onClick"],nh=["title","onClick"],ih=["title","onClick"],rh=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=dt({disksList:[]}),d=()=>M(this,null,function*(){try{const h=yield P.Raid.List.GET();if(h!=null&&h.data){const{success:w,error:y,result:F}=h.data;if(F&&(l.disksList=F.disks||[]),y)throw y}}catch(h){console.log(h)}}),r=gt.easyInterval(d,5e3);ae(()=>{r()});const p=h=>{switch(h.level){case"raid0":case"jbod":return!0}return h.status.indexOf("degraded")!=-1||h.status.indexOf("resyncing(")!=-1},x=h=>{let w=[];return h.childrens&&h.childrens.forEach(y=>{y.mountPoint&&w.push(`${y.name}(${y.mountPoint})`)}),w},_=()=>M(this,null,function*(){It({setup:"create",success:()=>{d()}})}),b=h=>{It({setup:"info",raid:h})},m=h=>M(this,null,function*(){if(h.childrens&&h.childrens.length>0&&h.childrens.filter(F=>F.mountPoint).length>0){Rt({content:a("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:a("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:a("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(a("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:h.name}))||!confirm(a("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:h.name})))return;const w=C.Loading(a("\u5220\u9664\u4E2D..."));try{const y=yield P.Raid.Delete.POST({path:h.path,members:h.members});if(y.data){const{success:F,error:B}=y.data;if(B)throw B;(F||0)==0&&(C.Success(a("\u5220\u9664\u6210\u529F")),d())}}catch(y){C.Error(`${y}`)}finally{w.Close()}}),c=h=>{It({setup:"edit",raid:h,success:()=>{d()}})},f=h=>{It({setup:"remove",raid:h,success:()=>{d()}})},v=h=>{It({setup:"recover",raid:h,success:()=>{d()}})},g=E(!1),k=()=>{Rt({content:a("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:a("\u786E\u5B9A"),next:()=>M(this,null,function*(){g.value=!0;const h=C.Loading(a("\u626B\u63CF\u4E2D..."));try{const w=yield P.Raid.Autofix.GET();if(w.data){const{error:y,success:F}=w.data;if(y)throw y;(F||0)==0&&(C.Success(a("\u6062\u590D\u5B8C\u6210")),d())}}catch(w){C.Error(`${w}`)}finally{h.Close(),g.value=!1}}),clearTitle:a("\u53D6\u6D88"),clear:()=>{}})};return(h,w)=>(s(),u("div",w_,[t("h2",y_,i(e(a)("RAID\u7BA1\u7406")),1),t("div",F_,[t("p",null,i(e(a)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",E_," * "+i(e(a)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",C_," * "+i(e(a)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",$_,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:w[0]||(w[0]=y=>_())},i(e(a)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:w[1]||(w[1]=y=>k()),disabled:g.value},i(e(a)("\u626B\u63CF\u6062\u590DRAID")),9,D_)]),t("div",null,[t("div",B_,[t("table",Y_,[t("tbody",A_,[t("tr",S_,[t("th",z_,i(e(a)("\u540D\u79F0")),1),t("th",P_,i(e(a)("\u8BBE\u5907")),1),t("th",T_,i(e(a)("\u72B6\u6001")),1),t("th",L_,i(e(a)("\u7EA7\u522B")),1),t("th",I_,i(e(a)("\u5BB9\u91CF")),1),t("th",M_,i(e(a)("\u6210\u5458")),1),t("th",O_,i(e(a)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",N_,i(e(a)("\u64CD\u4F5C")),1)]),(s(!0),u(N,null,R(e(l).disksList,y=>(s(),u("tr",q_,[t("td",V_,[t("b",null,i(y.name),1)]),t("td",G_,[t("b",null,i(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",R_,i(y.status),1),y.rebuildStatus?(s(),u("b",U_," \u2026 ")):D("",!0)],8,j_),t("td",H_,[t("b",null,i(y.level),1)]),t("td",W_,[t("b",null,i(y.size),1)]),t("td",Z_,[(s(!0),u(N,null,R(y.members,F=>(s(),u("b",null,[at(i(F)+" ",1),J_]))),256))]),t("td",X_,[x(y).length>0?(s(!0),u(N,{key:0},R(x(y),F=>(s(),u("b",null,[at(i(F)+" ",1),K_]))),256)):(s(),u("a",Q_,i(e(a)("\u53BB\u6302\u8F7D")),1))]),t("td",th,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u6269\u5145"),disabled:p(y),onClick:F=>c(y)},i(e(a)("\u6269\u5145")),9,eh),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u79FB\u9664"),disabled:p(y),onClick:F=>f(y)},i(e(a)("\u79FB\u9664")),9,ah),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u6062\u590D"),onClick:F=>v(y)},i(e(a)("\u6062\u590D")),9,oh),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:F=>b(y)},i(e(a)("\u8BE6\u60C5")),9,nh),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:F=>m(y)},i(e(a)("\u5220\u9664")),9,ih)])]))),256))])])])])]))}});var sh=S(rh,[["__scopeId","data-v-e68d5bbe"]]);const dh=o=>(W("data-v-16dd0913"),o=o(),Z(),o),uh={id:"page"},lh=dh(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),ch={class:"cbi-map-descr"},ph={class:"tabs"},mh=["href","onClick"],fh=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=[{to:"/smart",name:a("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:a("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:a("\u67E5\u770B\u65E5\u5FD7")}],d=E(!1),r=dt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),p=b=>{const{global:m,devices:c,tasks:f}=b;m&&(r.global.enable=m.enable||!1,r.global.powermode=m.powermode||"never"),r.devices=c||[],r.tasks=f||[]};(()=>M(this,null,function*(){try{const b=yield P.Smart.Config.GET();if(b.data){const{result:m}=b.data;m&&p(m)}}catch(b){}finally{d.value=!0}}))();const _=b=>M(this,null,function*(){const m=C.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const c=yield P.Smart.Config.POST(b);if(c.data){console.log(c.data);const{success:f,error:v,result:g}=c.data;if(v)throw v;(f||0)==0&&(C.Success(a("\u4FDD\u5B58\u6210\u529F")),g&&p(g))}}catch(c){C.Error(`${c}`)}finally{m.Close()}});return(b,m)=>{const c=K("router-link"),f=K("router-view");return s(),u("div",uh,[lh,t("div",ch,[t("p",null,i(e(a)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(a)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(a)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(a)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",ph,[(s(),u(N,null,R(l,v=>A(c,{to:v.to,custom:"",key:v.to},{default:G(({route:g,href:k,navigate:h,isActive:w,isExactActive:y})=>[t("li",{class:rt({"active cbi-tab":w&&y})},[t("a",{href:k,onClick:h},i(v.name),9,mh)],2)]),_:2},1032,["to"])),64))]),d.value?(s(),V(f,{key:0,name:"default"},{default:G(({Component:v,route:g})=>[(s(),V(sa,null,{default:G(()=>[(s(),V(da(v),{key:g.path,config:e(r),saveData:_},null,8,["config"]))]),_:2},1024))]),_:1})):D("",!0)])}}});var vh=S(fh,[["__scopeId","data-v-16dd0913"]]);const bh={class:"action-main"},gh=I({setup(o){return(a,n)=>(s(),V(ot,{type:2},{default:G(()=>[t("div",bh,[wt(a.$slots,"default",{},void 0,!0)])]),_:3}))}});var Kt=S(gh,[["__scopeId","data-v-742230ae"]]);const _h={class:"actioner-container"},hh={class:"actioner-container_header"},xh={class:"actioner-container_body"},kh={class:"cbi-value"},wh={class:"cbi-value-title"},yh={class:"cbi-value-field"},Fh={class:"cbi-value-description"},Eh={class:"cbi-value"},Ch={class:"cbi-value-title"},$h={class:"cbi-value-field"},Dh={class:"cbi-checkbox"},Bh={value:-1},Yh={value:0},Ah=["value"],Sh={class:"cbi-value-description"},zh={class:"cbi-value"},Ph={class:"cbi-value-title"},Th={class:"cbi-value-field"},Lh={class:"cbi-checkbox"},Ih={value:-1},Mh={value:0},Oh=["value"],Nh={class:"cbi-value-description"},qh={class:"actioner-container_footer"},Vh=["disabled"],Gh=["disabled"],jh=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var _,b,m;const a=o,{$gettext:n,$ngettext:l}=q();console.log(a.device);const d=E(!1),r=dt({tmpDiff:((_=a.device)==null?void 0:_.tmpDiff)||0,tmpMax:((b=a.device)==null?void 0:b.tmpMax)||0,devicePath:((m=a.device)==null?void 0:m.devicePath)||""}),p=()=>{d.value=!0,a.close()},x=()=>M(this,null,function*(){d.value=!0;try{yield a.next({tmpDiff:r.tmpDiff,tmpMax:r.tmpMax,devicePath:r.devicePath}),d.value=!1,p()}catch(c){}});return(c,f)=>(s(),V(Kt,null,{default:G(()=>[t("div",_h,[t("div",hh,[t("span",null," S.M.A.R.T. \xBB "+i(e(n)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",xh,[t("div",kh,[t("label",wh,i(e(n)("\u78C1\u76D8")),1),t("div",yh,[t("div",Fh,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",Eh,[t("label",Ch,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",$h,[t("div",Dh,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":f[0]||(f[0]=v=>e(r).tmpDiff=v)},[t("option",Bh,i(e(n)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Yh,i(e(n)("\u7981\u7528")),1),(s(),u(N,null,R(20,v=>t("option",{value:v},i(v)+"\xB0C",9,Ah)),64))],512),[[tt,e(r).tmpDiff,void 0,{number:!0}]])]),t("div",Sh,i(e(n)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",zh,[t("label",Ph,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",Th,[t("div",Lh,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":f[1]||(f[1]=v=>e(r).tmpMax=v)},[t("option",Ih,i(e(n)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",Mh,i(e(n)("\u7981\u7528")),1),(s(),u(N,null,R(20,v=>t("option",{value:v*5},i(v*5)+"\xB0C",9,Oh)),64))],512),[[tt,e(r).tmpMax,void 0,{number:!0}]])]),t("div",Nh,i(e(n)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",qh,[t("button",{class:"close",onClick:p,disabled:d.value},i(e(n)("\u53D6\u6D88")),9,Vh),t("button",{class:"next",onClick:x,disabled:d.value},i(e(n)("\u4FDD\u5B58")),9,Gh)])])]),_:1}))}}),Rh={class:"actioner-container"},Uh={class:"actioner-container_header"},Hh={class:"actioner-container_body"},Wh={class:"cbi-value"},Zh={class:"cbi-value-title"},Jh={class:"cbi-value-field"},Xh={class:"cbi-checkbox"},Kh={value:""},Qh=["value"],tx={class:"cbi-value"},ex={class:"cbi-value-title"},ax={class:"cbi-value-field"},ox={class:"cbi-checkbox"},nx={value:"short"},ix={value:"long"},rx={value:"conveyance"},sx={value:"offline"},dx={class:"cbi-value"},ux={class:"cbi-value-title"},lx={class:"cbi-value-field"},cx={class:"cbi-checkbox"},px=t("option",{value:"*"},"*",-1),mx=["value"],fx={class:"cbi-value-description"},vx={class:"cbi-value"},bx={class:"cbi-value-title"},gx={class:"cbi-value-field"},_x={class:"cbi-checkbox"},hx=t("option",{value:"*"},"*",-1),xx=["value"],kx={class:"cbi-value-description"},wx={class:"cbi-value"},yx={class:"cbi-value-title"},Fx={class:"cbi-value-field"},Ex={class:"cbi-checkbox"},Cx=t("option",{value:"*"},"*",-1),$x=["value"],Dx={class:"cbi-value-description"},Bx={class:"actioner-container_footer"},Yx=["disabled"],Ax=["disabled"],Sx=I({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!1),r=dt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),p=E([]);(()=>M(this,null,function*(){try{const m=yield P.Smart.List.GET();if(m.data){const{result:c,error:f}=m.data;c&&c.disks&&(p.value=c.disks)}}catch(m){}}))();const _=()=>{d.value=!0,a.close()},b=()=>M(this,null,function*(){if(r.devicePath==""){C.Warning(n("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}d.value=!0;try{yield a.next(r),_()}catch(m){}finally{d.value=!1}});return(m,c)=>(s(),V(Kt,null,{default:G(()=>[t("div",Rh,[t("div",Uh,[t("span",null,i(e(n)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",Hh,[t("div",Wh,[t("label",Zh,i(e(n)("\u78C1\u76D8")),1),t("div",Jh,[t("div",Xh,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":c[0]||(c[0]=f=>e(r).devicePath=f)},[t("option",Kh,i(e(n)("\u9009\u62E9\u78C1\u76D8")),1),(s(!0),u(N,null,R(p.value,f=>(s(),u("option",{value:f.path},i(f.model)+" [ "+i(f.path)+"\uFF0C"+i(f.sizeStr)+" ] ",9,Qh))),256))],512),[[tt,e(r).devicePath,void 0,{trim:!0}]])])])]),t("div",tx,[t("label",ex,i(e(n)("\u7C7B\u578B")),1),t("div",ax,[t("div",ox,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":c[1]||(c[1]=f=>e(r).type=f)},[t("option",nx,i(e(n)("\u77ED\u6682\u81EA\u68C0")),1),t("option",ix,i(e(n)("\u957F\u65F6\u81EA\u68C0")),1),t("option",rx,i(e(n)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",sx,i(e(n)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[tt,e(r).type,void 0,{trim:!0}]])])])]),t("div",dx,[t("label",ux,i(e(n)("\u5C0F\u65F6")),1),t("div",lx,[t("div",cx,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":c[2]||(c[2]=f=>e(r).hour=f)},[px,(s(),u(N,null,R(24,(f,v)=>t("option",{value:`${v}`},i(v),9,mx)),64))],512),[[tt,e(r).hour,void 0,{trim:!0}]])]),t("div",fx,i(e(n)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",vx,[t("label",bx,i(e(n)("\u5929")),1),t("div",gx,[t("div",_x,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":c[3]||(c[3]=f=>e(r).dayPerMonth=f)},[hx,(s(),u(N,null,R(31,f=>t("option",{value:`${f}`},i(f),9,xx)),64))],512),[[tt,e(r).dayPerMonth,void 0,{trim:!0}]])]),t("div",kx,i(e(n)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",wx,[t("label",yx,i(e(n)("\u6708")),1),t("div",Fx,[t("div",Ex,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":c[4]||(c[4]=f=>e(r).month=f)},[Cx,(s(),u(N,null,R(12,(f,v)=>t("option",{value:`${f}`},i(f),9,$x)),64))],512),[[tt,e(r).month,void 0,{trim:!0}]])]),t("div",Dx,i(e(n)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",Bx,[t("button",{class:"close",onClick:_,disabled:d.value},i(e(n)("\u53D6\u6D88")),9,Yx),t("button",{class:"next",onClick:b,disabled:d.value},i(e(n)("\u4FDD\u5B58")),9,Ax)])])]),_:1}))}}),zx={class:"actioner-container"},Px={class:"actioner-container_header"},Tx={class:"actioner-container_body"},Lx=["value"],Ix={class:"actioner-container_footer"},Mx=["disabled"],Ox=["disabled"],Nx=I({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!1),r=E(""),p=E(""),x=E(""),_=()=>M(this,null,function*(){r.value+=".";try{const f=yield P.Smart.Test.Result.POST({type:"selftest",devicePath:a.task.devicePath||""});if(f.data){const{result:v,error:g}=f.data;v&&v.result&&(x.value=v.result),g&&(x.value=g)}}catch(f){f&&(x.value=f)}}),b=gt.easyInterval(_,5e3);ae(()=>{b()});const m=()=>{d.value=!0,b(),a.close()},c=()=>M(this,null,function*(){d.value=!0;try{const f=yield P.Smart.Test.POST({type:a.task.type||"short",devicePath:a.task.devicePath||""});if(f.data){const{success:v,error:g,result:k}=f.data;g&&(p.value=g),k&&k.result&&(p.value=k.result)}}catch(f){p.value=f}finally{}});return(f,v)=>(s(),V(Kt,null,{default:G(()=>[t("div",zx,[t("div",Px,[t("span",null,i(e(n)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",Tx,[t("textarea",{value:p.value+` +`+x.value+` +`+r.value,disabled:""},null,8,Lx)]),t("div",Ix,[t("div",{class:"close",onClick:m,disabled:d.value},i(e(n)("\u5173\u95ED")),9,Mx),d.value?D("",!0):(s(),u("div",{key:0,class:"next",onClick:c,disabled:d.value},i(e(n)("\u8FD0\u884C")),9,Ox))])])]),_:1}))}});var qx=S(Nx,[["__scopeId","data-v-70c3aae0"]]);const Vx={class:"actioner-container"},Gx={class:"actioner-container_header"},jx={class:"tabs"},Rx={class:"actioner-container_body"},Ux={key:0,class:"table"},Hx={class:"tr"},Wx={class:"td left"},Zx={class:"td left"},Jx={class:"tr"},Xx={class:"td left"},Kx={class:"td left"},Qx={class:"tr"},tk={class:"td left"},ek={class:"td left"},ak=["value"],ok=["value"],nk=["value"],ik={class:"actioner-container_footer"},rk=["disabled"],sk=I({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!1),r=E("info"),p=f=>{switch(r.value=f,f){case"info":break;case"attribute":m();break;case"log":b();break;case"extend":c();break}},x=()=>{d.value=!0,a.close()},_=dt({log:"",attribute:"",extend:""}),b=()=>M(this,null,function*(){try{const f=yield P.Smart.Test.Result.POST({type:"selftest",devicePath:a.disk.path||""});if(f.data){const{result:v,error:g}=f.data;v&&v.result&&(_.log=v.result),g&&(_.log=g)}}catch(f){_.log=f}}),m=()=>M(this,null,function*(){try{const f=yield P.Smart.Attribute.Result.POST({devicePath:a.disk.path||""});if(f.data){const{result:v,error:g}=f.data;v&&v.result&&(_.attribute=v.result),g&&(_.attribute=g)}}catch(f){_.attribute=f}}),c=()=>M(this,null,function*(){try{const f=yield P.Smart.Extend.Result.POST({devicePath:a.disk.path||""});if(f.data){const{result:v,error:g}=f.data;v&&v.result&&(_.extend=v.result),g&&(_.extend=g)}}catch(f){_.extend=f}});return(f,v)=>(s(),V(Kt,null,{default:G(()=>[t("div",Vx,[t("div",Gx,[t("ul",jx,[t("li",{class:rt({"active cbi-tab":r.value=="info"}),onClick:v[0]||(v[0]=g=>p("info"))},[t("a",null,i(e(n)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:rt({"active cbi-tab":r.value=="attribute"}),onClick:v[1]||(v[1]=g=>p("attribute"))},[t("a",null,i(e(n)("\u5C5E\u6027")),1)],2),t("li",{class:rt({"active cbi-tab":r.value=="log"}),onClick:v[2]||(v[2]=g=>p("log"))},[t("a",null,i(e(n)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:rt({"active cbi-tab":r.value=="extend"}),onClick:v[3]||(v[3]=g=>p("extend"))},[t("a",null,i(e(n)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",Rx,[r.value=="info"?(s(),u("table",Ux,[t("tr",Hx,[t("td",Wx,i(e(n)("\u8BBE\u5907")),1),t("td",Zx,i(o.disk.path),1)]),t("tr",Jx,[t("td",Xx,i(e(n)("\u578B\u53F7")),1),t("td",Kx,i(o.disk.model),1)]),t("tr",Qx,[t("td",tk,i(e(n)("\u5E8F\u53F7")),1),t("td",ek,i(o.disk.serial),1)])])):r.value=="attribute"?(s(),u("textarea",{key:1,disabled:"",value:e(_).attribute},null,8,ak)):r.value=="log"?(s(),u("textarea",{key:2,disabled:"",value:e(_).log},null,8,ok)):r.value=="extend"?(s(),u("textarea",{key:3,disabled:"",value:e(_).extend},null,8,nk)):D("",!0)]),t("div",ik,[t("div",{class:"close",onClick:x,disabled:d.value},i(e(n)("\u5173\u95ED")),9,rk)])])]),_:1}))}});var dk=S(sk,[["__scopeId","data-v-313197ee"]]);const uk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(jh,nt(X({},o),{close:()=>{l()}})),l=()=>{a.remove()};Ut(n,a)},lk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(Sx,nt(X({},o),{close:()=>{l()}})),l=()=>{a.remove()};Ut(n,a)},ck=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(qx,nt(X({},o),{close:()=>{l()}})),l=()=>{a.remove()};Ut(n,a)},pk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(dk,nt(X({},o),{close:()=>{l()}})),l=()=>{a.remove()};Ut(n,a)},mk={class:"cbi-section"},fk={class:"cbi-value"},vk={class:"cbi-value-title"},bk={class:"cbi-value-field"},gk={class:"cbi-checkbox"},_k=["value"],hk={class:"cbi-value"},xk={class:"cbi-value-title"},kk={class:"cbi-value-field"},wk={class:"cbi-checkbox"},yk={value:"never"},Fk={value:"sleep"},Ek={value:"standby"},Ck={value:"idle"},$k={class:"cbi-value-description"},Dk=t("br",null,null,-1),Bk=t("br",null,null,-1),Yk=t("br",null,null,-1),Ak=t("br",null,null,-1),Sk={class:"cbi-value"},zk={class:"cbi-value-title"},Pk={class:"cbi-value-field"},Tk={class:"cbi-checkbox"},Lk={value:0},Ik=["value"],Mk={class:"cbi-value-description"},Ok={class:"cbi-value"},Nk={class:"cbi-value-title"},qk={class:"cbi-value-field"},Vk={class:"cbi-checkbox"},Gk={value:0},jk=["value"],Rk={class:"cbi-value-description"},Uk={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Hk={class:"table cbi-section-table"},Wk={class:"tr cbi-section-table-titles anonymous"},Zk={class:"th cbi-section-table-cell","data-widget":"value"},Jk={class:"th cbi-section-table-cell","data-widget":"value"},Xk={class:"th cbi-section-table-cell","data-widget":"value"},Kk={class:"th cbi-section-table-cell","data-widget":"value"},Qk={class:"th cbi-section-table-cell","data-widget":"value"},tw={class:"th cbi-section-table-cell","data-widget":"value"},ew={class:"th cbi-section-table-cell","data-widget":"value"},aw={class:"th cbi-section-table-cell","data-widget":"value"},ow={class:"tr cbi-section-table-row"},nw={class:"td cbi-value-field"},iw={class:"td cbi-value-field"},rw={class:"td cbi-value-field"},sw={class:"td cbi-value-field"},dw={class:"td cbi-value-field"},uw={class:"td cbi-value-field"},lw={class:"td cbi-value-field"},cw={class:"td cbi-value-field"},pw=["title","onClick"],mw=["title","onClick"],fw={class:"cbi-page-actions control-group"},vw=["value"],bw=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=dt(a.config),r=()=>{d.global.tmpDiff=a.config.global.tmpDiff||0,d.global.tmpMax=a.config.global.tmpMax||0,d.global.enable=a.config.global.enable||!1,d.global.powermode=a.config.global.powermode||"never",d.devices=a.config.devices||[],d.tasks=a.config.tasks||[]},p=E([]),x=()=>M(this,null,function*(){try{const f=yield P.Smart.List.GET();if(f.data){const{result:v,error:g}=f.data;v&&v.disks&&(p.value=v.disks||[])}}catch(f){}}),_=gt.easyInterval(x,5e3);ae(()=>{_()});const b=()=>M(this,null,function*(){yield a.saveData({global:d.global,devices:a.config.devices,tasks:a.config.tasks}),r()}),m=f=>{pk({disk:f})},c=(f,v)=>M(this,null,function*(){let g=null,k=-1;if(d.devices){for(let h=0;hM(this,null,function*(){h.tmpDiff==-1&&(h.tmpDiff=d.global.tmpDiff),h.tmpMax==-1&&(h.tmpMax=d.global.tmpMax),h.devicePath==""&&(h.devicePath=f.path);let w=[...d.devices];k>=0&&(w[k]=h);const y=new Map;w.forEach(F=>{F.devicePath!=null&&y.set(F.devicePath,null)});for(let F=0;F(s(),u(N,null,[t("fieldset",mk,[t("div",fk,[t("label",vk,i(e(n)("\u542F\u7528")),1),t("div",bk,[t("div",gk,[L(t("input",{type:"checkbox","onUpdate:modelValue":v[0]||(v[0]=g=>e(d).global.enable=g),value:!e(d).global.enable},null,8,_k),[[Ct,e(d).global.enable]])])])]),t("div",hk,[t("label",xk,i(e(n)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",kk,[t("div",wk,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[1]||(v[1]=g=>e(d).global.powermode=g)},[t("option",yk,i(e(n)("\u603B\u662F")),1),t("option",Fk,i(e(n)("\u7761\u7720")),1),t("option",Ek,i(e(n)("\u5F85\u673A")),1),t("option",Ck,i(e(n)("\u95F2\u7F6E")),1)],512),[[tt,e(d).global.powermode,void 0,{trim:!0}]])]),t("div",$k,[t("span",null,i(e(n)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),Dk,t("span",null,"* "+i(e(n)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),Bk,t("span",null,"* "+i(e(n)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),Yk,t("span",null,"* "+i(e(n)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),Ak,t("span",null,"* "+i(e(n)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",Sk,[t("label",zk,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",Pk,[t("div",Tk,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[2]||(v[2]=g=>e(d).global.tmpDiff=g)},[t("option",Lk,i(e(n)("\u7981\u7528")),1),(s(),u(N,null,R(15,g=>t("option",{value:g},i(g)+"\xB0C",9,Ik)),64))],512),[[tt,e(d).global.tmpDiff,void 0,{number:!0}]])]),t("div",Mk,i(e(n)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",Ok,[t("label",Nk,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",qk,[t("div",Vk,[L(t("select",{class:"cbi-input-select","onUpdate:modelValue":v[3]||(v[3]=g=>e(d).global.tmpMax=g)},[t("option",Gk,i(e(n)("\u7981\u7528")),1),(s(),u(N,null,R(20,g=>t("option",{value:g*5},i(g*5)+"\xB0C",9,jk)),64))],512),[[tt,e(d).global.tmpMax,void 0,{number:!0}]])]),t("div",Rk,i(e(n)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",Uk,[t("table",Hk,[t("thead",null,[t("tr",Wk,[t("th",Zk,i(e(n)("\u8BBE\u5907")),1),t("th",Jk,i(e(n)("\u578B\u53F7")),1),t("th",Xk,i(e(n)("\u5E8F\u53F7")),1),t("th",Kk,i(e(n)("\u5BB9\u91CF")),1),t("th",Qk,i(e(n)("\u6E29\u5EA6")),1),t("th",tw,i(e(n)("\u72B6\u6001")),1),t("th",ew,i(e(n)("\u5065\u5EB7")),1),t("th",aw,i(e(n)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(s(!0),u(N,null,R(p.value,(g,k)=>(s(),u("tr",ow,[t("td",nw,[t("b",null,i(g.path),1)]),t("td",iw,[t("b",null,i(g.model),1)]),t("td",rw,[t("b",null,i(g.serial),1)]),t("td",sw,[t("b",null,i(g.sizeStr),1)]),t("td",dw,[t("b",null,i(g.temp),1)]),t("td",uw,[t("b",null,i(g.status),1)]),t("td",lw,[t("b",null,i(g.health),1)]),t("td",cw,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:h=>c(g)},i(e(n)("\u7F16\u8F91")),9,pw),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:h=>m(g)},i(e(n)("\u8BE6\u60C5")),9,mw)])]))),256))])])]),t("span",fw,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:b},null,8,vw)])],64))}}),gw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},_w={class:"table cbi-section-table"},hw={class:"tr cbi-section-table-titles anonymous"},xw={class:"th cbi-section-table-cell","data-widget":"value"},kw={class:"th cbi-section-table-cell","data-widget":"value"},ww={class:"th cbi-section-table-cell","data-widget":"value"},yw={class:"th cbi-section-table-cell","data-widget":"value"},Fw={class:"tr cbi-section-table-row"},Ew={class:"td cbi-value-field"},Cw={class:"td cbi-value-field"},$w={class:"td cbi-value-field"},Dw={class:"td cbi-value-field"},Bw=["title","onClick"],Yw=["title","onClick"],Aw=I({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=dt(a.config),r=b=>{switch(b){case"short":return n("\u77ED\u6682\u81EA\u68C0");case"long":return n("\u957F\u65F6\u81EA\u68C0");case"conveyance":return n("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return n("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return n("\u672A\u77E5")}},p=()=>{lk({config:a.config,disks:[],next:b=>M(this,null,function*(){yield a.saveData({tasks:[...d.tasks,b],global:a.config.global,devices:a.config.devices}),d.tasks=a.config.tasks||[]})})},x=b=>M(this,null,function*(){const m=[...d.tasks];m.splice(b,1),yield a.saveData({tasks:m,global:a.config.global,devices:a.config.devices}),d.tasks=a.config.tasks||[]}),_=b=>{ck({task:b})};return(b,m)=>(s(),u(N,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:m[0]||(m[0]=c=>p())},i(e(n)("\u65B0\u5EFA")),1),t("div",gw,[t("table",_w,[t("thead",null,[t("tr",hw,[t("th",xw,i(e(n)("\u8BBE\u5907")),1),t("th",kw,i(e(n)("\u7C7B\u578B")),1),t("th",ww,i(e(n)("\u8C03\u5EA6")),1),t("th",yw,i(e(n)("\u529F\u80FD")),1)])]),t("tbody",null,[(s(!0),u(N,null,R(e(d).tasks,(c,f)=>(s(),u("tr",Fw,[t("td",Ew,[t("b",null,i(c.devicePath),1)]),t("td",Cw,[t("b",null,i(r(c.type)),1)]),t("td",$w,[t("b",null,i(c.month)+"/"+i(c.dayPerMonth)+"/"+i(c.hour),1)]),t("td",Dw,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8C03\u8BD5"),onClick:v=>_(c)},i(e(n)("\u9884\u89C8")),9,Bw),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5220\u9664"),onClick:v=>x(f)},i(e(n)("\u5220\u9664")),9,Yw)])]))),256))])])])],64))}}),Sw={class:"cbi-section"},zw=["value"],Pw=I({setup(o){return M(this,null,function*(){let a,n;const l=E(""),d=()=>M(this,null,function*(){try{const r=yield P.Smart.Log.GET();if(r.data){const{result:p,error:x}=r.data;p&&p.result&&(l.value=p.result),x&&(l.value=x)}}catch(r){l.value=r}});return[a,n]=ua(()=>d()),yield a,n(),(r,p)=>(s(),u("fieldset",Sw,[t("textarea",{value:l.value,disabled:""},null,8,zw)]))})}});var Tw=S(Pw,[["__scopeId","data-v-76197cba"]]);const Lw={},Iw={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},Mw=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),Ow=[Mw];function Nw(o,a){return s(),u("svg",Iw,Ow)}var Fe=S(Lw,[["render",Nw]]);const qw=["onSubmit"],Vw={class:"actioner-dns_header"},Gw={key:0},jw={key:1},Rw={class:"actioner-dns_body"},Uw={class:"label-item"},Hw={class:"label-item_key"},Ww={class:"label-item_value"},Zw={class:"label-item"},Jw={class:"label-item_key"},Xw={class:"label-item_value"},Kw={value:"dhcp"},Qw={key:0,value:"pppoe"},ty={value:"static"},ey={class:"actioner-dns_footer"},ay=["disabled"],oy=I({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:l}=q(),d=E(!1),r=E(a.inface),p=()=>M(this,null,function*(){C.Loading(n("\u914D\u7F6E\u4E2D...")).Close(),a.next(r.value),x()}),x=()=>{a.Close&&a.Close()};return(_,b)=>(s(),V(ot,{Close:o.Close,type:1},{default:G(()=>[t("form",{class:"actioner-dns",onSubmit:st(p,["prevent"])},[t("div",Vw,[o.name=="wan"?(s(),u("span",Gw,i(o.e=="edit"?e(n)("\u7F16\u8F91WAN"):e(n)("\u6DFB\u52A0WAN")),1)):(s(),u("span",jw,i(o.e=="edit"?e(n)("\u7F16\u8F91LAN"):e(n)("\u6DFB\u52A0LAN")),1))]),t("div",Rw,[t("div",Uw,[t("div",Hw,[t("span",null,i(e(n)("\u540D\u79F0")),1)]),t("div",Ww,[t("span",null,i(r.value.name.toLocaleUpperCase()),1)])]),t("div",Zw,[t("div",Jw,[t("span",null,i(e(n)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",Xw,[L(t("select",{"onUpdate:modelValue":b[0]||(b[0]=m=>r.value.proto=m)},[t("option",Kw,i(e(n)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(s(),u("option",Qw,"PPPoE")):D("",!0),t("option",ty,i(e(n)("\u9759\u6001\u5730\u5740")),1)],512),[[tt,r.value.proto]])])])]),t("div",ey,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:d.value},i(e(n)("\u4FDD\u5B58")),9,ay),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x},i(e(n)("\u53D6\u6D88")),1)])],40,qw)]),_:1},8,["Close"]))}});var ny=S(oy,[["__scopeId","data-v-c88486ac"]]);const Ee=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=et(ny,nt(X({},o),{Close:()=>{l()}}));n.mount(a);const l=()=>{n.unmount(),a.remove()}},ct=o=>(W("data-v-afd1f5d2"),o=o(),Z(),o),iy={id:"page"},ry={name:"content"},sy={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},dy={class:"table cbi-section-table"},uy={width:"200"},ly=ct(()=>t("col",null,null,-1)),cy=ct(()=>t("col",null,null,-1)),py=ct(()=>t("col",{width:"200"},null,-1)),my={class:"tr cbi-section-table-cell"},fy={class:"th cbi-section-table-cell interface-device","data-widget":"value"},vy={class:"interface-device-flex"},by=ct(()=>t("th",{style:{width:"10px"}},null,-1)),gy=ct(()=>t("th",{style:{width:"32px"}},null,-1)),_y=ct(()=>t("th",null,null,-1)),hy={class:"tr cbi-section-table-row cbi-rowstyle-1"},xy={class:"td cbi-value-field interface-device info"},ky=["name","value","onUpdate:modelValue","onInput"],wy=ct(()=>t("td",{class:"td cbi-value-field"},null,-1)),yy={class:"td cbi-value-field"},Fy={class:"td cbi-value-field btns"},Ey=["title","onClick"],Cy=["onClick"],$y={class:"tr cbi-section-table-row cbi-rowstyle-1"},Dy={class:"td cbi-value-field"},By=ct(()=>t("td",{class:"td cbi-value-field"},null,-1)),Yy=ct(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ay={class:"tr cbi-section-table-row cbi-rowstyle-1"},Sy={class:"td cbi-value-field interface-device info","data-widget":"value"},zy=["name","value","onUpdate:modelValue","onInput"],Py=ct(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ty={class:"td cbi-value-field"},Ly={class:"td cbi-value-field btns"},Iy=["title","onClick"],My=["onClick"],Oy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ny={class:"td cbi-value-field"},qy=ct(()=>t("td",{class:"td cbi-value-field"},null,-1)),Vy=ct(()=>t("td",{class:"td cbi-value-field"},null,-1)),Gy={class:"cbi-page-actions control-group"},jy=["value","disabled"],Ry=I({setup(o){const{$gettext:a,$ngettext:n}=q(),l=dt({devices:[],interfaces:[]}),d=E(!1),r=dt({lan:[],wan:[]});(()=>{P.Network.GetInterfaceConfig.GET().then(v=>{if(v.data){const{result:g}=v.data;if(g){l.devices=g.devices||[],l.interfaces=g.interfaces||[];for(let k=0;k{v=="wan"?r.wan.splice(g,1):v=="lan"&&r.lan.splice(g,1)},_=(v,g)=>{if(g==null){let k=v=="wan"?r.wan.length:r.lan.length;k==6&&v=="wan"&&k++,Ee({e:"add",name:v,inface:{name:v+`${k}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:v},next:h=>{v=="wan"?r.wan.push(h):r.lan.push(h),C.Message(a("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Ee({e:"edit",name:v,inface:v=="wan"?r.wan[g]:r.lan[g],next:k=>{v=="wan"?r.wan[g]=k:r.lan[g]=k}})},b=(v,g)=>v?v.indexOf(g):-1,m=(v,g)=>{const h=v.target.value;for(let y=0;y{const h=v.target.value;for(let w=0;wM(this,null,function*(){d.value=!0;const v=[];for(let k=0;k(s(),u("div",iy,[t("h2",ry,i(e(a)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",null,[t("div",sy,[t("table",dy,[t("colgroup",null,[(s(!0),u(N,null,R(e(l).devices,k=>(s(),u("col",uy))),256)),ly,cy,py]),t("thead",null,[t("tr",my,[(s(!0),u(N,null,R(e(l).devices,k=>(s(),u("th",fy,[t("div",vy,[A(Pe,{item:k},null,8,["item"])])]))),256)),by,gy,_y])]),t("tbody",null,[(s(!0),u(N,null,R(e(r).lan,(k,h)=>(s(),u("tr",hy,[(s(!0),u(N,null,R(e(l).devices,w=>(s(),u("td",xy,[L(t("input",{type:"checkbox",name:w.name,value:w.name,"onUpdate:modelValue":y=>k.deviceNames=y,onInput:y=>m(y,h)},null,40,ky),[[Ct,k.deviceNames]])]))),256)),wy,t("td",yy,[t("b",null,i(k.name),1)]),t("td",Fy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:w=>_("lan",h)},i(e(a)("\u7F16\u8F91")),9,Ey),h!=0?(s(),u("button",{key:0,class:"cbi-button cbi-button-remove",onClick:w=>x("lan",h)},i(e(a)("\u5220\u9664")),9,Cy)):D("",!0)])]))),256)),t("tr",$y,[(s(!0),u(N,null,R(e(l).devices,k=>(s(),u("td",Dy))),256)),By,Yy,t("td",{class:"td cbi-value-field btns",onClick:g[0]||(g[0]=k=>_("lan"))},[A(Fe,{class:"icon"})])]),(s(!0),u(N,null,R(e(r).wan,(k,h)=>(s(),u("tr",Ay,[(s(!0),u(N,null,R(e(l).devices,w=>(s(),u("td",Sy,[L(t("input",{type:"checkbox",name:w.name,value:w.name,"onUpdate:modelValue":y=>k.deviceNames=y,onInput:y=>c(y,h)},null,40,zy),[[Ct,k.deviceNames]])]))),256)),Py,t("td",Ty,[t("b",null,i(k.name),1)]),t("td",Ly,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:w=>_("wan",h)},i(e(a)("\u7F16\u8F91")),9,Iy),h!=0?(s(),u("button",{key:0,class:"cbi-button cbi-button-remove",onClick:w=>x("wan",h)},i(e(a)("\u5220\u9664")),9,My)):D("",!0)])]))),256)),t("tr",Oy,[(s(!0),u(N,null,R(e(l).devices,k=>(s(),u("td",Ny))),256)),qy,Vy,t("td",{class:"td cbi-value-field btns",onClick:g[1]||(g[1]=k=>_("wan"))},[A(Fe,{class:"icon"})])])])])]),t("div",Gy,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:f,disabled:d.value},null,8,jy)])])]))}});var Uy=S(Ry,[["__scopeId","data-v-afd1f5d2"]]);const Hy=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",qe=la({history:ca(Hy()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:af},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:rf,children:[{path:"",component:Nf},{path:"pppoe",component:uv},{path:"dhcp",component:Wv},{path:"gateway",component:Mb}]},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:sh},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:vh,children:[{path:"",component:bw},{path:"task",component:Aw},{path:"log",component:Tw}]},{path:"/interfaceconfig",component:Uy}]});qe.beforeEach((o,a)=>(o.meta.title,!0));const it=et(Sa);it.component("svg-menu",Oa);it.component("svg-system",Ra);it.component("svg-download",Xa);it.component("svg-store",io);it.component("svg-info",po);it.component("svg-disk",Lo);it.component("svg-nav",Vo);it.component("progress-item",Be);it.component("svg-view-show",mn);it.component("svg-view-hidden",hn);it.component("article-item",Cn);it.component("switch-box",Ye);it.component("editable-select",Et);it.use(Ae);it.use(qe);it.use(pa());fa(it).finally(()=>it.mount("#app"))});export default Wy(); diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/style.css b/luci-app-quickstart/htdocs/luci-static/quickstart/style.css index 75e602b1..68216c1b 100644 --- a/luci-app-quickstart/htdocs/luci-static/quickstart/style.css +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/style.css @@ -1 +1 @@ -@keyframes bganimation-57f1326f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57f1326f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57f1326f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57f1326f]{animation:rotateEnter-57f1326f .7s;position:relative}.rotate-leave-active[data-v-57f1326f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57f1326f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-57f1326f]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-57f1326f]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-9bc295c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9bc295c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9bc295c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9bc295c2]{animation:rotateEnter-9bc295c2 .7s;position:relative}.rotate-leave-active[data-v-9bc295c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9bc295c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-9bc295c2]{width:100%}#main[data-v-9bc295c2],#main[data-v-9bc295c2] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}@keyframes bganimation-733828e1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-733828e1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-733828e1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-733828e1]{animation:rotateEnter-733828e1 .7s;position:relative}.rotate-leave-active[data-v-733828e1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-733828e1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-733828e1]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-733828e1]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-2c8b6a70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8b6a70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8b6a70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8b6a70]{animation:rotateEnter-2c8b6a70 .7s;position:relative}.rotate-leave-active[data-v-2c8b6a70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8b6a70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-2c8b6a70]{cursor:pointer;display:flex!important;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-2c8b6a70]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-2c8b6a70],label.checkbox_switch .checkbox_switch_off[data-v-2c8b6a70]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-2c8b6a70]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-2c8b6a70]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-2c8b6a70]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-2c8b6a70]{display:none!important}label.checkbox_switch svg[data-v-2c8b6a70]{height:1em;width:2em}article[data-v-bd286d4e]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-bd286d4e]{max-width:33.333%}}@keyframes bganimation-bd286d4e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bd286d4e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bd286d4e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bd286d4e]{animation:rotateEnter-bd286d4e .7s;position:relative}.rotate-leave-active[data-v-bd286d4e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bd286d4e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-bd286d4e]{max-width:50%}}@keyframes bganimation-123deb20{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-123deb20{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-123deb20{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-123deb20]{animation:rotateEnter-123deb20 .7s;position:relative}.rotate-leave-active[data-v-123deb20]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-123deb20]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-123deb20]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-123deb20]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-123deb20]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-123deb20]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-123deb20] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-123deb20] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-123deb20] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-123deb20]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-123deb20]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-123deb20]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-123deb20]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-123deb20]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-123deb20]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-123deb20]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-123deb20]{background-color:#439c07}@keyframes bganimation-169d5b59{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-169d5b59{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-169d5b59{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-169d5b59]{animation:rotateEnter-169d5b59 .7s;position:relative}.rotate-leave-active[data-v-169d5b59]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-169d5b59]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-169d5b59]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-169d5b59],.select-editable input[data-v-169d5b59]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-169d5b59]{position:relative;width:100%}.select-editable input[data-v-169d5b59]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-169d5b59]:focus,.select-editable input[data-v-169d5b59]:focus{outline:none;box-shadow:none}@keyframes bganimation-0ec4e762{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ec4e762{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ec4e762{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ec4e762]{animation:rotateEnter-0ec4e762 .7s;position:relative}.rotate-leave-active[data-v-0ec4e762]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ec4e762]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0ec4e762{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-0ec4e762]{animation:turn-0ec4e762 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-0ec4e762]{width:100%;height:100%}.quick-loading svg path[data-v-0ec4e762]{fill:#fff}@keyframes bganimation-7fc1a08c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7fc1a08c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7fc1a08c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7fc1a08c]{animation:rotateEnter-7fc1a08c .7s;position:relative}.rotate-leave-active[data-v-7fc1a08c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7fc1a08c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-7fc1a08c]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-7fc1a08c]{width:22px;height:22px}a:hover svg path[data-v-7fc1a08c]{fill:#3688ff}@keyframes bganimation-6b923912{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6b923912{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6b923912{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6b923912]{animation:rotateEnter-6b923912 .7s;position:relative}.rotate-leave-active[data-v-6b923912]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6b923912]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-6b923912]{position:relative;height:460px}.flow .echart[data-v-6b923912]{width:100%;height:100%}.flow .flow-data[data-v-6b923912]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-6b923912]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-6b923912]{height:76.6vw}}@keyframes bganimation-6935a479{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6935a479{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6935a479{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6935a479]{animation:rotateEnter-6935a479 .7s;position:relative}.rotate-leave-active[data-v-6935a479]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6935a479]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-6935a479{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-6935a479]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-6935a479]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-6935a479]{width:100%;height:100%}.toast div.icon svg path[data-v-6935a479]{fill:#fff}.toast .loading[data-v-6935a479]{animation:turn-6935a479 1s steps(12,end) infinite}.toast .message[data-v-6935a479]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-428d873e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-428d873e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-428d873e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-428d873e]{animation:rotateEnter-428d873e .7s;position:relative}.rotate-leave-active[data-v-428d873e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-428d873e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-428d873e]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-428d873e]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-428d873e],#actioner[data-v-428d873e] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-428d873e]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-428d873e]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-428d873e]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-428d873e]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-428d873e] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-428d873e] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-428d873e]:hover{opacity:.9}.action-container .action-container_body[data-v-428d873e]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}.actioner-dns[data-v-2a4078c6]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2a4078c6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2a4078c6]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2a4078c6]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2a4078c6]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2a4078c6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2a4078c6]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2a4078c6]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2a4078c6],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2a4078c6]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2a4078c6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2a4078c6]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2a4078c6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2a4078c6]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2a4078c6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2a4078c6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2a4078c6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2a4078c6]{animation:rotateEnter-2a4078c6 .7s;position:relative}.rotate-leave-active[data-v-2a4078c6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2a4078c6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2a4078c6]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2a4078c6]{width:100%}}.action[data-v-0ae97e7e]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-0ae97e7e]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-0ae97e7e]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-0ae97e7e]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-0ae97e7e]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-0ae97e7e]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ae97e7e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ae97e7e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ae97e7e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ae97e7e]{animation:rotateEnter-0ae97e7e .7s;position:relative}.rotate-leave-active[data-v-0ae97e7e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ae97e7e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-0ae97e7e]{font-size:20px}}@keyframes bganimation-342aaca4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-342aaca4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-342aaca4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-342aaca4]{animation:rotateEnter-342aaca4 .7s;position:relative}.rotate-leave-active[data-v-342aaca4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-342aaca4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-342aaca4]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-342aaca4]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-342aaca4]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-342aaca4]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-342aaca4]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-342aaca4]{font-weight:700;font-size:14px}@keyframes bganimation-3470ca08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3470ca08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3470ca08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3470ca08]{animation:rotateEnter-3470ca08 .7s;position:relative}.rotate-leave-active[data-v-3470ca08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3470ca08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-3470ca08]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-3470ca08]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-3470ca08]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-3470ca08]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-3470ca08]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-3470ca08]:hover{opacity:1;transition:.3s}.actioner-dns[data-v-1e29113c]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-1e29113c]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-1e29113c]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-1e29113c]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-1e29113c]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1e29113c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1e29113c]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-1e29113c]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-1e29113c],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-1e29113c]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-1e29113c]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-1e29113c]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-1e29113c]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-1e29113c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-1e29113c]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-1e29113c]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-1e29113c]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-1e29113c]:focus,.actioner-dns .select-editable input[data-v-1e29113c]:focus{outline:none}.actioner-dns[data-v-1e29113c] ::placeholder{color:#999}.successed[data-v-1e29113c]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-1e29113c]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-1e29113c]{text-align:center}.docker_moves .moves[data-v-1e29113c]{margin-top:10px}.docker_moves .moves input[data-v-1e29113c]{cursor:pointer}.docker_moves .moves label[data-v-1e29113c]{margin-left:10px;cursor:pointer}.btns[data-v-1e29113c]{text-align:center}.item_info[data-v-1e29113c]{margin-left:10px}.softsource_tit[data-v-1e29113c]{margin:0 auto}.softsource_successed[data-v-1e29113c]{width:20%!important}@keyframes bganimation-1e29113c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e29113c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e29113c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e29113c]{animation:rotateEnter-1e29113c .7s;position:relative}.rotate-leave-active[data-v-1e29113c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e29113c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-1e29113c]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-1e29113c]{width:100%}}@keyframes bganimation-5ebe1ee6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ebe1ee6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5ebe1ee6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5ebe1ee6]{animation:rotateEnter-5ebe1ee6 .7s;position:relative}.rotate-leave-active[data-v-5ebe1ee6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ebe1ee6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-5ebe1ee6]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-5ebe1ee6]{width:100%;background-color:var(--card-bg-color);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-5ebe1ee6]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-5ebe1ee6]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-5ebe1ee6]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-5ebe1ee6]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-5ebe1ee6]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-5ebe1ee6]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-5ebe1ee6]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-5ebe1ee6]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-5ebe1ee6]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-5ebe1ee6]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-5ebe1ee6]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-5ebe1ee6]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-5ebe1ee6]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-5ebe1ee6]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-5ebe1ee6]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-5ebe1ee6]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-5ebe1ee6]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-5ebe1ee6]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-5ebe1ee6]{display:block;color:var(--app-container_status-label_block);margin:10px 0 8px}.app-container_status-container_body[data-v-5ebe1ee6]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-5ebe1ee6]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-5ebe1ee6]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-5ebe1ee6]{width:50px;height:50px}.app-container_status-container_body span[data-v-5ebe1ee6]{width:100%;margin:5px 0}.menu_background[data-v-5ebe1ee6]{position:fixed;inset:0}.app-container_body[data-v-5ebe1ee6]{width:100%}.network-container[data-v-569bbceb]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-569bbceb]{border-radius:6px;overflow:hidden;position:relative;background-color:var(--flow-bg-color);box-shadow:var(--card-box-shadow)}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-569bbceb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-569bbceb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-569bbceb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-569bbceb]{animation:rotateEnter-569bbceb .7s;position:relative}.rotate-leave-active[data-v-569bbceb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-569bbceb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-569bbceb]{width:100%}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-4116205a]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-4116205a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4116205a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4116205a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4116205a]{animation:rotateEnter-4116205a .7s;position:relative}.rotate-leave-active[data-v-4116205a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4116205a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-4116205a]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-4116205a]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-4116205a]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-4116205a]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-4116205a]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-4116205a]{flex:auto}.action.format .disk-list[data-v-4116205a]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-4116205a]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-4116205a]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-4116205a]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-4116205a]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-4116205a]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-4116205a],.action.format .label-item .label-item_value input[data-v-4116205a]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-4116205a]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-4116205a]{flex:auto}.action.format p.msg[data-v-4116205a]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-4116205a]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-4116205a]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-4116205a]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-4116205a]{margin:1rem 0;font-size:1.5em;color:#333}.action.result[data-v-4116205a]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-4116205a]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-4116205a]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-4116205a]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-4116205a]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-4116205a]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-4116205a]{color:#0000fb}.action.result .btns[data-v-4116205a]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-4116205a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4116205a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4116205a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4116205a]{animation:rotateEnter-4116205a .7s;position:relative}.rotate-leave-active[data-v-4116205a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4116205a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-4116205a]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-4116205a]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-4116205a]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-4116205a]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-4116205a]{width:100%}}.action .action-footer button[data-v-57d4812a]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-57d4812a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57d4812a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57d4812a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57d4812a]{animation:rotateEnter-57d4812a .7s;position:relative}.rotate-leave-active[data-v-57d4812a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57d4812a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-57d4812a]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-57d4812a]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-57d4812a]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-57d4812a]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-57d4812a]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-57d4812a]{flex:auto}.action.format .disk-list[data-v-57d4812a]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-57d4812a]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-57d4812a]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-57d4812a]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-57d4812a]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-57d4812a]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-57d4812a],.action.format .label-item .label-item_value input[data-v-57d4812a]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-57d4812a]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-57d4812a]{flex:auto}.action.format p.msg[data-v-57d4812a]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-57d4812a]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-57d4812a]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-57d4812a]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-57d4812a]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-57d4812a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-57d4812a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-57d4812a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-57d4812a]{animation:rotateEnter-57d4812a .7s;position:relative}.rotate-leave-active[data-v-57d4812a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-57d4812a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-57d4812a]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-57d4812a]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-57d4812a]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-57d4812a]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-57d4812a]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-57d4812a]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-57d4812a]{color:#0000fb}.action.result .btns[data-v-57d4812a]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-3e619a52{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e619a52{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e619a52{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e619a52]{animation:rotateEnter-3e619a52 .7s;position:relative}.rotate-leave-active[data-v-3e619a52]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e619a52]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-3e619a52]{color:red}.disk-content[data-v-3e619a52]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-3e619a52]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-3e619a52]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-3e619a52]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-3e619a52]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-3e619a52]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-3e619a52]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-3e619a52]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-3e619a52]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-3e619a52]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-3e619a52]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-3e619a52]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-3e619a52]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-3e619a52]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-3e619a52]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-3e619a52]{display:flex;align-items:center}.disk_infoicon[data-v-3e619a52]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-3e619a52]{flex:none}.tooltip-trigger[data-v-3e619a52]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-3e619a52]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-3e619a52]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-3e619a52]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3e619a52]{visibility:visible;opacity:1}.tooltip-top[data-v-3e619a52]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-3e619a52]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-3e619a52]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-3e619a52{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3e619a52{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3e619a52{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3e619a52]{animation:rotateEnter-3e619a52 .7s;position:relative}.rotate-leave-active[data-v-3e619a52]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3e619a52]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-3e619a52]{display:block}.disk-content .disk_status[data-v-3e619a52]{flex-wrap:wrap}}.action[data-v-5fa713aa]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-5fa713aa]{overflow:auto}.action ul .app-container_info[data-v-5fa713aa]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-5fa713aa]{width:100%;height:100%}.action .action-footer[data-v-5fa713aa]{text-align:center;margin-top:46px}.action .action-footer button[data-v-5fa713aa]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5fa713aa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5fa713aa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5fa713aa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5fa713aa]{animation:rotateEnter-5fa713aa .7s;position:relative}.rotate-leave-active[data-v-5fa713aa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5fa713aa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-5fa713aa]{width:160%}}@media screen and (max-width: 800px){.action[data-v-5fa713aa]{width:138%}}@media screen and (max-width: 700px){.action[data-v-5fa713aa]{width:132%}}@media screen and (max-width: 600px){.action[data-v-5fa713aa]{width:116%}}@media screen and (max-width: 500px){.action[data-v-5fa713aa]{width:100%}}@media screen and (max-width: 400px){.action[data-v-5fa713aa]{width:90%}}@media screen and (max-width: 300px){.action[data-v-5fa713aa]{width:100%}}@keyframes bganimation-3eb8bf52{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3eb8bf52{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3eb8bf52{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3eb8bf52]{animation:rotateEnter-3eb8bf52 .7s;position:relative}.rotate-leave-active[data-v-3eb8bf52]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3eb8bf52]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-3eb8bf52]{color:red}li.disk-item[data-v-3eb8bf52]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-3eb8bf52]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-3eb8bf52]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-3eb8bf52]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-3eb8bf52]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-3eb8bf52]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-3eb8bf52]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-3eb8bf52]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-3eb8bf52]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-3eb8bf52]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-3eb8bf52]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-3eb8bf52]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-3eb8bf52]{flex:none;cursor:help}.tooltip-trigger[data-v-3eb8bf52]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-3eb8bf52]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-3eb8bf52]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-3eb8bf52]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3eb8bf52]{visibility:visible;opacity:1}.tooltip-top[data-v-3eb8bf52]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-3eb8bf52]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-3eb8bf52]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-bc09566a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bc09566a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bc09566a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bc09566a]{animation:rotateEnter-bc09566a .7s;position:relative}.rotate-leave-active[data-v-bc09566a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bc09566a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-bc09566a]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-bc09566a]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-bc09566a]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-bc09566a]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-bc09566a] svg path{fill:var(--item_btn-color)}.app-container ul .app-container_title .DeviceBlock[data-v-bc09566a]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-bc09566a]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-bc09566a]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-bc09566a]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-bc09566a]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-bc09566a]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-bc09566a]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-bc09566a]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:1var --item_btn-border;border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-bc09566a] svg path{fill:var(--item_btn-color)}.app-container ul .disk_loading_icon[data-v-bc09566a]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-bc09566a]{margin-top:5px}.refresh[data-v-bc09566a]{margin-left:20px}.app-container_info[data-v-bc09566a]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-bc09566a]{width:100%;height:100%}.menu_background[data-v-bc09566a]{position:fixed;inset:0}@keyframes bganimation-184dd932{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-184dd932{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-184dd932{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-184dd932]{animation:rotateEnter-184dd932 .7s;position:relative}.rotate-leave-active[data-v-184dd932]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-184dd932]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-184dd932]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-184dd932]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-184dd932]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-184dd932]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-184dd932]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-184dd932]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-184dd932]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-184dd932]:hover{opacity:.7}.tit[data-v-184dd932]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-b4608492{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b4608492{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b4608492{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b4608492]{animation:rotateEnter-b4608492 .7s;position:relative}.rotate-leave-active[data-v-b4608492]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b4608492]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-b4608492]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-b4608492]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-b4608492]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-4a3b6e0a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a3b6e0a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4a3b6e0a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4a3b6e0a]{animation:rotateEnter-4a3b6e0a .7s;position:relative}.rotate-leave-active[data-v-4a3b6e0a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a3b6e0a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-4a3b6e0a]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-4a3b6e0a]{flex:auto}ul.disk-item .disk-item_icon[data-v-4a3b6e0a]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-4a3b6e0a]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-4a3b6e0a]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-4a3b6e0a]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-4a3b6e0a]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-4a3b6e0a]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-4a3b6e0a],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-4a3b6e0a]{width:100%}ul.disk-item li.disk-info.on[data-v-4a3b6e0a]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-4a3b6e0a]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-4a3b6e0a]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-4a3b6e0a]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-4a3b6e0a]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-4a3b6e0a]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-4a3b6e0a]{border-left:3px solid #ff9c08;background-color:#ecf5ff}.action .action-footer button[data-v-12d0f96b]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-12d0f96b]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-12d0f96b]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-12d0f96b]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-12d0f96b]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-12d0f96b]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-12d0f96b]{flex:auto}.action.list .disk-list[data-v-12d0f96b]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-12d0f96b]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-12d0f96b]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-12d0f96b]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-12d0f96b]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-12d0f96b]{flex:auto}.action.format .disk-list[data-v-12d0f96b]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-12d0f96b]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-12d0f96b]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-12d0f96b]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-12d0f96b]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-12d0f96b]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-12d0f96b],.action.format .label-item .label-item_value input[data-v-12d0f96b]{width:100%;height:36px}.action.format .auto[data-v-12d0f96b]{flex:auto}.action.format p.msg[data-v-12d0f96b]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-12d0f96b]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-12d0f96b]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-12d0f96b]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-12d0f96b]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-12d0f96b]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-12d0f96b]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-12d0f96b]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-12d0f96b]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-12d0f96b]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-12d0f96b]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-12d0f96b]{color:#f70324}.action.result .action-footer[data-v-12d0f96b]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-12d0f96b]{flex:auto}@keyframes bganimation-12d0f96b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-12d0f96b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-12d0f96b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-12d0f96b]{animation:rotateEnter-12d0f96b .7s;position:relative}.rotate-leave-active[data-v-12d0f96b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-12d0f96b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-12d0f96b]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-12d0f96b]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-12d0f96b]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-12d0f96b]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-12d0f96b]{width:80%}}@keyframes bganimation-67a63e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67a63e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-67a63e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-67a63e8f]{animation:rotateEnter-67a63e8f .7s;position:relative}.rotate-leave-active[data-v-67a63e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67a63e8f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-67a63e8f]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-67a63e8f]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-67a63e8f]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-67a63e8f]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-67a63e8f]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-67a63e8f]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-67a63e8f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67a63e8f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-67a63e8f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-67a63e8f]{animation:rotateEnter-67a63e8f .7s;position:relative}.rotate-leave-active[data-v-67a63e8f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67a63e8f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-67a63e8f]{font-size:20px}}@keyframes bganimation-30ef6ccb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30ef6ccb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30ef6ccb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30ef6ccb]{animation:rotateEnter-30ef6ccb .7s;position:relative}.rotate-leave-active[data-v-30ef6ccb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30ef6ccb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-30ef6ccb]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-30ef6ccb]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-30ef6ccb]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-30ef6ccb]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-30ef6ccb]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-30ef6ccb]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-30ef6ccb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-30ef6ccb]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-30ef6ccb]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-30ef6ccb],.action .action-body .label-item .label-item_value input[data-v-30ef6ccb]{width:100%;height:36px}.action .action-footer[data-v-30ef6ccb]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-30ef6ccb]{flex:auto}.action .action-footer button[data-v-30ef6ccb]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3ef9e48f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ef9e48f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3ef9e48f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3ef9e48f]{animation:rotateEnter-3ef9e48f .7s;position:relative}.rotate-leave-active[data-v-3ef9e48f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ef9e48f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3ef9e48f]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-3ef9e48f]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-3ef9e48f]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-3ef9e48f]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-3ef9e48f]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-3ef9e48f]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-3ef9e48f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-3ef9e48f]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-3ef9e48f]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-3ef9e48f],.action .action-body .label-item .label-item_value input[data-v-3ef9e48f]{width:100%;height:36px}.action .action-body .samba-item[data-v-3ef9e48f]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-3ef9e48f]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-3ef9e48f]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-3ef9e48f]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-3ef9e48f]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-3ef9e48f]{margin-left:10px}.action .action-footer[data-v-3ef9e48f]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-3ef9e48f]{flex:auto}.action .action-footer button[data-v-3ef9e48f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-650e3bd4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-650e3bd4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-650e3bd4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-650e3bd4]{animation:rotateEnter-650e3bd4 .7s;position:relative}.rotate-leave-active[data-v-650e3bd4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-650e3bd4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-650e3bd4]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-650e3bd4]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-650e3bd4]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-650e3bd4]{width:100%;display:block;padding:2rem 0}.action form label[data-v-650e3bd4]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-650e3bd4],.action form label select[data-v-650e3bd4]{width:100%;display:block;height:42px}.action .btns[data-v-650e3bd4]{width:100%;margin-top:3rem}.action .btns button[data-v-650e3bd4]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-650e3bd4]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-650e3bd4]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-650e3bd4]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-650e3bd4],.action li.disk-item .disk-item_f .disk-item_used[data-v-650e3bd4]{width:100%}.action .tips[data-v-650e3bd4]{float:right;font-size:.8em}@keyframes bganimation-650e3bd4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-650e3bd4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-650e3bd4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-650e3bd4]{animation:rotateEnter-650e3bd4 .7s;position:relative}.rotate-leave-active[data-v-650e3bd4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-650e3bd4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-650e3bd4]{font-size:2em}}@keyframes bganimation-edf68726{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-edf68726{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-edf68726{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-edf68726]{animation:rotateEnter-edf68726 .7s;position:relative}.rotate-leave-active[data-v-edf68726]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-edf68726]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-edf68726]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-edf68726]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-edf68726]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-edf68726]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-edf68726]{cursor:pointer}a[data-v-edf68726]{text-decoration:none;color:#297ff3}@keyframes bganimation-6c088396{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6c088396{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6c088396{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6c088396]{animation:rotateEnter-6c088396 .7s;position:relative}.rotate-leave-active[data-v-6c088396]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6c088396]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-6c088396]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-6c088396]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-6c088396]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-6c088396]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-6c088396]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-6c088396] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-6c088396]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-6c088396]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-6c088396]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-6c088396]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-6c088396]:hover{background-color:#eee}.app-container .app-container_title button[data-v-6c088396]{margin-left:10px}.app-container .app-container_body[data-v-6c088396]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-6c088396]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-6c088396]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-6c088396],.app-container ul.app-container_nas-menu button[data-v-6c088396]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-6c088396]{position:fixed;inset:0}@keyframes bganimation-3fd3a42d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3fd3a42d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3fd3a42d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3fd3a42d]{animation:rotateEnter-3fd3a42d .7s;position:relative}.rotate-leave-active[data-v-3fd3a42d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3fd3a42d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-3fd3a42d]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-3fd3a42d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-3fd3a42d]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-3fd3a42d]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-3fd3a42d]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-3fd3a42d]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-3fd3a42d]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-3fd3a42d]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-3fd3a42d]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-3fd3a42d]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-3fd3a42d]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3fd3a42d]{visibility:visible;opacity:1}.tooltip-top[data-v-3fd3a42d]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-3fd3a42d]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-3fd3a42d]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-3fd3a42d]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-3fd3a42d]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-3fd3a42d]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-3fd3a42d]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-3fd3a42d]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-3fd3a42d]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-3fd3a42d]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-3fd3a42d]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-3fd3a42d]{transform:translate(0);transition:.3s}@keyframes bganimation-0c5883d5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0c5883d5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0c5883d5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0c5883d5]{animation:rotateEnter-0c5883d5 .7s;position:relative}.rotate-leave-active[data-v-0c5883d5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0c5883d5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-0c5883d5]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-0c5883d5]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-0c5883d5]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-0c5883d5]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-0c5883d5]{display:flex;justify-content:left;align-items:center}.action .change[data-v-0c5883d5]{width:678px}.action .desc[data-v-0c5883d5]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-0c5883d5]{width:100%;display:block}.action .tips[data-v-0c5883d5]{width:477px}.action .tips .tip[data-v-0c5883d5]{color:#faad14;padding-left:6px}.action .btns[data-v-0c5883d5]{width:100%;margin:104px auto 0}.action .btns button[data-v-0c5883d5]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-0c5883d5]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-0c5883d5]{text-align:center;font-size:14px}.action .finished[data-v-0c5883d5]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-0c5883d5]{text-align:center}.action .docker_moves .moves[data-v-0c5883d5]{margin-top:10px}.action .docker_moves .moves input[data-v-0c5883d5]{cursor:pointer}.action .docker_moves .moves label[data-v-0c5883d5]{margin-left:10px;cursor:pointer}.select-editable[data-v-0c5883d5]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-0c5883d5]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-0c5883d5]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-0c5883d5]:focus,.select-editable input[data-v-0c5883d5]:focus{outline:none}[data-v-0c5883d5]::placeholder{color:#999}@keyframes bganimation-0c5883d5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0c5883d5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0c5883d5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0c5883d5]{animation:rotateEnter-0c5883d5 .7s;position:relative}.rotate-leave-active[data-v-0c5883d5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0c5883d5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-0c5883d5]{width:100%}.docker_download[data-v-0c5883d5]{width:80%}}@keyframes bganimation-68f828b1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-68f828b1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-68f828b1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-68f828b1]{animation:rotateEnter-68f828b1 .7s;position:relative}.rotate-leave-active[data-v-68f828b1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-68f828b1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-68f828b1]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-68f828b1]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-68f828b1]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-68f828b1]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-68f828b1]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-68f828b1] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-68f828b1]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-68f828b1]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-68f828b1]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-68f828b1]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-68f828b1]:hover{background-color:#eee}.app-container button[data-v-68f828b1],.app-container .refresh[data-v-68f828b1]{margin-left:20px}.app-container .app-container_body[data-v-68f828b1]{width:100%;height:100%}.app-container .loading_placeholder[data-v-68f828b1]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-68f828b1]{position:fixed;inset:0}@keyframes bganimation-dbe287b2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-dbe287b2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-dbe287b2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-dbe287b2]{animation:rotateEnter-dbe287b2 .7s;position:relative}.rotate-leave-active[data-v-dbe287b2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-dbe287b2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-dbe287b2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-dbe287b2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-dbe287b2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-dbe287b2]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-dbe287b2]{color:#888}.use-url_app[data-v-dbe287b2]{padding-bottom:14px}.use-url_app a[data-v-dbe287b2]{text-decoration:none;color:#297ff3}@keyframes bganimation-1af61e64{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1af61e64{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1af61e64{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1af61e64]{animation:rotateEnter-1af61e64 .7s;position:relative}.rotate-leave-active[data-v-1af61e64]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1af61e64]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-1af61e64]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-1af61e64]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-1af61e64]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-1af61e64]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-1af61e64]{color:#888}a[data-v-1af61e64]{text-decoration:none;color:#297ff3}@keyframes bganimation-31717210{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-31717210{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-31717210{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-31717210]{animation:rotateEnter-31717210 .7s;position:relative}.rotate-leave-active[data-v-31717210]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-31717210]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-31717210]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-31717210]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-31717210]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-31717210]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-31717210]{color:#888}a[data-v-31717210]{text-decoration:none;color:#297ff3}@keyframes bganimation-378dba8e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-378dba8e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-378dba8e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-378dba8e]{animation:rotateEnter-378dba8e .7s;position:relative}.rotate-leave-active[data-v-378dba8e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-378dba8e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-378dba8e]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-378dba8e]{color:#999;font-size:14px}.action input[data-v-378dba8e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-378dba8e]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-378dba8e]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-378dba8e]{width:100%}.action form label input[data-v-378dba8e],.action form label select[data-v-378dba8e]{height:100%;font-size:14px}.action .myinput_wrap[data-v-378dba8e],.action .RPC_input[data-v-378dba8e]{width:85%}.action .myinput_wrap textarea[data-v-378dba8e]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-378dba8e]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-378dba8e]{margin-right:10px}.action .input_row .radios input[data-v-378dba8e],.action .input_row .radios label[data-v-378dba8e]{cursor:pointer}.action .Tracker label[data-v-378dba8e]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-378dba8e]{padding:6px 2px}.action .btns[data-v-378dba8e]{width:100%;margin:42px auto 0}.action .btns button[data-v-378dba8e]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-378dba8e]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-378dba8e]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-378dba8e]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-378dba8e]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-378dba8e]{visibility:visible;opacity:1}.action .tooltip-top[data-v-378dba8e]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-378dba8e]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-378dba8e]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-378dba8e]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-378dba8e]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-378dba8e]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-378dba8e]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-378dba8e]{text-align:center;font-size:14px}.action .finished[data-v-378dba8e]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-378dba8e]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-378dba8e]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-378dba8e]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-378dba8e]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-378dba8e]:focus,.select-editable input[data-v-378dba8e]:focus{outline:none}[data-v-378dba8e]::placeholder{color:#999}@keyframes bganimation-378dba8e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-378dba8e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-378dba8e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-378dba8e]{animation:rotateEnter-378dba8e .7s;position:relative}.rotate-leave-active[data-v-378dba8e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-378dba8e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-378dba8e]{width:100%}.action .input_row[data-v-378dba8e]{display:block}.action .input_row .myinput_wrap[data-v-378dba8e],.action .input_row .RPC_input[data-v-378dba8e]{width:100%}}@keyframes bganimation-6c45d60c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6c45d60c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6c45d60c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6c45d60c]{animation:rotateEnter-6c45d60c .7s;position:relative}.rotate-leave-active[data-v-6c45d60c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6c45d60c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-6c45d60c]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-6c45d60c]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-6c45d60c]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-6c45d60c]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-6c45d60c]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-6c45d60c] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-6c45d60c]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-6c45d60c]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-6c45d60c]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-6c45d60c]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-6c45d60c]:hover{background-color:#eee}.app-container .app-container_title button[data-v-6c45d60c]{margin-left:10px}.app-container .app-container_body[data-v-6c45d60c]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-6c45d60c]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-6c45d60c]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-6c45d60c],.app-container ul.app-container_nas-menu button[data-v-6c45d60c]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-6c45d60c]{position:fixed;inset:0}@keyframes bganimation-43beecef{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43beecef{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-43beecef{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-43beecef]{animation:rotateEnter-43beecef .7s;position:relative}.rotate-leave-active[data-v-43beecef]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43beecef]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-43beecef]{text-align:center;margin-bottom:20px}.label-item[data-v-43beecef]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-43beecef]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-43beecef]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-43beecef]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-43beecef]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-43beecef]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-43beecef]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-43beecef]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-43dd65a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43dd65a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-43dd65a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-43dd65a2]{animation:rotateEnter-43dd65a2 .7s;position:relative}.rotate-leave-active[data-v-43dd65a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43dd65a2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-43dd65a2]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-43dd65a2]{width:100px;height:100px}.actioner-container_body .body-title[data-v-43dd65a2]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-43dd65a2]{text-align:center}.actioner-container_body .body-info[data-v-43dd65a2]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-43dd65a2]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-43dd65a2]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-43dd65a2]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-7790f1da{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7790f1da{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7790f1da{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7790f1da]{animation:rotateEnter-7790f1da .7s;position:relative}.rotate-leave-active[data-v-7790f1da]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7790f1da]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-7790f1da]{width:100%;height:100%;border:none}@keyframes bganimation-7b3ee72a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b3ee72a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b3ee72a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b3ee72a]{animation:rotateEnter-7b3ee72a .7s;position:relative}.rotate-leave-active[data-v-7b3ee72a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b3ee72a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-7b3ee72a]{width:100%;height:100%;border:none}@keyframes bganimation-7f5a8953{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7f5a8953{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7f5a8953{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7f5a8953]{animation:rotateEnter-7f5a8953 .7s;position:relative}.rotate-leave-active[data-v-7f5a8953]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7f5a8953]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-7f5a8953]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-7f5a8953]{width:100px;height:100px}.actioner-container_body .body-title[data-v-7f5a8953]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-7f5a8953]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-7f5a8953]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-7f5a8953]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-7f5a8953]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-d60389d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d60389d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d60389d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d60389d6]{animation:rotateEnter-d60389d6 .7s;position:relative}.rotate-leave-active[data-v-d60389d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d60389d6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-d60389d6]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1e0ebd66{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e0ebd66{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e0ebd66{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e0ebd66]{animation:rotateEnter-1e0ebd66 .7s;position:relative}.rotate-leave-active[data-v-1e0ebd66]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e0ebd66]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1e0ebd66]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-7a6bd385]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-7a6bd385] .actioner-container{width:100%}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-4358e88c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4358e88c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4358e88c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4358e88c]{animation:rotateEnter-4358e88c .7s;position:relative}.rotate-leave-active[data-v-4358e88c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4358e88c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-4358e88c]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-4358e88c]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-4358e88c]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-4358e88c]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-4358e88c]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-4358e88c]:hover{opacity:.8}.action .clear[data-v-4358e88c]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-4358e88c]:hover{opacity:.8}@keyframes bganimation-9435cfa6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9435cfa6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9435cfa6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9435cfa6]{animation:rotateEnter-9435cfa6 .7s;position:relative}.rotate-leave-active[data-v-9435cfa6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9435cfa6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-9435cfa6]{display:block;width:100%;text-align:center}.title_info p[data-v-9435cfa6]{font-size:20px;margin-bottom:10px}.label-item[data-v-9435cfa6]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-9435cfa6]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-9435cfa6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-9435cfa6]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-9435cfa6]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-9435cfa6],.label-item .label-item_value input[data-v-9435cfa6]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-9435cfa6]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-9435cfa6]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-9435cfa6]{margin-left:8px}.label-message[data-v-9435cfa6]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6f1d92d9]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6f1d92d9] .actioner-container{width:100%}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.ali,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-1e47a06d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e47a06d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e47a06d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e47a06d]{animation:rotateEnter-1e47a06d .7s;position:relative}.rotate-leave-active[data-v-1e47a06d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e47a06d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1e47a06d]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-1e47a06d]{text-decoration:none}.app-container .app-container_title[data-v-1e47a06d]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1e47a06d]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1e47a06d]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e47a06d]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e47a06d] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1e47a06d]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1e47a06d]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1e47a06d]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1e47a06d]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1e47a06d]:hover{background-color:#eee}.app-container button[data-v-1e47a06d],.app-container .refresh[data-v-1e47a06d]{margin-left:20px}.app-container .app-container_body[data-v-1e47a06d]{width:100%;height:100%}.menu_background[data-v-1e47a06d]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-1e47a06d]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-1e47a06d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-1e47a06d]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-1e47a06d]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-1e47a06d]{border:var(--item_btn-border);border-radius:4px;font-size:12px;padding:7px;color:var(--item_btn-color);text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-1e47a06d]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-1e47a06d]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-1e47a06d]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-1e47a06d]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-1e47a06d]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-1e47a06d]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-1e47a06d]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-1e47a06d]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-1e47a06d]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-1e47a06d]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-1e47a06d]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-1e47a06d]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-1e47a06d]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-66cc4e33]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-4c08c4d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4c08c4d6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4c08c4d6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4c08c4d6]{animation:rotateEnter-4c08c4d6 .7s;position:relative}.rotate-leave-active[data-v-4c08c4d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4c08c4d6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-4c08c4d6]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-4c08c4d6]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-4c08c4d6]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-4c08c4d6]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-4c08c4d6]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-4c08c4d6]:hover{background-color:#eee}.item-label[data-v-4c08c4d6]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-4c08c4d6]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-4c08c4d6]{font-size:14px;color:var(--item-label_key-span-color)}.item-label .item-label_value[data-v-4c08c4d6]{flex:1;text-align:left}.item-label .item-label_value span[data-v-4c08c4d6]{font-size:14px;color:var(--item-label_value-span-color)}.item-title span[data-v-4c08c4d6]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-4c08c4d6]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-4c08c4d6]{flex:auto}.item-flex button.app-editor[data-v-4c08c4d6]{padding:8px 1.3rem}.menu_background[data-v-4c08c4d6]{position:fixed;inset:0}@keyframes bganimation-9cffddcc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9cffddcc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9cffddcc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9cffddcc]{animation:rotateEnter-9cffddcc .7s;position:relative}.rotate-leave-active[data-v-9cffddcc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9cffddcc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-9cffddcc]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-9cffddcc]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-9cffddcc]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-9cffddcc]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9cffddcc]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-9cffddcc]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-9cffddcc]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-9cffddcc]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-9cffddcc],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-9cffddcc]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-9cffddcc]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-9cffddcc]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-9cffddcc]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-9cffddcc]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-9cffddcc]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-9cffddcc]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-9cffddcc]{text-align:center}.setting_status p[data-v-9cffddcc]{margin:10px 0}.setting_status a[data-v-9cffddcc]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-9cffddcc]{margin-top:10px}@keyframes bganimation-9cffddcc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9cffddcc{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9cffddcc{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9cffddcc]{animation:rotateEnter-9cffddcc .7s;position:relative}.rotate-leave-active[data-v-9cffddcc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9cffddcc]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-9cffddcc]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-9cffddcc]{width:100%}}@keyframes bganimation-0384f3ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0384f3ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0384f3ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0384f3ac]{animation:rotateEnter-0384f3ac .7s;position:relative}.rotate-leave-active[data-v-0384f3ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0384f3ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-0384f3ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-0384f3ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-0384f3ac]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-0384f3ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-0384f3ac]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-0384f3ac]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-0384f3ac]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-0384f3ac]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-0384f3ac]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-0384f3ac]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-0384f3ac]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-0384f3ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0384f3ac]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0384f3ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-0384f3ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-0384f3ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-0384f3ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-0384f3ac]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-0384f3ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-0384f3ac]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-0384f3ac]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-0384f3ac]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-0384f3ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-0384f3ac]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-0384f3ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-0384f3ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-0384f3ac]{margin-top:114px}.timeout span[data-v-0384f3ac],.sandbox_roboot_refresh[data-v-0384f3ac]{color:#5e72e4}option[data-v-0384f3ac]:disabled{background-color:#e0e0e0}@keyframes bganimation-0384f3ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0384f3ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0384f3ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0384f3ac]{animation:rotateEnter-0384f3ac .7s;position:relative}.rotate-leave-active[data-v-0384f3ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0384f3ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-0384f3ac]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-0384f3ac]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-0384f3ac]{min-height:42vh}.actioner-tips[data-v-0384f3ac]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-0384f3ac]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-0384f3ac]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0384f3ac]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-0384f3ac]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-0384f3ac]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-0384f3ac]{padding:3px 10px}}@keyframes bganimation-4db2efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4db2efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4db2efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4db2efb4]{animation:rotateEnter-4db2efb4 .7s;position:relative}.rotate-leave-active[data-v-4db2efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4db2efb4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-4db2efb4]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-4db2efb4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-4db2efb4]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-4db2efb4]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-4db2efb4]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-4db2efb4]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-4db2efb4]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-4db2efb4]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-4db2efb4]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-4db2efb4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-4db2efb4]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-4db2efb4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-4db2efb4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-4db2efb4]{margin-top:114px}.timeout span[data-v-4db2efb4]{color:#5e72e4}@keyframes bganimation-4db2efb4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4db2efb4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-4db2efb4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-4db2efb4]{animation:rotateEnter-4db2efb4 .7s;position:relative}.rotate-leave-active[data-v-4db2efb4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4db2efb4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-4db2efb4]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-4db2efb4]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-4db2efb4]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-4db2efb4]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-4db2efb4]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-4db2efb4]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-4db2efb4]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-4db2efb4]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-4db2efb4]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-4db2efb4]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-4db2efb4],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-4db2efb4]{font-size:12px}.actioner-tips .sandbox_info[data-v-4db2efb4]{padding:3px 10px}}@keyframes bganimation-0d223b54{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d223b54{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d223b54{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d223b54]{animation:rotateEnter-0d223b54 .7s;position:relative}.rotate-leave-active[data-v-0d223b54]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d223b54]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-0d223b54]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-0d223b54]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button[data-v-0d223b54]{position:relative}.nav-container .app-update-button i[data-v-0d223b54]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .cover-buttob[data-v-0d223b54]{margin-left:0;margin-right:5px}.nav-container a[data-v-0d223b54]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-0d223b54]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-0d223b54]:before{content:"\276f "}.nav-container .MoreMenu[data-v-0d223b54]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-0d223b54]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-0d223b54]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-0d223b54]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-0d223b54]{visibility:hidden}.color1[data-v-0d223b54]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-0d223b54]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-0d223b54]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-0d223b54]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-0d223b54]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}@keyframes bganimation-d324f700{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d324f700{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d324f700{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d324f700]{animation:rotateEnter-d324f700 .7s;position:relative}.rotate-leave-active[data-v-d324f700]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d324f700]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-d324f700]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-d324f700] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:var(--app-container_title-color);font-size:1.5em}[data-v-d324f700] .more_icon{z-index:0}@keyframes bganimation-082ffcaf{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-082ffcaf{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-082ffcaf{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-082ffcaf]{animation:rotateEnter-082ffcaf .7s;position:relative}.rotate-leave-active[data-v-082ffcaf]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-082ffcaf]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-082ffcaf]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-082ffcaf]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-082ffcaf]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-082ffcaf]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-082ffcaf]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-082ffcaf]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-082ffcaf]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-082ffcaf]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-082ffcaf]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-082ffcaf]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-082ffcaf]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-082ffcaf]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-082ffcaf]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-082ffcaf]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-082ffcaf]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-082ffcaf]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-082ffcaf]{background-color:#439c07}@keyframes bganimation-082ffcaf{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-082ffcaf{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-082ffcaf{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-082ffcaf]{animation:rotateEnter-082ffcaf .7s;position:relative}.rotate-leave-active[data-v-082ffcaf]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-082ffcaf]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-16746f19{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16746f19{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16746f19{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16746f19]{animation:rotateEnter-16746f19 .7s;position:relative}.rotate-leave-active[data-v-16746f19]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16746f19]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-16746f19]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-16746f19]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-16746f19]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-16746f19]{margin:.5rem 0}#page .network-message li[data-v-16746f19]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-16746f19]{color:red}#page .network-message li a[data-v-16746f19]{color:#00f}#page form[data-v-16746f19]{display:block;width:100%;margin:3rem 0}#page form label[data-v-16746f19]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-16746f19]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-16746f19]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-16746f19]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-16746f19]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-16746f19]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-16746f19]{margin-left:10px;user-select:none}#page .msg[data-v-16746f19]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-16746f19]{width:100%;margin-top:3rem}#page .btns button[data-v-16746f19]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0d3a64fa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d3a64fa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d3a64fa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d3a64fa]{animation:rotateEnter-0d3a64fa .7s;position:relative}.rotate-leave-active[data-v-0d3a64fa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d3a64fa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-0d3a64fa]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-0d3a64fa]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-0d3a64fa]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-0d3a64fa]{margin:.5rem 0}#page .network-message li[data-v-0d3a64fa]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-0d3a64fa]{color:red}#page .network-message li a[data-v-0d3a64fa]{color:#00f}#page form[data-v-0d3a64fa]{display:block;width:100%;margin:3rem 0}#page form label[data-v-0d3a64fa]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-0d3a64fa]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-0d3a64fa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-0d3a64fa]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-0d3a64fa],#page form label select[data-v-0d3a64fa]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-0d3a64fa]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-0d3a64fa]{margin-left:10px;user-select:none}#page .msgs[data-v-0d3a64fa]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-0d3a64fa]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-0d3a64fa]{width:100%;margin-top:3rem}#page .btns button[data-v-0d3a64fa]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-f4dbbdaa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f4dbbdaa{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f4dbbdaa{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f4dbbdaa]{animation:rotateEnter-f4dbbdaa .7s;position:relative}.rotate-leave-active[data-v-f4dbbdaa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f4dbbdaa]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-f4dbbdaa]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-f4dbbdaa]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-f4dbbdaa]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-f4dbbdaa]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-f4dbbdaa]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-f4dbbdaa]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-f4dbbdaa]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-f4dbbdaa]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-f4dbbdaa]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-f4dbbdaa]{display:block;width:100%;margin:3rem 0}#page form label[data-v-f4dbbdaa]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-f4dbbdaa]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-f4dbbdaa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-f4dbbdaa]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-f4dbbdaa],#page form label select[data-v-f4dbbdaa]{width:100%;display:block;height:42px}.switch_inline[data-v-f4dbbdaa]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-f4dbbdaa]{margin-left:10px;user-select:none}@keyframes bganimation-7fc91c6d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7fc91c6d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7fc91c6d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7fc91c6d]{animation:rotateEnter-7fc91c6d .7s;position:relative}.rotate-leave-active[data-v-7fc91c6d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7fc91c6d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-7fc91c6d]{line-height:22px;font-size:14px}.label-item[data-v-7fc91c6d]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7fc91c6d]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7fc91c6d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7fc91c6d]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7fc91c6d]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7fc91c6d],.label-item .label-item_value input[data-v-7fc91c6d]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7fc91c6d]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7fc91c6d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-7fc91c6d]{top:0}.label-item .label-item_tips[data-v-7fc91c6d]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7fc91c6d]{vertical-align:top}span.msg-warning[data-v-7fc91c6d]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7fc91c6d]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7fc91c6d]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-7fc91c6d]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7fc91c6d]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-7fc91c6d]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7fc91c6d]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7fc91c6d]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7fc91c6d]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7fc91c6d]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-7fc91c6d]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7fc91c6d]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7fc91c6d]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7fc91c6d]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7fc91c6d]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7fc91c6d]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-51f9d7a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-51f9d7a2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-51f9d7a2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-51f9d7a2]{animation:rotateEnter-51f9d7a2 .7s;position:relative}.rotate-leave-active[data-v-51f9d7a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-51f9d7a2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-51f9d7a2]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-c07c8244{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c07c8244{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c07c8244{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c07c8244]{animation:rotateEnter-c07c8244 .7s;position:relative}.rotate-leave-active[data-v-c07c8244]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c07c8244]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-c07c8244]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-c07c8244]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-c07c8244]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-c07c8244]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-c07c8244]{width:100%}.label-item .label-item_value select[data-v-c07c8244]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-c07c8244]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-c07c8244]{top:0;margin:0}.label-item .label-item_tips[data-v-c07c8244]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-c07c8244]{vertical-align:top}span.msg-warning[data-v-c07c8244]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-13dc2cd6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-13dc2cd6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-13dc2cd6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-13dc2cd6]{animation:rotateEnter-13dc2cd6 .7s;position:relative}.rotate-leave-active[data-v-13dc2cd6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-13dc2cd6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-13dc2cd6]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-13dc2cd6]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-13dc2cd6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-13dc2cd6]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-13dc2cd6]{width:100%}.label-item .label-item_value select[data-v-13dc2cd6]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-13dc2cd6]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-13dc2cd6]{top:0;margin:0}.label-item .label-item_tips[data-v-13dc2cd6]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-13dc2cd6]{vertical-align:top}span.msg-warning[data-v-13dc2cd6]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-5643983d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5643983d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5643983d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5643983d]{animation:rotateEnter-5643983d .7s;position:relative}.rotate-leave-active[data-v-5643983d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5643983d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-5643983d]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-5643983d]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-5643983d]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-5643983d]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-5643983d]{width:100%}.label-item .label-item_value select[data-v-5643983d]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-5643983d]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-5643983d]{top:0;margin:0}.label-item .label-item_tips[data-v-5643983d]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-5643983d]{vertical-align:top}span.msg-warning[data-v-5643983d]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6ef94d02]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6ef94d02] .actioner-container{width:100%}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-535a673b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-535a673b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-535a673b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-535a673b]{animation:rotateEnter-535a673b .7s;position:relative}.rotate-leave-active[data-v-535a673b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-535a673b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-535a673b]{margin-bottom:32px}.item-status[data-v-535a673b]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-535a673b]{text-decoration:underline;cursor:help}@keyframes bganimation-2bc40d1c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2bc40d1c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2bc40d1c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2bc40d1c]{animation:rotateEnter-2bc40d1c .7s;position:relative}.rotate-leave-active[data-v-2bc40d1c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2bc40d1c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-2bc40d1c]{margin-bottom:1rem}#page[data-v-2bc40d1c] .cbi-section{padding:1rem}#page[data-v-2bc40d1c] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-742230ae]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-742230ae] .actioner-container{width:100%}.action-main[data-v-742230ae] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-742230ae] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-742230ae] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-3f7c551e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f7c551e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f7c551e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f7c551e]{animation:rotateEnter-3f7c551e .7s;position:relative}.rotate-leave-active[data-v-3f7c551e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f7c551e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-3f7c551e]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-7d3ebf99{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7d3ebf99{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7d3ebf99{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7d3ebf99]{animation:rotateEnter-7d3ebf99 .7s;position:relative}.rotate-leave-active[data-v-7d3ebf99]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7d3ebf99]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-7d3ebf99]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-76197cba{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76197cba{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76197cba{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76197cba]{animation:rotateEnter-76197cba .7s;position:relative}.rotate-leave-active[data-v-76197cba]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76197cba]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-76197cba]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}.actioner-dns[data-v-2f7b866f]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2f7b866f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-2f7b866f]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-2f7b866f]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2f7b866f]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2f7b866f]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2f7b866f]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2f7b866f]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2f7b866f],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2f7b866f]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2f7b866f]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-2f7b866f]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2f7b866f]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2f7b866f]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-2f7b866f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2f7b866f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2f7b866f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2f7b866f]{animation:rotateEnter-2f7b866f .7s;position:relative}.rotate-leave-active[data-v-2f7b866f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2f7b866f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-2f7b866f]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-2f7b866f]{width:100%}}@keyframes bganimation-589588f0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-589588f0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-589588f0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-589588f0]{animation:rotateEnter-589588f0 .7s;position:relative}.rotate-leave-active[data-v-589588f0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-589588f0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-589588f0]{width:48px;height:100%;cursor:pointer}.interface-device-flex[data-v-589588f0]{display:flex;justify-content:center}.interface-device-flex .app-container_status-label_bg[data-v-589588f0]{width:0;min-width:130px;max-width:230px;overflow-y:hidden;flex:1 0 160px}.cbi-section-table-row .td.btns[data-v-589588f0]{text-align:left!important} +@keyframes bganimation-0698ba82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0698ba82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0698ba82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0698ba82]{animation:rotateEnter-0698ba82 .7s;position:relative}.rotate-leave-active[data-v-0698ba82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0698ba82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-0698ba82]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-0698ba82]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-9bc295c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9bc295c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9bc295c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9bc295c2]{animation:rotateEnter-9bc295c2 .7s;position:relative}.rotate-leave-active[data-v-9bc295c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9bc295c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-9bc295c2]{width:100%}#main[data-v-9bc295c2],#main[data-v-9bc295c2] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}@keyframes bganimation-733828e1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-733828e1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-733828e1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-733828e1]{animation:rotateEnter-733828e1 .7s;position:relative}.rotate-leave-active[data-v-733828e1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-733828e1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-733828e1]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-733828e1]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-2c8b6a70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2c8b6a70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2c8b6a70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2c8b6a70]{animation:rotateEnter-2c8b6a70 .7s;position:relative}.rotate-leave-active[data-v-2c8b6a70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2c8b6a70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-2c8b6a70]{cursor:pointer;display:flex!important;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-2c8b6a70]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-2c8b6a70],label.checkbox_switch .checkbox_switch_off[data-v-2c8b6a70]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-2c8b6a70]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-2c8b6a70]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-2c8b6a70]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-2c8b6a70]{display:none!important}label.checkbox_switch svg[data-v-2c8b6a70]{height:1em;width:2em}article[data-v-bd286d4e]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-bd286d4e]{max-width:33.333%}}@keyframes bganimation-bd286d4e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bd286d4e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bd286d4e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bd286d4e]{animation:rotateEnter-bd286d4e .7s;position:relative}.rotate-leave-active[data-v-bd286d4e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bd286d4e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-bd286d4e]{max-width:50%}}@keyframes bganimation-123deb20{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-123deb20{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-123deb20{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-123deb20]{animation:rotateEnter-123deb20 .7s;position:relative}.rotate-leave-active[data-v-123deb20]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-123deb20]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-123deb20]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-123deb20]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-123deb20]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-123deb20]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-123deb20] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-123deb20] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-123deb20] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-123deb20]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-123deb20]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-123deb20]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-123deb20]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-123deb20]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-123deb20]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-123deb20]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-123deb20]{background-color:#439c07}@keyframes bganimation-0b6f3a7d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b6f3a7d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b6f3a7d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b6f3a7d]{animation:rotateEnter-0b6f3a7d .7s;position:relative}.rotate-leave-active[data-v-0b6f3a7d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b6f3a7d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-0b6f3a7d]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-0b6f3a7d],.select-editable input[data-v-0b6f3a7d]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-0b6f3a7d]{position:relative;width:100%}.select-editable input[data-v-0b6f3a7d]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-0b6f3a7d]:focus,.select-editable input[data-v-0b6f3a7d]:focus{outline:none;box-shadow:none}@keyframes bganimation-0ec4e762{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ec4e762{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ec4e762{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ec4e762]{animation:rotateEnter-0ec4e762 .7s;position:relative}.rotate-leave-active[data-v-0ec4e762]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ec4e762]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0ec4e762{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-0ec4e762]{animation:turn-0ec4e762 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-0ec4e762]{width:100%;height:100%}.quick-loading svg path[data-v-0ec4e762]{fill:#fff}@keyframes bganimation-b934e2ce{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b934e2ce{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b934e2ce{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b934e2ce]{animation:rotateEnter-b934e2ce .7s;position:relative}.rotate-leave-active[data-v-b934e2ce]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b934e2ce]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-b934e2ce]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-b934e2ce]{width:22px;height:22px}a:hover svg path[data-v-b934e2ce]{fill:#3688ff}@keyframes bganimation-641bc7f8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-641bc7f8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-641bc7f8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-641bc7f8]{animation:rotateEnter-641bc7f8 .7s;position:relative}.rotate-leave-active[data-v-641bc7f8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-641bc7f8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-641bc7f8]{position:relative;height:460px}.flow .echart[data-v-641bc7f8]{width:100%;height:100%}.flow .flow-data[data-v-641bc7f8]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-641bc7f8]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-641bc7f8]{height:76.6vw}}@keyframes bganimation-6935a479{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6935a479{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6935a479{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6935a479]{animation:rotateEnter-6935a479 .7s;position:relative}.rotate-leave-active[data-v-6935a479]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6935a479]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-6935a479{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-6935a479]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-6935a479]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-6935a479]{width:100%;height:100%}.toast div.icon svg path[data-v-6935a479]{fill:#fff}.toast .loading[data-v-6935a479]{animation:turn-6935a479 1s steps(12,end) infinite}.toast .message[data-v-6935a479]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-75eeccd3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-75eeccd3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-75eeccd3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-75eeccd3]{animation:rotateEnter-75eeccd3 .7s;position:relative}.rotate-leave-active[data-v-75eeccd3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-75eeccd3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-75eeccd3]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-75eeccd3]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-75eeccd3],#actioner[data-v-75eeccd3] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-75eeccd3]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-75eeccd3]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-75eeccd3]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-75eeccd3]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-75eeccd3]:hover{opacity:.9}.action-container .action-container_body[data-v-75eeccd3]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}.actioner-dns[data-v-5cff2770]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-5cff2770]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-5cff2770]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-5cff2770]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-5cff2770]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-5cff2770],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-5cff2770]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-5cff2770]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-5cff2770]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-5cff2770]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5cff2770{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5cff2770{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5cff2770{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5cff2770]{animation:rotateEnter-5cff2770 .7s;position:relative}.rotate-leave-active[data-v-5cff2770]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5cff2770]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-5cff2770]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-5cff2770]{width:100%}}.action[data-v-7f0d8217]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-7f0d8217]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-7f0d8217]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-7f0d8217]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-7f0d8217]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-7f0d8217]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-7f0d8217{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7f0d8217{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7f0d8217{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7f0d8217]{animation:rotateEnter-7f0d8217 .7s;position:relative}.rotate-leave-active[data-v-7f0d8217]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7f0d8217]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@keyframes bganimation-02f10ac5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-02f10ac5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-02f10ac5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-02f10ac5]{animation:rotateEnter-02f10ac5 .7s;position:relative}.rotate-leave-active[data-v-02f10ac5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-02f10ac5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-02f10ac5]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-02f10ac5]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-02f10ac5]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-02f10ac5]{font-weight:700;font-size:14px}@keyframes bganimation-3470ca08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3470ca08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3470ca08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3470ca08]{animation:rotateEnter-3470ca08 .7s;position:relative}.rotate-leave-active[data-v-3470ca08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3470ca08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-3470ca08]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-3470ca08]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-3470ca08]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-3470ca08]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-3470ca08]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-3470ca08]:hover{opacity:1;transition:.3s}.actioner-dns[data-v-3f8f9931]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-3f8f9931]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-3f8f9931]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3f8f9931]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-3f8f9931]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-3f8f9931],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-3f8f9931]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-3f8f9931]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-3f8f9931]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3f8f9931]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-3f8f9931]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-3f8f9931]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-3f8f9931]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-3f8f9931]:focus,.actioner-dns .select-editable input[data-v-3f8f9931]:focus{outline:none}.actioner-dns[data-v-3f8f9931] ::placeholder{color:#999}.successed[data-v-3f8f9931]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-3f8f9931]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-3f8f9931]{text-align:center}.docker_moves .moves[data-v-3f8f9931]{margin-top:10px}.docker_moves .moves input[data-v-3f8f9931]{cursor:pointer}.docker_moves .moves label[data-v-3f8f9931]{margin-left:10px;cursor:pointer}.btns[data-v-3f8f9931]{text-align:center}.item_info[data-v-3f8f9931]{margin-left:10px}.softsource_tit[data-v-3f8f9931]{margin:0 auto}.softsource_successed[data-v-3f8f9931]{width:20%!important}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-3f8f9931]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-3f8f9931]{width:100%}}@keyframes bganimation-08006dd5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-08006dd5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-08006dd5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-08006dd5]{animation:rotateEnter-08006dd5 .7s;position:relative}.rotate-leave-active[data-v-08006dd5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-08006dd5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-08006dd5]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-08006dd5]{width:100%;background-color:var(--card-bg-color);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-08006dd5]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-08006dd5]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-08006dd5]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-08006dd5]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-08006dd5]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-08006dd5]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-08006dd5]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-08006dd5]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-08006dd5]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-08006dd5]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-08006dd5]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-08006dd5]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-08006dd5]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-08006dd5]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-08006dd5]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-08006dd5]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-08006dd5]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-08006dd5]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-08006dd5]{display:block;color:var(--app-container_status-label_block);margin:10px 0 8px}.app-container_status-container_body[data-v-08006dd5]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-08006dd5]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-08006dd5]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-08006dd5]{width:50px;height:50px}.app-container_status-container_body span[data-v-08006dd5]{width:100%;margin:5px 0}.menu_background[data-v-08006dd5]{position:fixed;inset:0}.app-container_body[data-v-08006dd5]{width:100%}.network-container[data-v-569bbceb]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-569bbceb]{border-radius:6px;overflow:hidden;position:relative;background-color:var(--flow-bg-color);box-shadow:var(--card-box-shadow)}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-569bbceb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-569bbceb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-569bbceb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-569bbceb]{animation:rotateEnter-569bbceb .7s;position:relative}.rotate-leave-active[data-v-569bbceb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-569bbceb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-569bbceb]{width:100%}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-d72e7026]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-d72e7026]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-d72e7026]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-d72e7026]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-d72e7026]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-d72e7026]{flex:auto}.action.format .disk-list[data-v-d72e7026]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-d72e7026]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-d72e7026]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-d72e7026]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-d72e7026]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-d72e7026]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-d72e7026],.action.format .label-item .label-item_value input[data-v-d72e7026]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-d72e7026]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-d72e7026]{flex:auto}.action.format p.msg[data-v-d72e7026]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-d72e7026]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-d72e7026]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-d72e7026]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-d72e7026]{margin:1rem 0;font-size:1.5em;color:#333}.action.result[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-d72e7026]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-d72e7026]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-d72e7026]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-d72e7026]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-d72e7026]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-d72e7026]{color:#0000fb}.action.result .btns[data-v-d72e7026]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-d72e7026]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-d72e7026]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-d72e7026]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-d72e7026]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-d72e7026]{width:100%}}.action .action-footer button[data-v-b5895698]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b5895698]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b5895698]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b5895698]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b5895698]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b5895698]{flex:auto}.action.format .disk-list[data-v-b5895698]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b5895698]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b5895698]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b5895698]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b5895698]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b5895698]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b5895698],.action.format .label-item .label-item_value input[data-v-b5895698]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-b5895698]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-b5895698]{flex:auto}.action.format p.msg[data-v-b5895698]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b5895698]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b5895698]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b5895698]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b5895698]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-b5895698]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-b5895698]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-b5895698]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-b5895698]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-b5895698]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-b5895698]{color:#0000fb}.action.result .btns[data-v-b5895698]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-10dd00b8]{color:red}.disk-content[data-v-10dd00b8]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-10dd00b8]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-10dd00b8]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-10dd00b8]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-10dd00b8]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-10dd00b8]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-10dd00b8]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-10dd00b8]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-10dd00b8]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-10dd00b8]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-10dd00b8]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-10dd00b8]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-10dd00b8]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-10dd00b8]{display:flex;align-items:center}.disk_infoicon[data-v-10dd00b8]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-10dd00b8]{flex:none}.tooltip-trigger[data-v-10dd00b8]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-10dd00b8]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-10dd00b8]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-10dd00b8]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-10dd00b8]{visibility:visible;opacity:1}.tooltip-top[data-v-10dd00b8]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-10dd00b8]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-10dd00b8]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-10dd00b8]{display:block}.disk-content .disk_status[data-v-10dd00b8]{flex-wrap:wrap}}.action[data-v-127a3100]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-127a3100]{overflow:auto}.action ul .app-container_info[data-v-127a3100]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-127a3100]{width:100%;height:100%}.action .action-footer[data-v-127a3100]{text-align:center;margin-top:46px}.action .action-footer button[data-v-127a3100]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-127a3100]{width:160%}}@media screen and (max-width: 800px){.action[data-v-127a3100]{width:138%}}@media screen and (max-width: 700px){.action[data-v-127a3100]{width:132%}}@media screen and (max-width: 600px){.action[data-v-127a3100]{width:116%}}@media screen and (max-width: 500px){.action[data-v-127a3100]{width:100%}}@media screen and (max-width: 400px){.action[data-v-127a3100]{width:90%}}@media screen and (max-width: 300px){.action[data-v-127a3100]{width:100%}}@keyframes bganimation-0b8d992f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b8d992f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b8d992f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b8d992f]{animation:rotateEnter-0b8d992f .7s;position:relative}.rotate-leave-active[data-v-0b8d992f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b8d992f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-0b8d992f]{color:red}li.disk-item[data-v-0b8d992f]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-0b8d992f]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-0b8d992f]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-0b8d992f]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-0b8d992f]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-0b8d992f]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-0b8d992f]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-0b8d992f]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-0b8d992f]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-0b8d992f]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-0b8d992f]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-0b8d992f]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-0b8d992f]{flex:none;cursor:help}.tooltip-trigger[data-v-0b8d992f]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-0b8d992f]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-0b8d992f]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-0b8d992f]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-0b8d992f]{visibility:visible;opacity:1}.tooltip-top[data-v-0b8d992f]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-0b8d992f]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-0b8d992f]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-5f7dc1ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f7dc1ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f7dc1ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f7dc1ac]{animation:rotateEnter-5f7dc1ac .7s;position:relative}.rotate-leave-active[data-v-5f7dc1ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f7dc1ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-5f7dc1ac]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-5f7dc1ac]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-5f7dc1ac]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-5f7dc1ac]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-5f7dc1ac] svg path{fill:var(--item_btn-color)}.app-container ul .app-container_title .DeviceBlock[data-v-5f7dc1ac]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-5f7dc1ac]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-5f7dc1ac]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-5f7dc1ac]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-5f7dc1ac]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-5f7dc1ac]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-5f7dc1ac]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-5f7dc1ac]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:1var --item_btn-border;border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-5f7dc1ac] svg path{fill:var(--item_btn-color)}.app-container ul .disk_loading_icon[data-v-5f7dc1ac]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-5f7dc1ac]{margin-top:5px}.refresh[data-v-5f7dc1ac]{margin-left:20px}.app-container_info[data-v-5f7dc1ac]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-5f7dc1ac]{width:100%;height:100%}.menu_background[data-v-5f7dc1ac]{position:fixed;inset:0}@keyframes bganimation-ba3ddae2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba3ddae2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ba3ddae2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ba3ddae2]{animation:rotateEnter-ba3ddae2 .7s;position:relative}.rotate-leave-active[data-v-ba3ddae2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba3ddae2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-ba3ddae2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-ba3ddae2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-ba3ddae2]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-ba3ddae2]:hover{opacity:.7}.tit[data-v-ba3ddae2]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-2bc5f580{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2bc5f580{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2bc5f580{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2bc5f580]{animation:rotateEnter-2bc5f580 .7s;position:relative}.rotate-leave-active[data-v-2bc5f580]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2bc5f580]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-2bc5f580]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-2bc5f580]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-2bc5f580]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-7732abe2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7732abe2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7732abe2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7732abe2]{animation:rotateEnter-7732abe2 .7s;position:relative}.rotate-leave-active[data-v-7732abe2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7732abe2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-7732abe2]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-7732abe2]{flex:auto}ul.disk-item .disk-item_icon[data-v-7732abe2]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-7732abe2]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-7732abe2]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-7732abe2]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-7732abe2]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-7732abe2],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-7732abe2]{width:100%}ul.disk-item li.disk-info.on[data-v-7732abe2]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-7732abe2]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-7732abe2]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-7732abe2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-7732abe2]{border-left:3px solid #ff9c08;background-color:#ecf5ff}.action .action-footer button[data-v-0d1b6ac8]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-0d1b6ac8]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.list .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.format .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-0d1b6ac8]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-0d1b6ac8]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-0d1b6ac8]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-0d1b6ac8],.action.format .label-item .label-item_value input[data-v-0d1b6ac8]{width:100%;height:36px}.action.format .auto[data-v-0d1b6ac8]{flex:auto}.action.format p.msg[data-v-0d1b6ac8]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-0d1b6ac8]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-0d1b6ac8]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-0d1b6ac8]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-0d1b6ac8]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-0d1b6ac8]{color:#f70324}.action.result .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-0d1b6ac8]{flex:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-0d1b6ac8]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-0d1b6ac8]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-0d1b6ac8]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-0d1b6ac8]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-0d1b6ac8]{width:80%}}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-5f6e53be]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-5f6e53be]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-5f6e53be]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-5f6e53be]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-5f6e53be]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-5f6e53be]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@keyframes bganimation-2eafa10c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2eafa10c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2eafa10c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2eafa10c]{animation:rotateEnter-2eafa10c .7s;position:relative}.rotate-leave-active[data-v-2eafa10c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2eafa10c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2eafa10c]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2eafa10c]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2eafa10c]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2eafa10c]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2eafa10c]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2eafa10c]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2eafa10c]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2eafa10c],.action .action-body .label-item .label-item_value input[data-v-2eafa10c]{width:100%;height:36px}.action .action-footer[data-v-2eafa10c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2eafa10c]{flex:auto}.action .action-footer button[data-v-2eafa10c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-58844394{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58844394{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58844394{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58844394]{animation:rotateEnter-58844394 .7s;position:relative}.rotate-leave-active[data-v-58844394]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58844394]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-58844394]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-58844394]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-58844394]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-58844394]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-58844394]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-58844394]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-58844394]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-58844394]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-58844394]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-58844394],.action .action-body .label-item .label-item_value input[data-v-58844394]{width:100%;height:36px}.action .action-body .samba-item[data-v-58844394]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-58844394]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-58844394]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-58844394]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-58844394]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-58844394]{margin-left:10px}.action .action-footer[data-v-58844394]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-58844394]{flex:auto}.action .action-footer button[data-v-58844394]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-1d64dea6]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-1d64dea6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-1d64dea6]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-1d64dea6]{width:100%;display:block;padding:2rem 0}.action form label[data-v-1d64dea6]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-1d64dea6],.action form label select[data-v-1d64dea6]{width:100%;display:block;height:42px}.action .btns[data-v-1d64dea6]{width:100%;margin-top:3rem}.action .btns button[data-v-1d64dea6]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-1d64dea6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-1d64dea6]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-1d64dea6]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-1d64dea6],.action li.disk-item .disk-item_f .disk-item_used[data-v-1d64dea6]{width:100%}.action .tips[data-v-1d64dea6]{float:right;font-size:.8em}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-1d64dea6]{font-size:2em}}@keyframes bganimation-55d1fac2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-55d1fac2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-55d1fac2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-55d1fac2]{animation:rotateEnter-55d1fac2 .7s;position:relative}.rotate-leave-active[data-v-55d1fac2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-55d1fac2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-55d1fac2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-55d1fac2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-55d1fac2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-55d1fac2]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-55d1fac2]{cursor:pointer}a[data-v-55d1fac2]{text-decoration:none;color:#297ff3}@keyframes bganimation-1e1fa308{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e1fa308{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e1fa308{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e1fa308]{animation:rotateEnter-1e1fa308 .7s;position:relative}.rotate-leave-active[data-v-1e1fa308]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e1fa308]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1e1fa308]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-1e1fa308]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1e1fa308]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1e1fa308]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e1fa308]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e1fa308] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1e1fa308]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1e1fa308]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1e1fa308]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1e1fa308]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1e1fa308]:hover{background-color:#eee}.app-container .app-container_title button[data-v-1e1fa308]{margin-left:10px}.app-container .app-container_body[data-v-1e1fa308]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-1e1fa308]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-1e1fa308]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-1e1fa308],.app-container ul.app-container_nas-menu button[data-v-1e1fa308]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-1e1fa308]{position:fixed;inset:0}@keyframes bganimation-3b1e9470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b1e9470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b1e9470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b1e9470]{animation:rotateEnter-3b1e9470 .7s;position:relative}.rotate-leave-active[data-v-3b1e9470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b1e9470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-3b1e9470]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-3b1e9470]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-3b1e9470]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-3b1e9470]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-3b1e9470]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-3b1e9470]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-3b1e9470]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-3b1e9470]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-3b1e9470]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-3b1e9470]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-3b1e9470]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3b1e9470]{visibility:visible;opacity:1}.tooltip-top[data-v-3b1e9470]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-3b1e9470]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-3b1e9470]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-3b1e9470]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-3b1e9470]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-3b1e9470]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-3b1e9470]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-3b1e9470]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-3b1e9470]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-3b1e9470]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-3b1e9470]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-3b1e9470]{transform:translate(0);transition:.3s}@keyframes bganimation-919e529c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-919e529c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-919e529c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-919e529c]{animation:rotateEnter-919e529c .7s;position:relative}.rotate-leave-active[data-v-919e529c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-919e529c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-919e529c]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-919e529c]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-919e529c]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-919e529c]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-919e529c]{display:flex;justify-content:left;align-items:center}.action .change[data-v-919e529c]{width:678px}.action .desc[data-v-919e529c]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-919e529c]{width:100%;display:block}.action .tips[data-v-919e529c]{width:477px}.action .tips .tip[data-v-919e529c]{color:#faad14;padding-left:6px}.action .btns[data-v-919e529c]{width:100%;margin:104px auto 0}.action .btns button[data-v-919e529c]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-919e529c]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-919e529c]{text-align:center;font-size:14px}.action .finished[data-v-919e529c]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-919e529c]{text-align:center}.action .docker_moves .moves[data-v-919e529c]{margin-top:10px}.action .docker_moves .moves input[data-v-919e529c]{cursor:pointer}.action .docker_moves .moves label[data-v-919e529c]{margin-left:10px;cursor:pointer}.select-editable[data-v-919e529c]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-919e529c]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-919e529c]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-919e529c]:focus,.select-editable input[data-v-919e529c]:focus{outline:none}[data-v-919e529c]::placeholder{color:#999}@keyframes bganimation-919e529c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-919e529c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-919e529c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-919e529c]{animation:rotateEnter-919e529c .7s;position:relative}.rotate-leave-active[data-v-919e529c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-919e529c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-919e529c]{width:100%}.docker_download[data-v-919e529c]{width:80%}}@keyframes bganimation-fcb97952{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-fcb97952{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-fcb97952{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-fcb97952]{animation:rotateEnter-fcb97952 .7s;position:relative}.rotate-leave-active[data-v-fcb97952]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-fcb97952]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-fcb97952]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-fcb97952]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-fcb97952]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-fcb97952]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-fcb97952]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-fcb97952] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-fcb97952]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-fcb97952]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-fcb97952]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-fcb97952]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-fcb97952]:hover{background-color:#eee}.app-container button[data-v-fcb97952],.app-container .refresh[data-v-fcb97952]{margin-left:20px}.app-container .app-container_body[data-v-fcb97952]{width:100%;height:100%}.app-container .loading_placeholder[data-v-fcb97952]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-fcb97952]{position:fixed;inset:0}@keyframes bganimation-40652d1d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40652d1d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40652d1d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40652d1d]{animation:rotateEnter-40652d1d .7s;position:relative}.rotate-leave-active[data-v-40652d1d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40652d1d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-40652d1d]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-40652d1d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-40652d1d]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-40652d1d]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-40652d1d]{color:#888}.use-url_app[data-v-40652d1d]{padding-bottom:14px}.use-url_app a[data-v-40652d1d]{text-decoration:none;color:#297ff3}@keyframes bganimation-96972a5a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-96972a5a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-96972a5a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-96972a5a]{animation:rotateEnter-96972a5a .7s;position:relative}.rotate-leave-active[data-v-96972a5a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-96972a5a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-96972a5a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-96972a5a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-96972a5a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-96972a5a]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-96972a5a]{color:#888}a[data-v-96972a5a]{text-decoration:none;color:#297ff3}@keyframes bganimation-05c8d77a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05c8d77a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05c8d77a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05c8d77a]{animation:rotateEnter-05c8d77a .7s;position:relative}.rotate-leave-active[data-v-05c8d77a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05c8d77a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-05c8d77a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-05c8d77a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-05c8d77a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-05c8d77a]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-05c8d77a]{color:#888}a[data-v-05c8d77a]{text-decoration:none;color:#297ff3}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-7b328460]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-7b328460]{color:#999;font-size:14px}.action input[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-7b328460]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-7b328460]{width:100%}.action form label input[data-v-7b328460],.action form label select[data-v-7b328460]{height:100%;font-size:14px}.action .myinput_wrap[data-v-7b328460],.action .RPC_input[data-v-7b328460]{width:85%}.action .myinput_wrap textarea[data-v-7b328460]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-7b328460]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-7b328460]{margin-right:10px}.action .input_row .radios input[data-v-7b328460],.action .input_row .radios label[data-v-7b328460]{cursor:pointer}.action .Tracker label[data-v-7b328460]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-7b328460]{padding:6px 2px}.action .btns[data-v-7b328460]{width:100%;margin:42px auto 0}.action .btns button[data-v-7b328460]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-7b328460]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-7b328460]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-7b328460]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-7b328460]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-7b328460]{visibility:visible;opacity:1}.action .tooltip-top[data-v-7b328460]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-7b328460]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-7b328460]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-7b328460]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-7b328460]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-7b328460]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-7b328460]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-7b328460]{text-align:center;font-size:14px}.action .finished[data-v-7b328460]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-7b328460]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-7b328460]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-7b328460]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-7b328460]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-7b328460]:focus,.select-editable input[data-v-7b328460]:focus{outline:none}[data-v-7b328460]::placeholder{color:#999}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-7b328460]{width:100%}.action .input_row[data-v-7b328460]{display:block}.action .input_row .myinput_wrap[data-v-7b328460],.action .input_row .RPC_input[data-v-7b328460]{width:100%}}@keyframes bganimation-602f6713{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-602f6713{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-602f6713{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-602f6713]{animation:rotateEnter-602f6713 .7s;position:relative}.rotate-leave-active[data-v-602f6713]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-602f6713]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-602f6713]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-602f6713]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-602f6713]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-602f6713]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-602f6713]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-602f6713] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-602f6713]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-602f6713]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-602f6713]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-602f6713]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-602f6713]:hover{background-color:#eee}.app-container .app-container_title button[data-v-602f6713]{margin-left:10px}.app-container .app-container_body[data-v-602f6713]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-602f6713]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-602f6713]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-602f6713],.app-container ul.app-container_nas-menu button[data-v-602f6713]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-602f6713]{position:fixed;inset:0}@keyframes bganimation-46dd945e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-46dd945e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-46dd945e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-46dd945e]{animation:rotateEnter-46dd945e .7s;position:relative}.rotate-leave-active[data-v-46dd945e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-46dd945e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-46dd945e]{text-align:center;margin-bottom:20px}.label-item[data-v-46dd945e]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-46dd945e]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-46dd945e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-46dd945e]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-8a3b670c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8a3b670c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-8a3b670c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-8a3b670c]{animation:rotateEnter-8a3b670c .7s;position:relative}.rotate-leave-active[data-v-8a3b670c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8a3b670c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-8a3b670c]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-8a3b670c]{width:100px;height:100px}.actioner-container_body .body-title[data-v-8a3b670c]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-8a3b670c]{text-align:center}.actioner-container_body .body-info[data-v-8a3b670c]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-8a3b670c]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-8a3b670c]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-8a3b670c]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-064efd50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-064efd50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-064efd50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-064efd50]{animation:rotateEnter-064efd50 .7s;position:relative}.rotate-leave-active[data-v-064efd50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-064efd50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-064efd50]{width:100%;height:100%;border:none}@keyframes bganimation-49c43a08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-49c43a08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-49c43a08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-49c43a08]{animation:rotateEnter-49c43a08 .7s;position:relative}.rotate-leave-active[data-v-49c43a08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-49c43a08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-49c43a08]{width:100%;height:100%;border:none}@keyframes bganimation-2904f676{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2904f676{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2904f676{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2904f676]{animation:rotateEnter-2904f676 .7s;position:relative}.rotate-leave-active[data-v-2904f676]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2904f676]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-2904f676]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-2904f676]{width:100px;height:100px}.actioner-container_body .body-title[data-v-2904f676]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-2904f676]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-2904f676]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-2904f676]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-2904f676]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-210c03e8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-210c03e8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-210c03e8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-210c03e8]{animation:rotateEnter-210c03e8 .7s;position:relative}.rotate-leave-active[data-v-210c03e8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-210c03e8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-210c03e8]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1b21487b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1b21487b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1b21487b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1b21487b]{animation:rotateEnter-1b21487b .7s;position:relative}.rotate-leave-active[data-v-1b21487b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1b21487b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1b21487b]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-7a6bd385]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-7a6bd385] .actioner-container{width:100%}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-05611967{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05611967{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05611967{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05611967]{animation:rotateEnter-05611967 .7s;position:relative}.rotate-leave-active[data-v-05611967]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05611967]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-05611967]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-05611967]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-05611967]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-05611967]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-05611967]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-05611967]:hover{opacity:.8}.action .clear[data-v-05611967]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-05611967]:hover{opacity:.8}@keyframes bganimation-6e29e960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6e29e960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6e29e960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6e29e960]{animation:rotateEnter-6e29e960 .7s;position:relative}.rotate-leave-active[data-v-6e29e960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6e29e960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-6e29e960]{display:block;width:100%;text-align:center}.title_info p[data-v-6e29e960]{font-size:20px;margin-bottom:10px}.label-item[data-v-6e29e960]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-6e29e960]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-6e29e960]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-6e29e960]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-6e29e960]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-6e29e960],.label-item .label-item_value input[data-v-6e29e960]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-6e29e960]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-6e29e960]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-6e29e960]{margin-left:8px}.label-message[data-v-6e29e960]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6f1d92d9]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6f1d92d9] .actioner-container{width:100%}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.ali,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-1532b758{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1532b758{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1532b758{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1532b758]{animation:rotateEnter-1532b758 .7s;position:relative}.rotate-leave-active[data-v-1532b758]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1532b758]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1532b758]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-1532b758]{text-decoration:none}.app-container .app-container_title[data-v-1532b758]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1532b758]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1532b758]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1532b758]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1532b758] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1532b758]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1532b758]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1532b758]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1532b758]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1532b758]:hover{background-color:#eee}.app-container button[data-v-1532b758],.app-container .refresh[data-v-1532b758]{margin-left:20px}.app-container .app-container_body[data-v-1532b758]{width:100%;height:100%}.menu_background[data-v-1532b758]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-1532b758]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-1532b758]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-1532b758]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-1532b758]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-1532b758]{border:var(--item_btn-border);border-radius:4px;font-size:12px;padding:7px;color:var(--item_btn-color);text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-1532b758]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-1532b758]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-1532b758]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-1532b758]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-1532b758]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-1532b758]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-1532b758]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-1532b758]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-1532b758]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-1532b758]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-1532b758]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-1532b758]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-1532b758]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-66cc4e33]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-b8dfe98c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8dfe98c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8dfe98c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8dfe98c]{animation:rotateEnter-b8dfe98c .7s;position:relative}.rotate-leave-active[data-v-b8dfe98c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8dfe98c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-b8dfe98c]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-b8dfe98c]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-b8dfe98c]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-b8dfe98c]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-b8dfe98c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-b8dfe98c]:hover{background-color:#eee}.item-label[data-v-b8dfe98c]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-b8dfe98c]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-b8dfe98c]{font-size:14px;color:var(--item-label_key-span-color)}.item-label .item-label_value[data-v-b8dfe98c]{flex:1;text-align:left}.item-label .item-label_value span[data-v-b8dfe98c]{font-size:14px;color:var(--item-label_value-span-color)}.item-title span[data-v-b8dfe98c]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-b8dfe98c]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-b8dfe98c]{flex:auto}.item-flex button.app-editor[data-v-b8dfe98c]{padding:8px 1.3rem}.menu_background[data-v-b8dfe98c]{position:fixed;inset:0}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-22104807]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-22104807]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-22104807]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-22104807]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-22104807]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-22104807],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-22104807]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-22104807]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-22104807]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-22104807]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-22104807]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-22104807]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-22104807]{text-align:center}.setting_status p[data-v-22104807]{margin:10px 0}.setting_status a[data-v-22104807]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-22104807]{margin-top:10px}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-22104807]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-22104807]{width:100%}}@keyframes bganimation-2b57eea5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b57eea5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b57eea5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b57eea5]{animation:rotateEnter-2b57eea5 .7s;position:relative}.rotate-leave-active[data-v-2b57eea5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b57eea5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2b57eea5]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-2b57eea5]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-2b57eea5]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-2b57eea5]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-2b57eea5]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-2b57eea5]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-2b57eea5]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-2b57eea5]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-2b57eea5]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-2b57eea5]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-2b57eea5]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2b57eea5]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2b57eea5]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2b57eea5]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2b57eea5],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2b57eea5]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2b57eea5]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-2b57eea5]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-2b57eea5]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-2b57eea5]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-2b57eea5]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-2b57eea5]{margin-top:114px}.timeout span[data-v-2b57eea5],.sandbox_roboot_refresh[data-v-2b57eea5]{color:#5e72e4}option[data-v-2b57eea5]:disabled{background-color:#e0e0e0}@keyframes bganimation-2b57eea5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b57eea5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b57eea5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b57eea5]{animation:rotateEnter-2b57eea5 .7s;position:relative}.rotate-leave-active[data-v-2b57eea5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b57eea5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-2b57eea5]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-2b57eea5]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-2b57eea5]{min-height:42vh}.actioner-tips[data-v-2b57eea5]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-2b57eea5]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-2b57eea5]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:3px 10px}}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-9573dc70]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-9573dc70]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-9573dc70]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-9573dc70]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-9573dc70]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-9573dc70]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-9573dc70]{margin-top:114px}.timeout span[data-v-9573dc70]{color:#5e72e4}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-9573dc70]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-9573dc70]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-9573dc70]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-9573dc70]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:12px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:3px 10px}}@keyframes bganimation-3a6a7fea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3a6a7fea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3a6a7fea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3a6a7fea]{animation:rotateEnter-3a6a7fea .7s;position:relative}.rotate-leave-active[data-v-3a6a7fea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3a6a7fea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-3a6a7fea]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-3a6a7fea]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button[data-v-3a6a7fea]{position:relative}.nav-container .app-update-button i[data-v-3a6a7fea]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .cover-buttob[data-v-3a6a7fea]{margin-left:0;margin-right:5px}.nav-container a[data-v-3a6a7fea]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-3a6a7fea]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-3a6a7fea]:before{content:"\276f "}.nav-container .MoreMenu[data-v-3a6a7fea]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-3a6a7fea]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-3a6a7fea]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-3a6a7fea]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-3a6a7fea]{visibility:hidden}.color1[data-v-3a6a7fea]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-3a6a7fea]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-3a6a7fea]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-3a6a7fea]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-3a6a7fea]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}@keyframes bganimation-d954742e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d954742e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d954742e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d954742e]{animation:rotateEnter-d954742e .7s;position:relative}.rotate-leave-active[data-v-d954742e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d954742e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-d954742e]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-d954742e] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:var(--app-container_title-color);font-size:1.5em}[data-v-d954742e] .more_icon{z-index:0}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-52c03678]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-52c03678]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-52c03678]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-52c03678]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-52c03678]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-52c03678]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-52c03678]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-52c03678]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-52c03678]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-52c03678]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-52c03678]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-52c03678]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-52c03678]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-52c03678]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-52c03678]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-52c03678]{background-color:#439c07}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-e0dbc410{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e0dbc410{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e0dbc410{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e0dbc410]{animation:rotateEnter-e0dbc410 .7s;position:relative}.rotate-leave-active[data-v-e0dbc410]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e0dbc410]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-e0dbc410]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-e0dbc410]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-e0dbc410]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-e0dbc410]{margin:.5rem 0}#page .network-message li[data-v-e0dbc410]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-e0dbc410]{color:red}#page .network-message li a[data-v-e0dbc410]{color:#00f}#page form[data-v-e0dbc410]{display:block;width:100%;margin:3rem 0}#page form label[data-v-e0dbc410]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-e0dbc410]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-e0dbc410]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-e0dbc410]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-e0dbc410]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-e0dbc410]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-e0dbc410]{margin-left:10px;user-select:none}#page .msg[data-v-e0dbc410]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-e0dbc410]{width:100%;margin-top:3rem}#page .btns button[data-v-e0dbc410]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-2a551d90{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2a551d90{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2a551d90{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2a551d90]{animation:rotateEnter-2a551d90 .7s;position:relative}.rotate-leave-active[data-v-2a551d90]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2a551d90]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-2a551d90]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-2a551d90]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-2a551d90]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-2a551d90]{margin:.5rem 0}#page .network-message li[data-v-2a551d90]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-2a551d90]{color:red}#page .network-message li a[data-v-2a551d90]{color:#00f}#page form[data-v-2a551d90]{display:block;width:100%;margin:3rem 0}#page form label[data-v-2a551d90]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-2a551d90]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-2a551d90]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-2a551d90]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-2a551d90],#page form label select[data-v-2a551d90]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-2a551d90]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-2a551d90]{margin-left:10px;user-select:none}#page .msgs[data-v-2a551d90]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-2a551d90]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-2a551d90]{width:100%;margin-top:3rem}#page .btns button[data-v-2a551d90]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-21e138ec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-21e138ec{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-21e138ec{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-21e138ec]{animation:rotateEnter-21e138ec .7s;position:relative}.rotate-leave-active[data-v-21e138ec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-21e138ec]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-21e138ec]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-21e138ec]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-21e138ec]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-21e138ec]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-21e138ec]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-21e138ec]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-21e138ec]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-21e138ec]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-21e138ec]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-21e138ec]{display:block;width:100%;margin:3rem 0}#page form label[data-v-21e138ec]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-21e138ec]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-21e138ec]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-21e138ec]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-21e138ec],#page form label select[data-v-21e138ec]{width:100%;display:block;height:42px}.switch_inline[data-v-21e138ec]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-21e138ec]{margin-left:10px;user-select:none}@keyframes bganimation-7cf2dd18{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7cf2dd18{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7cf2dd18{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7cf2dd18]{animation:rotateEnter-7cf2dd18 .7s;position:relative}.rotate-leave-active[data-v-7cf2dd18]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7cf2dd18]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-7cf2dd18]{line-height:22px;font-size:14px}.label-item[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7cf2dd18]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7cf2dd18]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7cf2dd18]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7cf2dd18],.label-item .label-item_value input[data-v-7cf2dd18]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7cf2dd18]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7cf2dd18]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-7cf2dd18]{top:0}.label-item .label-item_tips[data-v-7cf2dd18]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7cf2dd18]{vertical-align:top}span.msg-warning[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7cf2dd18]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7cf2dd18]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7cf2dd18]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7cf2dd18]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7cf2dd18]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ef06e27{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ef06e27{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ef06e27{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ef06e27]{animation:rotateEnter-0ef06e27 .7s;position:relative}.rotate-leave-active[data-v-0ef06e27]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ef06e27]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-0ef06e27]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-593445fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-593445fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-593445fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-593445fb]{animation:rotateEnter-593445fb .7s;position:relative}.rotate-leave-active[data-v-593445fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-593445fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-593445fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-593445fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-593445fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-593445fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-593445fb]{width:100%}.label-item .label-item_value select[data-v-593445fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-593445fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-593445fb]{top:0;margin:0}.label-item .label-item_tips[data-v-593445fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-593445fb]{vertical-align:top}span.msg-warning[data-v-593445fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-77aa4121{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77aa4121{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77aa4121{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77aa4121]{animation:rotateEnter-77aa4121 .7s;position:relative}.rotate-leave-active[data-v-77aa4121]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77aa4121]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-77aa4121]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77aa4121]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77aa4121]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77aa4121]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77aa4121]{width:100%}.label-item .label-item_value select[data-v-77aa4121]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-77aa4121]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-77aa4121]{top:0;margin:0}.label-item .label-item_tips[data-v-77aa4121]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77aa4121]{vertical-align:top}span.msg-warning[data-v-77aa4121]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-a924400c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a924400c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a924400c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a924400c]{animation:rotateEnter-a924400c .7s;position:relative}.rotate-leave-active[data-v-a924400c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a924400c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-a924400c]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-a924400c]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-a924400c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-a924400c]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-a924400c]{width:100%}.label-item .label-item_value select[data-v-a924400c]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-a924400c]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-a924400c]{top:0;margin:0}.label-item .label-item_tips[data-v-a924400c]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-a924400c]{vertical-align:top}span.msg-warning[data-v-a924400c]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6ef94d02]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6ef94d02] .actioner-container{width:100%}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-e68d5bbe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e68d5bbe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e68d5bbe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e68d5bbe]{animation:rotateEnter-e68d5bbe .7s;position:relative}.rotate-leave-active[data-v-e68d5bbe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e68d5bbe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-e68d5bbe]{margin-bottom:32px}.item-status[data-v-e68d5bbe]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-e68d5bbe]{text-decoration:underline;cursor:help}@keyframes bganimation-16dd0913{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16dd0913{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16dd0913{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16dd0913]{animation:rotateEnter-16dd0913 .7s;position:relative}.rotate-leave-active[data-v-16dd0913]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16dd0913]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-16dd0913]{margin-bottom:1rem}#page[data-v-16dd0913] .cbi-section{padding:1rem}#page[data-v-16dd0913] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-742230ae]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-742230ae] .actioner-container{width:100%}.action-main[data-v-742230ae] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-742230ae] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-742230ae] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-70c3aae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70c3aae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70c3aae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70c3aae0]{animation:rotateEnter-70c3aae0 .7s;position:relative}.rotate-leave-active[data-v-70c3aae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70c3aae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-70c3aae0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-313197ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-313197ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-313197ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-313197ee]{animation:rotateEnter-313197ee .7s;position:relative}.rotate-leave-active[data-v-313197ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-313197ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-313197ee]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-76197cba{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76197cba{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76197cba{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76197cba]{animation:rotateEnter-76197cba .7s;position:relative}.rotate-leave-active[data-v-76197cba]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76197cba]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-76197cba]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}.actioner-dns[data-v-c88486ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-c88486ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-c88486ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-c88486ac]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-c88486ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-c88486ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-c88486ac]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-c88486ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-c88486ac]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-c88486ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-c88486ac]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-c88486ac]{width:100%}}@keyframes bganimation-afd1f5d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-afd1f5d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-afd1f5d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-afd1f5d2]{animation:rotateEnter-afd1f5d2 .7s;position:relative}.rotate-leave-active[data-v-afd1f5d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-afd1f5d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-afd1f5d2]{width:48px;height:100%;cursor:pointer}.interface-device-flex[data-v-afd1f5d2]{display:flex;justify-content:center}.interface-device-flex .app-container_status-label_bg[data-v-afd1f5d2]{width:0;min-width:130px;max-width:230px;overflow-y:hidden;flex:1 0 160px}.cbi-section-table-row .td.btns[data-v-afd1f5d2]{text-align:left!important} diff --git a/luci-app-quickstart/htdocs/luci-static/quickstart/vendor.js b/luci-app-quickstart/htdocs/luci-static/quickstart/vendor.js index 0497ff9f..bf59d25c 100644 --- a/luci-app-quickstart/htdocs/luci-static/quickstart/vendor.js +++ b/luci-app-quickstart/htdocs/luci-static/quickstart/vendor.js @@ -1,12 +1,13 @@ -function bh(t,e){const r=Object.create(null),n=t.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const rb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nb=bh(rb);function Om(t){return!!t||t===""}function xh(t){if(ot(t)){const e={};for(let r=0;r{if(r){const n=r.split(ab);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ch(t){let e="";if(qt(t))e=t;else if(ot(t))for(let r=0;roi(r,e))}const KB=t=>qt(t)?t:t==null?"":ot(t)||Wt(t)&&(t.toString===Bm||!ht(t.toString))?JSON.stringify(t,km,2):String(t),km=(t,e)=>e&&e.__v_isRef?km(t,e.value):Xi(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:fa(e)?{[`Set(${e.size})`]:[...e.values()]}:Wt(e)&&!ot(e)&&!Nm(e)?String(e):e,Rt={},Yi=[],rr=()=>{},lb=()=>!1,ub=/^on[^a-z]/,$l=t=>ub.test(t),Mh=t=>t.startsWith("onUpdate:"),Jt=Object.assign,Dh=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},fb=Object.prototype.hasOwnProperty,bt=(t,e)=>fb.call(t,e),ot=Array.isArray,Xi=t=>Gl(t)==="[object Map]",fa=t=>Gl(t)==="[object Set]",ud=t=>t instanceof Date,ht=t=>typeof t=="function",qt=t=>typeof t=="string",Ah=t=>typeof t=="symbol",Wt=t=>t!==null&&typeof t=="object",Ph=t=>Wt(t)&&ht(t.then)&&ht(t.catch),Bm=Object.prototype.toString,Gl=t=>Bm.call(t),cb=t=>Gl(t).slice(8,-1),Nm=t=>Gl(t)==="[object Object]",Ih=t=>qt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Us=bh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wl=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},hb=/-(\w)/g,gr=Wl(t=>t.replace(hb,(e,r)=>r?r.toUpperCase():"")),vb=/\B([A-Z])/g,ca=Wl(t=>t.replace(vb,"-$1").toLowerCase()),Ul=Wl(t=>t.charAt(0).toUpperCase()+t.slice(1)),Mu=Wl(t=>t?`on${Ul(t)}`:""),So=(t,e)=>!Object.is(t,e),Ys=(t,e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:r})},ta=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let fd;const db=()=>fd||(fd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let xr;class Fm{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&xr&&(this.parent=xr,this.index=(xr.scopes||(xr.scopes=[])).push(this)-1)}run(e){if(this.active)try{return xr=this,e()}finally{xr=this.parent}}on(){xr=this}off(){xr=this.parent}stop(e){if(this.active){let r,n;for(r=0,n=this.effects.length;r{const e=new Set(t);return e.w=0,e.n=0,e},Hm=t=>(t.w&yn)>0,Vm=t=>(t.n&yn)>0,gb=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let r=0;for(let n=0;n{(u==="length"||u>=n)&&s.push(l)});else switch(r!==void 0&&s.push(o.get(r)),e){case"add":ot(t)?Ih(r)&&s.push(o.get("length")):(s.push(o.get(ei)),Xi(t)&&s.push(o.get(Qf)));break;case"delete":ot(t)||(s.push(o.get(ei)),Xi(t)&&s.push(o.get(Qf)));break;case"set":Xi(t)&&s.push(o.get(ei));break}if(s.length===1)s[0]&&Jf(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);Jf(Eh(l))}}function Jf(t,e){for(const r of ot(t)?t:[...t])(r!==hr||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const mb=bh("__proto__,__v_isRef,__isVue"),Wm=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(Ah)),_b=Rh(),wb=Rh(!1,!0),Sb=Rh(!0),hd=bb();function bb(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const n=xt(this);for(let a=0,o=this.length;a{t[e]=function(...r){ha();const n=xt(this)[e].apply(this,r);return va(),n}}),t}function Rh(t=!1,e=!1){return function(n,i,a){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&a===(t?e?Fb:Km:e?qm:Xm).get(n))return n;const o=ot(n);if(!t&&o&&bt(hd,i))return Reflect.get(hd,i,a);const s=Reflect.get(n,i,a);return(Ah(i)?Wm.has(i):mb(i))||(t||Ae(n,"get",i),e)?s:Gt(s)?!o||!Ih(i)?s.value:s:Wt(s)?t?Zm(s):da(s):s}}const xb=Um(),Cb=Um(!0);function Um(t=!1){return function(r,n,i,a){let o=r[n];if(bo(o)&&Gt(o)&&!Gt(i))return!1;if(!t&&!bo(i)&&(jm(i)||(i=xt(i),o=xt(o)),!ot(r)&&Gt(o)&&!Gt(i)))return o.value=i,!0;const s=ot(r)&&Ih(n)?Number(n)t,Yl=t=>Reflect.getPrototypeOf(t);function rs(t,e,r=!1,n=!1){t=t.__v_raw;const i=xt(t),a=xt(e);e!==a&&!r&&Ae(i,"get",e),!r&&Ae(i,"get",a);const{has:o}=Yl(i),s=n?Oh:r?Nh:xo;if(o.call(i,e))return s(t.get(e));if(o.call(i,a))return s(t.get(a));t!==i&&t.get(e)}function ns(t,e=!1){const r=this.__v_raw,n=xt(r),i=xt(t);return t!==i&&!e&&Ae(n,"has",t),!e&&Ae(n,"has",i),t===i?r.has(t):r.has(t)||r.has(i)}function is(t,e=!1){return t=t.__v_raw,!e&&Ae(xt(t),"iterate",ei),Reflect.get(t,"size",t)}function vd(t){t=xt(t);const e=xt(this);return Yl(e).has.call(e,t)||(e.add(t),Rr(e,"add",t,t)),this}function dd(t,e){e=xt(e);const r=xt(this),{has:n,get:i}=Yl(r);let a=n.call(r,t);a||(t=xt(t),a=n.call(r,t));const o=i.call(r,t);return r.set(t,e),a?So(e,o)&&Rr(r,"set",t,e):Rr(r,"add",t,e),this}function pd(t){const e=xt(this),{has:r,get:n}=Yl(e);let i=r.call(e,t);i||(t=xt(t),i=r.call(e,t)),n&&n.call(e,t);const a=e.delete(t);return i&&Rr(e,"delete",t,void 0),a}function gd(){const t=xt(this),e=t.size!==0,r=t.clear();return e&&Rr(t,"clear",void 0,void 0),r}function as(t,e){return function(n,i){const a=this,o=a.__v_raw,s=xt(o),l=e?Oh:t?Nh:xo;return!t&&Ae(s,"iterate",ei),o.forEach((u,f)=>n.call(i,l(u),l(f),a))}}function os(t,e,r){return function(...n){const i=this.__v_raw,a=xt(i),o=Xi(a),s=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=i[t](...n),f=r?Oh:e?Nh:xo;return!e&&Ae(a,"iterate",l?Qf:ei),{next(){const{value:c,done:h}=u.next();return h?{value:c,done:h}:{value:s?[f(c[0]),f(c[1])]:f(c),done:h}},[Symbol.iterator](){return this}}}}function Vr(t){return function(...e){return t==="delete"?!1:this}}function Ib(){const t={get(a){return rs(this,a)},get size(){return is(this)},has:ns,add:vd,set:dd,delete:pd,clear:gd,forEach:as(!1,!1)},e={get(a){return rs(this,a,!1,!0)},get size(){return is(this)},has:ns,add:vd,set:dd,delete:pd,clear:gd,forEach:as(!1,!0)},r={get(a){return rs(this,a,!0)},get size(){return is(this,!0)},has(a){return ns.call(this,a,!0)},add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear"),forEach:as(!0,!1)},n={get(a){return rs(this,a,!0,!0)},get size(){return is(this,!0)},has(a){return ns.call(this,a,!0)},add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear"),forEach:as(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=os(a,!1,!1),r[a]=os(a,!0,!1),e[a]=os(a,!1,!0),n[a]=os(a,!0,!0)}),[t,r,e,n]}const[Eb,Lb,Rb,Ob]=Ib();function kh(t,e){const r=e?t?Ob:Rb:t?Lb:Eb;return(n,i,a)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(bt(r,i)&&i in n?r:n,i,a)}const kb={get:kh(!1,!1)},Bb={get:kh(!1,!0)},Nb={get:kh(!0,!1)},Xm=new WeakMap,qm=new WeakMap,Km=new WeakMap,Fb=new WeakMap;function zb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hb(t){return t.__v_skip||!Object.isExtensible(t)?0:zb(cb(t))}function da(t){return bo(t)?t:Bh(t,!1,Ym,kb,Xm)}function Vb(t){return Bh(t,!1,Pb,Bb,qm)}function Zm(t){return Bh(t,!0,Ab,Nb,Km)}function Bh(t,e,r,n,i){if(!Wt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=i.get(t);if(a)return a;const o=Hb(t);if(o===0)return t;const s=new Proxy(t,o===2?n:r);return i.set(t,s),s}function un(t){return bo(t)?un(t.__v_raw):!!(t&&t.__v_isReactive)}function bo(t){return!!(t&&t.__v_isReadonly)}function jm(t){return!!(t&&t.__v_isShallow)}function Qm(t){return un(t)||bo(t)}function xt(t){const e=t&&t.__v_raw;return e?xt(e):t}function ea(t){return cl(t,"__v_skip",!0),t}const xo=t=>Wt(t)?da(t):t,Nh=t=>Wt(t)?Zm(t):t;function Jm(t){ln&&hr&&(t=xt(t),Gm(t.dep||(t.dep=Eh())))}function t0(t,e){t=xt(t),t.dep&&Jf(t.dep)}function Gt(t){return!!(t&&t.__v_isRef===!0)}function Fh(t){return e0(t,!1)}function $b(t){return e0(t,!0)}function e0(t,e){return Gt(t)?t:new Gb(t,e)}class Gb{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:xt(e),this._value=r?e:xo(e)}get value(){return Jm(this),this._value}set value(e){e=this.__v_isShallow?e:xt(e),So(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:xo(e),t0(this))}}function to(t){return Gt(t)?t.value:t}const Wb={get:(t,e,r)=>to(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const i=t[e];return Gt(i)&&!Gt(r)?(i.value=r,!0):Reflect.set(t,e,r,n)}};function r0(t){return un(t)?t:new Proxy(t,Wb)}function Ub(t){const e=ot(t)?new Array(t.length):{};for(const r in t)e[r]=Xb(t,r);return e}class Yb{constructor(e,r,n){this._object=e,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Xb(t,e,r){const n=t[e];return Gt(n)?n:new Yb(t,e,r)}class qb{constructor(e,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Lh(e,()=>{this._dirty||(this._dirty=!0,t0(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=xt(this);return Jm(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Kb(t,e,r=!1){let n,i;const a=ht(t);return a?(n=t,i=rr):(n=t.get,i=t.set),new qb(n,i,a||!i,r)}Promise.resolve();function fn(t,e,r,n){let i;try{i=n?t(...n):t()}catch(a){Xo(a,e,r)}return i}function Ue(t,e,r,n){if(ht(t)){const a=fn(t,e,r,n);return a&&Ph(a)&&a.catch(o=>{Xo(o,e,r)}),a}const i=[];for(let a=0;a>>1;Co(Ce[n])Mr&&Ce.splice(e,1)}function o0(t,e,r,n){ot(t)?r.push(...t):(!e||!e.includes(t,t.allowRecurse?n+1:n))&&r.push(t),a0()}function Jb(t){o0(t,Ya,eo,Bi)}function s0(t){o0(t,tn,ro,Ni)}function Vh(t,e=null){if(eo.length){for(ec=e,Ya=[...new Set(eo)],eo.length=0,Bi=0;BiCo(r)-Co(n)),Ni=0;Nit.id==null?1/0:t.id;function u0(t){tc=!1,hl=!0,Vh(t),Ce.sort((r,n)=>Co(r)-Co(n));const e=rr;try{for(Mr=0;Mrv.trim()):c&&(i=r.map(ta))}let s,l=n[s=Mu(e)]||n[s=Mu(gr(e))];!l&&a&&(l=n[s=Mu(ca(e))]),l&&Ue(l,t,6,i);const u=n[s+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,Ue(u,t,6,i)}}function f0(t,e,r=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const a=t.emits;let o={},s=!1;if(!ht(t)){const l=u=>{const f=f0(u,e,!0);f&&(s=!0,Jt(o,f))};!r&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!a&&!s?(n.set(t,null),null):(ot(a)?a.forEach(l=>o[l]=null):Jt(o,a),n.set(t,o),o)}function $h(t,e){return!t||!$l(e)?!1:(e=e.slice(2).replace(/Once$/,""),bt(t,e[0].toLowerCase()+e.slice(1))||bt(t,ca(e))||bt(t,e))}let Me=null,Xl=null;function vl(t){const e=Me;return Me=t,Xl=t&&t.type.__scopeId||null,e}function ZB(t){Xl=t}function jB(){Xl=null}function ex(t,e=Me,r){if(!e||t._n)return t;const n=(...i)=>{n._d&&Ad(-1);const a=vl(e),o=t(...i);return vl(a),n._d&&Ad(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function Du(t){const{type:e,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:c,data:h,setupState:v,ctx:d,inheritAttrs:y}=t;let g,p;const m=vl(t);try{if(r.shapeFlag&4){const w=i||n;g=Je(f.call(w,w,c,a,v,h,d)),p=l}else{const w=e;g=Je(w.length>1?w(a,{attrs:l,slots:s,emit:u}):w(a,null)),p=e.props?l:nx(l)}}catch(w){io.length=0,Xo(w,t,1),g=ie(Pe)}let _=g;if(p&&y!==!1){const w=Object.keys(p),{shapeFlag:b}=_;w.length&&b&7&&(o&&w.some(Mh)&&(p=ix(p,o)),_=ra(_,p))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),g=_,vl(m),g}function rx(t){let e;for(let r=0;r{let e;for(const r in t)(r==="class"||r==="style"||$l(r))&&((e||(e={}))[r]=t[r]);return e},ix=(t,e)=>{const r={};for(const n in t)(!Mh(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function ax(t,e,r){const{props:n,children:i,component:a}=t,{props:o,children:s,patchFlag:l}=e,u=a.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?yd(n,o,u):!!o;if(l&8){const f=e.dynamicProps;for(let c=0;ct.__isSuspense,sx={name:"Suspense",__isSuspense:!0,process(t,e,r,n,i,a,o,s,l,u){t==null?lx(e,r,n,i,a,o,s,l,u):ux(t,e,r,n,i,o,s,l,u)},hydrate:fx,create:Wh,normalize:cx},QB=sx;function To(t,e){const r=t.props&&t.props[e];ht(r)&&r()}function lx(t,e,r,n,i,a,o,s,l){const{p:u,o:{createElement:f}}=l,c=f("div"),h=t.suspense=Wh(t,i,n,e,c,r,a,o,s,l);u(null,h.pendingBranch=t.ssContent,c,null,n,h,a,o),h.deps>0?(To(t,"onPending"),To(t,"onFallback"),u(null,t.ssFallback,e,r,n,null,a,o),qi(h,t.ssFallback)):h.resolve()}function ux(t,e,r,n,i,a,o,s,{p:l,um:u,o:{createElement:f}}){const c=e.suspense=t.suspense;c.vnode=e,e.el=t.el;const h=e.ssContent,v=e.ssFallback,{activeBranch:d,pendingBranch:y,isInFallback:g,isHydrating:p}=c;if(y)c.pendingBranch=h,fr(h,y)?(l(y,h,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0?c.resolve():g&&(l(d,v,r,n,i,null,a,o,s),qi(c,v))):(c.pendingId++,p?(c.isHydrating=!1,c.activeBranch=y):u(y,i,c),c.deps=0,c.effects.length=0,c.hiddenContainer=f("div"),g?(l(null,h,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0?c.resolve():(l(d,v,r,n,i,null,a,o,s),qi(c,v))):d&&fr(h,d)?(l(d,h,r,n,i,c,a,o,s),c.resolve(!0)):(l(null,h,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0&&c.resolve()));else if(d&&fr(h,d))l(d,h,r,n,i,c,a,o,s),qi(c,h);else if(To(e,"onPending"),c.pendingBranch=h,c.pendingId++,l(null,h,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0)c.resolve();else{const{timeout:m,pendingId:_}=c;m>0?setTimeout(()=>{c.pendingId===_&&c.fallback(v)},m):m===0&&c.fallback(v)}}function Wh(t,e,r,n,i,a,o,s,l,u,f=!1){const{p:c,m:h,um:v,n:d,o:{parentNode:y,remove:g}}=u,p=ta(t.props&&t.props.timeout),m={vnode:t,parent:e,parentComponent:r,isSVG:o,container:n,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(_=!1){const{vnode:w,activeBranch:b,pendingBranch:S,pendingId:x,effects:T,parentComponent:M,container:D}=m;if(m.isHydrating)m.isHydrating=!1;else if(!_){const L=b&&S.transition&&S.transition.mode==="out-in";L&&(b.transition.afterLeave=()=>{x===m.pendingId&&h(S,D,O,0)});let{anchor:O}=m;b&&(O=d(b),v(b,M,m,!0)),L||h(S,D,O,0)}qi(m,S),m.pendingBranch=null,m.isInFallback=!1;let I=m.parent,A=!1;for(;I;){if(I.pendingBranch){I.effects.push(...T),A=!0;break}I=I.parent}A||s0(T),m.effects=[],To(w,"onResolve")},fallback(_){if(!m.pendingBranch)return;const{vnode:w,activeBranch:b,parentComponent:S,container:x,isSVG:T}=m;To(w,"onFallback");const M=d(b),D=()=>{!m.isInFallback||(c(null,_,x,M,S,null,T,s,l),qi(m,_))},I=_.transition&&_.transition.mode==="out-in";I&&(b.transition.afterLeave=D),m.isInFallback=!0,v(b,S,null,!0),I||D()},move(_,w,b){m.activeBranch&&h(m.activeBranch,_,w,b),m.container=_},next(){return m.activeBranch&&d(m.activeBranch)},registerDep(_,w){const b=!!m.pendingBranch;b&&m.deps++;const S=_.vnode.el;_.asyncDep.catch(x=>{Xo(x,_,0)}).then(x=>{if(_.isUnmounted||m.isUnmounted||m.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:T}=_;fc(_,x,!1),S&&(T.el=S);const M=!S&&_.subTree.el;w(_,T,y(S||_.subTree.el),S?null:d(_.subTree),m,o,l),M&&g(M),Gh(_,T.el),b&&--m.deps===0&&m.resolve()})},unmount(_,w){m.isUnmounted=!0,m.activeBranch&&v(m.activeBranch,r,_,w),m.pendingBranch&&v(m.pendingBranch,r,_,w)}};return m}function fx(t,e,r,n,i,a,o,s,l){const u=e.suspense=Wh(e,n,r,t.parentNode,document.createElement("div"),null,i,a,o,s,!0),f=l(t,u.pendingBranch=e.ssContent,r,u,a,o);return u.deps===0&&u.resolve(),f}function cx(t){const{shapeFlag:e,children:r}=t,n=e&32;t.ssContent=md(n?r.default:r),t.ssFallback=n?md(r.fallback):ie(Pe)}function md(t){let e;if(ht(t)){const r=Mo&&t._c;r&&(t._d=!1,Kh()),t=t(),r&&(t._d=!0,e=cn,E0())}return ot(t)&&(t=rx(t)),t=Je(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(r=>r!==t)),t}function hx(t,e){e&&e.pendingBranch?ot(t)?e.effects.push(...t):e.effects.push(t):s0(t)}function qi(t,e){t.activeBranch=e;const{vnode:r,parentComponent:n}=t,i=r.el=e.el;n&&n.subTree===r&&(n.vnode.el=i,Gh(n,i))}function Xs(t,e){if(Zt){let r=Zt.provides;const n=Zt.parent&&Zt.parent.provides;n===r&&(r=Zt.provides=Object.create(n)),r[t]=e}}function Ir(t,e,r=!1){const n=Zt||Me;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return r&&ht(e)?e.call(n.proxy):e}}const _d={};function no(t,e,r){return c0(t,e,r)}function c0(t,e,{immediate:r,deep:n,flush:i,onTrack:a,onTrigger:o}=Rt){const s=Zt;let l,u=!1,f=!1;if(Gt(t)?(l=()=>t.value,u=jm(t)):un(t)?(l=()=>t,n=!0):ot(t)?(f=!0,u=t.some(un),l=()=>t.map(p=>{if(Gt(p))return p.value;if(un(p))return Qn(p);if(ht(p))return fn(p,s,2)})):ht(t)?e?l=()=>fn(t,s,2):l=()=>{if(!(s&&s.isUnmounted))return c&&c(),Ue(t,s,3,[h])}:l=rr,e&&n){const p=l;l=()=>Qn(p())}let c,h=p=>{c=g.onStop=()=>{fn(p,s,4)}};if(Ao)return h=rr,e?r&&Ue(e,s,3,[l(),f?[]:void 0,h]):l(),rr;let v=f?[]:_d;const d=()=>{if(!!g.active)if(e){const p=g.run();(n||u||(f?p.some((m,_)=>So(m,v[_])):So(p,v)))&&(c&&c(),Ue(e,s,3,[p,v===_d?void 0:v,h]),v=p)}else g.run()};d.allowRecurse=!!e;let y;i==="sync"?y=d:i==="post"?y=()=>pe(d,s&&s.suspense):y=()=>{!s||s.isMounted?Jb(d):d()};const g=new Lh(l,y);return e?r?d():v=g.run():i==="post"?pe(g.run.bind(g),s&&s.suspense):g.run(),()=>{g.stop(),s&&s.scope&&Dh(s.scope.effects,g)}}function vx(t,e,r){const n=this.proxy,i=qt(t)?t.includes(".")?h0(n,t):()=>n[t]:t.bind(n,n);let a;ht(e)?a=e:(a=e.handler,r=e);const o=Zt;mn(this);const s=c0(i,a.bind(n),r);return o?mn(o):hn(),s}function h0(t,e){const r=e.split(".");return()=>{let n=t;for(let i=0;i{Qn(r,e)});else if(Nm(t))for(const r in t)Qn(t[r],e);return t}function dx(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return m0(()=>{t.isMounted=!0}),_0(()=>{t.isUnmounting=!0}),t}const Ee=[Function,Array],px={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},setup(t,{slots:e}){const r=jl(),n=dx();let i;return()=>{const a=e.default&&p0(e.default(),!0);if(!a||!a.length)return;const o=xt(t),{mode:s}=o,l=a[0];if(n.isLeaving)return Au(l);const u=wd(l);if(!u)return Au(l);const f=rc(u,o,n,r);nc(u,f);const c=r.subTree,h=c&&wd(c);let v=!1;const{getTransitionKey:d}=u.type;if(d){const y=d();i===void 0?i=y:y!==i&&(i=y,v=!0)}if(h&&h.type!==Pe&&(!fr(u,h)||v)){const y=rc(h,o,n,r);if(nc(h,y),s==="out-in")return n.isLeaving=!0,y.afterLeave=()=>{n.isLeaving=!1,r.update()},Au(l);s==="in-out"&&u.type!==Pe&&(y.delayLeave=(g,p,m)=>{const _=d0(n,h);_[String(h.key)]=h,g._leaveCb=()=>{p(),g._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=m})}return l}}},v0=px;function d0(t,e){const{leavingVNodes:r}=t;let n=r.get(e.type);return n||(n=Object.create(null),r.set(e.type,n)),n}function rc(t,e,r,n){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:c,onLeave:h,onAfterLeave:v,onLeaveCancelled:d,onBeforeAppear:y,onAppear:g,onAfterAppear:p,onAppearCancelled:m}=e,_=String(t.key),w=d0(r,t),b=(x,T)=>{x&&Ue(x,n,9,T)},S={mode:a,persisted:o,beforeEnter(x){let T=s;if(!r.isMounted)if(i)T=y||s;else return;x._leaveCb&&x._leaveCb(!0);const M=w[_];M&&fr(t,M)&&M.el._leaveCb&&M.el._leaveCb(),b(T,[x])},enter(x){let T=l,M=u,D=f;if(!r.isMounted)if(i)T=g||l,M=p||u,D=m||f;else return;let I=!1;const A=x._enterCb=L=>{I||(I=!0,L?b(D,[x]):b(M,[x]),S.delayedLeave&&S.delayedLeave(),x._enterCb=void 0)};T?(T(x,A),T.length<=1&&A()):A()},leave(x,T){const M=String(t.key);if(x._enterCb&&x._enterCb(!0),r.isUnmounting)return T();b(c,[x]);let D=!1;const I=x._leaveCb=A=>{D||(D=!0,T(),A?b(d,[x]):b(v,[x]),x._leaveCb=void 0,w[M]===t&&delete w[M])};w[M]=t,h?(h(x,I),h.length<=1&&I()):I()},clone(x){return rc(x,e,r,n)}};return S}function Au(t){if(ql(t))return t=ra(t),t.children=null,t}function wd(t){return ql(t)?t.children?t.children[0]:void 0:t}function nc(t,e){t.shapeFlag&6&&t.component?nc(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function p0(t,e=!1){let r=[],n=0;for(let i=0;i1)for(let i=0;i!!t.type.__asyncLoader,ql=t=>t.type.__isKeepAlive;function gx(t,e){y0(t,"a",e)}function yx(t,e){y0(t,"da",e)}function y0(t,e,r=Zt){const n=t.__wdc||(t.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Kl(e,n,r),r){let i=r.parent;for(;i&&i.parent;)ql(i.parent.vnode)&&mx(n,e,r,i),i=i.parent}}function mx(t,e,r,n){const i=Kl(e,t,n,!0);Uh(()=>{Dh(n[e],i)},r)}function Kl(t,e,r=Zt,n=!1){if(r){const i=r[t]||(r[t]=[]),a=e.__weh||(e.__weh=(...o)=>{if(r.isUnmounted)return;ha(),mn(r);const s=Ue(e,r,t,o);return hn(),va(),s});return n?i.unshift(a):i.push(a),a}}const Nr=t=>(e,r=Zt)=>(!Ao||t==="sp")&&Kl(t,e,r),_x=Nr("bm"),m0=Nr("m"),Sx=Nr("bu"),bx=Nr("u"),_0=Nr("bum"),Uh=Nr("um"),xx=Nr("sp"),Cx=Nr("rtg"),Tx=Nr("rtc");function Mx(t,e=Zt){Kl("ec",t,e)}let ac=!0;function Dx(t){const e=S0(t),r=t.proxy,n=t.ctx;ac=!1,e.beforeCreate&&Sd(e.beforeCreate,t,"bc");const{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:c,mounted:h,beforeUpdate:v,updated:d,activated:y,deactivated:g,beforeDestroy:p,beforeUnmount:m,destroyed:_,unmounted:w,render:b,renderTracked:S,renderTriggered:x,errorCaptured:T,serverPrefetch:M,expose:D,inheritAttrs:I,components:A,directives:L,filters:O}=e;if(u&&Ax(u,n,null,t.appContext.config.unwrapInjectedRef),o)for(const Q in o){const G=o[Q];ht(G)&&(n[Q]=G.bind(r))}if(i){const Q=i.call(r,r);Wt(Q)&&(t.data=da(Q))}if(ac=!0,a)for(const Q in a){const G=a[Q],Z=ht(G)?G.bind(r,r):ht(G.get)?G.get.bind(r,r):rr,lt=!ht(G)&&ht(G.set)?G.set.bind(r):rr,_t=tr({get:Z,set:lt});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>_t.value,set:yt=>_t.value=yt})}if(s)for(const Q in s)w0(s[Q],n,r,Q);if(l){const Q=ht(l)?l.call(r):l;Reflect.ownKeys(Q).forEach(G=>{Xs(G,Q[G])})}f&&Sd(f,t,"c");function B(Q,G){ot(G)?G.forEach(Z=>Q(Z.bind(r))):G&&Q(G.bind(r))}if(B(_x,c),B(m0,h),B(Sx,v),B(bx,d),B(gx,y),B(yx,g),B(Mx,T),B(Tx,S),B(Cx,x),B(_0,m),B(Uh,w),B(xx,M),ot(D))if(D.length){const Q=t.exposed||(t.exposed={});D.forEach(G=>{Object.defineProperty(Q,G,{get:()=>r[G],set:Z=>r[G]=Z})})}else t.exposed||(t.exposed={});b&&t.render===rr&&(t.render=b),I!=null&&(t.inheritAttrs=I),A&&(t.components=A),L&&(t.directives=L)}function Ax(t,e,r=rr,n=!1){ot(t)&&(t=oc(t));for(const i in t){const a=t[i];let o;Wt(a)?"default"in a?o=Ir(a.from||i,a.default,!0):o=Ir(a.from||i):o=Ir(a),Gt(o)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):e[i]=o}}function Sd(t,e,r){Ue(ot(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function w0(t,e,r,n){const i=n.includes(".")?h0(r,n):()=>r[n];if(qt(t)){const a=e[t];ht(a)&&no(i,a)}else if(ht(t))no(i,t.bind(r));else if(Wt(t))if(ot(t))t.forEach(a=>w0(a,e,r,n));else{const a=ht(t.handler)?t.handler.bind(r):e[t.handler];ht(a)&&no(i,a,t)}}function S0(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=t.appContext,s=a.get(e);let l;return s?l=s:!i.length&&!r&&!n?l=e:(l={},i.length&&i.forEach(u=>dl(l,u,o,!0)),dl(l,e,o)),a.set(e,l),l}function dl(t,e,r,n=!1){const{mixins:i,extends:a}=e;a&&dl(t,a,r,!0),i&&i.forEach(o=>dl(t,o,r,!0));for(const o in e)if(!(n&&o==="expose")){const s=Px[o]||r&&r[o];t[o]=s?s(t[o],e[o]):e[o]}return t}const Px={data:bd,props:qn,emits:qn,methods:qn,computed:qn,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:qn,directives:qn,watch:Ex,provide:bd,inject:Ix};function bd(t,e){return e?t?function(){return Jt(ht(t)?t.call(this,this):t,ht(e)?e.call(this,this):e)}:e:t}function Ix(t,e){return qn(oc(t),oc(e))}function oc(t){if(ot(t)){const e={};for(let r=0;r0)&&!(o&16)){if(o&8){const f=t.vnode.dynamicProps;for(let c=0;c{l=!0;const[h,v]=x0(c,e,!0);Jt(o,h),v&&s.push(...v)};!r&&e.mixins.length&&e.mixins.forEach(f),t.extends&&f(t.extends),t.mixins&&t.mixins.forEach(f)}if(!a&&!l)return n.set(t,Yi),Yi;if(ot(a))for(let f=0;f-1,v[1]=y<0||d-1||bt(v,"default"))&&s.push(c)}}}const u=[o,s];return n.set(t,u),u}function xd(t){return t[0]!=="$"}function Cd(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function Td(t,e){return Cd(t)===Cd(e)}function Md(t,e){return ot(e)?e.findIndex(r=>Td(r,t)):ht(e)&&Td(e,t)?0:-1}const C0=t=>t[0]==="_"||t==="$stable",Yh=t=>ot(t)?t.map(Je):[Je(t)],Ox=(t,e,r)=>{const n=ex((...i)=>Yh(e(...i)),r);return n._c=!1,n},T0=(t,e,r)=>{const n=t._ctx;for(const i in t){if(C0(i))continue;const a=t[i];if(ht(a))e[i]=Ox(i,a,n);else if(a!=null){const o=Yh(a);e[i]=()=>o}}},M0=(t,e)=>{const r=Yh(e);t.slots.default=()=>r},kx=(t,e)=>{if(t.vnode.shapeFlag&32){const r=e._;r?(t.slots=xt(e),cl(e,"_",r)):T0(e,t.slots={})}else t.slots={},e&&M0(t,e);cl(t.slots,Zl,1)},Bx=(t,e,r)=>{const{vnode:n,slots:i}=t;let a=!0,o=Rt;if(n.shapeFlag&32){const s=e._;s?r&&s===1?a=!1:(Jt(i,e),!r&&s===1&&delete i._):(a=!e.$stable,T0(e,i)),o=e}else e&&(M0(t,e),o={default:1});if(a)for(const s in i)!C0(s)&&!(s in o)&&delete i[s]};function JB(t,e){const r=Me;if(r===null)return t;const n=r.proxy,i=t.dirs||(t.dirs=[]);for(let a=0;alc(h,e&&(ot(e)?e[v]:e),r,n,i));return}if(ic(n)&&!i)return;const a=n.shapeFlag&4?jh(n.component)||n.component.proxy:n.el,o=i?null:a,{i:s,r:l}=t,u=e&&e.r,f=s.refs===Rt?s.refs={}:s.refs,c=s.setupState;if(u!=null&&u!==l&&(qt(u)?(f[u]=null,bt(c,u)&&(c[u]=null)):Gt(u)&&(u.value=null)),ht(l))fn(l,s,12,[o,f]);else{const h=qt(l),v=Gt(l);if(h||v){const d=()=>{if(t.f){const y=h?f[l]:l.value;i?ot(y)&&Dh(y,a):ot(y)?y.includes(a)||y.push(a):h?f[l]=[a]:(l.value=[a],t.k&&(f[t.k]=l.value))}else h?(f[l]=o,bt(c,l)&&(c[l]=o)):Gt(l)&&(l.value=o,t.k&&(f[t.k]=o))};o?(d.id=-1,pe(d,r)):d()}}}const pe=hx;function zx(t){return Hx(t)}function Hx(t,e){const r=db();r.__VUE__=!0;const{insert:n,remove:i,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:c,nextSibling:h,setScopeId:v=rr,cloneNode:d,insertStaticContent:y}=t,g=(C,E,R,N=null,F=null,U=null,j=!1,$=null,X=!!E.dynamicChildren)=>{if(C===E)return;C&&!fr(C,E)&&(N=tt(C),pt(C,F,U,!0),C=null),E.patchFlag===-2&&(X=!1,E.dynamicChildren=null);const{type:z,ref:it,shapeFlag:rt}=E;switch(z){case qh:p(C,E,R,N);break;case Pe:m(C,E,R,N);break;case qs:C==null&&_(E,R,N,j);break;case ze:L(C,E,R,N,F,U,j,$,X);break;default:rt&1?S(C,E,R,N,F,U,j,$,X):rt&6?O(C,E,R,N,F,U,j,$,X):(rt&64||rt&128)&&z.process(C,E,R,N,F,U,j,$,X,ut)}it!=null&&F&&lc(it,C&&C.ref,U,E||C,!E)},p=(C,E,R,N)=>{if(C==null)n(E.el=s(E.children),R,N);else{const F=E.el=C.el;E.children!==C.children&&u(F,E.children)}},m=(C,E,R,N)=>{C==null?n(E.el=l(E.children||""),R,N):E.el=C.el},_=(C,E,R,N)=>{[C.el,C.anchor]=y(C.children,E,R,N,C.el,C.anchor)},w=({el:C,anchor:E},R,N)=>{let F;for(;C&&C!==E;)F=h(C),n(C,R,N),C=F;n(E,R,N)},b=({el:C,anchor:E})=>{let R;for(;C&&C!==E;)R=h(C),i(C),C=R;i(E)},S=(C,E,R,N,F,U,j,$,X)=>{j=j||E.type==="svg",C==null?x(E,R,N,F,U,j,$,X):D(C,E,F,U,j,$,X)},x=(C,E,R,N,F,U,j,$)=>{let X,z;const{type:it,props:rt,shapeFlag:at,transition:ft,patchFlag:wt,dirs:Ft}=C;if(C.el&&d!==void 0&&wt===-1)X=C.el=d(C.el);else{if(X=C.el=o(C.type,U,rt&&rt.is,rt),at&8?f(X,C.children):at&16&&M(C.children,X,null,N,F,U&&it!=="foreignObject",j,$),Ft&&bn(C,null,N,"created"),rt){for(const Nt in rt)Nt!=="value"&&!Us(Nt)&&a(X,Nt,null,rt[Nt],U,C.children,N,F,V);"value"in rt&&a(X,"value",null,rt.value),(z=rt.onVnodeBeforeMount)&&ar(z,N,C)}T(X,C,C.scopeId,j,N)}Ft&&bn(C,null,N,"beforeMount");const It=(!F||F&&!F.pendingBranch)&&ft&&!ft.persisted;It&&ft.beforeEnter(X),n(X,E,R),((z=rt&&rt.onVnodeMounted)||It||Ft)&&pe(()=>{z&&ar(z,N,C),It&&ft.enter(X),Ft&&bn(C,null,N,"mounted")},F)},T=(C,E,R,N,F)=>{if(R&&v(C,R),N)for(let U=0;U{for(let z=X;z{const $=E.el=C.el;let{patchFlag:X,dynamicChildren:z,dirs:it}=E;X|=C.patchFlag&16;const rt=C.props||Rt,at=E.props||Rt;let ft;R&&xn(R,!1),(ft=at.onVnodeBeforeUpdate)&&ar(ft,R,E,C),it&&bn(E,C,R,"beforeUpdate"),R&&xn(R,!0);const wt=F&&E.type!=="foreignObject";if(z?I(C.dynamicChildren,z,$,R,N,wt,U):j||Z(C,E,$,null,R,N,wt,U,!1),X>0){if(X&16)A($,E,rt,at,R,N,F);else if(X&2&&rt.class!==at.class&&a($,"class",null,at.class,F),X&4&&a($,"style",rt.style,at.style,F),X&8){const Ft=E.dynamicProps;for(let It=0;It{ft&&ar(ft,R,E,C),it&&bn(E,C,R,"updated")},N)},I=(C,E,R,N,F,U,j)=>{for(let $=0;${if(R!==N){for(const $ in N){if(Us($))continue;const X=N[$],z=R[$];X!==z&&$!=="value"&&a(C,$,z,X,j,E.children,F,U,V)}if(R!==Rt)for(const $ in R)!Us($)&&!($ in N)&&a(C,$,R[$],null,j,E.children,F,U,V);"value"in N&&a(C,"value",R.value,N.value)}},L=(C,E,R,N,F,U,j,$,X)=>{const z=E.el=C?C.el:s(""),it=E.anchor=C?C.anchor:s("");let{patchFlag:rt,dynamicChildren:at,slotScopeIds:ft}=E;ft&&($=$?$.concat(ft):ft),C==null?(n(z,R,N),n(it,R,N),M(E.children,R,it,F,U,j,$,X)):rt>0&&rt&64&&at&&C.dynamicChildren?(I(C.dynamicChildren,at,R,F,U,j,$),(E.key!=null||F&&E===F.subTree)&&A0(C,E,!0)):Z(C,E,R,it,F,U,j,$,X)},O=(C,E,R,N,F,U,j,$,X)=>{E.slotScopeIds=$,C==null?E.shapeFlag&512?F.ctx.activate(E,R,N,j,X):H(E,R,N,F,U,j,X):B(C,E,X)},H=(C,E,R,N,F,U,j)=>{const $=C.component=Zx(C,N,F);if(ql(C)&&($.ctx.renderer=ut),jx($),$.asyncDep){if(F&&F.registerDep($,Q),!C.el){const X=$.subTree=ie(Pe);m(null,X,E,R)}return}Q($,C,E,R,F,U,j)},B=(C,E,R)=>{const N=E.component=C.component;if(ax(C,E,R))if(N.asyncDep&&!N.asyncResolved){G(N,E,R);return}else N.next=E,Qb(N.update),N.update();else E.component=C.component,E.el=C.el,N.vnode=E},Q=(C,E,R,N,F,U,j)=>{const $=()=>{if(C.isMounted){let{next:it,bu:rt,u:at,parent:ft,vnode:wt}=C,Ft=it,It;xn(C,!1),it?(it.el=wt.el,G(C,it,j)):it=wt,rt&&Ys(rt),(It=it.props&&it.props.onVnodeBeforeUpdate)&&ar(It,ft,it,wt),xn(C,!0);const Nt=Du(C),qe=C.subTree;C.subTree=Nt,g(qe,Nt,c(qe.el),tt(qe),C,F,U),it.el=Nt.el,Ft===null&&Gh(C,Nt.el),at&&pe(at,F),(It=it.props&&it.props.onVnodeUpdated)&&pe(()=>ar(It,ft,it,wt),F)}else{let it;const{el:rt,props:at}=E,{bm:ft,m:wt,parent:Ft}=C,It=ic(E);if(xn(C,!1),ft&&Ys(ft),!It&&(it=at&&at.onVnodeBeforeMount)&&ar(it,Ft,E),xn(C,!0),rt&&K){const Nt=()=>{C.subTree=Du(C),K(rt,C.subTree,C,F,null)};It?E.type.__asyncLoader().then(()=>!C.isUnmounted&&Nt()):Nt()}else{const Nt=C.subTree=Du(C);g(null,Nt,R,N,C,F,U),E.el=Nt.el}if(wt&&pe(wt,F),!It&&(it=at&&at.onVnodeMounted)){const Nt=E;pe(()=>ar(it,Ft,Nt),F)}E.shapeFlag&256&&C.a&&pe(C.a,F),C.isMounted=!0,E=R=N=null}},X=C.effect=new Lh($,()=>i0(C.update),C.scope),z=C.update=X.run.bind(X);z.id=C.uid,xn(C,!0),z()},G=(C,E,R)=>{E.component=C;const N=C.vnode.props;C.vnode=E,C.next=null,Rx(C,E.props,N,R),Bx(C,E.children,R),ha(),Vh(void 0,C.update),va()},Z=(C,E,R,N,F,U,j,$,X=!1)=>{const z=C&&C.children,it=C?C.shapeFlag:0,rt=E.children,{patchFlag:at,shapeFlag:ft}=E;if(at>0){if(at&128){_t(z,rt,R,N,F,U,j,$,X);return}else if(at&256){lt(z,rt,R,N,F,U,j,$,X);return}}ft&8?(it&16&&V(z,F,U),rt!==z&&f(R,rt)):it&16?ft&16?_t(z,rt,R,N,F,U,j,$,X):V(z,F,U,!0):(it&8&&f(R,""),ft&16&&M(rt,R,N,F,U,j,$,X))},lt=(C,E,R,N,F,U,j,$,X)=>{C=C||Yi,E=E||Yi;const z=C.length,it=E.length,rt=Math.min(z,it);let at;for(at=0;atit?V(C,F,U,!0,!1,rt):M(E,R,N,F,U,j,$,X,rt)},_t=(C,E,R,N,F,U,j,$,X)=>{let z=0;const it=E.length;let rt=C.length-1,at=it-1;for(;z<=rt&&z<=at;){const ft=C[z],wt=E[z]=X?nn(E[z]):Je(E[z]);if(fr(ft,wt))g(ft,wt,R,null,F,U,j,$,X);else break;z++}for(;z<=rt&&z<=at;){const ft=C[rt],wt=E[at]=X?nn(E[at]):Je(E[at]);if(fr(ft,wt))g(ft,wt,R,null,F,U,j,$,X);else break;rt--,at--}if(z>rt){if(z<=at){const ft=at+1,wt=ftat)for(;z<=rt;)pt(C[z],F,U,!0),z++;else{const ft=z,wt=z,Ft=new Map;for(z=wt;z<=at;z++){const be=E[z]=X?nn(E[z]):Je(E[z]);be.key!=null&&Ft.set(be.key,z)}let It,Nt=0;const qe=at-wt+1;let mi=!1,od=0;const Sa=new Array(qe);for(z=0;z=qe){pt(be,F,U,!0);continue}let ir;if(be.key!=null)ir=Ft.get(be.key);else for(It=wt;It<=at;It++)if(Sa[It-wt]===0&&fr(be,E[It])){ir=It;break}ir===void 0?pt(be,F,U,!0):(Sa[ir-wt]=z+1,ir>=od?od=ir:mi=!0,g(be,E[ir],R,null,F,U,j,$,X),Nt++)}const sd=mi?Vx(Sa):Yi;for(It=sd.length-1,z=qe-1;z>=0;z--){const be=wt+z,ir=E[be],ld=be+1{const{el:U,type:j,transition:$,children:X,shapeFlag:z}=C;if(z&6){yt(C.component.subTree,E,R,N);return}if(z&128){C.suspense.move(E,R,N);return}if(z&64){j.move(C,E,R,ut);return}if(j===ze){n(U,E,R);for(let rt=0;rt$.enter(U),F);else{const{leave:rt,delayLeave:at,afterLeave:ft}=$,wt=()=>n(U,E,R),Ft=()=>{rt(U,()=>{wt(),ft&&ft()})};at?at(U,wt,Ft):Ft()}else n(U,E,R)},pt=(C,E,R,N=!1,F=!1)=>{const{type:U,props:j,ref:$,children:X,dynamicChildren:z,shapeFlag:it,patchFlag:rt,dirs:at}=C;if($!=null&&lc($,null,R,C,!0),it&256){E.ctx.deactivate(C);return}const ft=it&1&&at,wt=!ic(C);let Ft;if(wt&&(Ft=j&&j.onVnodeBeforeUnmount)&&ar(Ft,E,C),it&6)W(C.component,R,N);else{if(it&128){C.suspense.unmount(R,N);return}ft&&bn(C,null,E,"beforeUnmount"),it&64?C.type.remove(C,E,R,F,ut,N):z&&(U!==ze||rt>0&&rt&64)?V(z,E,R,!1,!0):(U===ze&&rt&384||!F&&it&16)&&V(X,E,R),N&&At(C)}(wt&&(Ft=j&&j.onVnodeUnmounted)||ft)&&pe(()=>{Ft&&ar(Ft,E,C),ft&&bn(C,null,E,"unmounted")},R)},At=C=>{const{type:E,el:R,anchor:N,transition:F}=C;if(E===ze){k(R,N);return}if(E===qs){b(C);return}const U=()=>{i(R),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(C.shapeFlag&1&&F&&!F.persisted){const{leave:j,delayLeave:$}=F,X=()=>j(R,U);$?$(C.el,U,X):X()}else U()},k=(C,E)=>{let R;for(;C!==E;)R=h(C),i(C),C=R;i(E)},W=(C,E,R)=>{const{bum:N,scope:F,update:U,subTree:j,um:$}=C;N&&Ys(N),F.stop(),U&&(U.active=!1,pt(j,C,E,R)),$&&pe($,E),pe(()=>{C.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},V=(C,E,R,N=!1,F=!1,U=0)=>{for(let j=U;jC.shapeFlag&6?tt(C.component.subTree):C.shapeFlag&128?C.suspense.next():h(C.anchor||C.el),vt=(C,E,R)=>{C==null?E._vnode&&pt(E._vnode,null,null,!0):g(E._vnode||null,C,E,null,null,null,R),l0(),E._vnode=C},ut={p:g,um:pt,m:yt,r:At,mt:H,mc:M,pc:Z,pbc:I,n:tt,o:t};let Y,K;return e&&([Y,K]=e(ut)),{render:vt,hydrate:Y,createApp:Fx(vt,Y)}}function xn({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function A0(t,e,r=!1){const n=t.children,i=e.children;if(ot(n)&&ot(i))for(let a=0;a>1,t[r[s]]0&&(e[n]=r[a-1]),r[a]=n)}}for(a=r.length,o=r[a-1];a-- >0;)r[a]=o,o=e[o];return r}const $x=t=>t.__isTeleport,Xh="components";function tN(t,e){return I0(Xh,t,!0,e)||t}const P0=Symbol();function eN(t){return qt(t)?I0(Xh,t,!1)||t:t||P0}function I0(t,e,r=!0,n=!1){const i=Me||Zt;if(i){const a=i.type;if(t===Xh){const s=eC(a);if(s&&(s===e||s===gr(e)||s===Ul(gr(e))))return a}const o=Dd(i[t]||a[t],e)||Dd(i.appContext[t],e);return!o&&n?a:o}}function Dd(t,e){return t&&(t[e]||t[gr(e)]||t[Ul(gr(e))])}const ze=Symbol(void 0),qh=Symbol(void 0),Pe=Symbol(void 0),qs=Symbol(void 0),io=[];let cn=null;function Kh(t=!1){io.push(cn=t?null:[])}function E0(){io.pop(),cn=io[io.length-1]||null}let Mo=1;function Ad(t){Mo+=t}function L0(t){return t.dynamicChildren=Mo>0?cn||Yi:null,E0(),Mo>0&&cn&&cn.push(t),t}function rN(t,e,r,n,i,a){return L0(k0(t,e,r,n,i,a,!0))}function R0(t,e,r,n,i){return L0(ie(t,e,r,n,i,!0))}function Do(t){return t?t.__v_isVNode===!0:!1}function fr(t,e){return t.type===e.type&&t.key===e.key}const Zl="__vInternal",O0=({key:t})=>t!=null?t:null,Ks=({ref:t,ref_key:e,ref_for:r})=>t!=null?qt(t)||Gt(t)||ht(t)?{i:Me,r:t,k:e,f:!!r}:t:null;function k0(t,e=null,r=null,n=0,i=null,a=t===ze?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&O0(e),ref:e&&Ks(e),scopeId:Xl,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(Zh(l,r),a&128&&t.normalize(l)):r&&(l.shapeFlag|=qt(r)?8:16),Mo>0&&!o&&cn&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&cn.push(l),l}const ie=Gx;function Gx(t,e=null,r=null,n=0,i=null,a=!1){if((!t||t===P0)&&(t=Pe),Do(t)){const s=ra(t,e,!0);return r&&Zh(s,r),s}if(rC(t)&&(t=t.__vccOpts),e){e=Wx(e);let{class:s,style:l}=e;s&&!qt(s)&&(e.class=Ch(s)),Wt(l)&&(Qm(l)&&!ot(l)&&(l=Jt({},l)),e.style=xh(l))}const o=qt(t)?1:ox(t)?128:$x(t)?64:Wt(t)?4:ht(t)?2:0;return k0(t,e,r,n,i,o,a,!0)}function Wx(t){return t?Qm(t)||Zl in t?Jt({},t):t:null}function ra(t,e,r=!1){const{props:n,ref:i,patchFlag:a,children:o}=t,s=e?Yx(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&O0(s),ref:e&&e.ref?r&&i?ot(i)?i.concat(Ks(e)):[i,Ks(e)]:Ks(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ze?a===-1?16:a|16:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ra(t.ssContent),ssFallback:t.ssFallback&&ra(t.ssFallback),el:t.el,anchor:t.anchor}}function Ux(t=" ",e=0){return ie(qh,null,t,e)}function nN(t,e){const r=ie(qs,null,t);return r.staticCount=e,r}function iN(t="",e=!1){return e?(Kh(),R0(Pe,null,t)):ie(Pe,null,t)}function Je(t){return t==null||typeof t=="boolean"?ie(Pe):ot(t)?ie(ze,null,t.slice()):typeof t=="object"?nn(t):ie(qh,null,String(t))}function nn(t){return t.el===null||t.memo?t:ra(t)}function Zh(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ot(e))r=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Zh(t,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!(Zl in e)?e._ctx=Me:i===3&&Me&&(Me.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ht(e)?(e={default:e,_ctx:Me},r=32):(e=String(e),n&64?(r=16,e=[Ux(e)]):r=8);t.children=e,t.shapeFlag|=r}function Yx(...t){const e={};for(let r=0;re(o,s,void 0,a&&a[s]));else{const o=Object.keys(t);i=new Array(o.length);for(let s=0,l=o.length;sDo(e)?!(e.type===Pe||e.type===ze&&!B0(e.children)):!0)?t:null}const uc=t=>t?N0(t)?jh(t)||t.proxy:uc(t.parent):null,pl=Jt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>uc(t.parent),$root:t=>uc(t.root),$emit:t=>t.emit,$options:t=>S0(t),$forceUpdate:t=>()=>i0(t.update),$nextTick:t=>Hh.bind(t.proxy),$watch:t=>vx.bind(t)}),Xx={get({_:t},e){const{ctx:r,setupState:n,data:i,props:a,accessCache:o,type:s,appContext:l}=t;let u;if(e[0]!=="$"){const v=o[e];if(v!==void 0)switch(v){case 1:return n[e];case 2:return i[e];case 4:return r[e];case 3:return a[e]}else{if(n!==Rt&&bt(n,e))return o[e]=1,n[e];if(i!==Rt&&bt(i,e))return o[e]=2,i[e];if((u=t.propsOptions[0])&&bt(u,e))return o[e]=3,a[e];if(r!==Rt&&bt(r,e))return o[e]=4,r[e];ac&&(o[e]=0)}}const f=pl[e];let c,h;if(f)return e==="$attrs"&&Ae(t,"get",e),f(t);if((c=s.__cssModules)&&(c=c[e]))return c;if(r!==Rt&&bt(r,e))return o[e]=4,r[e];if(h=l.config.globalProperties,bt(h,e))return h[e]},set({_:t},e,r){const{data:n,setupState:i,ctx:a}=t;return i!==Rt&&bt(i,e)?(i[e]=r,!0):n!==Rt&&bt(n,e)?(n[e]=r,!0):bt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(a[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:i,propsOptions:a}},o){let s;return!!r[o]||t!==Rt&&bt(t,o)||e!==Rt&&bt(e,o)||(s=a[0])&&bt(s,o)||bt(n,o)||bt(pl,o)||bt(i.config.globalProperties,o)},defineProperty(t,e,r){return r.get!=null?this.set(t,e,r.get(),null):r.value!=null&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}},qx=D0();let Kx=0;function Zx(t,e,r){const n=t.type,i=(e?e.appContext:t.appContext)||qx,a={uid:Kx++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:x0(n,i),emitsOptions:f0(n,i),emit:null,emitted:null,propsDefaults:Rt,inheritAttrs:n.inheritAttrs,ctx:Rt,data:Rt,props:Rt,attrs:Rt,slots:Rt,refs:Rt,setupState:Rt,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=e?e.root:a,a.emit=tx.bind(null,a),t.ce&&t.ce(a),a}let Zt=null;const jl=()=>Zt||Me,mn=t=>{Zt=t,t.scope.on()},hn=()=>{Zt&&Zt.scope.off(),Zt=null};function N0(t){return t.vnode.shapeFlag&4}let Ao=!1;function jx(t,e=!1){Ao=e;const{props:r,children:n}=t.vnode,i=N0(t);Lx(t,r,i,e),kx(t,n);const a=i?Qx(t,e):void 0;return Ao=!1,a}function Qx(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=ea(new Proxy(t.ctx,Xx));const{setup:n}=r;if(n){const i=t.setupContext=n.length>1?tC(t):null;mn(t),ha();const a=fn(n,t,0,[t.props,i]);if(va(),hn(),Ph(a)){if(a.then(hn,hn),e)return a.then(o=>{fc(t,o,e)}).catch(o=>{Xo(o,t,0)});t.asyncDep=a}else fc(t,a,e)}else F0(t,e)}function fc(t,e,r){ht(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Wt(e)&&(t.setupState=r0(e)),F0(t,r)}let Pd;function F0(t,e,r){const n=t.type;if(!t.render){if(!e&&Pd&&!n.render){const i=n.template;if(i){const{isCustomElement:a,compilerOptions:o}=t.appContext.config,{delimiters:s,compilerOptions:l}=n,u=Jt(Jt({isCustomElement:a,delimiters:s},o),l);n.render=Pd(i,u)}}t.render=n.render||rr}mn(t),ha(),Dx(t),va(),hn()}function Jx(t){return new Proxy(t.attrs,{get(e,r){return Ae(t,"get","$attrs"),e[r]}})}function tC(t){const e=n=>{t.exposed=n||{}};let r;return{get attrs(){return r||(r=Jx(t))},slots:t.slots,emit:t.emit,expose:e}}function jh(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(r0(ea(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in pl)return pl[r](t)}}))}function eC(t){return ht(t)&&t.displayName||t.name}function rC(t){return ht(t)&&"__vccOpts"in t}const tr=(t,e)=>Kb(t,e,Ao);function sN(t){const e=jl();let r=t();return hn(),Ph(r)&&(r=r.catch(n=>{throw mn(e),n})),[r,()=>mn(e)]}function Qh(t,e,r){const n=arguments.length;return n===2?Wt(e)&&!ot(e)?Do(e)?ie(t,null,[e]):ie(t,e):ie(t,null,e):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Do(r)&&(r=[r]),ie(t,e,r))}const nC="3.2.31",iC="http://www.w3.org/2000/svg",Zn=typeof document!="undefined"?document:null,Id=Zn&&Zn.createElement("template"),aC={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const i=e?Zn.createElementNS(iC,t):Zn.createElement(t,r?{is:r}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Zn.createTextNode(t),createComment:t=>Zn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Zn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,r,n,i,a){const o=r?r.previousSibling:e.lastChild;if(i&&(i===a||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{Id.innerHTML=n?`${t}`:t;const s=Id.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}e.insertBefore(s,r)}return[o?o.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function oC(t,e,r){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}function sC(t,e,r){const n=t.style,i=qt(r);if(r&&!i){for(const a in r)cc(n,a,r[a]);if(e&&!qt(e))for(const a in e)r[a]==null&&cc(n,a,"")}else{const a=n.display;i?e!==r&&(n.cssText=r):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=a)}}const Ed=/\s*!important$/;function cc(t,e,r){if(ot(r))r.forEach(n=>cc(t,e,n));else if(e.startsWith("--"))t.setProperty(e,r);else{const n=lC(t,e);Ed.test(r)?t.setProperty(ca(n),r.replace(Ed,""),"important"):t[n]=r}}const Ld=["Webkit","Moz","ms"],Pu={};function lC(t,e){const r=Pu[e];if(r)return r;let n=gr(e);if(n!=="filter"&&n in t)return Pu[e]=n;n=Ul(n);for(let i=0;idocument.createEvent("Event").timeStamp&&(gl=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);z0=!!(t&&Number(t[1])<=53)}let hc=0;const cC=Promise.resolve(),hC=()=>{hc=0},vC=()=>hc||(cC.then(hC),hc=gl());function Dr(t,e,r,n){t.addEventListener(e,r,n)}function dC(t,e,r,n){t.removeEventListener(e,r,n)}function pC(t,e,r,n,i=null){const a=t._vei||(t._vei={}),o=a[e];if(n&&o)o.value=n;else{const[s,l]=gC(e);if(n){const u=a[e]=yC(n,i);Dr(t,s,u,l)}else o&&(dC(t,s,o,l),a[e]=void 0)}}const Od=/(?:Once|Passive|Capture)$/;function gC(t){let e;if(Od.test(t)){e={};let r;for(;r=t.match(Od);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[ca(t.slice(2)),e]}function yC(t,e){const r=n=>{const i=n.timeStamp||gl();(z0||i>=r.attached-1)&&Ue(mC(n,r.value),e,5,[n])};return r.value=t,r.attached=vC(),r}function mC(t,e){if(ot(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const kd=/^on[a-z]/,_C=(t,e,r,n,i=!1,a,o,s,l)=>{e==="class"?oC(t,n,i):e==="style"?sC(t,r,n):$l(e)?Mh(e)||pC(t,e,r,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):wC(t,e,n,i))?fC(t,e,n,a,o,s,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),uC(t,e,n,i))};function wC(t,e,r,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&kd.test(e)&&ht(r)):e==="spellcheck"||e==="draggable"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||kd.test(e)&&qt(r)?!1:e in t}const $r="transition",ba="animation",H0=(t,{slots:e})=>Qh(v0,SC(t),e);H0.displayName="Transition";const V0={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};H0.props=Jt({},v0.props,V0);const Cn=(t,e=[])=>{ot(t)?t.forEach(r=>r(...e)):t&&t(...e)},Bd=t=>t?ot(t)?t.some(e=>e.length>1):t.length>1:!1;function SC(t){const e={};for(const A in t)A in V0||(e[A]=t[A]);if(t.css===!1)return e;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:f=s,leaveFromClass:c=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:v=`${r}-leave-to`}=t,d=bC(i),y=d&&d[0],g=d&&d[1],{onBeforeEnter:p,onEnter:m,onEnterCancelled:_,onLeave:w,onLeaveCancelled:b,onBeforeAppear:S=p,onAppear:x=m,onAppearCancelled:T=_}=e,M=(A,L,O)=>{_i(A,L?f:s),_i(A,L?u:o),O&&O()},D=(A,L)=>{_i(A,v),_i(A,h),L&&L()},I=A=>(L,O)=>{const H=A?x:m,B=()=>M(L,A,O);Cn(H,[L,B]),Nd(()=>{_i(L,A?l:a),Gr(L,A?f:s),Bd(H)||Fd(L,n,y,B)})};return Jt(e,{onBeforeEnter(A){Cn(p,[A]),Gr(A,a),Gr(A,o)},onBeforeAppear(A){Cn(S,[A]),Gr(A,l),Gr(A,u)},onEnter:I(!1),onAppear:I(!0),onLeave(A,L){const O=()=>D(A,L);Gr(A,c),TC(),Gr(A,h),Nd(()=>{_i(A,c),Gr(A,v),Bd(w)||Fd(A,n,g,O)}),Cn(w,[A,O])},onEnterCancelled(A){M(A,!1),Cn(_,[A])},onAppearCancelled(A){M(A,!0),Cn(T,[A])},onLeaveCancelled(A){D(A),Cn(b,[A])}})}function bC(t){if(t==null)return null;if(Wt(t))return[Iu(t.enter),Iu(t.leave)];{const e=Iu(t);return[e,e]}}function Iu(t){return ta(t)}function Gr(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t._vtc||(t._vtc=new Set)).add(e)}function _i(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const{_vtc:r}=t;r&&(r.delete(e),r.size||(t._vtc=void 0))}function Nd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let xC=0;function Fd(t,e,r,n){const i=t._endId=++xC,a=()=>{i===t._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=CC(t,e);if(!o)return n();const u=o+"end";let f=0;const c=()=>{t.removeEventListener(u,h),a()},h=v=>{v.target===t&&++f>=l&&c()};setTimeout(()=>{f(r[d]||"").split(", "),i=n($r+"Delay"),a=n($r+"Duration"),o=zd(i,a),s=n(ba+"Delay"),l=n(ba+"Duration"),u=zd(s,l);let f=null,c=0,h=0;e===$r?o>0&&(f=$r,c=o,h=a.length):e===ba?u>0&&(f=ba,c=u,h=l.length):(c=Math.max(o,u),f=c>0?o>u?$r:ba:null,h=f?f===$r?a.length:l.length:0);const v=f===$r&&/\b(transform|all)(,|$)/.test(r[$r+"Property"]);return{type:f,timeout:c,propCount:h,hasTransform:v}}function zd(t,e){for(;t.lengthHd(r)+Hd(t[n])))}function Hd(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function TC(){return document.body.offsetHeight}const _n=t=>{const e=t.props["onUpdate:modelValue"];return ot(e)?r=>Ys(e,r):e};function MC(t){t.target.composing=!0}function Vd(t){const e=t.target;e.composing&&(e.composing=!1,DC(e,"input"))}function DC(t,e){const r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}const lN={created(t,{modifiers:{lazy:e,trim:r,number:n}},i){t._assign=_n(i);const a=n||i.props&&i.props.type==="number";Dr(t,e?"change":"input",o=>{if(o.target.composing)return;let s=t.value;r?s=s.trim():a&&(s=ta(s)),t._assign(s)}),r&&Dr(t,"change",()=>{t.value=t.value.trim()}),e||(Dr(t,"compositionstart",MC),Dr(t,"compositionend",Vd),Dr(t,"change",Vd))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:r,trim:n,number:i}},a){if(t._assign=_n(a),t.composing||document.activeElement===t&&(r||n&&t.value.trim()===e||(i||t.type==="number")&&ta(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},uN={deep:!0,created(t,e,r){t._assign=_n(r),Dr(t,"change",()=>{const n=t._modelValue,i=na(t),a=t.checked,o=t._assign;if(ot(n)){const s=Th(n,i),l=s!==-1;if(a&&!l)o(n.concat(i));else if(!a&&l){const u=[...n];u.splice(s,1),o(u)}}else if(fa(n)){const s=new Set(n);a?s.add(i):s.delete(i),o(s)}else o($0(t,a))})},mounted:$d,beforeUpdate(t,e,r){t._assign=_n(r),$d(t,e,r)}};function $d(t,{value:e,oldValue:r},n){t._modelValue=e,ot(e)?t.checked=Th(e,n.props.value)>-1:fa(e)?t.checked=e.has(n.props.value):e!==r&&(t.checked=oi(e,$0(t,!0)))}const fN={created(t,{value:e},r){t.checked=oi(e,r.props.value),t._assign=_n(r),Dr(t,"change",()=>{t._assign(na(t))})},beforeUpdate(t,{value:e,oldValue:r},n){t._assign=_n(n),e!==r&&(t.checked=oi(e,n.props.value))}},cN={deep:!0,created(t,{value:e,modifiers:{number:r}},n){const i=fa(e);Dr(t,"change",()=>{const a=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>r?ta(na(o)):na(o));t._assign(t.multiple?i?new Set(a):a:a[0])}),t._assign=_n(n)},mounted(t,{value:e}){Gd(t,e)},beforeUpdate(t,e,r){t._assign=_n(r)},updated(t,{value:e}){Gd(t,e)}};function Gd(t,e){const r=t.multiple;if(!(r&&!ot(e)&&!fa(e))){for(let n=0,i=t.options.length;n-1:a.selected=e.has(o);else if(oi(na(a),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function na(t){return"_value"in t?t._value:t.value}function $0(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const AC=["ctrl","shift","alt","meta"],PC={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>AC.some(r=>t[`${r}Key`]&&!e.includes(r))},hN=(t,e)=>(r,...n)=>{for(let i=0;i{xa(t,!1)}):xa(t,e))},beforeUnmount(t,{value:e}){xa(t,e)}};function xa(t,e){t.style.display=e?t._vod:"none"}const IC=Jt({patchProp:_C},aC);let Wd;function G0(){return Wd||(Wd=zx(IC))}const dN=(...t)=>{G0().render(...t)},pN=(...t)=>{const e=G0().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=EC(n);if(!i)return;const a=e._component;!ht(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function EC(t){return qt(t)?document.querySelector(t):t}var LC=!1;/*! +function jh(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const fx="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cx=jh(fx);function P0(e){return!!e||e===""}function Kh(e){if(ot(e)){const t={};for(let r=0;r{if(r){const n=r.split(vx);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Zh(e){let t="";if(Xt(e))t=e;else if(ot(e))for(let r=0;rfi(r,t))}const R5=e=>Xt(e)?e:e==null?"":ot(e)||Ut(e)&&(e.toString===E0||!ht(e.toString))?JSON.stringify(e,I0,2):String(e),I0=(e,t)=>t&&t.__v_isRef?I0(e,t.value):ea(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:wa(t)?{[`Set(${t.size})`]:[...t.values()]}:Ut(t)&&!ot(t)&&!L0(t)?String(t):t,Rt={},ta=[],ar=()=>{},gx=()=>!1,mx=/^on[^a-z]/,ou=e=>mx.test(e),Jh=e=>e.startsWith("onUpdate:"),te=Object.assign,tv=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},yx=Object.prototype.hasOwnProperty,St=(e,t)=>yx.call(e,t),ot=Array.isArray,ea=e=>su(e)==="[object Map]",wa=e=>su(e)==="[object Set]",Gd=e=>e instanceof Date,ht=e=>typeof e=="function",Xt=e=>typeof e=="string",ev=e=>typeof e=="symbol",Ut=e=>e!==null&&typeof e=="object",rv=e=>Ut(e)&&ht(e.then)&&ht(e.catch),E0=Object.prototype.toString,su=e=>E0.call(e),_x=e=>su(e).slice(8,-1),L0=e=>su(e)==="[object Object]",nv=e=>Xt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,al=jh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lu=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},bx=/-(\w)/g,br=lu(e=>e.replace(bx,(t,r)=>r?r.toUpperCase():"")),Sx=/\B([A-Z])/g,ba=lu(e=>e.replace(Sx,"-$1").toLowerCase()),uu=lu(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yu=lu(e=>e?`on${uu(e)}`:""),Po=(e,t)=>!Object.is(e,t),ol=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ua=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ud;const xx=()=>Ud||(Ud=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ar;class R0{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ar&&(this.parent=Ar,this.index=(Ar.scopes||(Ar.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Ar=this,t()}finally{Ar=this.parent}}on(){Ar=this}off(){Ar=this.parent}stop(t){if(this.active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},k0=e=>(e.w&bn)>0,B0=e=>(e.n&bn)>0,Cx=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(u==="length"||u>=n)&&s.push(l)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":ot(e)?nv(r)&&s.push(o.get("length")):(s.push(o.get(ai)),ea(e)&&s.push(o.get(Sc)));break;case"delete":ot(e)||(s.push(o.get(ai)),ea(e)&&s.push(o.get(Sc)));break;case"set":ea(e)&&s.push(o.get(ai));break}if(s.length===1)s[0]&&xc(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);xc(iv(l))}}function xc(e,t){for(const r of ot(e)?e:[...e])(r!==gr||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const Mx=jh("__proto__,__v_isRef,__isVue"),z0=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(ev)),Ax=ov(),Px=ov(!1,!0),Ix=ov(!0),Yd=Ex();function Ex(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=xt(this);for(let a=0,o=this.length;a{e[t]=function(...r){Sa();const n=xt(this)[t].apply(this,r);return xa(),n}}),e}function ov(e=!1,t=!1){return function(n,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?qx:U0:t?G0:V0).get(n))return n;const o=ot(n);if(!e&&o&&St(Yd,i))return Reflect.get(Yd,i,a);const s=Reflect.get(n,i,a);return(ev(i)?z0.has(i):Mx(i))||(e||Ee(n,"get",i),t)?s:Gt(s)?!o||!nv(i)?s.value:s:Ut(s)?e?W0(s):yi(s):s}}const Lx=H0(),Rx=H0(!0);function H0(e=!1){return function(r,n,i,a){let o=r[n];if(Io(o)&&Gt(o)&&!Gt(i))return!1;if(!e&&!Io(i)&&(Y0(i)||(i=xt(i),o=xt(o)),!ot(r)&&Gt(o)&&!Gt(i)))return o.value=i,!0;const s=ot(r)&&nv(n)?Number(n)e,fu=e=>Reflect.getPrototypeOf(e);function ds(e,t,r=!1,n=!1){e=e.__v_raw;const i=xt(e),a=xt(t);t!==a&&!r&&Ee(i,"get",t),!r&&Ee(i,"get",a);const{has:o}=fu(i),s=n?sv:r?fv:Eo;if(o.call(i,t))return s(e.get(t));if(o.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function ps(e,t=!1){const r=this.__v_raw,n=xt(r),i=xt(e);return e!==i&&!t&&Ee(n,"has",e),!t&&Ee(n,"has",i),e===i?r.has(e):r.has(e)||r.has(i)}function gs(e,t=!1){return e=e.__v_raw,!t&&Ee(xt(e),"iterate",ai),Reflect.get(e,"size",e)}function qd(e){e=xt(e);const t=xt(this);return fu(t).has.call(t,e)||(t.add(e),Nr(t,"add",e,e)),this}function Xd(e,t){t=xt(t);const r=xt(this),{has:n,get:i}=fu(r);let a=n.call(r,e);a||(e=xt(e),a=n.call(r,e));const o=i.call(r,e);return r.set(e,t),a?Po(t,o)&&Nr(r,"set",e,t):Nr(r,"add",e,t),this}function jd(e){const t=xt(this),{has:r,get:n}=fu(t);let i=r.call(t,e);i||(e=xt(e),i=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return i&&Nr(t,"delete",e,void 0),a}function Kd(){const e=xt(this),t=e.size!==0,r=e.clear();return t&&Nr(e,"clear",void 0,void 0),r}function ms(e,t){return function(n,i){const a=this,o=a.__v_raw,s=xt(o),l=t?sv:e?fv:Eo;return!e&&Ee(s,"iterate",ai),o.forEach((u,f)=>n.call(i,l(u),l(f),a))}}function ys(e,t,r){return function(...n){const i=this.__v_raw,a=xt(i),o=ea(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...n),f=r?sv:t?fv:Eo;return!t&&Ee(a,"iterate",l?Sc:ai),{next(){const{value:c,done:v}=u.next();return v?{value:c,done:v}:{value:s?[f(c[0]),f(c[1])]:f(c),done:v}},[Symbol.iterator](){return this}}}}function Wr(e){return function(...t){return e==="delete"?!1:this}}function zx(){const e={get(a){return ds(this,a)},get size(){return gs(this)},has:ps,add:qd,set:Xd,delete:jd,clear:Kd,forEach:ms(!1,!1)},t={get(a){return ds(this,a,!1,!0)},get size(){return gs(this)},has:ps,add:qd,set:Xd,delete:jd,clear:Kd,forEach:ms(!1,!0)},r={get(a){return ds(this,a,!0)},get size(){return gs(this,!0)},has(a){return ps.call(this,a,!0)},add:Wr("add"),set:Wr("set"),delete:Wr("delete"),clear:Wr("clear"),forEach:ms(!0,!1)},n={get(a){return ds(this,a,!0,!0)},get size(){return gs(this,!0)},has(a){return ps.call(this,a,!0)},add:Wr("add"),set:Wr("set"),delete:Wr("delete"),clear:Wr("clear"),forEach:ms(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=ys(a,!1,!1),r[a]=ys(a,!0,!1),t[a]=ys(a,!1,!0),n[a]=ys(a,!0,!0)}),[e,r,t,n]}const[Hx,$x,Vx,Gx]=zx();function lv(e,t){const r=t?e?Gx:Vx:e?$x:Hx;return(n,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(St(r,i)&&i in n?r:n,i,a)}const Ux={get:lv(!1,!1)},Wx={get:lv(!1,!0)},Yx={get:lv(!0,!1)},V0=new WeakMap,G0=new WeakMap,U0=new WeakMap,qx=new WeakMap;function Xx(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jx(e){return e.__v_skip||!Object.isExtensible(e)?0:Xx(_x(e))}function yi(e){return Io(e)?e:uv(e,!1,$0,Ux,V0)}function Kx(e){return uv(e,!1,Fx,Wx,G0)}function W0(e){return uv(e,!0,Nx,Yx,U0)}function uv(e,t,r,n,i){if(!Ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=jx(e);if(o===0)return e;const s=new Proxy(e,o===2?n:r);return i.set(e,s),s}function vn(e){return Io(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function Io(e){return!!(e&&e.__v_isReadonly)}function Y0(e){return!!(e&&e.__v_isShallow)}function q0(e){return vn(e)||Io(e)}function xt(e){const t=e&&e.__v_raw;return t?xt(t):e}function fa(e){return Ml(e,"__v_skip",!0),e}const Eo=e=>Ut(e)?yi(e):e,fv=e=>Ut(e)?W0(e):e;function X0(e){hn&&gr&&(e=xt(e),F0(e.dep||(e.dep=iv())))}function j0(e,t){e=xt(e),e.dep&&xc(e.dep)}function Gt(e){return!!(e&&e.__v_isRef===!0)}function ca(e){return K0(e,!1)}function Zx(e){return K0(e,!0)}function K0(e,t){return Gt(e)?e:new Qx(e,t)}class Qx{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:xt(t),this._value=r?t:Eo(t)}get value(){return X0(this),this._value}set value(t){t=this.__v_isShallow?t:xt(t),Po(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Eo(t),j0(this))}}function uo(e){return Gt(e)?e.value:e}const Jx={get:(e,t,r)=>uo(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return Gt(i)&&!Gt(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function Z0(e){return vn(e)?e:new Proxy(e,Jx)}function tT(e){const t=ot(e)?new Array(e.length):{};for(const r in e)t[r]=rT(e,r);return t}class eT{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function rT(e,t,r){const n=e[t];return Gt(n)?n:new eT(e,t,r)}class nT{constructor(t,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new av(t,()=>{this._dirty||(this._dirty=!0,j0(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=xt(this);return X0(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function iT(e,t,r=!1){let n,i;const a=ht(e);return a?(n=e,i=ar):(n=e.get,i=e.set),new nT(n,i,a||!i,r)}Promise.resolve();function dn(e,t,r,n){let i;try{i=n?e(...n):e()}catch(a){rs(a,t,r)}return i}function je(e,t,r,n){if(ht(e)){const a=dn(e,t,r,n);return a&&rv(a)&&a.catch(o=>{rs(o,t,r)}),a}const i=[];for(let a=0;a>>1;Lo(De[n])Er&&De.splice(t,1)}function e_(e,t,r,n){ot(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?n+1:n))&&r.push(e),t_()}function lT(e){e_(e,eo,fo,Ui)}function r_(e){e_(e,an,co,Wi)}function vv(e,t=null){if(fo.length){for(Cc=t,eo=[...new Set(fo)],fo.length=0,Ui=0;UiLo(r)-Lo(n)),Wi=0;Wie.id==null?1/0:e.id;function i_(e){Tc=!1,Al=!0,vv(e),De.sort((r,n)=>Lo(r)-Lo(n));const t=ar;try{for(Er=0;Erh.trim()):c&&(i=r.map(ua))}let s,l=n[s=Yu(t)]||n[s=Yu(br(t))];!l&&a&&(l=n[s=Yu(ba(t))]),l&&je(l,e,6,i);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,je(u,e,6,i)}}function a_(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!ht(e)){const l=u=>{const f=a_(u,t,!0);f&&(s=!0,te(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(n.set(e,null),null):(ot(a)?a.forEach(l=>o[l]=null):te(o,a),n.set(e,o),o)}function dv(e,t){return!e||!ou(t)?!1:(t=t.slice(2).replace(/Once$/,""),St(e,t[0].toLowerCase()+t.slice(1))||St(e,ba(t))||St(e,t))}let Pe=null,cu=null;function Pl(e){const t=Pe;return Pe=e,cu=e&&e.type.__scopeId||null,t}function O5(e){cu=e}function k5(){cu=null}function fT(e,t=Pe,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&lp(-1);const a=Pl(t),o=e(...i);return Pl(a),n._d&&lp(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function qu(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:c,data:v,setupState:h,ctx:d,inheritAttrs:m}=e;let g,p;const y=Pl(e);try{if(r.shapeFlag&4){const w=i||n;g=nr(f.call(w,w,c,a,h,v,d)),p=l}else{const w=t;g=nr(w.length>1?w(a,{attrs:l,slots:s,emit:u}):w(a,null)),p=t.props?l:hT(l)}}catch(w){ho.length=0,rs(w,e,1),g=oe(Le)}let _=g;if(p&&m!==!1){const w=Object.keys(p),{shapeFlag:S}=_;w.length&&S&7&&(o&&w.some(Jh)&&(p=vT(p,o)),_=ha(_,p))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),g=_,Pl(y),g}function cT(e){let t;for(let r=0;r{let t;for(const r in e)(r==="class"||r==="style"||ou(r))&&((t||(t={}))[r]=e[r]);return t},vT=(e,t)=>{const r={};for(const n in e)(!Jh(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function dT(e,t,r){const{props:n,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?Zd(n,o,u):!!o;if(l&8){const f=t.dynamicProps;for(let c=0;ce.__isSuspense,gT={name:"Suspense",__isSuspense:!0,process(e,t,r,n,i,a,o,s,l,u){e==null?mT(t,r,n,i,a,o,s,l,u):yT(e,t,r,n,i,o,s,l,u)},hydrate:_T,create:gv,normalize:wT},B5=gT;function Ro(e,t){const r=e.props&&e.props[t];ht(r)&&r()}function mT(e,t,r,n,i,a,o,s,l){const{p:u,o:{createElement:f}}=l,c=f("div"),v=e.suspense=gv(e,i,n,t,c,r,a,o,s,l);u(null,v.pendingBranch=e.ssContent,c,null,n,v,a,o),v.deps>0?(Ro(e,"onPending"),Ro(e,"onFallback"),u(null,e.ssFallback,t,r,n,null,a,o),ra(v,e.ssFallback)):v.resolve()}function yT(e,t,r,n,i,a,o,s,{p:l,um:u,o:{createElement:f}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const v=t.ssContent,h=t.ssFallback,{activeBranch:d,pendingBranch:m,isInFallback:g,isHydrating:p}=c;if(m)c.pendingBranch=v,dr(v,m)?(l(m,v,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0?c.resolve():g&&(l(d,h,r,n,i,null,a,o,s),ra(c,h))):(c.pendingId++,p?(c.isHydrating=!1,c.activeBranch=m):u(m,i,c),c.deps=0,c.effects.length=0,c.hiddenContainer=f("div"),g?(l(null,v,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0?c.resolve():(l(d,h,r,n,i,null,a,o,s),ra(c,h))):d&&dr(v,d)?(l(d,v,r,n,i,c,a,o,s),c.resolve(!0)):(l(null,v,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0&&c.resolve()));else if(d&&dr(v,d))l(d,v,r,n,i,c,a,o,s),ra(c,v);else if(Ro(t,"onPending"),c.pendingBranch=v,c.pendingId++,l(null,v,c.hiddenContainer,null,i,c,a,o,s),c.deps<=0)c.resolve();else{const{timeout:y,pendingId:_}=c;y>0?setTimeout(()=>{c.pendingId===_&&c.fallback(h)},y):y===0&&c.fallback(h)}}function gv(e,t,r,n,i,a,o,s,l,u,f=!1){const{p:c,m:v,um:h,n:d,o:{parentNode:m,remove:g}}=u,p=ua(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:r,isSVG:o,container:n,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(_=!1){const{vnode:w,activeBranch:S,pendingBranch:b,pendingId:x,effects:C,parentComponent:D,container:M}=y;if(y.isHydrating)y.isHydrating=!1;else if(!_){const L=S&&b.transition&&b.transition.mode==="out-in";L&&(S.transition.afterLeave=()=>{x===y.pendingId&&v(b,M,O,0)});let{anchor:O}=y;S&&(O=d(S),h(S,D,y,!0)),L||v(b,M,O,0)}ra(y,b),y.pendingBranch=null,y.isInFallback=!1;let I=y.parent,A=!1;for(;I;){if(I.pendingBranch){I.effects.push(...C),A=!0;break}I=I.parent}A||r_(C),y.effects=[],Ro(w,"onResolve")},fallback(_){if(!y.pendingBranch)return;const{vnode:w,activeBranch:S,parentComponent:b,container:x,isSVG:C}=y;Ro(w,"onFallback");const D=d(S),M=()=>{!y.isInFallback||(c(null,_,x,D,b,null,C,s,l),ra(y,_))},I=_.transition&&_.transition.mode==="out-in";I&&(S.transition.afterLeave=M),y.isInFallback=!0,h(S,b,null,!0),I||M()},move(_,w,S){y.activeBranch&&v(y.activeBranch,_,w,S),y.container=_},next(){return y.activeBranch&&d(y.activeBranch)},registerDep(_,w){const S=!!y.pendingBranch;S&&y.deps++;const b=_.vnode.el;_.asyncDep.catch(x=>{rs(x,_,0)}).then(x=>{if(_.isUnmounted||y.isUnmounted||y.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:C}=_;Oc(_,x,!1),b&&(C.el=b);const D=!b&&_.subTree.el;w(_,C,m(b||_.subTree.el),b?null:d(_.subTree),y,o,l),D&&g(D),pv(_,C.el),S&&--y.deps===0&&y.resolve()})},unmount(_,w){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,r,_,w),y.pendingBranch&&h(y.pendingBranch,r,_,w)}};return y}function _T(e,t,r,n,i,a,o,s,l){const u=t.suspense=gv(t,n,r,e.parentNode,document.createElement("div"),null,i,a,o,s,!0),f=l(e,u.pendingBranch=t.ssContent,r,u,a,o);return u.deps===0&&u.resolve(),f}function wT(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=Qd(n?r.default:r),e.ssFallback=n?Qd(r.fallback):oe(Le)}function Qd(e){let t;if(ht(e)){const r=Oo&&e._c;r&&(e._d=!1,xv()),e=e(),r&&(e._d=!0,t=pn,T_())}return ot(e)&&(e=cT(e)),e=nr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function bT(e,t){t&&t.pendingBranch?ot(e)?t.effects.push(...e):t.effects.push(e):r_(e)}function ra(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e,i=r.el=t.el;n&&n.subTree===r&&(n.vnode.el=i,pv(n,i))}function sl(e,t){if(Kt){let r=Kt.provides;const n=Kt.parent&&Kt.parent.provides;n===r&&(r=Kt.provides=Object.create(n)),r[e]=t}}function _r(e,t,r=!1){const n=Kt||Pe;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return r&&ht(t)?t.call(n.proxy):t}}const Jd={};function na(e,t,r){return o_(e,t,r)}function o_(e,t,{immediate:r,deep:n,flush:i,onTrack:a,onTrigger:o}=Rt){const s=Kt;let l,u=!1,f=!1;if(Gt(e)?(l=()=>e.value,u=Y0(e)):vn(e)?(l=()=>e,n=!0):ot(e)?(f=!0,u=e.some(vn),l=()=>e.map(p=>{if(Gt(p))return p.value;if(vn(p))return ri(p);if(ht(p))return dn(p,s,2)})):ht(e)?t?l=()=>dn(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return c&&c(),je(e,s,3,[v])}:l=ar,t&&n){const p=l;l=()=>ri(p())}let c,v=p=>{c=g.onStop=()=>{dn(p,s,4)}};if(Bo)return v=ar,t?r&&je(t,s,3,[l(),f?[]:void 0,v]):l(),ar;let h=f?[]:Jd;const d=()=>{if(!!g.active)if(t){const p=g.run();(n||u||(f?p.some((y,_)=>Po(y,h[_])):Po(p,h)))&&(c&&c(),je(t,s,3,[p,h===Jd?void 0:h,v]),h=p)}else g.run()};d.allowRecurse=!!t;let m;i==="sync"?m=d:i==="post"?m=()=>me(d,s&&s.suspense):m=()=>{!s||s.isMounted?lT(d):d()};const g=new av(l,m);return t?r?d():h=g.run():i==="post"?me(g.run.bind(g),s&&s.suspense):g.run(),()=>{g.stop(),s&&s.scope&&tv(s.scope.effects,g)}}function ST(e,t,r){const n=this.proxy,i=Xt(e)?e.includes(".")?s_(n,e):()=>n[e]:e.bind(n,n);let a;ht(t)?a=t:(a=t.handler,r=t);const o=Kt;Sn(this);const s=o_(i,a.bind(n),r);return o?Sn(o):gn(),s}function s_(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i{ri(r,t)});else if(L0(e))for(const r in e)ri(e[r],t);return e}function xT(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yv(()=>{e.isMounted=!0}),h_(()=>{e.isUnmounting=!0}),e}const ke=[Function,Array],TT={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ke,onEnter:ke,onAfterEnter:ke,onEnterCancelled:ke,onBeforeLeave:ke,onLeave:ke,onAfterLeave:ke,onLeaveCancelled:ke,onBeforeAppear:ke,onAppear:ke,onAfterAppear:ke,onAppearCancelled:ke},setup(e,{slots:t}){const r=ns(),n=xT();let i;return()=>{const a=t.default&&f_(t.default(),!0);if(!a||!a.length)return;const o=xt(e),{mode:s}=o,l=a[0];if(n.isLeaving)return Xu(l);const u=tp(l);if(!u)return Xu(l);const f=Dc(u,o,n,r);Mc(u,f);const c=r.subTree,v=c&&tp(c);let h=!1;const{getTransitionKey:d}=u.type;if(d){const m=d();i===void 0?i=m:m!==i&&(i=m,h=!0)}if(v&&v.type!==Le&&(!dr(u,v)||h)){const m=Dc(v,o,n,r);if(Mc(v,m),s==="out-in")return n.isLeaving=!0,m.afterLeave=()=>{n.isLeaving=!1,r.update()},Xu(l);s==="in-out"&&u.type!==Le&&(m.delayLeave=(g,p,y)=>{const _=u_(n,v);_[String(v.key)]=v,g._leaveCb=()=>{p(),g._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=y})}return l}}},l_=TT;function u_(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Dc(e,t,r,n){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:c,onLeave:v,onAfterLeave:h,onLeaveCancelled:d,onBeforeAppear:m,onAppear:g,onAfterAppear:p,onAppearCancelled:y}=t,_=String(e.key),w=u_(r,e),S=(x,C)=>{x&&je(x,n,9,C)},b={mode:a,persisted:o,beforeEnter(x){let C=s;if(!r.isMounted)if(i)C=m||s;else return;x._leaveCb&&x._leaveCb(!0);const D=w[_];D&&dr(e,D)&&D.el._leaveCb&&D.el._leaveCb(),S(C,[x])},enter(x){let C=l,D=u,M=f;if(!r.isMounted)if(i)C=g||l,D=p||u,M=y||f;else return;let I=!1;const A=x._enterCb=L=>{I||(I=!0,L?S(M,[x]):S(D,[x]),b.delayedLeave&&b.delayedLeave(),x._enterCb=void 0)};C?(C(x,A),C.length<=1&&A()):A()},leave(x,C){const D=String(e.key);if(x._enterCb&&x._enterCb(!0),r.isUnmounting)return C();S(c,[x]);let M=!1;const I=x._leaveCb=A=>{M||(M=!0,C(),A?S(d,[x]):S(h,[x]),x._leaveCb=void 0,w[D]===e&&delete w[D])};w[D]=e,v?(v(x,I),v.length<=1&&I()):I()},clone(x){return Dc(x,t,r,n)}};return b}function Xu(e){if(hu(e))return e=ha(e),e.children=null,e}function tp(e){return hu(e)?e.children?e.children[0]:void 0:e}function Mc(e,t){e.shapeFlag&6&&e.component?Mc(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function f_(e,t=!1){let r=[],n=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,hu=e=>e.type.__isKeepAlive;function CT(e,t){c_(e,"a",t)}function DT(e,t){c_(e,"da",t)}function c_(e,t,r=Kt){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(vu(t,n,r),r){let i=r.parent;for(;i&&i.parent;)hu(i.parent.vnode)&&MT(n,t,r,i),i=i.parent}}function MT(e,t,r,n){const i=vu(t,e,n,!0);_v(()=>{tv(n[t],i)},r)}function vu(e,t,r=Kt,n=!1){if(r){const i=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;Sa(),Sn(r);const s=je(t,r,e,o);return gn(),xa(),s});return n?i.unshift(a):i.push(a),a}}const $r=e=>(t,r=Kt)=>(!Bo||e==="sp")&&vu(e,t,r),AT=$r("bm"),yv=$r("m"),PT=$r("bu"),IT=$r("u"),h_=$r("bum"),_v=$r("um"),ET=$r("sp"),LT=$r("rtg"),RT=$r("rtc");function OT(e,t=Kt){vu("ec",e,t)}let Pc=!0;function kT(e){const t=d_(e),r=e.proxy,n=e.ctx;Pc=!1,t.beforeCreate&&ep(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:f,beforeMount:c,mounted:v,beforeUpdate:h,updated:d,activated:m,deactivated:g,beforeDestroy:p,beforeUnmount:y,destroyed:_,unmounted:w,render:S,renderTracked:b,renderTriggered:x,errorCaptured:C,serverPrefetch:D,expose:M,inheritAttrs:I,components:A,directives:L,filters:O}=t;if(u&&BT(u,n,null,e.appContext.config.unwrapInjectedRef),o)for(const Q in o){const G=o[Q];ht(G)&&(n[Q]=G.bind(r))}if(i){const Q=i.call(r,r);Ut(Q)&&(e.data=yi(Q))}if(Pc=!0,a)for(const Q in a){const G=a[Q],K=ht(G)?G.bind(r,r):ht(G.get)?G.get.bind(r,r):ar,lt=!ht(G)&&ht(G.set)?G.set.bind(r):ar,_t=Me({get:K,set:lt});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>_t.value,set:mt=>_t.value=mt})}if(s)for(const Q in s)v_(s[Q],n,r,Q);if(l){const Q=ht(l)?l.call(r):l;Reflect.ownKeys(Q).forEach(G=>{sl(G,Q[G])})}f&&ep(f,e,"c");function B(Q,G){ot(G)?G.forEach(K=>Q(K.bind(r))):G&&Q(G.bind(r))}if(B(AT,c),B(yv,v),B(PT,h),B(IT,d),B(CT,m),B(DT,g),B(OT,C),B(RT,b),B(LT,x),B(h_,y),B(_v,w),B(ET,D),ot(M))if(M.length){const Q=e.exposed||(e.exposed={});M.forEach(G=>{Object.defineProperty(Q,G,{get:()=>r[G],set:K=>r[G]=K})})}else e.exposed||(e.exposed={});S&&e.render===ar&&(e.render=S),I!=null&&(e.inheritAttrs=I),A&&(e.components=A),L&&(e.directives=L)}function BT(e,t,r=ar,n=!1){ot(e)&&(e=Ic(e));for(const i in e){const a=e[i];let o;Ut(a)?"default"in a?o=_r(a.from||i,a.default,!0):o=_r(a.from||i):o=_r(a),Gt(o)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[i]=o}}function ep(e,t,r){je(ot(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function v_(e,t,r,n){const i=n.includes(".")?s_(r,n):()=>r[n];if(Xt(e)){const a=t[e];ht(a)&&na(i,a)}else if(ht(e))na(i,e.bind(r));else if(Ut(e))if(ot(e))e.forEach(a=>v_(a,t,r,n));else{const a=ht(e.handler)?e.handler.bind(r):t[e.handler];ht(a)&&na(i,a,e)}}function d_(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!r&&!n?l=t:(l={},i.length&&i.forEach(u=>Il(l,u,o,!0)),Il(l,t,o)),a.set(t,l),l}function Il(e,t,r,n=!1){const{mixins:i,extends:a}=t;a&&Il(e,a,r,!0),i&&i.forEach(o=>Il(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const s=NT[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const NT={data:rp,props:Qn,emits:Qn,methods:Qn,computed:Qn,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:Qn,directives:Qn,watch:zT,provide:rp,inject:FT};function rp(e,t){return t?e?function(){return te(ht(e)?e.call(this,this):e,ht(t)?t.call(this,this):t)}:t:e}function FT(e,t){return Qn(Ic(e),Ic(t))}function Ic(e){if(ot(e)){const t={};for(let r=0;r0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let c=0;c{l=!0;const[v,h]=g_(c,t,!0);te(o,v),h&&s.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!a&&!l)return n.set(e,ta),ta;if(ot(a))for(let f=0;f-1,h[1]=m<0||d-1||St(h,"default"))&&s.push(c)}}}const u=[o,s];return n.set(e,u),u}function np(e){return e[0]!=="$"}function ip(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ap(e,t){return ip(e)===ip(t)}function op(e,t){return ot(t)?t.findIndex(r=>ap(r,e)):ht(t)&&ap(t,e)?0:-1}const m_=e=>e[0]==="_"||e==="$stable",wv=e=>ot(e)?e.map(nr):[nr(e)],VT=(e,t,r)=>{const n=fT((...i)=>wv(t(...i)),r);return n._c=!1,n},y_=(e,t,r)=>{const n=e._ctx;for(const i in e){if(m_(i))continue;const a=e[i];if(ht(a))t[i]=VT(i,a,n);else if(a!=null){const o=wv(a);t[i]=()=>o}}},__=(e,t)=>{const r=wv(t);e.slots.default=()=>r},GT=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=xt(t),Ml(t,"_",r)):y_(t,e.slots={})}else e.slots={},t&&__(e,t);Ml(e.slots,du,1)},UT=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,o=Rt;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(te(i,t),!r&&s===1&&delete i._):(a=!t.$stable,y_(t,i)),o=t}else t&&(__(e,t),o={default:1});if(a)for(const s in i)!m_(s)&&!(s in o)&&delete i[s]};function N5(e,t){const r=Pe;if(r===null)return e;const n=r.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;aLc(v,t&&(ot(t)?t[h]:t),r,n,i));return}if(Ac(n)&&!i)return;const a=n.shapeFlag&4?Cv(n.component)||n.component.proxy:n.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,f=s.refs===Rt?s.refs={}:s.refs,c=s.setupState;if(u!=null&&u!==l&&(Xt(u)?(f[u]=null,St(c,u)&&(c[u]=null)):Gt(u)&&(u.value=null)),ht(l))dn(l,s,12,[o,f]);else{const v=Xt(l),h=Gt(l);if(v||h){const d=()=>{if(e.f){const m=v?f[l]:l.value;i?ot(m)&&tv(m,a):ot(m)?m.includes(a)||m.push(a):v?f[l]=[a]:(l.value=[a],e.k&&(f[e.k]=l.value))}else v?(f[l]=o,St(c,l)&&(c[l]=o)):Gt(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(d.id=-1,me(d,r)):d()}}}const me=bT;function qT(e){return XT(e)}function XT(e,t){const r=xx();r.__VUE__=!0;const{insert:n,remove:i,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:f,parentNode:c,nextSibling:v,setScopeId:h=ar,cloneNode:d,insertStaticContent:m}=e,g=(T,E,R,N=null,F=null,W=null,Z=!1,V=null,q=!!E.dynamicChildren)=>{if(T===E)return;T&&!dr(T,E)&&(N=tt(T),pt(T,F,W,!0),T=null),E.patchFlag===-2&&(q=!1,E.dynamicChildren=null);const{type:z,ref:it,shapeFlag:rt}=E;switch(z){case Sv:p(T,E,R,N);break;case Le:y(T,E,R,N);break;case ll:T==null&&_(E,R,N,Z);break;case Ge:L(T,E,R,N,F,W,Z,V,q);break;default:rt&1?b(T,E,R,N,F,W,Z,V,q):rt&6?O(T,E,R,N,F,W,Z,V,q):(rt&64||rt&128)&&z.process(T,E,R,N,F,W,Z,V,q,ut)}it!=null&&F&&Lc(it,T&&T.ref,W,E||T,!E)},p=(T,E,R,N)=>{if(T==null)n(E.el=s(E.children),R,N);else{const F=E.el=T.el;E.children!==T.children&&u(F,E.children)}},y=(T,E,R,N)=>{T==null?n(E.el=l(E.children||""),R,N):E.el=T.el},_=(T,E,R,N)=>{[T.el,T.anchor]=m(T.children,E,R,N,T.el,T.anchor)},w=({el:T,anchor:E},R,N)=>{let F;for(;T&&T!==E;)F=v(T),n(T,R,N),T=F;n(E,R,N)},S=({el:T,anchor:E})=>{let R;for(;T&&T!==E;)R=v(T),i(T),T=R;i(E)},b=(T,E,R,N,F,W,Z,V,q)=>{Z=Z||E.type==="svg",T==null?x(E,R,N,F,W,Z,V,q):M(T,E,F,W,Z,V,q)},x=(T,E,R,N,F,W,Z,V)=>{let q,z;const{type:it,props:rt,shapeFlag:at,transition:ft,patchFlag:wt,dirs:Ft}=T;if(T.el&&d!==void 0&&wt===-1)q=T.el=d(T.el);else{if(q=T.el=o(T.type,W,rt&&rt.is,rt),at&8?f(q,T.children):at&16&&D(T.children,q,null,N,F,W&&it!=="foreignObject",Z,V),Ft&&Dn(T,null,N,"created"),rt){for(const Nt in rt)Nt!=="value"&&!al(Nt)&&a(q,Nt,null,rt[Nt],W,T.children,N,F,$);"value"in rt&&a(q,"value",null,rt.value),(z=rt.onVnodeBeforeMount)&&ur(z,N,T)}C(q,T,T.scopeId,Z,N)}Ft&&Dn(T,null,N,"beforeMount");const It=(!F||F&&!F.pendingBranch)&&ft&&!ft.persisted;It&&ft.beforeEnter(q),n(q,E,R),((z=rt&&rt.onVnodeMounted)||It||Ft)&&me(()=>{z&&ur(z,N,T),It&&ft.enter(q),Ft&&Dn(T,null,N,"mounted")},F)},C=(T,E,R,N,F)=>{if(R&&h(T,R),N)for(let W=0;W{for(let z=q;z{const V=E.el=T.el;let{patchFlag:q,dynamicChildren:z,dirs:it}=E;q|=T.patchFlag&16;const rt=T.props||Rt,at=E.props||Rt;let ft;R&&Mn(R,!1),(ft=at.onVnodeBeforeUpdate)&&ur(ft,R,E,T),it&&Dn(E,T,R,"beforeUpdate"),R&&Mn(R,!0);const wt=F&&E.type!=="foreignObject";if(z?I(T.dynamicChildren,z,V,R,N,wt,W):Z||K(T,E,V,null,R,N,wt,W,!1),q>0){if(q&16)A(V,E,rt,at,R,N,F);else if(q&2&&rt.class!==at.class&&a(V,"class",null,at.class,F),q&4&&a(V,"style",rt.style,at.style,F),q&8){const Ft=E.dynamicProps;for(let It=0;It{ft&&ur(ft,R,E,T),it&&Dn(E,T,R,"updated")},N)},I=(T,E,R,N,F,W,Z)=>{for(let V=0;V{if(R!==N){for(const V in N){if(al(V))continue;const q=N[V],z=R[V];q!==z&&V!=="value"&&a(T,V,z,q,Z,E.children,F,W,$)}if(R!==Rt)for(const V in R)!al(V)&&!(V in N)&&a(T,V,R[V],null,Z,E.children,F,W,$);"value"in N&&a(T,"value",R.value,N.value)}},L=(T,E,R,N,F,W,Z,V,q)=>{const z=E.el=T?T.el:s(""),it=E.anchor=T?T.anchor:s("");let{patchFlag:rt,dynamicChildren:at,slotScopeIds:ft}=E;ft&&(V=V?V.concat(ft):ft),T==null?(n(z,R,N),n(it,R,N),D(E.children,R,it,F,W,Z,V,q)):rt>0&&rt&64&&at&&T.dynamicChildren?(I(T.dynamicChildren,at,R,F,W,Z,V),(E.key!=null||F&&E===F.subTree)&&b_(T,E,!0)):K(T,E,R,it,F,W,Z,V,q)},O=(T,E,R,N,F,W,Z,V,q)=>{E.slotScopeIds=V,T==null?E.shapeFlag&512?F.ctx.activate(E,R,N,Z,q):H(E,R,N,F,W,Z,q):B(T,E,q)},H=(T,E,R,N,F,W,Z)=>{const V=T.component=iC(T,N,F);if(hu(T)&&(V.ctx.renderer=ut),aC(V),V.asyncDep){if(F&&F.registerDep(V,Q),!T.el){const q=V.subTree=oe(Le);y(null,q,E,R)}return}Q(V,T,E,R,F,W,Z)},B=(T,E,R)=>{const N=E.component=T.component;if(dT(T,E,R))if(N.asyncDep&&!N.asyncResolved){G(N,E,R);return}else N.next=E,sT(N.update),N.update();else E.component=T.component,E.el=T.el,N.vnode=E},Q=(T,E,R,N,F,W,Z)=>{const V=()=>{if(T.isMounted){let{next:it,bu:rt,u:at,parent:ft,vnode:wt}=T,Ft=it,It;Mn(T,!1),it?(it.el=wt.el,G(T,it,Z)):it=wt,rt&&ol(rt),(It=it.props&&it.props.onVnodeBeforeUpdate)&&ur(It,ft,it,wt),Mn(T,!0);const Nt=qu(T),Qe=T.subTree;T.subTree=Nt,g(Qe,Nt,c(Qe.el),tt(Qe),T,F,W),it.el=Nt.el,Ft===null&&pv(T,Nt.el),at&&me(at,F),(It=it.props&&it.props.onVnodeUpdated)&&me(()=>ur(It,ft,it,wt),F)}else{let it;const{el:rt,props:at}=E,{bm:ft,m:wt,parent:Ft}=T,It=Ac(E);if(Mn(T,!1),ft&&ol(ft),!It&&(it=at&&at.onVnodeBeforeMount)&&ur(it,Ft,E),Mn(T,!0),rt&&j){const Nt=()=>{T.subTree=qu(T),j(rt,T.subTree,T,F,null)};It?E.type.__asyncLoader().then(()=>!T.isUnmounted&&Nt()):Nt()}else{const Nt=T.subTree=qu(T);g(null,Nt,R,N,T,F,W),E.el=Nt.el}if(wt&&me(wt,F),!It&&(it=at&&at.onVnodeMounted)){const Nt=E;me(()=>ur(it,Ft,Nt),F)}E.shapeFlag&256&&T.a&&me(T.a,F),T.isMounted=!0,E=R=N=null}},q=T.effect=new av(V,()=>J0(T.update),T.scope),z=T.update=q.run.bind(q);z.id=T.uid,Mn(T,!0),z()},G=(T,E,R)=>{E.component=T;const N=T.vnode.props;T.vnode=E,T.next=null,$T(T,E.props,N,R),UT(T,E.children,R),Sa(),vv(void 0,T.update),xa()},K=(T,E,R,N,F,W,Z,V,q=!1)=>{const z=T&&T.children,it=T?T.shapeFlag:0,rt=E.children,{patchFlag:at,shapeFlag:ft}=E;if(at>0){if(at&128){_t(z,rt,R,N,F,W,Z,V,q);return}else if(at&256){lt(z,rt,R,N,F,W,Z,V,q);return}}ft&8?(it&16&&$(z,F,W),rt!==z&&f(R,rt)):it&16?ft&16?_t(z,rt,R,N,F,W,Z,V,q):$(z,F,W,!0):(it&8&&f(R,""),ft&16&&D(rt,R,N,F,W,Z,V,q))},lt=(T,E,R,N,F,W,Z,V,q)=>{T=T||ta,E=E||ta;const z=T.length,it=E.length,rt=Math.min(z,it);let at;for(at=0;atit?$(T,F,W,!0,!1,rt):D(E,R,N,F,W,Z,V,q,rt)},_t=(T,E,R,N,F,W,Z,V,q)=>{let z=0;const it=E.length;let rt=T.length-1,at=it-1;for(;z<=rt&&z<=at;){const ft=T[z],wt=E[z]=q?ln(E[z]):nr(E[z]);if(dr(ft,wt))g(ft,wt,R,null,F,W,Z,V,q);else break;z++}for(;z<=rt&&z<=at;){const ft=T[rt],wt=E[at]=q?ln(E[at]):nr(E[at]);if(dr(ft,wt))g(ft,wt,R,null,F,W,Z,V,q);else break;rt--,at--}if(z>rt){if(z<=at){const ft=at+1,wt=ftat)for(;z<=rt;)pt(T[z],F,W,!0),z++;else{const ft=z,wt=z,Ft=new Map;for(z=wt;z<=at;z++){const Te=E[z]=q?ln(E[z]):nr(E[z]);Te.key!=null&&Ft.set(Te.key,z)}let It,Nt=0;const Qe=at-wt+1;let Ti=!1,Hd=0;const Ia=new Array(Qe);for(z=0;z=Qe){pt(Te,F,W,!0);continue}let lr;if(Te.key!=null)lr=Ft.get(Te.key);else for(It=wt;It<=at;It++)if(Ia[It-wt]===0&&dr(Te,E[It])){lr=It;break}lr===void 0?pt(Te,F,W,!0):(Ia[lr-wt]=z+1,lr>=Hd?Hd=lr:Ti=!0,g(Te,E[lr],R,null,F,W,Z,V,q),Nt++)}const $d=Ti?jT(Ia):ta;for(It=$d.length-1,z=Qe-1;z>=0;z--){const Te=wt+z,lr=E[Te],Vd=Te+1{const{el:W,type:Z,transition:V,children:q,shapeFlag:z}=T;if(z&6){mt(T.component.subTree,E,R,N);return}if(z&128){T.suspense.move(E,R,N);return}if(z&64){Z.move(T,E,R,ut);return}if(Z===Ge){n(W,E,R);for(let rt=0;rtV.enter(W),F);else{const{leave:rt,delayLeave:at,afterLeave:ft}=V,wt=()=>n(W,E,R),Ft=()=>{rt(W,()=>{wt(),ft&&ft()})};at?at(W,wt,Ft):Ft()}else n(W,E,R)},pt=(T,E,R,N=!1,F=!1)=>{const{type:W,props:Z,ref:V,children:q,dynamicChildren:z,shapeFlag:it,patchFlag:rt,dirs:at}=T;if(V!=null&&Lc(V,null,R,T,!0),it&256){E.ctx.deactivate(T);return}const ft=it&1&&at,wt=!Ac(T);let Ft;if(wt&&(Ft=Z&&Z.onVnodeBeforeUnmount)&&ur(Ft,E,T),it&6)U(T.component,R,N);else{if(it&128){T.suspense.unmount(R,N);return}ft&&Dn(T,null,E,"beforeUnmount"),it&64?T.type.remove(T,E,R,F,ut,N):z&&(W!==Ge||rt>0&&rt&64)?$(z,E,R,!1,!0):(W===Ge&&rt&384||!F&&it&16)&&$(q,E,R),N&&At(T)}(wt&&(Ft=Z&&Z.onVnodeUnmounted)||ft)&&me(()=>{Ft&&ur(Ft,E,T),ft&&Dn(T,null,E,"unmounted")},R)},At=T=>{const{type:E,el:R,anchor:N,transition:F}=T;if(E===Ge){k(R,N);return}if(E===ll){S(T);return}const W=()=>{i(R),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(T.shapeFlag&1&&F&&!F.persisted){const{leave:Z,delayLeave:V}=F,q=()=>Z(R,W);V?V(T.el,W,q):q()}else W()},k=(T,E)=>{let R;for(;T!==E;)R=v(T),i(T),T=R;i(E)},U=(T,E,R)=>{const{bum:N,scope:F,update:W,subTree:Z,um:V}=T;N&&ol(N),F.stop(),W&&(W.active=!1,pt(Z,T,E,R)),V&&me(V,E),me(()=>{T.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},$=(T,E,R,N=!1,F=!1,W=0)=>{for(let Z=W;ZT.shapeFlag&6?tt(T.component.subTree):T.shapeFlag&128?T.suspense.next():v(T.anchor||T.el),vt=(T,E,R)=>{T==null?E._vnode&&pt(E._vnode,null,null,!0):g(E._vnode||null,T,E,null,null,null,R),n_(),E._vnode=T},ut={p:g,um:pt,m:mt,r:At,mt:H,mc:D,pc:K,pbc:I,n:tt,o:e};let Y,j;return t&&([Y,j]=t(ut)),{render:vt,hydrate:Y,createApp:YT(vt,Y)}}function Mn({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function b_(e,t,r=!1){const n=e.children,i=t.children;if(ot(n)&&ot(i))for(let a=0;a>1,e[r[s]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,o=r[a-1];a-- >0;)r[a]=o,o=t[o];return r}const KT=e=>e.__isTeleport,bv="components";function F5(e,t){return x_(bv,e,!0,t)||e}const S_=Symbol();function z5(e){return Xt(e)?x_(bv,e,!1)||e:e||S_}function x_(e,t,r=!0,n=!1){const i=Pe||Kt;if(i){const a=i.type;if(e===bv){const s=uC(a);if(s&&(s===t||s===br(t)||s===uu(br(t))))return a}const o=sp(i[e]||a[e],t)||sp(i.appContext[e],t);return!o&&n?a:o}}function sp(e,t){return e&&(e[t]||e[br(t)]||e[uu(br(t))])}const Ge=Symbol(void 0),Sv=Symbol(void 0),Le=Symbol(void 0),ll=Symbol(void 0),ho=[];let pn=null;function xv(e=!1){ho.push(pn=e?null:[])}function T_(){ho.pop(),pn=ho[ho.length-1]||null}let Oo=1;function lp(e){Oo+=e}function C_(e){return e.dynamicChildren=Oo>0?pn||ta:null,T_(),Oo>0&&pn&&pn.push(e),e}function H5(e,t,r,n,i,a){return C_(A_(e,t,r,n,i,a,!0))}function D_(e,t,r,n,i){return C_(oe(e,t,r,n,i,!0))}function ko(e){return e?e.__v_isVNode===!0:!1}function dr(e,t){return e.type===t.type&&e.key===t.key}const du="__vInternal",M_=({key:e})=>e!=null?e:null,ul=({ref:e,ref_key:t,ref_for:r})=>e!=null?Xt(e)||Gt(e)||ht(e)?{i:Pe,r:e,k:t,f:!!r}:e:null;function A_(e,t=null,r=null,n=0,i=null,a=e===Ge?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&M_(t),ref:t&&ul(t),scopeId:cu,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(Tv(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Xt(r)?8:16),Oo>0&&!o&&pn&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&pn.push(l),l}const oe=ZT;function ZT(e,t=null,r=null,n=0,i=null,a=!1){if((!e||e===S_)&&(e=Le),ko(e)){const s=ha(e,t,!0);return r&&Tv(s,r),s}if(fC(e)&&(e=e.__vccOpts),t){t=QT(t);let{class:s,style:l}=t;s&&!Xt(s)&&(t.class=Zh(s)),Ut(l)&&(q0(l)&&!ot(l)&&(l=te({},l)),t.style=Kh(l))}const o=Xt(e)?1:pT(e)?128:KT(e)?64:Ut(e)?4:ht(e)?2:0;return A_(e,t,r,n,i,o,a,!0)}function QT(e){return e?q0(e)||du in e?te({},e):e:null}function ha(e,t,r=!1){const{props:n,ref:i,patchFlag:a,children:o}=e,s=t?tC(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&M_(s),ref:t&&t.ref?r&&i?ot(i)?i.concat(ul(t)):[i,ul(t)]:ul(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ha(e.ssContent),ssFallback:e.ssFallback&&ha(e.ssFallback),el:e.el,anchor:e.anchor}}function JT(e=" ",t=0){return oe(Sv,null,e,t)}function $5(e,t){const r=oe(ll,null,e);return r.staticCount=t,r}function V5(e="",t=!1){return t?(xv(),D_(Le,null,e)):oe(Le,null,e)}function nr(e){return e==null||typeof e=="boolean"?oe(Le):ot(e)?oe(Ge,null,e.slice()):typeof e=="object"?ln(e):oe(Sv,null,String(e))}function ln(e){return e.el===null||e.memo?e:ha(e)}function Tv(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ot(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Tv(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!(du in t)?t._ctx=Pe:i===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ht(t)?(t={default:t,_ctx:Pe},r=32):(t=String(t),n&64?(r=16,t=[JT(t)]):r=8);e.children=t,e.shapeFlag|=r}function tC(...e){const t={};for(let r=0;rt(o,s,void 0,a&&a[s]));else{const o=Object.keys(e);i=new Array(o.length);for(let s=0,l=o.length;sko(t)?!(t.type===Le||t.type===Ge&&!P_(t.children)):!0)?e:null}const Rc=e=>e?I_(e)?Cv(e)||e.proxy:Rc(e.parent):null,El=te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Rc(e.parent),$root:e=>Rc(e.root),$emit:e=>e.emit,$options:e=>d_(e),$forceUpdate:e=>()=>J0(e.update),$nextTick:e=>hv.bind(e.proxy),$watch:e=>ST.bind(e)}),eC={get({_:e},t){const{ctx:r,setupState:n,data:i,props:a,accessCache:o,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return a[t]}else{if(n!==Rt&&St(n,t))return o[t]=1,n[t];if(i!==Rt&&St(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&St(u,t))return o[t]=3,a[t];if(r!==Rt&&St(r,t))return o[t]=4,r[t];Pc&&(o[t]=0)}}const f=El[t];let c,v;if(f)return t==="$attrs"&&Ee(e,"get",t),f(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(r!==Rt&&St(r,t))return o[t]=4,r[t];if(v=l.config.globalProperties,St(v,t))return v[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;return i!==Rt&&St(i,t)?(i[t]=r,!0):n!==Rt&&St(n,t)?(n[t]=r,!0):St(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:a}},o){let s;return!!r[o]||e!==Rt&&St(e,o)||t!==Rt&&St(t,o)||(s=a[0])&&St(s,o)||St(n,o)||St(El,o)||St(i.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?this.set(e,t,r.get(),null):r.value!=null&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},rC=w_();let nC=0;function iC(e,t,r){const n=e.type,i=(t?t.appContext:e.appContext)||rC,a={uid:nC++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new R0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:g_(n,i),emitsOptions:a_(n,i),emit:null,emitted:null,propsDefaults:Rt,inheritAttrs:n.inheritAttrs,ctx:Rt,data:Rt,props:Rt,attrs:Rt,slots:Rt,refs:Rt,setupState:Rt,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=uT.bind(null,a),e.ce&&e.ce(a),a}let Kt=null;const ns=()=>Kt||Pe,Sn=e=>{Kt=e,e.scope.on()},gn=()=>{Kt&&Kt.scope.off(),Kt=null};function I_(e){return e.vnode.shapeFlag&4}let Bo=!1;function aC(e,t=!1){Bo=t;const{props:r,children:n}=e.vnode,i=I_(e);HT(e,r,i,t),GT(e,n);const a=i?oC(e,t):void 0;return Bo=!1,a}function oC(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=fa(new Proxy(e.ctx,eC));const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?lC(e):null;Sn(e),Sa();const a=dn(n,e,0,[e.props,i]);if(xa(),gn(),rv(a)){if(a.then(gn,gn),t)return a.then(o=>{Oc(e,o,t)}).catch(o=>{rs(o,e,0)});e.asyncDep=a}else Oc(e,a,t)}else E_(e,t)}function Oc(e,t,r){ht(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ut(t)&&(e.setupState=Z0(t)),E_(e,r)}let up;function E_(e,t,r){const n=e.type;if(!e.render){if(!t&&up&&!n.render){const i=n.template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=te(te({isCustomElement:a,delimiters:s},o),l);n.render=up(i,u)}}e.render=n.render||ar}Sn(e),Sa(),kT(e),xa(),gn()}function sC(e){return new Proxy(e.attrs,{get(t,r){return Ee(e,"get","$attrs"),t[r]}})}function lC(e){const t=n=>{e.exposed=n||{}};let r;return{get attrs(){return r||(r=sC(e))},slots:e.slots,emit:e.emit,expose:t}}function Cv(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Z0(fa(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in El)return El[r](e)}}))}function uC(e){return ht(e)&&e.displayName||e.name}function fC(e){return ht(e)&&"__vccOpts"in e}const Me=(e,t)=>iT(e,t,Bo);function W5(e){const t=ns();let r=e();return gn(),rv(r)&&(r=r.catch(n=>{throw Sn(t),n})),[r,()=>Sn(t)]}function No(e,t,r){const n=arguments.length;return n===2?Ut(t)&&!ot(t)?ko(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&ko(r)&&(r=[r]),oe(e,t,r))}const cC="3.2.31",hC="http://www.w3.org/2000/svg",ti=typeof document!="undefined"?document:null,fp=ti&&ti.createElement("template"),vC={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t?ti.createElementNS(hC,e):ti.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ti.createTextNode(e),createComment:e=>ti.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ti.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,r,n,i,a){const o=r?r.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{fp.innerHTML=n?`${e}`:e;const s=fp.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function dC(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function pC(e,t,r){const n=e.style,i=Xt(r);if(r&&!i){for(const a in r)kc(n,a,r[a]);if(t&&!Xt(t))for(const a in t)r[a]==null&&kc(n,a,"")}else{const a=n.display;i?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const cp=/\s*!important$/;function kc(e,t,r){if(ot(r))r.forEach(n=>kc(e,t,n));else if(t.startsWith("--"))e.setProperty(t,r);else{const n=gC(e,t);cp.test(r)?e.setProperty(ba(n),r.replace(cp,""),"important"):e[n]=r}}const hp=["Webkit","Moz","ms"],ju={};function gC(e,t){const r=ju[t];if(r)return r;let n=br(t);if(n!=="filter"&&n in e)return ju[t]=n;n=uu(n);for(let i=0;idocument.createEvent("Event").timeStamp&&(Ll=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);L_=!!(e&&Number(e[1])<=53)}let Bc=0;const _C=Promise.resolve(),wC=()=>{Bc=0},bC=()=>Bc||(_C.then(wC),Bc=Ll());function Lr(e,t,r,n){e.addEventListener(t,r,n)}function SC(e,t,r,n){e.removeEventListener(t,r,n)}function xC(e,t,r,n,i=null){const a=e._vei||(e._vei={}),o=a[t];if(n&&o)o.value=n;else{const[s,l]=TC(t);if(n){const u=a[t]=CC(n,i);Lr(e,s,u,l)}else o&&(SC(e,s,o,l),a[t]=void 0)}}const dp=/(?:Once|Passive|Capture)$/;function TC(e){let t;if(dp.test(e)){t={};let r;for(;r=e.match(dp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[ba(e.slice(2)),t]}function CC(e,t){const r=n=>{const i=n.timeStamp||Ll();(L_||i>=r.attached-1)&&je(DC(n,r.value),t,5,[n])};return r.value=e,r.attached=bC(),r}function DC(e,t){if(ot(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const pp=/^on[a-z]/,MC=(e,t,r,n,i=!1,a,o,s,l)=>{t==="class"?dC(e,n,i):t==="style"?pC(e,r,n):ou(t)?Jh(t)||xC(e,t,r,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):AC(e,t,n,i))?yC(e,t,n,a,o,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),mC(e,t,n,i))};function AC(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&pp.test(t)&&ht(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||pp.test(t)&&Xt(r)?!1:t in e}const Yr="transition",Ea="animation",R_=(e,{slots:t})=>No(l_,PC(e),t);R_.displayName="Transition";const O_={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};R_.props=te({},l_.props,O_);const An=(e,t=[])=>{ot(e)?e.forEach(r=>r(...t)):e&&e(...t)},gp=e=>e?ot(e)?e.some(t=>t.length>1):e.length>1:!1;function PC(e){const t={};for(const A in e)A in O_||(t[A]=e[A]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:f=s,leaveFromClass:c=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,d=IC(i),m=d&&d[0],g=d&&d[1],{onBeforeEnter:p,onEnter:y,onEnterCancelled:_,onLeave:w,onLeaveCancelled:S,onBeforeAppear:b=p,onAppear:x=y,onAppearCancelled:C=_}=t,D=(A,L,O)=>{Ci(A,L?f:s),Ci(A,L?u:o),O&&O()},M=(A,L)=>{Ci(A,h),Ci(A,v),L&&L()},I=A=>(L,O)=>{const H=A?x:y,B=()=>D(L,A,O);An(H,[L,B]),mp(()=>{Ci(L,A?l:a),qr(L,A?f:s),gp(H)||yp(L,n,m,B)})};return te(t,{onBeforeEnter(A){An(p,[A]),qr(A,a),qr(A,o)},onBeforeAppear(A){An(b,[A]),qr(A,l),qr(A,u)},onEnter:I(!1),onAppear:I(!0),onLeave(A,L){const O=()=>M(A,L);qr(A,c),RC(),qr(A,v),mp(()=>{Ci(A,c),qr(A,h),gp(w)||yp(A,n,g,O)}),An(w,[A,O])},onEnterCancelled(A){D(A,!1),An(_,[A])},onAppearCancelled(A){D(A,!0),An(C,[A])},onLeaveCancelled(A){M(A),An(S,[A])}})}function IC(e){if(e==null)return null;if(Ut(e))return[Ku(e.enter),Ku(e.leave)];{const t=Ku(e);return[t,t]}}function Ku(e){return ua(e)}function qr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function Ci(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function mp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let EC=0;function yp(e,t,r,n){const i=e._endId=++EC,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=LC(e,t);if(!o)return n();const u=o+"end";let f=0;const c=()=>{e.removeEventListener(u,v),a()},v=h=>{h.target===e&&++f>=l&&c()};setTimeout(()=>{f(r[d]||"").split(", "),i=n(Yr+"Delay"),a=n(Yr+"Duration"),o=_p(i,a),s=n(Ea+"Delay"),l=n(Ea+"Duration"),u=_p(s,l);let f=null,c=0,v=0;t===Yr?o>0&&(f=Yr,c=o,v=a.length):t===Ea?u>0&&(f=Ea,c=u,v=l.length):(c=Math.max(o,u),f=c>0?o>u?Yr:Ea:null,v=f?f===Yr?a.length:l.length:0);const h=f===Yr&&/\b(transform|all)(,|$)/.test(r[Yr+"Property"]);return{type:f,timeout:c,propCount:v,hasTransform:h}}function _p(e,t){for(;e.lengthwp(r)+wp(e[n])))}function wp(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function RC(){return document.body.offsetHeight}const xn=e=>{const t=e.props["onUpdate:modelValue"];return ot(t)?r=>ol(t,r):t};function OC(e){e.target.composing=!0}function bp(e){const t=e.target;t.composing&&(t.composing=!1,kC(t,"input"))}function kC(e,t){const r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}const Y5={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e._assign=xn(i);const a=n||i.props&&i.props.type==="number";Lr(e,t?"change":"input",o=>{if(o.target.composing)return;let s=e.value;r?s=s.trim():a&&(s=ua(s)),e._assign(s)}),r&&Lr(e,"change",()=>{e.value=e.value.trim()}),t||(Lr(e,"compositionstart",OC),Lr(e,"compositionend",bp),Lr(e,"change",bp))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:i}},a){if(e._assign=xn(a),e.composing||document.activeElement===e&&(r||n&&e.value.trim()===t||(i||e.type==="number")&&ua(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},q5={deep:!0,created(e,t,r){e._assign=xn(r),Lr(e,"change",()=>{const n=e._modelValue,i=va(e),a=e.checked,o=e._assign;if(ot(n)){const s=Qh(n,i),l=s!==-1;if(a&&!l)o(n.concat(i));else if(!a&&l){const u=[...n];u.splice(s,1),o(u)}}else if(wa(n)){const s=new Set(n);a?s.add(i):s.delete(i),o(s)}else o(k_(e,a))})},mounted:Sp,beforeUpdate(e,t,r){e._assign=xn(r),Sp(e,t,r)}};function Sp(e,{value:t,oldValue:r},n){e._modelValue=t,ot(t)?e.checked=Qh(t,n.props.value)>-1:wa(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=fi(t,k_(e,!0)))}const X5={created(e,{value:t},r){e.checked=fi(t,r.props.value),e._assign=xn(r),Lr(e,"change",()=>{e._assign(va(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e._assign=xn(n),t!==r&&(e.checked=fi(t,n.props.value))}},j5={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=wa(t);Lr(e,"change",()=>{const a=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?ua(va(o)):va(o));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=xn(n)},mounted(e,{value:t}){xp(e,t)},beforeUpdate(e,t,r){e._assign=xn(r)},updated(e,{value:t}){xp(e,t)}};function xp(e,t){const r=e.multiple;if(!(r&&!ot(t)&&!wa(t))){for(let n=0,i=e.options.length;n-1:a.selected=t.has(o);else if(fi(va(a),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function va(e){return"_value"in e?e._value:e.value}function k_(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const BC=["ctrl","shift","alt","meta"],NC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>BC.some(r=>e[`${r}Key`]&&!t.includes(r))},K5=(e,t)=>(r,...n)=>{for(let i=0;i{La(e,!1)}):La(e,t))},beforeUnmount(e,{value:t}){La(e,t)}};function La(e,t){e.style.display=t?e._vod:"none"}const FC=te({patchProp:MC},vC);let Tp;function B_(){return Tp||(Tp=qT(FC))}const Q5=(...e)=>{B_().render(...e)},J5=(...e)=>{const t=B_().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=zC(n);if(!i)return;const a=t._component;!ht(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function zC(e){return Xt(e)?document.querySelector(e):e}var HC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Dv={exports:{}},N_=function(t,r){return function(){for(var i=new Array(arguments.length),a=0;a=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([i]):r[n]=r[n]?r[n]+", "+i:i}}),r},Dp=Oe,yD=Dp.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function i(a){var o=a;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){var s=Dp.isString(o)?i(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),ws=Oe,_D=uD,wD=fD,bD=H_,SD=pD,xD=mD,TD=yD,Qu=V_,Mp=function(t){return new Promise(function(n,i){var a=t.data,o=t.headers,s=t.responseType;ws.isFormData(a)&&delete o["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var u=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(u+":"+f)}var c=SD(t.baseURL,t.url);l.open(t.method.toUpperCase(),bD(c,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function v(){if(!!l){var d="getAllResponseHeaders"in l?xD(l.getAllResponseHeaders()):null,m=!s||s==="text"||s==="json"?l.responseText:l.response,g={data:m,status:l.status,statusText:l.statusText,headers:d,config:t,request:l};_D(n,i,g),l=null}}if("onloadend"in l?l.onloadend=v:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(v)},l.onabort=function(){!l||(i(Qu("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i(Qu("Network Error",t,null,l)),l=null},l.ontimeout=function(){var m="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),i(Qu(m,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},ws.isStandardBrowserEnv()){var h=(t.withCredentials||TD(c))&&t.xsrfCookieName?wD.read(t.xsrfCookieName):void 0;h&&(o[t.xsrfHeaderName]=h)}"setRequestHeader"in l&&ws.forEach(o,function(m,g){typeof a=="undefined"&&g.toLowerCase()==="content-type"?delete o[g]:l.setRequestHeader(g,m)}),ws.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&s!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(m){!l||(l.abort(),i(m),l=null)}),a||(a=null),l.send(a)})},Qt=Oe,Ap=oD,CD=$_,DD={"Content-Type":"application/x-www-form-urlencoded"};function Pp(e,t){!Qt.isUndefined(e)&&Qt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function MD(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Mp),e}function AD(e,t,r){if(Qt.isString(e))try{return(t||JSON.parse)(e),Qt.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var gu={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:MD(),transformRequest:[function(t,r){return Ap(r,"Accept"),Ap(r,"Content-Type"),Qt.isFormData(t)||Qt.isArrayBuffer(t)||Qt.isBuffer(t)||Qt.isStream(t)||Qt.isFile(t)||Qt.isBlob(t)?t:Qt.isArrayBufferView(t)?t.buffer:Qt.isURLSearchParams(t)?(Pp(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Qt.isObject(t)||r&&r["Content-Type"]==="application/json"?(Pp(r,"application/json"),AD(t)):t}],transformResponse:[function(t){var r=this.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,a=!n&&this.responseType==="json";if(a||i&&Qt.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?CD(o,this,"E_JSON_PARSE"):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};gu.headers={common:{Accept:"application/json, text/plain, */*"}};Qt.forEach(["delete","get","head"],function(t){gu.headers[t]={}});Qt.forEach(["post","put","patch"],function(t){gu.headers[t]=Qt.merge(DD)});var Pv=gu,PD=Oe,ID=Pv,ED=function(t,r,n){var i=this||ID;return PD.forEach(n,function(o){t=o.call(i,t,r)}),t},G_=function(t){return!!(t&&t.__CANCEL__)},Ip=Oe,Ju=ED,LD=G_,RD=Pv;function tf(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var OD=function(t){tf(t),t.headers=t.headers||{},t.data=Ju.call(t,t.data,t.headers,t.transformRequest),t.headers=Ip.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ip.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var r=t.adapter||RD.adapter;return r(t).then(function(i){return tf(t),i.data=Ju.call(t,i.data,i.headers,t.transformResponse),i},function(i){return LD(i)||(tf(t),i&&i.response&&(i.response.data=Ju.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},ee=Oe,U_=function(t,r){r=r||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(v,h){return ee.isPlainObject(v)&&ee.isPlainObject(h)?ee.merge(v,h):ee.isPlainObject(h)?ee.merge({},h):ee.isArray(h)?h.slice():h}function u(v){ee.isUndefined(r[v])?ee.isUndefined(t[v])||(n[v]=l(void 0,t[v])):n[v]=l(t[v],r[v])}ee.forEach(i,function(h){ee.isUndefined(r[h])||(n[h]=l(void 0,r[h]))}),ee.forEach(a,u),ee.forEach(o,function(h){ee.isUndefined(r[h])?ee.isUndefined(t[h])||(n[h]=l(void 0,t[h])):n[h]=l(void 0,r[h])}),ee.forEach(s,function(h){h in r?n[h]=l(t[h],r[h]):h in t&&(n[h]=l(void 0,t[h]))});var f=i.concat(a).concat(o).concat(s),c=Object.keys(t).concat(Object.keys(r)).filter(function(h){return f.indexOf(h)===-1});return ee.forEach(c,u),n};const kD="axios",BD="0.21.4",ND="Promise based HTTP client for the browser and node.js",FD="index.js",zD={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},HD={type:"git",url:"https://github.com/axios/axios.git"},$D=["xhr","http","ajax","promise","node"],VD="Matt Zabriskie",GD="MIT",UD={url:"https://github.com/axios/axios/issues"},WD="https://axios-http.com",YD={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},qD={"./lib/adapters/http.js":"./lib/adapters/xhr.js"},XD="dist/axios.min.js",jD="dist/axios.min.js",KD="./index.d.ts",ZD={"follow-redirects":"^1.14.0"},QD=[{path:"./dist/axios.min.js",threshold:"5kB"}];var JD={name:kD,version:BD,description:ND,main:FD,scripts:zD,repository:HD,keywords:$D,author:VD,license:GD,bugs:UD,homepage:WD,devDependencies:YD,browser:qD,jsdelivr:XD,unpkg:jD,typings:KD,dependencies:ZD,bundlesize:QD},W_=JD,Iv={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Iv[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Ep={},tM=W_.version.split(".");function Y_(e,t){for(var r=t?t.split("."):tM,n=e.split("."),i=0;i<3;i++){if(r[i]>n[i])return!0;if(r[i]0;){var a=n[i],o=t[a];if(o){var s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new TypeError("option "+a+" must be "+l);continue}if(r!==!0)throw Error("Unknown option "+a)}}var rM={isOlderVersion:Y_,assertOptions:eM,validators:Iv},q_=Oe,nM=H_,Lp=iD,Rp=OD,mu=U_,X_=rM,Mi=X_.validators;function is(e){this.defaults=e,this.interceptors={request:new Lp,response:new Lp}}is.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=mu(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&X_.assertOptions(r,{silentJSONParsing:Mi.transitional(Mi.boolean,"1.0.0"),forcedJSONParsing:Mi.transitional(Mi.boolean,"1.0.0"),clarifyTimeoutError:Mi.transitional(Mi.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(t)===!1||(i=i&&v.synchronous,n.unshift(v.fulfilled,v.rejected))});var a=[];this.interceptors.response.forEach(function(v){a.push(v.fulfilled,v.rejected)});var o;if(!i){var s=[Rp,void 0];for(Array.prototype.unshift.apply(s,n),s=s.concat(a),o=Promise.resolve(t);s.length;)o=o.then(s.shift(),s.shift());return o}for(var l=t;n.length;){var u=n.shift(),f=n.shift();try{l=u(l)}catch(c){f(c);break}}try{o=Rp(l)}catch(c){return Promise.reject(c)}for(;a.length;)o=o.then(a.shift(),a.shift());return o};is.prototype.getUri=function(t){return t=mu(this.defaults,t),nM(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};q_.forEach(["delete","get","head","options"],function(t){is.prototype[t]=function(r,n){return this.request(mu(n||{},{method:t,url:r,data:(n||{}).data}))}});q_.forEach(["post","put","patch"],function(t){is.prototype[t]=function(r,n,i){return this.request(mu(i||{},{method:t,url:r,data:n}))}});var iM=is;function Ev(e){this.message=e}Ev.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Ev.prototype.__CANCEL__=!0;var j_=Ev,aM=j_;function Rl(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var r=this;e(function(i){r.reason||(r.reason=new aM(i),t(r.reason))})}Rl.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Rl.source=function(){var t,r=new Rl(function(i){t=i});return{token:r,cancel:t}};var oM=Rl,sM=function(t){return function(n){return t.apply(null,n)}},lM=function(t){return typeof t=="object"&&t.isAxiosError===!0},Op=Oe,uM=N_,cl=iM,fM=U_,cM=Pv;function K_(e){var t=new cl(e),r=uM(cl.prototype.request,t);return Op.extend(r,cl.prototype,t),Op.extend(r,t),r}var or=K_(cM);or.Axios=cl;or.create=function(t){return K_(fM(or.defaults,t))};or.Cancel=j_;or.CancelToken=oM;or.isCancel=G_;or.all=function(t){return Promise.all(t)};or.spread=sM;or.isAxiosError=lM;Dv.exports=or;Dv.exports.default=or;var tz=Dv.exports,Ol=function(){return Ol=Object.assign||function(t){for(var r,n=1,i=arguments.length;n":">",'"':""","'":"'"};function v(d,m){for(var g=m.split(hM).filter(function(p){return p});g.length;)d=d[g.shift()];return d}function h(d,m,g){try{f=v(d,m)}catch(y){}if(f==null){if(g)return h(g.ctx,m,g.parent);console.warn("Cannot evaluate expression: ".concat(m)),f=m}var p=f.toString();return n?p:p.replace(/[&<>"']/g,function(y){return c[y]})}return h(r,u,i)});return o}};as.INTERPOLATION_RE=Z_;as.INTERPOLATION_PREFIX="%{";var kp={getTranslationIndex:function(e,t){switch(t=Number(t),t=typeof t=="number"&&isNaN(t)?1:t,e.length>2&&e!=="pt_BR"&&(e=e.split("_")[0]),e){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return t%10!==1||t%100===11?1:0;case"jv":return t!==0?1:0;case"mk":return t===1||t%10===1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":return t>1?1:0;case"lv":return t%10===1&&t%100!==11?0:t!==0?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"mnk":return t===0?0:t===1?1:2;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"csb":return t===1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"gd":return t===1||t===11?0:t===2||t===12?1:t>2&&t<20?2:3;case"cy":return t===1?0:t===2?1:t!==8&&t!==11?2:3;case"kw":return t===1?0:t===2?1:t===3?2:3;case"ga":return t===1?0:t===2?1:t>2&&t<7?2:t>6&&t<11?3:4;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5;default:return t!==1?1:0}}},Lv=function(e){return{getTranslation:function(t,r,n,i,a,o,s){r===void 0&&(r=1),n===void 0&&(n=null),i===void 0&&(i=null),s===void 0&&(s=!1),a===void 0&&(a=e.current);var l=function(p,y){return y?e.interpolate(p,y,s):p};if(t=t.trim(),!t)return"";var u=a?e.silent||e.muted.indexOf(a)!==-1:!1,f=i&&kp.getTranslationIndex(a,r)>0?i:t,c=e.translations,v=c[a]||c[a.split("_")[0]];if(!v)return u||console.warn("No translations found for ".concat(a)),l(f,o);var h=function(p){var y=kp.getTranslationIndex(a,r);if(p.length===1&&r===1&&(y=0),!p[y])throw new Error(t+" "+y+" "+e.current+" "+r);return l(p[y],o)},d=function(){if(!u){var p="Untranslated ".concat(a," key found: ").concat(t);n&&(p+=" (with context: ".concat(n,")")),console.warn(p)}return l(f,o)},m=function(p,y){if(y===void 0&&(y=null),p instanceof Object){if(Array.isArray(p))return h(p);var _=y!=null?y:"",w=p[_];return m(w)}return y||!p?d():l(p,o)},g=v[t];return m(g,n)},gettext:function(t,r,n){return n===void 0&&(n=!1),this.getTranslation(t,void 0,void 0,void 0,void 0,r,n)},pgettext:function(t,r,n,i){return i===void 0&&(i=!1),this.getTranslation(r,1,t,void 0,void 0,n,i)},ngettext:function(t,r,n,i,a){return a===void 0&&(a=!1),this.getTranslation(t,n,null,r,void 0,i,a)},npgettext:function(t,r,n,i,a,o){return o===void 0&&(o=!1),this.getTranslation(r,i,t,n,void 0,a,o)}}},zc=Symbol("GETTEXT");function dM(e){return e.replace(/\r?\n|\r/,"").replace(/\s\s+/g," ").trim()}function Bp(e){var t={};return Object.keys(e).forEach(function(r){var n=e[r],i={};Object.keys(n).forEach(function(a){i[dM(a)]=n[a]}),t[r]=i}),t}var pM=function(){var e=_r(zc,null);if(!e)throw new Error("Failed to inject gettext. Make sure vue3-gettext is set up properly.");return e},Np=mv({name:"translate",props:{tag:{type:String,default:"span"},translateN:{type:Number,default:null},translatePlural:{type:String,default:null},translateContext:{type:String,default:null},translateParams:{type:Object,default:null},translateComment:{type:String,default:null}},setup:function(e,t){var r,n,i,a=e.translateN!==void 0&&e.translatePlural!==void 0;if(!a&&(e.translateN||e.translatePlural))throw new Error("`translate-n` and `translate-plural` attributes must be used together: ".concat((i=(n=(r=t.slots).default)===null||n===void 0?void 0:n.call(r)[0])===null||i===void 0?void 0:i.children,"."));var o=ca(),s=pM(),l=ca(null);yv(function(){!l.value&&o.value&&(l.value=o.value.innerHTML.trim())});var u=Me(function(){var f,c=Lv(s).getTranslation(l.value,e.translateN,e.translateContext,a?e.translatePlural:null,s.current);return as(s)(c,e.translateParams,void 0,(f=ns())===null||f===void 0?void 0:f.parent)});return function(){return l.value?No(e.tag,{ref:o,innerHTML:u.value}):No(e.tag,{ref:o},t.slots.default?t.slots.default():"")}}}),gM=function(e,t,r,n){var i,a=n.props||{},o=t.dataset.msgid,s=a["translate-context"],l=a["translate-n"],u=a["translate-plural"],f=l!==void 0&&u!==void 0,c=a["render-html"]==="true";if(!f&&(l||u))throw new Error("`translate-n` and `translate-plural` attributes must be used together:"+o+".");!e.silent&&a["translate-params"]&&console.warn("`translate-params` is required as an expression for v-translate directive. Please change to `v-translate='params'`: ".concat(o));var v=Lv(e).getTranslation(o,l,s,f?u:null,e.current),h=Object.assign((i=r.instance)!==null&&i!==void 0?i:{},r.value),d=as(e)(v,h,c,null);t.innerHTML=d};function Fp(e){var t=function(r,n,i){r.dataset.currentLanguage=e.current,gM(e,r,n,i)};return{beforeMount:function(r,n,i){r.dataset.msgid||(r.dataset.msgid=r.innerHTML),na(e,function(){t(r,n,i)}),t(r,n,i)},updated:function(r,n,i){t(r,n,i)}}}var zp={availableLanguages:{en:"English"},defaultLanguage:"en",mutedLanguages:[],silent:!1,translations:{},setGlobalProperties:!0,provideDirective:!0,provideComponent:!0};function ez(e){e===void 0&&(e={}),Object.keys(e).forEach(function(o){if(Object.keys(zp).indexOf(o)===-1)throw new Error("".concat(o," is an invalid option for the translate plugin."))});var t=Ol(Ol({},zp),e),r=ca(Bp(t.translations)),n=yi({available:t.availableLanguages,muted:t.mutedLanguages,silent:t.silent,translations:Me({get:function(){return r.value},set:function(o){r.value=Bp(o)}}),current:t.defaultLanguage,install:function(o){if(o[zc]=n,o.provide(zc,n),t.setGlobalProperties){var s=o.config.globalProperties;s.$gettext=n.$gettext,s.$pgettext=n.$pgettext,s.$ngettext=n.$ngettext,s.$npgettext=n.$npgettext,s.$gettextInterpolate=n.interpolate,s.$language=n}t.provideDirective&&o.directive("translate",Fp(n)),t.provideComponent&&o.component("translate",Np)}}),i=Lv(n),a=as(n);return n.$gettext=i.gettext.bind(i),n.$pgettext=i.pgettext.bind(i),n.$ngettext=i.ngettext.bind(i),n.$npgettext=i.npgettext.bind(i),n.interpolate=a.bind(a),n.directive=Fp(n),n.component=Np,n}var mM=!1;/*! * pinia v2.0.12 * (c) 2022 Eduardo San Martin Morote * @license MIT - */let W0;const Ql=t=>W0=t,U0=Symbol();function vc(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var ao;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(ao||(ao={}));function gN(){const t=zm(!0),e=t.run(()=>Fh({}));let r=[],n=[];const i=ea({install(a){Ql(i),i._a=a,a.provide(U0,i),a.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(a){return!this._a&&!LC?n.push(a):r.push(a),this},_p:r,_a:null,_e:t,_s:new Map,state:e});return i}const Y0=()=>{};function Ud(t,e,r,n=Y0){t.push(e);const i=()=>{const a=t.indexOf(e);a>-1&&(t.splice(a,1),n())};return!r&&jl()&&Uh(i),i}function wi(t,...e){t.slice().forEach(r=>{r(...e)})}function dc(t,e){for(const r in e){const n=e[r],i=t[r];vc(i)&&vc(n)&&!Gt(n)&&!un(n)?t[r]=dc(i,n):t[r]=n}return t}const RC=Symbol();function OC(t){return!vc(t)||!t.hasOwnProperty(RC)}const{assign:Cr}=Object;function kC(t){return!!(Gt(t)&&t.effect)}function BC(t,e,r,n){const{state:i,actions:a,getters:o}=e,s=r.state.value[t];let l;function u(){s||(r.state.value[t]=i?i():{});const f=Ub(r.state.value[t]);return Cr(f,a,Object.keys(o||{}).reduce((c,h)=>(c[h]=ea(tr(()=>{Ql(r);const v=r._s.get(t);return o[h].call(v,v)})),c),{}))}return l=X0(t,u,e,r),l.$reset=function(){const c=i?i():{};this.$patch(h=>{Cr(h,c)})},l}function X0(t,e,r={},n,i){let a;const o=r.state,s=Cr({actions:{}},r),l={deep:!0};let u,f,c=ea([]),h=ea([]),v;const d=n.state.value[t];!o&&!d&&(n.state.value[t]={}),Fh({});function y(S){let x;u=f=!1,typeof S=="function"?(S(n.state.value[t]),x={type:ao.patchFunction,storeId:t,events:v}):(dc(n.state.value[t],S),x={type:ao.patchObject,payload:S,storeId:t,events:v}),Hh().then(()=>{u=!0}),f=!0,wi(c,x,n.state.value[t])}const g=Y0;function p(){a.stop(),c=[],h=[],n._s.delete(t)}function m(S,x){return function(){Ql(n);const T=Array.from(arguments),M=[],D=[];function I(O){M.push(O)}function A(O){D.push(O)}wi(h,{args:T,name:S,store:w,after:I,onError:A});let L;try{L=x.apply(this&&this.$id===t?this:w,T)}catch(O){throw wi(D,O),O}return L instanceof Promise?L.then(O=>(wi(M,O),O)).catch(O=>(wi(D,O),Promise.reject(O))):(wi(M,L),L)}}const _={_p:n,$id:t,$onAction:Ud.bind(null,h),$patch:y,$reset:g,$subscribe(S,x={}){const T=Ud(c,S,x.detached,()=>M()),M=a.run(()=>no(()=>n.state.value[t],D=>{(x.flush==="sync"?f:u)&&S({storeId:t,type:ao.direct,events:v},D)},Cr({},l,x)));return T},$dispose:p},w=da(Cr({},_));n._s.set(t,w);const b=n._e.run(()=>(a=zm(),a.run(()=>e())));for(const S in b){const x=b[S];if(Gt(x)&&!kC(x)||un(x))o||(d&&OC(x)&&(Gt(x)?x.value=d[S]:dc(x,d[S])),n.state.value[t][S]=x);else if(typeof x=="function"){const T=m(S,x);b[S]=T,s.actions[S]=x}}return Cr(w,b),Cr(xt(w),b),Object.defineProperty(w,"$state",{get:()=>n.state.value[t],set:S=>{y(x=>{Cr(x,S)})}}),n._p.forEach(S=>{Cr(w,a.run(()=>S({store:w,app:n._a,pinia:n,options:s})))}),d&&o&&r.hydrate&&r.hydrate(w.$state,d),u=!0,f=!0,w}function yN(t,e,r){let n,i;const a=typeof e=="function";typeof t=="string"?(n=t,i=a?r:e):(i=t,n=t.id);function o(s,l){const u=jl();return s=s||u&&Ir(U0),s&&Ql(s),s=W0,s._s.has(n)||(a?X0(n,e,i,s):BC(n,i,s)),s._s.get(n)}return o.$id=n,o}/*! + */let Q_;const yu=e=>Q_=e,J_=Symbol();function Hc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var vo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(vo||(vo={}));function rz(){const e=O0(!0),t=e.run(()=>ca({}));let r=[],n=[];const i=fa({install(a){yu(i),i._a=a,a.provide(J_,i),a.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(a){return!this._a&&!mM?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return i}const t1=()=>{};function Hp(e,t,r,n=t1){e.push(t);const i=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&ns()&&_v(i),i}function Ai(e,...t){e.slice().forEach(r=>{r(...t)})}function $c(e,t){for(const r in t){const n=t[r],i=e[r];Hc(i)&&Hc(n)&&!Gt(n)&&!vn(n)?e[r]=$c(i,n):e[r]=n}return e}const yM=Symbol();function _M(e){return!Hc(e)||!e.hasOwnProperty(yM)}const{assign:Pr}=Object;function wM(e){return!!(Gt(e)&&e.effect)}function bM(e,t,r,n){const{state:i,actions:a,getters:o}=t,s=r.state.value[e];let l;function u(){s||(r.state.value[e]=i?i():{});const f=tT(r.state.value[e]);return Pr(f,a,Object.keys(o||{}).reduce((c,v)=>(c[v]=fa(Me(()=>{yu(r);const h=r._s.get(e);return o[v].call(h,h)})),c),{}))}return l=e1(e,u,t,r),l.$reset=function(){const c=i?i():{};this.$patch(v=>{Pr(v,c)})},l}function e1(e,t,r={},n,i){let a;const o=r.state,s=Pr({actions:{}},r),l={deep:!0};let u,f,c=fa([]),v=fa([]),h;const d=n.state.value[e];!o&&!d&&(n.state.value[e]={}),ca({});function m(b){let x;u=f=!1,typeof b=="function"?(b(n.state.value[e]),x={type:vo.patchFunction,storeId:e,events:h}):($c(n.state.value[e],b),x={type:vo.patchObject,payload:b,storeId:e,events:h}),hv().then(()=>{u=!0}),f=!0,Ai(c,x,n.state.value[e])}const g=t1;function p(){a.stop(),c=[],v=[],n._s.delete(e)}function y(b,x){return function(){yu(n);const C=Array.from(arguments),D=[],M=[];function I(O){D.push(O)}function A(O){M.push(O)}Ai(v,{args:C,name:b,store:w,after:I,onError:A});let L;try{L=x.apply(this&&this.$id===e?this:w,C)}catch(O){throw Ai(M,O),O}return L instanceof Promise?L.then(O=>(Ai(D,O),O)).catch(O=>(Ai(M,O),Promise.reject(O))):(Ai(D,L),L)}}const _={_p:n,$id:e,$onAction:Hp.bind(null,v),$patch:m,$reset:g,$subscribe(b,x={}){const C=Hp(c,b,x.detached,()=>D()),D=a.run(()=>na(()=>n.state.value[e],M=>{(x.flush==="sync"?f:u)&&b({storeId:e,type:vo.direct,events:h},M)},Pr({},l,x)));return C},$dispose:p},w=yi(Pr({},_));n._s.set(e,w);const S=n._e.run(()=>(a=O0(),a.run(()=>t())));for(const b in S){const x=S[b];if(Gt(x)&&!wM(x)||vn(x))o||(d&&_M(x)&&(Gt(x)?x.value=d[b]:$c(x,d[b])),n.state.value[e][b]=x);else if(typeof x=="function"){const C=y(b,x);S[b]=C,s.actions[b]=x}}return Pr(w,S),Pr(xt(w),S),Object.defineProperty(w,"$state",{get:()=>n.state.value[e],set:b=>{m(x=>{Pr(x,b)})}}),n._p.forEach(b=>{Pr(w,a.run(()=>b({store:w,app:n._a,pinia:n,options:s})))}),d&&o&&r.hydrate&&r.hydrate(w.$state,d),u=!0,f=!0,w}function nz(e,t,r){let n,i;const a=typeof t=="function";typeof e=="string"?(n=e,i=a?r:t):(i=e,n=e.id);function o(s,l){const u=ns();return s=s||u&&_r(J_),s&&yu(s),s=Q_,s._s.has(n)||(a?e1(n,t,i,s):bM(n,i,s)),s._s.get(n)}return o.$id=n,o}/*! * vue-router v4.0.14 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const q0=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",pa=t=>q0?Symbol(t):"_vr_"+t,NC=pa("rvlm"),Yd=pa("rvd"),Jh=pa("r"),K0=pa("rl"),pc=pa("rvl"),Fi=typeof window!="undefined";function FC(t){return t.__esModule||q0&&t[Symbol.toStringTag]==="Module"}const Et=Object.assign;function Eu(t,e){const r={};for(const n in e){const i=e[n];r[n]=Array.isArray(i)?i.map(t):t(i)}return r}const oo=()=>{},zC=/\/$/,HC=t=>t.replace(zC,"");function Lu(t,e,r="/"){let n,i={},a="",o="";const s=e.indexOf("?"),l=e.indexOf("#",s>-1?s:0);return s>-1&&(n=e.slice(0,s),a=e.slice(s+1,l>-1?l:e.length),i=t(a)),l>-1&&(n=n||e.slice(0,l),o=e.slice(l,e.length)),n=WC(n!=null?n:e,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function VC(t,e){const r=e.query?t(e.query):"";return e.path+(r&&"?")+r+(e.hash||"")}function Xd(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function $C(t,e,r){const n=e.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&ia(e.matched[n],r.matched[i])&&Z0(e.params,r.params)&&t(e.query)===t(r.query)&&e.hash===r.hash}function ia(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Z0(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(!GC(t[r],e[r]))return!1;return!0}function GC(t,e){return Array.isArray(t)?qd(t,e):Array.isArray(e)?qd(e,t):t===e}function qd(t,e){return Array.isArray(e)?t.length===e.length&&t.every((r,n)=>r===e[n]):t.length===1&&t[0]===e}function WC(t,e){if(t.startsWith("/"))return t;if(!t)return e;const r=e.split("/"),n=t.split("/");let i=r.length-1,a,o;for(a=0;a({left:window.pageXOffset,top:window.pageYOffset});function KC(t){let e;if("el"in t){const r=t.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;e=qC(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Kd(t,e){return(history.state?history.state.position-e:-1)+t}const gc=new Map;function ZC(t,e){gc.set(t,e)}function jC(t){const e=gc.get(t);return gc.delete(t),e}let QC=()=>location.protocol+"//"+location.host;function j0(t,e){const{pathname:r,search:n,hash:i}=e,a=t.indexOf("#");if(a>-1){let s=i.includes(t.slice(a))?t.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),Xd(l,"")}return Xd(r,t)+n+i}function JC(t,e,r,n){let i=[],a=[],o=null;const s=({state:h})=>{const v=j0(t,location),d=r.value,y=e.value;let g=0;if(h){if(r.value=v,e.value=h,o&&o===d){o=null;return}g=y?h.position-y.position:0}else n(v);i.forEach(p=>{p(r.value,d,{delta:g,type:Po.pop,direction:g?g>0?so.forward:so.back:so.unknown})})};function l(){o=r.value}function u(h){i.push(h);const v=()=>{const d=i.indexOf(h);d>-1&&i.splice(d,1)};return a.push(v),v}function f(){const{history:h}=window;!h.state||h.replaceState(Et({},h.state,{scroll:Jl()}),"")}function c(){for(const h of a)h();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",f),{pauseListeners:l,listen:u,destroy:c}}function Zd(t,e,r,n=!1,i=!1){return{back:t,current:e,forward:r,replaced:n,position:window.history.length,scroll:i?Jl():null}}function tT(t){const{history:e,location:r}=window,n={value:j0(t,r)},i={value:e.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function a(l,u,f){const c=t.indexOf("#"),h=c>-1?(r.host&&document.querySelector("base")?t:t.slice(c))+l:QC()+t+l;try{e[f?"replaceState":"pushState"](u,"",h),i.value=u}catch(v){console.error(v),r[f?"replace":"assign"](h)}}function o(l,u){const f=Et({},e.state,Zd(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,f,!0),n.value=l}function s(l,u){const f=Et({},i.value,e.state,{forward:l,scroll:Jl()});a(f.current,f,!0);const c=Et({},Zd(n.value,l,null),{position:f.position+1},u);a(l,c,!1),n.value=l}return{location:n,state:i,push:s,replace:o}}function mN(t){t=UC(t);const e=tT(t),r=JC(t,e.state,e.location,e.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=Et({location:"",base:t,go:n,createHref:XC.bind(null,t)},e,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function eT(t){return typeof t=="string"||t&&typeof t=="object"}function Q0(t){return typeof t=="string"||typeof t=="symbol"}const Wr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},J0=pa("nf");var jd;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(jd||(jd={}));function aa(t,e){return Et(new Error,{type:t,[J0]:!0},e)}function Ur(t,e){return t instanceof Error&&J0 in t&&(e==null||!!(t.type&e))}const Qd="[^/]+?",rT={sensitive:!1,strict:!1,start:!0,end:!0},nT=/[.+*?^${}()[\]/\\]/g;function iT(t,e){const r=Et({},rT,e),n=[];let i=r.start?"^":"";const a=[];for(const u of t){const f=u.length?[]:[90];r.strict&&!u.length&&(i+="/");for(let c=0;ce.length?e.length===1&&e[0]===40+40?1:-1:0}function oT(t,e){let r=0;const n=t.score,i=e.score;for(;r1&&(l==="*"||l==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;s{o(m)}:oo}function o(f){if(Q0(f)){const c=n.get(f);c&&(n.delete(f),r.splice(r.indexOf(c),1),c.children.forEach(o),c.alias.forEach(o))}else{const c=r.indexOf(f);c>-1&&(r.splice(c,1),f.record.name&&n.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function s(){return r}function l(f){let c=0;for(;c=0&&(f.record.path!==r[c].record.path||!t_(f,r[c]));)c++;r.splice(c,0,f),f.record.name&&!Jd(f)&&n.set(f.record.name,f)}function u(f,c){let h,v={},d,y;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw aa(1,{location:f});y=h.record.name,v=Et(hT(c.params,h.keys.filter(m=>!m.optional).map(m=>m.name)),f.params),d=h.stringify(v)}else if("path"in f)d=f.path,h=r.find(m=>m.re.test(d)),h&&(v=h.parse(d),y=h.record.name);else{if(h=c.name?n.get(c.name):r.find(m=>m.re.test(c.path)),!h)throw aa(1,{location:f,currentLocation:c});y=h.record.name,v=Et({},c.params,f.params),d=h.stringify(v)}const g=[];let p=h;for(;p;)g.unshift(p.record),p=p.parent;return{name:y,path:d,params:v,matched:g,meta:pT(g)}}return t.forEach(f=>a(f)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function hT(t,e){const r={};for(const n of e)n in t&&(r[n]=t[n]);return r}function vT(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:dT(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function dT(t){const e={},r=t.props||!1;if("component"in t)e.default=r;else for(const n in t.components)e[n]=typeof r=="boolean"?r:r[n];return e}function Jd(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function pT(t){return t.reduce((e,r)=>Et(e,r.meta),{})}function tp(t,e){const r={};for(const n in t)r[n]=n in e?e[n]:t[n];return r}function t_(t,e){return e.children.some(r=>r===t||t_(t,r))}const e_=/#/g,gT=/&/g,yT=/\//g,mT=/=/g,_T=/\?/g,r_=/\+/g,wT=/%5B/g,ST=/%5D/g,n_=/%5E/g,bT=/%60/g,i_=/%7B/g,xT=/%7C/g,a_=/%7D/g,CT=/%20/g;function tv(t){return encodeURI(""+t).replace(xT,"|").replace(wT,"[").replace(ST,"]")}function TT(t){return tv(t).replace(i_,"{").replace(a_,"}").replace(n_,"^")}function yc(t){return tv(t).replace(r_,"%2B").replace(CT,"+").replace(e_,"%23").replace(gT,"%26").replace(bT,"`").replace(i_,"{").replace(a_,"}").replace(n_,"^")}function MT(t){return yc(t).replace(mT,"%3D")}function DT(t){return tv(t).replace(e_,"%23").replace(_T,"%3F")}function AT(t){return t==null?"":DT(t).replace(yT,"%2F")}function yl(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function PT(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;ia&&yc(a)):[n&&yc(n)]).forEach(a=>{a!==void 0&&(e+=(e.length?"&":"")+r,a!=null&&(e+="="+a))})}return e}function IT(t){const e={};for(const r in t){const n=t[r];n!==void 0&&(e[r]=Array.isArray(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return e}function Ca(){let t=[];function e(n){return t.push(n),()=>{const i=t.indexOf(n);i>-1&&t.splice(i,1)}}function r(){t=[]}return{add:e,list:()=>t,reset:r}}function an(t,e,r,n,i){const a=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((o,s)=>{const l=c=>{c===!1?s(aa(4,{from:r,to:e})):c instanceof Error?s(c):eT(c)?s(aa(2,{from:e,to:c})):(a&&n.enterCallbacks[i]===a&&typeof c=="function"&&a.push(c),o())},u=t.call(n&&n.instances[i],e,r,l);let f=Promise.resolve(u);t.length<3&&(f=f.then(l)),f.catch(c=>s(c))})}function Ru(t,e,r,n){const i=[];for(const a of t)for(const o in a.components){let s=a.components[o];if(!(e!=="beforeRouteEnter"&&!a.instances[o]))if(ET(s)){const u=(s.__vccOpts||s)[e];u&&i.push(an(u,r,n,a,o))}else{let l=s();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const f=FC(u)?u.default:u;a.components[o]=f;const h=(f.__vccOpts||f)[e];return h&&an(h,r,n,a,o)()}))}}return i}function ET(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function rp(t){const e=Ir(Jh),r=Ir(K0),n=tr(()=>e.resolve(to(t.to))),i=tr(()=>{const{matched:l}=n.value,{length:u}=l,f=l[u-1],c=r.matched;if(!f||!c.length)return-1;const h=c.findIndex(ia.bind(null,f));if(h>-1)return h;const v=np(l[u-2]);return u>1&&np(f)===v&&c[c.length-1].path!==v?c.findIndex(ia.bind(null,l[u-2])):h}),a=tr(()=>i.value>-1&&kT(r.params,n.value.params)),o=tr(()=>i.value>-1&&i.value===r.matched.length-1&&Z0(r.params,n.value.params));function s(l={}){return OT(l)?e[to(t.replace)?"replace":"push"](to(t.to)).catch(oo):Promise.resolve()}return{route:n,href:tr(()=>n.value.href),isActive:a,isExactActive:o,navigate:s}}const LT=g0({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:rp,setup(t,{slots:e}){const r=da(rp(t)),{options:n}=Ir(Jh),i=tr(()=>({[ip(t.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[ip(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=e.default&&e.default(r);return t.custom?a:Qh("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),RT=LT;function OT(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function kT(t,e){for(const r in e){const n=e[r],i=t[r];if(typeof n=="string"){if(n!==i)return!1}else if(!Array.isArray(i)||i.length!==n.length||n.some((a,o)=>a!==i[o]))return!1}return!0}function np(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ip=(t,e,r)=>t!=null?t:e!=null?e:r,BT=g0({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(t,{attrs:e,slots:r}){const n=Ir(pc),i=tr(()=>t.route||n.value),a=Ir(Yd,0),o=tr(()=>i.value.matched[a]);Xs(Yd,a+1),Xs(NC,o),Xs(pc,i);const s=Fh();return no(()=>[s.value,o.value,t.name],([l,u,f],[c,h,v])=>{u&&(u.instances[f]=l,h&&h!==u&&l&&l===c&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),l&&u&&(!h||!ia(u,h)||!c)&&(u.enterCallbacks[f]||[]).forEach(d=>d(l))},{flush:"post"}),()=>{const l=i.value,u=o.value,f=u&&u.components[t.name],c=t.name;if(!f)return ap(r.default,{Component:f,route:l});const h=u.props[t.name],v=h?h===!0?l.params:typeof h=="function"?h(l):h:null,y=Qh(f,Et({},v,e,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[c]=null)},ref:s}));return ap(r.default,{Component:y,route:l})||y}}});function ap(t,e){if(!t)return null;const r=t(e);return r.length===1?r[0]:r}const NT=BT;function _N(t){const e=cT(t.routes,t),r=t.parseQuery||PT,n=t.stringifyQuery||ep,i=t.history,a=Ca(),o=Ca(),s=Ca(),l=$b(Wr);let u=Wr;Fi&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Eu.bind(null,k=>""+k),c=Eu.bind(null,AT),h=Eu.bind(null,yl);function v(k,W){let V,tt;return Q0(k)?(V=e.getRecordMatcher(k),tt=W):tt=k,e.addRoute(tt,V)}function d(k){const W=e.getRecordMatcher(k);W&&e.removeRoute(W)}function y(){return e.getRoutes().map(k=>k.record)}function g(k){return!!e.getRecordMatcher(k)}function p(k,W){if(W=Et({},W||l.value),typeof k=="string"){const K=Lu(r,k,W.path),C=e.resolve({path:K.path},W),E=i.createHref(K.fullPath);return Et(K,C,{params:h(C.params),hash:yl(K.hash),redirectedFrom:void 0,href:E})}let V;if("path"in k)V=Et({},k,{path:Lu(r,k.path,W.path).path});else{const K=Et({},k.params);for(const C in K)K[C]==null&&delete K[C];V=Et({},k,{params:c(k.params)}),W.params=c(W.params)}const tt=e.resolve(V,W),vt=k.hash||"";tt.params=f(h(tt.params));const ut=VC(n,Et({},k,{hash:TT(vt),path:tt.path})),Y=i.createHref(ut);return Et({fullPath:ut,hash:vt,query:n===ep?IT(k.query):k.query||{}},tt,{redirectedFrom:void 0,href:Y})}function m(k){return typeof k=="string"?Lu(r,k,l.value.path):Et({},k)}function _(k,W){if(u!==k)return aa(8,{from:W,to:k})}function w(k){return x(k)}function b(k){return w(Et(m(k),{replace:!0}))}function S(k){const W=k.matched[k.matched.length-1];if(W&&W.redirect){const{redirect:V}=W;let tt=typeof V=="function"?V(k):V;return typeof tt=="string"&&(tt=tt.includes("?")||tt.includes("#")?tt=m(tt):{path:tt},tt.params={}),Et({query:k.query,hash:k.hash,params:k.params},tt)}}function x(k,W){const V=u=p(k),tt=l.value,vt=k.state,ut=k.force,Y=k.replace===!0,K=S(V);if(K)return x(Et(m(K),{state:vt,force:ut,replace:Y}),W||V);const C=V;C.redirectedFrom=W;let E;return!ut&&$C(n,tt,V)&&(E=aa(16,{to:C,from:tt}),lt(tt,tt,!0,!1)),(E?Promise.resolve(E):M(C,tt)).catch(R=>Ur(R)?Ur(R,2)?R:Z(R):Q(R,C,tt)).then(R=>{if(R){if(Ur(R,2))return x(Et(m(R.to),{state:vt,force:ut,replace:Y}),W||C)}else R=I(C,tt,!0,Y,vt);return D(C,tt,R),R})}function T(k,W){const V=_(k,W);return V?Promise.reject(V):Promise.resolve()}function M(k,W){let V;const[tt,vt,ut]=FT(k,W);V=Ru(tt.reverse(),"beforeRouteLeave",k,W);for(const K of tt)K.leaveGuards.forEach(C=>{V.push(an(C,k,W))});const Y=T.bind(null,k,W);return V.push(Y),Si(V).then(()=>{V=[];for(const K of a.list())V.push(an(K,k,W));return V.push(Y),Si(V)}).then(()=>{V=Ru(vt,"beforeRouteUpdate",k,W);for(const K of vt)K.updateGuards.forEach(C=>{V.push(an(C,k,W))});return V.push(Y),Si(V)}).then(()=>{V=[];for(const K of k.matched)if(K.beforeEnter&&!W.matched.includes(K))if(Array.isArray(K.beforeEnter))for(const C of K.beforeEnter)V.push(an(C,k,W));else V.push(an(K.beforeEnter,k,W));return V.push(Y),Si(V)}).then(()=>(k.matched.forEach(K=>K.enterCallbacks={}),V=Ru(ut,"beforeRouteEnter",k,W),V.push(Y),Si(V))).then(()=>{V=[];for(const K of o.list())V.push(an(K,k,W));return V.push(Y),Si(V)}).catch(K=>Ur(K,8)?K:Promise.reject(K))}function D(k,W,V){for(const tt of s.list())tt(k,W,V)}function I(k,W,V,tt,vt){const ut=_(k,W);if(ut)return ut;const Y=W===Wr,K=Fi?history.state:{};V&&(tt||Y?i.replace(k.fullPath,Et({scroll:Y&&K&&K.scroll},vt)):i.push(k.fullPath,vt)),l.value=k,lt(k,W,V,Y),Z()}let A;function L(){A=i.listen((k,W,V)=>{const tt=p(k),vt=S(tt);if(vt){x(Et(vt,{replace:!0}),tt).catch(oo);return}u=tt;const ut=l.value;Fi&&ZC(Kd(ut.fullPath,V.delta),Jl()),M(tt,ut).catch(Y=>Ur(Y,12)?Y:Ur(Y,2)?(x(Y.to,tt).then(K=>{Ur(K,20)&&!V.delta&&V.type===Po.pop&&i.go(-1,!1)}).catch(oo),Promise.reject()):(V.delta&&i.go(-V.delta,!1),Q(Y,tt,ut))).then(Y=>{Y=Y||I(tt,ut,!1),Y&&(V.delta?i.go(-V.delta,!1):V.type===Po.pop&&Ur(Y,20)&&i.go(-1,!1)),D(tt,ut,Y)}).catch(oo)})}let O=Ca(),H=Ca(),B;function Q(k,W,V){Z(k);const tt=H.list();return tt.length?tt.forEach(vt=>vt(k,W,V)):console.error(k),Promise.reject(k)}function G(){return B&&l.value!==Wr?Promise.resolve():new Promise((k,W)=>{O.add([k,W])})}function Z(k){return B||(B=!k,L(),O.list().forEach(([W,V])=>k?V(k):W()),O.reset()),k}function lt(k,W,V,tt){const{scrollBehavior:vt}=t;if(!Fi||!vt)return Promise.resolve();const ut=!V&&jC(Kd(k.fullPath,0))||(tt||!V)&&history.state&&history.state.scroll||null;return Hh().then(()=>vt(k,W,ut)).then(Y=>Y&&KC(Y)).catch(Y=>Q(Y,k,W))}const _t=k=>i.go(k);let yt;const pt=new Set;return{currentRoute:l,addRoute:v,removeRoute:d,hasRoute:g,getRoutes:y,resolve:p,options:t,push:w,replace:b,go:_t,back:()=>_t(-1),forward:()=>_t(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:H.add,isReady:G,install(k){const W=this;k.component("RouterLink",RT),k.component("RouterView",NT),k.config.globalProperties.$router=W,Object.defineProperty(k.config.globalProperties,"$route",{enumerable:!0,get:()=>to(l)}),Fi&&!yt&&l.value===Wr&&(yt=!0,w(i.location).catch(vt=>{}));const V={};for(const vt in Wr)V[vt]=tr(()=>l.value[vt]);k.provide(Jh,W),k.provide(K0,da(V)),k.provide(pc,l);const tt=k.unmount;pt.add(k),k.unmount=function(){pt.delete(k),pt.size<1&&(u=Wr,A&&A(),l.value=Wr,yt=!1,B=!1),tt()}}}}function Si(t){return t.reduce((e,r)=>e.then(()=>r()),Promise.resolve())}function FT(t,e){const r=[],n=[],i=[],a=Math.max(e.matched.length,t.matched.length);for(let o=0;oia(u,s))?n.push(s):r.push(s));const l=t.matched[o];l&&(e.matched.find(u=>ia(u,l))||i.push(l))}return[r,n,i]}/*! ***************************************************************************** + */const r1=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ta=e=>r1?Symbol(e):"_vr_"+e,SM=Ta("rvlm"),$p=Ta("rvd"),Rv=Ta("r"),n1=Ta("rl"),Vc=Ta("rvl"),Yi=typeof window!="undefined";function xM(e){return e.__esModule||r1&&e[Symbol.toStringTag]==="Module"}const Et=Object.assign;function ef(e,t){const r={};for(const n in t){const i=t[n];r[n]=Array.isArray(i)?i.map(e):e(i)}return r}const po=()=>{},TM=/\/$/,CM=e=>e.replace(TM,"");function rf(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("?"),l=t.indexOf("#",s>-1?s:0);return s>-1&&(n=t.slice(0,s),a=t.slice(s+1,l>-1?l:t.length),i=e(a)),l>-1&&(n=n||t.slice(0,l),o=t.slice(l,t.length)),n=PM(n!=null?n:t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function DM(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function Vp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function MM(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&da(t.matched[n],r.matched[i])&&i1(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function da(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function i1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!AM(e[r],t[r]))return!1;return!0}function AM(e,t){return Array.isArray(e)?Gp(e,t):Array.isArray(t)?Gp(t,e):e===t}function Gp(e,t){return Array.isArray(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function PM(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/");let i=r.length-1,a,o;for(a=0;a({left:window.pageXOffset,top:window.pageYOffset});function OM(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=RM(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Up(e,t){return(history.state?history.state.position-t:-1)+e}const Gc=new Map;function kM(e,t){Gc.set(e,t)}function BM(e){const t=Gc.get(e);return Gc.delete(e),t}let NM=()=>location.protocol+"//"+location.host;function a1(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),Vp(l,"")}return Vp(r,e)+n+i}function FM(e,t,r,n){let i=[],a=[],o=null;const s=({state:v})=>{const h=a1(e,location),d=r.value,m=t.value;let g=0;if(v){if(r.value=h,t.value=v,o&&o===d){o=null;return}g=m?v.position-m.position:0}else n(h);i.forEach(p=>{p(r.value,d,{delta:g,type:Fo.pop,direction:g?g>0?go.forward:go.back:go.unknown})})};function l(){o=r.value}function u(v){i.push(v);const h=()=>{const d=i.indexOf(v);d>-1&&i.splice(d,1)};return a.push(h),h}function f(){const{history:v}=window;!v.state||v.replaceState(Et({},v.state,{scroll:_u()}),"")}function c(){for(const v of a)v();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",f),{pauseListeners:l,listen:u,destroy:c}}function Wp(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?_u():null}}function zM(e){const{history:t,location:r}=window,n={value:a1(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,f){const c=e.indexOf("#"),v=c>-1?(r.host&&document.querySelector("base")?e:e.slice(c))+l:NM()+e+l;try{t[f?"replaceState":"pushState"](u,"",v),i.value=u}catch(h){console.error(h),r[f?"replace":"assign"](v)}}function o(l,u){const f=Et({},t.state,Wp(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,f,!0),n.value=l}function s(l,u){const f=Et({},i.value,t.state,{forward:l,scroll:_u()});a(f.current,f,!0);const c=Et({},Wp(n.value,l,null),{position:f.position+1},u);a(l,c,!1),n.value=l}return{location:n,state:i,push:s,replace:o}}function iz(e){e=IM(e);const t=zM(e),r=FM(e,t.state,t.location,t.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=Et({location:"",base:e,go:n,createHref:LM.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function HM(e){return typeof e=="string"||e&&typeof e=="object"}function o1(e){return typeof e=="string"||typeof e=="symbol"}const Xr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},s1=Ta("nf");var Yp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Yp||(Yp={}));function pa(e,t){return Et(new Error,{type:e,[s1]:!0},t)}function jr(e,t){return e instanceof Error&&s1 in e&&(t==null||!!(e.type&t))}const qp="[^/]+?",$M={sensitive:!1,strict:!1,start:!0,end:!0},VM=/[.+*?^${}()[\]/\\]/g;function GM(e,t){const r=Et({},$M,t),n=[];let i=r.start?"^":"";const a=[];for(const u of e){const f=u.length?[]:[90];r.strict&&!u.length&&(i+="/");for(let c=0;ct.length?t.length===1&&t[0]===40+40?1:-1:0}function WM(e,t){let r=0;const n=e.score,i=t.score;for(;r1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function v(){u+=l}for(;s{o(y)}:po}function o(f){if(o1(f)){const c=n.get(f);c&&(n.delete(f),r.splice(r.indexOf(c),1),c.children.forEach(o),c.alias.forEach(o))}else{const c=r.indexOf(f);c>-1&&(r.splice(c,1),f.record.name&&n.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function s(){return r}function l(f){let c=0;for(;c=0&&(f.record.path!==r[c].record.path||!l1(f,r[c]));)c++;r.splice(c,0,f),f.record.name&&!Xp(f)&&n.set(f.record.name,f)}function u(f,c){let v,h={},d,m;if("name"in f&&f.name){if(v=n.get(f.name),!v)throw pa(1,{location:f});m=v.record.name,h=Et(ZM(c.params,v.keys.filter(y=>!y.optional).map(y=>y.name)),f.params),d=v.stringify(h)}else if("path"in f)d=f.path,v=r.find(y=>y.re.test(d)),v&&(h=v.parse(d),m=v.record.name);else{if(v=c.name?n.get(c.name):r.find(y=>y.re.test(c.path)),!v)throw pa(1,{location:f,currentLocation:c});m=v.record.name,h=Et({},c.params,f.params),d=v.stringify(h)}const g=[];let p=v;for(;p;)g.unshift(p.record),p=p.parent;return{name:m,path:d,params:h,matched:g,meta:tA(g)}}return e.forEach(f=>a(f)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function ZM(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function QM(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:JM(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function JM(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="boolean"?r:r[n];return t}function Xp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function tA(e){return e.reduce((t,r)=>Et(t,r.meta),{})}function jp(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function l1(e,t){return t.children.some(r=>r===e||l1(e,r))}const u1=/#/g,eA=/&/g,rA=/\//g,nA=/=/g,iA=/\?/g,f1=/\+/g,aA=/%5B/g,oA=/%5D/g,c1=/%5E/g,sA=/%60/g,h1=/%7B/g,lA=/%7C/g,v1=/%7D/g,uA=/%20/g;function Ov(e){return encodeURI(""+e).replace(lA,"|").replace(aA,"[").replace(oA,"]")}function fA(e){return Ov(e).replace(h1,"{").replace(v1,"}").replace(c1,"^")}function Uc(e){return Ov(e).replace(f1,"%2B").replace(uA,"+").replace(u1,"%23").replace(eA,"%26").replace(sA,"`").replace(h1,"{").replace(v1,"}").replace(c1,"^")}function cA(e){return Uc(e).replace(nA,"%3D")}function hA(e){return Ov(e).replace(u1,"%23").replace(iA,"%3F")}function vA(e){return e==null?"":hA(e).replace(rA,"%2F")}function kl(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function dA(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&Uc(a)):[n&&Uc(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function pA(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=Array.isArray(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}function Ra(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:t,list:()=>e,reset:r}}function un(e,t,r,n,i){const a=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((o,s)=>{const l=c=>{c===!1?s(pa(4,{from:r,to:t})):c instanceof Error?s(c):HM(c)?s(pa(2,{from:t,to:c})):(a&&n.enterCallbacks[i]===a&&typeof c=="function"&&a.push(c),o())},u=e.call(n&&n.instances[i],t,r,l);let f=Promise.resolve(u);e.length<3&&(f=f.then(l)),f.catch(c=>s(c))})}function nf(e,t,r,n){const i=[];for(const a of e)for(const o in a.components){let s=a.components[o];if(!(t!=="beforeRouteEnter"&&!a.instances[o]))if(gA(s)){const u=(s.__vccOpts||s)[t];u&&i.push(un(u,r,n,a,o))}else{let l=s();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const f=xM(u)?u.default:u;a.components[o]=f;const v=(f.__vccOpts||f)[t];return v&&un(v,r,n,a,o)()}))}}return i}function gA(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zp(e){const t=_r(Rv),r=_r(n1),n=Me(()=>t.resolve(uo(e.to))),i=Me(()=>{const{matched:l}=n.value,{length:u}=l,f=l[u-1],c=r.matched;if(!f||!c.length)return-1;const v=c.findIndex(da.bind(null,f));if(v>-1)return v;const h=Qp(l[u-2]);return u>1&&Qp(f)===h&&c[c.length-1].path!==h?c.findIndex(da.bind(null,l[u-2])):v}),a=Me(()=>i.value>-1&&wA(r.params,n.value.params)),o=Me(()=>i.value>-1&&i.value===r.matched.length-1&&i1(r.params,n.value.params));function s(l={}){return _A(l)?t[uo(e.replace)?"replace":"push"](uo(e.to)).catch(po):Promise.resolve()}return{route:n,href:Me(()=>n.value.href),isActive:a,isExactActive:o,navigate:s}}const mA=mv({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zp,setup(e,{slots:t}){const r=yi(Zp(e)),{options:n}=_r(Rv),i=Me(()=>({[Jp(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Jp(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:No("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),yA=mA;function _A(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wA(e,t){for(const r in t){const n=t[r],i=e[r];if(typeof n=="string"){if(n!==i)return!1}else if(!Array.isArray(i)||i.length!==n.length||n.some((a,o)=>a!==i[o]))return!1}return!0}function Qp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jp=(e,t,r)=>e!=null?e:t!=null?t:r,bA=mv({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:r}){const n=_r(Vc),i=Me(()=>e.route||n.value),a=_r($p,0),o=Me(()=>i.value.matched[a]);sl($p,a+1),sl(SM,o),sl(Vc,i);const s=ca();return na(()=>[s.value,o.value,e.name],([l,u,f],[c,v,h])=>{u&&(u.instances[f]=l,v&&v!==u&&l&&l===c&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),l&&u&&(!v||!da(u,v)||!c)&&(u.enterCallbacks[f]||[]).forEach(d=>d(l))},{flush:"post"}),()=>{const l=i.value,u=o.value,f=u&&u.components[e.name],c=e.name;if(!f)return tg(r.default,{Component:f,route:l});const v=u.props[e.name],h=v?v===!0?l.params:typeof v=="function"?v(l):v:null,m=No(f,Et({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(u.instances[c]=null)},ref:s}));return tg(r.default,{Component:m,route:l})||m}}});function tg(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const SA=bA;function az(e){const t=KM(e.routes,e),r=e.parseQuery||dA,n=e.stringifyQuery||Kp,i=e.history,a=Ra(),o=Ra(),s=Ra(),l=Zx(Xr);let u=Xr;Yi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ef.bind(null,k=>""+k),c=ef.bind(null,vA),v=ef.bind(null,kl);function h(k,U){let $,tt;return o1(k)?($=t.getRecordMatcher(k),tt=U):tt=k,t.addRoute(tt,$)}function d(k){const U=t.getRecordMatcher(k);U&&t.removeRoute(U)}function m(){return t.getRoutes().map(k=>k.record)}function g(k){return!!t.getRecordMatcher(k)}function p(k,U){if(U=Et({},U||l.value),typeof k=="string"){const j=rf(r,k,U.path),T=t.resolve({path:j.path},U),E=i.createHref(j.fullPath);return Et(j,T,{params:v(T.params),hash:kl(j.hash),redirectedFrom:void 0,href:E})}let $;if("path"in k)$=Et({},k,{path:rf(r,k.path,U.path).path});else{const j=Et({},k.params);for(const T in j)j[T]==null&&delete j[T];$=Et({},k,{params:c(k.params)}),U.params=c(U.params)}const tt=t.resolve($,U),vt=k.hash||"";tt.params=f(v(tt.params));const ut=DM(n,Et({},k,{hash:fA(vt),path:tt.path})),Y=i.createHref(ut);return Et({fullPath:ut,hash:vt,query:n===Kp?pA(k.query):k.query||{}},tt,{redirectedFrom:void 0,href:Y})}function y(k){return typeof k=="string"?rf(r,k,l.value.path):Et({},k)}function _(k,U){if(u!==k)return pa(8,{from:U,to:k})}function w(k){return x(k)}function S(k){return w(Et(y(k),{replace:!0}))}function b(k){const U=k.matched[k.matched.length-1];if(U&&U.redirect){const{redirect:$}=U;let tt=typeof $=="function"?$(k):$;return typeof tt=="string"&&(tt=tt.includes("?")||tt.includes("#")?tt=y(tt):{path:tt},tt.params={}),Et({query:k.query,hash:k.hash,params:k.params},tt)}}function x(k,U){const $=u=p(k),tt=l.value,vt=k.state,ut=k.force,Y=k.replace===!0,j=b($);if(j)return x(Et(y(j),{state:vt,force:ut,replace:Y}),U||$);const T=$;T.redirectedFrom=U;let E;return!ut&&MM(n,tt,$)&&(E=pa(16,{to:T,from:tt}),lt(tt,tt,!0,!1)),(E?Promise.resolve(E):D(T,tt)).catch(R=>jr(R)?jr(R,2)?R:K(R):Q(R,T,tt)).then(R=>{if(R){if(jr(R,2))return x(Et(y(R.to),{state:vt,force:ut,replace:Y}),U||T)}else R=I(T,tt,!0,Y,vt);return M(T,tt,R),R})}function C(k,U){const $=_(k,U);return $?Promise.reject($):Promise.resolve()}function D(k,U){let $;const[tt,vt,ut]=xA(k,U);$=nf(tt.reverse(),"beforeRouteLeave",k,U);for(const j of tt)j.leaveGuards.forEach(T=>{$.push(un(T,k,U))});const Y=C.bind(null,k,U);return $.push(Y),Pi($).then(()=>{$=[];for(const j of a.list())$.push(un(j,k,U));return $.push(Y),Pi($)}).then(()=>{$=nf(vt,"beforeRouteUpdate",k,U);for(const j of vt)j.updateGuards.forEach(T=>{$.push(un(T,k,U))});return $.push(Y),Pi($)}).then(()=>{$=[];for(const j of k.matched)if(j.beforeEnter&&!U.matched.includes(j))if(Array.isArray(j.beforeEnter))for(const T of j.beforeEnter)$.push(un(T,k,U));else $.push(un(j.beforeEnter,k,U));return $.push(Y),Pi($)}).then(()=>(k.matched.forEach(j=>j.enterCallbacks={}),$=nf(ut,"beforeRouteEnter",k,U),$.push(Y),Pi($))).then(()=>{$=[];for(const j of o.list())$.push(un(j,k,U));return $.push(Y),Pi($)}).catch(j=>jr(j,8)?j:Promise.reject(j))}function M(k,U,$){for(const tt of s.list())tt(k,U,$)}function I(k,U,$,tt,vt){const ut=_(k,U);if(ut)return ut;const Y=U===Xr,j=Yi?history.state:{};$&&(tt||Y?i.replace(k.fullPath,Et({scroll:Y&&j&&j.scroll},vt)):i.push(k.fullPath,vt)),l.value=k,lt(k,U,$,Y),K()}let A;function L(){A=i.listen((k,U,$)=>{const tt=p(k),vt=b(tt);if(vt){x(Et(vt,{replace:!0}),tt).catch(po);return}u=tt;const ut=l.value;Yi&&kM(Up(ut.fullPath,$.delta),_u()),D(tt,ut).catch(Y=>jr(Y,12)?Y:jr(Y,2)?(x(Y.to,tt).then(j=>{jr(j,20)&&!$.delta&&$.type===Fo.pop&&i.go(-1,!1)}).catch(po),Promise.reject()):($.delta&&i.go(-$.delta,!1),Q(Y,tt,ut))).then(Y=>{Y=Y||I(tt,ut,!1),Y&&($.delta?i.go(-$.delta,!1):$.type===Fo.pop&&jr(Y,20)&&i.go(-1,!1)),M(tt,ut,Y)}).catch(po)})}let O=Ra(),H=Ra(),B;function Q(k,U,$){K(k);const tt=H.list();return tt.length?tt.forEach(vt=>vt(k,U,$)):console.error(k),Promise.reject(k)}function G(){return B&&l.value!==Xr?Promise.resolve():new Promise((k,U)=>{O.add([k,U])})}function K(k){return B||(B=!k,L(),O.list().forEach(([U,$])=>k?$(k):U()),O.reset()),k}function lt(k,U,$,tt){const{scrollBehavior:vt}=e;if(!Yi||!vt)return Promise.resolve();const ut=!$&&BM(Up(k.fullPath,0))||(tt||!$)&&history.state&&history.state.scroll||null;return hv().then(()=>vt(k,U,ut)).then(Y=>Y&&OM(Y)).catch(Y=>Q(Y,k,U))}const _t=k=>i.go(k);let mt;const pt=new Set;return{currentRoute:l,addRoute:h,removeRoute:d,hasRoute:g,getRoutes:m,resolve:p,options:e,push:w,replace:S,go:_t,back:()=>_t(-1),forward:()=>_t(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:H.add,isReady:G,install(k){const U=this;k.component("RouterLink",yA),k.component("RouterView",SA),k.config.globalProperties.$router=U,Object.defineProperty(k.config.globalProperties,"$route",{enumerable:!0,get:()=>uo(l)}),Yi&&!mt&&l.value===Xr&&(mt=!0,w(i.location).catch(vt=>{}));const $={};for(const vt in Xr)$[vt]=Me(()=>l.value[vt]);k.provide(Rv,U),k.provide(n1,yi($)),k.provide(Vc,l);const tt=k.unmount;pt.add(k),k.unmount=function(){pt.delete(k),pt.size<1&&(u=Xr,A&&A(),l.value=Xr,mt=!1,B=!1),tt()}}}}function Pi(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function xA(e,t){const r=[],n=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;oda(u,s))?n.push(s):r.push(s));const l=e.matched[o];l&&(t.matched.find(u=>da(u,l))||i.push(l))}return[r,n,i]}/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -19,8 +20,8 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var mc=function(t,e){return mc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},mc(t,e)};function J(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");mc(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var zT=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),HT=function(){function t(){this.browser=new zT,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window!="undefined"}return t}(),Kn=new HT;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Kn.wxa=!0,Kn.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?Kn.worker=!0:typeof navigator=="undefined"?(Kn.node=!0,Kn.svgSupported=!0):VT(navigator.userAgent,Kn);function VT(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),e.svgSupported=typeof SVGRect!="undefined",e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported=typeof document!="undefined";var s=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}var mt=Kn,ev=12,$T="sans-serif",si=ev+"px "+$T,GT=20,WT=100,UT="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function YT(t){var e={};if(typeof JSON=="undefined")return e;for(var r=0;r=0)s=o*r.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(o),r.push(o)}return r}function yM(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],a=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=t[u].getBoundingClientRect(),c=2*u,h=f.left,v=f.top;o.push(h,v),l=l&&a&&h===a[c]&&v===a[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&i?i:(e.srcCoords=o,e[n]=r?up(s,o):up(o,s))}function h_(t){return t.nodeName.toUpperCase()==="CANVAS"}var mM=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Bu=[],_M=mt.browser.firefox&&+mt.browser.version.split(".")[0]<39;function Cc(t,e,r,n){return r=r||{},n?cp(t,e,r):_M&&e.layerX!=null&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):e.offsetX!=null?(r.zrX=e.offsetX,r.zrY=e.offsetY):cp(t,e,r),r}function cp(t,e,r){if(mt.domSupported&&t.getBoundingClientRect){var n=e.clientX,i=e.clientY;if(h_(t)){var a=t.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(xc(Bu,t,n,i)){r.zrX=Bu[0],r.zrY=Bu[1];return}}r.zrX=r.zrY=0}function ov(t){return t||window.event}function Be(t,e,r){if(e=ov(e),e.zrX!=null)return e;var n=e.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&Cc(t,o,e,r)}else{Cc(t,e,e,r);var a=wM(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&mM.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function wM(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(r==null||n==null)return e;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function SM(t,e,r,n){t.addEventListener(e,r,n)}function bM(t,e,r,n){t.removeEventListener(e,r,n)}var v_=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},xM=function(){function t(){this._track=[]}return t.prototype.recognize=function(e,r,n){return this._doTrack(e,r,n),this._recognize(e)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(e,r,n){var i=e.touches;if(!!i){for(var a={points:[],touches:[],target:r,event:e},o=0,s=i.length;o1&&n&&n.length>1){var a=hp(n)/hp(i);!isFinite(a)&&(a=1),e.pinchScale=a;var o=CM(n);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}},d_="silent";function TM(t,e,r){return{type:t,event:r,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:MM}}function MM(){v_(this.event)}var DM=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.handler=null,r}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(_r),Ta=function(){function t(e,r){this.x=e,this.y=r}return t}(),AM=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p_=function(t){J(e,t);function e(r,n,i,a){var o=t.call(this)||this;return o._hovered=new Ta(0,0),o.storage=r,o.painter=n,o.painterRoot=a,i=i||new DM,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new hM(o),o}return e.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(P(AM,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},e.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=g_(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new Ta(n,i):this.findHover(n,i),u=l.target,f=this.proxy;f.setCursor&&f.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},e.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},e.prototype.resize=function(){this._hovered=new Ta(0,0)},e.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},e.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=TM(n,r,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(n,s)}))}},e.prototype.findHover=function(r,n,i){for(var a=this.storage.getDisplayList(),o=new Ta(r,n),s=a.length-1;s>=0;s--){var l=void 0;if(a[s]!==i&&!a[s].ignore&&(l=PM(a[s],r,n))&&(!o.topTarget&&(o.topTarget=a[s]),l!==d_)){o.target=a[s];break}}return o},e.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new xM);var i=this._gestureMgr;n==="start"&&i.clear();var a=i.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(n==="end"&&i.clear(),a){var o=a.type;r.gestureEvent=o;var s=new Ta;s.target=a.target,this.dispatchToElement(s,o,a.event)}},e}(_r);P(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){p_.prototype[t]=function(e){var r=e.zrX,n=e.zrY,i=g_(this,r,n),a,o;if((t!=="mouseup"||!i)&&(a=this.findHover(r,n),o=a.target),t==="mousedown")this._downEl=o,this._downPoint=[e.zrX,e.zrY],this._upEl=o;else if(t==="mouseup")this._upEl=o;else if(t==="click"){if(this._downEl!==this._upEl||!this._downPoint||uM(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,t,e)}});function PM(t,e,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var n=t,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(e,r))return!1;n.silent&&(i=!0)}var s=n.__hostTarget;n=s||n.parent}return i?d_:!0}return!1}function g_(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}var IM=p_,y_=32,Ma=7;function EM(t){for(var e=0;t>=y_;)e|=t&1,t>>=1;return t+e}function vp(t,e,r,n){var i=e+1;if(i===r)return 1;if(n(t[i++],t[e])<0){for(;i=0;)i++;return i-e}function LM(t,e,r){for(r--;e>>1,i(a,t[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:t[o+3]=t[o+2];case 2:t[o+2]=t[o+1];case 1:t[o+1]=t[o];break;default:for(;u>0;)t[o+u]=t[o+u-1],u--}t[o]=a}}function Fu(t,e,r,n,i,a){var o=0,s=0,l=1;if(a(t,e[r+i])>0){for(s=n-i;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);a(t,e[r+f])>0?o=f+1:l=f}return l}function zu(t,e,r,n,i,a){var o=0,s=0,l=1;if(a(t,e[r+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=n-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);a(t,e[r+f])<0?l=f:o=f+1}return l}function RM(t,e){var r=Ma,n,i,a=0,o=[];n=[],i=[];function s(v,d){n[a]=v,i[a]=d,a+=1}function l(){for(;a>1;){var v=a-2;if(v>=1&&i[v-1]<=i[v]+i[v+1]||v>=2&&i[v-2]<=i[v]+i[v-1])i[v-1]i[v+1])break;f(v)}}function u(){for(;a>1;){var v=a-2;v>0&&i[v-1]=Ma||x>=Ma);if(T)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),d===1){for(p=0;p=0;p--)t[S+p]=t[b+p];t[w]=o[_];return}for(var x=r;;){var T=0,M=0,D=!1;do if(e(o[_],t[m])<0){if(t[w--]=t[m--],T++,M=0,--d===0){D=!0;break}}else if(t[w--]=o[_--],M++,T=0,--g===1){D=!0;break}while((T|M)=0;p--)t[S+p]=t[b+p];if(d===0){D=!0;break}}if(t[w--]=o[_--],--g===1){D=!0;break}if(M=g-Fu(t[m],o,0,g,g-1,e),M!==0){for(w-=M,_-=M,g-=M,S=w+1,b=_+1,p=0;p=Ma||M>=Ma);if(D)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),g===1){for(w-=d,m-=d,S=w+1,b=m+1,p=d-1;p>=0;p--)t[S+p]=t[b+p];t[w]=o[_]}else{if(g===0)throw new Error;for(b=w-(g-1),p=0;ps&&(l=s),dp(t,r,r+l,r+a,e),a=l}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var Te=1,Xa=2,zi=4,pp=!1;function Hu(){pp||(pp=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function gp(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var OM=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=gp}return t.prototype.traverse=function(e,r){for(var n=0;n0&&(f.__clipPaths=[]),isNaN(f.z)&&(Hu(),f.z=0),isNaN(f.z2)&&(Hu(),f.z2=0),isNaN(f.zlevel)&&(Hu(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,r,n);var h=e.getTextGuideLine();h&&this._updateAndAddDisplayable(h,r,n);var v=e.getTextContent();v&&this._updateAndAddDisplayable(v,r,n)}},t.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},t.prototype.delRoot=function(e){if(e instanceof Array){for(var r=0,n=e.length;r=0&&this._roots.splice(i,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),kM=OM,m_;m_=mt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Tc=m_,Qs={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,r=.1,n=.4;return t===0?0:t===1?1:(!r||r<1?(r=1,e=n/4):e=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)))},elasticOut:function(t){var e,r=.1,n=.4;return t===0?0:t===1?1:(!r||r<1?(r=1,e=n/4):e=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},elasticInOut:function(t){var e,r=.1,n=.4;return t===0?0:t===1?1:(!r||r<1?(r=1,e=n/4):e=n*Math.asin(1/r)/(2*Math.PI),(t*=2)<1?-.5*(r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)):r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*(t*t*((e+1)*t-e)):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Qs.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?Qs.bounceIn(t*2)*.5:Qs.bounceOut(t*2-1)*.5+.5}},__=Qs,ls=Math.pow,vn=Math.sqrt,wl=1e-8,w_=1e-4,yp=vn(3),us=1/3,cr=ya(),He=ya(),Zi=ya();function on(t){return t>-wl&&twl||t<-wl}function Xt(t,e,r,n,i){var a=1-i;return a*a*(a*t+3*i*e)+i*i*(i*n+3*a*r)}function mp(t,e,r,n,i){var a=1-i;return 3*(((e-t)*a+2*(r-e)*i)*a+(n-r)*i*i)}function Sl(t,e,r,n,i,a){var o=n+3*(e-r)-t,s=3*(r-e*2+t),l=3*(e-t),u=t-i,f=s*s-3*o*l,c=s*l-9*o*u,h=l*l-3*s*u,v=0;if(on(f)&&on(c))if(on(s))a[0]=0;else{var d=-l/s;d>=0&&d<=1&&(a[v++]=d)}else{var y=c*c-4*f*h;if(on(y)){var g=c/f,d=-s/o+g,p=-g/2;d>=0&&d<=1&&(a[v++]=d),p>=0&&p<=1&&(a[v++]=p)}else if(y>0){var m=vn(y),_=f*s+1.5*o*(-c+m),w=f*s+1.5*o*(-c-m);_<0?_=-ls(-_,us):_=ls(_,us),w<0?w=-ls(-w,us):w=ls(w,us);var d=(-s-(_+w))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var b=(2*f*s-3*o*c)/(2*vn(f*f*f)),S=Math.acos(b)/3,x=vn(f),T=Math.cos(S),d=(-s-2*x*T)/(3*o),p=(-s+x*(T+yp*Math.sin(S)))/(3*o),M=(-s+x*(T-yp*Math.sin(S)))/(3*o);d>=0&&d<=1&&(a[v++]=d),p>=0&&p<=1&&(a[v++]=p),M>=0&&M<=1&&(a[v++]=M)}}return v}function b_(t,e,r,n,i){var a=6*r-12*e+6*t,o=9*e+3*n-3*t-9*r,s=3*e-3*t,l=0;if(on(o)){if(S_(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var f=a*a-4*o*s;if(on(f))i[0]=-a/(2*o);else if(f>0){var c=vn(f),u=(-a+c)/(2*o),h=(-a-c)/(2*o);u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function bl(t,e,r,n,i,a){var o=(e-t)*i+t,s=(r-e)*i+e,l=(n-r)*i+r,u=(s-o)*i+o,f=(l-s)*i+s,c=(f-u)*i+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=f,a[6]=l,a[7]=n}function BM(t,e,r,n,i,a,o,s,l,u,f){var c,h=.005,v=1/0,d,y,g,p;cr[0]=l,cr[1]=u;for(var m=0;m<1;m+=.05)He[0]=Xt(t,r,i,o,m),He[1]=Xt(e,n,a,s,m),g=Ki(cr,He),g=0&&g=0&&u<=1&&(i[l++]=u)}}else{var f=o*o-4*a*s;if(on(f)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(f>0){var c=vn(f),u=(-o+c)/(2*a),h=(-o-c)/(2*a);u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function x_(t,e,r){var n=t+r-2*e;return n===0?.5:(t-e)/n}function xl(t,e,r,n,i){var a=(e-t)*n+t,o=(r-e)*n+e,s=(o-a)*n+a;i[0]=t,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function zM(t,e,r,n,i,a,o,s,l){var u,f=.005,c=1/0;cr[0]=o,cr[1]=s;for(var h=0;h<1;h+=.05){He[0]=re(t,r,i,h),He[1]=re(e,n,a,h);var v=Ki(cr,He);v=0&&v=1?1:Sl(0,n,a,1,l,s)&&Xt(0,i,o,1,s[0])}}}var $M=function(){function t(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||_e,this.ondestroy=e.ondestroy||_e,this.onrestart=e.onrestart||_e,e.easing&&this.setEasing(e.easing)}return t.prototype.step=function(e,r){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=e-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=i%n;this._startTime=e-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(e){this.easing=e,this.easingFunc=dt(e)?e:__[e]||C_(e)},t}(),GM=$M,T_=function(){function t(e){this.value=e}return t}(),WM=function(){function t(){this._len=0}return t.prototype.insert=function(e){var r=new T_(e);return this.insertEntry(r),r},t.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},t.prototype.remove=function(e){var r=e.prev,n=e.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,e.next=e.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),UM=function(){function t(e){this._list=new WM,this._maxSize=10,this._map={},this._maxSize=e}return t.prototype.put=function(e,r){var n=this._list,i=this._map,a=null;if(i[e]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=r:s=new T_(r),s.key=e,n.insertEntry(s),i[e]=s}return a},t.prototype.get=function(e){var r=this._map[e],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),Ko=UM,wp={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function dn(t){return t=Math.round(t),t<0?0:t>255?255:t}function Mc(t){return t<0?0:t>1?1:t}function Vu(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?dn(parseFloat(e)/100*255):dn(parseInt(e,10))}function Cl(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?Mc(parseFloat(e)/100):Mc(parseFloat(e))}function $u(t,e,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?t+(e-t)*r*6:r*2<1?e:r*3<2?t+(e-t)*(2/3-r)*6:t}function fs(t,e,r){return t+(e-t)*r}function ke(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function Dc(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var M_=new Ko(20),cs=null;function xi(t,e){cs&&Dc(cs,e),cs=M_.put(t,cs||e.slice())}function Er(t,e){if(!!t){e=e||[];var r=M_.get(t);if(r)return Dc(e,r);t=t+"";var n=t.replace(/ /g,"").toLowerCase();if(n in wp)return Dc(e,wp[n]),xi(t,e),e;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){ke(e,0,0,0,1);return}return ke(e,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),xi(t,e),e}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){ke(e,0,0,0,1);return}return ke(e,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),xi(t,e),e}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ke(e,+u[0],+u[1],+u[2],1):ke(e,0,0,0,1);f=Cl(u.pop());case"rgb":if(u.length!==3){ke(e,0,0,0,1);return}return ke(e,Vu(u[0]),Vu(u[1]),Vu(u[2]),f),xi(t,e),e;case"hsla":if(u.length!==4){ke(e,0,0,0,1);return}return u[3]=Cl(u[3]),Sp(u,e),xi(t,e),e;case"hsl":if(u.length!==3){ke(e,0,0,0,1);return}return Sp(u,e),xi(t,e),e;default:return}}ke(e,0,0,0,1)}}function Sp(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=Cl(t[1]),i=Cl(t[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return e=e||[],ke(e,dn($u(o,a,r+1/3)*255),dn($u(o,a,r)*255),dn($u(o,a,r-1/3)*255),1),t.length===4&&(e[3]=t[3]),e}function bp(t,e){var r=Er(t);if(r){for(var n=0;n<3;n++)e<0?r[n]=r[n]*(1-e)|0:r[n]=(255-r[n])*e+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return nu(r,r.length===4?"rgba":"rgb")}}function YM(t,e,r){if(!(!(e&&e.length)||!(t>=0&&t<=1))){var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),o=Er(e[i]),s=Er(e[a]),l=n-i,u=nu([dn(fs(o[0],s[0],l)),dn(fs(o[1],s[1],l)),dn(fs(o[2],s[2],l)),Mc(fs(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function nu(t,e){if(!(!t||!t.length)){var r=t[0]+","+t[1]+","+t[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(r+=","+t[3]),e+"("+r+")"}}function Tl(t,e){var r=Er(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}function XM(t){return t.type==="linear"}function qM(t){return t.type==="radial"}(function(){return mt.hasGlobalWindow&&dt(window.btoa)?function(t){return window.btoa(unescape(t))}:typeof Buffer!="undefined"?function(t){return Buffer.from(t).toString("base64")}:function(t){return null}})();var Ac=Array.prototype.slice;function Tr(t,e,r){return(e-t)*r+t}function Gu(t,e,r,n){for(var i=e.length,a=0;an?e:t,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var l=a;l=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(e,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=Cp,l=r;if(we(r)){var u=QM(r);s=u,(u===1&&!$t(r[0])||u===2&&!$t(r[0][0]))&&(o=!0)}else if($t(r)&&!_l(r))s=vs;else if(nt(r))if(!isNaN(+r))s=vs;else{var f=Er(r);f&&(l=f,s=qa)}else if(eu(r)){var c=q({},l);c.colorStops=ct(r.colorStops,function(v){return{offset:v.offset,color:Er(v.color)}}),XM(r)?s=Pc:qM(r)&&(s=Ic),l=c}a===0?this.valType=s:(s!==this.valType||s===Cp)&&(o=!0),this.discrete=this.discrete||o;var h={time:e,value:l,rawValue:r,percent:0};return n&&(h.easing=n,h.easingFunc=dt(n)?n:__[n]||C_(n)),i.push(h),h},t.prototype.prepare=function(e,r){var n=this.keyframes;this._needsSort&&n.sort(function(y,g){return y.time-g.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,l=ds(i),u=Tp(i),f=0;f=0&&!(o[f].percent<=r);f--);f=h(f,s-2)}else{for(f=c;fr);f++);f=h(f-1,s-2)}d=o[f+1],v=o[f]}if(!!(v&&d)){this._lastFr=f,this._lastFrP=r;var g=d.percent-v.percent,p=g===0?1:h((r-v.percent)/g,1);d.easingFunc&&(p=d.easingFunc(p));var m=n?this._additiveValue:u?Da:e[l];if((ds(a)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)e[l]=p<1?v.rawValue:d.rawValue;else if(ds(a))a===el?Gu(m,v[i],d[i],p):KM(m,v[i],d[i],p);else if(Tp(a)){var _=v[i],w=d[i],b=a===Pc;e[l]={type:b?"linear":"radial",x:Tr(_.x,w.x,p),y:Tr(_.y,w.y,p),colorStops:ct(_.colorStops,function(x,T){var M=w.colorStops[T];return{offset:Tr(x.offset,M.offset,p),color:tl(Gu([],x.color,M.color,p))}}),global:w.global},b?(e[l].x2=Tr(_.x2,w.x2,p),e[l].y2=Tr(_.y2,w.y2,p)):e[l].r=Tr(_.r,w.r,p)}else if(u)Gu(m,v[i],d[i],p),n||(e[l]=tl(m));else{var S=Tr(v[i],d[i],p);n?this._additiveValue=S:e[l]=S}n&&this._addToTarget(e)}}},t.prototype._addToTarget=function(e){var r=this.valType,n=this.propName,i=this._additiveValue;r===vs?e[n]=e[n]+i:r===qa?(Er(e[n],Da),hs(Da,Da,i,1),e[n]=tl(Da)):r===el?hs(e[n],e[n],i,1):r===D_&&xp(e[n],e[n],i,1)},t}(),tD=function(){function t(e,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=r,r&&i){iv("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(e){this._target=e},t.prototype.when=function(e,r,n){return this.whenWithKeys(e,r,Vt(r),n)},t.prototype.whenWithKeys=function(e,r,n,i){for(var a=this._tracks,o=0;o0&&l.addKeyframe(0,Js(u),i),this._trackKeys.push(s)}l.addKeyframe(e,Js(r[s]),i)}return this._maxTime=Math.max(this._maxTime,e),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var r=e.length,n=0;n0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,e[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},t}(),sv=tD;function Gi(){return new Date().getTime()}var eD=function(t){J(e,t);function e(r){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return e.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},e.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},e.prototype.removeClip=function(r){if(!!r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},e.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},e.prototype.update=function(r){for(var n=Gi()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Tc(n),!r._paused&&r.update())}Tc(n)},e.prototype.start=function(){this._running||(this._time=Gi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Gi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Gi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(r,n){n=n||{},this.start();var i=new sv(r,n.loop);return this.addAnimator(i),i},e}(_r),rD=eD,nD=300,Wu=mt.domSupported,Uu=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=ct(t,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:t,touch:e,pointer:n}}(),Mp={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Dp=!1;function Ec(t){var e=t.pointerType;return e==="pen"||e==="touch"}function iD(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function Yu(t){t&&(t.zrByTouch=!0)}function aD(t,e){return Be(t.dom,new oD(t,e),!0)}function A_(t,e){for(var r=e,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return n}var oD=function(){function t(e,r){this.stopPropagation=_e,this.stopImmediatePropagation=_e,this.preventDefault=_e,this.type=r.type,this.target=this.currentTarget=e.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return t}(),je={mousedown:function(t){t=Be(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Be(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Be(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Be(this.dom,t);var e=t.toElement||t.relatedTarget;A_(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Dp=!0,t=Be(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Dp||(t=Be(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Be(this.dom,t),Yu(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),je.mousemove.call(this,t),je.mousedown.call(this,t)},touchmove:function(t){t=Be(this.dom,t),Yu(t),this.handler.processGesture(t,"change"),je.mousemove.call(this,t)},touchend:function(t){t=Be(this.dom,t),Yu(t),this.handler.processGesture(t,"end"),je.mouseup.call(this,t),+new Date-+this.__lastTouchMomentIp||t<-Ip}var Mn=[],Ci=[],qu=Eo(),Ku=Math.abs,cv=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},t.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},t.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},t.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},t.prototype.needLocalTransform=function(){return Tn(this.rotation)||Tn(this.x)||Tn(this.y)||Tn(this.scaleX-1)||Tn(this.scaleY-1)||Tn(this.skewX)||Tn(this.skewY)},t.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||e)){n&&Pp(n);return}n=n||Eo(),r?this.getLocalTransform(n):Pp(n),e&&(r?ji(n,e,n):hD(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)},t.prototype._resolveGlobalScaleRatio=function(e){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Mn);var n=Mn[0]<0?-1:1,i=Mn[1]<0?-1:1,a=((Mn[0]-n)*r+n)/Mn[0]||0,o=((Mn[1]-i)*r+i)/Mn[1]||0;e[0]*=a,e[1]*=a,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||Eo(),fv(this.invTransform,e)},t.prototype.getComputedTransform=function(){for(var e=this,r=[];e;)r.push(e),e=e.parent;for(;e=r.pop();)e.updateTransform();return this.transform},t.prototype.setLocalTransform=function(e){if(!!e){var r=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],i=Math.atan2(e[1],e[0]),a=Math.PI/2+i-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+e[4],this.y=+e[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(!!this.transform){var e=this.parent,r=this.transform;e&&e.transform&&(ji(Ci,e.invTransform,r),r=Ci);var n=this.originX,i=this.originY;(n||i)&&(qu[4]=n,qu[5]=i,ji(Ci,r,qu),Ci[4]-=n,Ci[5]-=i,r=Ci),this.setLocalTransform(r)}},t.prototype.getGlobalScale=function(e){var r=this.transform;return e=e||[],r?(e[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),e[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(e[0]=-e[0]),r[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},t.prototype.transformCoordToLocal=function(e,r){var n=[e,r],i=this.invTransform;return i&&Ye(n,n,i),n},t.prototype.transformCoordToGlobal=function(e,r){var n=[e,r],i=this.transform;return i&&Ye(n,n,i),n},t.prototype.getLineScale=function(){var e=this.transform;return e&&Ku(e[0]-1)>1e-10&&Ku(e[3]-1)>1e-10?Math.sqrt(Ku(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){dD(this,e)},t.getLocalTransform=function(e,r){r=r||[];var n=e.originX||0,i=e.originY||0,a=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,f=e.x,c=e.y,h=e.skewX?Math.tan(e.skewX):0,v=e.skewY?Math.tan(-e.skewY):0;if(n||i||s||l){var d=n+s,y=i+l;r[4]=-d*a-h*y*o,r[5]=-y*o-v*d*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=v*a,r[2]=h*o,u&&uv(r,r,u),r[4]+=n+f,r[5]+=i+c,r},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Lo=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function dD(t,e){for(var r=0;rd&&(d=_,yd&&(d=w,p=n.x&&e<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return this.width===0||this.height===0},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(e,r){e.x=r.x,e.y=r.y,e.width=r.width,e.height=r.height},t.applyTransform=function(e,r,n){if(!n){e!==r&&t.copy(e,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];e.x=r.x*i+o,e.y=r.y*a+s,e.width=r.width*i,e.height=r.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Dn.x=Pn.x=r.x,Dn.y=In.y=r.y,An.x=In.x=r.x+r.width,An.y=Pn.y=r.y+r.height,Dn.transform(n),In.transform(n),An.transform(n),Pn.transform(n),e.x=ps(Dn.x,An.x,Pn.x,In.x),e.y=ps(Dn.y,An.y,Pn.y,In.y);var l=gs(Dn.x,An.x,Pn.x,In.x),u=gs(Dn.y,An.y,Pn.y,In.y);e.width=l-e.x,e.height=u-e.y},t}(),Ot=gD,Ep={};function De(t,e){e=e||si;var r=Ep[e];r||(r=Ep[e]=new Ko(500));var n=r.get(t);return n==null&&(n=di.measureText(t,e).width,r.put(t,n)),n}function Lp(t,e,r,n){var i=De(t,e),a=vv(e),o=Ka(0,i,r),s=Hi(0,a,n),l=new Ot(o,s,i,a);return l}function hv(t,e,r,n){var i=((t||"")+"").split(` -`),a=i.length;if(a===1)return Lp(i[0],e,r,n);for(var o=new Ot(0,0,0,0),s=0;s=0?parseFloat(t)/100*e:parseFloat(t):t}function I_(t,e,r){var n=e.position||"inside",i=e.distance!=null?e.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,f="left",c="top";if(n instanceof Array)l+=li(n[0],r.width),u+=li(n[1],r.height),f=null,c=null;else switch(n){case"left":l-=i,u+=s,f="right",c="middle";break;case"right":l+=i+o,u+=s,c="middle";break;case"top":l+=o/2,u-=i,f="center",c="bottom";break;case"bottom":l+=o/2,u+=a+i,f="center";break;case"inside":l+=o/2,u+=s,f="center",c="middle";break;case"insideLeft":l+=i,u+=s,c="middle";break;case"insideRight":l+=o-i,u+=s,f="right",c="middle";break;case"insideTop":l+=o/2,u+=i,f="center";break;case"insideBottom":l+=o/2,u+=a-i,f="center",c="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,f="right";break;case"insideBottomLeft":l+=i,u+=a-i,c="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,f="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=f,t.verticalAlign=c,t}var Zu="__zr_normal__",ju=Lo.concat(["ignore"]),yD=ga(Lo,function(t,e){return t[e]=!0,t},{ignore:!1}),Ti={},mD=new Ot(0,0,0,0),dv=function(){function t(e){this.id=l_(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return t.prototype._init=function(e){this.attr(e)},t.prototype.drift=function(e,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":e=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=e,i[5]+=r,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(e){var r=this._textContent;if(r&&(!r.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var f=mD;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Ti,n,f):I_(Ti,n,f),a.x=Ti.x,a.y=Ti.y,o=Ti.align,s=Ti.verticalAlign;var c=n.origin;if(c&&n.rotation!=null){var h=void 0,v=void 0;c==="center"?(h=f.width*.5,v=f.height*.5):(h=li(c[0],f.width),v=li(c[1],f.height)),u=!0,a.originX=-a.x+h+(i?0:f.x),a.originY=-a.y+v+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var d=n.offset;d&&(a.x+=d[0],a.y+=d[1],u||(a.originX=-d[0],a.originY=-d[1]));var y=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),p=void 0,m=void 0,_=void 0;y&&this.canBeInsideText()?(p=n.insideFill,m=n.insideStroke,(p==null||p==="auto")&&(p=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(p),_=!0)):(p=n.outsideFill,m=n.outsideStroke,(p==null||p==="auto")&&(p=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(p),_=!0)),p=p||"#000",(p!==g.fill||m!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=p,g.stroke=m,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Te,l&&r.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(e){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?kc:Oc},t.prototype.getOutsideStroke=function(e){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&Er(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,nu(n,"rgba")},t.prototype.traverse=function(e,r){},t.prototype.attrKV=function(e,r){e==="textConfig"?this.setTextConfig(r):e==="textContent"?this.setTextContent(r):e==="clipPath"?this.setClipPath(r):e==="extra"?(this.extra=this.extra||{},q(this.extra,r)):this[e]=r},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(e,r){if(typeof e=="string")this.attrKV(e,r);else if(st(e))for(var n=e,i=Vt(n),a=0;a0},t.prototype.getState=function(e){return this.states[e]},t.prototype.ensureState=function(e){var r=this.states;return r[e]||(r[e]={}),r[e]},t.prototype.clearStates=function(e){this.useState(Zu,!1,e)},t.prototype.useState=function(e,r,n,i){var a=e===Zu,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(Pt(s,e)>=0&&(r||s.length===1))){var u;if(this.stateProxy&&!a&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),!u&&!a){iv("State "+e+" not exists.");return}a||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||i);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,r,!n&&!this.__inHover&&l&&l.duration>0,l);var c=this._textContent,h=this._textGuide;return c&&c.useState(e,r,n,f),h&&h.useState(e,r,n,f),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Te),u}}},t.prototype.useStates=function(e,r,n){if(!e.length)this.clearStates();else{var i=[],a=this.currentStates,o=e.length,s=o===a.length;if(s){for(var l=0;l0,d);var y=this._textContent,g=this._textGuide;y&&y.useStates(e,r,h),g&&g.useStates(e,r,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Te)}},t.prototype._updateAnimationTargets=function(){for(var e=0;e=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},t.prototype.replaceState=function(e,r,n){var i=this.currentStates.slice(),a=Pt(i,e),o=Pt(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},t.prototype.toggleState=function(e,r){r?this.useState(e,!0):this.removeState(e)},t.prototype._mergeStates=function(e){for(var r={},n,i=0;i=0&&a.splice(o,1)}),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(e){this.markRedraw()},t.prototype.stopAnimation=function(e,r){for(var n=this.animators,i=n.length,a=[],o=0;o0&&r.during&&a[0].during(function(d,y){r.during(y)});for(var h=0;h0||i.force&&!o.length){var T=void 0,M=void 0,D=void 0;if(s){M={},h&&(T={});for(var w=0;w<_;w++){var p=y[w];M[p]=r[p],h?T[p]=n[p]:r[p]=n[p]}}else if(h){D={};for(var w=0;w<_;w++){var p=y[w];D[p]=Js(r[p]),wD(r,n,p)}}var b=new sv(r,!1,!1,c?ge(d,function(A){return A.targetName===e}):null);b.targetName=e,i.scope&&(b.scope=i.scope),h&&T&&b.whenWithKeys(0,T,y),D&&b.whenWithKeys(0,D,y),b.whenWithKeys(u==null?500:u,s?M:n,y).delay(f||0),t.addAnimator(b,e),o.push(b)}}var L_=dv,R_=function(t){J(e,t);function e(r){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(r){return this._children[r]},e.prototype.childOfName=function(r){for(var n=this._children,i=0;i=0&&(i.splice(a,0,r),this._doAdd(r))}return this},e.prototype.replace=function(r,n){var i=Pt(this._children,r);return i>=0&&this.replaceAt(n,i),this},e.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},e.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},e.prototype.remove=function(r){var n=this.__zr,i=this._children,a=Pt(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},e.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document!="undefined";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var yt=Jn,kv=12,MA="sans-serif",ci=kv+"px "+MA,AA=20,PA=100,IA="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function EA(e){var t={};if(typeof JSON=="undefined")return t;for(var r=0;r=0)s=o*r.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",i[u]+":0",n[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function rP(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=e[u].getBoundingClientRect(),c=2*u,v=f.left,h=f.top;o.push(v,h),l=l&&a&&v===a[c]&&h===a[c+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[n]=r?ig(s,o):ig(o,s))}function w1(e){return e.nodeName.toUpperCase()==="CANVAS"}var nP=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sf=[],iP=yt.browser.firefox&&+yt.browser.version.split(".")[0]<39;function Zc(e,t,r,n){return r=r||{},n?og(e,t,r):iP&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):og(e,t,r),r}function og(e,t,r){if(yt.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(w1(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(Kc(sf,e,n,i)){r.zrX=sf[0],r.zrY=sf[1];return}}r.zrX=r.zrY=0}function Hv(e){return e||window.event}function He(e,t,r){if(t=Hv(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Zc(e,o,t,r)}else{Zc(e,t,t,r);var a=aP(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&nP.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function aP(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function oP(e,t,r,n){e.addEventListener(t,r,n)}function sP(e,t,r,n){e.removeEventListener(t,r,n)}var b1=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0},lP=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(!!i){for(var a={points:[],touches:[],target:r,event:t},o=0,s=i.length;o1&&n&&n.length>1){var a=sg(n)/sg(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=uP(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}},S1="silent";function fP(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:cP}}function cP(){b1(this.event)}var hP=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Tr),Oa=function(){function e(t,r){this.x=t,this.y=r}return e}(),vP=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],x1=function(e){J(t,e);function t(r,n,i,a){var o=e.call(this)||this;return o._hovered=new Oa(0,0),o.storage=r,o.painter=n,o.painterRoot=a,i=i||new hP,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new ZA(o),o}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(P(vP,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=T1(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new Oa(n,i):this.findHover(n,i),u=l.target,f=this.proxy;f.setCursor&&f.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Oa(0,0)},t.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=fP(n,r,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(n,s)}))}},t.prototype.findHover=function(r,n,i){for(var a=this.storage.getDisplayList(),o=new Oa(r,n),s=a.length-1;s>=0;s--){var l=void 0;if(a[s]!==i&&!a[s].ignore&&(l=dP(a[s],r,n))&&(!o.topTarget&&(o.topTarget=a[s]),l!==S1)){o.target=a[s];break}}return o},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new lP);var i=this._gestureMgr;n==="start"&&i.clear();var a=i.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(n==="end"&&i.clear(),a){var o=a.type;r.gestureEvent=o;var s=new Oa;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t}(Tr);P(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){x1.prototype[e]=function(t){var r=t.zrX,n=t.zrY,i=T1(this,r,n),a,o;if((e!=="mouseup"||!i)&&(a=this.findHover(r,n),o=a.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||XA(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function dP(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1;n.silent&&(i=!0)}var s=n.__hostTarget;n=s||n.parent}return i?S1:!0}return!1}function T1(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var pP=x1,C1=32,ka=7;function gP(e){for(var t=0;e>=C1;)t|=e&1,e>>=1;return e+t}function lg(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function mP(e,t,r){for(r--;t>>1,i(a,e[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=a}}function uf(e,t,r,n,i,a){var o=0,s=0,l=1;if(a(e,t[r+i])>0){for(s=n-i;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);a(e,t[r+f])>0?o=f+1:l=f}return l}function ff(e,t,r,n,i,a){var o=0,s=0,l=1;if(a(e,t[r+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=n-i;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);a(e,t[r+f])<0?l=f:o=f+1}return l}function yP(e,t){var r=ka,n,i,a=0,o=[];n=[],i=[];function s(h,d){n[a]=h,i[a]=d,a+=1}function l(){for(;a>1;){var h=a-2;if(h>=1&&i[h-1]<=i[h]+i[h+1]||h>=2&&i[h-2]<=i[h]+i[h-1])i[h-1]i[h+1])break;f(h)}}function u(){for(;a>1;){var h=a-2;h>0&&i[h-1]=ka||x>=ka);if(C)break;S<0&&(S=0),S+=2}if(r=S,r<1&&(r=1),d===1){for(p=0;p=0;p--)e[b+p]=e[S+p];e[w]=o[_];return}for(var x=r;;){var C=0,D=0,M=!1;do if(t(o[_],e[y])<0){if(e[w--]=e[y--],C++,D=0,--d===0){M=!0;break}}else if(e[w--]=o[_--],D++,C=0,--g===1){M=!0;break}while((C|D)=0;p--)e[b+p]=e[S+p];if(d===0){M=!0;break}}if(e[w--]=o[_--],--g===1){M=!0;break}if(D=g-uf(e[y],o,0,g,g-1,t),D!==0){for(w-=D,_-=D,g-=D,b=w+1,S=_+1,p=0;p=ka||D>=ka);if(M)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),g===1){for(w-=d,y-=d,b=w+1,S=y+1,p=d-1;p>=0;p--)e[b+p]=e[S+p];e[w]=o[_]}else{if(g===0)throw new Error;for(S=w-(g-1),p=0;ps&&(l=s),ug(e,r,r+l,r+a,t),a=l}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var Ae=1,ro=2,qi=4,fg=!1;function cf(){fg||(fg=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function cg(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var _P=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=cg}return e.prototype.traverse=function(t,r){for(var n=0;n0&&(f.__clipPaths=[]),isNaN(f.z)&&(cf(),f.z=0),isNaN(f.z2)&&(cf(),f.z2=0),isNaN(f.zlevel)&&(cf(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,r,n);var v=t.getTextGuideLine();v&&this._updateAndAddDisplayable(v,r,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),wP=_P,D1;D1=yt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Qc=D1,dl={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-dl.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?dl.bounceIn(e*2)*.5:dl.bounceOut(e*2-1)*.5+.5}},M1=dl,Ss=Math.pow,mn=Math.sqrt,Fl=1e-8,A1=1e-4,hg=mn(3),xs=1/3,pr=Da(),Ue=Da(),aa=Da();function fn(e){return e>-Fl&&eFl||e<-Fl}function qt(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function vg(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function zl(e,t,r,n,i,a){var o=n+3*(t-r)-e,s=3*(r-t*2+e),l=3*(t-e),u=e-i,f=s*s-3*o*l,c=s*l-9*o*u,v=l*l-3*s*u,h=0;if(fn(f)&&fn(c))if(fn(s))a[0]=0;else{var d=-l/s;d>=0&&d<=1&&(a[h++]=d)}else{var m=c*c-4*f*v;if(fn(m)){var g=c/f,d=-s/o+g,p=-g/2;d>=0&&d<=1&&(a[h++]=d),p>=0&&p<=1&&(a[h++]=p)}else if(m>0){var y=mn(m),_=f*s+1.5*o*(-c+y),w=f*s+1.5*o*(-c-y);_<0?_=-Ss(-_,xs):_=Ss(_,xs),w<0?w=-Ss(-w,xs):w=Ss(w,xs);var d=(-s-(_+w))/(3*o);d>=0&&d<=1&&(a[h++]=d)}else{var S=(2*f*s-3*o*c)/(2*mn(f*f*f)),b=Math.acos(S)/3,x=mn(f),C=Math.cos(b),d=(-s-2*x*C)/(3*o),p=(-s+x*(C+hg*Math.sin(b)))/(3*o),D=(-s+x*(C-hg*Math.sin(b)))/(3*o);d>=0&&d<=1&&(a[h++]=d),p>=0&&p<=1&&(a[h++]=p),D>=0&&D<=1&&(a[h++]=D)}}return h}function I1(e,t,r,n,i){var a=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(fn(o)){if(P1(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var f=a*a-4*o*s;if(fn(f))i[0]=-a/(2*o);else if(f>0){var c=mn(f),u=(-a+c)/(2*o),v=(-a-c)/(2*o);u>=0&&u<=1&&(i[l++]=u),v>=0&&v<=1&&(i[l++]=v)}}return l}function Hl(e,t,r,n,i,a){var o=(t-e)*i+e,s=(r-t)*i+t,l=(n-r)*i+r,u=(s-o)*i+o,f=(l-s)*i+s,c=(f-u)*i+u;a[0]=e,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=f,a[6]=l,a[7]=n}function bP(e,t,r,n,i,a,o,s,l,u,f){var c,v=.005,h=1/0,d,m,g,p;pr[0]=l,pr[1]=u;for(var y=0;y<1;y+=.05)Ue[0]=qt(e,r,i,o,y),Ue[1]=qt(t,n,a,s,y),g=ia(pr,Ue),g=0&&g=0&&u<=1&&(i[l++]=u)}}else{var f=o*o-4*a*s;if(fn(f)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(f>0){var c=mn(f),u=(-o+c)/(2*a),v=(-o-c)/(2*a);u>=0&&u<=1&&(i[l++]=u),v>=0&&v<=1&&(i[l++]=v)}}return l}function E1(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function $l(e,t,r,n,i){var a=(t-e)*n+e,o=(r-t)*n+t,s=(o-a)*n+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function TP(e,t,r,n,i,a,o,s,l){var u,f=.005,c=1/0;pr[0]=o,pr[1]=s;for(var v=0;v<1;v+=.05){Ue[0]=ie(e,r,i,v),Ue[1]=ie(t,n,a,v);var h=ia(pr,Ue);h=0&&h=1?1:zl(0,n,a,1,l,s)&&qt(0,i,o,1,s[0])}}}var MP=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||be,this.ondestroy=t.ondestroy||be,this.onrestart=t.onrestart||be,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=i%n;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=dt(t)?t:M1[t]||L1(t)},e}(),AP=MP,R1=function(){function e(t){this.value=t}return e}(),PP=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new R1(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),IP=function(){function e(t){this._list=new PP,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=r:s=new R1(r),s.key=t,n.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),ss=IP,pg={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function yn(e){return e=Math.round(e),e<0?0:e>255?255:e}function Jc(e){return e<0?0:e>1?1:e}function hf(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?yn(parseFloat(t)/100*255):yn(parseInt(t,10))}function Vl(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Jc(parseFloat(t)/100):Jc(parseFloat(t))}function vf(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function Ts(e,t,r){return e+(t-e)*r}function ze(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function th(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var O1=new ss(20),Cs=null;function Ei(e,t){Cs&&th(Cs,t),Cs=O1.put(e,Cs||t.slice())}function kr(e,t){if(!!e){t=t||[];var r=O1.get(e);if(r)return th(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in pg)return th(t,pg[n]),Ei(e,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){ze(t,0,0,0,1);return}return ze(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),Ei(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){ze(t,0,0,0,1);return}return ze(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Ei(e,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ze(t,+u[0],+u[1],+u[2],1):ze(t,0,0,0,1);f=Vl(u.pop());case"rgb":if(u.length!==3){ze(t,0,0,0,1);return}return ze(t,hf(u[0]),hf(u[1]),hf(u[2]),f),Ei(e,t),t;case"hsla":if(u.length!==4){ze(t,0,0,0,1);return}return u[3]=Vl(u[3]),gg(u,t),Ei(e,t),t;case"hsl":if(u.length!==3){ze(t,0,0,0,1);return}return gg(u,t),Ei(e,t),t;default:return}}ze(t,0,0,0,1)}}function gg(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=Vl(e[1]),i=Vl(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],ze(t,yn(vf(o,a,r+1/3)*255),yn(vf(o,a,r)*255),yn(vf(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function mg(e,t){var r=kr(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return xu(r,r.length===4?"rgba":"rgb")}}function EP(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=kr(t[i]),s=kr(t[a]),l=n-i,u=xu([yn(Ts(o[0],s[0],l)),yn(Ts(o[1],s[1],l)),yn(Ts(o[2],s[2],l)),Jc(Ts(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function xu(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Gl(e,t){var r=kr(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function LP(e){return e.type==="linear"}function RP(e){return e.type==="radial"}(function(){return yt.hasGlobalWindow&&dt(window.btoa)?function(e){return window.btoa(unescape(e))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}})();var eh=Array.prototype.slice;function Ir(e,t,r){return(t-e)*r+e}function df(e,t,r,n){for(var i=t.length,a=0;an?t:e,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var l=a;l=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=_g,l=r;if(Se(r)){var u=NP(r);s=u,(u===1&&!Vt(r[0])||u===2&&!Vt(r[0][0]))&&(o=!0)}else if(Vt(r)&&!Nl(r))s=Ms;else if(nt(r))if(!isNaN(+r))s=Ms;else{var f=kr(r);f&&(l=f,s=no)}else if(bu(r)){var c=X({},l);c.colorStops=ct(r.colorStops,function(h){return{offset:h.offset,color:kr(h.color)}}),LP(r)?s=rh:RP(r)&&(s=nh),l=c}a===0?this.valType=s:(s!==this.valType||s===_g)&&(o=!0),this.discrete=this.discrete||o;var v={time:t,value:l,rawValue:r,percent:0};return n&&(v.easing=n,v.easingFunc=dt(n)?n:M1[n]||L1(n)),i.push(v),v},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(m,g){return m.time-g.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,l=As(i),u=wg(i),f=0;f=0&&!(o[f].percent<=r);f--);f=v(f,s-2)}else{for(f=c;fr);f++);f=v(f-1,s-2)}d=o[f+1],h=o[f]}if(!!(h&&d)){this._lastFr=f,this._lastFrP=r;var g=d.percent-h.percent,p=g===0?1:v((r-h.percent)/g,1);d.easingFunc&&(p=d.easingFunc(p));var y=n?this._additiveValue:u?Ba:t[l];if((As(a)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=p<1?h.rawValue:d.rawValue;else if(As(a))a===ml?df(y,h[i],d[i],p):OP(y,h[i],d[i],p);else if(wg(a)){var _=h[i],w=d[i],S=a===rh;t[l]={type:S?"linear":"radial",x:Ir(_.x,w.x,p),y:Ir(_.y,w.y,p),colorStops:ct(_.colorStops,function(x,C){var D=w.colorStops[C];return{offset:Ir(x.offset,D.offset,p),color:gl(df([],x.color,D.color,p))}}),global:w.global},S?(t[l].x2=Ir(_.x2,w.x2,p),t[l].y2=Ir(_.y2,w.y2,p)):t[l].r=Ir(_.r,w.r,p)}else if(u)df(y,h[i],d[i],p),n||(t[l]=gl(y));else{var b=Ir(h[i],d[i],p);n?this._additiveValue=b:t[l]=b}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===Ms?t[n]=t[n]+i:r===no?(kr(t[n],Ba),Ds(Ba,Ba,i,1),t[n]=gl(Ba)):r===ml?Ds(t[n],t[n],i,1):r===k1&&yg(t[n],t[n],i,1)},e}(),zP=function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){Fv("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,$t(r),n)},e.prototype.whenWithKeys=function(t,r,n,i){for(var a=this._tracks,o=0;o0&&l.addKeyframe(0,pl(u),i),this._trackKeys.push(s)}l.addKeyframe(t,pl(r[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}(),$v=zP;function Zi(){return new Date().getTime()}var HP=function(e){J(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(!!r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=Zi()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Qc(n),!r._paused&&r.update())}Qc(n)},t.prototype.start=function(){this._running||(this._time=Zi(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Zi(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Zi()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new $v(r,n.loop);return this.addAnimator(i),i},t}(Tr),$P=HP,VP=300,pf=yt.domSupported,gf=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=ct(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}}(),bg={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Sg=!1;function ih(e){var t=e.pointerType;return t==="pen"||t==="touch"}function GP(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function mf(e){e&&(e.zrByTouch=!0)}function UP(e,t){return He(e.dom,new WP(e,t),!0)}function B1(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var WP=function(){function e(t,r){this.stopPropagation=be,this.stopImmediatePropagation=be,this.preventDefault=be,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),er={mousedown:function(e){e=He(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=He(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=He(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=He(this.dom,e);var t=e.toElement||e.relatedTarget;B1(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){Sg=!0,e=He(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){Sg||(e=He(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=He(this.dom,e),mf(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),er.mousemove.call(this,e),er.mousedown.call(this,e)},touchmove:function(e){e=He(this.dom,e),mf(e),this.handler.processGesture(e,"change"),er.mousemove.call(this,e)},touchend:function(e){e=He(this.dom,e),mf(e),this.handler.processGesture(e,"end"),er.mouseup.call(this,e),+new Date-+this.__lastTouchMomentCg||e<-Cg}var In=[],Li=[],_f=Ho(),wf=Math.abs,Wv=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Pn(this.rotation)||Pn(this.x)||Pn(this.y)||Pn(this.scaleX-1)||Pn(this.scaleY-1)||Pn(this.skewX)||Pn(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&Tg(n);return}n=n||Ho(),r?this.getLocalTransform(n):Tg(n),t&&(r?oa(n,t,n):ZP(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(In);var n=In[0]<0?-1:1,i=In[1]<0?-1:1,a=((In[0]-n)*r+n)/In[0]||0,o=((In[1]-i)*r+i)/In[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Ho(),Uv(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(!!t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(!!this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(oa(Li,t.invTransform,r),r=Li);var n=this.originX,i=this.originY;(n||i)&&(_f[4]=n,_f[5]=i,oa(Li,r,_f),Li[4]-=n,Li[5]-=i,r=Li),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&Ke(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&Ke(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&wf(t[0]-1)>1e-10&&wf(t[3]-1)>1e-10?Math.sqrt(wf(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){JP(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,f=t.x,c=t.y,v=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var d=n+s,m=i+l;r[4]=-d*a-v*m*o,r[5]=-m*o-h*d*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=h*a,r[2]=v*o,u&&Gv(r,r,u),r[4]+=n+f,r[5]+=i+c,r},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),$o=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function JP(e,t){for(var r=0;r<$o.length;r++){var n=$o[r];e[n]=t[n]}}var tI=function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(!!t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e}(),Lt=tI,Ps=Math.min,Is=Math.max,En=new Lt,Ln=new Lt,Rn=new Lt,On=new Lt,Na=new Lt,Fa=new Lt,eI=function(){function e(t,r,n,i){n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),this.x=t,this.y=r,this.width=n,this.height=i}return e.prototype.union=function(t){var r=Ps(t.x,this.x),n=Ps(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Is(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Is(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,i=t.height/r.height,a=Ho();return uh(a,a,[-r.x,-r.y]),QP(a,a,[n,i]),uh(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,l=t.x,u=t.x+t.width,f=t.y,c=t.y+t.height,v=!(ad&&(d=_,md&&(d=w,p=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=r.x*i+o,t.y=r.y*a+s,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}En.x=Rn.x=r.x,En.y=On.y=r.y,Ln.x=On.x=r.x+r.width,Ln.y=Rn.y=r.y+r.height,En.transform(n),On.transform(n),Ln.transform(n),Rn.transform(n),t.x=Ps(En.x,Ln.x,Rn.x,On.x),t.y=Ps(En.y,Ln.y,Rn.y,On.y);var l=Is(En.x,Ln.x,Rn.x,On.x),u=Is(En.y,Ln.y,Rn.y,On.y);t.width=l-t.x,t.height=u-t.y},e}(),Ot=eI,Dg={};function Ie(e,t){t=t||ci;var r=Dg[t];r||(r=Dg[t]=new ss(500));var n=r.get(e);return n==null&&(n=wi.measureText(e,t).width,r.put(e,n)),n}function Mg(e,t,r,n){var i=Ie(e,t),a=qv(t),o=io(0,i,r),s=Xi(0,a,n),l=new Ot(o,s,i,a);return l}function Yv(e,t,r,n){var i=((e||"")+"").split(` +`),a=i.length;if(a===1)return Mg(i[0],t,r,n);for(var o=new Ot(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}function F1(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,f="left",c="top";if(n instanceof Array)l+=hi(n[0],r.width),u+=hi(n[1],r.height),f=null,c=null;else switch(n){case"left":l-=i,u+=s,f="right",c="middle";break;case"right":l+=i+o,u+=s,c="middle";break;case"top":l+=o/2,u-=i,f="center",c="bottom";break;case"bottom":l+=o/2,u+=a+i,f="center";break;case"inside":l+=o/2,u+=s,f="center",c="middle";break;case"insideLeft":l+=i,u+=s,c="middle";break;case"insideRight":l+=o-i,u+=s,f="right",c="middle";break;case"insideTop":l+=o/2,u+=i,f="center";break;case"insideBottom":l+=o/2,u+=a-i,f="center",c="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=o-i,u+=i,f="right";break;case"insideBottomLeft":l+=i,u+=a-i,c="bottom";break;case"insideBottomRight":l+=o-i,u+=a-i,f="right",c="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=f,e.verticalAlign=c,e}var bf="__zr_normal__",Sf=$o.concat(["ignore"]),rI=Ca($o,function(e,t){return e[t]=!0,e},{ignore:!1}),Ri={},nI=new Ot(0,0,0,0),Xv=function(){function e(t){this.id=g1(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=i?this:null;var u=!1;if(a.copyTransform(r),n.position!=null){var f=nI;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Ri,n,f):F1(Ri,n,f),a.x=Ri.x,a.y=Ri.y,o=Ri.align,s=Ri.verticalAlign;var c=n.origin;if(c&&n.rotation!=null){var v=void 0,h=void 0;c==="center"?(v=f.width*.5,h=f.height*.5):(v=hi(c[0],f.width),h=hi(c[1],f.height)),u=!0,a.originX=-a.x+v+(i?0:f.x),a.originY=-a.y+h+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var d=n.offset;d&&(a.x+=d[0],a.y+=d[1],u||(a.originX=-d[0],a.originY=-d[1]));var m=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),p=void 0,y=void 0,_=void 0;m&&this.canBeInsideText()?(p=n.insideFill,y=n.insideStroke,(p==null||p==="auto")&&(p=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(p),_=!0)):(p=n.outsideFill,y=n.outsideStroke,(p==null||p==="auto")&&(p=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(p),_=!0)),p=p||"#000",(p!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=p,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Ae,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?lh:sh},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&kr(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,xu(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},X(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(st(t))for(var n=t,i=$t(n),a=0;a0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(bf,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===bf,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(Pt(s,t)>=0&&(r||s.length===1))){var u;if(this.stateProxy&&!a&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!a){Fv("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||i);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,r,!n&&!this.__inHover&&l&&l.duration>0,l);var c=this._textContent,v=this._textGuide;return c&&c.useState(t,r,n,f),v&&v.useState(t,r,n,f),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ae),u}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var l=0;l0,d);var m=this._textContent,g=this._textGuide;m&&m.useStates(t,r,v),g&&g.useStates(t,r,v),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ae)}},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=Pt(i,t),o=Pt(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],o=0;o0&&r.during&&a[0].during(function(d,m){r.during(m)});for(var v=0;v0||i.force&&!o.length){var C=void 0,D=void 0,M=void 0;if(s){D={},v&&(C={});for(var w=0;w<_;w++){var p=m[w];D[p]=r[p],v?C[p]=n[p]:r[p]=n[p]}}else if(v){M={};for(var w=0;w<_;w++){var p=m[w];M[p]=pl(r[p]),aI(r,n,p)}}var S=new $v(r,!1,!1,c?ye(d,function(A){return A.targetName===t}):null);S.targetName=t,i.scope&&(S.scope=i.scope),v&&C&&S.whenWithKeys(0,C,m),M&&S.whenWithKeys(0,M,m),S.whenWithKeys(u==null?500:u,s?D:n,m).delay(f||0),e.addAnimator(S,t),o.push(S)}}var H1=Xv,$1=function(e){J(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,i=0;i=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=Pt(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,i=this._children,a=Pt(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},t.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},t.prototype.findHover=function(e,r){return this.handler.findHover(e,r)},t.prototype.on=function(e,r,n){return this.handler.on(e,r,n),this},t.prototype.off=function(e,r){this.handler.off(e,r)},t.prototype.trigger=function(e,r){this.handler.trigger(e,r)},t.prototype.clear=function(){for(var e=this.storage.getRoots(),r=0;r0){if(t<=i)return o;if(t>=a)return s}else{if(t>=i)return o;if(t<=a)return s}else{if(t===i)return o;if(t===a)return s}return(t-i)/l*u+o}function ue(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return nt(t)?DD(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):t==null?NaN:+t}function Yt(t,e,r){return e==null&&(e=10),e=Math.min(Math.max(0,e),k_),t=(+t).toFixed(e),r?t:+t}function Ar(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var e=1,r=0;r<15;r++,e*=10)if(Math.round(t*e)/e===t)return r}return AD(t)}function AD(t){var e=t.toString().toLowerCase(),r=e.indexOf("e"),n=r>0?+e.slice(r+1):0,i=r>0?r:e.length,a=e.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function PD(t,e){var r=Math.log,n=Math.LN10,i=Math.floor(r(t[1]-t[0])/n),a=Math.round(r(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function ID(t,e){var r=Math.max(Ar(t),Ar(e)),n=t+e;return r>k_?n:Yt(n,r)}function B_(t){var e=Math.PI*2;return(t%e+e)%e}function Dl(t){return t>-Op&&t=10&&e++,e}function N_(t,e){var r=pv(t),n=Math.pow(10,r),i=t/n,a;return e?i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10:i<1?a=1:i<2?a=2:i<3?a=3:i<5?a=5:a=10,t=a*n,r>=-20?+t.toFixed(r<0?-r:0):t}function Al(t){var e=parseFloat(t);return e==t&&(e!==0||!nt(t)||t.indexOf("x")<=0)?e:NaN}function RD(t){return!isNaN(Al(t))}function F_(){return Math.round(Math.random()*9)}function z_(t,e){return e===0?t:z_(e,t%e)}function Bp(t,e){return t==null?e:e==null?t:t*e/z_(t,e)}function ye(t){throw new Error(t)}function Np(t,e,r){return(e-t)*r+t}var H_="series\0",OD="\0_ec_\0";function fe(t){return t instanceof Array?t:t==null?[]:[t]}function Fp(t,e,r){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,i=r.length;n=0||a&&Pt(a,l)<0)){var u=n.getShallow(l,e);u!=null&&(o[t[s][0]]=u)}}return o}}var nA=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],iA=Oo(nA),aA=function(){function t(){}return t.prototype.getAreaStyle=function(e,r){return iA(this,e,r)},t}(),Nc=new Ko(50);function oA(t){if(typeof t=="string"){var e=Nc.get(t);return e&&e.image}else return t}function U_(t,e,r,n,i){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!r)return e;var a=Nc.get(t),o={hostEl:r,cb:n,cbPayload:i};if(a)e=a.image,!au(e)&&a.pending.push(o);else{var s=di.loadImage(t,Hp,Hp);s.__zrImageSrc=t,Nc.put(t,s.__cachedImgObj={image:s,pending:[o]})}return e}else return t;else return e}function Hp(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=o;l++)s-=o;var u=De(r,e);return u>s&&(r="",u=0),s=t-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=t,i}function X_(t,e){var r=e.containerWidth,n=e.font,i=e.contentWidth;if(!r)return"";var a=De(t,n);if(a<=r)return t;for(var o=0;;o++){if(a<=i||o>=e.maxIterations){t+=e.ellipsis;break}var s=o===0?lA(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;t=t.substr(0,s),a=De(t,n)}return t===""&&(t=e.placeholder),t}function lA(t,e,r,n){for(var i=0,a=0,o=t.length;av&&u){var d=Math.floor(v/s);c=c.slice(0,d)}if(t&&a&&f!=null)for(var y=Y_(f,i,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;gs&&rf(r,t.substring(s,u),e,o),rf(r,l[2],e,o,l[1]),s=ef.lastIndex}si){b>0?(m.tokens=m.tokens.slice(0,b),g(m,w,_),r.lines=r.lines.slice(0,p+1)):r.lines=r.lines.slice(0,p);break t}var A=x.width,L=A==null||A==="auto";if(typeof A=="string"&&A.charAt(A.length-1)==="%")S.percentWidth=A,f.push(S),S.contentWidth=De(S.text,D);else{if(L){var O=x.backgroundColor,H=O&&O.image;H&&(H=oA(H),au(H)&&(S.width=Math.max(S.width,H.width*I/H.height)))}var B=d&&n!=null?n-w:null;B!=null&&B0&&d+n.accumWidth>n.width&&(f=e.split(` -`),u=!0),n.accumWidth=d}else{var y=q_(e,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=y.accumWidth+v,c=y.linesWidths,f=y.lines}}else f=e.split(` -`);for(var g=0;g=33&&e<=383}var dA=ga(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function pA(t){return vA(t)?!!dA[t]:!0}function q_(t,e,r,n,i){for(var a=[],o=[],s="",l="",u=0,f=0,c=0;cr:i+f+v>r){f?(s||l)&&(d?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=h,u+=v,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=h,f=v)):d?(a.push(l),o.push(u),l=h,u=v):(a.push(h),o.push(v));continue}f+=v,d?(l+=h,u+=v):(l&&(s+=l,l="",u=0),s+=h)}return!a.length&&!s&&(s=t,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var Fc="__zr_style_"+Math.round(Math.random()*10),ri={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ou={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ri[Fc]=!0;var $p=["z","z2","invisible"],gA=["invisible"],yA=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype._init=function(r){for(var n=Vt(r),i=0;i1e-4){s[0]=t-r,s[1]=e-n,l[0]=t+r,l[1]=e+n;return}if(ys[0]=sf(i)*r+t,ys[1]=of(i)*n+e,ms[0]=sf(a)*r+t,ms[1]=of(a)*n+e,u(s,ys,ms),f(l,ys,ms),i=i%Ln,i<0&&(i=i+Ln),a=a%Ln,a<0&&(a=a+Ln),i>a&&!o?a+=Ln:ii&&(_s[0]=sf(v)*r+t,_s[1]=of(v)*n+e,u(s,_s,s),f(l,_s,l))}var Ct={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Rn=[],On=[],or=[],Yr=[],sr=[],lr=[],lf=Math.min,uf=Math.max,kn=Math.cos,Bn=Math.sin,Sr=Math.abs,zc=Math.PI,en=zc*2,ff=typeof Float32Array!="undefined",Ia=[];function cf(t){var e=Math.round(t/zc*1e8)/1e8;return e%2*zc}function bA(t,e){var r=cf(t[0]);r<0&&(r+=en);var n=r-t[0],i=t[1];i+=n,!e&&i-r>=en?i=r+en:e&&r-i>=en?i=r-en:!e&&r>i?i=r+(en-cf(r-i)):e&&r0&&(this._ux=Sr(n/Ml/e)||0,this._uy=Sr(n/Ml/r)||0)},t.prototype.setDPR=function(e){this.dpr=e},t.prototype.setContext=function(e){this._ctx=e},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(e,r){return this._drawPendingPt(),this.addData(Ct.M,e,r),this._ctx&&this._ctx.moveTo(e,r),this._x0=e,this._y0=r,this._xi=e,this._yi=r,this},t.prototype.lineTo=function(e,r){var n=Sr(e-this._xi),i=Sr(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(Ct.L,e,r),this._ctx&&a&&this._ctx.lineTo(e,r),a)this._xi=e,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=r,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(e,r,n,i,a,o){return this._drawPendingPt(),this.addData(Ct.C,e,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(e,r,n,i,a,o),this._xi=a,this._yi=o,this},t.prototype.quadraticCurveTo=function(e,r,n,i){return this._drawPendingPt(),this.addData(Ct.Q,e,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(e,r,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(e,r,n,i,a,o){this._drawPendingPt(),Ia[0]=i,Ia[1]=a,bA(Ia,o),i=Ia[0],a=Ia[1];var s=a-i;return this.addData(Ct.A,e,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(e,r,n,i,a,o),this._xi=kn(a)*n+e,this._yi=Bn(a)*n+r,this},t.prototype.arcTo=function(e,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,r,n,i,a),this},t.prototype.rect=function(e,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,r,n,i),this.addData(Ct.R,e,r,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Ct.Z);var e=this._ctx,r=this._x0,n=this._y0;return e&&e.closePath(),this._xi=r,this._yi=n,this},t.prototype.fill=function(e){e&&e.fill(),this.toStatic()},t.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(e){var r=e.length;!(this.data&&this.data.length===r)&&ff&&(this.data=new Float32Array(r));for(var n=0;nf.length&&(this._expandData(),f=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],r=0;r11&&(this.data=new Float32Array(e)))}},t.prototype.getBoundingRect=function(){or[0]=or[1]=sr[0]=sr[1]=Number.MAX_VALUE,Yr[0]=Yr[1]=lr[0]=lr[1]=-Number.MAX_VALUE;var e=this.data,r=0,n=0,i=0,a=0,o;for(o=0;on||Sr(_)>i||h===r-1)&&(y=Math.sqrt(m*m+_*_),a=g,o=p);break}case Ct.C:{var w=e[h++],b=e[h++],g=e[h++],p=e[h++],S=e[h++],x=e[h++];y=NM(a,o,w,b,g,p,S,x,10),a=S,o=x;break}case Ct.Q:{var w=e[h++],b=e[h++],g=e[h++],p=e[h++];y=HM(a,o,w,b,g,p,10),a=g,o=p;break}case Ct.A:var T=e[h++],M=e[h++],D=e[h++],I=e[h++],A=e[h++],L=e[h++],O=L+A;h+=1,e[h++],d&&(s=kn(A)*D+T,l=Bn(A)*I+M),y=uf(D,I)*lf(en,Math.abs(L)),a=kn(O)*D+T,o=Bn(O)*I+M;break;case Ct.R:{s=a=e[h++],l=o=e[h++];var H=e[h++],B=e[h++];y=H*2+B*2;break}case Ct.Z:{var m=s-a,_=l-o;y=Math.sqrt(m*m+_*_),a=s,o=l;break}}y>=0&&(u[c++]=y,f+=y)}return this._pathLen=f,f},t.prototype.rebuildPath=function(e,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,l,u,f,c,h,v=r<1,d,y,g=0,p=0,m,_=0,w,b;if(v&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,y=this._pathLen,m=r*y,!m))return;t:for(var S=0;S0&&(e.lineTo(w,b),_=0),x){case Ct.M:s=u=n[S++],l=f=n[S++],e.moveTo(u,f);break;case Ct.L:{c=n[S++],h=n[S++];var M=Sr(c-u),D=Sr(h-f);if(M>i||D>a){if(v){var I=d[p++];if(g+I>m){var A=(m-g)/I;e.lineTo(u*(1-A)+c*A,f*(1-A)+h*A);break t}g+=I}e.lineTo(c,h),u=c,f=h,_=0}else{var L=M*M+D*D;L>_&&(w=c,b=h,_=L)}break}case Ct.C:{var O=n[S++],H=n[S++],B=n[S++],Q=n[S++],G=n[S++],Z=n[S++];if(v){var I=d[p++];if(g+I>m){var A=(m-g)/I;bl(u,O,B,G,A,Rn),bl(f,H,Q,Z,A,On),e.bezierCurveTo(Rn[1],On[1],Rn[2],On[2],Rn[3],On[3]);break t}g+=I}e.bezierCurveTo(O,H,B,Q,G,Z),u=G,f=Z;break}case Ct.Q:{var O=n[S++],H=n[S++],B=n[S++],Q=n[S++];if(v){var I=d[p++];if(g+I>m){var A=(m-g)/I;xl(u,O,B,A,Rn),xl(f,H,Q,A,On),e.quadraticCurveTo(Rn[1],On[1],Rn[2],On[2]);break t}g+=I}e.quadraticCurveTo(O,H,B,Q),u=B,f=Q;break}case Ct.A:var lt=n[S++],_t=n[S++],yt=n[S++],pt=n[S++],At=n[S++],k=n[S++],W=n[S++],V=!n[S++],tt=yt>pt?yt:pt,vt=Sr(yt-pt)>.001,ut=At+k,Y=!1;if(v){var I=d[p++];g+I>m&&(ut=At+k*(m-g)/I,Y=!0),g+=I}if(vt&&e.ellipse?e.ellipse(lt,_t,yt,pt,W,At,ut,V):e.arc(lt,_t,tt,At,ut,V),Y)break t;T&&(s=kn(At)*yt+lt,l=Bn(At)*pt+_t),u=kn(ut)*yt+lt,f=Bn(ut)*pt+_t;break;case Ct.R:s=u=n[S],l=f=n[S+1],c=n[S++],h=n[S++];var K=n[S++],C=n[S++];if(v){var I=d[p++];if(g+I>m){var E=m-g;e.moveTo(c,h),e.lineTo(c+lf(E,K),h),E-=K,E>0&&e.lineTo(c+K,h+lf(E,C)),E-=C,E>0&&e.lineTo(c+uf(K-E,0),h+C),E-=K,E>0&&e.lineTo(c,h+uf(C-E,0));break t}g+=I}e.rect(c,h,K,C);break;case Ct.Z:if(v){var I=d[p++];if(g+I>m){var A=(m-g)/I;e.lineTo(u*(1-A)+s*A,f*(1-A)+l*A);break t}g+=I}e.closePath(),u=s,f=l}}},t.prototype.clone=function(){var e=new t,r=this.data;return e.data=r.slice?r.slice():Array.prototype.slice.call(r),e._len=this._len,e},t.CMD=Ct,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),fi=xA;function Mi(t,e,r,n,i,a,o){if(i===0)return!1;var s=i,l=0,u=t;if(o>e+s&&o>n+s||ot+s&&a>r+s||ae+c&&f>n+c&&f>a+c&&f>s+c||ft+c&&u>r+c&&u>i+c&&u>o+c||ue+u&&l>n+u&&l>a+u||lt+u&&s>r+u&&s>i+u||sr||f+ui&&(i+=Ea);var h=Math.atan2(l,s);return h<0&&(h+=Ea),h>=n&&h<=i||h+Ea>=n&&h+Ea<=i}function Nn(t,e,r,n,i,a){if(a>e&&a>n||ai?s:0}var Xr=fi.CMD,Fn=Math.PI*2,DA=1e-4;function AA(t,e){return Math.abs(t-e)e&&u>n&&u>a&&u>s||u1&&PA(),v=Xt(e,n,a,s,Fe[0]),h>1&&(d=Xt(e,n,a,s,Fe[1]))),h===2?ge&&s>n&&s>a||s=0&&u<=1){for(var f=0,c=re(e,n,a,u),h=0;hr||s<-r)return 0;var l=Math.sqrt(r*r-s*s);le[0]=-l,le[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=Fn-1e-4){n=0,i=Fn;var f=a?1:-1;return o>=le[0]+t&&o<=le[1]+t?f:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=Fn,i+=Fn);for(var h=0,v=0;v<2;v++){var d=le[v];if(d+t>o){var y=Math.atan2(s,d),f=a?1:-1;y<0&&(y=Fn+y),(y>=n&&y<=i||y+Fn>=n&&y+Fn<=i)&&(y>Math.PI/2&&y1&&(r||(s+=Nn(l,u,f,c,n,i))),g&&(l=a[d],u=a[d+1],f=l,c=u),y){case Xr.M:f=a[d++],c=a[d++],l=f,u=c;break;case Xr.L:if(r){if(Mi(l,u,a[d],a[d+1],e,n,i))return!0}else s+=Nn(l,u,a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Xr.C:if(r){if(CA(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],e,n,i))return!0}else s+=IA(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Xr.Q:if(r){if(TA(l,u,a[d++],a[d++],a[d],a[d+1],e,n,i))return!0}else s+=EA(l,u,a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Xr.A:var p=a[d++],m=a[d++],_=a[d++],w=a[d++],b=a[d++],S=a[d++];d+=1;var x=!!(1-a[d++]);h=Math.cos(b)*_+p,v=Math.sin(b)*w+m,g?(f=h,c=v):s+=Nn(l,u,h,v,n,i);var T=(n-p)*w/_+p;if(r){if(MA(p,m,w,b,b+S,x,e,T,i))return!0}else s+=LA(p,m,w,b,b+S,x,T,i);l=Math.cos(b+S)*_+p,u=Math.sin(b+S)*w+m;break;case Xr.R:f=l=a[d++],c=u=a[d++];var M=a[d++],D=a[d++];if(h=f+M,v=c+D,r){if(Mi(f,c,h,c,e,n,i)||Mi(h,c,h,v,e,n,i)||Mi(h,v,f,v,e,n,i)||Mi(f,v,f,c,e,n,i))return!0}else s+=Nn(h,c,h,v,n,i),s+=Nn(f,v,f,c,n,i);break;case Xr.Z:if(r){if(Mi(l,u,f,c,e,n,i))return!0}else s+=Nn(l,u,f,c,n,i);l=f,u=c;break}}return!r&&!AA(u,c)&&(s+=Nn(l,u,f,c,n,i)||0),s!==0}function RA(t,e,r){return K_(t,0,!1,e,r)}function OA(t,e,r,n){return K_(t,e,!0,r,n)}var Z_=Dt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ri),kA={style:Dt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ou.style)},hf=Lo.concat(["invisible","culling","z","z2","zlevel","parent"]),BA=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.update=function(){var r=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(l){r.buildPath(l,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s.5?Oc:n>.2?cD:kc}else if(r)return kc}return Oc},e.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(nt(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=Tl(r,0)0))},e.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},e.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&zi)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var l=n.strokeNoScale?this.getLineScale():1,u=n.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f==null?4:f)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return r},e.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),OA(s,l/u,r,n)))return!0}if(this.hasFill())return RA(s,r,n)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=zi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(r){return this.animate("shape",r)},e.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):t.prototype.attrKV.call(this,r,n)},e.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:q(i,r),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&zi)},e.prototype.createStyle=function(r){return ru(Z_,r)},e.prototype._innerSaveToNormal=function(r){t.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=q({},this.shape))},e.prototype._applyStateObj=function(r,n,i,a,o,s){t.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.shape?o?a?u=n.shape:(u=q({},i.shape),q(u,n.shape)):(u=q({},a?this.shape:i.shape),q(u,n.shape)):l&&(u=i.shape),u)if(o){this.shape=q({},this.shape);for(var f={},c=Vt(u),h=0;h0},e.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},e.prototype.createStyle=function(r){return ru(NA,r)},e.prototype.setBoundingRect=function(r){this._rect=r},e.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=hv(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},e.initDefaultProps=function(){var r=e.prototype;r.dirtyRectTolerance=10}(),e}(Qo);j_.prototype.type="tspan";var Hc=j_,FA=Dt({x:0,y:0},ri),zA={style:Dt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ou.style)};function HA(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var Q_=function(t){J(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.createStyle=function(r){return ru(FA,r)},e.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=HA(n.image)?n.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?a[r]:a[r]/a[o]*s},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return zA},e.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Ot(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Qo);Q_.prototype.type="image";var pi=Q_;function VA(t,e){var r=e.x,n=e.y,i=e.width,a=e.height,o=e.r,s,l,u,f;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=l=u=f=o:o instanceof Array?o.length===1?s=l=u=f=o[0]:o.length===2?(s=u=o[0],l=f=o[1]):o.length===3?(s=o[0],l=f=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],f=o[3]):s=l=u=f=0;var c;s+l>i&&(c=s+l,s*=i/c,l*=i/c),u+f>i&&(c=u+f,u*=i/c,f*=i/c),l+u>a&&(c=l+u,l*=a/c,u*=a/c),s+f>a&&(c=s+f,s*=a/c,f*=a/c),t.moveTo(r+s,n),t.lineTo(r+i-l,n),l!==0&&t.arc(r+i-l,n+l,l,-Math.PI/2,0),t.lineTo(r+i,n+a-u),u!==0&&t.arc(r+i-u,n+a-u,u,0,Math.PI/2),t.lineTo(r+f,n+a),f!==0&&t.arc(r+f,n+a-f,f,Math.PI/2,Math.PI),t.lineTo(r,n+s),s!==0&&t.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var Wi=Math.round;function J_(t,e,r){if(!!e){var n=e.x1,i=e.x2,a=e.y1,o=e.y2;t.x1=n,t.x2=i,t.y1=a,t.y2=o;var s=r&&r.lineWidth;return s&&(Wi(n*2)===Wi(i*2)&&(t.x1=t.x2=Jn(n,s,!0)),Wi(a*2)===Wi(o*2)&&(t.y1=t.y2=Jn(a,s,!0))),t}}function t1(t,e,r){if(!!e){var n=e.x,i=e.y,a=e.width,o=e.height;t.x=n,t.y=i,t.width=a,t.height=o;var s=r&&r.lineWidth;return s&&(t.x=Jn(n,s,!0),t.y=Jn(i,s,!0),t.width=Math.max(Jn(n+a,s,!1)-t.x,a===0?0:1),t.height=Math.max(Jn(i+o,s,!1)-t.y,o===0?0:1)),t}}function Jn(t,e,r){if(!e)return t;var n=Wi(t*2);return(n+Wi(e))%2===0?n/2:(n+(r?1:-1))/2}var $A=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),GA={},e1=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new $A},e.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var l=t1(GA,n,this.style);i=l.x,a=l.y,o=l.width,s=l.height,l.r=n.r,n=l}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?VA(r,n):r.rect(i,a,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(kt);e1.prototype.type="rect";var Qt=e1,Xp={fill:"#000"},qp=2,WA={style:Dt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},ou.style)},r1=function(t){J(e,t);function e(r){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Xp,n.attr(r),n}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r0,A=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),L=o.calculatedLineHeight,O=0;O=0&&(O=S[L],O.align==="right");)this._placeToken(O,r,T,p,A,"right",_),M-=O.width,A-=O.width,L--;for(I+=(a-(I-g)-(m-A)-M)/2;D<=L;)O=S[D],this._placeToken(O,r,T,p,I+O.width/2,"center",_),I+=O.width,D++;p+=T}},e.prototype._placeToken=function(r,n,i,a,o,s,l){var u=n.rich[r.styleName]||{};u.text=r.text;var f=r.verticalAlign,c=a+i/2;f==="top"?c=a+r.height/2:f==="bottom"&&(c=a+i-r.height/2);var h=!r.isLineHolder&&vf(u);h&&this._renderBackground(u,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,c-r.height/2,r.width,r.height);var v=!!u.backgroundColor,d=r.textPadding;d&&(o=tg(o,s,d),c-=r.height/2-d[0]-r.innerHeight/2);var y=this._getOrCreateChild(Hc),g=y.createStyle();y.useStyle(g);var p=this._defaultStyle,m=!1,_=0,w=Jp("fill"in u?u.fill:"fill"in n?n.fill:(m=!0,p.fill)),b=Qp("stroke"in u?u.stroke:"stroke"in n?n.stroke:!v&&!l&&(!p.autoStroke||m)?(_=qp,p.stroke):null),S=u.textShadowBlur>0||n.textShadowBlur>0;g.text=r.text,g.x=o,g.y=c,S&&(g.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,g.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=r.font||si,g.opacity=Zs(u.opacity,n.opacity,1),Zp(g,u),b&&(g.lineWidth=Zs(u.lineWidth,n.lineWidth,_),g.lineDash=Mt(u.lineDash,n.lineDash),g.lineDashOffset=n.lineDashOffset||0,g.stroke=b),w&&(g.fill=w);var x=r.contentWidth,T=r.contentHeight;y.setBoundingRect(new Ot(Ka(g.x,x,g.textAlign),Hi(g.y,T,g.textBaseline),x,T))},e.prototype._renderBackground=function(r,n,i,a,o,s){var l=r.backgroundColor,u=r.borderWidth,f=r.borderColor,c=l&&l.image,h=l&&!c,v=r.borderRadius,d=this,y,g;if(h||r.lineHeight||u&&f){y=this._getOrCreateChild(Qt),y.useStyle(y.createStyle()),y.style.fill=null;var p=y.shape;p.x=i,p.y=a,p.width=o,p.height=s,p.r=v,y.dirtyShape()}if(h){var m=y.style;m.fill=l||null,m.fillOpacity=Mt(r.fillOpacity,1)}else if(c){g=this._getOrCreateChild(pi),g.onload=function(){d.dirtyStyle()};var _=g.style;_.image=l.image,_.x=i,_.y=a,_.width=o,_.height=s}if(u&&f){var m=y.style;m.lineWidth=u,m.stroke=f,m.strokeOpacity=Mt(r.strokeOpacity,1),m.lineDash=r.borderDash,m.lineDashOffset=r.borderDashOffset||0,y.strokeContainThreshold=0,y.hasFill()&&y.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var w=(y||g).style;w.shadowBlur=r.shadowBlur||0,w.shadowColor=r.shadowColor||"transparent",w.shadowOffsetX=r.shadowOffsetX||0,w.shadowOffsetY=r.shadowOffsetY||0,w.opacity=Zs(r.opacity,n.opacity,1)},e.makeFont=function(r){var n="";return qA(r)&&(n=[r.fontStyle,r.fontWeight,XA(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&vr(n)||r.textFont||r.font},e}(Qo),UA={left:!0,right:1,center:1},YA={top:1,bottom:1,middle:1},Kp=["fontStyle","fontWeight","fontSize","fontFamily"];function XA(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?ev+"px":t+"px"}function Zp(t,e){for(var r=0;r=0,a=!1;if(t instanceof kt){var o=n1(t),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(Di(s)||Di(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=q({},n),u=q({},u),u.fill=s):!Di(u.fill)&&Di(s)?(a=!0,n=q({},n),u=q({},u),u.fill=og(s)):!Di(u.stroke)&&Di(l)&&(a||(n=q({},n),u=q({},u)),u.stroke=og(l)),n.style=u}}if(n&&n.z2==null){a||(n=q({},n));var f=t.z2EmphasisLift;n.z2=t.z2+(f!=null?f:jA)}return n}function nP(t,e,r){if(r&&r.z2==null){r=q({},r);var n=t.z2SelectLift;r.z2=t.z2+(n!=null?n:QA)}return r}function iP(t,e,r){var n=Pt(t.currentStates,e)>=0,i=t.style.opacity,a=n?null:eP(t,["opacity"],e,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=q({},r),o=q({opacity:n?i:a.opacity*.1},o),r.style=o),r}function df(t,e){var r=this.states[t];if(this.style){if(t==="emphasis")return rP(this,t,e,r);if(t==="blur")return iP(this,t,r);if(t==="select")return nP(this,t,r)}return r}function aP(t){t.stateProxy=df;var e=t.getTextContent(),r=t.getTextGuideLine();e&&(e.stateProxy=df),r&&(r.stateProxy=df)}function ug(t,e){!f1(t,e)&&!t.__highByOuter&&Fr(t,i1)}function fg(t,e){!f1(t,e)&&!t.__highByOuter&&Fr(t,a1)}function Pl(t,e){t.__highByOuter|=1<<(e||0),Fr(t,i1)}function Il(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Fr(t,a1)}function oP(t){Fr(t,Sv)}function s1(t){Fr(t,o1)}function l1(t){Fr(t,JA)}function u1(t){Fr(t,tP)}function f1(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function c1(t){var e=t.getModel();e.eachComponent(function(r,n){var i=_v(n);if(i.isBlured){var a=r==="series"?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);a.group.traverse(function(o){o1(o)})}i.isBlured=!1})}function Vc(t,e,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(u,f){for(var c=0;c0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),e.push(s)}})}),e}function Gc(t,e,r){h1(t,!0),Fr(t,aP),vP(t,e,r)}function hP(t){h1(t,!1)}function Wc(t,e,r,n){n?hP(t):Gc(t,e,r)}function vP(t,e,r){var n=Bt(t);e!=null?(n.focus=e,n.blurScope=r):n.focus&&(n.focus=null)}var hg=["emphasis","blur","select"],dP={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function vg(t,e,r,n){r=r||"itemStyle";for(var i=0;i1&&(o*=pf(d),s*=pf(d));var y=(i===a?-1:1)*pf((o*o*(s*s)-o*o*(v*v)-s*s*(h*h))/(o*o*(v*v)+s*s*(h*h)))||0,g=y*o*v/s,p=y*-s*h/o,m=(t+r)/2+bs(c)*g-Ss(c)*p,_=(e+n)/2+Ss(c)*g+bs(c)*p,w=yg([1,0],[(h-g)/o,(v-p)/s]),b=[(h-g)/o,(v-p)/s],S=[(-1*h-g)/o,(-1*v-p)/s],x=yg(b,S);if(Xc(b,S)<=-1&&(x=La),Xc(b,S)>=1&&(x=0),x<0){var T=Math.round(x/La*1e6)/1e6;x=La*2+T%2*La}f.addData(u,m,_,o,s,w,x,c,a)}var wP=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,SP=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function bP(t){var e=new fi;if(!t)return e;var r=0,n=0,i=r,a=n,o,s=fi.CMD,l=t.match(wP);if(!l)return e;for(var u=0;uO*O+H*H&&(T=D,M=I),{cx:T,cy:M,x0:-f,y0:-c,x1:T*(i/b-1),y1:M*(i/b-1)}}function IP(t){var e;if(et(t)){var r=t.length;if(!r)return t;r===1?e=[t[0],t[0],0,0]:r===2?e=[t[0],t[0],t[1],t[1]]:r===3?e=t.concat(t[2]):e=t}else e=[t,t,t,t];return e}function EP(t,e){var r,n=Za(e.r,0),i=Za(e.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var l=e.startAngle,u=e.endAngle;if(!(isNaN(l)||isNaN(u))){var f=e.cx,c=e.cy,h=!!e.clockwise,v=_g(u-l),d=v>gf&&v%gf;if(d>Ze&&(v=d),!(n>Ze))t.moveTo(f,c);else if(v>gf-Ze)t.moveTo(f+n*Pi(l),c+n*zn(l)),t.arc(f,c,n,l,u,!h),i>Ze&&(t.moveTo(f+i*Pi(u),c+i*zn(u)),t.arc(f,c,i,u,l,h));else{var y=void 0,g=void 0,p=void 0,m=void 0,_=void 0,w=void 0,b=void 0,S=void 0,x=void 0,T=void 0,M=void 0,D=void 0,I=void 0,A=void 0,L=void 0,O=void 0,H=n*Pi(l),B=n*zn(l),Q=i*Pi(u),G=i*zn(u),Z=v>Ze;if(Z){var lt=e.cornerRadius;lt&&(r=IP(lt),y=r[0],g=r[1],p=r[2],m=r[3]);var _t=_g(n-i)/2;if(_=ur(_t,p),w=ur(_t,m),b=ur(_t,y),S=ur(_t,g),M=x=Za(_,w),D=T=Za(b,S),(x>Ze||T>Ze)&&(I=n*Pi(u),A=n*zn(u),L=i*Pi(l),O=i*zn(l),v<_1)){var yt=PP(H,B,L,O,I,A,Q,G);if(yt){var pt=H-yt[0],At=B-yt[1],k=I-yt[0],W=A-yt[1],V=1/zn(AP((pt*k+At*W)/(ho(pt*pt+At*At)*ho(k*k+W*W)))/2),tt=ho(yt[0]*yt[0]+yt[1]*yt[1]);M=ur(x,(n-tt)/(V+1)),D=ur(T,(i-tt)/(V-1))}}}if(!Z)t.moveTo(f+H,c+B);else if(M>Ze){var vt=ur(p,M),ut=ur(m,M),Y=xs(L,O,H,B,n,vt,h),K=xs(I,A,Q,G,n,ut,h);t.moveTo(f+Y.cx+Y.x0,c+Y.cy+Y.y0),M0&&t.arc(f+Y.cx,c+Y.cy,vt,te(Y.y0,Y.x0),te(Y.y1,Y.x1),!h),t.arc(f,c,n,te(Y.cy+Y.y1,Y.cx+Y.x1),te(K.cy+K.y1,K.cx+K.x1),!h),ut>0&&t.arc(f+K.cx,c+K.cy,ut,te(K.y1,K.x1),te(K.y0,K.x0),!h))}else t.moveTo(f+H,c+B),t.arc(f,c,n,l,u,!h);if(!(i>Ze)||!Z)t.lineTo(f+Q,c+G);else if(D>Ze){var vt=ur(y,D),ut=ur(g,D),Y=xs(Q,G,I,A,i,-ut,h),K=xs(H,B,L,O,i,-vt,h);t.lineTo(f+Y.cx+Y.x0,c+Y.cy+Y.y0),D0&&t.arc(f+Y.cx,c+Y.cy,ut,te(Y.y0,Y.x0),te(Y.y1,Y.x1),!h),t.arc(f,c,i,te(Y.cy+Y.y1,Y.cx+Y.x1),te(K.cy+K.y1,K.cx+K.x1),h),vt>0&&t.arc(f+K.cx,c+K.cy,vt,te(K.y1,K.x1),te(K.y0,K.x0),!h))}else t.lineTo(f+Q,c+G),t.arc(f,c,i,u,l,h)}t.closePath()}}}var LP=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),w1=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new LP},e.prototype.buildPath=function(r,n){EP(r,n)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(kt);w1.prototype.type="sector";var Cv=w1,RP=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),S1=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new RP},e.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},e}(kt);S1.prototype.type="ring";var b1=S1;function OP(t,e,r,n){var i=[],a=[],o=[],s=[],l,u,f,c;if(n){f=[1/0,1/0],c=[-1/0,-1/0];for(var h=0,v=t.length;h=2){if(n){var a=OP(i,n,r,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var l=a[s*2],u=a[s*2+1],f=i[(s+1)%o];t.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{t.moveTo(i[0][0],i[0][1]);for(var s=1,c=i.length;sVn[1]){if(s=!1,a)return s;var f=Math.abs(Vn[0]-Hn[1]),c=Math.abs(Hn[0]-Vn[1]);Math.min(f,c)>i.len()&&(f0){var c=f.duration,h=f.delay,v=f.easing,d={duration:c,delay:h||0,easing:v,done:a,force:!!a||!!o,setToFinal:!u,scope:t,during:o};s?e.animateFrom(r,d):e.animateTo(r,d)}else e.stopAnimation(),!s&&e.attr(r),o&&o(1),a&&a()}function wn(t,e,r,n,i,a){Mv("update",t,e,r,n,i,a)}function Jo(t,e,r,n,i,a){Mv("enter",t,e,r,n,i,a)}function vo(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function bg(t){return!t.isGroup}function cI(t){return t.shape!=null}function N1(t,e,r){if(!t||!e)return;function n(o){var s={};return o.traverse(function(l){bg(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return cI(o)&&(s.shape=q({},o.shape)),s}var a=n(t);e.traverse(function(o){if(bg(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),wn(o,l,r,Bt(o).dataIndex)}}})}function hI(t,e){return ct(t,function(r){var n=r[0];n=Rl(n,e.x),n=Ol(n,e.x+e.width);var i=r[1];return i=Rl(i,e.y),i=Ol(i,e.y+e.height),[n,i]})}function vI(t,e){var r=Rl(t.x,e.x),n=Ol(t.x+t.width,e.x+e.width),i=Rl(t.y,e.y),a=Ol(t.y+t.height,e.y+e.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function Pv(t,e,r){var n=q({rectHover:!0},e),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(i.image=t.slice(8),Dt(i,r),new pi(n)):Dv(t.replace("path://",""),n,r,"center")}function dI(t,e,r,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var g=yf(v,d,f,c)/h;return!(g<0||g>1)}function yf(t,e,r,n){return t*n-r*e}function pI(t){return t<=1e-6&&t>=-1e-6}function Iv(t){var e=t.itemTooltipOption,r=t.componentModel,n=t.itemName,i=nt(e)?{formatter:e}:e,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var l=t.formatterParamsExtra;l&&P(Vt(l),function(f){oa(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=Bt(t.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:n,option:Dt({content:n,formatterParams:s},i)}}function xg(t,e){var r;t.isGroup&&(r=e(t)),r||t.traverse(e)}function Ev(t,e){if(t)if(et(t))for(var r=0;r=0&&s.push(l)}),s}}function EI(t,e){return Tt(Tt({},t,!0),e,!0)}var LI={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},RI={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}},kl="ZH",Ov="EN",ko=Ov,ol={},kv={},$1=mt.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(kl)>-1?kl:ko}():ko;function G1(t,e){t=t.toUpperCase(),kv[t]=new ae(e),ol[t]=e}function OI(t){if(nt(t)){var e=ol[t.toUpperCase()]||{};return t===kl||t===Ov?St(e):Tt(St(e),St(ol[ko]),!1)}else return Tt(St(t),St(ol[ko]),!1)}function kI(t){return kv[t]}function BI(){return kv[ko]}G1(Ov,LI);G1(kl,RI);var Bv=1e3,Nv=Bv*60,po=Nv*60,We=po*24,Ig=We*365,ja={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Ms="{yyyy}-{MM}-{dd}",Eg={year:"{yyyy}",month:"{yyyy}-{MM}",day:Ms,hour:Ms+" "+ja.hour,minute:Ms+" "+ja.minute,second:Ms+" "+ja.second,millisecond:ja.none},wf=["year","month","day","hour","minute","second","millisecond"],W1=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function $n(t,e){return t+="","0000".substr(0,e-t.length)+t}function Qi(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function NI(t){return t===Qi(t)}function FI(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function hu(t,e,r,n){var i=kr(t),a=i[Fv(r)](),o=i[Ji(r)]()+1,s=Math.floor((o-1)/4)+1,l=i[vu(r)](),u=i["get"+(r?"UTC":"")+"Day"](),f=i[Bo(r)](),c=(f-1)%12+1,h=i[du(r)](),v=i[pu(r)](),d=i[gu(r)](),y=n instanceof ae?n:kI(n||$1)||BI(),g=y.getModel("time"),p=g.get("month"),m=g.get("monthAbbr"),_=g.get("dayOfWeek"),w=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,p[o-1]).replace(/{MMM}/g,m[o-1]).replace(/{MM}/g,$n(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,$n(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,w[u]).replace(/{e}/g,u+"").replace(/{HH}/g,$n(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,$n(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,$n(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,$n(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,$n(d,3)).replace(/{S}/g,d+"")}function zI(t,e,r,n,i){var a=null;if(nt(r))a=r;else if(dt(r))a=r(t.value,e,{level:t.level});else{var o=q({},ja);if(t.level>0)for(var s=0;s=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(et(a)){var c=t.level==null?0:t.level>=0?t.level:a.length+t.level;c=Math.min(c,a.length-1),a=a[c]}}return hu(new Date(t.value),a,i,n)}function U1(t,e){var r=kr(t),n=r[Ji(e)]()+1,i=r[vu(e)](),a=r[Bo(e)](),o=r[du(e)](),s=r[pu(e)](),l=r[gu(e)](),u=l===0,f=u&&s===0,c=f&&o===0,h=c&&a===0,v=h&&i===1,d=v&&n===1;return d?"year":v?"month":h?"day":c?"hour":f?"minute":u?"second":"millisecond"}function Lg(t,e,r){var n=$t(t)?kr(t):t;switch(e=e||U1(t,r),e){case"year":return n[Fv(r)]();case"half-year":return n[Ji(r)]()>=6?1:0;case"quarter":return Math.floor((n[Ji(r)]()+1)/4);case"month":return n[Ji(r)]();case"day":return n[vu(r)]();case"half-day":return n[Bo(r)]()/24;case"hour":return n[Bo(r)]();case"minute":return n[du(r)]();case"second":return n[pu(r)]();case"millisecond":return n[gu(r)]()}}function Fv(t){return t?"getUTCFullYear":"getFullYear"}function Ji(t){return t?"getUTCMonth":"getMonth"}function vu(t){return t?"getUTCDate":"getDate"}function Bo(t){return t?"getUTCHours":"getHours"}function du(t){return t?"getUTCMinutes":"getMinutes"}function pu(t){return t?"getUTCSeconds":"getSeconds"}function gu(t){return t?"getUTCMilliseconds":"getMilliseconds"}function HI(t){return t?"setUTCFullYear":"setFullYear"}function Y1(t){return t?"setUTCMonth":"setMonth"}function X1(t){return t?"setUTCDate":"setDate"}function q1(t){return t?"setUTCHours":"setHours"}function K1(t){return t?"setUTCMinutes":"setMinutes"}function Z1(t){return t?"setUTCSeconds":"setSeconds"}function j1(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Q1(t){if(!RD(t))return nt(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function J1(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var yu=u_,VI=/([&<>"'])/g,$I={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ge(t){return t==null?"":(t+"").replace(VI,function(e,r){return $I[r]})}function Kc(t,e,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&vr(f)?f:"-"}function a(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=e==="time",s=t instanceof Date;if(o||s){var l=o?kr(t):t;if(isNaN(+l)){if(s)return"-"}else return hu(l,n,r)}if(e==="ordinal")return _c(t)?i(t):$t(t)&&a(t)?t+"":"-";var u=Al(t);return a(u)?Q1(u):_c(t)?i(t):typeof t=="boolean"?t+"":"-"}var Rg=["a","b","c","d","e","f","g"],Sf=function(t,e){return"{"+t+(e==null?"":e)+"}"};function tw(t,e,r){et(e)||(e=[e]);var n=e.length;if(!n)return"";for(var i=e[0].$vars||[],a=0;a':'';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function hi(t,e){return e=e||"transparent",nt(t)?t:st(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Og(t,e){if(e==="_blank"||e==="blank"){var r=window.open();r.opener=null,r.location.href=t}else window.open(t,e)}var sl=P,WI=["left","right","top","bottom","width","height"],Ds=[["width","left","right"],["height","top","bottom"]];function zv(t,e,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),c=e.childAt(u+1),h=c&&c.getBoundingRect(),v,d;if(t==="horizontal"){var y=f.width+(h?-h.x+f.x:0);v=a+y,v>n||l.newline?(a=0,v=y,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(h?-h.y+f.y:0);d=o+g,d>i||l.newline?(a+=s+r,o=0,d=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),t==="horizontal"?a=v+r:o=d+r)})}var go=zv;jt(zv,"vertical");jt(zv,"horizontal");function No(t,e,r){r=yu(r||0);var n=e.width,i=e.height,a=ue(t.left,n),o=ue(t.top,i),s=ue(t.right,n),l=ue(t.bottom,i),u=ue(t.width,n),f=ue(t.height,i),c=r[2]+r[0],h=r[1]+r[3],v=t.aspect;switch(isNaN(u)&&(u=n-s-h-a),isNaN(f)&&(f=i-l-c-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>n/i?u=n*.8:f=i*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(a)&&(a=n-s-u-h),isNaN(o)&&(o=i-l-f-c),t.left||t.right){case"center":a=n/2-u/2-r[3];break;case"right":a=n-u-h;break}switch(t.top||t.bottom){case"middle":case"center":o=i/2-f/2-r[0];break;case"bottom":o=i-f-c;break}a=a||0,o=o||0,isNaN(u)&&(u=n-h-a-(s||0)),isNaN(f)&&(f=i-c-o-(l||0));var d=new Ot(a+r[3],o+r[0],u,f);return d.margin=r,d}function Fo(t){var e=t.layoutMode||t.constructor.layoutMode;return st(e)?e:e?{type:e}:null}function sa(t,e,r){var n=r&&r.ignoreSize;!et(n)&&(n=[n,n]);var i=o(Ds[0],0),a=o(Ds[1],1);u(Ds[0],t,i),u(Ds[1],t,a);function o(f,c){var h={},v=0,d={},y=0,g=2;if(sl(f,function(_){d[_]=t[_]}),sl(f,function(_){s(e,_)&&(h[_]=d[_]=e[_]),l(h,_)&&v++,l(d,_)&&y++}),n[c])return l(e,f[1])?d[f[2]]=null:l(e,f[2])&&(d[f[1]]=null),d;if(y===g||!v)return d;if(v>=g)return h;for(var p=0;p=0;l--)s=Tt(s,i[l],!0);n.defaultOption=s}return n.defaultOption},e.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return jo(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},e.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(r){this.option.zlevel=r},e.protoInitialize=function(){var r=e.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),e}(ae);W_(ma,ae);iu(ma);PI(ma);II(ma,XI);function XI(t){var e=[];return P(ma.getClassesByMainType(t),function(r){e=e.concat(r.dependencies||r.prototype.dependencies||[])}),e=ct(e,function(r){return dr(r).main}),t!=="dataset"&&Pt(e,"dataset")<=0&&e.unshift("dataset"),e}var zt=ma,ew="";typeof navigator!="undefined"&&(ew=navigator.platform||"");var Ii="rgba(0, 0, 0, 0.2)",qI={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ii,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ii,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ii,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ii,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ii,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ii,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ew.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},rw=gt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Xe="original",Se="arrayRows",wr="objectRows",zr="keyedColumns",pn="typedArray",nw="unknown",Lr="column",_a="row",xe={Must:1,Might:2,Not:3},iw=Kt();function KI(t){iw(t).datasetMap=gt()}function ZI(t,e,r){var n={},i=aw(e);if(!i||!t)return n;var a=[],o=[],s=e.ecModel,l=iw(s).datasetMap,u=i.uid+"_"+r.seriesLayoutBy,f,c;t=t.slice(),P(t,function(y,g){var p=st(y)?y:t[g]={name:y};p.type==="ordinal"&&f==null&&(f=g,c=d(p)),n[p.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});P(t,function(y,g){var p=y.name,m=d(y);if(f==null){var _=h.valueWayDim;v(n[p],_,m),v(o,_,m),h.valueWayDim+=m}else if(f===g)v(n[p],0,m),v(a,0,m);else{var _=h.categoryWayDim;v(n[p],_,m),v(o,_,m),h.categoryWayDim+=m}});function v(y,g,p){for(var m=0;me)return t[n];return t[r-1]}function rE(t,e,r,n,i,a,o){a=a||t;var s=e(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var f=o==null||!n?r:eE(n,o);if(f=f||r,!(!f||!f.length)){var c=f[l];return i&&(u[i]=c),s.paletteIdx=(l+1)%f.length,c}}function nE(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var As,Ra,Bg,Ng="\0_ec_inner",iE=1,sw=function(t){J(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new ae(a),this._locale=new ae(o),this._optionManager=s},e.prototype.setOption=function(r,n,i){var a=Hg(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},e.prototype.resetOption=function(r,n){return this._resetOption(r,Hg(n))},e.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");!this.option||r==="recreate"?Bg(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var l=a.getMediaOption(this);l.length&&P(l,function(u){i=!0,this._mergeOption(u,n)},this)}return i},e.prototype.mergeOption=function(r){this._mergeOption(r,null)},e.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],l=gt(),u=n&&n.replaceMergeMainTypeMap;KI(this),P(r,function(c,h){c!=null&&(zt.hasClass(h)?h&&(s.push(h),l.set(h,!0)):i[h]=i[h]==null?St(c):Tt(i[h],c,!0))}),u&&u.each(function(c,h){zt.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),zt.topologicalTravel(s,zt.getAllClassMainTypes(),f,this);function f(c){var h=tE(this,c,fe(r[c])),v=a.get(c),d=v?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",y=BD(v,h,d);GD(y,c,zt),i[c]=null,a.set(c,null),o.set(c,0);var g=[],p=[],m=0,_;P(y,function(w,b){var S=w.existing,x=w.newOption;if(!x)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var T=c==="series",M=zt.getClass(c,w.keyInfo.subType,!T);if(!M)return;if(c==="tooltip"){if(_)return;_=!0}if(S&&S.constructor===M)S.name=w.keyInfo.name,S.mergeOption(x,this),S.optionUpdated(x,!1);else{var D=q({componentIndex:b},w.keyInfo);S=new M(x,this,this,D),q(S,D),w.brandNew&&(S.__requireNewView=!0),S.init(x,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),p.push(S),m++):(g.push(void 0),p.push(void 0))},this),i[c]=g,a.set(c,p),o.set(c,m),c==="series"&&As(this)}this._seriesIndices||As(this)},e.prototype.getOption=function(){var r=St(this.option);return P(r,function(n,i){if(zt.hasClass(i)){for(var a=fe(n),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!Ro(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[Ng],r},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(r){this._payload=r},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o=e:r==="max"?t<=e:t===e}function pE(t,e){return t.join(",")===e.join(",")}var gE=cE,Ke=P,zo=st,Vg=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function xf(t){var e=t&&t.itemStyle;if(!!e)for(var r=0,n=Vg.length;r=0;y--){var g=t[y];if(s||(v=g.data.rawIndexOf(g.stackedByDimension,h)),v>=0){var p=g.data.getByRawIndex(g.stackResultDimension,v);if(c>=0&&p>0||c<=0&&p<0){c=ID(c,p),d=p;break}}}return n[0]=c,n[1]=d,n})})}var _u=function(){function t(e){this.data=e.data||(e.sourceFormat===zr?{}:[]),this.sourceFormat=e.sourceFormat||nw,this.seriesLayoutBy=e.seriesLayoutBy||Lr,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var r=this.dimensionsDefine=e.dimensionsDefine;if(r)for(var n=0;ny&&(y=_)}v[0]=d,v[1]=y}},i=function(){return this._data?this._data.length/this._dimSize:0};qg=(e={},e[Se+"_"+Lr]={pure:!0,appendData:a},e[Se+"_"+_a]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[wr]={pure:!0,appendData:a},e[zr]={pure:!0,appendData:function(o){var s=this._data;P(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},e[Xe]={appendData:a},e[pn]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function a(o){for(var s=0;s=0&&(y=o.interpolatedValue[g])}return y!=null?y+"":""})}},t.prototype.getRawValue=function(e,r){return la(this.getData(r),e)},t.prototype.formatTooltip=function(e,r,n){},t}();function Qg(t){var e,r;return st(t)?t.type&&(r=t):e=t,{text:e,frag:r}}function yo(t){return new OE(t)}var OE=function(){function t(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return t.prototype.perform=function(e){var r=this._upstream,n=e&&e.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(a="reset");function f(m){return!(m>=1)&&(m=1),m}var c;(this._dirty||a==="reset")&&(this._dirty=!1,c=this._doReset(n)),this._modBy=l,this._modDataCount=u;var h=e&&e.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,d=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(c||v1&&n>0?s:o}};return a;function o(){return e=t?null:li?-this._resultLT:0},t}(),BE=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(e){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(e){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(e,r){},t.prototype.retrieveValueFromItem=function(e,r){},t.prototype.convertValue=function(e,r){return ll(e,r)},t}();function NE(t,e){var r=new BE,n=t.data,i=r.sourceFormat=t.sourceFormat,a=t.startIndex,o="";t.seriesLayoutBy!==Lr&&ye(o);var s=[],l={},u=t.dimensionsDefine;if(u)P(u,function(y,g){var p=y.name,m={index:g,name:p,displayName:y.displayName};if(s.push(m),p!=null){var _="";oa(l,p)&&ye(_),l[p]=m}});else for(var f=0;f65535?UE:YE}function Ei(){return[1/0,-1/0]}function XE(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function ey(t,e,r,n,i){var a=ww[r||"float"];if(i){var o=t[e],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;ug[1]&&(g[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(e,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=ct(o,function(m){return m.property}),f=0;fp[1]&&(p[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(e,r){if(!(r>=0&&r=0&&r=this._rawCount||e<0)return-1;if(!this._indices)return e;var r=this._indices,n=r[e];if(n!=null&&ne)a=o-1;else return o}return-1},t.prototype.indicesOfNearest=function(e,r,n){var i=this._chunks,a=i[e],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,l=-1,u=0,f=0,c=this.count();f=0&&l<0)&&(s=d,l=v,u=0),v===l&&(o[u++]=f))}return o.length=u,o},t.prototype.getIndices=function(){var e,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){e=new n(i);for(var a=0;a=c&&m<=h||isNaN(m))&&(l[u++]=y),y++}d=!0}else if(a===2){for(var g=v[i[0]],_=v[i[1]],w=e[i[1]][0],b=e[i[1]][1],p=0;p=c&&m<=h||isNaN(m))&&(S>=w&&S<=b||isNaN(S))&&(l[u++]=y),y++}d=!0}}if(!d)if(a===1)for(var p=0;p=c&&m<=h||isNaN(m))&&(l[u++]=x)}else for(var p=0;pe[D][1])&&(T=!1)}T&&(l[u++]=r.getRawIndex(p))}return up[1]&&(p[1]=g)}}}},t.prototype.lttbDownSample=function(e,r){var n=this.clone([e],!0),i=n._chunks,a=i[e],o=this.count(),s=0,l=Math.floor(1/r),u=this.getRawIndex(0),f,c,h,v=new(ka(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var d=1;df&&(f=c,h=w)}I>0&&If-d&&(l=f-d,s.length=l);for(var y=0;yc[1]&&(c[1]=p),h[v++]=m}return a._count=v,a._indices=h,a._updateGetRawIdx(),a},t.prototype.each=function(e,r){if(!!this._count)for(var n=e.length,i=this._chunks,a=0,o=this.count();al&&(l=c)}return o=[s,l],this._extent[e]=o,o},t.prototype.getRawDataItem=function(e){var r=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a=0?this._indices[e]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function e(r,n,i,a){return ll(r[a],this._dimensions[a])}Mf={arrayRows:e,objectRows:function(r,n,i,a){return ll(r[n],this._dimensions[a])},keyedColumns:e,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return ll(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),t}(),qE=function(){function t(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(e,r){this._sourceList=e,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(Ps(e)){var o=e,s=void 0,l=void 0,u=void 0;if(n){var f=r[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),l=Ie(s)?pn:Xe,a=[];var c=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=Mt(c.seriesLayoutBy,h.seriesLayoutBy)||null,d=Mt(c.sourceHeader,h.sourceHeader),y=Mt(c.dimensions,h.dimensions),g=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||y;i=g?[Zc(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:y},l)]:[]}else{var p=e;if(n){var m=this._applyTransform(r);i=m.sourceList,a=m.upstreamSignList}else{var _=p.get("source",!0);i=[Zc(_,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},t.prototype._applyTransform=function(e){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(i!=null){var a="";e.length!==1&&ry(a)}var o,s=[],l=[];return P(e,function(u){u.prepareSource();var f=u.getSource(i||0),c="";i!=null&&!f&&ry(c),s.push(f),l.push(u._getVersionSign())}),n?o=GE(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[ME(s[0])]),{sourceList:o,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),r=0;r0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/l*u+o}function ce(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return nt(e)?hI(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Yt(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),G1),e=(+e).toFixed(t),r?e:+e}function Rr(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return vI(e)}function vI(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function dI(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function pI(e,t){var r=Math.max(Rr(e),Rr(t)),n=e+t;return r>G1?n:Yt(n,r)}function U1(e){var t=Math.PI*2;return(e%t+t)%t}function Wl(e){return e>-Pg&&e=10&&t++,t}function W1(e,t){var r=jv(e),n=Math.pow(10,r),i=e/n,a;return t?i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10:i<1?a=1:i<2?a=2:i<3?a=3:i<5?a=5:a=10,e=a*n,r>=-20?+e.toFixed(r<0?-r:0):e}function Yl(e){var t=parseFloat(e);return t==e&&(t!==0||!nt(e)||e.indexOf("x")<=0)?t:NaN}function yI(e){return!isNaN(Yl(e))}function Y1(){return Math.round(Math.random()*9)}function q1(e,t){return t===0?e:q1(t,e%t)}function Eg(e,t){return e==null?t:t==null?e:e*t/q1(e,t)}function _e(e){throw new Error(e)}function Lg(e,t,r){return(t-e)*r+e}var X1="series\0",_I="\0_ec_\0";function he(e){return e instanceof Array?e:e==null?[]:[e]}function Rg(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;n=0||a&&Pt(a,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var VI=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],GI=Go(VI),UI=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return GI(this,t,r)},e}(),fh=new ss(50);function WI(e){if(typeof e=="string"){var t=fh.get(e);return t&&t.image}else return e}function J1(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=fh.get(e),o={hostEl:r,cb:n,cbPayload:i};if(a)t=a.image,!Cu(t)&&a.pending.push(o);else{var s=wi.loadImage(e,kg,kg);s.__zrImageSrc=e,fh.put(e,s.__cachedImgObj={image:s,pending:[o]})}return t}else return e;else return t}function kg(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;l++)s-=o;var u=Ie(r,t);return u>s&&(r="",u=0),s=e-u,i.ellipsis=r,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function ew(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=Ie(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?qI(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=Ie(e,n)}return e===""&&(e=t.placeholder),e}function qI(e,t,r,n){for(var i=0,a=0,o=e.length;ah&&u){var d=Math.floor(h/s);c=c.slice(0,d)}if(e&&a&&f!=null)for(var m=tw(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;gs&&Mf(r,e.substring(s,u),t,o),Mf(r,l[2],t,o,l[1]),s=Df.lastIndex}si){S>0?(y.tokens=y.tokens.slice(0,S),g(y,w,_),r.lines=r.lines.slice(0,p+1)):r.lines=r.lines.slice(0,p);break t}var A=x.width,L=A==null||A==="auto";if(typeof A=="string"&&A.charAt(A.length-1)==="%")b.percentWidth=A,f.push(b),b.contentWidth=Ie(b.text,M);else{if(L){var O=x.backgroundColor,H=O&&O.image;H&&(H=WI(H),Cu(H)&&(b.width=Math.max(b.width,H.width*I/H.height)))}var B=d&&n!=null?n-w:null;B!=null&&B0&&d+n.accumWidth>n.width&&(f=t.split(` +`),u=!0),n.accumWidth=d}else{var m=rw(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+h,c=m.linesWidths,f=m.lines}}else f=t.split(` +`);for(var g=0;g=33&&t<=383}var JI=Ca(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function tE(e){return QI(e)?!!JI[e]:!0}function rw(e,t,r,n,i){for(var a=[],o=[],s="",l="",u=0,f=0,c=0;cr:i+f+h>r){f?(s||l)&&(d?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=v,u+=h,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=v,f=h)):d?(a.push(l),o.push(u),l=v,u=h):(a.push(v),o.push(h));continue}f+=h,d?(l+=v,u+=h):(l&&(s+=l,l="",u=0),s+=v)}return!a.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var ch="__zr_style_"+Math.round(Math.random()*10),oi={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Du={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};oi[ch]=!0;var Ng=["z","z2","invisible"],eE=["invisible"],rE=function(e){J(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=$t(r),i=0;i1e-4){s[0]=e-r,s[1]=t-n,l[0]=e+r,l[1]=t+n;return}if(Es[0]=Ef(i)*r+e,Es[1]=If(i)*n+t,Ls[0]=Ef(a)*r+e,Ls[1]=If(a)*n+t,u(s,Es,Ls),f(l,Es,Ls),i=i%Bn,i<0&&(i=i+Bn),a=a%Bn,a<0&&(a=a+Bn),i>a&&!o?a+=Bn:ii&&(Rs[0]=Ef(h)*r+e,Rs[1]=If(h)*n+t,u(s,Rs,s),f(l,Rs,l))}var Tt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Nn=[],Fn=[],fr=[],Kr=[],cr=[],hr=[],Lf=Math.min,Rf=Math.max,zn=Math.cos,Hn=Math.sin,Dr=Math.abs,hh=Math.PI,on=hh*2,Of=typeof Float32Array!="undefined",za=[];function kf(e){var t=Math.round(e/hh*1e8)/1e8;return t%2*hh}function sE(e,t){var r=kf(e[0]);r<0&&(r+=on);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=on?i=r+on:t&&r-i>=on?i=r-on:!t&&r>i?i=r+(on-kf(r-i)):t&&r0&&(this._ux=Dr(n/Ul/t)||0,this._uy=Dr(n/Ul/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(Tt.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=Dr(t-this._xi),i=Dr(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(Tt.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){return this._drawPendingPt(),this.addData(Tt.C,t,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData(Tt.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,o){this._drawPendingPt(),za[0]=i,za[1]=a,sE(za,o),i=za[0],a=za[1];var s=a-i;return this.addData(Tt.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=zn(a)*n+t,this._yi=Hn(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData(Tt.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(Tt.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&Of&&(this.data=new Float32Array(r));for(var n=0;nf.length&&(this._expandData(),f=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){fr[0]=fr[1]=cr[0]=cr[1]=Number.MAX_VALUE,Kr[0]=Kr[1]=hr[0]=hr[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;on||Dr(_)>i||v===r-1)&&(m=Math.sqrt(y*y+_*_),a=g,o=p);break}case Tt.C:{var w=t[v++],S=t[v++],g=t[v++],p=t[v++],b=t[v++],x=t[v++];m=SP(a,o,w,S,g,p,b,x,10),a=b,o=x;break}case Tt.Q:{var w=t[v++],S=t[v++],g=t[v++],p=t[v++];m=CP(a,o,w,S,g,p,10),a=g,o=p;break}case Tt.A:var C=t[v++],D=t[v++],M=t[v++],I=t[v++],A=t[v++],L=t[v++],O=L+A;v+=1,t[v++],d&&(s=zn(A)*M+C,l=Hn(A)*I+D),m=Rf(M,I)*Lf(on,Math.abs(L)),a=zn(O)*M+C,o=Hn(O)*I+D;break;case Tt.R:{s=a=t[v++],l=o=t[v++];var H=t[v++],B=t[v++];m=H*2+B*2;break}case Tt.Z:{var y=s-a,_=l-o;m=Math.sqrt(y*y+_*_),a=s,o=l;break}}m>=0&&(u[c++]=m,f+=m)}return this._pathLen=f,f},e.prototype.rebuildPath=function(t,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,l,u,f,c,v,h=r<1,d,m,g=0,p=0,y,_=0,w,S;if(h&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,m=this._pathLen,y=r*m,!y))return;t:for(var b=0;b0&&(t.lineTo(w,S),_=0),x){case Tt.M:s=u=n[b++],l=f=n[b++],t.moveTo(u,f);break;case Tt.L:{c=n[b++],v=n[b++];var D=Dr(c-u),M=Dr(v-f);if(D>i||M>a){if(h){var I=d[p++];if(g+I>y){var A=(y-g)/I;t.lineTo(u*(1-A)+c*A,f*(1-A)+v*A);break t}g+=I}t.lineTo(c,v),u=c,f=v,_=0}else{var L=D*D+M*M;L>_&&(w=c,S=v,_=L)}break}case Tt.C:{var O=n[b++],H=n[b++],B=n[b++],Q=n[b++],G=n[b++],K=n[b++];if(h){var I=d[p++];if(g+I>y){var A=(y-g)/I;Hl(u,O,B,G,A,Nn),Hl(f,H,Q,K,A,Fn),t.bezierCurveTo(Nn[1],Fn[1],Nn[2],Fn[2],Nn[3],Fn[3]);break t}g+=I}t.bezierCurveTo(O,H,B,Q,G,K),u=G,f=K;break}case Tt.Q:{var O=n[b++],H=n[b++],B=n[b++],Q=n[b++];if(h){var I=d[p++];if(g+I>y){var A=(y-g)/I;$l(u,O,B,A,Nn),$l(f,H,Q,A,Fn),t.quadraticCurveTo(Nn[1],Fn[1],Nn[2],Fn[2]);break t}g+=I}t.quadraticCurveTo(O,H,B,Q),u=B,f=Q;break}case Tt.A:var lt=n[b++],_t=n[b++],mt=n[b++],pt=n[b++],At=n[b++],k=n[b++],U=n[b++],$=!n[b++],tt=mt>pt?mt:pt,vt=Dr(mt-pt)>.001,ut=At+k,Y=!1;if(h){var I=d[p++];g+I>y&&(ut=At+k*(y-g)/I,Y=!0),g+=I}if(vt&&t.ellipse?t.ellipse(lt,_t,mt,pt,U,At,ut,$):t.arc(lt,_t,tt,At,ut,$),Y)break t;C&&(s=zn(At)*mt+lt,l=Hn(At)*pt+_t),u=zn(ut)*mt+lt,f=Hn(ut)*pt+_t;break;case Tt.R:s=u=n[b],l=f=n[b+1],c=n[b++],v=n[b++];var j=n[b++],T=n[b++];if(h){var I=d[p++];if(g+I>y){var E=y-g;t.moveTo(c,v),t.lineTo(c+Lf(E,j),v),E-=j,E>0&&t.lineTo(c+j,v+Lf(E,T)),E-=T,E>0&&t.lineTo(c+Rf(j-E,0),v+T),E-=j,E>0&&t.lineTo(c,v+Rf(T-E,0));break t}g+=I}t.rect(c,v,j,T);break;case Tt.Z:if(h){var I=d[p++];if(g+I>y){var A=(y-g)/I;t.lineTo(u*(1-A)+s*A,f*(1-A)+l*A);break t}g+=I}t.closePath(),u=s,f=l}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=Tt,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),di=lE;function Oi(e,t,r,n,i,a,o){if(i===0)return!1;var s=i,l=0,u=e;if(o>t+s&&o>n+s||oe+s&&a>r+s||at+c&&f>n+c&&f>a+c&&f>s+c||fe+c&&u>r+c&&u>i+c&&u>o+c||ut+u&&l>n+u&&l>a+u||le+u&&s>r+u&&s>i+u||sr||f+ui&&(i+=Ha);var v=Math.atan2(l,s);return v<0&&(v+=Ha),v>=n&&v<=i||v+Ha>=n&&v+Ha<=i}function $n(e,t,r,n,i,a){if(a>t&&a>n||ai?s:0}var Zr=di.CMD,Vn=Math.PI*2,hE=1e-4;function vE(e,t){return Math.abs(e-t)t&&u>n&&u>a&&u>s||u1&&dE(),h=qt(t,n,a,s,Ve[0]),v>1&&(d=qt(t,n,a,s,Ve[1]))),v===2?gt&&s>n&&s>a||s=0&&u<=1){for(var f=0,c=ie(t,n,a,u),v=0;vr||s<-r)return 0;var l=Math.sqrt(r*r-s*s);fe[0]=-l,fe[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=Vn-1e-4){n=0,i=Vn;var f=a?1:-1;return o>=fe[0]+e&&o<=fe[1]+e?f:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=Vn,i+=Vn);for(var v=0,h=0;h<2;h++){var d=fe[h];if(d+e>o){var m=Math.atan2(s,d),f=a?1:-1;m<0&&(m=Vn+m),(m>=n&&m<=i||m+Vn>=n&&m+Vn<=i)&&(m>Math.PI/2&&m1&&(r||(s+=$n(l,u,f,c,n,i))),g&&(l=a[d],u=a[d+1],f=l,c=u),m){case Zr.M:f=a[d++],c=a[d++],l=f,u=c;break;case Zr.L:if(r){if(Oi(l,u,a[d],a[d+1],t,n,i))return!0}else s+=$n(l,u,a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Zr.C:if(r){if(uE(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=pE(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Zr.Q:if(r){if(fE(l,u,a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=gE(l,u,a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Zr.A:var p=a[d++],y=a[d++],_=a[d++],w=a[d++],S=a[d++],b=a[d++];d+=1;var x=!!(1-a[d++]);v=Math.cos(S)*_+p,h=Math.sin(S)*w+y,g?(f=v,c=h):s+=$n(l,u,v,h,n,i);var C=(n-p)*w/_+p;if(r){if(cE(p,y,w,S,S+b,x,t,C,i))return!0}else s+=mE(p,y,w,S,S+b,x,C,i);l=Math.cos(S+b)*_+p,u=Math.sin(S+b)*w+y;break;case Zr.R:f=l=a[d++],c=u=a[d++];var D=a[d++],M=a[d++];if(v=f+D,h=c+M,r){if(Oi(f,c,v,c,t,n,i)||Oi(v,c,v,h,t,n,i)||Oi(v,h,f,h,t,n,i)||Oi(f,h,f,c,t,n,i))return!0}else s+=$n(v,c,v,h,n,i),s+=$n(f,h,f,c,n,i);break;case Zr.Z:if(r){if(Oi(l,u,f,c,t,n,i))return!0}else s+=$n(l,u,f,c,n,i);l=f,u=c;break}}return!r&&!vE(u,c)&&(s+=$n(l,u,f,c,n,i)||0),s!==0}function yE(e,t,r){return nw(e,0,!1,t,r)}function _E(e,t,r,n){return nw(e,t,!0,r,n)}var iw=Mt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},oi),wE={style:Mt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Du.style)},Bf=$o.concat(["invisible","culling","z","z2","zlevel","parent"]),bE=function(e){J(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){r.buildPath(l,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s.5?sh:n>.2?KP:lh}else if(r)return lh}return sh},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(nt(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=Gl(r,0)0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&qi)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var l=n.strokeNoScale?this.getLineScale():1,u=n.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f==null?4:f)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return r},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),_E(s,l/u,r,n)))return!0}if(this.hasFill())return yE(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=qi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:X(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&qi)},t.prototype.createStyle=function(r){return Su(iw,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=X({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var l=!(n&&a),u;if(n&&n.shape?o?a?u=n.shape:(u=X({},i.shape),X(u,n.shape)):(u=X({},a?this.shape:i.shape),X(u,n.shape)):l&&(u=i.shape),u)if(o){this.shape=X({},this.shape);for(var f={},c=$t(u),v=0;v0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return Su(SE,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=Yv(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(fs);aw.prototype.type="tspan";var vh=aw,xE=Mt({x:0,y:0},oi),TE={style:Mt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Du.style)};function CE(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var ow=function(e){J(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return Su(xE,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=CE(n.image)?n.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?a[r]:a[r]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return TE},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Ot(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(fs);ow.prototype.type="image";var bi=ow;function DE(e,t){var r=t.x,n=t.y,i=t.width,a=t.height,o=t.r,s,l,u,f;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=l=u=f=o:o instanceof Array?o.length===1?s=l=u=f=o[0]:o.length===2?(s=u=o[0],l=f=o[1]):o.length===3?(s=o[0],l=f=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],f=o[3]):s=l=u=f=0;var c;s+l>i&&(c=s+l,s*=i/c,l*=i/c),u+f>i&&(c=u+f,u*=i/c,f*=i/c),l+u>a&&(c=l+u,l*=a/c,u*=a/c),s+f>a&&(c=s+f,s*=a/c,f*=a/c),e.moveTo(r+s,n),e.lineTo(r+i-l,n),l!==0&&e.arc(r+i-l,n+l,l,-Math.PI/2,0),e.lineTo(r+i,n+a-u),u!==0&&e.arc(r+i-u,n+a-u,u,0,Math.PI/2),e.lineTo(r+f,n+a),f!==0&&e.arc(r+f,n+a-f,f,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var Qi=Math.round;function sw(e,t,r){if(!!t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Qi(n*2)===Qi(i*2)&&(e.x1=e.x2=ni(n,s,!0)),Qi(a*2)===Qi(o*2)&&(e.y1=e.y2=ni(a,s,!0))),e}}function lw(e,t,r){if(!!t){var n=t.x,i=t.y,a=t.width,o=t.height;e.x=n,e.y=i,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=ni(n,s,!0),e.y=ni(i,s,!0),e.width=Math.max(ni(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(ni(i+o,s,!1)-e.y,o===0?0:1)),e}}function ni(e,t,r){if(!t)return e;var n=Qi(e*2);return(n+Qi(t))%2===0?n/2:(n+(r?1:-1))/2}var ME=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),AE={},uw=function(e){J(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new ME},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var l=lw(AE,n,this.style);i=l.x,a=l.y,o=l.width,s=l.height,l.r=n.r,n=l}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?DE(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(kt);uw.prototype.type="rect";var Jt=uw,Vg={fill:"#000"},Gg=2,PE={style:Mt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Du.style)},fw=function(e){J(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Vg,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r0,A=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),L=o.calculatedLineHeight,O=0;O=0&&(O=b[L],O.align==="right");)this._placeToken(O,r,C,p,A,"right",_),D-=O.width,A-=O.width,L--;for(I+=(a-(I-g)-(y-A)-D)/2;M<=L;)O=b[M],this._placeToken(O,r,C,p,I+O.width/2,"center",_),I+=O.width,M++;p+=C}},t.prototype._placeToken=function(r,n,i,a,o,s,l){var u=n.rich[r.styleName]||{};u.text=r.text;var f=r.verticalAlign,c=a+i/2;f==="top"?c=a+r.height/2:f==="bottom"&&(c=a+i-r.height/2);var v=!r.isLineHolder&&Nf(u);v&&this._renderBackground(u,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,c-r.height/2,r.width,r.height);var h=!!u.backgroundColor,d=r.textPadding;d&&(o=jg(o,s,d),c-=r.height/2-d[0]-r.innerHeight/2);var m=this._getOrCreateChild(vh),g=m.createStyle();m.useStyle(g);var p=this._defaultStyle,y=!1,_=0,w=Xg("fill"in u?u.fill:"fill"in n?n.fill:(y=!0,p.fill)),S=qg("stroke"in u?u.stroke:"stroke"in n?n.stroke:!h&&!l&&(!p.autoStroke||y)?(_=Gg,p.stroke):null),b=u.textShadowBlur>0||n.textShadowBlur>0;g.text=r.text,g.x=o,g.y=c,b&&(g.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,g.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=r.font||ci,g.opacity=hl(u.opacity,n.opacity,1),Wg(g,u),S&&(g.lineWidth=hl(u.lineWidth,n.lineWidth,_),g.lineDash=Dt(u.lineDash,n.lineDash),g.lineDashOffset=n.lineDashOffset||0,g.stroke=S),w&&(g.fill=w);var x=r.contentWidth,C=r.contentHeight;m.setBoundingRect(new Ot(io(g.x,x,g.textAlign),Xi(g.y,C,g.textBaseline),x,C))},t.prototype._renderBackground=function(r,n,i,a,o,s){var l=r.backgroundColor,u=r.borderWidth,f=r.borderColor,c=l&&l.image,v=l&&!c,h=r.borderRadius,d=this,m,g;if(v||r.lineHeight||u&&f){m=this._getOrCreateChild(Jt),m.useStyle(m.createStyle()),m.style.fill=null;var p=m.shape;p.x=i,p.y=a,p.width=o,p.height=s,p.r=h,m.dirtyShape()}if(v){var y=m.style;y.fill=l||null,y.fillOpacity=Dt(r.fillOpacity,1)}else if(c){g=this._getOrCreateChild(bi),g.onload=function(){d.dirtyStyle()};var _=g.style;_.image=l.image,_.x=i,_.y=a,_.width=o,_.height=s}if(u&&f){var y=m.style;y.lineWidth=u,y.stroke=f,y.strokeOpacity=Dt(r.strokeOpacity,1),y.lineDash=r.borderDash,y.lineDashOffset=r.borderDashOffset||0,m.strokeContainThreshold=0,m.hasFill()&&m.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var w=(m||g).style;w.shadowBlur=r.shadowBlur||0,w.shadowColor=r.shadowColor||"transparent",w.shadowOffsetX=r.shadowOffsetX||0,w.shadowOffsetY=r.shadowOffsetY||0,w.opacity=hl(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return RE(r)&&(n=[r.fontStyle,r.fontWeight,LE(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&mr(n)||r.textFont||r.font},t}(fs),IE={left:!0,right:1,center:1},EE={top:1,bottom:1,middle:1},Ug=["fontStyle","fontWeight","fontSize","fontFamily"];function LE(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?kv+"px":e+"px"}function Wg(e,t){for(var r=0;r=0,a=!1;if(e instanceof kt){var o=cw(e),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(ki(s)||ki(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=X({},n),u=X({},u),u.fill=s):!ki(u.fill)&&ki(s)?(a=!0,n=X({},n),u=X({},u),u.fill=em(s)):!ki(u.stroke)&&ki(l)&&(a||(n=X({},n),u=X({},u)),u.stroke=em(l)),n.style=u}}if(n&&n.z2==null){a||(n=X({},n));var f=e.z2EmphasisLift;n.z2=e.z2+(f!=null?f:BE)}return n}function VE(e,t,r){if(r&&r.z2==null){r=X({},r);var n=e.z2SelectLift;r.z2=e.z2+(n!=null?n:NE)}return r}function GE(e,t,r){var n=Pt(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:HE(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=X({},r),o=X({opacity:n?i:a.opacity*.1},o),r.style=o),r}function Ff(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return $E(this,e,t,r);if(e==="blur")return GE(this,e,r);if(e==="select")return VE(this,e,r)}return r}function UE(e){e.stateProxy=Ff;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=Ff),r&&(r.stateProxy=Ff)}function im(e,t){!yw(e,t)&&!e.__highByOuter&&Vr(e,hw)}function am(e,t){!yw(e,t)&&!e.__highByOuter&&Vr(e,vw)}function ql(e,t){e.__highByOuter|=1<<(t||0),Vr(e,hw)}function Xl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Vr(e,vw)}function WE(e){Vr(e,ed)}function pw(e){Vr(e,dw)}function gw(e){Vr(e,FE)}function mw(e){Vr(e,zE)}function yw(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function _w(e){var t=e.getModel();t.eachComponent(function(r,n){var i=Jv(n);if(i.isBlured){var a=r==="series"?e.getViewOfSeriesModel(n):e.getViewOfComponentModel(n);a.group.traverse(function(o){dw(o)})}i.isBlured=!1})}function dh(e,t,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(u,f){for(var c=0;c0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function gh(e,t,r){ww(e,!0),Vr(e,UE),QE(e,t,r)}function ZE(e){ww(e,!1)}function mh(e,t,r,n){n?ZE(e):gh(e,t,r)}function QE(e,t,r){var n=Bt(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var sm=["emphasis","blur","select"],JE={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function lm(e,t,r,n){r=r||"itemStyle";for(var i=0;i1&&(o*=zf(d),s*=zf(d));var m=(i===a?-1:1)*zf((o*o*(s*s)-o*o*(h*h)-s*s*(v*v))/(o*o*(h*h)+s*s*(v*v)))||0,g=m*o*h/s,p=m*-s*v/o,y=(e+r)/2+Bs(c)*g-ks(c)*p,_=(t+n)/2+ks(c)*g+Bs(c)*p,w=hm([1,0],[(v-g)/o,(h-p)/s]),S=[(v-g)/o,(h-p)/s],b=[(-1*v-g)/o,(-1*h-p)/s],x=hm(S,b);if(wh(S,b)<=-1&&(x=$a),wh(S,b)>=1&&(x=0),x<0){var C=Math.round(x/$a*1e6)/1e6;x=$a*2+C%2*$a}f.addData(u,y,_,o,s,w,x,c,a)}var aL=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,oL=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function sL(e){var t=new di;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=di.CMD,l=e.match(aL);if(!l)return t;for(var u=0;uO*O+H*H&&(C=M,D=I),{cx:C,cy:D,x0:-f,y0:-c,x1:C*(i/S-1),y1:D*(i/S-1)}}function pL(e){var t;if(et(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function gL(e,t){var r,n=ao(t.r,0),i=ao(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var f=t.cx,c=t.cy,v=!!t.clockwise,h=dm(u-l),d=h>Hf&&h%Hf;if(d>tr&&(h=d),!(n>tr))e.moveTo(f,c);else if(h>Hf-tr)e.moveTo(f+n*Ni(l),c+n*Gn(l)),e.arc(f,c,n,l,u,!v),i>tr&&(e.moveTo(f+i*Ni(u),c+i*Gn(u)),e.arc(f,c,i,u,l,v));else{var m=void 0,g=void 0,p=void 0,y=void 0,_=void 0,w=void 0,S=void 0,b=void 0,x=void 0,C=void 0,D=void 0,M=void 0,I=void 0,A=void 0,L=void 0,O=void 0,H=n*Ni(l),B=n*Gn(l),Q=i*Ni(u),G=i*Gn(u),K=h>tr;if(K){var lt=t.cornerRadius;lt&&(r=pL(lt),m=r[0],g=r[1],p=r[2],y=r[3]);var _t=dm(n-i)/2;if(_=vr(_t,p),w=vr(_t,y),S=vr(_t,m),b=vr(_t,g),D=x=ao(_,w),M=C=ao(S,b),(x>tr||C>tr)&&(I=n*Ni(u),A=n*Gn(u),L=i*Ni(l),O=i*Gn(l),htr){var vt=vr(p,D),ut=vr(y,D),Y=Ns(L,O,H,B,n,vt,v),j=Ns(I,A,Q,G,n,ut,v);e.moveTo(f+Y.cx+Y.x0,c+Y.cy+Y.y0),D0&&e.arc(f+Y.cx,c+Y.cy,vt,re(Y.y0,Y.x0),re(Y.y1,Y.x1),!v),e.arc(f,c,n,re(Y.cy+Y.y1,Y.cx+Y.x1),re(j.cy+j.y1,j.cx+j.x1),!v),ut>0&&e.arc(f+j.cx,c+j.cy,ut,re(j.y1,j.x1),re(j.y0,j.x0),!v))}else e.moveTo(f+H,c+B),e.arc(f,c,n,l,u,!v);if(!(i>tr)||!K)e.lineTo(f+Q,c+G);else if(M>tr){var vt=vr(m,M),ut=vr(g,M),Y=Ns(Q,G,I,A,i,-ut,v),j=Ns(H,B,L,O,i,-vt,v);e.lineTo(f+Y.cx+Y.x0,c+Y.cy+Y.y0),M0&&e.arc(f+Y.cx,c+Y.cy,ut,re(Y.y0,Y.x0),re(Y.y1,Y.x1),!v),e.arc(f,c,i,re(Y.cy+Y.y1,Y.cx+Y.x1),re(j.cy+j.y1,j.cx+j.x1),v),vt>0&&e.arc(f+j.cx,c+j.cy,vt,re(j.y1,j.x1),re(j.y0,j.x0),!v))}else e.lineTo(f+Q,c+G),e.arc(f,c,i,u,l,v)}e.closePath()}}}var mL=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),Aw=function(e){J(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new mL},t.prototype.buildPath=function(r,n){gL(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(kt);Aw.prototype.type="sector";var id=Aw,yL=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),Pw=function(e){J(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new yL},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},t}(kt);Pw.prototype.type="ring";var Iw=Pw;function _L(e,t,r,n){var i=[],a=[],o=[],s=[],l,u,f,c;if(n){f=[1/0,1/0],c=[-1/0,-1/0];for(var v=0,h=e.length;v=2){if(n){var a=_L(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var l=a[s*2],u=a[s*2+1],f=i[(s+1)%o];e.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,c=i.length;sWn[1]){if(s=!1,a)return s;var f=Math.abs(Wn[0]-Un[1]),c=Math.abs(Un[0]-Wn[1]);Math.min(f,c)>i.len()&&(f0){var c=f.duration,v=f.delay,h=f.easing,d={duration:c,delay:v||0,easing:h,done:a,force:!!a||!!o,setToFinal:!u,scope:e,during:o};s?t.animateFrom(r,d):t.animateTo(r,d)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function Tn(e,t,r,n,i,a){od("update",e,t,r,n,i,a)}function cs(e,t,r,n,i,a){od("enter",e,t,r,n,i,a)}function So(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function mm(e){return!e.isGroup}function KL(e){return e.shape!=null}function Ww(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(l){mm(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return KL(o)&&(s.shape=X({},o.shape)),s}var a=n(e);t.traverse(function(o){if(mm(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),Tn(o,l,r,Bt(o).dataIndex)}}})}function ZL(e,t){return ct(e,function(r){var n=r[0];n=Zl(n,t.x),n=Ql(n,t.x+t.width);var i=r[1];return i=Zl(i,t.y),i=Ql(i,t.y+t.height),[n,i]})}function QL(e,t){var r=Zl(e.x,t.x),n=Ql(e.x+e.width,t.x+t.width),i=Zl(e.y,t.y),a=Ql(e.y+e.height,t.y+t.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function ud(e,t,r){var n=X({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),Mt(i,r),new bi(n)):sd(e.replace("path://",""),n,r,"center")}function JL(e,t,r,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var g=$f(h,d,f,c)/v;return!(g<0||g>1)}function $f(e,t,r,n){return e*n-r*t}function tR(e){return e<=1e-6&&e>=-1e-6}function fd(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=nt(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var l=e.formatterParamsExtra;l&&P($t(l),function(f){ga(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=Bt(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:n,option:Mt({content:n,formatterParams:s},i)}}function ym(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function cd(e,t){if(e)if(et(e))for(var r=0;r=0&&s.push(l)}),s}}function gR(e,t){return Ct(Ct({},e,!0),t,!0)}var mR={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},yR={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}},Jl="ZH",dd="EN",Uo=dd,Sl={},pd={},Kw=yt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(Jl)>-1?Jl:Uo}():Uo;function Zw(e,t){e=e.toUpperCase(),pd[e]=new se(t),Sl[e]=t}function _R(e){if(nt(e)){var t=Sl[e.toUpperCase()]||{};return e===Jl||e===dd?bt(t):Ct(bt(t),bt(Sl[Uo]),!1)}else return Ct(bt(e),bt(Sl[Uo]),!1)}function wR(e){return pd[e]}function bR(){return pd[Uo]}Zw(dd,mR);Zw(Jl,yR);var gd=1e3,md=gd*60,xo=md*60,Xe=xo*24,Cm=Xe*365,oo={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Hs="{yyyy}-{MM}-{dd}",Dm={year:"{yyyy}",month:"{yyyy}-{MM}",day:Hs,hour:Hs+" "+oo.hour,minute:Hs+" "+oo.minute,second:Hs+" "+oo.second,millisecond:oo.none},Uf=["year","month","day","hour","minute","second","millisecond"],Qw=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Yn(e,t){return e+="","0000".substr(0,t-e.length)+e}function sa(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function SR(e){return e===sa(e)}function xR(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Lu(e,t,r,n){var i=zr(e),a=i[yd(r)](),o=i[la(r)]()+1,s=Math.floor((o-1)/4)+1,l=i[Ru(r)](),u=i["get"+(r?"UTC":"")+"Day"](),f=i[Wo(r)](),c=(f-1)%12+1,v=i[Ou(r)](),h=i[ku(r)](),d=i[Bu(r)](),m=n instanceof se?n:wR(n||Kw)||bR(),g=m.getModel("time"),p=g.get("month"),y=g.get("monthAbbr"),_=g.get("dayOfWeek"),w=g.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,p[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,Yn(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Yn(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,w[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Yn(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Yn(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Yn(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,Yn(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Yn(d,3)).replace(/{S}/g,d+"")}function TR(e,t,r,n,i){var a=null;if(nt(r))a=r;else if(dt(r))a=r(e.value,t,{level:e.level});else{var o=X({},oo);if(e.level>0)for(var s=0;s=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(et(a)){var c=e.level==null?0:e.level>=0?e.level:a.length+e.level;c=Math.min(c,a.length-1),a=a[c]}}return Lu(new Date(e.value),a,i,n)}function Jw(e,t){var r=zr(e),n=r[la(t)]()+1,i=r[Ru(t)](),a=r[Wo(t)](),o=r[Ou(t)](),s=r[ku(t)](),l=r[Bu(t)](),u=l===0,f=u&&s===0,c=f&&o===0,v=c&&a===0,h=v&&i===1,d=h&&n===1;return d?"year":h?"month":v?"day":c?"hour":f?"minute":u?"second":"millisecond"}function Mm(e,t,r){var n=Vt(e)?zr(e):e;switch(t=t||Jw(e,r),t){case"year":return n[yd(r)]();case"half-year":return n[la(r)]()>=6?1:0;case"quarter":return Math.floor((n[la(r)]()+1)/4);case"month":return n[la(r)]();case"day":return n[Ru(r)]();case"half-day":return n[Wo(r)]()/24;case"hour":return n[Wo(r)]();case"minute":return n[Ou(r)]();case"second":return n[ku(r)]();case"millisecond":return n[Bu(r)]()}}function yd(e){return e?"getUTCFullYear":"getFullYear"}function la(e){return e?"getUTCMonth":"getMonth"}function Ru(e){return e?"getUTCDate":"getDate"}function Wo(e){return e?"getUTCHours":"getHours"}function Ou(e){return e?"getUTCMinutes":"getMinutes"}function ku(e){return e?"getUTCSeconds":"getSeconds"}function Bu(e){return e?"getUTCMilliseconds":"getMilliseconds"}function CR(e){return e?"setUTCFullYear":"setFullYear"}function tb(e){return e?"setUTCMonth":"setMonth"}function eb(e){return e?"setUTCDate":"setDate"}function rb(e){return e?"setUTCHours":"setHours"}function nb(e){return e?"setUTCMinutes":"setMinutes"}function ib(e){return e?"setUTCSeconds":"setSeconds"}function ab(e){return e?"setUTCMilliseconds":"setMilliseconds"}function ob(e){if(!yI(e))return nt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function sb(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Nu=m1,DR=/([&<>"'])/g,MR={"&":"&","<":"<",">":">",'"':""","'":"'"};function qe(e){return e==null?"":(e+"").replace(DR,function(t,r){return MR[r]})}function Sh(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&mr(f)?f:"-"}function a(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=e instanceof Date;if(o||s){var l=o?zr(e):e;if(isNaN(+l)){if(s)return"-"}else return Lu(l,n,r)}if(t==="ordinal")return Yc(e)?i(e):Vt(e)&&a(e)?e+"":"-";var u=Yl(e);return a(u)?ob(u):Yc(e)?i(e):typeof e=="boolean"?e+"":"-"}var Am=["a","b","c","d","e","f","g"],Wf=function(e,t){return"{"+e+(t==null?"":t)+"}"};function lb(e,t,r){et(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a':'';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function gi(e,t){return t=t||"transparent",nt(e)?e:st(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Pm(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var xl=P,PR=["left","right","top","bottom","width","height"],$s=[["width","left","right"],["height","top","bottom"]];function _d(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(l,u){var f=l.getBoundingRect(),c=t.childAt(u+1),v=c&&c.getBoundingRect(),h,d;if(e==="horizontal"){var m=f.width+(v?-v.x+f.x:0);h=a+m,h>n||l.newline?(a=0,h=m,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(v?-v.y+f.y:0);d=o+g,d>i||l.newline?(a+=s+r,o=0,d=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),e==="horizontal"?a=h+r:o=d+r)})}var To=_d;Zt(_d,"vertical");Zt(_d,"horizontal");function Yo(e,t,r){r=Nu(r||0);var n=t.width,i=t.height,a=ce(e.left,n),o=ce(e.top,i),s=ce(e.right,n),l=ce(e.bottom,i),u=ce(e.width,n),f=ce(e.height,i),c=r[2]+r[0],v=r[1]+r[3],h=e.aspect;switch(isNaN(u)&&(u=n-s-v-a),isNaN(f)&&(f=i-l-c-o),h!=null&&(isNaN(u)&&isNaN(f)&&(h>n/i?u=n*.8:f=i*.8),isNaN(u)&&(u=h*f),isNaN(f)&&(f=u/h)),isNaN(a)&&(a=n-s-u-v),isNaN(o)&&(o=i-l-f-c),e.left||e.right){case"center":a=n/2-u/2-r[3];break;case"right":a=n-u-v;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-f/2-r[0];break;case"bottom":o=i-f-c;break}a=a||0,o=o||0,isNaN(u)&&(u=n-v-a-(s||0)),isNaN(f)&&(f=i-c-o-(l||0));var d=new Ot(a+r[3],o+r[0],u,f);return d.margin=r,d}function qo(e){var t=e.layoutMode||e.constructor.layoutMode;return st(t)?t:t?{type:t}:null}function ma(e,t,r){var n=r&&r.ignoreSize;!et(n)&&(n=[n,n]);var i=o($s[0],0),a=o($s[1],1);u($s[0],e,i),u($s[1],e,a);function o(f,c){var v={},h=0,d={},m=0,g=2;if(xl(f,function(_){d[_]=e[_]}),xl(f,function(_){s(t,_)&&(v[_]=d[_]=t[_]),l(v,_)&&h++,l(d,_)&&m++}),n[c])return l(t,f[1])?d[f[2]]=null:l(t,f[2])&&(d[f[1]]=null),d;if(m===g||!h)return d;if(h>=g)return v;for(var p=0;p=0;l--)s=Ct(s,i[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return us(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(se);Q1(Ma,se);Tu(Ma);dR(Ma);pR(Ma,LR);function LR(e){var t=[];return P(Ma.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=ct(t,function(r){return yr(r).main}),e!=="dataset"&&Pt(t,"dataset")<=0&&t.unshift("dataset"),t}var zt=Ma,ub="";typeof navigator!="undefined"&&(ub=navigator.platform||"");var Fi="rgba(0, 0, 0, 0.2)",RR={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Fi,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Fi,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Fi,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Fi,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Fi,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Fi,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ub.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},fb=gt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Ze="original",xe="arrayRows",Cr="objectRows",Gr="keyedColumns",_n="typedArray",cb="unknown",Br="column",Aa="row",Ce={Must:1,Might:2,Not:3},hb=jt();function OR(e){hb(e).datasetMap=gt()}function kR(e,t,r){var n={},i=vb(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,l=hb(s).datasetMap,u=i.uid+"_"+r.seriesLayoutBy,f,c;e=e.slice(),P(e,function(m,g){var p=st(m)?m:e[g]={name:m};p.type==="ordinal"&&f==null&&(f=g,c=d(p)),n[p.name]=[]});var v=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});P(e,function(m,g){var p=m.name,y=d(m);if(f==null){var _=v.valueWayDim;h(n[p],_,y),h(o,_,y),v.valueWayDim+=y}else if(f===g)h(n[p],0,y),h(a,0,y);else{var _=v.categoryWayDim;h(n[p],_,y),h(o,_,y),v.categoryWayDim+=y}});function h(m,g,p){for(var y=0;yt)return e[n];return e[r-1]}function $R(e,t,r,n,i,a,o){a=a||e;var s=t(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var f=o==null||!n?r:HR(n,o);if(f=f||r,!(!f||!f.length)){var c=f[l];return i&&(u[i]=c),s.paletteIdx=(l+1)%f.length,c}}function VR(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Vs,Va,Em,Lm="\0_ec_inner",GR=1,pb=function(e){J(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new se(a),this._locale=new se(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){var a=km(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,km(n))},t.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");!this.option||r==="recreate"?Em(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var l=a.getMediaOption(this);l.length&&P(l,function(u){i=!0,this._mergeOption(u,n)},this)}return i},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],l=gt(),u=n&&n.replaceMergeMainTypeMap;OR(this),P(r,function(c,v){c!=null&&(zt.hasClass(v)?v&&(s.push(v),l.set(v,!0)):i[v]=i[v]==null?bt(c):Ct(i[v],c,!0))}),u&&u.each(function(c,v){zt.hasClass(v)&&!l.get(v)&&(s.push(v),l.set(v,!0))}),zt.topologicalTravel(s,zt.getAllClassMainTypes(),f,this);function f(c){var v=zR(this,c,he(r[c])),h=a.get(c),d=h?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",m=bI(h,v,d);AI(m,c,zt),i[c]=null,a.set(c,null),o.set(c,0);var g=[],p=[],y=0,_;P(m,function(w,S){var b=w.existing,x=w.newOption;if(!x)b&&(b.mergeOption({},this),b.optionUpdated({},!1));else{var C=c==="series",D=zt.getClass(c,w.keyInfo.subType,!C);if(!D)return;if(c==="tooltip"){if(_)return;_=!0}if(b&&b.constructor===D)b.name=w.keyInfo.name,b.mergeOption(x,this),b.optionUpdated(x,!1);else{var M=X({componentIndex:S},w.keyInfo);b=new D(x,this,this,M),X(b,M),w.brandNew&&(b.__requireNewView=!0),b.init(x,this,this),b.optionUpdated(null,!0)}}b?(g.push(b.option),p.push(b),y++):(g.push(void 0),p.push(void 0))},this),i[c]=g,a.set(c,p),o.set(c,y),c==="series"&&Vs(this)}this._seriesIndices||Vs(this)},t.prototype.getOption=function(){var r=bt(this.option);return P(r,function(n,i){if(zt.hasClass(i)){for(var a=he(n),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!Vo(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[Lm],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o=t:r==="max"?e<=t:e===t}function t2(e,t){return e.join(",")===t.join(",")}var e2=KR,Je=P,Xo=st,Bm=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function qf(e){var t=e&&e.itemStyle;if(!!t)for(var r=0,n=Bm.length;r=0;m--){var g=e[m];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,v)),h>=0){var p=g.data.getByRawIndex(g.stackResultDimension,h);if(c>=0&&p>0||c<=0&&p<0){c=pI(c,p),d=p;break}}}return n[0]=c,n[1]=d,n})})}var zu=function(){function e(t){this.data=t.data||(t.sourceFormat===Gr?{}:[]),this.sourceFormat=t.sourceFormat||cb,this.seriesLayoutBy=t.seriesLayoutBy||Br,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;nm&&(m=_)}h[0]=d,h[1]=m}},i=function(){return this._data?this._data.length/this._dimSize:0};Gm=(t={},t[xe+"_"+Br]={pure:!0,appendData:a},t[xe+"_"+Aa]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Cr]={pure:!0,appendData:a},t[Gr]={pure:!0,appendData:function(o){var s=this._data;P(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},t[Ze]={appendData:a},t[_n]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s=0&&(m=o.interpolatedValue[g])}return m!=null?m+"":""})}},e.prototype.getRawValue=function(t,r){return ya(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e}();function qm(e){var t,r;return st(e)?e.type&&(r=e):t=e,{text:t,frag:r}}function Co(e){return new _2(e)}var _2=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,n=t&&t.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(a="reset");function f(y){return!(y>=1)&&(y=1),y}var c;(this._dirty||a==="reset")&&(this._dirty=!1,c=this._doReset(n)),this._modBy=l,this._modDataCount=u;var v=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,d=Math.min(v!=null?this._dueIndex+v:1/0,this._dueEnd);if(!n&&(c||h1&&n>0?s:o}};return a;function o(){return t=e?null:li?-this._resultLT:0},e}(),b2=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return Tl(t,r)},e}();function S2(e,t){var r=new b2,n=e.data,i=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==Br&&_e(o);var s=[],l={},u=e.dimensionsDefine;if(u)P(u,function(m,g){var p=m.name,y={index:g,name:p,displayName:m.displayName};if(s.push(y),p!=null){var _="";ga(l,p)&&_e(_),l[p]=y}});else for(var f=0;f65535?I2:E2}function zi(){return[1/0,-1/0]}function L2(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function Km(e,t,r,n,i){var a=Ab[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;ug[1]&&(g[1]=m)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=ct(o,function(y){return y.property}),f=0;fp[1]&&(p[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r=0&&r=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&nt)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,n){var i=this._chunks,a=i[t],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,l=-1,u=0,f=0,c=this.count();f=0&&l<0)&&(s=d,l=h,u=0),h===l&&(o[u++]=f))}return o.length=u,o},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a=c&&y<=v||isNaN(y))&&(l[u++]=m),m++}d=!0}else if(a===2){for(var g=h[i[0]],_=h[i[1]],w=t[i[1]][0],S=t[i[1]][1],p=0;p=c&&y<=v||isNaN(y))&&(b>=w&&b<=S||isNaN(b))&&(l[u++]=m),m++}d=!0}}if(!d)if(a===1)for(var p=0;p=c&&y<=v||isNaN(y))&&(l[u++]=x)}else for(var p=0;pt[M][1])&&(C=!1)}C&&(l[u++]=r.getRawIndex(p))}return up[1]&&(p[1]=g)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,l=Math.floor(1/r),u=this.getRawIndex(0),f,c,v,h=new(Ua(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));h[s++]=u;for(var d=1;df&&(f=c,v=w)}I>0&&If-d&&(l=f-d,s.length=l);for(var m=0;mc[1]&&(c[1]=p),v[h++]=y}return a._count=h,a._indices=v,a._updateGetRawIdx(),a},e.prototype.each=function(t,r){if(!!this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();al&&(l=c)}return o=[s,l],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(r,n,i,a){return Tl(r[a],this._dimensions[a])}Kf={arrayRows:t,objectRows:function(r,n,i,a){return Tl(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return Tl(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),e}(),R2=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(Gs(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var f=r[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),l=Re(s)?_n:Ze,a=[];var c=this._getSourceMetaRawOption()||{},v=u&&u.metaRawOption||{},h=Dt(c.seriesLayoutBy,v.seriesLayoutBy)||null,d=Dt(c.sourceHeader,v.sourceHeader),m=Dt(c.dimensions,v.dimensions),g=h!==v.seriesLayoutBy||!!d!=!!v.sourceHeader||m;i=g?[xh(s,{seriesLayoutBy:h,sourceHeader:d,dimensions:m},l)]:[]}else{var p=t;if(n){var y=this._applyTransform(r);i=y.sourceList,a=y.upstreamSignList}else{var _=p.get("source",!0);i=[xh(_,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&Zm(a)}var o,s=[],l=[];return P(t,function(u){u.prepareSource();var f=u.getSource(i||0),c="";i!=null&&!f&&Zm(c),s.push(f),l.push(u._getVersionSign())}),n?o=A2(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[c2(s[0])]),{sourceList:o,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r1||r>0&&!t.noHeader;return P(t.blocks,function(i){var a=Cw(i);a>=e&&(e=a+ +(n&&(!a||Qc(i)&&!i.noHeader)))}),e}return 0}function jE(t,e,r,n){var i=e.noHeader,a=JE(Cw(e)),o=[],s=e.blocks||[];Or(!s||et(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(oa(u,l)){var f=new kE(u[l],null);s.sort(function(d,y){return f.evaluate(d.sortParam,y.sortParam)})}else l==="seriesDesc"&&s.reverse()}P(s,function(d,y){var g=e.valueFormatter,p=xw(d)(g?q(q({},t),{valueFormatter:g}):t,d,y>0?a.html:0,n);p!=null&&o.push(p)});var c=t.renderMode==="richText"?o.join(a.richText):Jc(o.join(""),i?r:a.html);if(i)return c;var h=Kc(e.header,"ordinal",t.useUTC),v=bw(n,t.renderMode).nameStyle;return t.renderMode==="richText"?Tw(t,h,v)+a.richText+c:Jc('
'+Ge(h)+"
"+c,r)}function QE(t,e,r,n){var i=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,f=e.valueFormatter||t.valueFormatter||function(w){return w=et(w)?w:[w],ct(w,function(b,S){return Kc(b,et(v)?v[S]:v,u)})};if(!(a&&o)){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),h=a?"":Kc(l,"ordinal",u),v=e.valueType,d=o?[]:f(e.value),y=!s||!a,g=!s&&a,p=bw(n,i),m=p.nameStyle,_=p.valueStyle;return i==="richText"?(s?"":c)+(a?"":Tw(t,h,m))+(o?"":rL(t,d,y,g,_)):Jc((s?"":c)+(a?"":tL(h,!s,m))+(o?"":eL(d,y,g,_)),r)}}function ny(t,e,r,n,i,a){if(!!t){var o=xw(t),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter};return o(s,t,0,a)}}function JE(t){return{html:KE[t],richText:ZE[t]}}function Jc(t,e){var r='
',n="margin: "+e+"px 0 0";return'
'+t+r+"
"}function tL(t,e,r){var n=e?"margin-left:2px":"";return''+Ge(t)+""}function eL(t,e,r,n){var i=r?"10px":"20px",a=e?"float:right;margin-left:"+i:"";return t=et(t)?t:[t],''+ct(t,function(o){return Ge(o)}).join("  ")+""}function Tw(t,e,r){return t.markupStyleCreator.wrapRichTextStyle(e,r)}function rL(t,e,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(et(e)?e.join(" "):e,a)}function nL(t,e){var r=t.getData().getItemVisual(e,"style"),n=r[t.visualDrawType];return hi(n)}function Mw(t,e){var r=t.get("padding");return r!=null?r:e==="richText"?[8,10]:10}var Df=function(){function t(){this.richTextStyles={},this._nextStyleNameId=F_()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(e,r,n){var i=n==="richText"?this._generateStyleName():null,a=GI({color:r,type:e,renderMode:n,markerId:i});return nt(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(e,r){var n={};et(r)?P(r,function(a){return q(n,a)}):q(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+e+"}"},t}();function iL(t){var e=t.series,r=t.dataIndex,n=t.multipleSeries,i=e.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=e.getRawValue(r),l=et(s),u=nL(e,r),f,c,h,v;if(o>1||l&&!o){var d=aL(s,e,r,a,u);f=d.inlineValues,c=d.inlineValueTypes,h=d.blocks,v=d.inlineValues[0]}else if(o){var y=i.getDimensionInfo(a[0]);v=f=la(i,r,a[0]),c=y.type}else v=f=l?s[0]:s;var g=gv(e),p=g&&e.name||"",m=i.getName(r),_=n?p:m;return Ho("section",{header:p,noHeader:n||!g,sortParam:v,blocks:[Ho("nameValue",{markerType:"item",markerColor:u,name:_,noName:!vr(_),value:f,valueType:c})].concat(h||[])})}function aL(t,e,r,n,i){var a=e.getData(),o=ga(t,function(c,h,v){var d=a.getDimensionInfo(v);return c=c||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];n.length?P(n,function(c){f(la(a,r,c),c)}):P(t,f);function f(c,h){var v=a.getDimensionInfo(h);!v||v.otherDims.tooltip===!1||(o?u.push(Ho("nameValue",{markerType:"subItem",markerColor:i,name:v.displayName,value:c,valueType:v.type})):(s.push(c),l.push(v.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var qr=Kt();function Is(t,e){return t.getName(e)||t.getId(e)}var oL="__universalTransitionEnabled",Su=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return e.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=yo({count:lL,reset:uL}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=qr(this).sourceManager=new qE(this);a.prepareSource();var o=this.getInitialData(r,i);ay(o,this),this.dataTask.context.data=o,qr(this).dataBeforeProcessed=o,iy(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(r,n){var i=Fo(this),a=i?mu(r):{},o=this.subType;zt.hasClass(o)&&(o+="Series"),Tt(r,n.getTheme().get(this.subType)),Tt(r,this.getDefaultOption()),Fp(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&sa(r,a,i)},e.prototype.mergeOption=function(r,n){r=Tt(this.option,r,!0),this.fillDataTextStyle(r.data);var i=Fo(this);i&&sa(this.option,r,i);var a=qr(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);ay(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,qr(this).dataBeforeProcessed=o,iy(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(r){if(r&&!Ie(r))for(var n=["show"],i=0;ithis.getShallow("animationThreshold")&&(n=!1),!!n},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=Hv.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},e.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},e.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(!!i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},e.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[Is(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[oL])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},e.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){st(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(r,n)}},e.registerClass=function(r){return zt.registerClass(r)},e.protoInitialize=function(){var r=e.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),e}(zt);mr(Su,RE);mr(Su,Hv);W_(Su,zt);function iy(t){var e=t.name;gv(t)||(t.name=sL(t)||e)}function sL(t){var e=t.getRawData(),r=e.mapDimensionsAll("seriesName"),n=[];return P(r,function(i){var a=e.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function lL(t){return t.model.getRawData().count()}function uL(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),fL}function fL(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function ay(t,e){P(rM(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(r){t.wrapMethod(r,jt(cL,e))})}function cL(t,e){var r=th(t);return r&&r.setOutputEnd((e||this).count()),e}function th(t){var e=(t.ecModel||{}).scheduler,r=e&&e.getPipeline(t.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(t.uid))}return n}}var Vo=Su,Yv=function(){function t(){this.group=new ce,this.uid=cu("viewComponent")}return t.prototype.init=function(e,r){},t.prototype.render=function(e,r,n,i){},t.prototype.dispose=function(e,r){},t.prototype.updateView=function(e,r,n,i){},t.prototype.updateLayout=function(e,r,n,i){},t.prototype.updateVisual=function(e,r,n,i){},t.prototype.blurSeries=function(e,r){},t.prototype.eachRendered=function(e){var r=this.group;r&&r.traverse(e)},t}();mv(Yv);iu(Yv);var Br=Yv;function Dw(){var t=Kt();return function(e){var r=t(e),n=e.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var Aw=Kt(),hL=Dw(),Xv=function(){function t(){this.group=new ce,this.uid=cu("viewChart"),this.renderTask=yo({plan:vL,reset:dL}),this.renderTask.context={view:this}}return t.prototype.init=function(e,r){},t.prototype.render=function(e,r,n,i){},t.prototype.highlight=function(e,r,n,i){var a=e.getData(i&&i.dataType);!a||sy(a,i,"emphasis")},t.prototype.downplay=function(e,r,n,i){var a=e.getData(i&&i.dataType);!a||sy(a,i,"normal")},t.prototype.remove=function(e,r){this.group.removeAll()},t.prototype.dispose=function(e,r){},t.prototype.updateView=function(e,r,n,i){this.render(e,r,n,i)},t.prototype.updateLayout=function(e,r,n,i){this.render(e,r,n,i)},t.prototype.updateVisual=function(e,r,n,i){this.render(e,r,n,i)},t.prototype.eachRendered=function(e){Ev(this.group,e)},t.markUpdateMethod=function(e,r){Aw(e).updateMethod=r},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function oy(t,e,r){t&&Uc(t)&&(e==="emphasis"?Pl:Il)(t,r)}function sy(t,e,r){var n=ui(t,e),i=e&&e.highlightKey!=null?pP(e.highlightKey):null;n!=null?P(fe(n),function(a){oy(t.getItemGraphicEl(a),r,i)}):t.eachItemGraphicEl(function(a){oy(a,r,i)})}mv(Xv);iu(Xv);function vL(t){return hL(t.model)}function dL(t){var e=t.model,r=t.ecModel,n=t.api,i=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=i&&Aw(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](e,r,n,i),pL[l]}var pL={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},gn=Xv,Bl="\0__throttleOriginMethod",ly="\0__throttleRate",uy="\0__throttleType";function Pw(t,e,r){var n,i=0,a=0,o=null,s,l,u,f;e=e||0;function c(){a=new Date().getTime(),o=null,t.apply(l,u||[])}var h=function(){for(var v=[],d=0;d=0?c():o=setTimeout(c,-s),i=n};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(v){f=v},h}function Iw(t,e,r,n){var i=t[e];if(!!i){var a=i[Bl]||i,o=i[uy],s=i[ly];if(s!==r||o!==n){if(r==null||!n)return t[e]=a;i=t[e]=Pw(a,r,n==="debounce"),i[Bl]=a,i[uy]=n,i[ly]=r}return i}}function eh(t,e){var r=t[e];r&&r[Bl]&&(r.clear&&r.clear(),t[e]=r[Bl])}var fy=Kt(),cy={itemStyle:Oo(V1,!0),lineStyle:Oo(H1,!0)},gL={lineStyle:"stroke",itemStyle:"fill"};function Ew(t,e){var r=t.visualStyleMapper||cy[e];return r||(console.warn("Unkown style type '"+e+"'."),cy.itemStyle)}function Lw(t,e){var r=t.visualDrawType||gL[e];return r||(console.warn("Unkown style type '"+e+"'."),"fill")}var yL={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=t.getModel(n),a=Ew(t,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var l=Lw(t,n),u=o[l],f=dt(u)?u:null,c=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[l]||(o[l]=h,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||dt(o.fill)?h:o.fill,o.stroke=o.stroke==="auto"||dt(o.stroke)?h:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",l),!e.isSeriesFiltered(t)&&f)return r.setVisual("colorFromPalette",!1),{dataEach:function(v,d){var y=t.getDataParams(d),g=q({},o);g[l]=f(y),v.setItemVisual(d,"style",g)}}}},Ba=new ae,mL={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=Ew(t,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Ba.option=l[n];var u=i(Ba),f=o.ensureUniqueItemVisual(s,"style");q(f,u),Ba.option.decal&&(o.setItemVisual(s,"decal",Ba.option.decal),Ba.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},_L={performRawSeries:!0,overallReset:function(t){var e=gt();t.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=e.get(i);a||(a={},e.set(i,a)),fy(r).scope=a}}),t.eachSeries(function(r){if(!(r.isColorBySeries()||t.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=fy(r).scope,s=r.visualStyleAccessPath||"itemStyle",l=Lw(r,s);a.each(function(u){var f=a.getRawIndex(u);i[f]=u}),n.each(function(u){var f=i[u],c=a.getItemVisual(f,"colorFromPalette");if(c){var h=a.ensureUniqueItemVisual(f,"style"),v=n.getName(u)||u+"",d=n.count();h[l]=r.getColorFromPalette(v,o,d)}})}})}},Es=Math.PI;function wL(t,e){e=e||{},Dt(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new ce,n=new Qt({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});r.add(n);var i=new he({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Qt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});r.add(a);var o;return e.showSpinner&&(o=new Tv({shape:{startAngle:-Es/2,endAngle:-Es/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Es*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Es*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,u=(t.getWidth()-l*2-(e.showSpinner&&s?10:0)-s)/2-(e.showSpinner&&s?0:5+s/2)+(e.showSpinner?0:s/2)+(s?0:l),f=t.getHeight()/2;e.showSpinner&&o.setShape({cx:u,cy:f}),a.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},r.resize(),r}var SL=function(){function t(e,r,n,i){this._stageTaskMap=gt(),this.ecInstance=e,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(e,r){e.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},t.prototype.getPerformArgs=function(e,r){if(!!e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},t.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},t.prototype.updateStreamModes=function(e,r){var n=this._pipelineMap.get(e.uid),i=e.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=e.get("large")&&a>=e.get("largeThreshold"),l=e.get("progressiveChunkMode")==="mod"?a:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},t.prototype.restorePipelines=function(e){var r=this,n=r._pipelineMap=gt();e.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(i,i.dataTask)})},t.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,r=this.api.getModel(),n=this.api;P(this._allHandlers,function(i){var a=e.get(i.uid)||e.set(i.uid,{}),o="";Or(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},t.prototype.prepareView=function(e,r,n,i){var a=e.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!e.incrementalPrepareRender,this._pipe(r,a)},t.prototype.performDataProcessorTasks=function(e,r){this._performStageTasks(this._dataProcessorHandlers,e,r,{block:!0})},t.prototype.performVisualTasks=function(e,r,n){this._performStageTasks(this._visualHandlers,e,r,n)},t.prototype._performStageTasks=function(e,r,n,i){i=i||{};var a=!1,o=this;P(e,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),c=f.seriesTaskMap,h=f.overallTask;if(h){var v,d=h.agentStubMap;d.each(function(g){s(i,g)&&(g.dirty(),v=!0)}),v&&h.dirty(),o.updatePayload(h,n);var y=o.getPerformArgs(h,i.block);d.each(function(g){g.perform(y)}),h.perform(y)&&(a=!0)}else c&&c.each(function(g,p){s(i,g)&&g.dirty();var m=o.getPerformArgs(g,i.block);m.skip=!l.performRawSeries&&r.isSeriesFiltered(g.context.model),o.updatePayload(g,n),g.perform(m)&&(a=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=a||this.unfinished},t.prototype.performSeriesTasks=function(e){var r;e.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(e){var r=e.tail;do{if(r.__block){e.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},t.prototype.updatePayload=function(e,r){r!=="remain"&&(e.context.payload=r)},t.prototype._createSeriesStageTask=function(e,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=gt(),l=e.seriesType,u=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(f):l?n.eachRawSeriesByType(l,f):u&&u(n,i).each(f);function f(c){var h=c.uid,v=s.set(h,o&&o.get(h)||yo({plan:ML,reset:DL,count:PL}));v.context={model:c,ecModel:n,api:i,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:a},a._pipe(c,v)}},t.prototype._createOverallStageTask=function(e,r,n,i){var a=this,o=r.overallTask=r.overallTask||yo({reset:bL});o.context={ecModel:n,api:i,overallReset:e.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=gt(),u=e.seriesType,f=e.getTargetSeries,c=!0,h=!1,v="";Or(!e.createOnAllSeries,v),u?n.eachRawSeriesByType(u,d):f?f(n,i).each(d):(c=!1,P(n.getSeries(),d));function d(y){var g=y.uid,p=l.set(g,s&&s.get(g)||(h=!0,yo({reset:xL,onDirty:TL})));p.context={model:y,overallProgress:c},p.agent=o,p.__block=c,a._pipe(y,p)}h&&o.dirty()},t.prototype._pipe=function(e,r){var n=e.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},t.wrapStageHandler=function(e,r){return dt(e)&&(e={overallReset:e,seriesType:IL(e)}),e.uid=cu("stageHandler"),r&&(e.visualType=r),e},t}();function bL(t){t.overallReset(t.ecModel,t.api,t.payload)}function xL(t){return t.overallProgress&&CL}function CL(){this.agent.dirty(),this.getDownstream().dirty()}function TL(){this.agent&&this.agent.dirty()}function ML(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function DL(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=fe(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?ct(e,function(r,n){return Rw(n)}):AL}var AL=Rw(0);function Rw(t){return function(e,r){var n=r.data,i=r.resetDefines[t];if(i&&i.dataEach)for(var a=e.start;a0&&v===u.length-h.length){var d=u.slice(0,v);d!=="data"&&(r.mainType=d,r[h.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(n[u]=l,f=!0),f||(i[u]=l)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},t.prototype.filter=function(e,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=r.cptQuery,u=r.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,a,"name")&&f(u,a,"dataIndex")&&f(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,r.otherQuery,i,a));function f(c,h,v,d){return c[v]==null||h[d||v]===c[v]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),rh=["symbol","symbolSize","symbolRotate","symbolOffset"],py=rh.concat(["symbolKeepAspect"]),OL={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData();if(t.legendIcon&&r.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o0)?null:t==="dashed"?[4*e,2*e]:t==="dotted"?[e]:$t(t)?[t]:et(t)?t:null}function zw(t){var e=t.style,r=e.lineDash&&e.lineWidth>0&&eR(e.lineDash,e.lineWidth),n=e.lineDashOffset;if(r){var i=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;i&&i!==1&&(r=ct(r,function(a){return a/i}),n/=i)}return[r,n]}var rR=new fi(!0);function Fl(t){var e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))}function gy(t){return typeof t=="string"&&t!=="none"}function zl(t){var e=t.fill;return e!=null&&e!=="none"}function yy(t,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function my(t,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function ah(t,e,r){var n=U_(e.image,e.__image,r);if(au(n)){var i=t.createPattern(n,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*nM),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}function nR(t,e,r,n){var i,a=Fl(r),o=zl(r),s=r.strokePercent,l=s<1,u=!e.path;(!e.silent||l)&&u&&e.createPathProxy();var f=e.path||rR,c=e.__dirty;if(!n){var h=r.fill,v=r.stroke,d=o&&!!h.colorStops,y=a&&!!v.colorStops,g=o&&!!h.image,p=a&&!!v.image,m=void 0,_=void 0,w=void 0,b=void 0,S=void 0;(d||y)&&(S=e.getBoundingRect()),d&&(m=c?ih(t,h,S):e.__canvasFillGradient,e.__canvasFillGradient=m),y&&(_=c?ih(t,v,S):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),g&&(w=c||!e.__canvasFillPattern?ah(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=w),p&&(b=c||!e.__canvasStrokePattern?ah(t,v,e):e.__canvasStrokePattern,e.__canvasStrokePattern=w),d?t.fillStyle=m:g&&(w?t.fillStyle=w:o=!1),y?t.strokeStyle=_:p&&(b?t.strokeStyle=b:a=!1)}var x=e.getGlobalScale();f.setScale(x[0],x[1],e.segmentIgnoreThreshold);var T,M;t.setLineDash&&r.lineDash&&(i=zw(e),T=i[0],M=i[1]);var D=!0;(u||c&zi)&&(f.setDPR(t.dpr),l?f.setContext(null):(f.setContext(t),D=!1),f.reset(),e.buildPath(f,e.shape,n),f.toStatic(),e.pathUpdated()),D&&f.rebuildPath(t,l?s:1),T&&(t.setLineDash(T),t.lineDashOffset=M),n||(r.strokeFirst?(a&&my(t,r),o&&yy(t,r)):(o&&yy(t,r),a&&my(t,r))),T&&t.setLineDash([])}function iR(t,e,r){var n=e.__image=U_(r.image,e.__image,e,e.onload);if(!(!n||!au(n))){var i=r.x||0,a=r.y||0,o=e.getWidth(),s=e.getHeight(),l=n.width/n.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var u=r.sx||0,f=r.sy||0;t.drawImage(n,u,f,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var u=r.sx,f=r.sy,c=o-u,h=s-f;t.drawImage(n,u,f,c,h,i,a,o,s)}else t.drawImage(n,i,a,o,s)}}function aR(t,e,r){var n,i=r.text;if(i!=null&&(i+=""),i){t.font=r.font||si,t.textAlign=r.textAlign,t.textBaseline=r.textBaseline;var a=void 0,o=void 0;t.setLineDash&&r.lineDash&&(n=zw(e),a=n[0],o=n[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),r.strokeFirst?(Fl(r)&&t.strokeText(i,r.x,r.y),zl(r)&&t.fillText(i,r.x,r.y)):(zl(r)&&t.fillText(i,r.x,r.y),Fl(r)&&t.strokeText(i,r.x,r.y)),a&&t.setLineDash([])}}var _y=["shadowBlur","shadowOffsetX","shadowOffsetY"],wy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Hw(t,e,r,n,i){var a=!1;if(!n&&(r=r||{},e===r))return!1;if(n||e.opacity!==r.opacity){me(t,i),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?ri.opacity:o}(n||e.blend!==r.blend)&&(a||(me(t,i),a=!0),t.globalCompositeOperation=e.blend||ri.blend);for(var s=0;s<_y.length;s++){var l=_y[s];(n||e[l]!==r[l])&&(a||(me(t,i),a=!0),t[l]=t.dpr*(e[l]||0))}return(n||e.shadowColor!==r.shadowColor)&&(a||(me(t,i),a=!0),t.shadowColor=e.shadowColor||ri.shadowColor),a}function Sy(t,e,r,n,i){var a=Go(e,i.inHover),o=n?null:r&&Go(r,i.inHover)||{};if(a===o)return!1;var s=Hw(t,a,o,n,i);if((n||a.fill!==o.fill)&&(s||(me(t,i),s=!0),gy(a.fill)&&(t.fillStyle=a.fill)),(n||a.stroke!==o.stroke)&&(s||(me(t,i),s=!0),gy(a.stroke)&&(t.strokeStyle=a.stroke)),(n||a.opacity!==o.opacity)&&(s||(me(t,i),s=!0),t.globalAlpha=a.opacity==null?1:a.opacity),e.hasStroke()){var l=a.lineWidth,u=l/(a.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(me(t,i),s=!0),t.lineWidth=u)}for(var f=0;f0&&r.unfinished);r.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(r,n,i){if(!this[ee]){if(this._disposed){this.id;return}var a,o,s;if(st(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[ee]=!0,!this._model||n){var l=new gE(this._api),u=this._theme,f=this._model=new lw;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(r,{replaceMerge:o},sh);var c={seriesTransition:s,optionChanged:!0};if(i)this[de]={silent:a,updateParams:c},this[ee]=!1,this.getZr().wakeUp();else{try{Ri(this),Kr.update.call(this,null,c)}catch(h){throw this[de]=null,this[ee]=!1,h}this._ssr||this._zr.flush(),this[de]=null,this[ee]=!1,Na.call(this,a),Fa.call(this,a)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||yR&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},e.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;return n.renderToString({useViewBox:r.useViewBox})},e.prototype.getSvgDataURL=function(){if(!!mt.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return P(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},e.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;P(n,function(l){i.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return P(a,function(l){l.group.ignore=!1}),s},e.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(By[i]){var l=s,u=s,f=-s,c=-s,h=[],v=r&&r.pixelRatio||this.getDevicePixelRatio();P(_o,function(_,w){if(_.group===i){var b=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(St(r)),S=_.getDom().getBoundingClientRect();l=a(S.left,l),u=a(S.top,u),f=o(S.right,f),c=o(S.bottom,c),h.push({dom:b,left:S.left,top:S.top})}}),l*=v,u*=v,f*=v,c*=v;var d=f-l,y=c-u,g=di.createCanvas(),p=Rp(g,{renderer:n?"svg":"canvas"});if(p.resize({width:d,height:y}),n){var m="";return P(h,function(_){var w=_.left-l,b=_.top-u;m+=''+_.dom+""}),p.painter.getSvgRoot().innerHTML=m,r.connectedBackgroundColor&&p.painter.setBackgroundColor(r.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}else return r.connectedBackgroundColor&&p.add(new Qt({shape:{x:0,y:0,width:d,height:y},style:{fill:r.connectedBackgroundColor}})),P(h,function(_){var w=new pi({style:{x:_.left*v-l,y:_.top*v-u,image:_.dom}});p.add(w)}),p.refreshImmediately(),g.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},e.prototype.convertToPixel=function(r,n){return Lf(this,"convertToPixel",r,n)},e.prototype.convertFromPixel=function(r,n){return Lf(this,"convertFromPixel",r,n)},e.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var i=this._model,a,o=tf(i,r);return P(o,function(s,l){l.indexOf("Models")>=0&&P(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(n);else if(l==="seriesModels"){var c=this._chartsMap[u.__viewId];c&&c.containPoint&&(a=a||c.containPoint(n,u))}},this)},this),!!a},e.prototype.getVisual=function(r,n){var i=this._model,a=tf(i,r,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),l=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return l!=null?BL(s,l,n):NL(s,n)},e.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},e.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},e.prototype._initEvents=function(){var r=this;P(LR,function(n){var i=function(a){var o=r.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&Ja(s,function(d){var y=Bt(d);if(y&&y.dataIndex!=null){var g=y.dataModel||o.getSeriesByIndex(y.seriesIndex);return l=g&&g.getDataParams(y.dataIndex,y.dataType)||{},!0}else if(y.eventData)return l=q({},y.eventData),!0},!0),l){var f=l.componentType,c=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",c=l.seriesIndex);var h=f&&c!=null&&o.getComponent(f,c),v=h&&r[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];l.event=a,l.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:v},r.trigger(n,l)}};i.zrEventfulCallAtLast=!0,r._zr.on(n,i,r)}),P(mo,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),P(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),FL(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var r=this.getDom();r&&$_(this.getDom(),Zv,"");var n=this,i=n._api,a=n._model;P(n._componentsViews,function(o){o.dispose(a,i)}),P(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete _o[n.id]},e.prototype.resize=function(r){if(!this[ee]){if(this._disposed){this.id;return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[de]&&(a==null&&(a=this[de].silent),i=!0,this[de]=null),this[ee]=!0;try{i&&Ri(this),Kr.update.call(this,{type:"resize",animation:q({duration:0},r&&r.animation)})}catch(o){throw this[ee]=!1,o}this[ee]=!1,Na.call(this,a),Fa.call(this,a)}}},e.prototype.showLoading=function(r,n){if(this._disposed){this.id;return}if(st(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!lh[r]){var i=lh[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(r){var n=q({},r);return n.type=mo[r.type],n},e.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(st(n)||(n={silent:!!n}),!!Hl[r.type]&&!!this._model){if(this[ee]){this._pendingActions.push(r);return}var i=n.silent;Of.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&mt.browser.weChat&&this._throttledZrFlush(),Na.call(this,i),Fa.call(this,i)}},e.prototype.updateLabelLayout=function(){Qe.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(r){if(this._disposed){this.id;return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){Ri=function(c){var h=c._scheduler;h.restorePipelines(c._model),h.prepareStageTasks(),Ef(c,!0),Ef(c,!1),h.plan()},Ef=function(c,h){for(var v=c._model,d=c._scheduler,y=h?c._componentsViews:c._chartsViews,g=h?c._componentsMap:c._chartsMap,p=c._zr,m=c._api,_=0;_h.get("hoverLayerThreshold")&&!mt.node&&!mt.worker&&h.eachSeries(function(g){if(!g.preventUsingHoverLayer){var p=c._chartsMap[g.__viewId];p.__alive&&p.eachRendered(function(m){m.states.emphasis&&(m.states.emphasis.hoverLayer=!0)})}})}function o(c,h){var v=c.get("blendMode")||null;h.eachRendered(function(d){d.isGroup||(d.style.blend=v)})}function s(c,h){if(!c.preventAutoZ){var v=c.get("z")||0,d=c.get("zlevel")||0;h.eachRendered(function(y){return l(y,v,d,-1/0),!0})}}function l(c,h,v,d){var y=c.getTextContent(),g=c.getTextGuideLine(),p=c.isGroup;if(p)for(var m=c.childrenRef(),_=0;_0?{duration:y,delay:v.get("delay"),easing:v.get("easing")}:null;h.eachRendered(function(p){if(p.states&&p.states.emphasis){if(vo(p))return;if(p instanceof kt&&gP(p),p.__dirty){var m=p.prevStates;m&&p.useStates(m)}if(d){p.stateTransition=g;var _=p.getTextContent(),w=p.getTextGuideLine();_&&(_.stateTransition=g),w&&(w.stateTransition=g)}p.__dirty&&i(p)}})}Oy=function(c){return new(function(h){J(v,h);function v(){return h!==null&&h.apply(this,arguments)||this}return v.prototype.getCoordinateSystems=function(){return c._coordSysMgr.getCoordinateSystems()},v.prototype.getComponentByElement=function(d){for(;d;){var y=d.__ecComponentInfo;if(y!=null)return c._model.getComponent(y.mainType,y.index);d=d.parent}},v.prototype.enterEmphasis=function(d,y){Pl(d,y),Le(c)},v.prototype.leaveEmphasis=function(d,y){Il(d,y),Le(c)},v.prototype.enterBlur=function(d){oP(d),Le(c)},v.prototype.leaveBlur=function(d){s1(d),Le(c)},v.prototype.enterSelect=function(d){l1(d),Le(c)},v.prototype.leaveSelect=function(d){u1(d),Le(c)},v.prototype.getModel=function(){return c.getModel()},v.prototype.getViewOfComponentModel=function(d){return c.getViewOfComponentModel(d)},v.prototype.getViewOfSeriesModel=function(d){return c.getViewOfSeriesModel(d)},v}(uw))(c)},eS=function(c){function h(v,d){for(var y=0;y=0)){Ny.push(r);var a=Bw.wrapStageHandler(r,i);a.__prio=e,a.__raw=r,t.push(a)}}function sS(t,e){lh[t]=e}function zR(t,e,r){var n=gR("registerMap");n&&n(t,e,r)}var HR=$E;yi(qv,yL);yi(bu,mL);yi(bu,_L);yi(qv,OL);yi(bu,kL);yi(Kw,vR);aS(cw);oS(wR,CE);sS("default",wL);wa({type:ni,event:ni,update:ni},_e);wa({type:il,event:il,update:il},_e);wa({type:fo,event:fo,update:fo},_e);wa({type:al,event:al,update:al},_e);wa({type:co,event:co,update:co},_e);iS("light",EL);iS("dark",LL);function za(t){return t==null?0:t.length||1}function Fy(t){return t}var VR=function(){function t(e,r,n,i,a,o){this._old=e,this._new=r,this._oldKeyGetter=n||Fy,this._newKeyGetter=i||Fy,this.context=a,this._diffModeMultiple=o==="multiple"}return t.prototype.add=function(e){return this._add=e,this},t.prototype.update=function(e){return this._update=e,this},t.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},t.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},t.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},t.prototype.remove=function(e){return this._remove=e,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var e=this._old,r=this._new,n={},i=new Array(e.length),a=new Array(r.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o1){var f=l.shift();l.length===1&&(n[s]=l[0]),this._update&&this._update(f,o)}else u===1?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},t.prototype._executeMultiple=function(){var e=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(e,n,a,"_oldKeyGetter"),this._initIndexMap(r,i,o,"_newKeyGetter");for(var s=0;s1&&h===1)this._updateManyToOne&&this._updateManyToOne(f,u),i[l]=null;else if(c===1&&h>1)this._updateOneToMany&&this._updateOneToMany(f,u),i[l]=null;else if(c===1&&h===1)this._update&&this._update(f,u),i[l]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(f,u),i[l]=null;else if(c>1)for(var v=0;v1)for(var s=0;s30}var Ha=st,Zr=ct,ZR=typeof Int32Array=="undefined"?Array:Int32Array,jR="e\0\0",zy=-1,QR=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],JR=["_approximateExtent"],Hy,Ns,Va,$a,Nf,Fs,Ff,t2=function(){function t(e,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,i=!1;uS(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(i=!0,n=e),n=n||["x","y"];for(var a={},o=[],s={},l=!1,u={},f=0;f=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===Xe;if(l&&!i.pure)for(var u=[],f=e;f0},t.prototype.ensureUniqueItemVisual=function(e,r){var n=this._itemVisuals,i=n[e];i||(i=n[e]={});var a=i[r];return a==null&&(a=this.getVisual(r),et(a)?a=a.slice():Ha(a)&&(a=q({},a)),i[r]=a),a},t.prototype.setItemVisual=function(e,r,n){var i=this._itemVisuals[e]||{};this._itemVisuals[e]=i,Ha(r)?q(i,r):i[r]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(e,r){Ha(e)?q(this._layout,e):this._layout[e]=r},t.prototype.getLayout=function(e){return this._layout[e]},t.prototype.getItemLayout=function(e){return this._itemLayouts[e]},t.prototype.setItemLayout=function(e,r,n){this._itemLayouts[e]=n?q(this._itemLayouts[e]||{},r):r},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(e,r){var n=this.hostModel&&this.hostModel.seriesIndex;ZA(n,this.dataType,e,r),this._graphicEls[e]=r},t.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},t.prototype.eachItemGraphicEl=function(e,r){P(this._graphicEls,function(n,i){n&&e&&e.call(r,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Zr(this.dimensions,this._getDimInfo,this),this.hostModel)),Nf(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(e,r){var n=this[e];!dt(n)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(av(arguments)))})},t.internalField=function(){Hy=function(e){var r=e._invertedIndicesMap;P(r,function(n,i){var a=e._dimInfos[i],o=a.ordinalMeta,s=e._store;if(o){n=r[i]=new ZR(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),i[r]=l}}}(),t}(),e2=t2;function r2(t,e){$v(t)||(t=Gv(t)),e=e||{};var r=e.coordDimensions||[],n=e.dimensionsDefine||t.dimensionsDefine||[],i=gt(),a=[],o=i2(t,r,n,e.dimensionsCount),s=e.canOmitUnusedDimensions&&hS(o),l=n===t.dimensionsDefine,u=l?cS(t):fS(n),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(t,o));for(var c=gt(f),h=new _w(o),v=0;v0&&(n.name=i+(a-1)),a++,e.set(i,a)}}function i2(t,e,r,n){var i=Math.max(t.dimensionsDetectedCount||1,e.length,r.length,n||0);return P(e,function(a){var o;st(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function a2(t,e,r){var n=e.data;if(r||n.hasOwnProperty(t)){for(var i=0;n.hasOwnProperty(t+i);)i++;t+=i}return e.set(t,!0),t}var o2=function(){function t(e){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=e}return t}();function s2(t){var e=t.get("coordinateSystem"),r=new o2(e),n=l2[e];if(n)return n(t,r,r.axisMap,r.categoryAxisMap),r}var l2={cartesian2d:function(t,e,r,n){var i=t.getReferringComponents("xAxis",er).models[0],a=t.getReferringComponents("yAxis",er).models[0];e.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),Oi(i)&&(n.set("x",i),e.firstCategoryDimIndex=0),Oi(a)&&(n.set("y",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,r,n){var i=t.getReferringComponents("singleAxis",er).models[0];e.coordSysDims=["single"],r.set("single",i),Oi(i)&&(n.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,r,n){var i=t.getReferringComponents("polar",er).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Oi(a)&&(n.set("radius",a),e.firstCategoryDimIndex=0),Oi(o)&&(n.set("angle",o),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(t,e,r,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,r,n){var i=t.ecModel,a=i.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();P(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),f=o[l];r.set(f,u),Oi(u)&&(n.set(f,u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=l))})}};function Oi(t){return t.get("type")==="category"}function u2(t,e,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;f2(e)?a=e:(o=e.schema,a=o.dimensions,s=e.store);var l=!!(t&&t.get("stack")),u,f,c,h;if(P(a,function(m,_){nt(m)&&(a[_]=m={name:m}),l&&!m.isExtraCoord&&(!n&&!u&&m.ordinalMeta&&(u=m),!f&&m.type!=="ordinal"&&m.type!=="time"&&(!i||i===m.coordDim)&&(f=m))}),f&&!n&&!u&&(n=!0),f){c="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var v=f.coordDim,d=f.type,y=0;P(a,function(m){m.coordDim===v&&y++});var g={name:c,coordDim:v,coordDimIndex:y,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},p={name:h,coordDim:h,coordDimIndex:y+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(h,d),p.storeDimIndex=s.ensureCalculationDimension(c,d)),o.appendCalculationDimension(g),o.appendCalculationDimension(p)):(a.push(g),a.push(p))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:c}}function f2(t){return!uS(t.schema)}function Wo(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function c2(t,e){return Wo(t,e)?t.getCalculationInfo("stackResultDimension"):e}function h2(t,e){var r=t.get("coordinateSystem"),n=Vv.get(r),i;return e&&e.coordSysDims&&(i=ct(e.coordSysDims,function(a){var o={name:a},s=e.axisMap.get(a);if(s){var l=s.get("type");o.type=UR(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function v2(t,e,r){var n,i;return r&&P(t,function(a,o){var s=a.coordDim,l=r.categoryAxisMap.get(s);l&&(n==null&&(n=o),a.ordinalMeta=l.getOrdinalMeta(),e&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(t[n].otherDims.itemName=0),n}function d2(t,e,r){r=r||{};var n=e.getSourceManager(),i,a=!1;t?(a=!0,i=Gv(t)):(i=n.getSource(),a=i.sourceFormat===Xe);var o=s2(e),s=h2(e,o),l=r.useEncodeDefaulter,u=dt(l)?l:l?jt(ZI,s,e):null,f={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},c=r2(i,f),h=v2(c.dimensions,r.createInvertedIndices,o),v=a?null:n.getSharedDataStore(c),d=u2(e,{schema:c,store:v}),y=new e2(c,e);y.setCalculationInfo(d);var g=h!=null&&p2(i)?function(p,m,_,w){return w===h?_:this.defaultDimValueGetter(p,m,_,w)}:null;return y.hasItemOption=!1,y.initData(a?i:v,null,g),y}function p2(t){if(t.sourceFormat===Xe){var e=g2(t.data||[]);return!et(Zo(e))}}function g2(t){for(var e=0;er[1]&&(r[1]=e[1])},t.prototype.unionExtentFromData=function(e,r){this.unionExtent(e.getApproximateExtent(r))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(e,r){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(r)||(n[1]=r)},t.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(e){this._isBlank=e},t}();iu(vS);var Hr=vS,y2=0,m2=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++y2}return t.createByAxisModel=function(e){var r=e.option,n=r.data,i=n&&ct(n,_2);return new t({categories:i,needCollect:!i,deduplication:r.dedplication!==!1})},t.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},t.prototype.parseAndCollect=function(e){var r,n=this._needCollect;if(!nt(e)&&!n)return e;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=e,r;var i=this._getOrCreateMap();return r=i.get(e),r==null&&(n?(r=this.categories.length,this.categories[r]=e,i.set(e,r)):r=NaN),r},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},t}();function _2(t){return st(t)&&t.value!=null?t.value:t+""}var uh=m2;function fh(t){return t.type==="interval"||t.type==="log"}function w2(t,e,r,n){var i={},a=t[1]-t[0],o=i.interval=N_(a/e,!0);r!=null&&on&&(o=i.interval=n);var s=i.intervalPrecision=dS(o),l=i.niceTickExtent=[Yt(Math.ceil(t[0]/o)*o,s),Yt(Math.floor(t[1]/o)*o,s)];return S2(l,t),i}function zf(t){var e=Math.pow(10,pv(t)),r=t/e;return r?r===2?r=3:r===3?r=5:r*=2:r=1,Yt(r*e)}function dS(t){return Ar(t)+2}function Vy(t,e,r){t[e]=Math.max(Math.min(t[e],r[1]),r[0])}function S2(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Vy(t,0,e),Vy(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function xu(t,e){return t>=e[0]&&t<=e[1]}function Cu(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Tu(t,e){return t*(e[1]-e[0])+e[0]}var pS=function(t){J(e,t);function e(r){var n=t.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new uh({})),et(i)&&(i=new uh({categories:ct(i,function(a){return st(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return e.prototype.parse=function(r){return nt(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},e.prototype.contain=function(r){return r=this.parse(r),xu(r,this._extent)&&this._ordinalMeta.categories[r]!=null},e.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),Cu(r,this._extent)},e.prototype.scale=function(r){return r=Math.round(Tu(r,this._extent)),this.getRawOrdinalNumber(r)},e.prototype.getTicks=function(){for(var r=[],n=this._extent,i=n[0];i<=n[1];)r.push({value:i}),i++;return r},e.prototype.getMinorTicks=function(r){},e.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,n.length);o=0&&r=0&&r=r},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Hr);Hr.registerClass(pS);var gS=pS,Yn=Yt,yS=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return e.prototype.parse=function(r){return r},e.prototype.contain=function(r){return xu(r,this._extent)},e.prototype.normalize=function(r){return Cu(r,this._extent)},e.prototype.scale=function(r){return Tu(r,this._extent)},e.prototype.setExtent=function(r,n){var i=this._extent;isNaN(r)||(i[0]=parseFloat(r)),isNaN(n)||(i[1]=parseFloat(n))},e.prototype.unionExtent=function(r){var n=this._extent;r[0]n[1]&&(n[1]=r[1]),this.setExtent(n[0],n[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=dS(r)},e.prototype.getTicks=function(r){var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var l=1e4;i[0]l)return[];var f=s.length?s[s.length-1].value:a[1];return i[1]>f&&(r?s.push({value:Yn(f+n,o)}):s.push({value:i[1]})),s},e.prototype.getMinorTicks=function(r){for(var n=this.getTicks(!0),i=[],a=this.getExtent(),o=1;oa[0]&&v0&&(a=a===null?s:Math.min(a,s))}r[n]=a}}return r}function M2(t){var e=T2(t),r=[];return P(t,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var l=a.dim+"_"+a.index,u=e[l],f=Math.abs(o[1]-o[0]),c=a.scale.getExtent(),h=Math.abs(c[1]-c[0]);s=u?f/h*u:f}else{var v=n.getData();s=Math.abs(o[1]-o[0])/v.count()}var d=ue(n.get("barWidth"),s),y=ue(n.get("barMaxWidth"),s),g=ue(n.get("barMinWidth")||(I2(n)?.5:1),s),p=n.get("barGap"),m=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:d,barMaxWidth:y,barMinWidth:g,barGap:p,barCategoryGap:m,axisKey:wS(a),stackId:_S(n)})}),D2(r)}function D2(t){var e={};P(t,function(n,i){var a=n.axisKey,o=n.bandWidth,s=e[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;e[a]=s;var u=n.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=n.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var c=n.barMaxWidth;c&&(l[u].maxWidth=c);var h=n.barMinWidth;h&&(l[u].minWidth=h);var v=n.barGap;v!=null&&(s.gap=v);var d=n.barCategoryGap;d!=null&&(s.categoryGap=d)});var r={};return P(e,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=Vt(a).length;s=Math.max(35-l*4,15)+"%"}var u=ue(s,o),f=ue(n.gap,1),c=n.remainedWidth,h=n.autoWidthCount,v=(c-u)/(h+(h-1)*f);v=Math.max(v,0),P(a,function(p){var m=p.maxWidth,_=p.minWidth;if(p.width){var w=p.width;m&&(w=Math.min(w,m)),_&&(w=Math.max(w,_)),p.width=w,c-=w+f*w,h--}else{var w=v;m&&mw&&(w=_),w!==v&&(p.width=w,c-=w+f*w,h--)}}),v=(c-u)/(h+(h-1)*f),v=Math.max(v,0);var d=0,y;P(a,function(p,m){p.width||(p.width=v),y=p,d+=p.width*(1+f)}),y&&(d-=y.width*f);var g=-d/2;P(a,function(p,m){r[i][m]=r[i][m]||{bandWidth:o,offset:g,width:p.width},g+=p.width*(1+f)})}),r}function A2(t,e,r){if(t&&e){var n=t[wS(e)];return n!=null&&r!=null?n[_S(r)]:n}}function P2(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function I2(t){return t.pipelineContext&&t.pipelineContext.large}var E2=function(t,e,r,n){for(;r>>1;t[i][1]i&&(this._approxInterval=i);var s=zs.length,l=Math.min(E2(zs,this._approxInterval,0,s),s-1);this._interval=zs[l][1],this._minLevelUnit=zs[Math.max(l-1,0)][0]},e.prototype.parse=function(r){return $t(r)?r:+kr(r)},e.prototype.contain=function(r){return xu(this.parse(r),this._extent)},e.prototype.normalize=function(r){return Cu(this.parse(r),this._extent)},e.prototype.scale=function(r){return Tu(r,this._extent)},e.type="time",e}(ts),zs=[["second",Bv],["minute",Nv],["hour",po],["quarter-day",po*6],["half-day",po*12],["day",We*1.2],["half-week",We*3.5],["week",We*7],["month",We*31],["quarter",We*95],["half-year",Ig/2],["year",Ig]];function L2(t,e,r,n){var i=kr(e),a=kr(r),o=function(d){return Lg(i,d,n)===Lg(a,d,n)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},f=function(){return u()&&o("hour")},c=function(){return f()&&o("minute")},h=function(){return c()&&o("second")},v=function(){return h()&&o("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return f();case"minute":return c();case"second":return h();case"millisecond":return v()}}function R2(t,e){return t/=We,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function O2(t){var e=30*We;return t/=e,t>6?6:t>3?3:t>2?2:1}function k2(t){return t/=po,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function $y(t,e){return t/=e?Nv:Bv,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function B2(t){return N_(t,!0)}function N2(t,e,r){var n=new Date(t);switch(Qi(e)){case"year":case"month":n[Y1(r)](0);case"day":n[X1(r)](1);case"hour":n[q1(r)](0);case"minute":n[K1(r)](0);case"second":n[Z1(r)](0),n[j1(r)](0)}return n.getTime()}function F2(t,e,r,n){var i=1e4,a=W1,o=0;function s(D,I,A,L,O,H,B){for(var Q=new Date(I),G=I,Z=Q[L]();G1&&H===0&&A.unshift({value:A[0].value-G})}}for(var H=0;H=n[0]&&m<=n[1]&&c++)}var _=(n[1]-n[0])/e;if(c>_*1.5&&h>_/1.5||(u.push(g),c>_||t===a[v]))break}f=[]}}}for(var w=ge(ct(u,function(D){return ge(D,function(I){return I.value>=n[0]&&I.value<=n[1]&&!I.notAdd})}),function(D){return D.length>0}),b=[],S=w.length-1,v=0;v0;)a*=10;var s=[Yt($2(n[0]/a)*a),Yt(V2(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},e.prototype.calcNiceExtent=function(r){wo.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},e.prototype.parse=function(r){return r},e.prototype.contain=function(r){return r=Re(r)/Re(this.base),xu(r,this._extent)},e.prototype.normalize=function(r){return r=Re(r)/Re(this.base),Cu(r,this._extent)},e.prototype.scale=function(r){return r=Tu(r,this._extent),Hs(this.base,r)},e.type="log",e}(Hr),bS=Jv.prototype;bS.getMinorTicks=wo.getMinorTicks;bS.getLabel=wo.getLabel;function Vs(t,e){return H2(t,Ar(e))}Hr.registerClass(Jv);var G2=Jv,W2=function(){function t(e,r,n){this._prepareParams(e,r,n)}return t.prototype._prepareParams=function(e,r,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var h=this._determinedMin,v=this._determinedMax;return h!=null&&(s=h,u=!0),v!=null&&(l=v,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:c}},t.prototype.modifyDataMinMax=function(e,r){this[Y2[e]]=r},t.prototype.setDeterminedMinMax=function(e,r){var n=U2[e];this[n]=r},t.prototype.freeze=function(){this.frozen=!0},t}(),U2={min:"_determinedMin",max:"_determinedMax"},Y2={min:"_dataMin",max:"_dataMax"};function X2(t,e,r){var n=t.rawExtentInfo;return n||(n=new W2(t,e,r),t.rawExtentInfo=n,n)}function $s(t,e){return e==null?null:_l(e)?NaN:t.parse(e)}function xS(t,e){var r=t.type,n=X2(t,e,t.getExtent()).calculate();t.setBlank(n.isBlank);var i=n.min,a=n.max,o=e.ecModel;if(o&&r==="time"){var s=C2("bar",o),l=!1;if(P(s,function(c){l=l||c.getBaseAxis()===e.axis}),l){var u=M2(s),f=q2(i,a,e,u);i=f.min,a=f.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function q2(t,e,r,n){var i=r.axis.getExtent(),a=i[1]-i[0],o=A2(n,r.axis);if(o===void 0)return{min:t,max:e};var s=1/0;P(o,function(v){s=Math.min(v.offset,s)});var l=-1/0;P(o,function(v){l=Math.max(v.offset+v.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=e-t,c=1-(s+l)/a,h=f/c-f;return e+=h*(l/u),t-=h*(s/u),{min:t,max:e}}function Wy(t,e){var r=e,n=xS(t,r),i=n.extent,a=r.get("splitNumber");t instanceof G2&&(t.base=r.get("logBase"));var o=t.type,s=r.get("interval"),l=o==="interval"||o==="time";t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?r.get("minInterval"):null,maxInterval:l?r.get("maxInterval"):null}),s!=null&&t.setInterval&&t.setInterval(s)}function K2(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new gS({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new z2({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Hr.getClass(e)||ts)}}function Z2(t){var e=t.scale.getExtent(),r=e[0],n=e[1];return!(r>0&&n>0||r<0&&n<0)}function es(t){var e=t.getLabelModel().get("formatter"),r=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(n){return function(i,a){return t.scale.getFormattedLabel(i,a,n)}}(e):nt(e)?function(n){return function(i){var a=t.scale.getLabel(i),o=n.replace("{value}",a!=null?a:"");return o}}(e):dt(e)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(td(t,i),a,i.level!=null?{level:i.level}:null)}}(e):function(n){return t.scale.getLabel(n)}}function td(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function j2(t){var e=t.model,r=t.scale;if(!(!e.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof gS?i=r.count():(n=r.getTicks(),i=n.length);var o=t.getLabelModel(),s=es(t),l,u=1;i>40&&(u=Math.ceil(i/40));for(var f=0;f=0||(Uy.push(t),dt(t)&&(t={install:t}),t.install(eO))}var Uo=Kt();function rO(t){return t.type==="category"?iO(t):oO(t)}function nO(t,e){return t.type==="category"?aO(t,e):{ticks:ct(t.scale.getTicks(),function(r){return r.value})}}function iO(t){var e=t.getLabelModel(),r=TS(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function TS(t,e){var r=MS(t,"labels"),n=ed(e),i=DS(r,n);if(i)return i;var a,o;return dt(n)?a=IS(t,n):(o=n==="auto"?sO(t):n,a=PS(t,o)),AS(r,n,{labels:a,labelCategoryInterval:o})}function aO(t,e){var r=MS(t,"ticks"),n=ed(e),i=DS(r,n);if(i)return i;var a,o;if((!e.get("show")||t.scale.isBlank())&&(a=[]),dt(n))a=IS(t,n,!0);else if(n==="auto"){var s=TS(t,t.getLabelModel());o=s.labelCategoryInterval,a=ct(s.labels,function(l){return l.tickValue})}else o=n,a=PS(t,o,!0);return AS(r,n,{ticks:a,tickCategoryInterval:o})}function oO(t){var e=t.scale.getTicks(),r=es(t);return{labels:ct(e,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:t.scale.getLabel(n),tickValue:n.value}})}}function MS(t,e){return Uo(t)[e]||(Uo(t)[e]=[])}function DS(t,e){for(var r=0;r40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),f=Math.abs(u*Math.cos(n)),c=Math.abs(u*Math.sin(n)),h=0,v=0;l<=a[1];l+=s){var d=0,y=0,g=hv(r({value:l}),e.font,"center","top");d=g.width*1.3,y=g.height*1.3,h=Math.max(h,d,7),v=Math.max(v,y,7)}var p=h/f,m=v/c;isNaN(p)&&(p=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(p,m))),w=Uo(t.model),b=t.getExtent(),S=w.lastAutoInterval,x=w.lastTickCount;return S!=null&&x!=null&&Math.abs(S-_)<=1&&Math.abs(x-o)<=1&&S>_&&w.axisExtent0===b[0]&&w.axisExtent1===b[1]?_=S:(w.lastTickCount=o,w.lastAutoInterval=_,w.axisExtent0=b[0],w.axisExtent1=b[1]),_}function uO(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function PS(t,e,r){var n=es(t),i=t.scale,a=i.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=a[0],f=i.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=CS(t),h=o.get("showMinLabel")||c,v=o.get("showMaxLabel")||c;h&&u!==a[0]&&y(a[0]);for(var d=u;d<=a[1];d+=l)y(d);v&&d-l!==a[1]&&y(a[1]);function y(g){var p={value:g};s.push(r?g:{formattedLabel:n(p),rawLabel:i.getLabel(p),tickValue:g})}return s}function IS(t,e,r){var n=t.scale,i=es(t),a=[];return P(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;e(o.value,s)&&a.push(r?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),a}var Yy=[0,1],fO=function(){function t(e,r,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=r,this._extent=n||[0,0]}return t.prototype.contain=function(e){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return e>=n&&e<=i},t.prototype.containData=function(e){return this.scale.contain(e)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(e){return PD(e||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(e,r){var n=this._extent;n[0]=e,n[1]=r},t.prototype.dataToCoord=function(e,r){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&i.type==="ordinal"&&(n=n.slice(),Xy(n,i.count())),kp(e,Yy,n,r)},t.prototype.coordToData=function(e,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),Xy(n,i.count()));var a=kp(e,n,Yy,r);return this.scale.scale(a)},t.prototype.pointToData=function(e,r){},t.prototype.getTicksCoords=function(e){e=e||{};var r=e.tickModel||this.getTickModel(),n=nO(this,r),i=n.ticks,a=ct(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return cO(this,a,o,e.clamp),a},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),r=e.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=ct(n,function(a){return ct(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},t.prototype.getViewLabels=function(){return rO(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var e=this._extent,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return lO(this)},t}();function Xy(t,e){var r=t[1]-t[0],n=e,i=r/n/2;t[0]+=i,t[1]-=i}function cO(t,e,r,n){var i=e.length;if(!t.onBand||r||!i)return;var a=t.getExtent(),o,s;if(i===1)e[0].coord=a[0],o=e[1]={coord:a[0]};else{var l=e[i-1].tickValue-e[0].tickValue,u=(e[i-1].coord-e[0].coord)/l;P(e,function(v){v.coord-=u/2});var f=t.scale.getExtent();s=1+f[1]-e[i-1].tickValue,o={coord:e[i-1].coord+u*s},e.push(o)}var c=a[0]>a[1];h(e[0].coord,a[0])&&(n?e[0].coord=a[0]:e.shift()),n&&h(a[0],e[0].coord)&&e.unshift({coord:a[0]}),h(a[1],o.coord)&&(n?o.coord=a[1]:e.pop()),n&&h(o.coord,a[1])&&e.push({coord:a[1]});function h(v,d){return v=Yt(v),d=Yt(d),c?v>d:vn[1]&&n.reverse(),n},e.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},e.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},e}(hO),DO=MO;function vh(t,e,r){r=r||{};var n=t.coordinateSystem,i=e.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,f=n.getRect(),c=[f.x,f.x+f.width,f.y,f.y+f.height],h={left:0,right:1,top:0,bottom:1,onZero:2},v=e.get("offset")||0,d=u==="x"?[c[2]-v,c[3]+v]:[c[0]-v,c[1]+v];if(o){var y=o.toGlobalCoord(o.dataToCoord(0));d[h.onZero]=Math.max(Math.min(y,d[1]),d[0])}a.position=[u==="y"?d[h[l]]:c[0],u==="x"?d[h[l]]:c[3]],a.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=g[s],a.labelOffset=o?d[h[s]]-d[h.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Io(r.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var p=e.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-p:p,a.z2=1,a}function jy(t){return t.get("coordinateSystem")==="cartesian2d"}function Qy(t){var e={xAxisModel:null,yAxisModel:null};return P(e,function(r,n){var i=n.replace(/Model$/,""),a=t.getReferringComponents(i,er).models[0];e[n]=a}),e}var Hf=Math.log;function AO(t,e,r){var n=ts.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),l=xS(t,e),u=l.extent,f=l.fixMin,c=l.fixMax;if(t.type==="log"){var h=Hf(t.base);u=[Hf(u[0])/h,Hf(u[1])/h]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:c});var v=n.getExtent.call(t);f&&(u[0]=v[0]),c&&(u[1]=v[1]);var d=n.getInterval.call(t),y=u[0],g=u[1];if(f&&c)d=(g-y)/o;else if(f)for(g=u[0]+d*o;gu[0]&&isFinite(y)&&isFinite(u[0]);)d=zf(d),y=u[1]-d*o;else{var p=t.getTicks().length-1;p>o&&(d=zf(d));var m=d*o;g=Math.ceil(u[1]/d)*d,y=Yt(g-m),y<0&&u[0]>=0?(y=0,g=Yt(m)):g>0&&u[1]<=0&&(g=0,y=-Yt(m))}var _=(i[0].value-a[0].value)/s,w=(i[o].value-a[o].value)/s;n.setExtent.call(t,y+d*_,g+d*w),n.setInterval.call(t,d),(_||w)&&n.setNiceExtent.call(t,y+d,g-d)}var PO=function(){function t(e,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=hh,this._initCartesian(e,r,n),this.model=e}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(e,r){var n=this._axesMap;this._updateScale(e,this.model);function i(o){var s,l=Vt(o),u=l.length;if(!!u){for(var f=[],c=u-1;c>=0;c--){var h=+l[c],v=o[h],d=v.model,y=v.scale;fh(y)&&d.get("alignTicks")&&d.get("interval")==null?f.push(v):(Wy(y,d),fh(y)&&(s=v))}f.length&&(s||(s=f.pop(),Wy(s.scale,s.model)),P(f,function(g){AO(g.scale,g.model,s.scale)}))}}i(n.x),i(n.y);var a={};P(n.x,function(o){Jy(n,"y",o,a)}),P(n.y,function(o){Jy(n,"x",o,a)}),this.resize(this.model,r)},t.prototype.resize=function(e,r,n){var i=e.getBoxLayoutParams(),a=!n&&e.get("containLabel"),o=No(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(P(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=j2(u);if(f){var c=u.isHorizontal()?"height":"width",h=u.model.get(["axisLabel","margin"]);o[c]-=f[c]+h,u.position==="top"?o.y+=f.height+h:u.position==="left"&&(o.x+=f.width+h)}}}),l()),P(this._coordsList,function(u){u.calcAffineTransform()});function l(){P(s,function(u){var f=u.isHorizontal(),c=f?[0,o.width]:[0,o.height],h=u.inverse?1:0;u.setExtent(c[h],c[1-h]),IO(u,f?o.x:o.y)})}},t.prototype.getAxis=function(e,r){var n=this._axesMap[e];if(n!=null)return n[r||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(e,r){if(e!=null&&r!=null){var n="x"+e+"y"+r;return this._coordsMap[n]}st(e)&&(r=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,a=this._coordsList;i0?"top":"bottom",a="center"):Dl(i-sn)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},t.makeAxisEventDataBase=function(e){var r={componentType:e.mainType,componentIndex:e.componentIndex};return r[e.mainType+"Index"]=e.componentIndex,r},t.isLabelSilent=function(e){var r=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||r&&r.show)},t}(),em={axisLine:function(t,e,r,n){var i=e.get(["axisLine","show"]);if(i==="auto"&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),!!i){var a=e.axis.getExtent(),o=n.transform,s=[a[0],0],l=[a[1],0];o&&(Ye(s,s,o),Ye(l,l,o));var u=q({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new ci({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});f.anid="line",r.add(f);var c=e.get(["axisLine","symbol"]);if(c!=null){var h=e.get(["axisLine","symbolSize"]);nt(c)&&(c=[c,c]),(nt(h)||$t(h))&&(h=[h,h]);var v=Fw(e.get(["axisLine","symbolOffset"])||0,h),d=h[0],y=h[1];P([{rotate:t.rotation+Math.PI/2,offset:v[0],r:0},{rotate:t.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(g,p){if(c[p]!=="none"&&c[p]!=null){var m=ua(c[p],-d/2,-y/2,d,y,u.stroke,!0),_=g.r+g.offset;m.attr({rotation:g.rotate,x:s[0]+_*Math.cos(t.rotation),y:s[1]-_*Math.sin(t.rotation),silent:!0,z2:11}),r.add(m)}})}}},axisTickLabel:function(t,e,r,n){var i=OO(r,n,e,t),a=BO(r,n,e,t);if(RO(e,a,i),kO(r,n,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=vO(ct(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));dO(o)}},axisName:function(t,e,r,n){var i=Io(t.axisName,e.get("name"));if(!!i){var a=e.get("nameLocation"),o=t.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=e.axis.getExtent(),f=u[0]>u[1]?-1:1,c=[a==="start"?u[0]-f*l:a==="end"?u[1]+f*l:(u[0]+u[1])/2,nm(a)?t.labelOffset+o*l:0],h,v=e.get("nameRotate");v!=null&&(v=v*sn/180);var d;nm(a)?h=ii.innerTextLayout(t.rotation,v!=null?v:t.rotation,o):(h=LO(t.rotation,a,v||0,u),d=t.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(h.rotation)),!isFinite(d)&&(d=null)));var y=s.getFont(),g=e.get("nameTruncate",!0)||{},p=g.ellipsis,m=Io(t.nameTruncateMaxWidth,g.maxWidth,d),_=new he({x:c[0],y:c[1],rotation:h.rotation,silent:ii.isLabelSilent(e),style:Sn(s,{text:i,font:y,overflow:"truncate",width:m,ellipsis:p,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(Iv({el:_,componentModel:e,itemName:i}),_.__fullText=i,_.anid="name",e.get("triggerEvent")){var w=ii.makeAxisEventDataBase(e);w.targetType="axisName",w.name=i,Bt(_).eventData=w}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function LO(t,e,r,n){var i=B_(r-t),a,o,s=n[0]>n[1],l=e==="start"&&!s||e!=="start"&&s;return Dl(i-sn/2)?(o=l?"bottom":"top",a="center"):Dl(i-sn*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",isn/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function RO(t,e,r){if(!CS(t.axis)){var n=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);e=e||[],r=r||[];var a=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=r[0],f=r[1],c=r[r.length-1],h=r[r.length-2];n===!1?(Oe(a),Oe(u)):rm(a,o)&&(n?(Oe(o),Oe(f)):(Oe(a),Oe(u))),i===!1?(Oe(s),Oe(c)):rm(l,s)&&(i?(Oe(l),Oe(h)):(Oe(s),Oe(c)))}}function Oe(t){t&&(t.ignore=!0)}function rm(t,e){var r=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(!(!r||!n)){var i=lv([]);return uv(i,i,-t.rotation),r.applyTransform(ji([],i,t.getLocalTransform())),n.applyTransform(ji([],i,e.getLocalTransform())),r.intersect(n)}}function nm(t){return t==="middle"||t==="center"}function LS(t,e,r,n,i){for(var a=[],o=[],s=[],l=0;l=0||t===e}function $O(t){var e=nd(t);if(!!e){var r=e.axisPointerModel,n=e.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=dh(r);a==null&&(i.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),os)return!0;if(o){var l=nd(e).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},t.prototype.makeElOption=function(e,r,n,i,a){},t.prototype.createPointerEl=function(e,r,n,i){var a=r.pointer;if(a){var o=jn(e).pointerEl=new gI[a.type](om(r.pointer));e.add(o)}},t.prototype.createLabelEl=function(e,r,n,i){if(r.label){var a=jn(e).labelEl=new he(om(r.label));e.add(a),lm(a,i)}},t.prototype.updatePointerEl=function(e,r,n){var i=jn(e).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},t.prototype.updateLabelEl=function(e,r,n,i){var a=jn(e).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),lm(a,i))},t.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),o=r.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=Pv(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){v_(u.event)},onmousedown:Gf(this._onHandleDragMove,this,0,0),drift:Gf(this._onHandleDragMove,this),ondragend:Gf(this._onHandleDragEnd,this)}),n.add(i)),um(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");et(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,Iw(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},t.prototype._moveHandleToValue=function(e,r){sm(this._axisPointerModel,!r&&this._moveAnimation,this._handle,Wf(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(e,r){var n=this._handle;if(!!n){this._dragging=!0;var i=this.updateHandleTransform(Wf(n),[e,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(Wf(i)),jn(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(!!e){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(!!e){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var r=e.getZr(),n=this._group,i=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),i&&r.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),eh(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(e,r,n){return n=n||0,{x:e[n],y:e[1-n],width:r[n],height:r[1-n]}},t}();function sm(t,e,r,n){NS(jn(r).lastProp,n)||(jn(r).lastProp=n,e?wn(r,n,t):(r.stopAnimation(),r.attr(n)))}function NS(t,e){if(st(t)&&st(e)){var r=!0;return P(e,function(n,i){r=r&&NS(t[i],n)}),!!r}else return t===e}function lm(t,e){t[e.get(["label","show"])?"show":"hide"]()}function Wf(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function um(t,e,r){var n=e.get("z"),i=e.get("zlevel");t&&t.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}var tk=JO;function ek(t){var e=t.get("type"),r=t.getModel(e+"Style"),n;return e==="line"?(n=r.getLineStyle(),n.fill=null):e==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function rk(t,e,r,n,i){var a=r.get("value"),o=FS(a,e.axis,e.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=yu(s.get("padding")||0),u=s.getFont(),f=hv(o,u),c=i.position,h=f.width+l[1]+l[3],v=f.height+l[0]+l[2],d=i.align;d==="right"&&(c[0]-=h),d==="center"&&(c[0]-=h/2);var y=i.verticalAlign;y==="bottom"&&(c[1]-=v),y==="middle"&&(c[1]-=v/2),nk(c,h,v,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Sn(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function nk(t,e,r,n){var i=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+r,a)-r,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function FS(t,e,r,n,i){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:i.precision}),o=i.formatter;if(o){var s={value:td(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};P(n,function(l){var u=r.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,c=u&&u.getDataParams(f);c&&s.seriesData.push(c)}),nt(o)?a=o.replace("{value}",a):dt(o)&&(a=o(s))}return a}function zS(t,e,r){var n=Eo();return uv(n,n,r.rotation),Bc(n,n,r.position),Av([t.dataToCoord(e),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function ik(t,e,r,n,i,a){var o=RS.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),rk(e,n,i,a,{position:zS(n.axis,t,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function ak(t,e,r){return r=r||0,{x1:t[r],y1:t[1-r],x2:e[r],y2:e[1-r]}}function ok(t,e,r){return r=r||0,{x:t[r],y:t[1-r],width:e[r],height:e[1-r]}}var sk=function(t){J(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,l=s.grid,u=a.get("type"),f=fm(l,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var h=ek(a),v=lk[u](s,c,f);v.style=h,r.graphicKey=v.type,r.pointer=v}var d=vh(l.model,i);ik(n,r,d,i,a,o)},e.prototype.getHandleTransform=function(r,n,i){var a=vh(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=zS(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=fm(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,c=[r.x,r.y];c[f]+=n[f],c[f]=Math.min(l[1],c[f]),c[f]=Math.max(l[0],c[f]);var h=(u[1]+u[0])/2,v=[h,h];v[f]=c[f];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:c[0],y:c[1],rotation:r.rotation,cursorPoint:v,tooltipOption:d[f]}},e}(tk);function fm(t,e){var r={};return r[e.dim+"AxisIndex"]=e.index,t.getCartesian(r)}var lk={line:function(t,e,r){var n=ak([e,r[0]],[e,r[1]],cm(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,r){var n=Math.max(1,t.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:ok([e-n/2,r[0]],[n,i],cm(t))}}};function cm(t){return t.dim==="x"?0:1}var uk=sk,fk=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(zt),ck=fk,Pr=Kt(),hk=P;function HS(t,e,r){if(!mt.node){var n=e.getZr();Pr(n).records||(Pr(n).records={}),vk(n,e);var i=Pr(n).records[t]||(Pr(n).records[t]={});i.handler=r}}function vk(t,e){if(Pr(t).initialized)return;Pr(t).initialized=!0,r("click",jt(hm,"click")),r("mousemove",jt(hm,"mousemove")),r("globalout",pk);function r(n,i){t.on(n,function(a){var o=gk(e);hk(Pr(t).records,function(s){s&&i(s,a,o.dispatchAction)}),dk(o.pendings,e)})}}function dk(t,e){var r=t.showTip.length,n=t.hideTip.length,i;r?i=t.showTip[r-1]:n&&(i=t.hideTip[n-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function pk(t,e,r){t.handler("leave",null,r)}function hm(t,e,r,n){e.handler(t,r,n)}function gk(t){var e={showTip:[],hideTip:[]},r=function(n){var i=e[n.type];i?i.push(n):(n.dispatchAction=r,t.dispatchAction(n))};return{dispatchAction:r,pendings:e}}function gh(t,e){if(!mt.node){var r=e.getZr(),n=(Pr(r).records||{})[t];n&&(Pr(r).records[t]=null)}}var yk=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";HS("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},e.prototype.remove=function(r,n){gh("axisPointer",n)},e.prototype.dispose=function(r,n){gh("axisPointer",n)},e.type="axisPointer",e}(Br),mk=yk;function VS(t,e){var r=[],n=t.seriesIndex,i;if(n==null||!(i=e.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=ui(a,t);if(o==null||o<0||et(o))return{point:[]};var s=a.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),c=f.dim,h=u.dim,v=c==="x"||c==="radius"?1:0,d=a.mapDimension(h),y=[];y[v]=a.get(d,o),y[1-v]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=l.dataToPoint(y)||[]}else r=l.dataToPoint(a.getValues(ct(l.dimensions,function(p){return a.mapDimension(p)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var vm=Kt();function _k(t,e,r){var n=t.currTrigger,i=[t.x,t.y],a=t,o=t.dispatchAction||Ht(r.dispatchAction,r),s=e.getComponent("axisPointer").coordSysAxesInfo;if(!!s){fl(i)&&(i=VS({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=fl(i),u=a.axesInfo,f=s.axesInfo,c=n==="leave"||fl(i),h={},v={},d={list:[],map:{}},y={showPointer:jt(Sk,v),showTooltip:jt(bk,d)};P(s.coordSysMap,function(p,m){var _=l||p.containPoint(i);P(s.coordSysAxesInfo[m],function(w,b){var S=w.axis,x=Mk(u,w);if(!c&&_&&(!u||x)){var T=x&&x.value;T==null&&!l&&(T=S.pointToData(i)),T!=null&&dm(w,T,y,!1,h)}})});var g={};return P(f,function(p,m){var _=p.linkGroup;_&&!v[m]&&P(_.axesInfo,function(w,b){var S=v[b];if(w!==p&&S){var x=S.value;_.mapper&&(x=p.axis.scale.parse(_.mapper(x,pm(w),pm(p)))),g[p.key]=x}})}),P(g,function(p,m){dm(f[m],p,y,!0,h)}),xk(v,f,h),Ck(d,i,t,o),Tk(f,o,r),h}}function dm(t,e,r,n,i){var a=t.axis;if(!(a.scale.isBlank()||!a.containData(e))){if(!t.involveSeries){r.showPointer(t,e);return}var o=wk(e,t),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&q(i,s[0]),!n&&t.snap&&a.containData(l)&&l!=null&&(e=l),r.showPointer(t,e,s),r.showTooltip(t,o,l)}}function wk(t,e){var r=e.axis,n=r.dim,i=t,a=[],o=Number.MAX_VALUE,s=-1;return P(e.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(n),c,h;if(l.getAxisTooltipData){var v=l.getAxisTooltipData(f,t,r);h=v.dataIndices,c=v.nestestValue}else{if(h=l.getData().indicesOfNearest(f[0],t,r.type==="category"?.5:null),!h.length)return;c=l.getData().get(f[0],h[0])}if(!(c==null||!isFinite(c))){var d=t-c,y=Math.abs(d);y<=o&&((y=0&&s<0)&&(o=y,s=d,i=c,a.length=0),P(h,function(g){a.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:a,snapToValue:i}}function Sk(t,e,r,n){t[e.key]={value:r,payloadBatch:n}}function bk(t,e,r,n){var i=r.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(!(!e.triggerTooltip||!i.length)){var l=e.coordSys.model,u=Yo(l),f=t.map[u];f||(f=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(f)),f.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function xk(t,e,r){var n=r.axesInfo=[];P(e,function(i,a){var o=i.axisPointerModel.option,s=t[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function Ck(t,e,r,n){if(fl(e)||!t.list.length){n({type:"hideTip"});return}var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}function Tk(t,e,r){var n=r.getZr(),i="axisPointerLastHighlights",a=vm(n)[i]||{},o=vm(n)[i]={};P(t,function(u,f){var c=u.axisPointerModel.option;c.status==="show"&&P(c.seriesDataIndices,function(h){var v=h.seriesIndex+" | "+h.dataIndex;o[v]=h})});var s=[],l=[];P(a,function(u,f){!o[f]&&l.push(u)}),P(o,function(u,f){!a[f]&&s.push(u)}),l.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Mk(t,e){for(var r=0;r<(t||[]).length;r++){var n=t[r];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function pm(t){var e=t.axis.model,r={},n=r.axisDim=t.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=e.componentIndex,r.axisName=r[n+"AxisName"]=e.name,r.axisId=r[n+"AxisId"]=e.id,r}function fl(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function $S(t){OS.registerAxisPointerClass("CartesianAxisPointer",uk),t.registerComponentModel(ck),t.registerComponentView(mk),t.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var r=e.axisPointer.link;r&&!et(r)&&(e.axisPointer.link=[r])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(e,r){e.getComponent("axisPointer").coordSysAxesInfo=NO(e,r)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},_k)}function SN(t){vi(QO),vi($S)}function Dk(t,e){var r=yu(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new Qt({shape:{x:t.x-r[3],y:t.y-r[0],width:t.width+r[1]+r[3],height:t.height+r[0]+r[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1}),t}var Ak=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(zt),Pk=Ak;function GS(t){var e=t.get("confine");return e!=null?!!e:t.get("renderMode")==="richText"}function WS(t){if(!!mt.domSupported){for(var e=document.documentElement.style,r=0,n=t.length;r-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=a==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=a==="top"?225:45)+"deg)");var f=u*Math.PI/180,c=o+i,h=c*Math.abs(Math.cos(f))+c*Math.abs(Math.sin(f)),v=Math.round(((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-c)/2)*100)/100;s+=";"+a+":-"+v+"px";var d=e+" solid "+i+"px;",y=["position:absolute;width:"+o+"px;height:"+o+"px;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
'}function Bk(t,e){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+t/2+"s "+r,i="opacity"+n+",visibility"+n;return e||(n=" "+t+"s "+r,i+=mt.transformSupported?","+id+n:",left"+n+",top"+n),Lk+":"+i}function gm(t,e,r){var n=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!mt.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=mt.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+id+":"+o+";":[["top",0],["left",0],[US,o]]}function Nk(t){var e=[],r=t.get("fontSize"),n=t.getTextColor();n&&e.push("color:"+n),e.push("font:"+t.getFont()),r&&e.push("line-height:"+Math.round(r*3/2)+"px");var i=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),P(["decoration","align"],function(l){var u=t.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function Fk(t,e,r){var n=[],i=t.get("transitionDuration"),a=t.get("backgroundColor"),o=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),f=t.getModel("textStyle"),c=Mw(t,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),e&&i&&n.push(Bk(i,r)),a&&n.push("background-color:"+a),P(["width","color","radius"],function(v){var d="border-"+v,y=J1(d),g=t.get(y);g!=null&&n.push(d+":"+g+(v==="color"?"":"px"))}),n.push(Nk(f)),c!=null&&n.push("padding:"+yu(c).join("px ")+"px"),n.join(";")+";"}function ym(t,e,r,n,i){var a=e&&e.painter;if(r){var o=a&&a.getViewportRoot();o&&pM(t,o,document.body,n,i)}else{t[0]=n,t[1]=i;var s=a&&a.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var zk=function(){function t(e,r,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,mt.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var a=this._zr=r.getZr(),o=this._appendToBody=n&&n.appendToBody;ym(this._styleCoord,a,o,r.getWidth()/2,r.getHeight()/2),o?document.body.appendChild(i):e.appendChild(i),this._container=e;var s=this;i.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},i.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=a.handler,f=a.painter.getViewportRoot();Be(f,l,!0),u.dispatch("mousemove",l)}},i.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(e){var r=this._container,n=Ek(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative");var a=e.get("alwaysShowContent");a&&this._moveIfResized(),this.el.className=e.get("className")||""},t.prototype.show=function(e,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=Rk+Fk(e,!this._firstShow,this._longHide)+gm(a[0],a[1],!0)+("border-color:"+hi(r)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(e,r,n,i,a){var o=this.el;if(e==null){o.innerHTML="";return}var s="";if(nt(a)&&n.get("trigger")==="item"&&!GS(n)&&(s=kk(n,i,a)),nt(e))o.innerHTML=e+s;else if(e){o.innerHTML="",et(e)||(e=[e]);for(var l=0;l=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},e.prototype._keepShow=function(){var r=this._tooltipModel,n=this._ecModel,i=this._api;if(this._lastX!=null&&this._lastY!=null&&r.get("triggerOn")!=="none"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&a.manuallyShowTip(r,n,i,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||mt.node||!i.getDom())){var o=wm(a,i);this._ticket="";var s=a.dataByCoordSys,l=qk(a,n,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var f=Gk;f.x=a.x,f.y=a.y,f.update(),Bt(f).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:f},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(r,n,i,a))return;var c=VS(a,n),h=c.point[0],v=c.point[1];h!=null&&v!=null&&this._tryShow({offsetX:h,offsetY:v,target:c.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},e.prototype.manuallyHideTip=function(r,n,i,a){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(wm(a,i))},e.prototype._manuallyAxisShowTip=function(r,n,i,a){var o=a.seriesIndex,s=a.dataIndex,l=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=n.getSeriesByIndex(o);if(!!u){var f=u.getData(),c=Ga([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(c.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},e.prototype._tryShow=function(r,n){var i=r.target,a=this._tooltipModel;if(!!a){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(i){this._lastDataByCoordSys=null;var s,l;Ja(i,function(u){if(Bt(u).dataIndex!=null)return s=u,!0;if(Bt(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(r,s,n):l?this._showComponentItemTooltip(r,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},e.prototype._showOrMove=function(r,n){var i=r.get("showDelay");n=Ht(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},e.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Ga([n.tooltipOption],a),l=this._renderMode,u=[],f=Ho("section",{blocks:[],noHeader:!0}),c=[],h=new Df;P(r,function(m){P(m.dataByAxis,function(_){var w=i.getComponent(_.axisDim+"Axis",_.axisIndex),b=_.value;if(!(!w||b==null)){var S=FS(b,w.axis,i,_.seriesDataIndices,_.valueLabelOpt),x=Ho("section",{header:S,noHeader:!vr(S),sortBlocks:!0,blocks:[]});f.blocks.push(x),P(_.seriesDataIndices,function(T){var M=i.getSeriesByIndex(T.seriesIndex),D=T.dataIndexInside,I=M.getDataParams(D);if(!(I.dataIndex<0)){I.axisDim=_.axisDim,I.axisIndex=_.axisIndex,I.axisType=_.axisType,I.axisId=_.axisId,I.axisValue=td(w.axis,{value:b}),I.axisValueLabel=S,I.marker=h.makeTooltipMarker("item",hi(I.color),l);var A=Qg(M.formatTooltip(D,!0,null)),L=A.frag;if(L){var O=Ga([M],a).get("valueFormatter");x.blocks.push(O?q({valueFormatter:O},L):L)}A.text&&c.push(A.text),u.push(I)}})}})}),f.blocks.reverse(),c.reverse();var v=n.position,d=s.get("order"),y=ny(f,h,l,d,i.get("useUTC"),s.get("textStyle"));y&&c.unshift(y);var g=l==="richText"?` +`];function jo(e,t){return t.type=e,t}function Ch(e){return e.type==="section"}function Eb(e){return Ch(e)?B2:N2}function Lb(e){if(Ch(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return P(e.blocks,function(i){var a=Lb(i);a>=t&&(t=a+ +(n&&(!a||Ch(i)&&!i.noHeader)))}),t}return 0}function B2(e,t,r,n){var i=t.noHeader,a=F2(Lb(t)),o=[],s=t.blocks||[];Fr(!s||et(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(ga(u,l)){var f=new w2(u[l],null);s.sort(function(d,m){return f.evaluate(d.sortParam,m.sortParam)})}else l==="seriesDesc"&&s.reverse()}P(s,function(d,m){var g=t.valueFormatter,p=Eb(d)(g?X(X({},e),{valueFormatter:g}):e,d,m>0?a.html:0,n);p!=null&&o.push(p)});var c=e.renderMode==="richText"?o.join(a.richText):Dh(o.join(""),i?r:a.html);if(i)return c;var v=Sh(t.header,"ordinal",e.useUTC),h=Ib(n,e.renderMode).nameStyle;return e.renderMode==="richText"?Rb(e,v,h)+a.richText+c:Dh('
'+qe(v)+"
"+c,r)}function N2(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(w){return w=et(w)?w:[w],ct(w,function(S,b){return Sh(S,et(h)?h[b]:h,u)})};if(!(a&&o)){var c=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),v=a?"":Sh(l,"ordinal",u),h=t.valueType,d=o?[]:f(t.value),m=!s||!a,g=!s&&a,p=Ib(n,i),y=p.nameStyle,_=p.valueStyle;return i==="richText"?(s?"":c)+(a?"":Rb(e,v,y))+(o?"":$2(e,d,m,g,_)):Dh((s?"":c)+(a?"":z2(v,!s,y))+(o?"":H2(d,m,g,_)),r)}}function Qm(e,t,r,n,i,a){if(!!e){var o=Eb(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function F2(e){return{html:O2[e],richText:k2[e]}}function Dh(e,t){var r='
',n="margin: "+t+"px 0 0";return'
'+e+r+"
"}function z2(e,t,r){var n=t?"margin-left:2px":"";return''+qe(e)+""}function H2(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=et(e)?e:[e],''+ct(e,function(o){return qe(o)}).join("  ")+""}function Rb(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function $2(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(et(t)?t.join(" "):t,a)}function V2(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return gi(n)}function Ob(e,t){var r=e.get("padding");return r!=null?r:t==="richText"?[8,10]:10}var Zf=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Y1()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=AR({color:r,type:t,renderMode:n,markerId:i});return nt(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};et(r)?P(r,function(a){return X(n,a)}):X(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function G2(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),l=et(s),u=V2(t,r),f,c,v,h;if(o>1||l&&!o){var d=U2(s,t,r,a,u);f=d.inlineValues,c=d.inlineValueTypes,v=d.blocks,h=d.inlineValues[0]}else if(o){var m=i.getDimensionInfo(a[0]);h=f=ya(i,r,a[0]),c=m.type}else h=f=l?s[0]:s;var g=Kv(t),p=g&&t.name||"",y=i.getName(r),_=n?p:y;return jo("section",{header:p,noHeader:n||!g,sortParam:h,blocks:[jo("nameValue",{markerType:"item",markerColor:u,name:_,noName:!mr(_),value:f,valueType:c})].concat(v||[])})}function U2(e,t,r,n,i){var a=t.getData(),o=Ca(e,function(c,v,h){var d=a.getDimensionInfo(h);return c=c||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],l=[],u=[];n.length?P(n,function(c){f(ya(a,r,c),c)}):P(e,f);function f(c,v){var h=a.getDimensionInfo(v);!h||h.otherDims.tooltip===!1||(o?u.push(jo("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:c,valueType:h.type})):(s.push(c),l.push(h.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Qr=jt();function Us(e,t){return e.getName(t)||e.getId(t)}var W2="__universalTransitionEnabled",$u=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=Co({count:q2,reset:X2}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=Qr(this).sourceManager=new R2(this);a.prepareSource();var o=this.getInitialData(r,i);ty(o,this),this.dataTask.context.data=o,Qr(this).dataBeforeProcessed=o,Jm(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=qo(this),a=i?Fu(r):{},o=this.subType;zt.hasClass(o)&&(o+="Series"),Ct(r,n.getTheme().get(this.subType)),Ct(r,this.getDefaultOption()),Rg(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&ma(r,a,i)},t.prototype.mergeOption=function(r,n){r=Ct(this.option,r,!0),this.fillDataTextStyle(r.data);var i=qo(this);i&&ma(this.option,r,i);var a=Qr(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);ty(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Qr(this).dataBeforeProcessed=o,Jm(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!Re(r))for(var n=["show"],i=0;ithis.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=wd.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(!!i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[Us(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[W2])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){st(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(r,n)}},t.registerClass=function(r){return zt.registerClass(r)},t.protoInitialize=function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),t}(zt);xr($u,y2);xr($u,wd);Q1($u,zt);function Jm(e){var t=e.name;Kv(e)||(e.name=Y2(e)||t)}function Y2(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return P(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function q2(e){return e.model.getRawData().count()}function X2(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),j2}function j2(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function ty(e,t){P($A(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,Zt(K2,t))})}function K2(e,t){var r=Mh(e);return r&&r.setOutputEnd((t||this).count()),t}function Mh(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}var Ko=$u,Dd=function(){function e(){this.group=new ve,this.uid=Eu("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){},e.prototype.updateLayout=function(t,r,n,i){},e.prototype.updateVisual=function(t,r,n,i){},e.prototype.blurSeries=function(t,r){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e}();Qv(Dd);Tu(Dd);var Hr=Dd;function kb(){var e=jt();return function(t){var r=e(t),n=t.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var Bb=jt(),Z2=kb(),Md=function(){function e(){this.group=new ve,this.uid=Eu("viewChart"),this.renderTask=Co({plan:Q2,reset:J2}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.highlight=function(t,r,n,i){var a=t.getData(i&&i.dataType);!a||ry(a,i,"emphasis")},e.prototype.downplay=function(t,r,n,i){var a=t.getData(i&&i.dataType);!a||ry(a,i,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateLayout=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateVisual=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.eachRendered=function(t){cd(this.group,t)},e.markUpdateMethod=function(t,r){Bb(t).updateMethod=r},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function ey(e,t,r){e&&yh(e)&&(t==="emphasis"?ql:Xl)(e,r)}function ry(e,t,r){var n=vi(e,t),i=t&&t.highlightKey!=null?tL(t.highlightKey):null;n!=null?P(he(n),function(a){ey(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){ey(a,r,i)})}Qv(Md);Tu(Md);function Q2(e){return Z2(e.model)}function J2(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&Bb(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,r,n,i),tO[l]}var tO={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},wn=Md,tu="\0__throttleOriginMethod",ny="\0__throttleRate",iy="\0__throttleType";function Nb(e,t,r){var n,i=0,a=0,o=null,s,l,u,f;t=t||0;function c(){a=new Date().getTime(),o=null,e.apply(l,u||[])}var v=function(){for(var h=[],d=0;d=0?c():o=setTimeout(c,-s),i=n};return v.clear=function(){o&&(clearTimeout(o),o=null)},v.debounceNextCall=function(h){f=h},v}function Fb(e,t,r,n){var i=e[t];if(!!i){var a=i[tu]||i,o=i[iy],s=i[ny];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=Nb(a,r,n==="debounce"),i[tu]=a,i[iy]=n,i[ny]=r}return i}}function Ah(e,t){var r=e[t];r&&r[tu]&&(r.clear&&r.clear(),e[t]=r[tu])}var ay=jt(),oy={itemStyle:Go(jw,!0),lineStyle:Go(Xw,!0)},eO={lineStyle:"stroke",itemStyle:"fill"};function zb(e,t){var r=e.visualStyleMapper||oy[t];return r||(console.warn("Unkown style type '"+t+"'."),oy.itemStyle)}function Hb(e,t){var r=e.visualDrawType||eO[t];return r||(console.warn("Unkown style type '"+t+"'."),"fill")}var rO={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=zb(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var l=Hb(e,n),u=o[l],f=dt(u)?u:null,c=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||c){var v=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[l]||(o[l]=v,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||dt(o.fill)?v:o.fill,o.stroke=o.stroke==="auto"||dt(o.stroke)?v:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",l),!t.isSeriesFiltered(e)&&f)return r.setVisual("colorFromPalette",!1),{dataEach:function(h,d){var m=e.getDataParams(d),g=X({},o);g[l]=f(m),h.setItemVisual(d,"style",g)}}}},Wa=new se,nO={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=zb(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Wa.option=l[n];var u=i(Wa),f=o.ensureUniqueItemVisual(s,"style");X(f,u),Wa.option.decal&&(o.setItemVisual(s,"decal",Wa.option.decal),Wa.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},iO={performRawSeries:!0,overallReset:function(e){var t=gt();e.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),ay(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=ay(r).scope,s=r.visualStyleAccessPath||"itemStyle",l=Hb(r,s);a.each(function(u){var f=a.getRawIndex(u);i[f]=u}),n.each(function(u){var f=i[u],c=a.getItemVisual(f,"colorFromPalette");if(c){var v=a.ensureUniqueItemVisual(f,"style"),h=n.getName(u)||u+"",d=n.count();v[l]=r.getColorFromPalette(h,o,d)}})}})}},Ws=Math.PI;function aO(e,t){t=t||{},Mt(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new ve,n=new Jt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new de({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Jt({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new ad({shape:{startAngle:-Ws/2,endAngle:-Ws/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Ws*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Ws*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),f=e.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:f}),a.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var oO=function(){function e(t,r,n,i){this._stageTaskMap=gt(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,r){if(!!t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var r=this,n=r._pipelineMap=gt();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;P(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";Fr(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},e.prototype.prepareView=function(t,r,n,i){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,i){i=i||{};var a=!1,o=this;P(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),c=f.seriesTaskMap,v=f.overallTask;if(v){var h,d=v.agentStubMap;d.each(function(g){s(i,g)&&(g.dirty(),h=!0)}),h&&v.dirty(),o.updatePayload(v,n);var m=o.getPerformArgs(v,i.block);d.each(function(g){g.perform(m)}),v.perform(m)&&(a=!0)}else c&&c.each(function(g,p){s(i,g)&&g.dirty();var y=o.getPerformArgs(g,i.block);y.skip=!l.performRawSeries&&r.isSeriesFiltered(g.context.model),o.updatePayload(g,n),g.perform(y)&&(a=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=gt(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(f):l?n.eachRawSeriesByType(l,f):u&&u(n,i).each(f);function f(c){var v=c.uid,h=s.set(v,o&&o.get(v)||Co({plan:cO,reset:hO,count:dO}));h.context={model:c,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(c,h)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||Co({reset:sO});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=gt(),u=t.seriesType,f=t.getTargetSeries,c=!0,v=!1,h="";Fr(!t.createOnAllSeries,h),u?n.eachRawSeriesByType(u,d):f?f(n,i).each(d):(c=!1,P(n.getSeries(),d));function d(m){var g=m.uid,p=l.set(g,s&&s.get(g)||(v=!0,Co({reset:lO,onDirty:fO})));p.context={model:m,overallProgress:c},p.agent=o,p.__block=c,a._pipe(m,p)}v&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},e.wrapStageHandler=function(t,r){return dt(t)&&(t={overallReset:t,seriesType:pO(t)}),t.uid=Eu("stageHandler"),r&&(t.visualType=r),t},e}();function sO(e){e.overallReset(e.ecModel,e.api,e.payload)}function lO(e){return e.overallProgress&&uO}function uO(){this.agent.dirty(),this.getDownstream().dirty()}function fO(){this.agent&&this.agent.dirty()}function cO(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function hO(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=he(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?ct(t,function(r,n){return $b(n)}):vO}var vO=$b(0);function $b(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a0&&h===u.length-v.length){var d=u.slice(0,h);d!=="data"&&(r.mainType=d,r[v.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(n[u]=l,f=!0),f||(i[u]=l)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},e.prototype.filter=function(t,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=r.cptQuery,u=r.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,a,"name")&&f(u,a,"dataIndex")&&f(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,r.otherQuery,i,a));function f(c,v,h,d){return c[h]==null||v[d||h]===c[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),Ph=["symbol","symbolSize","symbolRotate","symbolOffset"],fy=Ph.concat(["symbolKeepAspect"]),_O={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Vt(e)?[e]:et(e)?e:null}function qb(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&HO(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=ct(r,function(a){return a/i}),n/=i)}return[r,n]}var $O=new di(!0);function ru(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function cy(e){return typeof e=="string"&&e!=="none"}function nu(e){var t=e.fill;return t!=null&&t!=="none"}function hy(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function vy(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function Lh(e,t,r){var n=J1(t.image,t.__image,r);if(Cu(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*VA),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function VO(e,t,r,n){var i,a=ru(r),o=nu(r),s=r.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var f=t.path||$O,c=t.__dirty;if(!n){var v=r.fill,h=r.stroke,d=o&&!!v.colorStops,m=a&&!!h.colorStops,g=o&&!!v.image,p=a&&!!h.image,y=void 0,_=void 0,w=void 0,S=void 0,b=void 0;(d||m)&&(b=t.getBoundingRect()),d&&(y=c?Eh(e,v,b):t.__canvasFillGradient,t.__canvasFillGradient=y),m&&(_=c?Eh(e,h,b):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(w=c||!t.__canvasFillPattern?Lh(e,v,t):t.__canvasFillPattern,t.__canvasFillPattern=w),p&&(S=c||!t.__canvasStrokePattern?Lh(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=w),d?e.fillStyle=y:g&&(w?e.fillStyle=w:o=!1),m?e.strokeStyle=_:p&&(S?e.strokeStyle=S:a=!1)}var x=t.getGlobalScale();f.setScale(x[0],x[1],t.segmentIgnoreThreshold);var C,D;e.setLineDash&&r.lineDash&&(i=qb(t),C=i[0],D=i[1]);var M=!0;(u||c&qi)&&(f.setDPR(e.dpr),l?f.setContext(null):(f.setContext(e),M=!1),f.reset(),t.buildPath(f,t.shape,n),f.toStatic(),t.pathUpdated()),M&&f.rebuildPath(e,l?s:1),C&&(e.setLineDash(C),e.lineDashOffset=D),n||(r.strokeFirst?(a&&vy(e,r),o&&hy(e,r)):(o&&hy(e,r),a&&vy(e,r))),C&&e.setLineDash([])}function GO(e,t,r){var n=t.__image=J1(r.image,t.__image,t,t.onload);if(!(!n||!Cu(n))){var i=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),l=n.width/n.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var u=r.sx||0,f=r.sy||0;e.drawImage(n,u,f,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var u=r.sx,f=r.sy,c=o-u,v=s-f;e.drawImage(n,u,f,c,v,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function UO(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||ci,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=qb(t),a=n[0],o=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(ru(r)&&e.strokeText(i,r.x,r.y),nu(r)&&e.fillText(i,r.x,r.y)):(nu(r)&&e.fillText(i,r.x,r.y),ru(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var dy=["shadowBlur","shadowOffsetX","shadowOffsetY"],py=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Xb(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){we(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?oi.opacity:o}(n||t.blend!==r.blend)&&(a||(we(e,i),a=!0),e.globalCompositeOperation=t.blend||oi.blend);for(var s=0;s0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,n,i){if(!this[ne]){if(this._disposed){this.id;return}var a,o,s;if(st(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[ne]=!0,!this._model||n){var l=new e2(this._api),u=this._theme,f=this._model=new gb;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(r,{replaceMerge:o},Oh);var c={seriesTransition:s,optionChanged:!0};if(i)this[ge]={silent:a,updateParams:c},this[ne]=!1,this.getZr().wakeUp();else{try{$i(this),Jr.update.call(this,null,c)}catch(v){throw this[ge]=null,this[ne]=!1,v}this._ssr||this._zr.flush(),this[ge]=null,this[ne]=!1,Ya.call(this,a),qa.call(this,a)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||rk&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;return n.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(!!yt.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return P(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;P(n,function(l){i.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return P(a,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(Ey[i]){var l=s,u=s,f=-s,c=-s,v=[],h=r&&r.pixelRatio||this.getDevicePixelRatio();P(Mo,function(_,w){if(_.group===i){var S=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(bt(r)),b=_.getDom().getBoundingClientRect();l=a(b.left,l),u=a(b.top,u),f=o(b.right,f),c=o(b.bottom,c),v.push({dom:S,left:b.left,top:b.top})}}),l*=h,u*=h,f*=h,c*=h;var d=f-l,m=c-u,g=wi.createCanvas(),p=Ag(g,{renderer:n?"svg":"canvas"});if(p.resize({width:d,height:m}),n){var y="";return P(v,function(_){var w=_.left-l,S=_.top-u;y+=''+_.dom+""}),p.painter.getSvgRoot().innerHTML=y,r.connectedBackgroundColor&&p.painter.setBackgroundColor(r.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}else return r.connectedBackgroundColor&&p.add(new Jt({shape:{x:0,y:0,width:d,height:m},style:{fill:r.connectedBackgroundColor}})),P(v,function(_){var w=new bi({style:{x:_.left*h-l,y:_.top*h-u,image:_.dom}});p.add(w)}),p.refreshImmediately(),g.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,n){return rc(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return rc(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var i=this._model,a,o=Cf(i,r);return P(o,function(s,l){l.indexOf("Models")>=0&&P(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(n);else if(l==="seriesModels"){var c=this._chartsMap[u.__viewId];c&&c.containPoint&&(a=a||c.containPoint(n,u))}},this)},this),!!a},t.prototype.getVisual=function(r,n){var i=this._model,a=Cf(i,r,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),l=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return l!=null?bO(s,l,n):SO(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;P(mk,function(n){var i=function(a){var o=r.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&lo(s,function(d){var m=Bt(d);if(m&&m.dataIndex!=null){var g=m.dataModel||o.getSeriesByIndex(m.seriesIndex);return l=g&&g.getDataParams(m.dataIndex,m.dataType)||{},!0}else if(m.eventData)return l=X({},m.eventData),!0},!0),l){var f=l.componentType,c=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",c=l.seriesIndex);var v=f&&c!=null&&o.getComponent(f,c),h=v&&r[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];l.event=a,l.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:v,view:h},r.trigger(n,l)}};i.zrEventfulCallAtLast=!0,r._zr.on(n,i,r)}),P(Do,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),P(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),xO(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var r=this.getDom();r&&K1(this.getDom(),Id,"");var n=this,i=n._api,a=n._model;P(n._componentsViews,function(o){o.dispose(a,i)}),P(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete Mo[n.id]},t.prototype.resize=function(r){if(!this[ne]){if(this._disposed){this.id;return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[ge]&&(a==null&&(a=this[ge].silent),i=!0,this[ge]=null),this[ne]=!0;try{i&&$i(this),Jr.update.call(this,{type:"resize",animation:X({duration:0},r&&r.animation)})}catch(o){throw this[ne]=!1,o}this[ne]=!1,Ya.call(this,a),qa.call(this,a)}}},t.prototype.showLoading=function(r,n){if(this._disposed){this.id;return}if(st(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!kh[r]){var i=kh[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=X({},r);return n.type=Do[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(st(n)||(n={silent:!!n}),!!iu[r.type]&&!!this._model){if(this[ne]){this._pendingActions.push(r);return}var i=n.silent;ic.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&yt.browser.weChat&&this._throttledZrFlush(),Ya.call(this,i),qa.call(this,i)}},t.prototype.updateLabelLayout=function(){rr.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){$i=function(c){var v=c._scheduler;v.restorePipelines(c._model),v.prepareStageTasks(),ec(c,!0),ec(c,!1),v.plan()},ec=function(c,v){for(var h=c._model,d=c._scheduler,m=v?c._componentsViews:c._chartsViews,g=v?c._componentsMap:c._chartsMap,p=c._zr,y=c._api,_=0;_v.get("hoverLayerThreshold")&&!yt.node&&!yt.worker&&v.eachSeries(function(g){if(!g.preventUsingHoverLayer){var p=c._chartsMap[g.__viewId];p.__alive&&p.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(c,v){var h=c.get("blendMode")||null;v.eachRendered(function(d){d.isGroup||(d.style.blend=h)})}function s(c,v){if(!c.preventAutoZ){var h=c.get("z")||0,d=c.get("zlevel")||0;v.eachRendered(function(m){return l(m,h,d,-1/0),!0})}}function l(c,v,h,d){var m=c.getTextContent(),g=c.getTextGuideLine(),p=c.isGroup;if(p)for(var y=c.childrenRef(),_=0;_0?{duration:m,delay:h.get("delay"),easing:h.get("easing")}:null;v.eachRendered(function(p){if(p.states&&p.states.emphasis){if(So(p))return;if(p instanceof kt&&eL(p),p.__dirty){var y=p.prevStates;y&&p.useStates(y)}if(d){p.stateTransition=g;var _=p.getTextContent(),w=p.getTextGuideLine();_&&(_.stateTransition=g),w&&(w.stateTransition=g)}p.__dirty&&i(p)}})}Py=function(c){return new(function(v){J(h,v);function h(){return v!==null&&v.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return c._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(d){for(;d;){var m=d.__ecComponentInfo;if(m!=null)return c._model.getComponent(m.mainType,m.index);d=d.parent}},h.prototype.enterEmphasis=function(d,m){ql(d,m),Be(c)},h.prototype.leaveEmphasis=function(d,m){Xl(d,m),Be(c)},h.prototype.enterBlur=function(d){WE(d),Be(c)},h.prototype.leaveBlur=function(d){pw(d),Be(c)},h.prototype.enterSelect=function(d){gw(d),Be(c)},h.prototype.leaveSelect=function(d){mw(d),Be(c)},h.prototype.getModel=function(){return c.getModel()},h.prototype.getViewOfComponentModel=function(d){return c.getViewOfComponentModel(d)},h.prototype.getViewOfSeriesModel=function(d){return c.getViewOfSeriesModel(d)},h}(mb))(c)},uS=function(c){function v(h,d){for(var m=0;m=0)){Ly.push(r);var a=Ub.wrapStageHandler(r,i);a.__prio=t,a.__raw=r,e.push(a)}}function pS(e,t){kh[e]=t}function Tk(e,t,r){var n=ek("registerMap");n&&n(e,t,r)}var Ck=M2;xi(Ad,rO);xi(Vu,nO);xi(Vu,iO);xi(Ad,_O);xi(Vu,wO);xi(nS,QO);vS(_b);dS(ak,u2);pS("default",aO);Pa({type:si,event:si,update:si},be);Pa({type:wl,event:wl,update:wl},be);Pa({type:_o,event:_o,update:_o},be);Pa({type:bl,event:bl,update:bl},be);Pa({type:wo,event:wo,update:wo},be);hS("light",gO);hS("dark",mO);function Xa(e){return e==null?0:e.length||1}function Ry(e){return e}var Dk=function(){function e(t,r,n,i,a,o){this._old=t,this._new=r,this._oldKeyGetter=n||Ry,this._newKeyGetter=i||Ry,this.context=a,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,r=this._new,n={},i=new Array(t.length),a=new Array(r.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o1){var f=l.shift();l.length===1&&(n[s]=l[0]),this._update&&this._update(f,o)}else u===1?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(r,i,o,"_newKeyGetter");for(var s=0;s1&&v===1)this._updateManyToOne&&this._updateManyToOne(f,u),i[l]=null;else if(c===1&&v>1)this._updateOneToMany&&this._updateOneToMany(f,u),i[l]=null;else if(c===1&&v===1)this._update&&this._update(f,u),i[l]=null;else if(c>1&&v>1)this._updateManyToMany&&this._updateManyToMany(f,u),i[l]=null;else if(c>1)for(var h=0;h1)for(var s=0;s30}var ja=st,tn=ct,kk=typeof Int32Array=="undefined"?Array:Int32Array,Bk="e\0\0",Oy=-1,Nk=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Fk=["_approximateExtent"],ky,Zs,Ka,Za,sc,Qs,lc,zk=function(){function e(t,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,i=!1;mS(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},l=!1,u={},f=0;f=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,l=s===Ze;if(l&&!i.pure)for(var u=[],f=t;f0},e.prototype.ensureUniqueItemVisual=function(t,r){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[r];return a==null&&(a=this.getVisual(r),et(a)?a=a.slice():ja(a)&&(a=X({},a)),i[r]=a),a},e.prototype.setItemVisual=function(t,r,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,ja(r)?X(i,r):i[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){ja(t)?X(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,n){this._itemLayouts[t]=n?X(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var n=this.hostModel&&this.hostModel.seriesIndex;kE(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){P(this._graphicEls,function(n,i){n&&t&&t.call(r,n,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:tn(this.dimensions,this._getDimInfo,this),this.hostModel)),sc(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];!dt(n)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(zv(arguments)))})},e.internalField=function(){ky=function(t){var r=t._invertedIndicesMap;P(r,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=r[i]=new kk(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),i[r]=l}}}(),e}(),Hk=zk;function $k(e,t){Sd(e)||(e=xd(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=gt(),a=[],o=Gk(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&wS(o),l=n===e.dimensionsDefine,u=l?_S(e):yS(n),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(e,o));for(var c=gt(f),v=new Mb(o),h=0;h0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function Gk(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return P(t,function(a){var o;st(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function Uk(e,t,r){var n=t.data;if(r||n.hasOwnProperty(e)){for(var i=0;n.hasOwnProperty(e+i);)i++;e+=i}return t.set(e,!0),e}var Wk=function(){function e(t){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=t}return e}();function Yk(e){var t=e.get("coordinateSystem"),r=new Wk(t),n=qk[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var qk={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",ir).models[0],a=e.getReferringComponents("yAxis",ir).models[0];t.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),Vi(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),Vi(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",ir).models[0];t.coordSysDims=["single"],r.set("single",i),Vi(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.getReferringComponents("polar",ir).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Vi(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),Vi(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();P(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),f=o[l];r.set(f,u),Vi(u)&&(n.set(f,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function Vi(e){return e.get("type")==="category"}function Xk(e,t,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;jk(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,f,c,v;if(P(a,function(y,_){nt(y)&&(a[_]=y={name:y}),l&&!y.isExtraCoord&&(!n&&!u&&y.ordinalMeta&&(u=y),!f&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(f=y))}),f&&!n&&!u&&(n=!0),f){c="__\0ecstackresult_"+e.id,v="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=f.coordDim,d=f.type,m=0;P(a,function(y){y.coordDim===h&&m++});var g={name:c,coordDim:h,coordDimIndex:m,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},p={name:v,coordDim:v,coordDimIndex:m+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(v,d),p.storeDimIndex=s.ensureCalculationDimension(c,d)),o.appendCalculationDimension(g),o.appendCalculationDimension(p)):(a.push(g),a.push(p))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:v,stackResultDimension:c}}function jk(e){return!mS(e.schema)}function Jo(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Kk(e,t){return Jo(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Zk(e,t){var r=e.get("coordinateSystem"),n=bd.get(r),i;return t&&t.coordSysDims&&(i=ct(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var l=s.get("type");o.type=Ik(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function Qk(e,t,r){var n,i;return r&&P(e,function(a,o){var s=a.coordDim,l=r.categoryAxisMap.get(s);l&&(n==null&&(n=o),a.ordinalMeta=l.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(e[n].otherDims.itemName=0),n}function Jk(e,t,r){r=r||{};var n=t.getSourceManager(),i,a=!1;e?(a=!0,i=xd(e)):(i=n.getSource(),a=i.sourceFormat===Ze);var o=Yk(t),s=Zk(t,o),l=r.useEncodeDefaulter,u=dt(l)?l:l?Zt(kR,s,t):null,f={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},c=$k(i,f),v=Qk(c.dimensions,r.createInvertedIndices,o),h=a?null:n.getSharedDataStore(c),d=Xk(t,{schema:c,store:h}),m=new Hk(c,t);m.setCalculationInfo(d);var g=v!=null&&tB(i)?function(p,y,_,w){return w===v?_:this.defaultDimValueGetter(p,y,_,w)}:null;return m.hasItemOption=!1,m.initData(a?i:h,null,g),m}function tB(e){if(e.sourceFormat===Ze){var t=eB(e.data||[]);return!et(ls(t))}}function eB(e){for(var t=0;tr[1]&&(r[1]=t[1])},e.prototype.unionExtentFromData=function(t,r){this.unionExtent(t.getApproximateExtent(r))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(r)||(n[1]=r)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();Tu(bS);var Ur=bS,rB=0,nB=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++rB}return e.createByAxisModel=function(t){var r=t.option,n=r.data,i=n&&ct(n,iB);return new e({categories:i,needCollect:!i,deduplication:r.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var r,n=this._needCollect;if(!nt(t)&&!n)return t;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=t,r;var i=this._getOrCreateMap();return r=i.get(t),r==null&&(n?(r=this.categories.length,this.categories[r]=t,i.set(t,r)):r=NaN),r},e.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},e}();function iB(e){return st(e)&&e.value!=null?e.value:e+""}var Bh=nB;function Nh(e){return e.type==="interval"||e.type==="log"}function aB(e,t,r,n){var i={},a=e[1]-e[0],o=i.interval=W1(a/t,!0);r!=null&&on&&(o=i.interval=n);var s=i.intervalPrecision=SS(o),l=i.niceTickExtent=[Yt(Math.ceil(e[0]/o)*o,s),Yt(Math.floor(e[1]/o)*o,s)];return oB(l,e),i}function uc(e){var t=Math.pow(10,jv(e)),r=e/t;return r?r===2?r=3:r===3?r=5:r*=2:r=1,Yt(r*t)}function SS(e){return Rr(e)+2}function By(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function oB(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),By(e,0,t),By(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function Gu(e,t){return e>=t[0]&&e<=t[1]}function Uu(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function Wu(e,t){return e*(t[1]-t[0])+t[0]}var xS=function(e){J(t,e);function t(r){var n=e.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Bh({})),et(i)&&(i=new Bh({categories:ct(i,function(a){return st(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return t.prototype.parse=function(r){return nt(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),Gu(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),Uu(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(Wu(r,this._extent)),this.getRawOrdinalNumber(r)},t.prototype.getTicks=function(){for(var r=[],n=this._extent,i=n[0];i<=n[1];)r.push({value:i}),i++;return r},t.prototype.getMinorTicks=function(r){},t.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,n.length);o=0&&r=0&&r=r},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Ur);Ur.registerClass(xS);var TS=xS,Kn=Yt,CS=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return Gu(r,this._extent)},t.prototype.normalize=function(r){return Uu(r,this._extent)},t.prototype.scale=function(r){return Wu(r,this._extent)},t.prototype.setExtent=function(r,n){var i=this._extent;isNaN(r)||(i[0]=parseFloat(r)),isNaN(n)||(i[1]=parseFloat(n))},t.prototype.unionExtent=function(r){var n=this._extent;r[0]n[1]&&(n[1]=r[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=SS(r)},t.prototype.getTicks=function(r){var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var l=1e4;i[0]l)return[];var f=s.length?s[s.length-1].value:a[1];return i[1]>f&&(r?s.push({value:Kn(f+n,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(r){for(var n=this.getTicks(!0),i=[],a=this.getExtent(),o=1;oa[0]&&h0&&(a=a===null?s:Math.min(a,s))}r[n]=a}}return r}function cB(e){var t=fB(e),r=[];return P(e,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var l=a.dim+"_"+a.index,u=t[l],f=Math.abs(o[1]-o[0]),c=a.scale.getExtent(),v=Math.abs(c[1]-c[0]);s=u?f/v*u:f}else{var h=n.getData();s=Math.abs(o[1]-o[0])/h.count()}var d=ce(n.get("barWidth"),s),m=ce(n.get("barMaxWidth"),s),g=ce(n.get("barMinWidth")||(pB(n)?.5:1),s),p=n.get("barGap"),y=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:d,barMaxWidth:m,barMinWidth:g,barGap:p,barCategoryGap:y,axisKey:AS(a),stackId:MS(n)})}),hB(r)}function hB(e){var t={};P(e,function(n,i){var a=n.axisKey,o=n.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[a]=s;var u=n.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=n.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var c=n.barMaxWidth;c&&(l[u].maxWidth=c);var v=n.barMinWidth;v&&(l[u].minWidth=v);var h=n.barGap;h!=null&&(s.gap=h);var d=n.barCategoryGap;d!=null&&(s.categoryGap=d)});var r={};return P(t,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=$t(a).length;s=Math.max(35-l*4,15)+"%"}var u=ce(s,o),f=ce(n.gap,1),c=n.remainedWidth,v=n.autoWidthCount,h=(c-u)/(v+(v-1)*f);h=Math.max(h,0),P(a,function(p){var y=p.maxWidth,_=p.minWidth;if(p.width){var w=p.width;y&&(w=Math.min(w,y)),_&&(w=Math.max(w,_)),p.width=w,c-=w+f*w,v--}else{var w=h;y&&yw&&(w=_),w!==h&&(p.width=w,c-=w+f*w,v--)}}),h=(c-u)/(v+(v-1)*f),h=Math.max(h,0);var d=0,m;P(a,function(p,y){p.width||(p.width=h),m=p,d+=p.width*(1+f)}),m&&(d-=m.width*f);var g=-d/2;P(a,function(p,y){r[i][y]=r[i][y]||{bandWidth:o,offset:g,width:p.width},g+=p.width*(1+f)})}),r}function vB(e,t,r){if(e&&t){var n=e[AS(t)];return n!=null&&r!=null?n[MS(r)]:n}}function dB(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function pB(e){return e.pipelineContext&&e.pipelineContext.large}var gB=function(e,t,r,n){for(;r>>1;e[i][1]i&&(this._approxInterval=i);var s=Js.length,l=Math.min(gB(Js,this._approxInterval,0,s),s-1);this._interval=Js[l][1],this._minLevelUnit=Js[Math.max(l-1,0)][0]},t.prototype.parse=function(r){return Vt(r)?r:+zr(r)},t.prototype.contain=function(r){return Gu(this.parse(r),this._extent)},t.prototype.normalize=function(r){return Uu(this.parse(r),this._extent)},t.prototype.scale=function(r){return Wu(r,this._extent)},t.type="time",t}(hs),Js=[["second",gd],["minute",md],["hour",xo],["quarter-day",xo*6],["half-day",xo*12],["day",Xe*1.2],["half-week",Xe*3.5],["week",Xe*7],["month",Xe*31],["quarter",Xe*95],["half-year",Cm/2],["year",Cm]];function mB(e,t,r,n){var i=zr(t),a=zr(r),o=function(d){return Mm(i,d,n)===Mm(a,d,n)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},f=function(){return u()&&o("hour")},c=function(){return f()&&o("minute")},v=function(){return c()&&o("second")},h=function(){return v()&&o("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return f();case"minute":return c();case"second":return v();case"millisecond":return h()}}function yB(e,t){return e/=Xe,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function _B(e){var t=30*Xe;return e/=t,e>6?6:e>3?3:e>2?2:1}function wB(e){return e/=xo,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function Ny(e,t){return e/=t?md:gd,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function bB(e){return W1(e,!0)}function SB(e,t,r){var n=new Date(e);switch(sa(t)){case"year":case"month":n[tb(r)](0);case"day":n[eb(r)](1);case"hour":n[rb(r)](0);case"minute":n[nb(r)](0);case"second":n[ib(r)](0),n[ab(r)](0)}return n.getTime()}function xB(e,t,r,n){var i=1e4,a=Qw,o=0;function s(M,I,A,L,O,H,B){for(var Q=new Date(I),G=I,K=Q[L]();G1&&H===0&&A.unshift({value:A[0].value-G})}}for(var H=0;H=n[0]&&y<=n[1]&&c++)}var _=(n[1]-n[0])/t;if(c>_*1.5&&v>_/1.5||(u.push(g),c>_||e===a[h]))break}f=[]}}}for(var w=ye(ct(u,function(M){return ye(M,function(I){return I.value>=n[0]&&I.value<=n[1]&&!I.notAdd})}),function(M){return M.length>0}),S=[],b=w.length-1,h=0;h0;)a*=10;var s=[Yt(MB(n[0]/a)*a),Yt(DB(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(r){Ao.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return r=Ne(r)/Ne(this.base),Gu(r,this._extent)},t.prototype.normalize=function(r){return r=Ne(r)/Ne(this.base),Uu(r,this._extent)},t.prototype.scale=function(r){return r=Wu(r,this._extent),tl(this.base,r)},t.type="log",t}(Ur),IS=Rd.prototype;IS.getMinorTicks=Ao.getMinorTicks;IS.getLabel=Ao.getLabel;function el(e,t){return CB(e,Rr(t))}Ur.registerClass(Rd);var AB=Rd,PB=function(){function e(t,r,n){this._prepareParams(t,r,n)}return e.prototype._prepareParams=function(t,r,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var v=this._determinedMin,h=this._determinedMax;return v!=null&&(s=v,u=!0),h!=null&&(l=h,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:c}},e.prototype.modifyDataMinMax=function(t,r){this[EB[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var n=IB[t];this[n]=r},e.prototype.freeze=function(){this.frozen=!0},e}(),IB={min:"_determinedMin",max:"_determinedMax"},EB={min:"_dataMin",max:"_dataMax"};function LB(e,t,r){var n=e.rawExtentInfo;return n||(n=new PB(e,t,r),e.rawExtentInfo=n,n)}function rl(e,t){return t==null?null:Nl(t)?NaN:e.parse(t)}function ES(e,t){var r=e.type,n=LB(e,t,e.getExtent()).calculate();e.setBlank(n.isBlank);var i=n.min,a=n.max,o=t.ecModel;if(o&&r==="time"){var s=uB("bar",o),l=!1;if(P(s,function(c){l=l||c.getBaseAxis()===t.axis}),l){var u=cB(s),f=RB(i,a,t,u);i=f.min,a=f.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function RB(e,t,r,n){var i=r.axis.getExtent(),a=i[1]-i[0],o=vB(n,r.axis);if(o===void 0)return{min:e,max:t};var s=1/0;P(o,function(h){s=Math.min(h.offset,s)});var l=-1/0;P(o,function(h){l=Math.max(h.offset+h.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=t-e,c=1-(s+l)/a,v=f/c-f;return t+=v*(l/u),e-=v*(s/u),{min:e,max:t}}function zy(e,t){var r=t,n=ES(e,r),i=n.extent,a=r.get("splitNumber");e instanceof AB&&(e.base=r.get("logBase"));var o=e.type,s=r.get("interval"),l=o==="interval"||o==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?r.get("minInterval"):null,maxInterval:l?r.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function OB(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new TS({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new TB({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Ur.getClass(t)||hs)}}function kB(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function vs(e){var t=e.getLabelModel().get("formatter"),r=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(n){return function(i,a){return e.scale.getFormattedLabel(i,a,n)}}(t):nt(t)?function(n){return function(i){var a=e.scale.getLabel(i),o=n.replace("{value}",a!=null?a:"");return o}}(t):dt(t)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(Od(e,i),a,i.level!=null?{level:i.level}:null)}}(t):function(n){return e.scale.getLabel(n)}}function Od(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function BB(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof TS?i=r.count():(n=r.getTicks(),i=n.length);var o=e.getLabelModel(),s=vs(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var f=0;f=0||(Hy.push(e),dt(e)&&(e={install:e}),e.install(HB))}var ts=jt();function $B(e){return e.type==="category"?GB(e):WB(e)}function VB(e,t){return e.type==="category"?UB(e,t):{ticks:ct(e.scale.getTicks(),function(r){return r.value})}}function GB(e){var t=e.getLabelModel(),r=RS(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function RS(e,t){var r=OS(e,"labels"),n=kd(t),i=kS(r,n);if(i)return i;var a,o;return dt(n)?a=FS(e,n):(o=n==="auto"?YB(e):n,a=NS(e,o)),BS(r,n,{labels:a,labelCategoryInterval:o})}function UB(e,t){var r=OS(e,"ticks"),n=kd(t),i=kS(r,n);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),dt(n))a=FS(e,n,!0);else if(n==="auto"){var s=RS(e,e.getLabelModel());o=s.labelCategoryInterval,a=ct(s.labels,function(l){return l.tickValue})}else o=n,a=NS(e,o,!0);return BS(r,n,{ticks:a,tickCategoryInterval:o})}function WB(e){var t=e.scale.getTicks(),r=vs(e);return{labels:ct(t,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:e.scale.getLabel(n),tickValue:n.value}})}}function OS(e,t){return ts(e)[t]||(ts(e)[t]=[])}function kS(e,t){for(var r=0;r40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),f=Math.abs(u*Math.cos(n)),c=Math.abs(u*Math.sin(n)),v=0,h=0;l<=a[1];l+=s){var d=0,m=0,g=Yv(r({value:l}),t.font,"center","top");d=g.width*1.3,m=g.height*1.3,v=Math.max(v,d,7),h=Math.max(h,m,7)}var p=v/f,y=h/c;isNaN(p)&&(p=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(p,y))),w=ts(e.model),S=e.getExtent(),b=w.lastAutoInterval,x=w.lastTickCount;return b!=null&&x!=null&&Math.abs(b-_)<=1&&Math.abs(x-o)<=1&&b>_&&w.axisExtent0===S[0]&&w.axisExtent1===S[1]?_=b:(w.lastTickCount=o,w.lastAutoInterval=_,w.axisExtent0=S[0],w.axisExtent1=S[1]),_}function XB(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function NS(e,t,r){var n=vs(e),i=e.scale,a=i.getExtent(),o=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=a[0],f=i.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=LS(e),v=o.get("showMinLabel")||c,h=o.get("showMaxLabel")||c;v&&u!==a[0]&&m(a[0]);for(var d=u;d<=a[1];d+=l)m(d);h&&d-l!==a[1]&&m(a[1]);function m(g){var p={value:g};s.push(r?g:{formattedLabel:n(p),rawLabel:i.getLabel(p),tickValue:g})}return s}function FS(e,t,r){var n=e.scale,i=vs(e),a=[];return P(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&a.push(r?l:{formattedLabel:i(o),rawLabel:s,tickValue:l})}),a}var $y=[0,1],jB=function(){function e(t,r,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=n||[0,0]}return e.prototype.contain=function(t){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return t>=n&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return dI(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var n=this._extent;n[0]=t,n[1]=r},e.prototype.dataToCoord=function(t,r){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(n=n.slice(),Vy(n,i.count())),Ig(t,$y,n,r)},e.prototype.coordToData=function(t,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),Vy(n,i.count()));var a=Ig(t,n,$y,r);return this.scale.scale(a)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),n=VB(this,r),i=n.ticks,a=ct(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return KB(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=ct(n,function(a){return ct(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},e.prototype.getViewLabels=function(){return $B(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},e.prototype.calculateCategoryInterval=function(){return qB(this)},e}();function Vy(e,t){var r=e[1]-e[0],n=t,i=r/n/2;e[0]+=i,e[1]-=i}function KB(e,t,r,n){var i=t.length;if(!e.onBand||r||!i)return;var a=e.getExtent(),o,s;if(i===1)t[0].coord=a[0],o=t[1]={coord:a[0]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;P(t,function(h){h.coord-=u/2});var f=e.scale.getExtent();s=1+f[1]-t[i-1].tickValue,o={coord:t[i-1].coord+u*s},t.push(o)}var c=a[0]>a[1];v(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&v(a[0],t[0].coord)&&t.unshift({coord:a[0]}),v(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&v(o.coord,a[1])&&t.push({coord:a[1]});function v(h,d){return h=Yt(h),d=Yt(d),c?h>d:hn[1]&&n.reverse(),n},t.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},t}(ZB),hN=cN;function Hh(e,t,r){r=r||{};var n=e.coordinateSystem,i=t.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,l=o?"onZero":s,u=i.dim,f=n.getRect(),c=[f.x,f.x+f.width,f.y,f.y+f.height],v={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,d=u==="x"?[c[2]-h,c[3]+h]:[c[0]-h,c[1]+h];if(o){var m=o.toGlobalCoord(o.dataToCoord(0));d[v.onZero]=Math.max(Math.min(m,d[1]),d[0])}a.position=[u==="y"?d[v[l]]:c[0],u==="x"?d[v[l]]:c[3]],a.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=g[s],a.labelOffset=o?d[v[s]]-d[v.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),zo(r.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var p=t.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-p:p,a.z2=1,a}function Yy(e){return e.get("coordinateSystem")==="cartesian2d"}function qy(e){var t={xAxisModel:null,yAxisModel:null};return P(t,function(r,n){var i=n.replace(/Model$/,""),a=e.getReferringComponents(i,ir).models[0];t[n]=a}),t}var fc=Math.log;function vN(e,t,r){var n=hs.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),l=ES(e,t),u=l.extent,f=l.fixMin,c=l.fixMax;if(e.type==="log"){var v=fc(e.base);u=[fc(u[0])/v,fc(u[1])/v]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:c});var h=n.getExtent.call(e);f&&(u[0]=h[0]),c&&(u[1]=h[1]);var d=n.getInterval.call(e),m=u[0],g=u[1];if(f&&c)d=(g-m)/o;else if(f)for(g=u[0]+d*o;gu[0]&&isFinite(m)&&isFinite(u[0]);)d=uc(d),m=u[1]-d*o;else{var p=e.getTicks().length-1;p>o&&(d=uc(d));var y=d*o;g=Math.ceil(u[1]/d)*d,m=Yt(g-y),m<0&&u[0]>=0?(m=0,g=Yt(y)):g>0&&u[1]<=0&&(g=0,m=-Yt(y))}var _=(i[0].value-a[0].value)/s,w=(i[o].value-a[o].value)/s;n.setExtent.call(e,m+d*_,g+d*w),n.setInterval.call(e,d),(_||w)&&n.setNiceExtent.call(e,m+d,g-d)}var dN=function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=zh,this._initCartesian(t,r,n),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,r){var n=this._axesMap;this._updateScale(t,this.model);function i(o){var s,l=$t(o),u=l.length;if(!!u){for(var f=[],c=u-1;c>=0;c--){var v=+l[c],h=o[v],d=h.model,m=h.scale;Nh(m)&&d.get("alignTicks")&&d.get("interval")==null?f.push(h):(zy(m,d),Nh(m)&&(s=h))}f.length&&(s||(s=f.pop(),zy(s.scale,s.model)),P(f,function(g){vN(g.scale,g.model,s.scale)}))}}i(n.x),i(n.y);var a={};P(n.x,function(o){Xy(n,"y",o,a)}),P(n.y,function(o){Xy(n,"x",o,a)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var i=t.getBoxLayoutParams(),a=!n&&t.get("containLabel"),o=Yo(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(P(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=BB(u);if(f){var c=u.isHorizontal()?"height":"width",v=u.model.get(["axisLabel","margin"]);o[c]-=f[c]+v,u.position==="top"?o.y+=f.height+v:u.position==="left"&&(o.x+=f.width+v)}}}),l()),P(this._coordsList,function(u){u.calcAffineTransform()});function l(){P(s,function(u){var f=u.isHorizontal(),c=f?[0,o.width]:[0,o.height],v=u.inverse?1:0;u.setExtent(c[v],c[1-v]),pN(u,f?o.x:o.y)})}},e.prototype.getAxis=function(t,r){var n=this._axesMap[t];if(n!=null)return n[r||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,r){if(t!=null&&r!=null){var n="x"+t+"y"+r;return this._coordsMap[n]}st(t)&&(r=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i0?"top":"bottom",a="center"):Wl(i-cn)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},e.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},e}(),Ky={axisLine:function(e,t,r,n){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var a=t.axis.getExtent(),o=n.transform,s=[a[0],0],l=[a[1],0];o&&(Ke(s,s,o),Ke(l,l,o));var u=X({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new pi({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});f.anid="line",r.add(f);var c=t.get(["axisLine","symbol"]);if(c!=null){var v=t.get(["axisLine","symbolSize"]);nt(c)&&(c=[c,c]),(nt(v)||Vt(v))&&(v=[v,v]);var h=Yb(t.get(["axisLine","symbolOffset"])||0,v),d=v[0],m=v[1];P([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(g,p){if(c[p]!=="none"&&c[p]!=null){var y=_a(c[p],-d/2,-m/2,d,m,u.stroke,!0),_=g.r+g.offset;y.attr({rotation:g.rotate,x:s[0]+_*Math.cos(e.rotation),y:s[1]-_*Math.sin(e.rotation),silent:!0,z2:11}),r.add(y)}})}}},axisTickLabel:function(e,t,r,n){var i=_N(r,n,t,e),a=bN(r,n,t,e);if(yN(t,a,i),wN(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=QB(ct(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));JB(o)}},axisName:function(e,t,r,n){var i=zo(e.axisName,t.get("name"));if(!!i){var a=t.get("nameLocation"),o=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),f=u[0]>u[1]?-1:1,c=[a==="start"?u[0]-f*l:a==="end"?u[1]+f*l:(u[0]+u[1])/2,Qy(a)?e.labelOffset+o*l:0],v,h=t.get("nameRotate");h!=null&&(h=h*cn/180);var d;Qy(a)?v=li.innerTextLayout(e.rotation,h!=null?h:e.rotation,o):(v=mN(e.rotation,a,h||0,u),d=e.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(v.rotation)),!isFinite(d)&&(d=null)));var m=s.getFont(),g=t.get("nameTruncate",!0)||{},p=g.ellipsis,y=zo(e.nameTruncateMaxWidth,g.maxWidth,d),_=new de({x:c[0],y:c[1],rotation:v.rotation,silent:li.isLabelSilent(t),style:Cn(s,{text:i,font:m,overflow:"truncate",width:y,ellipsis:p,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||v.textAlign,verticalAlign:s.get("verticalAlign")||v.textVerticalAlign}),z2:1});if(fd({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var w=li.makeAxisEventDataBase(t);w.targetType="axisName",w.name=i,Bt(_).eventData=w}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function mN(e,t,r,n){var i=U1(r-e),a,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return Wl(i-cn/2)?(o=l?"bottom":"top",a="center"):Wl(i-cn*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",icn/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function yN(e,t,r){if(!LS(e.axis)){var n=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var a=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=r[0],f=r[1],c=r[r.length-1],v=r[r.length-2];n===!1?(Fe(a),Fe(u)):Zy(a,o)&&(n?(Fe(o),Fe(f)):(Fe(a),Fe(u))),i===!1?(Fe(s),Fe(c)):Zy(l,s)&&(i?(Fe(l),Fe(v)):(Fe(s),Fe(c)))}}function Fe(e){e&&(e.ignore=!0)}function Zy(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!r||!n)){var i=Vv([]);return Gv(i,i,-e.rotation),r.applyTransform(oa([],i,e.getLocalTransform())),n.applyTransform(oa([],i,t.getLocalTransform())),r.intersect(n)}}function Qy(e){return e==="middle"||e==="center"}function HS(e,t,r,n,i){for(var a=[],o=[],s=[],l=0;l=0||e===t}function MN(e){var t=Nd(e);if(!!t){var r=t.axisPointerModel,n=t.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=$h(r);a==null&&(i.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),os)return!0;if(o){var l=Nd(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},e.prototype.makeElOption=function(t,r,n,i,a){},e.prototype.createPointerEl=function(t,r,n,i){var a=r.pointer;if(a){var o=ei(t).pointerEl=new eR[a.type](e0(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,i){if(r.label){var a=ei(t).labelEl=new de(e0(r.label));t.add(a),n0(a,i)}},e.prototype.updatePointerEl=function(t,r,n){var i=ei(t).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},e.prototype.updateLabelEl=function(t,r,n,i){var a=ei(t).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),n0(a,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),o=r.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=ud(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){b1(u.event)},onmousedown:vc(this._onHandleDragMove,this,0,0),drift:vc(this._onHandleDragMove,this),ondragend:vc(this._onHandleDragEnd,this)}),n.add(i)),i0(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");et(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,Fb(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){r0(this._axisPointerModel,!r&&this._moveAnimation,this._handle,dc(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,r){var n=this._handle;if(!!n){this._dragging=!0;var i=this.updateHandleTransform(dc(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(dc(i)),ei(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(!!t){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(!!t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.getZr(),n=this._group,i=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),i&&r.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Ah(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}},e}();function r0(e,t,r,n){WS(ei(r).lastProp,n)||(ei(r).lastProp=n,t?Tn(r,n,e):(r.stopAnimation(),r.attr(n)))}function WS(e,t){if(st(e)&&st(t)){var r=!0;return P(t,function(n,i){r=r&&WS(e[i],n)}),!!r}else return e===t}function n0(e,t){e[t.get(["label","show"])?"show":"hide"]()}function dc(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function i0(e,t,r){var n=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}var zN=FN;function HN(e){var t=e.get("type"),r=e.getModel(t+"Style"),n;return t==="line"?(n=r.getLineStyle(),n.fill=null):t==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function $N(e,t,r,n,i){var a=r.get("value"),o=YS(a,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=Nu(s.get("padding")||0),u=s.getFont(),f=Yv(o,u),c=i.position,v=f.width+l[1]+l[3],h=f.height+l[0]+l[2],d=i.align;d==="right"&&(c[0]-=v),d==="center"&&(c[0]-=v/2);var m=i.verticalAlign;m==="bottom"&&(c[1]-=h),m==="middle"&&(c[1]-=h/2),VN(c,v,h,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:c[0],y:c[1],style:Cn(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function VN(e,t,r,n){var i=n.getWidth(),a=n.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+r,a)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function YS(e,t,r,n,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:Od(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};P(n,function(l){var u=r.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,c=u&&u.getDataParams(f);c&&s.seriesData.push(c)}),nt(o)?a=o.replace("{value}",a):dt(o)&&(a=o(s))}return a}function qS(e,t,r){var n=Ho();return Gv(n,n,r.rotation),uh(n,n,r.position),ld([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function GN(e,t,r,n,i,a){var o=$S.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),$N(t,n,i,a,{position:qS(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function UN(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function WN(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}var YN=function(e){J(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,l=s.grid,u=a.get("type"),f=a0(l,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var v=HN(a),h=qN[u](s,c,f);h.style=v,r.graphicKey=h.type,r.pointer=h}var d=Hh(l.model,i);GN(n,r,d,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=Hh(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=qS(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,l=o.getGlobalExtent(!0),u=a0(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,c=[r.x,r.y];c[f]+=n[f],c[f]=Math.min(l[1],c[f]),c[f]=Math.max(l[0],c[f]);var v=(u[1]+u[0])/2,h=[v,v];h[f]=c[f];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:c[0],y:c[1],rotation:r.rotation,cursorPoint:h,tooltipOption:d[f]}},t}(zN);function a0(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var qN={line:function(e,t,r){var n=UN([t,r[0]],[t,r[1]],o0(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=Math.max(1,e.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:WN([t-n/2,r[0]],[n,i],o0(e))}}};function o0(e){return e.dim==="x"?0:1}var XN=YN,jN=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(zt),KN=jN,Or=jt(),ZN=P;function XS(e,t,r){if(!yt.node){var n=t.getZr();Or(n).records||(Or(n).records={}),QN(n,t);var i=Or(n).records[e]||(Or(n).records[e]={});i.handler=r}}function QN(e,t){if(Or(e).initialized)return;Or(e).initialized=!0,r("click",Zt(s0,"click")),r("mousemove",Zt(s0,"mousemove")),r("globalout",tF);function r(n,i){e.on(n,function(a){var o=eF(t);ZN(Or(e).records,function(s){s&&i(s,a,o.dispatchAction)}),JN(o.pendings,t)})}}function JN(e,t){var r=e.showTip.length,n=e.hideTip.length,i;r?i=e.showTip[r-1]:n&&(i=e.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function tF(e,t,r){e.handler("leave",null,r)}function s0(e,t,r,n){t.handler(e,r,n)}function eF(e){var t={showTip:[],hideTip:[]},r=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function Gh(e,t){if(!yt.node){var r=t.getZr(),n=(Or(r).records||{})[e];n&&(Or(r).records[e]=null)}}var rF=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";XS("axisPointer",i,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(r,n){Gh("axisPointer",n)},t.prototype.dispose=function(r,n){Gh("axisPointer",n)},t.type="axisPointer",t}(Hr),nF=rF;function jS(e,t){var r=[],n=e.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=vi(a,e);if(o==null||o<0||et(o))return{point:[]};var s=a.getItemGraphicEl(o),l=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),c=f.dim,v=u.dim,h=c==="x"||c==="radius"?1:0,d=a.mapDimension(v),m=[];m[h]=a.get(d,o),m[1-h]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=l.dataToPoint(m)||[]}else r=l.dataToPoint(a.getValues(ct(l.dimensions,function(p){return a.mapDimension(p)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var l0=jt();function iF(e,t,r){var n=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||Ht(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(!!s){Dl(i)&&(i=jS({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=Dl(i),u=a.axesInfo,f=s.axesInfo,c=n==="leave"||Dl(i),v={},h={},d={list:[],map:{}},m={showPointer:Zt(oF,h),showTooltip:Zt(sF,d)};P(s.coordSysMap,function(p,y){var _=l||p.containPoint(i);P(s.coordSysAxesInfo[y],function(w,S){var b=w.axis,x=cF(u,w);if(!c&&_&&(!u||x)){var C=x&&x.value;C==null&&!l&&(C=b.pointToData(i)),C!=null&&u0(w,C,m,!1,v)}})});var g={};return P(f,function(p,y){var _=p.linkGroup;_&&!h[y]&&P(_.axesInfo,function(w,S){var b=h[S];if(w!==p&&b){var x=b.value;_.mapper&&(x=p.axis.scale.parse(_.mapper(x,f0(w),f0(p)))),g[p.key]=x}})}),P(g,function(p,y){u0(f[y],p,m,!0,v)}),lF(h,f,v),uF(d,i,e,o),fF(f,o,r),v}}function u0(e,t,r,n,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){r.showPointer(e,t);return}var o=aF(t,e),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&X(i,s[0]),!n&&e.snap&&a.containData(l)&&l!=null&&(t=l),r.showPointer(e,t,s),r.showTooltip(e,o,l)}}function aF(e,t){var r=t.axis,n=r.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return P(t.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(n),c,v;if(l.getAxisTooltipData){var h=l.getAxisTooltipData(f,e,r);v=h.dataIndices,c=h.nestestValue}else{if(v=l.getData().indicesOfNearest(f[0],e,r.type==="category"?.5:null),!v.length)return;c=l.getData().get(f[0],v[0])}if(!(c==null||!isFinite(c))){var d=e-c,m=Math.abs(d);m<=o&&((m=0&&s<0)&&(o=m,s=d,i=c,a.length=0),P(v,function(g){a.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:a,snapToValue:i}}function oF(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function sF(e,t,r,n){var i=r.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var l=t.coordSys.model,u=es(l),f=e.map[u];f||(f=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(f)),f.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function lF(e,t,r){var n=r.axesInfo=[];P(t,function(i,a){var o=i.axisPointerModel.option,s=e[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function uF(e,t,r,n){if(Dl(t)||!e.list.length){n({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function fF(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",a=l0(n)[i]||{},o=l0(n)[i]={};P(e,function(u,f){var c=u.axisPointerModel.option;c.status==="show"&&P(c.seriesDataIndices,function(v){var h=v.seriesIndex+" | "+v.dataIndex;o[h]=v})});var s=[],l=[];P(a,function(u,f){!o[f]&&l.push(u)}),P(o,function(u,f){!a[f]&&s.push(u)}),l.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function cF(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function f0(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function Dl(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function KS(e){VS.registerAxisPointerClass("CartesianAxisPointer",XN),e.registerComponentModel(KN),e.registerComponentView(nF),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!et(r)&&(t.axisPointer.link=[r])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=SN(t,r)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},iF)}function sz(e){mi(NN),mi(KS)}function hF(e,t){var r=Nu(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new Jt({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),e}var vF=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(zt),dF=vF;function ZS(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function QS(e){if(!!yt.domSupported){for(var t=document.documentElement.style,r=0,n=e.length;r-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=a==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=a==="top"?225:45)+"deg)");var f=u*Math.PI/180,c=o+i,v=c*Math.abs(Math.cos(f))+c*Math.abs(Math.sin(f)),h=Math.round(((v-Math.SQRT2*i)/2+Math.SQRT2*i-(v-c)/2)*100)/100;s+=";"+a+":-"+h+"px";var d=t+" solid "+i+"px;",m=["position:absolute;width:"+o+"px;height:"+o+"px;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
'}function bF(e,t){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+e/2+"s "+r,i="opacity"+n+",visibility"+n;return t||(n=" "+e+"s "+r,i+=yt.transformSupported?","+Fd+n:",left"+n+",top"+n),mF+":"+i}function c0(e,t,r){var n=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!yt.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=yt.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+Fd+":"+o+";":[["top",0],["left",0],[JS,o]]}function SF(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont()),r&&t.push("line-height:"+Math.round(r*3/2)+"px");var i=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&a&&t.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),P(["decoration","align"],function(l){var u=e.get(l);u&&t.push("text-"+l+":"+u)}),t.join(";")}function xF(e,t,r){var n=[],i=e.get("transitionDuration"),a=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),f=e.getModel("textStyle"),c=Ob(e,"html"),v=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+v),t&&i&&n.push(bF(i,r)),a&&n.push("background-color:"+a),P(["width","color","radius"],function(h){var d="border-"+h,m=sb(d),g=e.get(m);g!=null&&n.push(d+":"+g+(h==="color"?"":"px"))}),n.push(SF(f)),c!=null&&n.push("padding:"+Nu(c).join("px ")+"px"),n.join(";")+";"}function h0(e,t,r,n,i){var a=t&&t.painter;if(r){var o=a&&a.getViewportRoot();o&&tP(e,o,document.body,n,i)}else{e[0]=n,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var TF=function(){function e(t,r,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,yt.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var a=this._zr=r.getZr(),o=this._appendToBody=n&&n.appendToBody;h0(this._styleCoord,a,o,r.getWidth()/2,r.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var s=this;i.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},i.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=a.handler,f=a.painter.getViewportRoot();He(f,l,!0),u.dispatch("mousemove",l)}},i.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){var r=this._container,n=gF(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative");var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this.el.className=t.get("className")||""},e.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=yF+xF(t,!this._firstShow,this._longHide)+c0(a[0],a[1],!0)+("border-color:"+gi(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,r,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(nt(a)&&n.get("trigger")==="item"&&!ZS(n)&&(s=wF(n,i,a)),nt(t))o.innerHTML=t+s;else if(t){o.innerHTML="",et(t)||(t=[t]);for(var l=0;l=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var r=this._tooltipModel,n=this._ecModel,i=this._api;if(this._lastX!=null&&this._lastY!=null&&r.get("triggerOn")!=="none"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&a.manuallyShowTip(r,n,i,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||yt.node||!i.getDom())){var o=p0(a,i);this._ticket="";var s=a.dataByCoordSys,l=RF(a,n,i);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var f=AF;f.x=a.x,f.y=a.y,f.update(),Bt(f).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:f},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(r,n,i,a))return;var c=jS(a,n),v=c.point[0],h=c.point[1];v!=null&&h!=null&&this._tryShow({offsetX:v,offsetY:h,target:c.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(r,n,i,a){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(p0(a,i))},t.prototype._manuallyAxisShowTip=function(r,n,i,a){var o=a.seriesIndex,s=a.dataIndex,l=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=n.getSeriesByIndex(o);if(!!u){var f=u.getData(),c=Qa([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(c.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(r,n){var i=r.target,a=this._tooltipModel;if(!!a){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(i){this._lastDataByCoordSys=null;var s,l;lo(i,function(u){if(Bt(u).dataIndex!=null)return s=u,!0;if(Bt(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(r,s,n):l?this._showComponentItemTooltip(r,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(r,n){var i=r.get("showDelay");n=Ht(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Qa([n.tooltipOption],a),l=this._renderMode,u=[],f=jo("section",{blocks:[],noHeader:!0}),c=[],v=new Zf;P(r,function(y){P(y.dataByAxis,function(_){var w=i.getComponent(_.axisDim+"Axis",_.axisIndex),S=_.value;if(!(!w||S==null)){var b=YS(S,w.axis,i,_.seriesDataIndices,_.valueLabelOpt),x=jo("section",{header:b,noHeader:!mr(b),sortBlocks:!0,blocks:[]});f.blocks.push(x),P(_.seriesDataIndices,function(C){var D=i.getSeriesByIndex(C.seriesIndex),M=C.dataIndexInside,I=D.getDataParams(M);if(!(I.dataIndex<0)){I.axisDim=_.axisDim,I.axisIndex=_.axisIndex,I.axisType=_.axisType,I.axisId=_.axisId,I.axisValue=Od(w.axis,{value:S}),I.axisValueLabel=b,I.marker=v.makeTooltipMarker("item",gi(I.color),l);var A=qm(D.formatTooltip(M,!0,null)),L=A.frag;if(L){var O=Qa([D],a).get("valueFormatter");x.blocks.push(O?X({valueFormatter:O},L):L)}A.text&&c.push(A.text),u.push(I)}})}})}),f.blocks.reverse(),c.reverse();var h=n.position,d=s.get("order"),m=Qm(f,v,l,d,i.get("useUTC"),s.get("textStyle"));m&&c.unshift(m);var g=l==="richText"?` -`:"
",p=c.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,p,u,Math.random()+"",o[0],o[1],v,null,h)})},e.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=Bt(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,c=o.dataType,h=u.getData(c),v=this._renderMode,d=r.positionDefault,y=Ga([h.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=y.get("trigger");if(!(g!=null&&g!=="item")){var p=u.getDataParams(f,c),m=new Df;p.marker=m.makeTooltipMarker("item",hi(p.color),v);var _=Qg(u.formatTooltip(f,!1,c)),w=y.get("order"),b=y.get("valueFormatter"),S=_.frag,x=S?ny(b?q({valueFormatter:b},S):S,m,v,w,a.get("useUTC"),y.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(y,function(){this._showTooltipContent(y,x,p,T,r.offsetX,r.offsetY,r.position,r.target,m)}),i({type:"showTip",dataIndexInside:f,dataIndex:h.getRawIndex(f),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(r,n,i){var a=Bt(n),o=a.tooltipConfig,s=o.option||{};if(nt(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(a.componentMainType,a.componentIndex);f&&u.push(f),u.push({formatter:s.content});var c=r.positionDefault,h=Ga(u,this._tooltipModel,c?{position:c}:null),v=h.get("content"),d=Math.random()+"",y=new Df;this._showOrMove(h,function(){var g=St(h.get("formatterParams")||{});this._showTooltipContent(h,v,g,d,r.offsetX,r.offsetY,r.position,n,y)}),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,f){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var c=this._tooltipContent;c.setEnterable(r.get("enterable"));var h=r.get("formatter");l=l||r.get("position");var v=n,d=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),y=d.color;if(h)if(nt(h)){var g=r.ecModel.get("useUTC"),p=et(i)?i[0]:i,m=p&&p.axisType&&p.axisType.indexOf("time")>=0;v=h,m&&(v=hu(p.axisValue,v,g)),v=tw(v,i,!0)}else if(dt(h)){var _=Ht(function(w,b){w===this._ticket&&(c.setContent(b,f,r,y,l),this._updatePosition(r,l,o,s,c,i,u))},this);this._ticket=a,v=h(i,a,_)}else v=h;c.setContent(v,f,r,y,l),c.show(r,y),this._updatePosition(r,l,o,s,c,i,u)}},e.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||et(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!et(n))return{color:a||n.color||n.borderColor}},e.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();n=n||r.get("position");var c=o.getSize(),h=r.get("align"),v=r.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),dt(n)&&(n=n([i,a],s,o.el,d,{viewSize:[u,f],contentSize:c.slice()})),et(n))i=ue(n[0],u),a=ue(n[1],f);else if(st(n)){var y=n;y.width=c[0],y.height=c[1];var g=No(y,{width:u,height:f});i=g.x,a=g.y,h=null,v=null}else if(nt(n)&&l){var p=Xk(n,d,c,r.get("borderWidth"));i=p[0],a=p[1]}else{var p=Uk(i,a,o,u,f,h?null:20,v?null:20);i=p[0],a=p[1]}if(h&&(i-=Sm(h)?c[0]/2:h==="right"?c[0]:0),v&&(a-=Sm(v)?c[1]/2:v==="bottom"?c[1]:0),GS(r)){var p=Yk(i,a,o,u,f);i=p[0],a=p[1]}o.moveTo(i,a)},e.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&P(i,function(s,l){var u=s.dataByAxis||[],f=r[l]||{},c=f.dataByAxis||[];o=o&&u.length===c.length,o&&P(u,function(h,v){var d=c[v]||{},y=h.seriesDataIndices||[],g=d.seriesDataIndices||[];o=o&&h.value===d.value&&h.axisType===d.axisType&&h.axisId===d.axisId&&y.length===g.length,o&&P(y,function(p,m){var _=g[m];o=o&&p.seriesIndex===_.seriesIndex&&p.dataIndex===_.dataIndex}),a&&P(h.seriesDataIndices,function(p){var m=p.seriesIndex,_=n[m],w=a[m];_&&w&&w.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},e.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},e.prototype.dispose=function(r,n){mt.node||!n.getDom()||(eh(this,"_updatePosition"),this._tooltipContent.dispose(),gh("itemTooltip",n))},e.type="tooltip",e}(Br);function Ga(t,e,r){var n=e.ecModel,i;r?(i=new ae(r,n,n),i=new ae(e.option,i,n)):i=e;for(var a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof ae&&(o=o.get("tooltip",!0)),nt(o)&&(o={formatter:o}),o&&(i=new ae(o,i,n)))}return i}function wm(t,e){return t.dispatchAction||Ht(e.dispatchAction,e)}function Uk(t,e,r,n,i,a,o){var s=r.getSize(),l=s[0],u=s[1];return a!=null&&(t+l+a+2>n?t-=l+a:t+=a),o!=null&&(e+u+o>i?e-=u+o:e+=o),[t,e]}function Yk(t,e,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return t=Math.min(t+o,n)-o,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function Xk(t,e,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=e.width,f=e.height;switch(t){case"inside":s=e.x+u/2-i/2,l=e.y+f/2-a/2;break;case"top":s=e.x+u/2-i/2,l=e.y-a-o;break;case"bottom":s=e.x+u/2-i/2,l=e.y+f+o;break;case"left":s=e.x-i-o,l=e.y+f/2-a/2;break;case"right":s=e.x+u+o,l=e.y+f/2-a/2}return[s,l]}function Sm(t){return t==="center"||t==="middle"}function qk(t,e,r){var n=yv(t).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=jo(e,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(!!o){var s=r.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=Bt(u).tooltipConfig;if(f&&f.name===t.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}var Kk=Wk;function bN(t){vi($S),t.registerComponentModel(Pk),t.registerComponentView(Kk),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},_e),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},_e)}var Zk=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.layoutMode={type:"box",ignoreSize:!0},r}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(zt),jk=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){if(this.group.removeAll(),!!r.get("show")){var a=this.group,o=r.getModel("textStyle"),s=r.getModel("subtextStyle"),l=r.get("textAlign"),u=Mt(r.get("textBaseline"),r.get("textVerticalAlign")),f=new he({style:Sn(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),c=f.getBoundingRect(),h=r.get("subtext"),v=new he({style:Sn(s,{text:h,fill:s.getTextColor(),y:c.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=r.get("link"),y=r.get("sublink"),g=r.get("triggerEvent",!0);f.silent=!d&&!g,v.silent=!y&&!g,d&&f.on("click",function(){Og(d,"_"+r.get("target"))}),y&&v.on("click",function(){Og(y,"_"+r.get("subtarget"))}),Bt(f).eventData=Bt(v).eventData=g?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(f),h&&a.add(v);var p=a.getBoundingRect(),m=r.getBoxLayoutParams();m.width=p.width,m.height=p.height;var _=No(m,{width:i.getWidth(),height:i.getHeight()},r.get("padding"));l||(l=r.get("left")||r.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=r.get("top")||r.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),a.x=_.x,a.y=_.y,a.markRedraw();var w={align:l,verticalAlign:u};f.setStyle(w),v.setStyle(w),p=a.getBoundingRect();var b=_.margin,S=r.getItemStyle(["color","opacity"]);S.fill=r.get("backgroundColor");var x=new Qt({shape:{x:p.x-b[3],y:p.y-b[0],width:p.width+b[1]+b[3],height:p.height+b[0]+b[2],r:r.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});a.add(x)}},e.type="title",e}(Br);function xN(t){t.registerComponentModel(Zk),t.registerComponentView(jk)}function XS(t,e){var r=t.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=la(t,e,r[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o=0&&n.push(e[a])}return n.join(" ")}var Jk=function(t){J(e,t);function e(r,n,i,a){var o=t.call(this)||this;return o.updateData(r,n,i,a),o}return e.prototype._createSymbol=function(r,n,i,a,o){this.removeAll();var s=ua(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=tB,this._symbolType=r,this.add(s)},e.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Pl(this.childAt(0))},e.prototype.downplay=function(){Il(this.childAt(0))},e.prototype.setZ=function(r,n){var i=this.childAt(0);i.zlevel=r,i.z=n},e.prototype.setDraggable=function(r){var n=this.childAt(0);n.draggable=r,n.cursor=r?"move":n.cursor},e.prototype.updateData=function(r,n,i,a){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,l=e.getSymbolSize(r,n),u=o!==this._symbolType,f=a&&a.disableAnimation;if(u){var c=r.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,r,n,l,c)}else{var h=this.childAt(0);h.silent=!1;var v={scaleX:l[0]/2,scaleY:l[1]/2};f?h.attr(v):wn(h,v,s,n),tI(h)}if(this._updateCommon(r,n,l,i,a),u){var h=this.childAt(0);if(!f){var v={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Jo(h,v,s,n)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(r,n,i,a,o){var s=this.childAt(0),l=r.hostModel,u,f,c,h,v,d,y,g,p;if(a&&(u=a.emphasisItemStyle,f=a.blurItemStyle,c=a.selectItemStyle,h=a.focus,v=a.blurScope,y=a.labelStatesModels,g=a.hoverScale,p=a.cursorStyle,d=a.emphasisDisabled),!a||r.hasItemOption){var m=a&&a.itemModel?a.itemModel:r.getItemModel(n),_=m.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),c=m.getModel(["select","itemStyle"]).getItemStyle(),f=m.getModel(["blur","itemStyle"]).getItemStyle(),h=_.get("focus"),v=_.get("blurScope"),d=_.get("disabled"),y=Rv(m),g=_.getShallow("scale"),p=m.getShallow("cursor")}var w=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(w||0)*Math.PI/180||0);var b=Fw(r.getItemVisual(n,"symbolOffset"),i);b&&(s.x=b[0],s.y=b[1]),p&&s.attr("cursor",p);var S=r.getItemVisual(n,"style"),x=S.fill;if(s instanceof pi){var T=s.style;s.useStyle(q({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},S))}else s.__isEmptyBrush?s.useStyle(q({},S)):s.useStyle(S),s.style.decal=null,s.setColor(x,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var M=r.getItemVisual(n,"liftZ"),D=this._z2;M!=null?D==null&&(this._z2=s.z2,s.z2+=M):D!=null&&(s.z2=D,this._z2=null);var I=o&&o.useNameLabel;Lv(s,y,{labelFetcher:l,labelDataIndex:n,defaultText:A,inheritColor:x,defaultOpacity:S.opacity});function A(H){return I?r.getName(H):XS(r,H)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var L=s.ensureState("emphasis");if(L.style=u,s.ensureState("select").style=c,s.ensureState("blur").style=f,g){var O=Math.max(1.1,3/this._sizeY);L.scaleX=this._sizeX*O,L.scaleY=this._sizeY*O}this.setSymbolScale(1),Wc(this,h,v,d)},e.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},e.prototype.fadeOut=function(r,n,i){var a=this.childAt(0),o=Bt(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var l=a.getTextContent();l&&Ll(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();Ll(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},e.getSymbolSize=function(r,n){return jL(r.getItemVisual(n,"symbolSize"))},e}(ce);function tB(t,e){this.parent.drift(t,e)}var ad=Jk;function Uf(t,e,r,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&t.getItemVisual(r,"symbol")!=="none"}function bm(t){return t!=null&&!st(t)&&(t={isIgnore:t}),t||{}}function xm(t){var e=t.hostModel,r=e.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:Rv(e),cursorStyle:e.get("cursor")}}var eB=function(){function t(e){this.group=new ce,this._SymbolCtor=e||ad}return t.prototype.updateData=function(e,r){this._progressiveEls=null,r=bm(r);var n=this.group,i=e.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,l=xm(e),u={disableAnimation:s},f=r.getSymbolPoint||function(c){return e.getItemLayout(c)};a||n.removeAll(),e.diff(a).add(function(c){var h=f(c);if(Uf(e,h,c,r)){var v=new o(e,c,l,u);v.setPosition(h),e.setItemGraphicEl(c,v),n.add(v)}}).update(function(c,h){var v=a.getItemGraphicEl(h),d=f(c);if(!Uf(e,d,c,r)){n.remove(v);return}var y=e.getItemVisual(c,"symbol")||"circle",g=v&&v.getSymbolType&&v.getSymbolType();if(!v||g&&g!==y)n.remove(v),v=new o(e,c,l,u),v.setPosition(d);else{v.updateData(e,c,l,u);var p={x:d[0],y:d[1]};s?v.attr(p):wn(v,p,i)}n.add(v),e.setItemGraphicEl(c,v)}).remove(function(c){var h=a.getItemGraphicEl(c);h&&h.fadeOut(function(){n.remove(h)},i)}).execute(),this._getSymbolPoint=f,this._data=e},t.prototype.updateLayout=function(){var e=this,r=this._data;r&&r.eachItemGraphicEl(function(n,i){var a=e._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=xm(e),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(e,r,n){this._progressiveEls=[],n=bm(n);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=e.start;a=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(zt),yh=aB,ki=jt,mh=P,Gs=ce,oB=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.newlineDisabled=!1,r}return e.prototype.init=function(){this.group.add(this._contentGroup=new Gs),this.group.add(this._selectorGroup=new Gs),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(r,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var l=r.get("selector",!0),u=r.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,i,l,s,u);var f=r.getBoxLayoutParams(),c={width:i.getWidth(),height:i.getHeight()},h=r.get("padding"),v=No(f,c,h),d=this.layoutInner(r,o,v,a,l,u),y=No(Dt({width:d.width,height:d.height},f),c,h);this.group.x=y.x-d.x,this.group.y=y.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Dk(d,r))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this.getContentGroup(),f=gt(),c=n.get("selectedMode"),h=[];i.eachRawSeries(function(v){!v.get("legendHoverLink")&&h.push(v.id)}),mh(n.getData(),function(v,d){var y=v.get("name");if(!this.newlineDisabled&&(y===""||y===` -`)){var g=new Gs;g.newline=!0,u.add(g);return}var p=i.getSeriesByName(y)[0];if(!f.get(y))if(p){var m=p.getData(),_=m.getVisual("legendLineStyle")||{},w=m.getVisual("legendIcon"),b=m.getVisual("style"),S=this._createItem(p,y,d,v,n,r,_,b,w,c);S.on("click",ki(Cm,y,null,a,h)).on("mouseover",ki(_h,p.name,null,a,h)).on("mouseout",ki(wh,p.name,null,a,h)),f.set(y,!0)}else i.eachRawSeries(function(x){if(!f.get(y)&&x.legendVisualProvider){var T=x.legendVisualProvider;if(!T.containName(y))return;var M=T.indexOfName(y),D=T.getItemVisual(M,"style"),I=T.getItemVisual(M,"legendIcon"),A=Er(D.fill);A&&A[3]===0&&(A[3]=.2,D=q(q({},D),{fill:nu(A,"rgba")}));var L=this._createItem(x,y,d,v,n,r,{},D,I,c);L.on("click",ki(Cm,null,y,a,h)).on("mouseover",ki(_h,null,y,a,h)).on("mouseout",ki(wh,null,y,a,h)),f.set(y,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},e.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();mh(r,function(u){var f=u.type,c=new he({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(c);var h=n.getModel("selectorLabel"),v=n.getModel(["emphasis","selectorLabel"]);Lv(c,{normal:h,emphasis:v},{defaultText:u.title}),Gc(c)})},e.prototype._createItem=function(r,n,i,a,o,s,l,u,f,c){var h=r.visualDrawType,v=o.get("itemWidth"),d=o.get("itemHeight"),y=o.isSelected(n),g=a.get("symbolRotate"),p=a.get("symbolKeepAspect"),m=a.get("icon");f=m||f||"roundRect";var _=sB(f,a,l,u,h,y),w=new Gs,b=a.getModel("textStyle");if(dt(r.getLegendIcon)&&(!m||m==="inherit"))w.add(r.getLegendIcon({itemWidth:v,itemHeight:d,icon:f,iconRotate:g,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:p}));else{var S=m==="inherit"&&r.getData().getVisual("symbol")?g==="inherit"?r.getData().getVisual("symbolRotate"):g:0;w.add(lB({itemWidth:v,itemHeight:d,icon:f,iconRotate:S,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:p}))}var x=s==="left"?v+5:-5,T=s,M=o.get("formatter"),D=n;nt(M)&&M?D=M.replace("{name}",n!=null?n:""):dt(M)&&(D=M(n));var I=a.get("inactiveColor");w.add(new he({style:Sn(b,{text:D,x,y:d/2,fill:y?b.getTextColor():I,align:T,verticalAlign:"middle"})}));var A=new Qt({shape:w.getBoundingRect(),invisible:!0}),L=a.getModel("tooltip");return L.get("show")&&Iv({el:A,componentModel:o,itemName:n,itemTooltipOption:L.option}),w.add(A),w.eachChild(function(O){O.silent=!0}),A.silent=!c,this.getContentGroup().add(w),Gc(w),w.__legendDataIndex=i,w},e.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();go(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var f=l.getBoundingRect(),c=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){go("horizontal",u,r.get("selectorItemGap",!0));var h=u.getBoundingRect(),v=[-h.x,-h.y],d=r.get("selectorButtonGap",!0),y=r.getOrient().index,g=y===0?"width":"height",p=y===0?"height":"width",m=y===0?"y":"x";s==="end"?v[y]+=f[g]+d:c[y]+=h[g]+d,v[1-y]+=f[p]/2-h[p]/2,u.x=v[0],u.y=v[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[g]=f[g]+d+h[g],_[p]=Math.max(f[p],h[p]),_[m]=Math.min(0,h[m]+v[1-y]),_}else return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Br);function sB(t,e,r,n,i,a){function o(d,y){d.lineWidth==="auto"&&(d.lineWidth=y.lineWidth>0?2:0),mh(d,function(g,p){d[p]==="inherit"&&(d[p]=y[p])})}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=t.lastIndexOf("empty",0)===0?"fill":"stroke";l.decal=n.decal,l.fill==="inherit"&&(l.fill=n[i]),l.stroke==="inherit"&&(l.stroke=n[u]),l.opacity==="inherit"&&(l.opacity=(i==="fill"?n:r).opacity),o(l,n);var f=e.getModel("lineStyle"),c=f.getLineStyle();if(o(c,r),l.fill==="auto"&&(l.fill=n.fill),l.stroke==="auto"&&(l.stroke=n.fill),c.stroke==="auto"&&(c.stroke=n.fill),!a){var h=e.get("inactiveBorderWidth"),v=l[u];l.lineWidth=h==="auto"?n.lineWidth>0&&v?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),c.stroke=f.get("inactiveColor"),c.lineWidth=f.get("inactiveWidth")}return{itemStyle:l,lineStyle:c}}function lB(t){var e=t.icon||"roundRect",r=ua(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return r.setStyle(t.itemStyle),r.rotation=(t.iconRotate||0)*Math.PI/180,r.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function Cm(t,e,r,n){wh(t,e,r,n),r.dispatchAction({type:"legendToggleSelect",name:t!=null?t:e}),_h(t,e,r,n)}function qS(t){for(var e=t.getZr().storage.getDisplayList(),r,n=0,i=e.length;ni[o],g=[-v.x,-v.y];n||(g[a]=f[u]);var p=[0,0],m=[-d.x,-d.y],_=Mt(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(y){var w=r.get("pageButtonPosition",!0);w==="end"?m[a]+=i[o]-d[o]:p[a]+=d[o]+_}m[1-a]+=v[s]/2-d[s]/2,f.setPosition(g),c.setPosition(p),h.setPosition(m);var b={x:0,y:0};if(b[o]=y?i[o]:v[o],b[s]=Math.max(v[s],d[s]),b[l]=Math.min(0,d[l]+m[1-a]),c.__rectSize=i[o],y){var S={x:0,y:0};S[o]=Math.max(i[o]-d[o]-_,0),S[s]=b[s],c.setClipPath(new Qt({shape:S})),c.__rectSize=S[o]}else h.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(r);return x.pageIndex!=null&&wn(f,{x:x.contentPosition[0],y:x.contentPosition[1]},y?r:null),this._updatePageInfoView(r,x),b},e.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},e.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;P(["pagePrev","pageNext"],function(f){var c=f+"DataIndex",h=n[c]!=null,v=i.childOfName(f);v&&(v.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),v.cursor=h?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",nt(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},e.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=Yf[o],l=Xf[o],u=this._findTargetItemIndex(n),f=i.children(),c=f[u],h=f.length,v=h?1:0,d={contentPosition:[i.x,i.y],pageCount:v,pageIndex:v-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var y=w(c);d.contentPosition[o]=-y.s;for(var g=u+1,p=y,m=y,_=null;g<=h;++g)_=w(f[g]),(!_&&m.e>p.s+a||_&&!b(_,p.s))&&(m.i>p.i?p=m:p=_,p&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=p.i),++d.pageCount)),m=_;for(var g=u-1,p=y,m=y,_=null;g>=-1;--g)_=w(f[g]),(!_||!b(m,_.s))&&p.i=x&&S.s<=x+a}},e.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===r&&(n=s)}),n!=null?n:a},e.type="legend.scroll",e}(KS),dB=vB;function pB(t){t.registerAction("legendScroll","legendscroll",function(e,r){var n=e.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:e},function(i){i.setScrollDataIndex(n)})})}function gB(t){vi(ZS),t.registerComponentModel(hB),t.registerComponentView(dB),pB(t)}function CN(t){vi(ZS),vi(gB)}var yB=function(t){J(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return e.prototype.getInitialData=function(r){return d2(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(r){var n=new ce,i=ua("line",0,r.itemHeight/2,r.itemWidth,0,r.lineStyle.stroke,!1);n.add(i),i.setStyle(r.lineStyle);var a=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=a==="none"?"circle":a,l=r.itemHeight*.8,u=ua(s,(r.itemWidth-l)/2,(r.itemHeight-l)/2,l,l,r.itemStyle.fill);n.add(u),u.setStyle(r.itemStyle);var f=r.iconRotate==="inherit"?o:r.iconRotate||0;return u.rotation=f*Math.PI/180,u.setOrigin([r.itemWidth/2,r.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),n},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Vo),mB=yB;function jS(t,e,r){var n=t.getBaseAxis(),i=t.getOtherAxis(n),a=_B(i,r),o=n.dim,s=i.dim,l=e.mapDimension(s),u=e.mapDimension(o),f=s==="x"||s==="radius"?1:0,c=ct(t.dimensions,function(d){return e.mapDimension(d)}),h=!1,v=e.getCalculationInfo("stackResultDimension");return Wo(e,c[0])&&(h=!0,c[0]=v),Wo(e,c[1])&&(h=!0,c[1]=v),{dataDimsForPoint:c,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function _B(t,e){var r=0,n=t.scale.getExtent();return e==="start"?r=n[0]:e==="end"?r=n[1]:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function QS(t,e,r,n){var i=NaN;t.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=r.get(t.baseDim,n),o[1-a]=i,e.dataToPoint(o)}function wB(t,e){var r=[];return e.diff(t).add(function(n){r.push({cmd:"+",idx:n})}).update(function(n,i){r.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){r.push({cmd:"-",idx:n})}).execute(),r}function SB(t,e,r,n,i,a,o,s){for(var l=wB(t,e),u=[],f=[],c=[],h=[],v=[],d=[],y=[],g=jS(i,e,o),p=t.getLayout("points")||[],m=e.getLayout("points")||[],_=0;_=i||y<0)break;if(ai(p,m)){if(l){y+=a;continue}break}if(y===r)t[a>0?"moveTo":"lineTo"](p,m),c=p,h=m;else{var _=p-u,w=m-f;if(_*_+w*w<.5){y+=a;continue}if(o>0){for(var b=y+a,S=e[b*2],x=e[b*2+1];S===p&&x===m&&g=n||ai(S,x))v=p,d=m;else{D=S-u,I=x-f;var O=p-u,H=S-p,B=m-f,Q=x-m,G=void 0,Z=void 0;if(s==="x"){G=Math.abs(O),Z=Math.abs(H);var lt=D>0?1:-1;v=p-lt*G*o,d=m,A=p+lt*Z*o,L=m}else if(s==="y"){G=Math.abs(B),Z=Math.abs(Q);var _t=I>0?1:-1;v=p,d=m-_t*G*o,A=p,L=m+_t*Z*o}else G=Math.sqrt(O*O+B*B),Z=Math.sqrt(H*H+Q*Q),M=Z/(Z+G),v=p-D*o*(1-M),d=m-I*o*(1-M),A=p+D*o*M,L=m+I*o*M,A=jr(A,Qr(S,p)),L=jr(L,Qr(x,m)),A=Qr(A,jr(S,p)),L=Qr(L,jr(x,m)),D=A-p,I=L-m,v=p-D*G/Z,d=m-I*G/Z,v=jr(v,Qr(u,p)),d=jr(d,Qr(f,m)),v=Qr(v,jr(u,p)),d=Qr(d,jr(f,m)),D=p-v,I=m-d,A=p+D*Z/G,L=m+I*Z/G}t.bezierCurveTo(c,h,v,d,p,m),c=A,h=L}else t.lineTo(p,m)}u=p,f=m,y+=a}return g}var JS=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),bB=function(t){J(e,t);function e(r){var n=t.call(this,r)||this;return n.type="ec-polyline",n}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new JS},e.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&ai(i[o*2-2],i[o*2-1]);o--);for(;a=0){var w=u?(d-l)*_+l:(v-s)*_+s;return u?[r,w]:[w,r]}s=v,l=d;break;case o.C:v=a[c++],d=a[c++],y=a[c++],g=a[c++],p=a[c++],m=a[c++];var b=u?Sl(s,v,y,p,r,f):Sl(l,d,g,m,r,f);if(b>0)for(var S=0;S=0){var w=u?Xt(l,d,g,m,x):Xt(s,v,y,p,x);return u?[r,w]:[w,r]}}s=p,l=m;break}}},e}(kt),xB=function(t){J(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(JS),CB=function(t){J(e,t);function e(r){var n=t.call(this,r)||this;return n.type="ec-polygon",n}return e.prototype.getDefaultShape=function(){return new xB},e.prototype.buildPath=function(r,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&ai(i[s*2-2],i[s*2-1]);s--);for(;oe){a?r.push(o(a,l,e)):i&&r.push(o(i,l,0),o(i,l,e));break}else i&&(r.push(o(i,l,0)),i=null),r.push(l),a=l}return r}function PB(t,e,r){var n=t.getVisual("visualMeta");if(!(!n||!n.length||!t.count())&&e.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=t.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(!!a){var l=e.getAxis(i),u=ct(a.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,c=a.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),c.reverse());var h=AB(u,i==="x"?r.getWidth():r.getHeight()),v=h.length;if(!v&&f)return u[0].coord<0?c[1]?c[1]:u[f-1].color:c[0]?c[0]:u[0].color;var d=10,y=h[0].coord-d,g=h[v-1].coord+d,p=g-y;if(p<.001)return"transparent";P(h,function(_){_.offset=(_.coord-y)/p}),h.push({offset:v?h[v-1].offset:.5,color:c[1]||"transparent"}),h.unshift({offset:v?h[0].offset:.5,color:c[0]||"transparent"});var m=new R1(0,0,0,0,h,!0);return m[i]=y,m[i+"2"]=g,m}}}function IB(t,e,r){var n=t.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(!!a&&!(i&&EB(a,e))){var o=e.mapDimension(a.dim),s={};return P(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function EB(t,e){var r=t.getExtent(),n=Math.abs(r[1]-r[0])/t.scale.count();isNaN(n)&&(n=0);for(var i=e.count(),a=Math.max(1,Math.round(i/5)),o=0;on)return!1;return!0}function LB(t,e){return isNaN(t)||isNaN(e)}function RB(t){for(var e=t.length/2;e>0&&LB(t[e*2-2],t[e*2-1]);e--);return e-1}function Em(t,e){return[t[e*2],t[e*2+1]]}function OB(t,e,r){for(var n=t.length/2,i=r==="x"?0:1,a,o,s=0,l=-1,u=0;u=e||a>=e&&o<=e){l=u;break}s=u,a=o}return{range:[s,l],t:(e-a)/(o-a)}}function tb(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var lt=y.getState("emphasis").style;lt.lineWidth=+y.style.lineWidth+1}Bt(y).seriesIndex=r.seriesIndex,Wc(y,Q,G,Z);var _t=Im(r.get("smooth")),yt=r.get("smoothMonotone");if(y.setShape({smooth:_t,smoothMonotone:yt,connectNulls:T}),g){var pt=l.getCalculationInfo("stackedOnSeries"),At=0;g.useStyle(Dt(f.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),pt&&(At=Im(pt.get("smooth"))),g.setShape({smooth:_t,stackedOnSmooth:At,smoothMonotone:yt,connectNulls:T}),vg(g,r,"areaStyle"),Bt(g).seriesIndex=r.seriesIndex,Wc(g,Q,G,Z)}var k=function(W){a._changePolyState(W)};l.eachItemGraphicEl(function(W){W&&(W.onHoverStateChange=k)}),this._polyline.onHoverStateChange=k,this._data=l,this._coordSys=o,this._stackedOnPoints=S,this._points=c,this._step=I,this._valueOrigin=w,r.get("triggerLineEvent")&&(this.packEventData(r,y),g&&this.packEventData(r,g))},e.prototype.packEventData=function(r,n){Bt(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},e.prototype.highlight=function(r,n,i,a){var o=r.getData(),s=ui(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],c=l[s*2+1];if(isNaN(f)||isNaN(c)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,c))return;var h=r.get("zlevel"),v=r.get("z");u=new ad(o,s),u.x=f,u.y=c,u.setZ(h,v);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=h,d.z=v,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else gn.prototype.highlight.call(this,r,n,i,a)},e.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=ui(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else gn.prototype.downplay.call(this,r,n,i,a)},e.prototype._changePolyState=function(r){var n=this._polygon;lg(this._polyline,r),n&&lg(n,r)},e.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new bB({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},e.prototype._newPolygon=function(r,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new CB({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},e.prototype._initSymbolLabelAnimation=function(r,n,i){var a,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var u=r.hostModel,f=u.get("animationDuration");dt(f)&&(f=f(null));var c=u.get("animationDelay")||0,h=dt(c)?c(null):c;r.eachItemGraphicEl(function(v,d){var y=v;if(y){var g=[v.x,v.y],p=void 0,m=void 0,_=void 0;if(i)if(o){var w=i,b=n.pointToCoord(g);a?(p=w.startAngle,m=w.endAngle,_=-b[1]/180*Math.PI):(p=w.r0,m=w.r,_=b[0])}else{var S=i;a?(p=S.x,m=S.x+S.width,_=v.x):(p=S.y+S.height,m=S.y,_=v.y)}var x=m===p?0:(_-p)/(m-p);l&&(x=1-x);var T=dt(c)?c(d):f*x+h,M=y.getSymbolPath(),D=M.getTextContent();y.attr({scaleX:0,scaleY:0}),y.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),D&&D.animateFrom({style:{opacity:0}},{duration:300,delay:T}),M.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(tb(r)){var o=r.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new he({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=RB(l);f>=0&&(Lv(s,Rv(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:f,defaultText:function(c,h,v){return v!=null?Qk(o,v):XS(o,c)},enableTextSetter:!0},kB(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(r,n,i,a,o,s,l){var u=this._endLabel,f=this._polyline;if(u){r<1&&a.originalX==null&&(a.originalX=u.x,a.originalY=u.y);var c=i.getLayout("points"),h=i.hostModel,v=h.get("connectNulls"),d=s.get("precision"),y=s.get("distance")||0,g=l.getBaseAxis(),p=g.isHorizontal(),m=g.inverse,_=n.shape,w=m?p?_.x:_.y+_.height:p?_.x+_.width:_.y,b=(p?y:0)*(m?-1:1),S=(p?0:-y)*(m?-1:1),x=p?"x":"y",T=OB(c,w,x),M=T.range,D=M[1]-M[0],I=void 0;if(D>=1){if(D>1&&!v){var A=Em(c,M[0]);u.attr({x:A[0]+b,y:A[1]+S}),o&&(I=h.getRawValue(M[0]))}else{var A=f.getPointOn(w,x);A&&u.attr({x:A[0]+b,y:A[1]+S});var L=h.getRawValue(M[0]),O=h.getRawValue(M[1]);o&&(I=qD(i,d,L,O,T.t))}a.lastFrameIndex=M[0]}else{var H=r===1||a.lastFrameIndex>0?M[0]:0,A=Em(c,H);o&&(I=h.getRawValue(H)),u.attr({x:A[0]+b,y:A[1]+S})}o&&z1(u).setLabelText(I)}},e.prototype._doUpdateAnimation=function(r,n,i,a,o,s,l){var u=this._polyline,f=this._polygon,c=r.hostModel,h=SB(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),v=h.current,d=h.stackedOnCurrent,y=h.next,g=h.stackedOnNext;if(o&&(v=Jr(h.current,i,o,l),d=Jr(h.stackedOnCurrent,i,o,l),y=Jr(h.next,i,o,l),g=Jr(h.stackedOnNext,i,o,l)),Pm(v,y)>3e3||f&&Pm(d,g)>3e3){u.stopAnimation(),u.setShape({points:y}),f&&(f.stopAnimation(),f.setShape({points:y,stackedOnPoints:g}));return}u.shape.__points=h.current,u.shape.points=v;var p={shape:{points:y}};h.current!==v&&(p.shape.__points=h.next),u.stopAnimation(),wn(u,p,c),f&&(f.setShape({points:v,stackedOnPoints:d}),f.stopAnimation(),wn(f,{shape:{stackedOnPoints:g}},c),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var m=[],_=h.status,w=0;w<_.length;w++){var b=_[w].cmd;if(b==="="){var S=r.getItemGraphicEl(_[w].idx1);S&&m.push({el:S,ptIdx:w})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var x=u.shape.__points,T=0;Te&&(e=t[r]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,r=0;r10&&o.type==="cartesian2d"&&a){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(f[1]-f[0])*(c||1),v=Math.round(s/h);if(isFinite(v)&&v>1){a==="lttb"&&e.setData(i.lttbDownSample(i.mapDimension(u.dim),1/v));var d=void 0;nt(a)?d=zB[a]:dt(a)&&(d=a),d&&e.setData(i.downSample(i.mapDimension(u.dim),1/v,d,HB))}}}}}function TN(t){t.registerChartView(NB),t.registerSeriesModel(mB),t.registerLayout(FB("line",!0)),t.registerVisual({seriesType:"line",reset:function(e){var r=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,VB("line"))}function Lm(t,e,r){var n=di.createCanvas(),i=e.getWidth(),a=e.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=i*r,n.height=a*r,n}var $B=function(t){J(e,t);function e(r,n,i){var a=t.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||Ml,typeof r=="string"?o=Lm(r,n,i):st(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(c_(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=Lm("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},e.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new Ot(0,0,0,0);function f(m){if(!(!m.isFinite()||m.isZero()))if(o.length===0){var _=new Ot(0,0,0,0);_.copy(m),o.push(_)}else{for(var w=!1,b=1/0,S=0,x=0;x=s)}}for(var c=this.__startIndex;c15)break}}O.prevElClipPaths&&p.restore()};if(m)if(m.length===0)T=g.__endIndex;else for(var D=v.dpr,I=0;I0&&e>i[0]){for(l=0;le);l++);s=n[i[l]]}if(i.splice(l+1,0,e),n[e]=r,!r.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(r.dom,u.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.__painter=this}},t.prototype.eachLayer=function(e,r){for(var n=this._zlevelList,i=0;i0?Ws:0),this._needsManuallyCompositing),f.__builtin__||iv("ZLevel "+u+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,r(l),a=f),i.__dirty&Te&&!i.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}r(l),this.eachBuiltinLayer(function(c,h){!c.__used&&c.getElementCount()>0&&(c.__dirty=!0,c.__startIndex=c.__endIndex=c.__drawIndex=0),c.__dirty&&c.__drawIndex<0&&(c.__drawIndex=c.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(e){e.clear()},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e,P(this._layers,function(r){r.setUnpainted()})},t.prototype.configLayer=function(e,r){if(r){var n=this._layerConfig;n[e]?Tt(n[e],r,!0):n[e]=r;for(var i=0;i=0;)g++;if(d.substr(0,2)==="::"&&g--,d.substr(-2,2)==="::"&&g--,g>y)return null;for(w=y-g,_=":";w--;)_+="0:";return d=d.replace("::",_),d[0]===":"&&(d=d.slice(1)),d[d.length-1]===":"&&(d=d.slice(0,-1)),y=function(){const b=d.split(":"),S=[];for(let x=0;x0;){if(_=g-p,_<0&&(_=0),d[m]>>_!==y[m]>>_)return!1;p-=g,m+=1}return!0}function c(d){if(a.test(d))return parseInt(d,16);if(d[0]==="0"&&!isNaN(parseInt(d[1],10))){if(i.test(d))return parseInt(d,8);throw new Error(`ipaddr: cannot parse ${d} as octal`)}return parseInt(d,10)}function h(d,y){for(;d.length=0;m-=1)if(_=this.octets[m],_ in p){if(w=p[_],g&&w!==0)return null;w!==8&&(g=!0),y+=w}else return null;return 32-y},d.prototype.range=function(){return v.subnetMatch(this,this.SpecialRanges)},d.prototype.toByteArray=function(){return this.octets.slice(0)},d.prototype.toIPv4MappedAddress=function(){return v.IPv6.parse(`::ffff:${this.toString()}`)},d.prototype.toNormalizedString=function(){return this.toString()},d.prototype.toString=function(){return this.octets.join(".")},d}(),v.IPv4.broadcastAddressFromCIDR=function(d){try{const y=this.parseCIDR(d),g=y[0].toByteArray(),p=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),m=[];let _=0;for(;_<4;)m.push(parseInt(g[_],10)|parseInt(p[_],10)^255),_++;return new this(m)}catch(y){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},v.IPv4.isIPv4=function(d){return this.parser(d)!==null},v.IPv4.isValid=function(d){try{return new this(this.parser(d)),!0}catch(y){return!1}},v.IPv4.isValidFourPartDecimal=function(d){return!!(v.IPv4.isValid(d)&&d.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},v.IPv4.networkAddressFromCIDR=function(d){let y,g,p,m,_;try{for(y=this.parseCIDR(d),p=y[0].toByteArray(),_=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),m=[],g=0;g<4;)m.push(parseInt(p[g],10)&parseInt(_[g],10)),g++;return new this(m)}catch(w){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},v.IPv4.parse=function(d){const y=this.parser(d);if(y===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(y)},v.IPv4.parseCIDR=function(d){let y;if(y=d.match(/^(.+)\/(\d+)$/)){const g=parseInt(y[2]);if(g>=0&&g<=32){const p=[this.parse(y[1]),g];return Object.defineProperty(p,"toString",{value:function(){return this.join("/")}}),p}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},v.IPv4.parser=function(d){let y,g,p;if(y=d.match(n.fourOctet))return function(){const m=y.slice(1,6),_=[];for(let w=0;w4294967295||p<0)throw new Error("ipaddr: address outside defined range");return function(){const m=[];let _;for(_=0;_<=24;_+=8)m.push(p>>_&255);return m}().reverse()}else return(y=d.match(n.twoOctet))?function(){const m=y.slice(1,4),_=[];if(p=c(m[1]),p>16777215||p<0)throw new Error("ipaddr: address outside defined range");return _.push(c(m[0])),_.push(p>>16&255),_.push(p>>8&255),_.push(p&255),_}():(y=d.match(n.threeOctet))?function(){const m=y.slice(1,5),_=[];if(p=c(m[2]),p>65535||p<0)throw new Error("ipaddr: address outside defined range");return _.push(c(m[0])),_.push(c(m[1])),_.push(p>>8&255),_.push(p&255),_}():null},v.IPv4.subnetMaskFromPrefixLength=function(d){if(d=parseInt(d),d<0||d>32)throw new Error("ipaddr: invalid IPv4 prefix length");const y=[0,0,0,0];let g=0;const p=Math.floor(d/8);for(;g=0;w-=1)if(m=this.parts[w],m in p){if(_=p[m],g&&_!==0)return null;_!==16&&(g=!0),y+=_}else return null;return 128-y},d.prototype.range=function(){return v.subnetMatch(this,this.SpecialRanges)},d.prototype.toByteArray=function(){let y;const g=[],p=this.parts;for(let m=0;m>8),g.push(y&255);return g},d.prototype.toFixedLengthString=function(){const y=function(){const p=[];for(let m=0;m>8,g&255,p>>8,p&255])},d.prototype.toNormalizedString=function(){const y=function(){const p=[];for(let m=0;mm&&(p=_.index,m=_[0].length);return m<0?g:`${g.substring(0,p)}::${g.substring(p+m)}`},d.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},d}(),v.IPv6.broadcastAddressFromCIDR=function(d){try{const y=this.parseCIDR(d),g=y[0].toByteArray(),p=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),m=[];let _=0;for(;_<16;)m.push(parseInt(g[_],10)|parseInt(p[_],10)^255),_++;return new this(m)}catch(y){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${y})`)}},v.IPv6.isIPv6=function(d){return this.parser(d)!==null},v.IPv6.isValid=function(d){if(typeof d=="string"&&d.indexOf(":")===-1)return!1;try{const y=this.parser(d);return new this(y.parts,y.zoneId),!0}catch(y){return!1}},v.IPv6.networkAddressFromCIDR=function(d){let y,g,p,m,_;try{for(y=this.parseCIDR(d),p=y[0].toByteArray(),_=this.subnetMaskFromPrefixLength(y[1]).toByteArray(),m=[],g=0;g<16;)m.push(parseInt(p[g],10)&parseInt(_[g],10)),g++;return new this(m)}catch(w){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${w})`)}},v.IPv6.parse=function(d){const y=this.parser(d);if(y.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(y.parts,y.zoneId)},v.IPv6.parseCIDR=function(d){let y,g,p;if((g=d.match(/^(.+)\/(\d+)$/))&&(y=parseInt(g[2]),y>=0&&y<=128))return p=[this.parse(g[1]),y],Object.defineProperty(p,"toString",{value:function(){return this.join("/")}}),p;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},v.IPv6.parser=function(d){let y,g,p,m,_,w;if(p=d.match(l.deprecatedTransitional))return this.parser(`::ffff:${p[1]}`);if(l.native.test(d))return u(d,8);if((p=d.match(l.transitional))&&(w=p[6]||"",y=u(p[1].slice(0,-1)+w,6),y.parts)){for(_=[parseInt(p[2]),parseInt(p[3]),parseInt(p[4]),parseInt(p[5])],g=0;g<_.length;g++)if(m=_[g],!(0<=m&&m<=255))return null;return y.parts.push(_[0]<<8|_[1]),y.parts.push(_[2]<<8|_[3]),{parts:y.parts,zoneId:y.zoneId}}return null},v.IPv6.subnetMaskFromPrefixLength=function(d){if(d=parseInt(d),d<0||d>128)throw new Error("ipaddr: invalid IPv6 prefix length");const y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let g=0;const p=Math.floor(d/8);for(;g",p=c.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,h,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,p,u,Math.random()+"",o[0],o[1],h,null,v)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=Bt(n),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,c=o.dataType,v=u.getData(c),h=this._renderMode,d=r.positionDefault,m=Qa([v.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=m.get("trigger");if(!(g!=null&&g!=="item")){var p=u.getDataParams(f,c),y=new Zf;p.marker=y.makeTooltipMarker("item",gi(p.color),h);var _=qm(u.formatTooltip(f,!1,c)),w=m.get("order"),S=m.get("valueFormatter"),b=_.frag,x=b?Qm(S?X({valueFormatter:S},b):b,y,h,w,a.get("useUTC"),m.get("textStyle")):_.text,C="item_"+u.name+"_"+f;this._showOrMove(m,function(){this._showTooltipContent(m,x,p,C,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:f,dataIndex:v.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=Bt(n),o=a.tooltipConfig,s=o.option||{};if(nt(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(a.componentMainType,a.componentIndex);f&&u.push(f),u.push({formatter:s.content});var c=r.positionDefault,v=Qa(u,this._tooltipModel,c?{position:c}:null),h=v.get("content"),d=Math.random()+"",m=new Zf;this._showOrMove(v,function(){var g=bt(v.get("formatterParams")||{});this._showTooltipContent(v,h,g,d,r.offsetX,r.offsetY,r.position,n,m)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,l,u,f){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var c=this._tooltipContent;c.setEnterable(r.get("enterable"));var v=r.get("formatter");l=l||r.get("position");var h=n,d=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),m=d.color;if(v)if(nt(v)){var g=r.ecModel.get("useUTC"),p=et(i)?i[0]:i,y=p&&p.axisType&&p.axisType.indexOf("time")>=0;h=v,y&&(h=Lu(p.axisValue,h,g)),h=lb(h,i,!0)}else if(dt(v)){var _=Ht(function(w,S){w===this._ticket&&(c.setContent(S,f,r,m,l),this._updatePosition(r,l,o,s,c,i,u))},this);this._ticket=a,h=v(i,a,_)}else h=v;c.setContent(h,f,r,m,l),c.show(r,m),this._updatePosition(r,l,o,s,c,i,u)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||et(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!et(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();n=n||r.get("position");var c=o.getSize(),v=r.get("align"),h=r.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),dt(n)&&(n=n([i,a],s,o.el,d,{viewSize:[u,f],contentSize:c.slice()})),et(n))i=ce(n[0],u),a=ce(n[1],f);else if(st(n)){var m=n;m.width=c[0],m.height=c[1];var g=Yo(m,{width:u,height:f});i=g.x,a=g.y,v=null,h=null}else if(nt(n)&&l){var p=LF(n,d,c,r.get("borderWidth"));i=p[0],a=p[1]}else{var p=IF(i,a,o,u,f,v?null:20,h?null:20);i=p[0],a=p[1]}if(v&&(i-=g0(v)?c[0]/2:v==="right"?c[0]:0),h&&(a-=g0(h)?c[1]/2:h==="bottom"?c[1]:0),ZS(r)){var p=EF(i,a,o,u,f);i=p[0],a=p[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&P(i,function(s,l){var u=s.dataByAxis||[],f=r[l]||{},c=f.dataByAxis||[];o=o&&u.length===c.length,o&&P(u,function(v,h){var d=c[h]||{},m=v.seriesDataIndices||[],g=d.seriesDataIndices||[];o=o&&v.value===d.value&&v.axisType===d.axisType&&v.axisId===d.axisId&&m.length===g.length,o&&P(m,function(p,y){var _=g[y];o=o&&p.seriesIndex===_.seriesIndex&&p.dataIndex===_.dataIndex}),a&&P(v.seriesDataIndices,function(p){var y=p.seriesIndex,_=n[y],w=a[y];_&&w&&w.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){yt.node||!n.getDom()||(Ah(this,"_updatePosition"),this._tooltipContent.dispose(),Gh("itemTooltip",n))},t.type="tooltip",t}(Hr);function Qa(e,t,r){var n=t.ecModel,i;r?(i=new se(r,n,n),i=new se(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof se&&(o=o.get("tooltip",!0)),nt(o)&&(o={formatter:o}),o&&(i=new se(o,i,n)))}return i}function p0(e,t){return e.dispatchAction||Ht(t.dispatchAction,t)}function IF(e,t,r,n,i,a,o){var s=r.getSize(),l=s[0],u=s[1];return a!=null&&(e+l+a+2>n?e-=l+a:e+=a),o!=null&&(t+u+o>i?t-=u+o:t+=o),[e,t]}function EF(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function LF(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,f=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+f/2-a/2;break;case"top":s=t.x+u/2-i/2,l=t.y-a-o;break;case"bottom":s=t.x+u/2-i/2,l=t.y+f+o;break;case"left":s=t.x-i-o,l=t.y+f/2-a/2;break;case"right":s=t.x+u+o,l=t.y+f/2-a/2}return[s,l]}function g0(e){return e==="center"||e==="middle"}function RF(e,t,r){var n=Zv(e).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=us(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(!!o){var s=r.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=Bt(u).tooltipConfig;if(f&&f.name===e.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}var OF=PF;function lz(e){mi(KS),e.registerComponentModel(dF),e.registerComponentView(OF),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},be),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},be)}var kF=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(zt),BF=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){if(this.group.removeAll(),!!r.get("show")){var a=this.group,o=r.getModel("textStyle"),s=r.getModel("subtextStyle"),l=r.get("textAlign"),u=Dt(r.get("textBaseline"),r.get("textVerticalAlign")),f=new de({style:Cn(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),c=f.getBoundingRect(),v=r.get("subtext"),h=new de({style:Cn(s,{text:v,fill:s.getTextColor(),y:c.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=r.get("link"),m=r.get("sublink"),g=r.get("triggerEvent",!0);f.silent=!d&&!g,h.silent=!m&&!g,d&&f.on("click",function(){Pm(d,"_"+r.get("target"))}),m&&h.on("click",function(){Pm(m,"_"+r.get("subtarget"))}),Bt(f).eventData=Bt(h).eventData=g?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(f),v&&a.add(h);var p=a.getBoundingRect(),y=r.getBoxLayoutParams();y.width=p.width,y.height=p.height;var _=Yo(y,{width:i.getWidth(),height:i.getHeight()},r.get("padding"));l||(l=r.get("left")||r.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=r.get("top")||r.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),a.x=_.x,a.y=_.y,a.markRedraw();var w={align:l,verticalAlign:u};f.setStyle(w),h.setStyle(w),p=a.getBoundingRect();var S=_.margin,b=r.getItemStyle(["color","opacity"]);b.fill=r.get("backgroundColor");var x=new Jt({shape:{x:p.x-S[3],y:p.y-S[0],width:p.width+S[1]+S[3],height:p.height+S[0]+S[2],r:r.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});a.add(x)}},t.type="title",t}(Hr);function uz(e){e.registerComponentModel(kF),e.registerComponentView(BF)}function ex(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=ya(e,t,r[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o=0&&n.push(t[a])}return n.join(" ")}var FF=function(e){J(t,e);function t(r,n,i,a){var o=e.call(this)||this;return o.updateData(r,n,i,a),o}return t.prototype._createSymbol=function(r,n,i,a,o){this.removeAll();var s=_a(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=zF,this._symbolType=r,this.add(s)},t.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){ql(this.childAt(0))},t.prototype.downplay=function(){Xl(this.childAt(0))},t.prototype.setZ=function(r,n){var i=this.childAt(0);i.zlevel=r,i.z=n},t.prototype.setDraggable=function(r){var n=this.childAt(0);n.draggable=r,n.cursor=r?"move":n.cursor},t.prototype.updateData=function(r,n,i,a){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,l=t.getSymbolSize(r,n),u=o!==this._symbolType,f=a&&a.disableAnimation;if(u){var c=r.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,r,n,l,c)}else{var v=this.childAt(0);v.silent=!1;var h={scaleX:l[0]/2,scaleY:l[1]/2};f?v.attr(h):Tn(v,h,s,n),zL(v)}if(this._updateCommon(r,n,l,i,a),u){var v=this.childAt(0);if(!f){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:v.style.opacity}};v.scaleX=v.scaleY=0,v.style.opacity=0,cs(v,h,s,n)}}f&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(r,n,i,a,o){var s=this.childAt(0),l=r.hostModel,u,f,c,v,h,d,m,g,p;if(a&&(u=a.emphasisItemStyle,f=a.blurItemStyle,c=a.selectItemStyle,v=a.focus,h=a.blurScope,m=a.labelStatesModels,g=a.hoverScale,p=a.cursorStyle,d=a.emphasisDisabled),!a||r.hasItemOption){var y=a&&a.itemModel?a.itemModel:r.getItemModel(n),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),c=y.getModel(["select","itemStyle"]).getItemStyle(),f=y.getModel(["blur","itemStyle"]).getItemStyle(),v=_.get("focus"),h=_.get("blurScope"),d=_.get("disabled"),m=vd(y),g=_.getShallow("scale"),p=y.getShallow("cursor")}var w=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(w||0)*Math.PI/180||0);var S=Yb(r.getItemVisual(n,"symbolOffset"),i);S&&(s.x=S[0],s.y=S[1]),p&&s.attr("cursor",p);var b=r.getItemVisual(n,"style"),x=b.fill;if(s instanceof bi){var C=s.style;s.useStyle(X({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},b))}else s.__isEmptyBrush?s.useStyle(X({},b)):s.useStyle(b),s.style.decal=null,s.setColor(x,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var D=r.getItemVisual(n,"liftZ"),M=this._z2;D!=null?M==null&&(this._z2=s.z2,s.z2+=D):M!=null&&(s.z2=M,this._z2=null);var I=o&&o.useNameLabel;hd(s,m,{labelFetcher:l,labelDataIndex:n,defaultText:A,inheritColor:x,defaultOpacity:b.opacity});function A(H){return I?r.getName(H):ex(r,H)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var L=s.ensureState("emphasis");if(L.style=u,s.ensureState("select").style=c,s.ensureState("blur").style=f,g){var O=Math.max(1.1,3/this._sizeY);L.scaleX=this._sizeX*O,L.scaleY=this._sizeY*O}this.setSymbolScale(1),mh(this,v,h,d)},t.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},t.prototype.fadeOut=function(r,n,i){var a=this.childAt(0),o=Bt(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var l=a.getTextContent();l&&Kl(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();Kl(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},t.getSymbolSize=function(r,n){return BO(r.getItemVisual(n,"symbolSize"))},t}(ve);function zF(e,t){this.parent.drift(e,t)}var zd=FF;function pc(e,t,r,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&e.getItemVisual(r,"symbol")!=="none"}function m0(e){return e!=null&&!st(e)&&(e={isIgnore:e}),e||{}}function y0(e){var t=e.hostModel,r=t.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:vd(t),cursorStyle:t.get("cursor")}}var HF=function(){function e(t){this.group=new ve,this._SymbolCtor=t||zd}return e.prototype.updateData=function(t,r){this._progressiveEls=null,r=m0(r);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,l=y0(t),u={disableAnimation:s},f=r.getSymbolPoint||function(c){return t.getItemLayout(c)};a||n.removeAll(),t.diff(a).add(function(c){var v=f(c);if(pc(t,v,c,r)){var h=new o(t,c,l,u);h.setPosition(v),t.setItemGraphicEl(c,h),n.add(h)}}).update(function(c,v){var h=a.getItemGraphicEl(v),d=f(c);if(!pc(t,d,c,r)){n.remove(h);return}var m=t.getItemVisual(c,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==m)n.remove(h),h=new o(t,c,l,u),h.setPosition(d);else{h.updateData(t,c,l,u);var p={x:d[0],y:d[1]};s?h.attr(p):Tn(h,p,i)}n.add(h),t.setItemGraphicEl(c,h)}).remove(function(c){var v=a.getItemGraphicEl(c);v&&v.fadeOut(function(){n.remove(v)},i)}).execute(),this._getSymbolPoint=f,this._data=t},e.prototype.updateLayout=function(){var t=this,r=this._data;r&&r.eachItemGraphicEl(function(n,i){var a=t._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=y0(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r,n){this._progressiveEls=[],n=m0(n);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(zt),Uh=UF,Gi=Zt,Wh=P,nl=ve,WF=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new nl),this.group.add(this._selectorGroup=new nl),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(r,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var l=r.get("selector",!0),u=r.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,i,l,s,u);var f=r.getBoxLayoutParams(),c={width:i.getWidth(),height:i.getHeight()},v=r.get("padding"),h=Yo(f,c,v),d=this.layoutInner(r,o,h,a,l,u),m=Yo(Mt({width:d.width,height:d.height},f),c,v);this.group.x=m.x-d.x,this.group.y=m.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=hF(d,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(r,n,i,a,o,s,l){var u=this.getContentGroup(),f=gt(),c=n.get("selectedMode"),v=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&v.push(h.id)}),Wh(n.getData(),function(h,d){var m=h.get("name");if(!this.newlineDisabled&&(m===""||m===` +`)){var g=new nl;g.newline=!0,u.add(g);return}var p=i.getSeriesByName(m)[0];if(!f.get(m))if(p){var y=p.getData(),_=y.getVisual("legendLineStyle")||{},w=y.getVisual("legendIcon"),S=y.getVisual("style"),b=this._createItem(p,m,d,h,n,r,_,S,w,c);b.on("click",Gi(_0,m,null,a,v)).on("mouseover",Gi(Yh,p.name,null,a,v)).on("mouseout",Gi(qh,p.name,null,a,v)),f.set(m,!0)}else i.eachRawSeries(function(x){if(!f.get(m)&&x.legendVisualProvider){var C=x.legendVisualProvider;if(!C.containName(m))return;var D=C.indexOfName(m),M=C.getItemVisual(D,"style"),I=C.getItemVisual(D,"legendIcon"),A=kr(M.fill);A&&A[3]===0&&(A[3]=.2,M=X(X({},M),{fill:xu(A,"rgba")}));var L=this._createItem(x,m,d,h,n,r,{},M,I,c);L.on("click",Gi(_0,null,m,a,v)).on("mouseover",Gi(Yh,null,m,a,v)).on("mouseout",Gi(qh,null,m,a,v)),f.set(m,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();Wh(r,function(u){var f=u.type,c=new de({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(c);var v=n.getModel("selectorLabel"),h=n.getModel(["emphasis","selectorLabel"]);hd(c,{normal:v,emphasis:h},{defaultText:u.title}),gh(c)})},t.prototype._createItem=function(r,n,i,a,o,s,l,u,f,c){var v=r.visualDrawType,h=o.get("itemWidth"),d=o.get("itemHeight"),m=o.isSelected(n),g=a.get("symbolRotate"),p=a.get("symbolKeepAspect"),y=a.get("icon");f=y||f||"roundRect";var _=YF(f,a,l,u,v,m),w=new nl,S=a.getModel("textStyle");if(dt(r.getLegendIcon)&&(!y||y==="inherit"))w.add(r.getLegendIcon({itemWidth:h,itemHeight:d,icon:f,iconRotate:g,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:p}));else{var b=y==="inherit"&&r.getData().getVisual("symbol")?g==="inherit"?r.getData().getVisual("symbolRotate"):g:0;w.add(qF({itemWidth:h,itemHeight:d,icon:f,iconRotate:b,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:p}))}var x=s==="left"?h+5:-5,C=s,D=o.get("formatter"),M=n;nt(D)&&D?M=D.replace("{name}",n!=null?n:""):dt(D)&&(M=D(n));var I=a.get("inactiveColor");w.add(new de({style:Cn(S,{text:M,x,y:d/2,fill:m?S.getTextColor():I,align:C,verticalAlign:"middle"})}));var A=new Jt({shape:w.getBoundingRect(),invisible:!0}),L=a.getModel("tooltip");return L.get("show")&&fd({el:A,componentModel:o,itemName:n,itemTooltipOption:L.option}),w.add(A),w.eachChild(function(O){O.silent=!0}),A.silent=!c,this.getContentGroup().add(w),gh(w),w.__legendDataIndex=i,w},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();To(r.get("orient"),l,r.get("itemGap"),i.width,i.height);var f=l.getBoundingRect(),c=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){To("horizontal",u,r.get("selectorItemGap",!0));var v=u.getBoundingRect(),h=[-v.x,-v.y],d=r.get("selectorButtonGap",!0),m=r.getOrient().index,g=m===0?"width":"height",p=m===0?"height":"width",y=m===0?"y":"x";s==="end"?h[m]+=f[g]+d:c[m]+=v[g]+d,h[1-m]+=f[p]/2-v[p]/2,u.x=h[0],u.y=h[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[g]=f[g]+d+v[g],_[p]=Math.max(f[p],v[p]),_[y]=Math.min(0,v[y]+h[1-m]),_}else return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Hr);function YF(e,t,r,n,i,a){function o(d,m){d.lineWidth==="auto"&&(d.lineWidth=m.lineWidth>0?2:0),Wh(d,function(g,p){d[p]==="inherit"&&(d[p]=m[p])})}var s=t.getModel("itemStyle"),l=s.getItemStyle(),u=e.lastIndexOf("empty",0)===0?"fill":"stroke";l.decal=n.decal,l.fill==="inherit"&&(l.fill=n[i]),l.stroke==="inherit"&&(l.stroke=n[u]),l.opacity==="inherit"&&(l.opacity=(i==="fill"?n:r).opacity),o(l,n);var f=t.getModel("lineStyle"),c=f.getLineStyle();if(o(c,r),l.fill==="auto"&&(l.fill=n.fill),l.stroke==="auto"&&(l.stroke=n.fill),c.stroke==="auto"&&(c.stroke=n.fill),!a){var v=t.get("inactiveBorderWidth"),h=l[u];l.lineWidth=v==="auto"?n.lineWidth>0&&h?2:0:l.lineWidth,l.fill=t.get("inactiveColor"),l.stroke=t.get("inactiveBorderColor"),c.stroke=f.get("inactiveColor"),c.lineWidth=f.get("inactiveWidth")}return{itemStyle:l,lineStyle:c}}function qF(e){var t=e.icon||"roundRect",r=_a(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function _0(e,t,r,n){qh(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e!=null?e:t}),Yh(e,t,r,n)}function rx(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;ni[o],g=[-h.x,-h.y];n||(g[a]=f[u]);var p=[0,0],y=[-d.x,-d.y],_=Dt(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(m){var w=r.get("pageButtonPosition",!0);w==="end"?y[a]+=i[o]-d[o]:p[a]+=d[o]+_}y[1-a]+=h[s]/2-d[s]/2,f.setPosition(g),c.setPosition(p),v.setPosition(y);var S={x:0,y:0};if(S[o]=m?i[o]:h[o],S[s]=Math.max(h[s],d[s]),S[l]=Math.min(0,d[l]+y[1-a]),c.__rectSize=i[o],m){var b={x:0,y:0};b[o]=Math.max(i[o]-d[o]-_,0),b[s]=S[s],c.setClipPath(new Jt({shape:b})),c.__rectSize=b[o]}else v.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(r);return x.pageIndex!=null&&Tn(f,{x:x.contentPosition[0],y:x.contentPosition[1]},m?r:null),this._updatePageInfoView(r,x),S},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;P(["pagePrev","pageNext"],function(f){var c=f+"DataIndex",v=n[c]!=null,h=i.childOfName(f);h&&(h.setStyle("fill",v?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),h.cursor=v?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;a&&o&&a.setStyle("text",nt(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=gc[o],l=mc[o],u=this._findTargetItemIndex(n),f=i.children(),c=f[u],v=f.length,h=v?1:0,d={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var m=w(c);d.contentPosition[o]=-m.s;for(var g=u+1,p=m,y=m,_=null;g<=v;++g)_=w(f[g]),(!_&&y.e>p.s+a||_&&!S(_,p.s))&&(y.i>p.i?p=y:p=_,p&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=p.i),++d.pageCount)),y=_;for(var g=u-1,p=m,y=m,_=null;g>=-1;--g)_=w(f[g]),(!_||!S(y,_.s))&&p.i=x&&b.s<=x+a}},t.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===r&&(n=s)}),n!=null?n:a},t.type="legend.scroll",t}(nx),JF=QF;function t5(e){e.registerAction("legendScroll","legendscroll",function(t,r){var n=t.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function e5(e){mi(ix),e.registerComponentModel(ZF),e.registerComponentView(JF),t5(e)}function fz(e){mi(ix),mi(e5)}var r5=function(e){J(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r){return Jk(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(r){var n=new ve,i=_a("line",0,r.itemHeight/2,r.itemWidth,0,r.lineStyle.stroke,!1);n.add(i),i.setStyle(r.lineStyle);var a=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=a==="none"?"circle":a,l=r.itemHeight*.8,u=_a(s,(r.itemWidth-l)/2,(r.itemHeight-l)/2,l,l,r.itemStyle.fill);n.add(u),u.setStyle(r.itemStyle);var f=r.iconRotate==="inherit"?o:r.iconRotate||0;return u.rotation=f*Math.PI/180,u.setOrigin([r.itemWidth/2,r.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),n},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ko),n5=r5;function ax(e,t,r){var n=e.getBaseAxis(),i=e.getOtherAxis(n),a=i5(i,r),o=n.dim,s=i.dim,l=t.mapDimension(s),u=t.mapDimension(o),f=s==="x"||s==="radius"?1:0,c=ct(e.dimensions,function(d){return t.mapDimension(d)}),v=!1,h=t.getCalculationInfo("stackResultDimension");return Jo(t,c[0])&&(v=!0,c[0]=h),Jo(t,c[1])&&(v=!0,c[1]=h),{dataDimsForPoint:c,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!v,valueDim:l,baseDim:u,baseDataOffset:f,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function i5(e,t){var r=0,n=e.scale.getExtent();return t==="start"?r=n[0]:t==="end"?r=n[1]:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function ox(e,t,r,n){var i=NaN;e.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=r.get(e.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function a5(e,t){var r=[];return t.diff(e).add(function(n){r.push({cmd:"+",idx:n})}).update(function(n,i){r.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){r.push({cmd:"-",idx:n})}).execute(),r}function o5(e,t,r,n,i,a,o,s){for(var l=a5(e,t),u=[],f=[],c=[],v=[],h=[],d=[],m=[],g=ax(i,t,o),p=e.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_=i||m<0)break;if(ui(p,y)){if(l){m+=a;continue}break}if(m===r)e[a>0?"moveTo":"lineTo"](p,y),c=p,v=y;else{var _=p-u,w=y-f;if(_*_+w*w<.5){m+=a;continue}if(o>0){for(var S=m+a,b=t[S*2],x=t[S*2+1];b===p&&x===y&&g=n||ui(b,x))h=p,d=y;else{M=b-u,I=x-f;var O=p-u,H=b-p,B=y-f,Q=x-y,G=void 0,K=void 0;if(s==="x"){G=Math.abs(O),K=Math.abs(H);var lt=M>0?1:-1;h=p-lt*G*o,d=y,A=p+lt*K*o,L=y}else if(s==="y"){G=Math.abs(B),K=Math.abs(Q);var _t=I>0?1:-1;h=p,d=y-_t*G*o,A=p,L=y+_t*K*o}else G=Math.sqrt(O*O+B*B),K=Math.sqrt(H*H+Q*Q),D=K/(K+G),h=p-M*o*(1-D),d=y-I*o*(1-D),A=p+M*o*D,L=y+I*o*D,A=en(A,rn(b,p)),L=en(L,rn(x,y)),A=rn(A,en(b,p)),L=rn(L,en(x,y)),M=A-p,I=L-y,h=p-M*G/K,d=y-I*G/K,h=en(h,rn(u,p)),d=en(d,rn(f,y)),h=rn(h,en(u,p)),d=rn(d,en(f,y)),M=p-h,I=y-d,A=p+M*K/G,L=y+I*K/G}e.bezierCurveTo(c,v,h,d,p,y),c=A,v=L}else e.lineTo(p,y)}u=p,f=y,m+=a}return g}var sx=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),s5=function(e){J(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new sx},t.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&ui(i[o*2-2],i[o*2-1]);o--);for(;a=0){var w=u?(d-l)*_+l:(h-s)*_+s;return u?[r,w]:[w,r]}s=h,l=d;break;case o.C:h=a[c++],d=a[c++],m=a[c++],g=a[c++],p=a[c++],y=a[c++];var S=u?zl(s,h,m,p,r,f):zl(l,d,g,y,r,f);if(S>0)for(var b=0;b=0){var w=u?qt(l,d,g,y,x):qt(s,h,m,p,x);return u?[r,w]:[w,r]}}s=p,l=y;break}}},t}(kt),l5=function(e){J(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(sx),u5=function(e){J(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new l5},t.prototype.buildPath=function(r,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&ui(i[s*2-2],i[s*2-1]);s--);for(;ot){a?r.push(o(a,l,t)):i&&r.push(o(i,l,0),o(i,l,t));break}else i&&(r.push(o(i,l,0)),i=null),r.push(l),a=l}return r}function d5(e,t,r){var n=e.getVisual("visualMeta");if(!(!n||!n.length||!e.count())&&t.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=e.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(!!a){var l=t.getAxis(i),u=ct(a.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,c=a.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),c.reverse());var v=v5(u,i==="x"?r.getWidth():r.getHeight()),h=v.length;if(!h&&f)return u[0].coord<0?c[1]?c[1]:u[f-1].color:c[0]?c[0]:u[0].color;var d=10,m=v[0].coord-d,g=v[h-1].coord+d,p=g-m;if(p<.001)return"transparent";P(v,function(_){_.offset=(_.coord-m)/p}),v.push({offset:h?v[h-1].offset:.5,color:c[1]||"transparent"}),v.unshift({offset:h?v[0].offset:.5,color:c[0]||"transparent"});var y=new $w(0,0,0,0,v,!0);return y[i]=m,y[i+"2"]=g,y}}}function p5(e,t,r){var n=e.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(!!a&&!(i&&g5(a,t))){var o=t.mapDimension(a.dim),s={};return P(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function g5(e,t){var r=e.getExtent(),n=Math.abs(r[1]-r[0])/e.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;on)return!1;return!0}function m5(e,t){return isNaN(e)||isNaN(t)}function y5(e){for(var t=e.length/2;t>0&&m5(e[t*2-2],e[t*2-1]);t--);return t-1}function D0(e,t){return[e[t*2],e[t*2+1]]}function _5(e,t,r){for(var n=e.length/2,i=r==="x"?0:1,a,o,s=0,l=-1,u=0;u=t||a>=t&&o<=t){l=u;break}s=u,a=o}return{range:[s,l],t:(t-a)/(o-a)}}function lx(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var lt=m.getState("emphasis").style;lt.lineWidth=+m.style.lineWidth+1}Bt(m).seriesIndex=r.seriesIndex,mh(m,Q,G,K);var _t=C0(r.get("smooth")),mt=r.get("smoothMonotone");if(m.setShape({smooth:_t,smoothMonotone:mt,connectNulls:C}),g){var pt=l.getCalculationInfo("stackedOnSeries"),At=0;g.useStyle(Mt(f.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),pt&&(At=C0(pt.get("smooth"))),g.setShape({smooth:_t,stackedOnSmooth:At,smoothMonotone:mt,connectNulls:C}),lm(g,r,"areaStyle"),Bt(g).seriesIndex=r.seriesIndex,mh(g,Q,G,K)}var k=function(U){a._changePolyState(U)};l.eachItemGraphicEl(function(U){U&&(U.onHoverStateChange=k)}),this._polyline.onHoverStateChange=k,this._data=l,this._coordSys=o,this._stackedOnPoints=b,this._points=c,this._step=I,this._valueOrigin=w,r.get("triggerLineEvent")&&(this.packEventData(r,m),g&&this.packEventData(r,g))},t.prototype.packEventData=function(r,n){Bt(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},t.prototype.highlight=function(r,n,i,a){var o=r.getData(),s=vi(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],c=l[s*2+1];if(isNaN(f)||isNaN(c)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,c))return;var v=r.get("zlevel"),h=r.get("z");u=new zd(o,s),u.x=f,u.y=c,u.setZ(v,h);var d=u.getSymbolPath().getTextContent();d&&(d.zlevel=v,d.z=h,d.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else wn.prototype.highlight.call(this,r,n,i,a)},t.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=vi(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else wn.prototype.downplay.call(this,r,n,i,a)},t.prototype._changePolyState=function(r){var n=this._polygon;nm(this._polyline,r),n&&nm(n,r)},t.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new s5({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(r,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new u5({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(r,n,i){var a,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var u=r.hostModel,f=u.get("animationDuration");dt(f)&&(f=f(null));var c=u.get("animationDelay")||0,v=dt(c)?c(null):c;r.eachItemGraphicEl(function(h,d){var m=h;if(m){var g=[h.x,h.y],p=void 0,y=void 0,_=void 0;if(i)if(o){var w=i,S=n.pointToCoord(g);a?(p=w.startAngle,y=w.endAngle,_=-S[1]/180*Math.PI):(p=w.r0,y=w.r,_=S[0])}else{var b=i;a?(p=b.x,y=b.x+b.width,_=h.x):(p=b.y+b.height,y=b.y,_=h.y)}var x=y===p?0:(_-p)/(y-p);l&&(x=1-x);var C=dt(c)?c(d):f*x+v,D=m.getSymbolPath(),M=D.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:C}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:C}),D.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(lx(r)){var o=r.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new de({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=y5(l);f>=0&&(hd(s,vd(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:f,defaultText:function(c,v,h){return h!=null?NF(o,h):ex(o,c)},enableTextSetter:!0},w5(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(r,n,i,a,o,s,l){var u=this._endLabel,f=this._polyline;if(u){r<1&&a.originalX==null&&(a.originalX=u.x,a.originalY=u.y);var c=i.getLayout("points"),v=i.hostModel,h=v.get("connectNulls"),d=s.get("precision"),m=s.get("distance")||0,g=l.getBaseAxis(),p=g.isHorizontal(),y=g.inverse,_=n.shape,w=y?p?_.x:_.y+_.height:p?_.x+_.width:_.y,S=(p?m:0)*(y?-1:1),b=(p?0:-m)*(y?-1:1),x=p?"x":"y",C=_5(c,w,x),D=C.range,M=D[1]-D[0],I=void 0;if(M>=1){if(M>1&&!h){var A=D0(c,D[0]);u.attr({x:A[0]+S,y:A[1]+b}),o&&(I=v.getRawValue(D[0]))}else{var A=f.getPointOn(w,x);A&&u.attr({x:A[0]+S,y:A[1]+b});var L=v.getRawValue(D[0]),O=v.getRawValue(D[1]);o&&(I=RI(i,d,L,O,C.t))}a.lastFrameIndex=D[0]}else{var H=r===1||a.lastFrameIndex>0?D[0]:0,A=D0(c,H);o&&(I=v.getRawValue(H)),u.attr({x:A[0]+S,y:A[1]+b})}o&&qw(u).setLabelText(I)}},t.prototype._doUpdateAnimation=function(r,n,i,a,o,s,l){var u=this._polyline,f=this._polygon,c=r.hostModel,v=o5(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),h=v.current,d=v.stackedOnCurrent,m=v.next,g=v.stackedOnNext;if(o&&(h=nn(v.current,i,o,l),d=nn(v.stackedOnCurrent,i,o,l),m=nn(v.next,i,o,l),g=nn(v.stackedOnNext,i,o,l)),T0(h,m)>3e3||f&&T0(d,g)>3e3){u.stopAnimation(),u.setShape({points:m}),f&&(f.stopAnimation(),f.setShape({points:m,stackedOnPoints:g}));return}u.shape.__points=v.current,u.shape.points=h;var p={shape:{points:m}};v.current!==h&&(p.shape.__points=v.next),u.stopAnimation(),Tn(u,p,c),f&&(f.setShape({points:h,stackedOnPoints:d}),f.stopAnimation(),Tn(f,{shape:{stackedOnPoints:g}},c),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var y=[],_=v.status,w=0;w<_.length;w++){var S=_[w].cmd;if(S==="="){var b=r.getItemGraphicEl(_[w].idx1);b&&y.push({el:b,ptIdx:w})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var x=u.shape.__points,C=0;Ct&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r10&&o.type==="cartesian2d"&&a){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),c=n.getDevicePixelRatio(),v=Math.abs(f[1]-f[0])*(c||1),h=Math.round(s/v);if(isFinite(h)&&h>1){a==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h));var d=void 0;nt(a)?d=T5[a]:dt(a)&&(d=a),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,d,C5))}}}}}function cz(e){e.registerChartView(S5),e.registerSeriesModel(n5),e.registerLayout(x5("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var r=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,D5("line"))}function M0(e,t,r){var n=wi.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=a*r,n}var M5=function(e){J(t,e);function t(r,n,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||Ul,typeof r=="string"?o=M0(r,n,i):st(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(_1(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=M0("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new Ot(0,0,0,0);function f(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var _=new Ot(0,0,0,0);_.copy(y),o.push(_)}else{for(var w=!1,S=1/0,b=0,x=0;x=s)}}for(var c=this.__startIndex;c15)break}}O.prevElClipPaths&&p.restore()};if(y)if(y.length===0)C=g.__endIndex;else for(var M=h.dpr,I=0;I0&&t>i[0]){for(l=0;lt);l++);s=n[i[l]]}if(i.splice(l+1,0,t),n[t]=r,!r.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(r.dom,u.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.__painter=this}},e.prototype.eachLayer=function(t,r){for(var n=this._zlevelList,i=0;i0?il:0),this._needsManuallyCompositing),f.__builtin__||Fv("ZLevel "+u+" has been used by unkown layer "+f.id),f!==a&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,r(l),a=f),i.__dirty&Ae&&!i.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}r(l),this.eachBuiltinLayer(function(c,v){!c.__used&&c.getElementCount()>0&&(c.__dirty=!0,c.__startIndex=c.__endIndex=c.__drawIndex=0),c.__dirty&&c.__drawIndex<0&&(c.__drawIndex=c.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,P(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?Ct(n[t],r,!0):n[t]=r;for(var i=0;i=0;)g++;if(d.substr(0,2)==="::"&&g--,d.substr(-2,2)==="::"&&g--,g>m)return null;for(w=m-g,_=":";w--;)_+="0:";return d=d.replace("::",_),d[0]===":"&&(d=d.slice(1)),d[d.length-1]===":"&&(d=d.slice(0,-1)),m=function(){const S=d.split(":"),b=[];for(let x=0;x0;){if(_=g-p,_<0&&(_=0),d[y]>>_!==m[y]>>_)return!1;p-=g,y+=1}return!0}function c(d){if(a.test(d))return parseInt(d,16);if(d[0]==="0"&&!isNaN(parseInt(d[1],10))){if(i.test(d))return parseInt(d,8);throw new Error(`ipaddr: cannot parse ${d} as octal`)}return parseInt(d,10)}function v(d,m){for(;d.length=0;y-=1)if(_=this.octets[y],_ in p){if(w=p[_],g&&w!==0)return null;w!==8&&(g=!0),m+=w}else return null;return 32-m},d.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},d.prototype.toByteArray=function(){return this.octets.slice(0)},d.prototype.toIPv4MappedAddress=function(){return h.IPv6.parse(`::ffff:${this.toString()}`)},d.prototype.toNormalizedString=function(){return this.toString()},d.prototype.toString=function(){return this.octets.join(".")},d}(),h.IPv4.broadcastAddressFromCIDR=function(d){try{const m=this.parseCIDR(d),g=m[0].toByteArray(),p=this.subnetMaskFromPrefixLength(m[1]).toByteArray(),y=[];let _=0;for(;_<4;)y.push(parseInt(g[_],10)|parseInt(p[_],10)^255),_++;return new this(y)}catch(m){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.isIPv4=function(d){return this.parser(d)!==null},h.IPv4.isValid=function(d){try{return new this(this.parser(d)),!0}catch(m){return!1}},h.IPv4.isValidFourPartDecimal=function(d){return!!(h.IPv4.isValid(d)&&d.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},h.IPv4.networkAddressFromCIDR=function(d){let m,g,p,y,_;try{for(m=this.parseCIDR(d),p=m[0].toByteArray(),_=this.subnetMaskFromPrefixLength(m[1]).toByteArray(),y=[],g=0;g<4;)y.push(parseInt(p[g],10)&parseInt(_[g],10)),g++;return new this(y)}catch(w){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},h.IPv4.parse=function(d){const m=this.parser(d);if(m===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(m)},h.IPv4.parseCIDR=function(d){let m;if(m=d.match(/^(.+)\/(\d+)$/)){const g=parseInt(m[2]);if(g>=0&&g<=32){const p=[this.parse(m[1]),g];return Object.defineProperty(p,"toString",{value:function(){return this.join("/")}}),p}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},h.IPv4.parser=function(d){let m,g,p;if(m=d.match(n.fourOctet))return function(){const y=m.slice(1,6),_=[];for(let w=0;w4294967295||p<0)throw new Error("ipaddr: address outside defined range");return function(){const y=[];let _;for(_=0;_<=24;_+=8)y.push(p>>_&255);return y}().reverse()}else return(m=d.match(n.twoOctet))?function(){const y=m.slice(1,4),_=[];if(p=c(y[1]),p>16777215||p<0)throw new Error("ipaddr: address outside defined range");return _.push(c(y[0])),_.push(p>>16&255),_.push(p>>8&255),_.push(p&255),_}():(m=d.match(n.threeOctet))?function(){const y=m.slice(1,5),_=[];if(p=c(y[2]),p>65535||p<0)throw new Error("ipaddr: address outside defined range");return _.push(c(y[0])),_.push(c(y[1])),_.push(p>>8&255),_.push(p&255),_}():null},h.IPv4.subnetMaskFromPrefixLength=function(d){if(d=parseInt(d),d<0||d>32)throw new Error("ipaddr: invalid IPv4 prefix length");const m=[0,0,0,0];let g=0;const p=Math.floor(d/8);for(;g=0;w-=1)if(y=this.parts[w],y in p){if(_=p[y],g&&_!==0)return null;_!==16&&(g=!0),m+=_}else return null;return 128-m},d.prototype.range=function(){return h.subnetMatch(this,this.SpecialRanges)},d.prototype.toByteArray=function(){let m;const g=[],p=this.parts;for(let y=0;y>8),g.push(m&255);return g},d.prototype.toFixedLengthString=function(){const m=function(){const p=[];for(let y=0;y>8,g&255,p>>8,p&255])},d.prototype.toNormalizedString=function(){const m=function(){const p=[];for(let y=0;yy&&(p=_.index,y=_[0].length);return y<0?g:`${g.substring(0,p)}::${g.substring(p+y)}`},d.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},d}(),h.IPv6.broadcastAddressFromCIDR=function(d){try{const m=this.parseCIDR(d),g=m[0].toByteArray(),p=this.subnetMaskFromPrefixLength(m[1]).toByteArray(),y=[];let _=0;for(;_<16;)y.push(parseInt(g[_],10)|parseInt(p[_],10)^255),_++;return new this(y)}catch(m){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${m})`)}},h.IPv6.isIPv6=function(d){return this.parser(d)!==null},h.IPv6.isValid=function(d){if(typeof d=="string"&&d.indexOf(":")===-1)return!1;try{const m=this.parser(d);return new this(m.parts,m.zoneId),!0}catch(m){return!1}},h.IPv6.networkAddressFromCIDR=function(d){let m,g,p,y,_;try{for(m=this.parseCIDR(d),p=m[0].toByteArray(),_=this.subnetMaskFromPrefixLength(m[1]).toByteArray(),y=[],g=0;g<16;)y.push(parseInt(p[g],10)&parseInt(_[g],10)),g++;return new this(y)}catch(w){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${w})`)}},h.IPv6.parse=function(d){const m=this.parser(d);if(m.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(m.parts,m.zoneId)},h.IPv6.parseCIDR=function(d){let m,g,p;if((g=d.match(/^(.+)\/(\d+)$/))&&(m=parseInt(g[2]),m>=0&&m<=128))return p=[this.parse(g[1]),m],Object.defineProperty(p,"toString",{value:function(){return this.join("/")}}),p;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},h.IPv6.parser=function(d){let m,g,p,y,_,w;if(p=d.match(l.deprecatedTransitional))return this.parser(`::ffff:${p[1]}`);if(l.native.test(d))return u(d,8);if((p=d.match(l.transitional))&&(w=p[6]||"",m=u(p[1].slice(0,-1)+w,6),m.parts)){for(_=[parseInt(p[2]),parseInt(p[3]),parseInt(p[4]),parseInt(p[5])],g=0;g<_.length;g++)if(y=_[g],!(0<=y&&y<=255))return null;return m.parts.push(_[0]<<8|_[1]),m.parts.push(_[2]<<8|_[3]),{parts:m.parts,zoneId:m.zoneId}}return null},h.IPv6.subnetMaskFromPrefixLength=function(d){if(d=parseInt(d),d<0||d>128)throw new Error("ipaddr: invalid IPv6 prefix length");const m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let g=0;const p=Math.floor(d/8);for(;g