diff --git a/UnblockNeteaseMusic-Go/Makefile b/UnblockNeteaseMusic-Go/Makefile index 0bf6c3180..f72798d96 100644 --- a/UnblockNeteaseMusic-Go/Makefile +++ b/UnblockNeteaseMusic-Go/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/cnsilvan/UnblockNeteaseMusic/tar.gz/$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=92201b7f04ab1015c806c672b98a29b97d0f137d9b60e6d35d279c2064ed86a4 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILE:=LICENSE @@ -35,7 +35,7 @@ GO_PKG_LDFLAGS+= \ -X '$(GO_PKG)/version.ExGoVersionInfo=$(GO_ARM) $(GO_MIPS)$(GO_MIPS64)' include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/UnblockNeteaseMusic-Go/config config UNBLOCKNETEASEMUSIC_GO_COMPRESS_GOPROXY diff --git a/UnblockNeteaseMusic/Makefile b/UnblockNeteaseMusic/Makefile index aa2babc55..f51f25017 100644 --- a/UnblockNeteaseMusic/Makefile +++ b/UnblockNeteaseMusic/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git PKG_SOURCE_DATE:=2021-12-21 PKG_SOURCE_VERSION:=54b7a60b07a85dea3b52a5d9f1ada456aba12609 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=1865a01021ced0a57bcb1f0d63ef72b0e517771602ad7e4026d18222713a77ac PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION)) diff --git a/amule/Makefile b/amule/Makefile index 5d555c41d..7139e5722 100644 --- a/amule/Makefile +++ b/amule/Makefile @@ -18,7 +18,7 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_URL:=https://github.com/amule-project/amule.git -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=102c4cb3dd2858db06fff19c5e2d0b65c6731b366f45df2adcd40fd0cd0fec47 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DEPENDS:=libgd libcryptopp diff --git a/baidupcs-web/Makefile b/baidupcs-web/Makefile index 699ead52c..b55155d67 100644 --- a/baidupcs-web/Makefile +++ b/baidupcs-web/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/Erope/BaiduPCS-Go/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=6efd1c5e4cf5cf876204bed246c70ea0212ad078d4eb7703d7f1179b39551d1d PKG_BUILD_DIR:=$(BUILD_DIR)/BaiduPCS-Go-$(PKG_VERSION) PKG_LICENSE:=Apache-2.0 @@ -24,7 +24,7 @@ GO_PKG:=github.com/Erope/BaiduPCS-Go GO_PKG_LDFLAGS_X:=main.Version=v$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/baidupcs-web SECTION:=net diff --git a/bpytop/Makefile b/bpytop/Makefile index 3b006c495..51e85f68b 100644 --- a/bpytop/Makefile +++ b/bpytop/Makefile @@ -9,14 +9,14 @@ PKG_VERSION:=1.0.68 PKG_RELEASE:=$(AUTORELEASE) PYPI_NAME:=bpytop -PKG_HASH:=skip +PKG_HASH:=53b66788e8d7c7abbab43c6275fa1c3b2316e56e46f7a093f2f4dfb397549bb2 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE -include $(TOPDIR)/feeds/packages/lang/python/pypi.mk +include ../../lang/python/pypi.mk include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk +include ../../lang/python/python3-package.mk define Package/bpytop SECTION:=admin diff --git a/brook/Makefile b/brook/Makefile index ae43abc81..c82788aa8 100644 --- a/brook/Makefile +++ b/brook/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/txthinking/brook/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=cf4433263cc755edfe56be66d206b7ee5083faaaa8b30bb4102174ad73e22764 PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=GPL-3.0 diff --git a/cdnspeedtest/Makefile b/cdnspeedtest/Makefile index e83106cec..57e961c3f 100644 --- a/cdnspeedtest/Makefile +++ b/cdnspeedtest/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/XIU2/CloudflareSpeedTest/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=faee35e74a651717e903517369ea0bd67968ba22522a64a34040d9bcd3ca5879 PKG_LICENSE:=GPL-3.0-only PKG_LICENSE_FILE:=LICENSE @@ -24,7 +24,7 @@ GO_PKG:=CloudflareSpeedTest GO_PKG_LDFLAGS_X:=main.version=v$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/cdnspeedtest SECTION:=net diff --git a/chinadns-ng/Makefile b/chinadns-ng/Makefile index 8b18e6546..8158b4d75 100644 --- a/chinadns-ng/Makefile +++ b/chinadns-ng/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/zfl9/chinadns-ng.git PKG_SOURCE_DATE:=2021-05-08 PKG_SOURCE_VERSION:=14cc6348d67b09cae37d9bce554c89c2c0e0b265 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=3b66fc0888d9488e3b8e39df3016d51fae1b43325d292381e94aa3c7d2318282 PKG_LICENSE:=AGPL-3.0-only PKG_LICENSE_FILES:=LICENSE diff --git a/cpulimit/Makefile b/cpulimit/Makefile index 81e506ffa..eb259812d 100644 --- a/cpulimit/Makefile +++ b/cpulimit/Makefile @@ -6,7 +6,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/denji/cpulimit/tar.gz/$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=0c61d394407fdd0547b53e6435ecb817d2e3ba914b48aa9f48ccf42c8278d3a6 PKG_BUILD_PARALLEL:=1 PKG_LICENSE_FILES:=LICENSE diff --git a/create_acl_for_luci.err b/create_acl_for_luci.err new file mode 100644 index 000000000..6cc004bbc --- /dev/null +++ b/create_acl_for_luci.err @@ -0,0 +1,137 @@ +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-autorepeater: has no/multi config file(s), skipping... +./luci-app-ddnsto: has no/multi config file(s), skipping... +./luci-app-ddnsto: has no/multi config file(s), skipping... +./luci-app-ddnsto: has no/multi config file(s), skipping... +./luci-app-ddnsto: has no/multi config file(s), skipping... +./luci-app-ddnsto: has no/multi config file(s), skipping... +./luci-app-diskman: has no/multi config file(s), skipping... +./luci-app-diskman: has no/multi config file(s), skipping... +./luci-app-diskman: has no/multi config file(s), skipping... +./luci-app-diskman: has no/multi config file(s), skipping... +./luci-app-dnscrypt-proxy2: has no/multi config file(s), skipping... +./luci-app-dnscrypt-proxy2: has no/multi config file(s), skipping... +./luci-app-dnscrypt-proxy2: has no/multi config file(s), skipping... +./luci-app-dnscrypt-proxy2: has no/multi config file(s), skipping... +./luci-app-dnscrypt-proxy2: has no/multi config file(s), skipping... +./luci-app-dnsmasq-ipset: has no/multi config file(s), skipping... +./luci-app-dnsmasq-ipset: has no/multi config file(s), skipping... +./luci-app-dnsmasq-ipset: has no/multi config file(s), skipping... +./luci-app-dnsmasq-ipset: has no/multi config file(s), skipping... +./luci-app-dnsmasq-ipset: has no/multi config file(s), skipping... +./luci-app-dnsmasq-ipset: has no/multi config file(s), skipping... +./luci-app-gpsysupgrade: has no/multi config file(s), skipping... +./luci-app-gpsysupgrade: has no/multi config file(s), skipping... +./luci-app-gpsysupgrade: has no/multi config file(s), skipping... +./luci-app-gpsysupgrade: has no/multi config file(s), skipping... +./luci-app-gpsysupgrade: has no/multi config file(s), skipping... +./luci-app-gpsysupgrade: has no/multi config file(s), skipping... +./luci-app-homebridge: has no/multi config file(s), skipping... +./luci-app-homebridge: has no/multi config file(s), skipping... +./luci-app-homebridge: has no/multi config file(s), skipping... +./luci-app-homebridge: has no/multi config file(s), skipping... +./luci-app-iptvhelper: has no/multi config file(s), skipping... +./luci-app-iptvhelper: has no/multi config file(s), skipping... +./luci-app-iptvhelper: has no/multi config file(s), skipping... +./luci-app-iptvhelper: has no/multi config file(s), skipping... +./luci-app-iptvhelper: has no/multi config file(s), skipping... +./luci-app-koolproxyR: has no/multi config file(s), skipping... +./luci-app-koolproxyR: has no/multi config file(s), skipping... +./luci-app-koolproxyR: has no/multi config file(s), skipping... +./luci-app-koolproxyR: has no/multi config file(s), skipping... +./luci-app-koolproxyR: has no/multi config file(s), skipping... +./luci-app-koolproxyR: has no/multi config file(s), skipping... +./luci-app-linkease: has no/multi config file(s), skipping... +./luci-app-linkease: has no/multi config file(s), skipping... +./luci-app-linkease: has no/multi config file(s), skipping... +./luci-app-linkease: has no/multi config file(s), skipping... +./luci-app-linkease: has no/multi config file(s), skipping... +./luci-app-mentohust: has no/multi config file(s), skipping... +./luci-app-mentohust: has no/multi config file(s), skipping... +./luci-app-mentohust: has no/multi config file(s), skipping... +./luci-app-mentohust: has no/multi config file(s), skipping... +./luci-app-mentohust: has no/multi config file(s), skipping... +./luci-app-minieap: has no/multi config file(s), skipping... +./luci-app-minieap: has no/multi config file(s), skipping... +./luci-app-minieap: has no/multi config file(s), skipping... +./luci-app-minieap: has no/multi config file(s), skipping... +./luci-app-minieap: has no/multi config file(s), skipping... +./luci-app-oaf: has no/multi config file(s), skipping... +./luci-app-oaf: has no/multi config file(s), skipping... +./luci-app-oaf: has no/multi config file(s), skipping... +./luci-app-oaf: has no/multi config file(s), skipping... +./luci-app-oaf: has no/multi config file(s), skipping... +./luci-app-oaf: has no/multi config file(s), skipping... +./luci-app-onliner: has no/multi config file(s), skipping... +./luci-app-onliner: has no/multi config file(s), skipping... +./luci-app-onliner: has no/multi config file(s), skipping... +./luci-app-onliner: has no/multi config file(s), skipping... +./luci-app-onliner: has no/multi config file(s), skipping... +./luci-app-onliner: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroff: has no/multi config file(s), skipping... +./luci-app-poweroffdevice: has no/multi config file(s), skipping... +./luci-app-poweroffdevice: has no/multi config file(s), skipping... +./luci-app-poweroffdevice: has no/multi config file(s), skipping... +./luci-app-poweroffdevice: has no/multi config file(s), skipping... +./luci-app-poweroffdevice: has no/multi config file(s), skipping... +./luci-app-poweroffdevice: has no/multi config file(s), skipping... +./luci-app-quickstart: has no/multi config file(s), skipping... +./luci-app-quickstart: has no/multi config file(s), skipping... +./luci-app-quickstart: has no/multi config file(s), skipping... +./luci-app-quickstart: has no/multi config file(s), skipping... +./luci-app-quickstart: has no/multi config file(s), skipping... +./luci-app-ramfree: has no/multi config file(s), skipping... +./luci-app-ramfree: has no/multi config file(s), skipping... +./luci-app-ramfree: has no/multi config file(s), skipping... +./luci-app-ramfree: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-rtorrent: has no/multi config file(s), skipping... +./luci-app-smartdns: has no/multi config file(s), skipping... +./luci-app-smartdns: has no/multi config file(s), skipping... +./luci-app-smartdns: has no/multi config file(s), skipping... +./luci-app-smartdns: has no/multi config file(s), skipping... +./luci-app-smartdns: has no/multi config file(s), skipping... +./luci-app-smartdns: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-store: has no/multi config file(s), skipping... +./luci-app-tencentcloud-cos: has no/multi config file(s), skipping... +./luci-app-tencentcloud-cos: has no/multi config file(s), skipping... +./luci-app-tencentcloud-cos: has no/multi config file(s), skipping... +./luci-app-tencentcloud-cos: has no/multi config file(s), skipping... +./luci-app-tencentddns: has no/multi config file(s), skipping... +./luci-app-tencentddns: has no/multi config file(s), skipping... +./luci-app-tencentddns: has no/multi config file(s), skipping... +./luci-app-tencentddns: has no/multi config file(s), skipping... +./luci-app-tencentddns: has no/multi config file(s), skipping... +./luci-app-tencentddns: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... +./luci-app-udp2raw: has no/multi config file(s), skipping... diff --git a/create_acl_for_luci.ok b/create_acl_for_luci.ok new file mode 100644 index 000000000..a2631c214 --- /dev/null +++ b/create_acl_for_luci.ok @@ -0,0 +1,17 @@ +./luci-app-LingTiGameAcc: ACL file has been generated. +./luci-app-UUGameAcc: ACL file has been generated. +./luci-app-advanced: ACL file has been generated. +./luci-app-autoipsetadder: ACL file has been generated. +./luci-app-autotimeset: ACL file has been generated. +./luci-app-baidupcs-web: ACL file has been generated. +./luci-app-cupsd: ACL file has been generated. +./luci-app-dnsfilter: ACL file has been generated. +./luci-app-godproxy: ACL file has been generated. +./luci-app-ikoolproxy: ACL file has been generated. +./luci-app-openvpn-server: ACL file has been generated. +./luci-app-shortcutmenu: ACL file has been generated. +./luci-app-supervisord: ACL file has been generated. +./luci-app-usb3disable: ACL file has been generated. +./luci-app-vssr: ACL file has been generated. +./luci-app-wifidog: ACL file has been generated. +./luci-app-xunlei: ACL file has been generated. diff --git a/create_acl_for_luci.warn b/create_acl_for_luci.warn new file mode 100644 index 000000000..7f88f0fe5 --- /dev/null +++ b/create_acl_for_luci.warn @@ -0,0 +1,457 @@ +./luci-app-LingTiGameAcc: has ACL file already, skipping... +./luci-app-LingTiGameAcc: has ACL file already, skipping... +./luci-app-LingTiGameAcc: has ACL file already, skipping... +./luci-app-LingTiGameAcc: has ACL file already, skipping... +./luci-app-LingTiGameAcc: has ACL file already, skipping... +./luci-app-LingTiGameAcc: has ACL file already, skipping... +./luci-app-UUGameAcc: has ACL file already, skipping... +./luci-app-UUGameAcc: has ACL file already, skipping... +./luci-app-UUGameAcc: has ACL file already, skipping... +./luci-app-UUGameAcc: has ACL file already, skipping... +./luci-app-UUGameAcc: has ACL file already, skipping... +./luci-app-UUGameAcc: has ACL file already, skipping... +./luci-app-adguardhome: has ACL file already, skipping... +./luci-app-adguardhome: has ACL file already, skipping... +./luci-app-adguardhome: has ACL file already, skipping... +./luci-app-adguardhome: has ACL file already, skipping... +./luci-app-adguardhome: has ACL file already, skipping... +./luci-app-advanced: has ACL file already, skipping... +./luci-app-advanced: has ACL file already, skipping... +./luci-app-advanced: has ACL file already, skipping... +./luci-app-advanced: has ACL file already, skipping... +./luci-app-advanced: has ACL file already, skipping... +./luci-app-aliddns: has ACL file already, skipping... +./luci-app-aliddns: has ACL file already, skipping... +./luci-app-aliddns: has ACL file already, skipping... +./luci-app-aliddns: has ACL file already, skipping... +./luci-app-aliddns: has ACL file already, skipping... +./luci-app-aliyundrive-fuse: has ACL file already, skipping... +./luci-app-aliyundrive-fuse: has ACL file already, skipping... +./luci-app-aliyundrive-fuse: has ACL file already, skipping... +./luci-app-aliyundrive-fuse: has ACL file already, skipping... +./luci-app-aliyundrive-fuse: has ACL file already, skipping... +./luci-app-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-amlogic: has ACL file already, skipping... +./luci-app-amlogic: has ACL file already, skipping... +./luci-app-amlogic: has ACL file already, skipping... +./luci-app-amlogic: has ACL file already, skipping... +./luci-app-amlogic: has ACL file already, skipping... +./luci-app-amlogic: has ACL file already, skipping... +./luci-app-amule: has ACL file already, skipping... +./luci-app-amule: has ACL file already, skipping... +./luci-app-amule: has ACL file already, skipping... +./luci-app-amule: has ACL file already, skipping... +./luci-app-amule: has ACL file already, skipping... +./luci-app-argon-config: has ACL file already, skipping... +./luci-app-argon-config: has ACL file already, skipping... +./luci-app-argon-config: has ACL file already, skipping... +./luci-app-argon-config: has ACL file already, skipping... +./luci-app-argon-config: has ACL file already, skipping... +./luci-app-argon-config: has ACL file already, skipping... +./luci-app-argonne-config: has ACL file already, skipping... +./luci-app-argonne-config: has ACL file already, skipping... +./luci-app-argonne-config: has ACL file already, skipping... +./luci-app-argonne-config: has ACL file already, skipping... +./luci-app-argonne-config: has ACL file already, skipping... +./luci-app-argonne-config: has ACL file already, skipping... +./luci-app-autoipsetadder: has ACL file already, skipping... +./luci-app-autoipsetadder: has ACL file already, skipping... +./luci-app-autoipsetadder: has ACL file already, skipping... +./luci-app-autoipsetadder: has ACL file already, skipping... +./luci-app-autoreboot: has ACL file already, skipping... +./luci-app-autoreboot: has ACL file already, skipping... +./luci-app-autoreboot: has ACL file already, skipping... +./luci-app-autoreboot: has ACL file already, skipping... +./luci-app-autoreboot: has ACL file already, skipping... +./luci-app-autotimeset: has ACL file already, skipping... +./luci-app-autotimeset: has ACL file already, skipping... +./luci-app-autotimeset: has ACL file already, skipping... +./luci-app-autotimeset: has ACL file already, skipping... +./luci-app-autotimeset: has ACL file already, skipping... +./luci-app-autotimeset: has ACL file already, skipping... +./luci-app-baidupcs-web: has ACL file already, skipping... +./luci-app-baidupcs-web: has ACL file already, skipping... +./luci-app-baidupcs-web: has ACL file already, skipping... +./luci-app-baidupcs-web: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-beardropper: has ACL file already, skipping... +./luci-app-bypass: has ACL file already, skipping... +./luci-app-bypass: has ACL file already, skipping... +./luci-app-bypass: has ACL file already, skipping... +./luci-app-bypass: has ACL file already, skipping... +./luci-app-bypass: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-clash: has ACL file already, skipping... +./luci-app-cloudflarespeedtest: has ACL file already, skipping... +./luci-app-cloudflarespeedtest: has ACL file already, skipping... +./luci-app-cloudflarespeedtest: has ACL file already, skipping... +./luci-app-cloudflarespeedtest: has ACL file already, skipping... +./luci-app-cloudflarespeedtest: has ACL file already, skipping... +./luci-app-control-timewol: has ACL file already, skipping... +./luci-app-control-timewol: has ACL file already, skipping... +./luci-app-control-timewol: has ACL file already, skipping... +./luci-app-control-timewol: has ACL file already, skipping... +./luci-app-control-timewol: has ACL file already, skipping... +./luci-app-control-webrestriction: has ACL file already, skipping... +./luci-app-control-webrestriction: has ACL file already, skipping... +./luci-app-control-webrestriction: has ACL file already, skipping... +./luci-app-control-webrestriction: has ACL file already, skipping... +./luci-app-control-webrestriction: has ACL file already, skipping... +./luci-app-control-weburl: has ACL file already, skipping... +./luci-app-control-weburl: has ACL file already, skipping... +./luci-app-control-weburl: has ACL file already, skipping... +./luci-app-control-weburl: has ACL file already, skipping... +./luci-app-control-weburl: has ACL file already, skipping... +./luci-app-cupsd: has ACL file already, skipping... +./luci-app-cupsd: has ACL file already, skipping... +./luci-app-cupsd: has ACL file already, skipping... +./luci-app-dnsfilter: has ACL file already, skipping... +./luci-app-dnsfilter: has ACL file already, skipping... +./luci-app-dnsfilter: has ACL file already, skipping... +./luci-app-dnsfilter: has ACL file already, skipping... +./luci-app-dnsfilter: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-dockerman: has ACL file already, skipping... +./luci-app-easymesh: has ACL file already, skipping... +./luci-app-easymesh: has ACL file already, skipping... +./luci-app-easymesh: has ACL file already, skipping... +./luci-app-easymesh: has ACL file already, skipping... +./luci-app-easymesh: has ACL file already, skipping... +./luci-app-easymesh: has ACL file already, skipping... +./luci-app-easyupdate: has ACL file already, skipping... +./luci-app-easyupdate: has ACL file already, skipping... +./luci-app-easyupdate: has ACL file already, skipping... +./luci-app-easyupdate: has ACL file already, skipping... +./luci-app-easyupdate: has ACL file already, skipping... +./luci-app-easyupdate: has ACL file already, skipping... +./luci-app-fileassistant: has ACL file already, skipping... +./luci-app-fileassistant: has ACL file already, skipping... +./luci-app-fileassistant: has ACL file already, skipping... +./luci-app-fileassistant: has ACL file already, skipping... +./luci-app-fileassistant: has ACL file already, skipping... +./luci-app-filebrowser: has ACL file already, skipping... +./luci-app-filebrowser: has ACL file already, skipping... +./luci-app-filebrowser: has ACL file already, skipping... +./luci-app-filebrowser: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-go-aliyundrive-webdav: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-godproxy: has ACL file already, skipping... +./luci-app-guest-wifi: has ACL file already, skipping... +./luci-app-guest-wifi: has ACL file already, skipping... +./luci-app-guest-wifi: has ACL file already, skipping... +./luci-app-guest-wifi: has ACL file already, skipping... +./luci-app-guest-wifi: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-ikoolproxy: has ACL file already, skipping... +./luci-app-iperf: has ACL file already, skipping... +./luci-app-iperf: has ACL file already, skipping... +./luci-app-iperf: has ACL file already, skipping... +./luci-app-iperf: has ACL file already, skipping... +./luci-app-iperf: has ACL file already, skipping... +./luci-app-ipsec-server: has ACL file already, skipping... +./luci-app-ipsec-server: has ACL file already, skipping... +./luci-app-ipsec-server: has ACL file already, skipping... +./luci-app-ipsec-server: has ACL file already, skipping... +./luci-app-ipsec-server: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-jd-dailybonus: has ACL file already, skipping... +./luci-app-kodexplorer: has ACL file already, skipping... +./luci-app-kodexplorer: has ACL file already, skipping... +./luci-app-kodexplorer: has ACL file already, skipping... +./luci-app-kodexplorer: has ACL file already, skipping... +./luci-app-kodexplorer: has ACL file already, skipping... +./luci-app-kodexplorer: has ACL file already, skipping... +./luci-app-macvlan: has ACL file already, skipping... +./luci-app-macvlan: has ACL file already, skipping... +./luci-app-macvlan: has ACL file already, skipping... +./luci-app-macvlan: has ACL file already, skipping... +./luci-app-mail: has ACL file already, skipping... +./luci-app-mail: has ACL file already, skipping... +./luci-app-mail: has ACL file already, skipping... +./luci-app-mail: has ACL file already, skipping... +./luci-app-mail: has ACL file already, skipping... +./luci-app-mosdns: has ACL file already, skipping... +./luci-app-mosdns: has ACL file already, skipping... +./luci-app-mosdns: has ACL file already, skipping... +./luci-app-mosdns: has ACL file already, skipping... +./luci-app-mosdns: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netdata: has ACL file already, skipping... +./luci-app-netkeeper-interception: has ACL file already, skipping... +./luci-app-netkeeper-interception: has ACL file already, skipping... +./luci-app-netkeeper-interception: has ACL file already, skipping... +./luci-app-netkeeper-interception: has ACL file already, skipping... +./luci-app-netkeeper-interception: has ACL file already, skipping... +./luci-app-netspeedtest: has ACL file already, skipping... +./luci-app-netspeedtest: has ACL file already, skipping... +./luci-app-netspeedtest: has ACL file already, skipping... +./luci-app-netspeedtest: has ACL file already, skipping... +./luci-app-netspeedtest: has ACL file already, skipping... +./luci-app-netspeedtest: has ACL file already, skipping... +./luci-app-nft-qos: has ACL file already, skipping... +./luci-app-nft-qos: has ACL file already, skipping... +./luci-app-nft-qos: has ACL file already, skipping... +./luci-app-nft-qos: has ACL file already, skipping... +./luci-app-nft-qos: has ACL file already, skipping... +./luci-app-nginx-manager: has ACL file already, skipping... +./luci-app-nginx-manager: has ACL file already, skipping... +./luci-app-nginx-manager: has ACL file already, skipping... +./luci-app-nginx-manager: has ACL file already, skipping... +./luci-app-nginx-manager: has ACL file already, skipping... +./luci-app-nginx-manager: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-nginx-pingos: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-npc: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-oled: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openclash: has ACL file already, skipping... +./luci-app-openvpn-server: has ACL file already, skipping... +./luci-app-openvpn-server: has ACL file already, skipping... +./luci-app-openvpn-server: has ACL file already, skipping... +./luci-app-openvpn-server: has ACL file already, skipping... +./luci-app-packet-capture: has ACL file already, skipping... +./luci-app-packet-capture: has ACL file already, skipping... +./luci-app-packet-capture: has ACL file already, skipping... +./luci-app-packet-capture: has ACL file already, skipping... +./luci-app-packet-capture: has ACL file already, skipping... +./luci-app-passwall: has ACL file already, skipping... +./luci-app-passwall: has ACL file already, skipping... +./luci-app-passwall: has ACL file already, skipping... +./luci-app-passwall: has ACL file already, skipping... +./luci-app-passwall: has ACL file already, skipping... +./luci-app-passwall2: has ACL file already, skipping... +./luci-app-passwall2: has ACL file already, skipping... +./luci-app-passwall2: has ACL file already, skipping... +./luci-app-passwall2: has ACL file already, skipping... +./luci-app-passwall2: has ACL file already, skipping... +./luci-app-passwall2: has ACL file already, skipping... +./luci-app-pppoe-relay: has ACL file already, skipping... +./luci-app-pppoe-relay: has ACL file already, skipping... +./luci-app-pppoe-relay: has ACL file already, skipping... +./luci-app-pppoe-relay: has ACL file already, skipping... +./luci-app-pppoe-relay: has ACL file already, skipping... +./luci-app-pppoe-server: has ACL file already, skipping... +./luci-app-pppoe-server: has ACL file already, skipping... +./luci-app-pppoe-server: has ACL file already, skipping... +./luci-app-pppoe-server: has ACL file already, skipping... +./luci-app-pppoe-server: has ACL file already, skipping... +./luci-app-pptp-server: has ACL file already, skipping... +./luci-app-pptp-server: has ACL file already, skipping... +./luci-app-pptp-server: has ACL file already, skipping... +./luci-app-pptp-server: has ACL file already, skipping... +./luci-app-pptp-server: has ACL file already, skipping... +./luci-app-pushbot: has ACL file already, skipping... +./luci-app-pushbot: has ACL file already, skipping... +./luci-app-pushbot: has ACL file already, skipping... +./luci-app-pushbot: has ACL file already, skipping... +./luci-app-pushbot: has ACL file already, skipping... +./luci-app-pushbot: has ACL file already, skipping... +./luci-app-serverchan: has ACL file already, skipping... +./luci-app-serverchan: has ACL file already, skipping... +./luci-app-serverchan: has ACL file already, skipping... +./luci-app-serverchan: has ACL file already, skipping... +./luci-app-serverchan: has ACL file already, skipping... +./luci-app-serverchan: has ACL file already, skipping... +./luci-app-shortcutmenu: has ACL file already, skipping... +./luci-app-shortcutmenu: has ACL file already, skipping... +./luci-app-shortcutmenu: has ACL file already, skipping... +./luci-app-shortcutmenu: has ACL file already, skipping... +./luci-app-shortcutmenu: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-sms-tool: has ACL file already, skipping... +./luci-app-snmpd: has ACL file already, skipping... +./luci-app-snmpd: has ACL file already, skipping... +./luci-app-snmpd: has ACL file already, skipping... +./luci-app-snmpd: has ACL file already, skipping... +./luci-app-snmpd: has ACL file already, skipping... +./luci-app-socat: has ACL file already, skipping... +./luci-app-socat: has ACL file already, skipping... +./luci-app-socat: has ACL file already, skipping... +./luci-app-socat: has ACL file already, skipping... +./luci-app-socat: has ACL file already, skipping... +./luci-app-softethervpn: has ACL file already, skipping... +./luci-app-softethervpn: has ACL file already, skipping... +./luci-app-softethervpn: has ACL file already, skipping... +./luci-app-softethervpn: has ACL file already, skipping... +./luci-app-softethervpn: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-mudb-server: has ACL file already, skipping... +./luci-app-ssr-plus: has ACL file already, skipping... +./luci-app-ssr-plus: has ACL file already, skipping... +./luci-app-ssr-plus: has ACL file already, skipping... +./luci-app-ssr-plus: has ACL file already, skipping... +./luci-app-ssr-plus: has ACL file already, skipping... +./luci-app-ssr-plus: has ACL file already, skipping... +./luci-app-supervisord: has ACL file already, skipping... +./luci-app-supervisord: has ACL file already, skipping... +./luci-app-supervisord: has ACL file already, skipping... +./luci-app-supervisord: has ACL file already, skipping... +./luci-app-supervisord: has ACL file already, skipping... +./luci-app-syncthing: has ACL file already, skipping... +./luci-app-syncthing: has ACL file already, skipping... +./luci-app-syncthing: has ACL file already, skipping... +./luci-app-syncthing: has ACL file already, skipping... +./luci-app-syncthing: has ACL file already, skipping... +./luci-app-sysuh3c: has ACL file already, skipping... +./luci-app-sysuh3c: has ACL file already, skipping... +./luci-app-sysuh3c: has ACL file already, skipping... +./luci-app-sysuh3c: has ACL file already, skipping... +./luci-app-timecontrol: has ACL file already, skipping... +./luci-app-timecontrol: has ACL file already, skipping... +./luci-app-timecontrol: has ACL file already, skipping... +./luci-app-timecontrol: has ACL file already, skipping... +./luci-app-timecontrol: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-ttnode: has ACL file already, skipping... +./luci-app-usb3disable: has ACL file already, skipping... +./luci-app-usb3disable: has ACL file already, skipping... +./luci-app-usb3disable: has ACL file already, skipping... +./luci-app-usb3disable: has ACL file already, skipping... +./luci-app-usb3disable: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-v2raya: has ACL file already, skipping... +./luci-app-verysync: has ACL file already, skipping... +./luci-app-verysync: has ACL file already, skipping... +./luci-app-verysync: has ACL file already, skipping... +./luci-app-verysync: has ACL file already, skipping... +./luci-app-verysync: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-vssr: has ACL file already, skipping... +./luci-app-wifidog: has ACL file already, skipping... +./luci-app-wifidog: has ACL file already, skipping... +./luci-app-wifidog: has ACL file already, skipping... +./luci-app-wifidog: has ACL file already, skipping... +./luci-app-wifidog: has ACL file already, skipping... +./luci-app-wifidog: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wizard: has ACL file already, skipping... +./luci-app-wolplus: has ACL file already, skipping... +./luci-app-wolplus: has ACL file already, skipping... +./luci-app-wolplus: has ACL file already, skipping... +./luci-app-wolplus: has ACL file already, skipping... +./luci-app-wolplus: has ACL file already, skipping... +./luci-app-wolplus: has ACL file already, skipping... +./luci-app-wrtbwmon: has ACL file already, skipping... +./luci-app-wrtbwmon: has ACL file already, skipping... +./luci-app-wrtbwmon: has ACL file already, skipping... +./luci-app-wrtbwmon: has ACL file already, skipping... +./luci-app-wrtbwmon: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xlnetacc: has ACL file already, skipping... +./luci-app-xunlei: has ACL file already, skipping... +./luci-app-xunlei: has ACL file already, skipping... +./luci-app-xunlei: has ACL file already, skipping... +./luci-app-xunlei: has ACL file already, skipping... +./luci-app-xunlei: has ACL file already, skipping... diff --git a/cups/Makefile b/cups/Makefile index 7d410ca77..bbb46492e 100644 --- a/cups/Makefile +++ b/cups/Makefile @@ -15,7 +15,7 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.gz PKG_SOURCE_URL:=https://github.com/apple/cups/releases/download/v$(PKG_VERSION) #PKG_SOURCE_URL:=http://www.cups.org/software/$(PKG_VERSION) -PKG_MD5SUM:=skip +PKG_MD5SUM:=412434ceefbdf3ec71bc9188a035f589 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib diff --git a/ddnsto/Makefile b/ddnsto/Makefile index c9cb9c015..43b65bf97 100644 --- a/ddnsto/Makefile +++ b/ddnsto/Makefile @@ -14,7 +14,7 @@ PKG_VERSION:=0.3.0 PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://fw.koolcenter.com/binary/ddnsto/ -PKG_HASH:=skip +PKG_HASH:=cefd2494cb1c21e2c1616290f715dd6415cd460aafc107c38bb9910c13f42448 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/dns2socks/Makefile b/dns2socks/Makefile index fe8929e4d..47662fa09 100644 --- a/dns2socks/Makefile +++ b/dns2socks/Makefile @@ -11,7 +11,7 @@ PKG_RELEASE:=2 PKG_SOURCE:=SourceCode.zip PKG_SOURCE_URL:=@SF/dns2socks PKG_SOURCE_DATE:=2020-02-18 -PKG_HASH:=skip +PKG_HASH:=406b5003523577d39da66767adfe54f7af9b701374363729386f32f6a3a995f4 PKG_MAINTAINER:=ghostmaker PKG_LICENSE:=BSD-3-Clause diff --git a/dnsforwarder/Makefile b/dnsforwarder/Makefile index 90816c4c5..05e7370a0 100644 --- a/dnsforwarder/Makefile +++ b/dnsforwarder/Makefile @@ -16,7 +16,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/1715173329/dnsforwarder.git PKG_SOURCE_DATE:=2018-06-26 PKG_SOURCE_VERSION:=587e61ae4d75dc976f538088b715a3c8ee26c144 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=7c141040ae384d254d90b3c3ee502d87330c9fdcd201ff29a669336a27b176d4 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILE:=LICENSE diff --git a/dnsproxy/Makefile b/dnsproxy/Makefile index 5d23cb075..12d09b286 100644 --- a/dnsproxy/Makefile +++ b/dnsproxy/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/dnsproxy/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=a3d60dcd6dc11730e25dabae3055e46470b80b33e1904398d562eb546227e9a4 PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=Apache-2.0 @@ -24,7 +24,7 @@ GO_PKG:=github.com/AdguardTeam/dnsproxy GO_PKG_LDFLAGS_X:=main.VersionString=v$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/dnsproxy SECTION:=net diff --git a/filebrowser/Makefile b/filebrowser/Makefile index 9ab2a5954..650e23b15 100644 --- a/filebrowser/Makefile +++ b/filebrowser/Makefile @@ -11,7 +11,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=b73d278 PKG_SOURCE_URL:=https://github.com/filebrowser/filebrowser -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=66b9df31f98bec22715a7fe9ca73962c1e5a5c1b3bcfb99fd0ac1703118ee4c8 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE @@ -27,7 +27,7 @@ GO_PKG_LDFLAGS_X:= \ $(GO_PKG)/v2/version.Version=v$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/filebrowser SECTION:=utils diff --git a/gmediarender/Makefile b/gmediarender/Makefile index 26da1b5ca..88549c63a 100644 --- a/gmediarender/Makefile +++ b/gmediarender/Makefile @@ -16,7 +16,7 @@ PKG_SOURCE_URL:=https://github.com/hzeller/gmrender-resurrect.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=4ac7d8914dc089651ae9d6c421ecda8f4d0ab5e3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=08e8e60b8734131acd5d667c40a9a7e9d8bc7e86f59b4972d177e653608a1215 PKG_FIXUP:=autoreconf PKG_INSTALL=1 diff --git a/go-aliyundrive-webdav/Makefile b/go-aliyundrive-webdav/Makefile index c7fdea389..37ecb5b99 100644 --- a/go-aliyundrive-webdav/Makefile +++ b/go-aliyundrive-webdav/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/LinkLeong/go-aliyundrive-webdav/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=967472971586bc9c62d1579a780e52431eaf37e54f2fe1b180c9a52db2304874 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILE:=LICENSE @@ -24,7 +24,7 @@ GO_PKG:=go-aliyun-webdav GO_PKG_LDFLAGS_X:=main.Version=v$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/go-aliyundrive-webdav SECTION:=net diff --git a/gost/Makefile b/gost/Makefile index 74ff1f06b..6b334ac59 100644 --- a/gost/Makefile +++ b/gost/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ginuerzh/gost/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=143174a9ba5b0b6251d1d9a52267220f97bec1319676618746c1a5d7a7a86d96 PKG_LICENSE:=MIT PKG_LICENSE_FILE:=LICENSE @@ -24,7 +24,7 @@ GO_PKG:=github.com/ginuerzh/gost GO_PKG_BUILD_PKG:=github.com/ginuerzh/gost/cmd/gost include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/gost SECTION:=net diff --git a/gowebdav/Makefile b/gowebdav/Makefile index acea681b6..b1d355191 100644 --- a/gowebdav/Makefile +++ b/gowebdav/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/1715173329/gowebdav/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=138dcb660ecc0b256700845fd5edb78fdefc60fe853578cc264cf31bab164d0d PKG_MAINTAINER:=Tianling Shen @@ -21,7 +21,7 @@ PKG_USE_MIPS16:=0 GO_PKG:=github.com/1715173329/gowebdav include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/gowebdav SECTION:=net diff --git a/haproxy/Makefile b/haproxy/Makefile index 3951bf047..cae7c212b 100644 --- a/haproxy/Makefile +++ b/haproxy/Makefile @@ -15,7 +15,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.haproxy.org/download/2.4/src -PKG_HASH:=skip +PKG_HASH:=3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 PKG_MAINTAINER:=Thomas Heil , \ Christian Lachner diff --git a/hysteria/Makefile b/hysteria/Makefile index 0671c3e9b..3d5d61a1d 100644 --- a/hysteria/Makefile +++ b/hysteria/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/HyNetwork/hysteria/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=268ff1272e8c10f8e9f80e1a199a4ddc1eff5f38712dff8022512db07b39e10a PKG_LICENSE:=MIT PKG_LICENSE_FILE:=LICENSE diff --git a/ipt2socks/Makefile b/ipt2socks/Makefile index 9067dc506..75ee85640 100644 --- a/ipt2socks/Makefile +++ b/ipt2socks/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/zfl9/ipt2socks/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=73a2498dc95934c225d358707e7f7d060b5ce81aa45260ada09cbd15207d27d1 PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 diff --git a/jpcre2/Makefile b/jpcre2/Makefile index ac370b11c..c5d5fd8dd 100644 --- a/jpcre2/Makefile +++ b/jpcre2/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/jpcre2/jpcre2/tar.gz/$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=668cbc6d2c0a065bb6abe8494d5a1bb3549a14cd956a44a2df9095045623ea47 PKG_LICENSE:=BSD 3-Clause PKG_LICENSE_FILES:=LICENSE diff --git a/libcron/Makefile b/libcron/Makefile index b378d2df1..f89a0ceb6 100644 --- a/libcron/Makefile +++ b/libcron/Makefile @@ -11,7 +11,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/PerMalmberg/libcron.git PKG_SOURCE_DATE:=2021-12-20 PKG_SOURCE_VERSION:=5c8de082c16fb0a6dfa3902aa30ec0b9063705de -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=80e1454bec33a46c5a37e01392a4e6e1b8c242bfef446903c5da3c5c2e7b9565 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/linkease/Makefile b/linkease/Makefile index 33e334423..e665ba3f3 100644 --- a/linkease/Makefile +++ b/linkease/Makefile @@ -14,7 +14,7 @@ PKG_VERSION:=0.7.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://fw.koolcenter.com/binary/LinkEase/LinuxStorage/ -PKG_HASH:=skip +PKG_HASH:=26ebbb22d78fd2ceb009226a0d85a40f100d502595b59c8a43eea5e4394ee292 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/lua-maxminddb/Makefile b/lua-maxminddb/Makefile index a11009718..363d254dc 100644 --- a/lua-maxminddb/Makefile +++ b/lua-maxminddb/Makefile @@ -13,7 +13,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/fabled/lua-maxminddb.git PKG_SOURCE_DATE:=2019-03-14 PKG_SOURCE_VERSION:=93da9f4e6c814c3a23044dd2cdd22d4a6b4f665b -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=b99ef18516b705b3e73b15a9d5ddc99add359299b52639fe3c81dd761591d9d9 PKG_LICENSE:=MIT PKG_LICENSE_FILE:=LICENSE diff --git a/luci-app-aliddns/Makefile b/luci-app-aliddns/Makefile index aeb95408b..569c3f577 100644 --- a/luci-app-aliddns/Makefile +++ b/luci-app-aliddns/Makefile @@ -19,6 +19,6 @@ PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE PKG_MAINTAINER:=chenhw2 -include $(TOPDIR)/feeds/luci/luci.mk +include ../../luci.mk # call BuildPackage - OpenWrt buildroot signature diff --git a/luci-app-amlogic/Makefile b/luci-app-amlogic/Makefile index 466089e4b..a37c74c8b 100644 --- a/luci-app-amlogic/Makefile +++ b/luci-app-amlogic/Makefile @@ -18,7 +18,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-amlogic -PKG_VERSION:=3.1.78 +PKG_VERSION:=3.1.80 PKG_RELEASE:=1 PKG_LICENSE:=GPL-2.0 License diff --git a/luci-app-amlogic/root/usr/sbin/openwrt-install-amlogic b/luci-app-amlogic/root/usr/sbin/openwrt-install-amlogic index 0a3d64ed1..b57ed5cee 100755 --- a/luci-app-amlogic/root/usr/sbin/openwrt-install-amlogic +++ b/luci-app-amlogic/root/usr/sbin/openwrt-install-amlogic @@ -17,8 +17,8 @@ # E.g: openwrt-install-amlogic # Receive one-key command related parameters -AUTO_MAINLINE_UBOOT=${1} -ZSTD_LEVEL=6 +AUTO_MAINLINE_UBOOT="${1}" +ZSTD_LEVEL="6" # For [luci-app-amlogic] input parameter: SOC & DTB # When there is no input parameter, select manually @@ -39,7 +39,7 @@ if [[ -n "$(echo ${2} | sed -n "/^[0-9]\+$/p")" ]]; then fi # shared partition can be ext4, xfs, btrfs, f2fs -SHARED_FSTYPE=${4} +SHARED_FSTYPE="${4}" echo "AUTO_MAINLINE_UBOOT: ${AUTO_MAINLINE_UBOOT}" echo "SPECIFY_SOC: ${SPECIFY_SOC}" @@ -223,28 +223,34 @@ if [ ! -f "/boot/dtb/amlogic/${FDTFILE}" ]; then exit 1 fi +function get_k510_from_vmlinuz() { + local vmlinuz=$1 + local K510=1 + local temp_script=$(mktemp) + cat >$temp_script </dev/null) -VERSION_NOW=$(echo ${MODULES_NOW} | grep -oE '^[1-9].[0-9]{1,3}' 2>/dev/null) -echo -e "This Kernel [ ${MODULES_NOW} ]" - -k510_ver=${VERSION_NOW%%.*} -k510_maj=${VERSION_NOW##*.} - -# If the kernel version ends with +o, it means that u-boot.ext or u-boot.emmc do not need to be reloaded -if echo ${MODULES_NOW} | grep "+o$";then - K510=0 -elif [ "${k510_ver}" -eq "5" ]; then - if [ "${k510_maj}" -ge "10" ]; then - K510="1" - else - K510="0" - fi -elif [ "${k510_ver}" -gt "5" ]; then - K510="1" -else - K510="0" -fi +CUR_KERNEL_VERSION=$(uname -r) +echo -e "This Kernel [ ${CUR_KERNEL_VERSION} ]" +K510=$(get_k510_from_vmlinuz "/boot/vmlinuz-${CUR_KERNEL_VERSION}") +export K510 +echo -e "K510 [ ${K510} ]" # backup old bootloader if [ ! -f "/root/BackupOldBootloader.img" ]; then @@ -684,7 +690,7 @@ Please select the type of shared file system: 4. xfs: Very good file system, alternative to ext4. --------------------------------------------------------------------------------- EOF - read TARGET_SHARED_FSTYPE + read -p "Please Input ID: " TARGET_SHARED_FSTYPE fi case $TARGET_SHARED_FSTYPE in 2 | btrfs) diff --git a/luci-app-amlogic/root/usr/sbin/openwrt-kernel b/luci-app-amlogic/root/usr/sbin/openwrt-kernel index d4a8210e3..20f6ce9c5 100755 --- a/luci-app-amlogic/root/usr/sbin/openwrt-kernel +++ b/luci-app-amlogic/root/usr/sbin/openwrt-kernel @@ -70,6 +70,41 @@ esac echo -e "Current device: ${MYDEVICE_NAME} [ ${MYDTB_FILE} ], Use in [ ${EMMC_NAME} ]" sleep 3 +function get_k510_from_vmlinuz() { + local vmlinuz=$1 + local temp_script=$(mktemp) + cat >$temp_script </dev/null && sync if [ $(ls ${P4_PATH}/*.tar.gz -l 2>/dev/null | grep "^-" | wc -l) -ge 3 ]; then if [ $(ls ${P4_PATH}/boot-*.tar.gz -l 2>/dev/null | grep "^-" | wc -l) -ge 1 ]; then - build_boot=$(ls ${P4_PATH}/boot-*.tar.gz | head -n 1) && build_boot=${build_boot##*/} + build_boot_abs=$(ls ${P4_PATH}/boot-*.tar.gz | head -n 1) && build_boot=${build_boot_abs##*/} echo -e "Update using [ ${build_boot} ] files. Please wait a moment ..." flippy_version=${build_boot/boot-/} && flippy_version=${flippy_version/.tar.gz/} - kernel_version=$(echo ${flippy_version} | grep -oE '^[1-9].[0-9]{1,3}.[0-9]+') - kernel_vermaj=$(echo ${kernel_version} | grep -oE '^[1-9].[0-9]{1,3}') - k510_ver=${kernel_vermaj%%.*} - k510_maj=${kernel_vermaj##*.} - - # If the kernel version ends with +o, it means that u-boot.ext or u-boot.emmc do not need to be reloaded - if echo ${flippy_version} | grep "+o$";then - K510=0 - elif [ ${k510_ver} -eq "5" ]; then - if [ "${k510_maj}" -ge "10" ]; then - K510=1 - else - K510=0 - fi - elif [ ${k510_ver} -gt "5" ]; then - K510=1 - else - K510=0 - fi + K510=$(get_k510_from_boot_tgz "${build_boot_abs}" "vmlinuz-${flippy_version}") else error_msg "Have no boot-*.tar.gz file found in the ${P4_PATH} directory." fi @@ -121,35 +138,15 @@ if [ $(ls ${P4_PATH}/*.tar.gz -l 2>/dev/null | grep "^-" | wc -l) -ge 3 ]; then build_boot: ${build_boot} \n \ build_dtb: ${build_dtb} \n \ build_modules: ${build_modules} \n \ - flippy_version: ${flippy_version} \n \ - kernel_version: ${kernel_version} \n \ + kernel_version: ${flippy_version} \n \ K510: ${K510}" else error_msg "After upload the kernel files in [ /mnt/${EMMC_NAME}${PARTITION_NAME}4/ ], run again." fi -MODULES_OLD=$(ls /lib/modules/ 2>/dev/null) -VERSION_OLD=$(echo ${MODULES_OLD} | grep -oE '^[1-9].[0-9]{1,3}' 2>/dev/null) -VERSION_ver=${VERSION_OLD%%.*} -VERSION_maj=${VERSION_OLD##*.} -# If the kernel version ends with +o, it means that u-boot.ext or u-boot.emmc do not need to be reloaded -if echo ${MODULES_OLD} | grep "+o$";then - V510=0 -elif [ ${VERSION_ver} -eq "5" ]; then - if [ "${VERSION_maj}" -ge "10" ]; then - V510=1 - else - V510=0 - fi -elif [ ${VERSION_ver} -gt "5" ]; then - V510=1 -else - V510=0 -fi - # Check version consistency from amlogic s9xxx -if [[ "${V510}" -lt "${K510}" && "${MYDTB_FILE}" == "amlogic" ]]; then +if [[ "${K510}" -eq "1" && "${MYDTB_FILE}" == "amlogic" ]]; then echo -e "Update to kernel 5.10 or higher and install U-BOOT." if [ -f "/etc/flippy-openwrt-release" ]; then # U-BOOT adaptation @@ -194,6 +191,9 @@ if [[ "${V510}" -lt "${K510}" && "${MYDTB_FILE}" == "amlogic" ]]; then dd if=/lib/u-boot/${MAINLINE_UBOOT} of=/dev/${EMMC_NAME} bs=512 skip=1 seek=1 conv=fsync echo -e "The MAINLINE_UBOOT file write is complete." fi +elif [[ "${K510}" -eq "0" && "${MYDTB_FILE}" == "amlogic" ]]; then + rm -f /boot/u-boot.ext 2>/dev/null + rm -f /boot/u-boot.emmc 2>/dev/null fi echo -e "Unpack [ ${flippy_version} ] related files ..." @@ -276,11 +276,11 @@ fi echo -e "03. Unpack [ ${build_modules} ] complete." sleep 3 -rm -rf ${P4_PATH}/dtb-*.tar.gz ${P4_PATH}/boot-*.tar.gz ${P4_PATH}/modules-*.tar.gz 2>/dev/null +rm -rf ${P4_PATH}/dtb-*.tar.gz ${P4_PATH}/boot-*.tar.gz ${P4_PATH}/modules-*.tar.gz ${P4_PATH}/header-*.tar.gz 2>/dev/null sync sed -i '/KERNEL_VERSION/d' /etc/flippy-openwrt-release 2>/dev/null -echo "KERNEL_VERSION='${kernel_version}'" >>/etc/flippy-openwrt-release 2>/dev/null +echo "KERNEL_VERSION='${flippy_version}'" >>/etc/flippy-openwrt-release 2>/dev/null sed -i '/K510/d' /etc/flippy-openwrt-release 2>/dev/null echo "K510='${K510}'" >>/etc/flippy-openwrt-release 2>/dev/null diff --git a/luci-app-amlogic/root/usr/sbin/openwrt-update-amlogic b/luci-app-amlogic/root/usr/sbin/openwrt-update-amlogic index b6ee93a9d..b91d686ba 100755 --- a/luci-app-amlogic/root/usr/sbin/openwrt-update-amlogic +++ b/luci-app-amlogic/root/usr/sbin/openwrt-update-amlogic @@ -14,9 +14,9 @@ # E.g: openwrt-update-amlogic # Receive one-key command related parameters -IMG_NAME=${1} -AUTO_MAINLINE_UBOOT=${2} -BACKUP_RESTORE_CONFIG=${3} +IMG_NAME="${1}" +AUTO_MAINLINE_UBOOT="${2}" +BACKUP_RESTORE_CONFIG="${3}" # Current device model MYDEVICE_NAME=$(cat /proc/device-tree/model | tr -d '\000') @@ -252,54 +252,54 @@ if [ $? -ne 0 ]; then fi # Prepare the dockerman config file -if [ -f ${P2}/etc/init.d/dockerman ] && [ -f ${P2}/etc/config/dockerd ];then +if [ -f ${P2}/etc/init.d/dockerman ] && [ -f ${P2}/etc/config/dockerd ]; then flg=0 # get current docker data root data_root=$(uci get dockerd.globals.data_root 2>/dev/null) - if [ "$data_root" == "" ];then - flg=1 - # get current config from /etc/docker/daemon.json - if [ -f "/etc/docker/daemon.json" ] && [ -x "/usr/bin/jq" ];then - data_root=$(jq -r '."data-root"' /etc/docker/daemon.json) + if [ "$data_root" == "" ]; then + flg=1 + # get current config from /etc/docker/daemon.json + if [ -f "/etc/docker/daemon.json" ] && [ -x "/usr/bin/jq" ]; then + data_root=$(jq -r '."data-root"' /etc/docker/daemon.json) - bip=$(jq -r '."bip"' /etc/docker/daemon.json) - [ "$bip" == "null" ] && bip="172.31.0.1/24" + bip=$(jq -r '."bip"' /etc/docker/daemon.json) + [ "$bip" == "null" ] && bip="172.31.0.1/24" - log_level=$(jq -r '."log-level"' /etc/docker/daemon.json) - [ "$log_level" == "null" ] && log_level="warn" + log_level=$(jq -r '."log-level"' /etc/docker/daemon.json) + [ "$log_level" == "null" ] && log_level="warn" - _iptables=$(jq -r '."iptables"' /etc/docker/daemon.json) - [ "$_iptables" == "null" ] && _iptables="true" + _iptables=$(jq -r '."iptables"' /etc/docker/daemon.json) + [ "$_iptables" == "null" ] && _iptables="true" - registry_mirrors=$(jq -r '."registry-mirrors"[]' /etc/docker/daemon.json 2>/dev/null) - fi + registry_mirrors=$(jq -r '."registry-mirrors"[]' /etc/docker/daemon.json 2>/dev/null) + fi fi - if [ "$data_root" == "" ];then - data_root="/opt/docker/" # the default data root + if [ "$data_root" == "" ]; then + data_root="/opt/docker/" # the default data root fi - if ! uci get dockerd.globals >/dev/null 2>&1;then + if ! uci get dockerd.globals >/dev/null 2>&1; then uci set dockerd.globals='globals' uci commit fi # delete alter config , use inner config - if uci get dockerd.globals.alt_config_file >/dev/null 2>&1;then + if uci get dockerd.globals.alt_config_file >/dev/null 2>&1; then uci delete dockerd.globals.alt_config_file uci commit fi - if [ $flg -eq 1 ];then - uci set dockerd.globals.data_root=$data_root - [ "$bip" != "" ] && uci set dockerd.globals.bip=$bip - [ "$log_level" != "" ] && uci set dockerd.globals.log_level=$log_level - [ "$_iptables" != "" ] && uci set dockerd.globals.iptables=$_iptables - if [ "$registry_mirrors" != "" ];then - for reg in $registry_mirrors;do + if [ $flg -eq 1 ]; then + uci set dockerd.globals.data_root=$data_root + [ "$bip" != "" ] && uci set dockerd.globals.bip=$bip + [ "$log_level" != "" ] && uci set dockerd.globals.log_level=$log_level + [ "$_iptables" != "" ] && uci set dockerd.globals.iptables=$_iptables + if [ "$registry_mirrors" != "" ]; then + for reg in $registry_mirrors; do uci add_list dockerd.globals.registry_mirrors=$reg - done + done fi uci set dockerd.globals.auto_start='1' uci commit @@ -312,29 +312,49 @@ CUR_FDTFILE=${FDT} echo -e "FDT Value [ ${CUR_FDTFILE} ]" cp /boot/uEnv.txt /tmp/uEnv.txt && sync -MODULES_OLD=$(ls /lib/modules/ 2>/dev/null) +function get_k510_from_vmlinuz() { + local vmlinuz=$1 + local temp_script=$(mktemp) + cat >$temp_script </dev/null) MODULES_NOW=$(ls ${P2}/lib/modules/ 2>/dev/null) VERSION_NOW=$(echo ${MODULES_NOW} | grep -oE '^[1-9].[0-9]{1,3}' 2>/dev/null) echo -e "Update from [ ${MODULES_OLD} ] to [ ${MODULES_NOW} ]" -k510_ver=${VERSION_NOW%%.*} -k510_maj=${VERSION_NOW##*.} - -# If the kernel version ends with +o, it means that u-boot.ext or u-boot.emmc do not need to be reloaded -if echo ${MODULES_NOW} | grep "+o$";then - K510=0 -elif [ "${k510_ver}" -eq "5" ]; then - if [ "${k510_maj}" -ge "10" ]; then - K510="1" - else - K510="0" - fi -elif [ "${k510_ver}" -gt "5" ]; then - K510="1" -else - K510="0" -fi +K510=$(get_k510_from_vmlinuz "${P1}/vmlinuz-${MODULES_NOW}") +echo -e "K510 [ ${K510} ]" # flippy-openwrt-release info UBOOT_OVERLOAD="" @@ -389,33 +409,39 @@ function check_and_fix_partition() { local cur_pt_begin_sector=$(fdisk -l /dev/${target_dev_name} | grep ${target_dev_name}${target_pt_name} | awk '{printf $2}') local cur_pt_begin_mb=$(($cur_pt_begin_sector * 512 / 1024 / 1024)) - if [ $cur_pt_begin_mb -ge $safe_pt_begin_mb ];then - # check pass - return + if [ $cur_pt_begin_mb -ge $safe_pt_begin_mb ]; then + # check pass + return fi local cur_pt_end_sector=$(fdisk -l /dev/${target_dev_name} | grep ${target_dev_name}${target_pt_name} | awk '{printf $3}') - local cur_pt_end_byte=$(( ($cur_pt_end_sector + 1) * 512 - 1)) + local cur_pt_end_byte=$((($cur_pt_end_sector + 1) * 512 - 1)) echo "Unsafe partition found, repairing ... " - parted /dev/${target_dev_name} rm ${target_pt_idx} || \ - ( echo "rm partion ${target_pt_idx} failed" ; exit 1) - parted /dev/${target_dev_name} mkpart primary btrfs "${safe_pt_begin_byte}b" "${cur_pt_end_byte}b" || \ - ( echo "create new partion ${target_pt_idx} failed" ; exit 1) + parted /dev/${target_dev_name} rm ${target_pt_idx} || + ( + echo "rm partion ${target_pt_idx} failed" + exit 1 + ) + parted /dev/${target_dev_name} mkpart primary btrfs "${safe_pt_begin_byte}b" "${cur_pt_end_byte}b" || + ( + echo "create new partion ${target_pt_idx} failed" + exit 1 + ) echo "Partition repaired" } # check if need fix partition -if [ "${NEW_ROOT_NAME}" == "mmcblk2p2" ];then - if [ "${MYDEVICE_NAME}" == "Phicomm N1" ] || [ "${MYDEVICE_NAME}" == "Octopus Planet" ];then - # 最新研究结果: +if [ "${NEW_ROOT_NAME}" == "mmcblk2p2" ]; then + if [ "${MYDEVICE_NAME}" == "Phicomm N1" ] || [ "${MYDEVICE_NAME}" == "Octopus Planet" ]; then + # 最新研究结果: # Phicomm N1当采用官方 "天天链" 固件底包时, - # 796MB开始的 12 字节在每次重启后会被 bootloader 覆写, + # 796MB开始的 12 字节在每次重启后会被 bootloader 覆写, # 因此把安全位置设定在800MB之后 - # The latest research results: - # When Phicomm N1 uses the official "tian tian lian" firmware bottom package, - # the 12 bytes starting from 796MB will be overwritten by bootloader after each reboot, - # so the safe location is set after 800MB + # The latest research results: + # When Phicomm N1 uses the official "tian tian lian" firmware bottom package, + # the 12 bytes starting from 796MB will be overwritten by bootloader after each reboot, + # so the safe location is set after 800MB SAFE_PT_BEGIN_MB=800 check_and_fix_partition "${EMMC_NAME}" "p2" 2 $SAFE_PT_BEGIN_MB fi @@ -601,14 +627,14 @@ sed -e "s/:0:0:99999:7:::/:${ddd}:0:99999:7:::/" -i ./etc/shadow sed -e "/amule:x:/d" -i ./etc/shadow # Fix the problem of repeatedly adding sshd entries after each upgrade of dropbear sed -e "/sshd:x:/d" -i ./etc/shadow -if ! grep "sshd:x:22:sshd" ./etc/group >/dev/null;then - echo "sshd:x:22:sshd" >> ./etc/group +if ! grep "sshd:x:22:sshd" ./etc/group >/dev/null; then + echo "sshd:x:22:sshd" >>./etc/group fi -if ! grep "sshd:x:22:22:sshd:" ./etc/passwd >/dev/null;then - echo "sshd:x:22:22:sshd:/var/run/sshd:/bin/false" >> ./etc/passwd +if ! grep "sshd:x:22:22:sshd:" ./etc/passwd >/dev/null; then + echo "sshd:x:22:22:sshd:/var/run/sshd:/bin/false" >>./etc/passwd fi -if ! grep "sshd:x:" ./etc/shadow >/dev/null;then - echo "sshd:x:${ddd}:0:99999:7:::" >> ./etc/shadow +if ! grep "sshd:x:" ./etc/shadow >/dev/null; then + echo "sshd:x:${ddd}:0:99999:7:::" >>./etc/shadow fi if [ "${BR_FLAG}" -eq "1" ]; then @@ -640,7 +666,7 @@ if [ -x ./usr/sbin/balethirq.pl ]; then fi mv ./etc/rc.local ./etc/rc.local.orig -cat > "./etc/rc.local" <"./etc/rc.local" </dev/null 2>&1;then /etc/init.d/dockerd enable /etc/init.d/dockerd start @@ -795,7 +821,7 @@ if [ ${ROOT_DISK_TYPE} == "EMMC" ]; then mv -f boot-emmc.scr boot.scr fi -if [ ${K510} -eq 1 ]; then +if [ "${K510}" -eq "1" ]; then if [ -f "u-boot.ext" ]; then cp -vf u-boot.ext u-boot.emmc elif [ -f ${P1}/${UBOOT_OVERLOAD} ]; then @@ -804,6 +830,9 @@ if [ ${K510} -eq 1 ]; then cp -vf ${P1}/${UBOOT_OVERLOAD} u-boot.emmc chmod +x u-boot* fi +else + rm -f u-boot.ext 2>/dev/null + rm -f u-boot.emmc 2>/dev/null fi sync diff --git a/luci-app-argon-config/Makefile b/luci-app-argon-config/Makefile index d2842153b..618a11115 100644 --- a/luci-app-argon-config/Makefile +++ b/luci-app-argon-config/Makefile @@ -8,7 +8,7 @@ PKG_MAINTAINER:=jerrykuku LUCI_TITLE:=LuCI page for Argon Config LUCI_PKGARCH:=all -LUCI_DEPENDS:=+luci-compat +luci-theme-argon +LUCI_DEPENDS:=+luci-compat define Package/$(PKG_NAME)/conffiles /etc/config/argon diff --git a/luci-app-argonne-config/Makefile b/luci-app-argonne-config/Makefile index 51ec874a3..97bc70830 100644 --- a/luci-app-argonne-config/Makefile +++ b/luci-app-argonne-config/Makefile @@ -8,7 +8,7 @@ PKG_MAINTAINER:=jerrykuku LUCI_TITLE:=LuCI page for Argonne Config LUCI_PKGARCH:=all -LUCI_DEPENDS:=+luci-compat +luci-theme-argonne +LUCI_DEPENDS:=+luci-compat define Package/$(PKG_NAME)/conffiles /etc/config/argonne diff --git a/luci-app-clash/Makefile b/luci-app-clash/Makefile index 257337c3d..43300301a 100644 --- a/luci-app-clash/Makefile +++ b/luci-app-clash/Makefile @@ -9,9 +9,9 @@ include $(INCLUDE_DIR)/package.mk define Package/$(PKG_NAME) SECTION:=luci CATEGORY:=LuCI - SUBMENU:=3. Applications + SUBMENU:=2. Clash For OpenWRT TITLE:=LuCI app for clash - DEPENDS:=+luci-base +wget +iptables +coreutils-base64 +coreutils +coreutils-nohup +bash +ipset +libustream-openssl +curl +jsonfilter +ca-bundle +iptables-mod-tproxy +kmod-tun + DEPENDS:=+luci-base +wget +iptables +coreutils-base64 +coreutils +coreutils-nohup +bash +ipset +libustream-openssl +curl +jsonfilter +ca-certificates +iptables-mod-tproxy +kmod-tun PKGARCH:=all MAINTAINER:=frainzy1477 endef diff --git a/luci-app-dnscrypt-proxy2/Makefile b/luci-app-dnscrypt-proxy2/Makefile index 22c71a814..849e40a13 100644 --- a/luci-app-dnscrypt-proxy2/Makefile +++ b/luci-app-dnscrypt-proxy2/Makefile @@ -37,6 +37,7 @@ define Package/$(PKG_NAME) TITLE:=DNSCrypt Proxy LuCI interface URL:=https://github.com/peter-tank/luci-app-dnscrypt-proxy2 PKGARCH:=all + DEPENDS:=+PACKAGE_$(PKG_NAME)_INCLUDE_minisign:minisign endef define Package/$(PKG_NAME)/description diff --git a/luci-app-dockerman/Makefile b/luci-app-dockerman/Makefile index 44e64d51d..51dfa5c09 100644 --- a/luci-app-dockerman/Makefile +++ b/luci-app-dockerman/Makefile @@ -6,7 +6,7 @@ LUCI_DEPENDS:=@(aarch64||arm||x86_64) \ +luci-lib-docker \ +luci-lib-ip \ +docker \ - +dockerd +cgroupfs-mount \ + +dockerd \ +ttyd LUCI_PKGARCH:=all diff --git a/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman b/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman index 44bcca86d..4358728a1 100755 --- a/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman +++ b/luci-app-dockerman/root/etc/uci-defaults/luci-app-dockerman @@ -33,5 +33,4 @@ config_foreach remove_firewall firewall # Convert ac_allowed_container to ac_allowed_ports (sleep 30s && /etc/init.d/dockerman convert;/etc/init.d/dockerman restart) & -/etc/init.d/dockerd restart & exit 0 diff --git a/luci-app-fileassistant/Makefile b/luci-app-fileassistant/Makefile index f9c2df58f..5c86699db 100644 --- a/luci-app-fileassistant/Makefile +++ b/luci-app-fileassistant/Makefile @@ -9,6 +9,6 @@ LUCI_PKGARCH:=all PKG_VERSION:=1.0 PKG_RELEASE:=2 -include $(TOPDIR)/feeds/luci/luci.mk +include ../../luci.mk # call BuildPackage - OpenWrt buildroot signature diff --git a/luci-app-filebrowser/Makefile b/luci-app-filebrowser/Makefile index 3abe46bba..735d75985 100644 --- a/luci-app-filebrowser/Makefile +++ b/luci-app-filebrowser/Makefile @@ -17,6 +17,6 @@ PKG_RELEASE:=118071b PKG_LICENSE:=GPLv3 -include $(TOPDIR)/feeds/luci/luci.mk +include ../../luci.mk # call BuildPackage - OpenWrt buildroot signature diff --git a/luci-app-nft-qos/Makefile b/luci-app-nft-qos/Makefile index d5c113029..a8227de9f 100644 --- a/luci-app-nft-qos/Makefile +++ b/luci-app-nft-qos/Makefile @@ -9,6 +9,6 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=QoS over Nftables LUCI_DEPENDS:=+luci-compat +nft-qos -include $(TOPDIR)/feeds/luci/luci.mk +include ../../luci.mk # call BuildPackage - OpenWrt buildroot signature diff --git a/luci-app-nginx-pingos/Makefile b/luci-app-nginx-pingos/Makefile index af9d3f7af..81a79f9ce 100644 --- a/luci-app-nginx-pingos/Makefile +++ b/luci-app-nginx-pingos/Makefile @@ -8,7 +8,7 @@ PKG_RELEASE:=1 PKG_SOURCE:=nginx-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://nginx.org/download/ -PKG_HASH:=skip +PKG_HASH:=b11195a02b1d3285ddf2987e02c6b6d28df41bb1b1dd25f33542848ef4fc33b5 PKG_DIR:=$(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR:=$(PKG_DIR)/nginx-$(PKG_VERSION) diff --git a/luci-app-openclash/Makefile b/luci-app-openclash/Makefile index f52e0ad11..366f78d47 100644 --- a/luci-app-openclash/Makefile +++ b/luci-app-openclash/Makefile @@ -19,8 +19,8 @@ define Package/$(PKG_NAME) SUBMENU:=3. Applications TITLE:=LuCI support for clash PKGARCH:=all - DEPENDS:=+iptables +dnsmasq-full +coreutils +coreutils-nohup +bash +curl +ca-bundle +ipset +ip-full \ - +iptables-mod-tproxy +iptables-mod-extra +libcap +libcap-bin +libcap-bin +ruby +ruby-yaml +kmod-tun + DEPENDS:=+iptables +dnsmasq-full +coreutils +coreutils-nohup +bash +curl +ca-certificates +ipset +ip-full \ + +iptables-mod-tproxy +iptables-mod-extra +libcap +libcap-bin +ruby +ruby-yaml +kmod-tun MAINTAINER:=vernesong endef diff --git a/luci-app-packet-capture/Makefile b/luci-app-packet-capture/Makefile index aa9bcf5a2..ef6370df3 100644 --- a/luci-app-packet-capture/Makefile +++ b/luci-app-packet-capture/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Packet capture application -LUCI_DEPENDS:=+luci-mod-admin-full +tcpdump +coreutils +coreutils-timeout +LUCI_DEPENDS:=+luci-mod-admin-full +tcpdump +uhttpd-mod-ubus +coreutils +coreutils-timeout PKG_MAINTAINER:=Wojciech Jowsa PKG_LICENSE:=Apache-2.0 diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index e2d58da76..e46b789ee 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=4.53 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Transparent_Proxy \ diff --git a/luci-app-passwall/luasrc/model/cbi/passwall/server/api/app.lua b/luci-app-passwall/luasrc/model/cbi/passwall/server/api/app.lua index 702b41966..92693bdc7 100755 --- a/luci-app-passwall/luasrc/model/cbi/passwall/server/api/app.lua +++ b/luci-app-passwall/luasrc/model/cbi/passwall/server/api/app.lua @@ -123,10 +123,10 @@ local function start() bin = ln_run("/usr/bin/" .. type .. "-server", type .. "-server", "-c " .. config_file .. " " .. udp_param, log_path) elseif type == "V2ray" then config = require(require_dir .. "v2ray").gen_config(user) - bin = ln_run(api.get_v2ray_path(), "v2ray", "run -config=" .. config_file, log_path) + bin = ln_run(api.get_v2ray_path(), "v2ray", "run -c " .. config_file, log_path) elseif type == "Xray" then config = require(require_dir .. "v2ray").gen_config(user) - bin = ln_run(api.get_xray_path(), "xray", "-config=" .. config_file, log_path) + bin = ln_run(api.get_xray_path(), "xray", "run -c " .. config_file, log_path) elseif type == "Trojan" then config = require(require_dir .. "trojan").gen_config(user) bin = ln_run("/usr/sbin/trojan", "trojan", "-c " .. config_file, log_path) diff --git a/luci-app-passwall/root/usr/share/passwall/app.sh b/luci-app-passwall/root/usr/share/passwall/app.sh index baa226bad..f2b6b4290 100755 --- a/luci-app-passwall/root/usr/share/passwall/app.sh +++ b/luci-app-passwall/root/usr/share/passwall/app.sh @@ -351,8 +351,7 @@ run_v2ray() { _extra_param="${_extra_param} -tcp_proxy_way $tcp_proxy_way" _extra_param="${_extra_param} -loglevel $loglevel" lua $API_GEN_V2RAY ${_extra_param} > $config_file - [ "$type" = "xray" ] && ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file -config="$config_file" - [ "$type" = "v2ray" ] && ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file run -config="$config_file" + ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file run -c "$config_file" } run_dns2socks() { @@ -435,8 +434,7 @@ run_socks() { local _extra_param="-local_http_port $http_port" } lua $API_GEN_V2RAY_PROTO -local_socks_port $socks_port ${_extra_param} -server_proto socks -server_address ${_socks_address} -server_port ${_socks_port} -server_username ${_socks_username} -server_password ${_socks_password} > $config_file - [ "$type" = "xray" ] && ln_run "$bin" $type $log_file -config="$config_file" - [ "$type" = "v2ray" ] && ln_run "$bin" $type $log_file run -config="$config_file" + ln_run "$bin" $type $log_file run -c "$config_file" ;; v2ray|\ xray) @@ -513,8 +511,9 @@ run_socks() { fi [ -z "$type" ] && return 1 lua $API_GEN_V2RAY_PROTO -local_http_port $http_port -server_proto socks -server_address "127.0.0.1" -server_port $socks_port -server_username $_username -server_password $_password > $http_config_file - ln_run "$bin" ${type} /dev/null -config="$http_config_file" + ln_run "$bin" ${type} /dev/null run -c "$http_config_file" } + unset http_flag } run_redir() { diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index 6b4f1c23b..13d4b9541 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 PKG_VERSION:=1.3 -PKG_RELEASE:=7 +PKG_RELEASE:=8 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Transparent_Proxy \ diff --git a/luci-app-passwall2/luasrc/model/cbi/passwall2/server/api/app.lua b/luci-app-passwall2/luasrc/model/cbi/passwall2/server/api/app.lua index ce362a945..52ea71d57 100644 --- a/luci-app-passwall2/luasrc/model/cbi/passwall2/server/api/app.lua +++ b/luci-app-passwall2/luasrc/model/cbi/passwall2/server/api/app.lua @@ -123,10 +123,10 @@ local function start() bin = ln_run("/usr/bin/" .. type .. "-server", type .. "-server", "-c " .. config_file .. " " .. udp_param, log_path) elseif type == "V2ray" then config = require(require_dir .. "v2ray").gen_config(user) - bin = ln_run(api.get_v2ray_path(), "v2ray", string.format("run -config=%s", config_file), log_path) + bin = ln_run(api.get_v2ray_path(), "v2ray", "run -c " .. config_file, log_path) elseif type == "Xray" then config = require(require_dir .. "v2ray").gen_config(user) - bin = ln_run(api.get_xray_path(), "xray", "-config=" .. config_file, log_path) + bin = ln_run(api.get_xray_path(), "xray", "run -c " .. config_file, log_path) elseif type == "Brook" then local brook_protocol = user.protocol local brook_password = user.password diff --git a/luci-app-passwall2/root/usr/share/passwall2/app.sh b/luci-app-passwall2/root/usr/share/passwall2/app.sh index 4cd862da1..c7c7f04af 100755 --- a/luci-app-passwall2/root/usr/share/passwall2/app.sh +++ b/luci-app-passwall2/root/usr/share/passwall2/app.sh @@ -363,8 +363,7 @@ run_v2ray() { ;; esac lua $API_GEN_V2RAY -node $node -redir_port $redir_port -tcp_proxy_way $tcp_proxy_way -loglevel $loglevel ${_extra_param} > $config_file - [ "$type" == "xray" ] && ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file -config="$config_file" - [ "$type" == "v2ray" ] && ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file run -config="$config_file" + ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file run -c "$config_file" } run_socks() { @@ -418,8 +417,7 @@ run_socks() { local _extra_param="-local_http_port $http_port" } lua $API_GEN_V2RAY -node $node -local_socks_port $socks_port ${_extra_param} > $config_file - [ "$type" == "xray" ] && ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file -config="$config_file" - [ "$type" == "v2ray" ] && ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file run -config="$config_file" + ln_run "$(first_type $(config_t_get global_app ${type}_file) ${type})" ${type} $log_file run -c "$config_file" ;; naiveproxy) lua $API_GEN_NAIVE -node $node -run_type socks -local_addr $bind -local_port $socks_port -server_host $server_host -server_port $port > $config_file @@ -479,8 +477,9 @@ run_socks() { fi [ -z "$type" ] && return 1 lua $API_GEN_V2RAY_PROTO -local_http_port $http_port -server_proto socks -server_address "127.0.0.1" -server_port $socks_port -server_username $_username -server_password $_password > $http_config_file - ln_run "$bin" ${type} /dev/null -config="$http_config_file" + ln_run "$bin" ${type} /dev/null run -c "$http_config_file" } + unset http_flag } node_switch() { diff --git a/luci-app-quickstart/Makefile b/luci-app-quickstart/Makefile index 41b17c3e4..2f6d297bc 100644 --- a/luci-app-quickstart/Makefile +++ b/luci-app-quickstart/Makefile @@ -6,10 +6,10 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI support for quickstart -LUCI_DEPENDS:=+quickstart +shadow-utils +shadow-useradd +luci-app-store +LUCI_DEPENDS:=+quickstart +shadow-utils +shadow-useradd +luci-app-store +mount-utils LUCI_PKGARCH:=all -PKG_VERSION:=0.3.3-1 +PKG_VERSION:=0.3.3-2 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/luci-app-quickstart/root/www/luci-static/quickstart/index.js b/luci-app-quickstart/root/www/luci-static/quickstart/index.js index 24e51a51e..e57a1ca53 100644 --- a/luci-app-quickstart/root/www/luci-static/quickstart/index.js +++ b/luci-app-quickstart/root/www/luci-static/quickstart/index.js @@ -1 +1 @@ -var ce=Object.defineProperty,de=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var Wt=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var xt=(e,s,u)=>s in e?ce(e,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[s]=u,j=(e,s)=>{for(var u in s||(s={}))_e.call(s,u)&&xt(e,u,s[u]);if(Wt)for(var u of Wt(s))ve.call(s,u)&&xt(e,u,s[u]);return e},ut=(e,s)=>de(e,re(s));var Ft=(e,s,u)=>(xt(e,typeof s!="symbol"?s+"":s,u),u);var I=(e,s,u)=>new Promise((a,o)=>{var d=c=>{try{l(u.next(c))}catch(r){o(r)}},v=c=>{try{l(u.throw(c))}catch(r){o(r)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(d,v);l((u=u.apply(e,s)).next())});import{r as at,o as n,c as i,a as C,b as t,d as P,e as q,t as f,n as ht,f as Rt,u as x,g as mt,h as V,w as T,i as pe,j as y,k as St,l as Zt,m as E,p as he,q as me,s as be,v as Fe,x as fe,y as $e,z as ye,A as ft,F as U,B as Y,C as L,D as N,E as Tt,T as K,G as tt,H as Z,I as z,J as ot,K as et,L as ke,M as G,N as Ee,O as De,P as ge,Q as Ce}from"./vendor.js";const we=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const v of d.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&a(v)}).observe(document,{childList:!0,subtree:!0});function u(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerpolicy&&(d.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?d.credentials="include":o.crossorigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function a(o){if(o.ep)return;o.ep=!0;const d=u(o);fetch(o.href,d)}};we();var w=(e,s)=>{const u=e.__vccOpts||e;for(const[a,o]of s)u[a]=o;return u};const Be={},Ae={id:"main"};function xe(e,s){const u=at("router-view");return n(),i("div",Ae,[C(u)])}var Se=w(Be,[["render",xe],["__scopeId","data-v-7b4f4b88"]]);const Te={},Ie={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"},Pe=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),Me=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),ze=[Pe,Me];function Le(e,s){return n(),i("svg",Ie,ze)}var Ne=w(Te,[["render",Le]]);const Oe={},Ve={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"},Ge=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),qe=[Ge];function Ue(e,s){return n(),i("svg",Ve,qe)}var je=w(Oe,[["render",Ue]]);const He={},We={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"},Re=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),Ze=[Re];function Je(e,s){return n(),i("svg",We,Ze)}var Ke=w(He,[["render",Je]]);const Qe={},Xe={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"},Ye=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),ts=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),es=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),ss=[Ye,ts,es];function us(e,s){return n(),i("svg",Xe,ss)}var as=w(Qe,[["render",us]]);const ns={},os={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"},is=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),ls=[is];function cs(e,s){return n(),i("svg",os,ls)}var ds=w(ns,[["render",cs]]);const rs={},_s={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"},vs=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),ps=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),hs=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),ms=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),bs=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Fs=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),fs=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),$s=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),ys=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),ks=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),Es=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),Ds=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),gs=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),Cs=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),ws=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),Bs=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),As=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),xs=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),Ss=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),Ts=[vs,ps,hs,ms,bs,Fs,fs,$s,ys,ks,Es,Ds,gs,Cs,ws,Bs,As,xs,Ss];function Is(e,s){return n(),i("svg",_s,Ts)}var Ps=w(rs,[["render",Is]]);const Ms={},zs={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"},Ls=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),Ns=[Ls];function Os(e,s){return n(),i("svg",zs,Ns)}var Vs=w(Ms,[["render",Os]]);const Gs={class:"progress"},qs=P({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const s=e,u=q(()=>s.value>=80?"#e45e5e":s.value>=70?"#ff9800":s.value>=60?"#297ff3":s.value>0?"#53c31b":"");return(a,o)=>(n(),i("div",Gs,[t("div",{class:ht(["progress-value",`${e.value>50}`]),style:Rt({width:`${e.value}%`,backgroundColor:x(u)})},[t("span",null,f(e.text),1)],6),mt(a.$slots,"default",{},void 0,!0)]))}});var Jt=w(qs,[["__scopeId","data-v-e4c553ec"]]);const Us={},js={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"},Hs=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),Ws=[Hs];function Rs(e,s){return n(),i("svg",js,Ws)}var Zs=w(Us,[["render",Rs]]);const Js={},Ks={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"},Qs=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),Xs=[Qs];function Ys(e,s){return n(),i("svg",Ks,Xs)}var t1=w(Js,[["render",Ys]]);const e1={};function s1(e,s){return n(),i("article",null,[mt(e.$slots,"default",{},void 0,!0)])}var u1=w(e1,[["render",s1],["__scopeId","data-v-bd286d4e"]]);const a1={class:"cover"},n1={class:"thumbnail"},o1=P({emits:["click"],setup(e,{emit:s}){const u=()=>{s("click")};return(a,o)=>(n(),V(u1,null,{default:T(()=>[t("a",{onClick:u},[t("div",a1,[t("div",n1,[mt(a.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var i1=w(o1,[["__scopeId","data-v-123deb20"]]);const l1=(e,s)=>I(void 0,null,function*(){return new Promise((u,a)=>I(void 0,null,function*(){try{const o=yield fetch(e,s),d=j({},o);d.data=yield o.json(),u(d)}catch(o){a(o)}}))});class It{constructor(s){Ft(this,"config",{baseURL:"",headers:{}});Ft(this,"useRequest",s=>s);Ft(this,"useResponse",s=>s);Ft(this,"useError",s=>s);s.baseURL&&(this.config.baseURL=s.baseURL),s.headers&&(this.config.headers=s.headers)}static create(s){return new It(s)}Do(s,u){return I(this,null,function*(){return new Promise((a,o)=>I(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});s=`${d.baseURL||""}${s}`,u.headers==null&&(u.headers={}),d.headers&&(u.headers=j({},d.headers));const l=yield fetch(s,u),c=j({},l);c.data=yield l.json(),a(this.useResponse(c))}catch(d){this.useError(d),o(d)}}))})}TEXT(s,u){return I(this,null,function*(){return new Promise((a,o)=>I(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});s=`${d.baseURL||""}${s}`,u.headers==null&&(u.headers={}),d.headers&&(u.headers=j({},d.headers));const l=yield fetch(s,u),c=j({},l);c.data=yield l.text(),a(c)}catch(d){this.useError(d),o(d)}}))})}interceptors(){const s=this;return{requset:{use(u){s.useRequest=u}},response:{use(u,a){s.useResponse=u,a&&(s.useError=a)}}}}}const Kt=It.create({});Kt.interceptors().requset.use(e=>e);Kt.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const c1="/cgi-bin/luci/istore";let Qt=!1;const M=(e,s)=>(e.indexOf("//")==-1&&(e=`${c1}${e}`),l1(e,s).then(u=>((u==null?void 0:u.data)&&u.data.success==-1001&&u.data.error=="Forbidden"&&(Qt||(Qt=!0,alert("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),location.reload())),u))),d1={Statistics:{GET(){return M("/network/statistics/",{method:"GET"})}},Status:{GET(){return M("/network/status/",{method:"GET"})}},Device:{List:{GET(){return M("/network/device/list/",{method:"GET"})}}}},r1={Version:{GET(){return M("/system/version/",{method:"GET"})}},Time:{GET(){return M("/system/time/",{method:"GET"})}},CPU:{Status:{GET(){return M("/system/cpu/status/",{method:"GET"})}},Temperature:{GET(){return M("/system/cpu/temperature/",{method:"GET"})}}},Memery:{Status:{GET(){return M("/system/memery/status/",{method:"GET"})}}},CheckUpdate:{GET(){return M("/system/check-update/",{method:"GET"})}}},_1={Disk:{Status:{GET(){return M("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return M("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>M("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>M("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>M("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>M("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return M("/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return M("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return M("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return M("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return M("/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}}},v1={Check:{POST(e){return M("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return M("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},p1={Pppoe:{GET(){return M("/guide/pppoe/",{method:"GET"})},POST(e){return M("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return M("/guide/dns-config/",{method:"GET"})},POST(e){return M("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return M("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return M("/guide/client-mode/",{method:"GET"})},POST(e){return M("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return M("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return M("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return M("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return M("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Aria2Status:{GET(){return M("/guide/aria2/status/",{method:"GET"})}},Aria2PartitionList:{GET(){return M("/guide/aria2/partition/list/",{method:"GET"})}},Aria2Init:{POST(e){return M("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}};var h1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Network:d1,System:r1,Nas:_1,App:v1,Guide:p1}),S=j({},h1);const m1=e=>{},b1=()=>new Date().getTime(),F1=e=>{const s=1e3;if(e=s;v/=s)u*=s,a++;let o=[" KB"," MB"," GB"," TB"," PB"," EB"];return(e/100/(u/100)).toFixed(1)+o[a]},f1=e=>{const s=1024;if(e=s;d/=s)u*=s,a++;let o=["M","G","T","P","E"];return(e/100/(u/100)).toFixed(2)+o[a]},$1=e=>{if(e==null)return 0;if(e<1e4)return e;let u=parseInt(`${e/1e4}`),a=e%1e4;return`${u}\u4E07${a}`},y1=e=>{if(e)try{var s=new Date(e),u=s.getHours(),a=s.getMinutes(),o=s.getSeconds();return u<10&&(u=`0${u}`),a<10&&(a=`0${a}`),o<10&&(o=`0${o}`),`${u}:${a}:${o}`}catch(d){}return""},k1=e=>{if(e){let s=Math.floor(e/86400),u=Math.floor(e%86400/3600),a=Math.floor(e%86400%3600/60),o=Math.floor(e%86400%3600%60);return s+"\u5929"+u+"\u5C0F\u65F6"+(a>10?a:"0"+a)+"\u5206"+(o>10?o:"0"+o)+"\u79D2"}},E1=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e);var D1=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",formatDate:m1,UnixDate:b1,byteToSize:F1,numberToSize:f1,numberToSum:$1,dateForm:y1,stampForm:k1,checkIsIP:E1}),$t=j({},D1);const g1={class:"flow"},C1={class:"flow-data"},w1={key:0},B1={key:1},A1=P({setup(e){pe([he,me,be,Fe,fe,$e]);const s=y(),u=D=>{var B;const h=(B=s.value)==null?void 0:B[D];return!h||h.startTime==0?"":c(h.startTime*1e3)+"-"+c(h.endTime*1e3)},a=q(()=>{var h;let D=[];return(h=s.value)==null||h.forEach(B=>{D.push({value:B.uploadSpeed})}),D}),o=q(()=>{var h;let D=[];return(h=s.value)==null||h.forEach(B=>{D.push({value:B.downloadSpeed})}),D}),d=q(()=>{var h;let D="";if(s.value){let B=((h=s.value)==null?void 0:h.length)||0;if(B>0){let A=s.value[B-1];D=r(A.uploadSpeed)+"/s"}}return D}),v=q(()=>{var h;let D="";if(s.value){let B=((h=s.value)==null?void 0:h.length)||0;if(B>0){let A=s.value[B-1];D=r(A.downloadSpeed)+"/s"}}return D});q(()=>{var h;let D=[];return(h=s.value)==null||h.forEach(B=>{D.push({value:B.downloadSpeed+B.uploadSpeed})}),D});const l=()=>I(this,null,function*(){var D;try{const h=yield S.Network.Statistics.GET();if(h.data&&((D=h.data.result)==null?void 0:D.items)){const B=h.data.result.slots||10;if(h.data.result.items.lengthB?s.value=h.data.result.items.slice(B-h.data.result.items.length):s.value=h.data.result.items}}catch(h){console.log(h)}}),c=$t.dateForm,r=$t.byteToSize,p=y();let g=null;const $=D=>(g=ye(D,"dark"),g.setOption({animation:!1,backgroundColor:"transparent",tooltip:{trigger:"axis",formatter:h=>{if(Array.isArray(h)){let B="";h.length>0&&(B=u(h[0].axisValue));for(let A=0;A${h[A].seriesName}: ${r(h[A].value)}/s`;return B.toString()}else{const B=h;return`${u(B.axisValue)}
${B.seriesName}: ${r(B.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},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e5,interval:1e4,axisLabel:{formatter:function(h,B){return`${r(h)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:o.value,type:"line",smooth:!0,areaStyle:{}},{name:"\u4E0A\u4F20",data:a.value,type:"line",smooth:!0,areaStyle:{}}],legend:{padding:0,align:"right",top:"10px",selected:{\u4E0A\u4F20:!0,\u4E0B\u8F7D:!0}},grid:{left:"2%",right:"2%",bottom:"2%",top:"10%",containLabel:!0}}),g);return St(()=>I(this,null,function*(){if(yield l(),p.value){const D=$(p.value);D.appendData;const h=p.value;D.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{D.resize({width:h.clientWidth,height:h.clientHeight})}),setInterval(()=>I(this,null,function*(){yield l(),D.setOption({series:[{name:"\u4E0B\u8F7D",data:o.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:a.value,type:"line",areaStyle:{},smooth:!0}]})}),5e3)}})),Zt(()=>{g!=null&&g.dispose()}),(D,h)=>(n(),i("div",g1,[t("div",{ref_key:"el",ref:p,class:"echart"},null,512),t("div",C1,[x(d)?(n(),i("span",w1,"\u4E0A\u4F20: "+f(x(d)),1)):E("",!0),x(v)?(n(),i("span",B1,"\u4E0B\u8F7D: "+f(x(v)),1)):E("",!0)])]))}});var x1=w(A1,[["__scopeId","data-v-694c05ec"]]);ft("app",{});ft("guide",{});const S1=ft("nas",{state:()=>({webdav:{}})}),Xt=ft("network",{state:()=>({status:{},statistics:{},deviceList:{}}),getters:{},actions:{requestNetworkStatus(){S.Network.Status.GET().then(e=>{if(e==null?void 0:e.data){const{result:s}=e==null?void 0:e.data;s&&(this.status=s,this.status.internetConnected===null&&(this.status.internetConnected=!1))}})},requestNetworkStatistics(){return I(this,null,function*(){try{const e=yield S.Network.Statistics.GET();(e==null?void 0:e.data)&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){S.Network.Device.List.GET().then(e=>{if(e==null?void 0:e.data){const{result:s}=e==null?void 0:e.data;s&&(this.deviceList=s)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Pt=ft("system",{state:()=>({version:{},time:{},cpuStatus:{},cpuTemperature:{},meneryStatus:{},checkUpdate:{}}),getters:{},actions:{incrTime(){var e;((e=this.time)==null?void 0:e.uptime)&&this.time.uptime++},requestVersion(){S.System.Version.GET().then(e=>{var s;((s=e==null?void 0:e.data)==null?void 0:s.result)&&(this.version=e.data.result)})},requestTime(){S.System.Time.GET().then(e=>{var s;((s=e==null?void 0:e.data)==null?void 0:s.result)&&(this.time=e.data.result)})},requestCpuStatus(){S.System.CPU.Status.GET().then(e=>{(e==null?void 0:e.data.result)&&(this.cpuStatus=e==null?void 0:e.data.result)})},requestCpuTemperature(){S.System.CPU.Temperature.GET().then(e=>{(e==null?void 0:e.data.result)&&(this.cpuTemperature=e==null?void 0:e.data.result)})},requestMeneryStatus(){S.System.Memery.Status.GET().then(e=>{(e==null?void 0:e.data.result)&&(this.meneryStatus=e==null?void 0:e.data.result)})},requestCheckUpdate(){S.System.CheckUpdate.GET().then(e=>{var s;((s=e==null?void 0:e.data)==null?void 0:s.result)&&(this.checkUpdate=e.data.result)})}}}),T1=()=>{const e=Xt(),s=Pt();e.requestNetworkStatus(),e.requestDeviceList(),s.requestVersion(),s.requestTime(),s.requestCpuStatus(),s.requestCpuTemperature(),s.requestMeneryStatus(),s.requestCheckUpdate(),setInterval(()=>{s.requestCpuStatus(),s.requestCpuTemperature(),s.requestMeneryStatus(),e.requestNetworkStatus()},3e3),setInterval(()=>{e.incrTime(),s.incrTime()},1e3)};const dt=e=>(L("data-v-3971c440"),e=e(),N(),e),I1={class:"app-container_status-label"},P1={class:"app-container_status-label_item"},M1={class:"app-container_status-container",style:{height:"100%"}},z1={key:0,class:"app-container_status-container_body"},L1=dt(()=>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)),N1=dt(()=>t("span",{class:"container_success"},"\u5DF2\u8FDE\u63A5\u4E92\u8054\u7F51",-1)),O1={class:"container_time"},V1={key:1,class:"app-container_status-container_body"},G1=dt(()=>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)),q1=dt(()=>t("span",{class:"container_failure"},"\u672A\u8FDE\u63A5\u4E92\u8054\u7F51",-1)),U1=[G1,q1],j1={key:1,class:"app-container_status-container_body"},H1=dt(()=>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)),W1={class:"container_failure"},R1={class:"app-container_status-label_item"},Z1={class:"app-container_status-container",style:{height:"100%"}},J1={class:"app-container_status-container_body"},K1=dt(()=>t("svg",{t:"1642045422383",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"18766",width:"128",height:"128"},[t("path",{d:"M663.716 890.757a60.723 60.723 0 0 0 60.805 60.723h235.54a60.703 60.703 0 0 0 60.744-60.723V782.05h-357.09v108.708zM842.3 829.85c20.603 0 37.376 16.773 37.376 37.458a37.396 37.396 0 0 1-74.813 0c0-20.685 16.773-37.458 37.437-37.458z m178.504-576.226a60.703 60.703 0 0 0-60.744-60.764h-235.54a60.744 60.744 0 0 0-60.805 60.764v503.214h357.09V253.624z m-49.07 159.253a11.612 11.612 0 0 1-11.674 11.571h-235.54a11.633 11.633 0 0 1-11.653-11.571v-38.994c0-6.39 5.243-11.592 11.653-11.592h235.54c6.41 0 11.674 5.161 11.674 11.592v38.994z m0-115.2a11.674 11.674 0 0 1-11.674 11.612h-235.54a11.674 11.674 0 0 1-11.653-11.612v-38.974a11.674 11.674 0 0 1 11.653-11.653h235.54c6.41 0 11.674 5.243 11.674 11.653v38.974z",fill:"#1296db","p-id":"18767"}),t("path",{d:"M626.012 875.07h-76.185V763.473h76.185V660.582H62.3V150.323h856.494v13.169h58.553c1.27 0 2.457 0.287 3.747 0.368v-7.516a72.335 72.335 0 0 0-72.376-72.376H72.376A72.376 72.376 0 0 0 0 156.344v534.774a72.356 72.356 0 0 0 72.376 72.335h368.927V875.05H298.537a38.216 38.216 0 0 0 0 76.41h344.474a71.844 71.844 0 0 1-16.999-46.12v-30.27z",fill:"#1296db","p-id":"18768"})],-1)),Q1={class:"container_content"},X1=dt(()=>t("em",null,null,-1)),Y1={class:"app-container_status-container"},tu={class:"app-container_title"},eu={class:"app-container_status-label_block"},su={class:"app-container_status-label_block"},uu={class:"app-container_title"},au={class:"app-container_status-label_block"},nu=P({setup(e){const s=Xt(),u=q(()=>s.status),a=q(()=>s.deviceList),o=l=>{switch(l){case"pppoe":return"\u62E8\u53F7\u4E0A\u7F51";case"static":return"\u9759\u6001\u7F51\u7EDC";case"dhcp":return"DHCP"}},d=l=>{switch(l){case"manual":return"\u624B\u52A8\u914D\u7F6E";case"auto":return"\u81EA\u52A8\u83B7\u53D6";default:return""}},v=$t.stampForm;return(l,c)=>{var r,p;return n(),i(U,null,[t("div",I1,[t("div",P1,[t("div",M1,[x(u)!=null?(n(),i(U,{key:0},[x(u).internetConnected?(n(),i("div",z1,[L1,N1,t("span",O1,f(x(v)(x(u).uptimeStamp)),1)])):(n(),i("div",V1,U1))],64)):E("",!0),x(u).networkInfo?(n(),i("div",j1,[H1,t("span",W1,f(x(u).networkInfo),1)])):E("",!0)])]),t("div",R1,[t("div",Z1,[t("div",J1,[K1,t("span",Q1,f(((p=(r=x(a))==null?void 0:r.devices)==null?void 0:p.length)||0)+"\u8BBE\u5907",1)])])])]),X1,t("div",Y1,[t("div",tu,[t("span",null,"IP\u5730\u5740\uFF08"+f(x(u).defaultInterface)+"\uFF09",1)]),t("div",eu,[t("span",null," IPv4\uFF1A "+f(x(u).ipv4addr)+" \uFF08"+f(o(x(u).proto||""))+"\uFF09 ",1)]),t("div",su,[t("span",null,"IPv6\uFF1A"+f(x(u).ipv6addr),1)]),t("div",uu,[t("span",null,"DNS\uFF08"+f(d(x(u).dnsProto))+"\uFF09",1)]),(n(!0),i(U,null,Y(x(u).dnsList,g=>(n(),i("div",au,[t("span",null,f(g),1)]))),256))])],64)}}});var ou=w(nu,[["__scopeId","data-v-3971c440"]]);const iu={class:"network-container"},lu={class:"network-container_flow"},cu={class:"network-container_flow-container"},du={class:"network-container_status"},ru=P({setup(e){return(s,u)=>(n(),i("div",iu,[t("div",lu,[t("div",cu,[C(x1,{style:{height:"360px"}})])]),t("div",du,[C(ou)])]))}});var _u=w(ru,[["__scopeId","data-v-4c8d6682"]]);const vu={},pu={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"},hu=t("title",null,"icon_alert",-1),mu=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),bu=[hu,mu];function Fu(e,s){return n(),i("svg",pu,bu)}var rt=w(vu,[["render",Fu]]);const fu={},$u={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"},yu=Tt('\u5206\u533A\u4FE1\u606F',2),ku=[yu];function Eu(e,s){return n(),i("svg",$u,ku)}var Yt=w(fu,[["render",Eu]]);const Du={},gu={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"},Cu=Tt('\u5168\u76D8\u683C\u5F0F\u5316',2),wu=[Cu];function Bu(e,s){return n(),i("svg",gu,wu)}var Au=w(Du,[["render",Bu]]);const xu={},Su={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"},Tu=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),Iu=[Tu];function Pu(e,s){return n(),i("svg",Su,Iu)}var Mu=w(xu,[["render",Pu]]);const zu=e=>(L("data-v-5a1bd72e"),e=e(),N(),e),Lu={id:"actioner"},Nu={key:0,class:"action-container"},Ou={class:"action-container_header"},Vu=zu(()=>t("div",null,null,-1)),Gu={class:"title"},qu={class:"action-container_body"},Uu=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const s=e,u=y(!1);St(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),Zt(()=>{document.body.removeAttribute("lock-scroll")});const a=()=>{s.Close&&(u.value=!1,setTimeout(()=>{s.Close&&s.Close()},300))};return(o,d)=>(n(),i("div",Lu,[t("div",{class:"bg",onClick:a}),e.type!=null?(n(),V(K,{key:0,name:"dialog"},{default:T(()=>[u.value?mt(o.$slots,"default",{key:0},void 0,!0):E("",!0)]),_:3})):(n(),V(K,{key:1,name:"dialog"},{default:T(()=>[u.value?(n(),i("div",Nu,[t("div",Ou,[Vu,t("div",Gu,f(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:a},[C(Mu)])]),t("div",qu,[mt(o.$slots,"default",{},void 0,!0)])])):E("",!0)]),_:3}))]))}});var ju=w(Uu,[["__scopeId","data-v-5a1bd72e"]]);const st=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){return(s,u)=>(n(),V(ju,{Close:e.Close,type:e.type,title:e.title},{default:T(()=>[t("div",null,[mt(s.$slots,"default")])]),_:3},8,["Close","type","title"]))}});const Hu={props:{type:String,message:String,Close:Function},data(){return{show:!1}},mounted(){setTimeout(()=>{this.show=!0},0)},methods:{Stop(){this.type!="loading"&&(this.show=!1,this.Close())}}},Ct=e=>(L("data-v-77fe4bee"),e=e(),N(),e),Wu={key:0,class:"loading icon"},Ru=Ct(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1024 1024",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)),Zu=[Ru],Ju={key:1,class:"success icon"},Ku=Ct(()=>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)),Qu=[Ku],Xu={key:2,class:"error icon"},Yu=Ct(()=>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)),ta=[Yu],ea={key:3,class:"warning icon"},sa=Ct(()=>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)),ua=[sa];function aa(e,s,u,a,o,d){return n(),V(K,{name:"el-fade-in-linear"},{default:T(()=>[o.show?(n(),i("div",{key:0,class:"toast",onClick:s[1]||(s[1]=v=>d.Stop())},[u.type=="loading"?(n(),i("div",Wu,Zu)):u.type=="success"?(n(),i("div",Ju,Qu)):u.type=="error"?(n(),i("div",Xu,ta)):u.type=="warning"?(n(),i("div",ea,ua)):E("",!0),t("div",{class:"message",onClick:s[0]||(s[0]=tt(()=>{},["stop"]))},f(u.message),1)])):E("",!0)]),_:1})}var na=w(Hu,[["render",aa],["__scopeId","data-v-77fe4bee"]]);const yt=new Map,_t=e=>{const s=Z(na,ut(j({},e),{Close:()=>{a()}})),u=document.createElement("div");document.body.append(u),s.mount(u);const a=()=>{u.remove(),yt.get(s._uid)&&yt.delete(s._uid)};return e.type=="loading"&&yt.set(s._uid,{Close:a}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{a()},e==null?void 0:e.duration):setTimeout(()=>{a()},3e3)),{Close:a}},b=e=>_t(e);b.Loading=e=>_t({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0});b.Success=e=>_t({type:"success",message:e});b.Error=e=>_t({type:"error",message:e});b.Warning=e=>_t({type:"warning",message:e});b.Message=e=>_t({message:e});b.Message=e=>_t({message:e});b.Clear=()=>{yt.forEach((e,s)=>{e.Close(),yt.delete(s)})};const it=e=>(L("data-v-aad0504e"),e=e(),N(),e),oa=["onSubmit"],ia=it(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u786C\u76D8\u914D\u7F6E")],-1)),la={class:"action-body"},ca={class:"disk-info"},da=it(()=>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)),ra={key:0,class:"disk-info_mount-name"},_a={key:1,class:"disk-info_mount-name"},va={key:0,class:"label-item"},pa=it(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),ha={class:"label-item_path"},ma={class:"label-item"},ba=it(()=>t("div",{class:"label-item_key"},[t("span",null,"\u683C\u5F0F\u5316\u9009\u9879")],-1)),Fa={class:"label-item_value"},fa={key:0,value:""},$a=it(()=>t("option",{value:"format"},"\u683C\u5F0F\u5316",-1)),ya={key:1,value:"default"},ka={class:"label-item_value"},Ea={key:0,class:"msg"},Da={key:1,class:"msg"},ga={class:"action-footer"},Ca=it(()=>t("div",{class:"auto"},null,-1)),wa=["disabled"],Ba=["disabled"],Aa={key:1,class:"action result"},xa={class:"action-body"},Sa=it(()=>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)),Ta=it(()=>t("div",{class:"action-body_msg"},"\u683C\u5F0F\u5316\u6210\u529F",-1)),Ia={key:0,class:"action-body_info"},Pa={key:1,class:"action-body_info"},Ma=et(" \u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A "),za={class:"btns"},La=P({props:{action:String,disk:{type:Object},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=()=>{s.Close&&s.Close()},a=_=>{_.preventDefault(),s.Cancel&&s.Cancel(),u()},o=_=>{s.Next&&s.Next(_),u()},d=y(!1),v=y(0),l=_=>{v.value=_},c=y(s.mount?"":"format"),r=y(),p=y(),g=()=>{switch(c.value){case"format":D();return;case"default":$();return;default:b.Warning("\u8BF7\u9009\u62E9\u9009\u7EBF");return}},$=()=>{let _="";const m=s.mount;if(m!=null&&m.mountPoint!=null&&(_=m.mountPoint),_!=""){o(_);return}b.Warning("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84")},D=()=>{const _=s.disk,m=s.mount;if(m){if(!confirm(`\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A ${m.mountPoint} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm(`\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 ${m.mountPoint}?`))return;B(m);return}if(_){if(!confirm(`\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 ${_.venderModel} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?"))return;h(_);return}b.Error("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E")},h=_=>I(this,null,function*(){if(_.name==null||_.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0");return}if(_.path==null||_.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84");return}d.value=!0;const m=b.Loading("\u521D\u59CB\u5316\u4E2D...");try{const F=yield S.Nas.Disk.Init.POST({name:_.name,path:_.path});if(F==null?void 0:F.data){const{result:k,error:O}=F==null?void 0:F.data;O&&b.Warning(O),k&&(k.errorInfo?b.Warning(k.errorInfo):(b.Success("\u521D\u59CB\u5316\u6210\u529F"),k.childrens&&k.childrens.length>0&&(p.value=k.childrens[0]),r.value=k,l(1)))}}catch(F){b.Error(F)}m.Close(),d.value=!1}),B=_=>I(this,null,function*(){if(_.path==null||_.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if(_.uuid==null||_.uuid==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}if(_.mountPoint==null||_.mountPoint==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u6302\u8F7D\u70B9");return}d.value=!0;const m=b.Loading("\u683C\u5F0F\u5316\u4E2D...");try{const F=yield S.Nas.Disk.Partition.Format.POST({path:_.path,uuid:_.uuid,mountPoint:_.mountPoint});if(F==null?void 0:F.data){const{result:k,error:O}=F==null?void 0:F.data;O&&b.Warning(O),k&&(b.Success("\u683C\u5F0F\u5316\u6210\u529F"),p.value=k,l(1))}}catch(F){b.Error(F)}m.Close(),d.value=!1}),A=()=>{if(p.value&&p.value.mountPoint){o(p.value.mountPoint);return}b.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return(_,m)=>(n(),V(st,{type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>{var F;return[v.value==0?(n(),i("form",{key:0,class:"action format",onSubmit:tt(g,["prevent"])},[ia,t("div",la,[t("div",ca,[da,e.mount?(n(),i("div",ra,[t("span",null,"\u3010"+f(e.mount.total)+"\u3011",1),t("span",null,f(e.mount.mountPoint),1)])):e.disk?(n(),i("div",_a,[t("span",null,"\u3010"+f(e.disk.size)+"\u3011",1),t("span",null,f(e.disk.venderModel),1)])):E("",!0)]),e.mount?(n(),i("div",va,[pa,t("div",ha,f(e.mount.total),1)])):E("",!0),t("div",ma,[ba,t("div",Fa,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=k=>c.value=k),required:""},[e.mount!=null?(n(),i("option",fa,"\u8BF7\u9009\u62E9\u9009\u9879")):E("",!0),$a,e.mount!=null?(n(),i("option",ya,"\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")):E("",!0)],512),[[ot,c.value]])]),t("div",ka,[c.value=="format"?(n(),i("p",Ea,"\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u4F20\u8F93\u901F\u5EA6\u66F4\u5FEB")):c.value=="default"?(n(),i("p",Da)):E("",!0)])])]),t("div",ga,[Ca,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:a,type:"button",disabled:d.value},"\u8FD4\u56DE",8,wa),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},"\u4E0B\u4E00\u6B65",8,Ba)])],40,oa)):v.value==1?(n(),i("div",Aa,[t("div",xa,[Sa,Ta,r.value?(n(),i("div",Ia,[et(" \u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8 "+f(r.value.venderModel)+" \u5E76\u6302\u8F7D\u5230 ",1),t("a",null,f((F=p.value)==null?void 0:F.mountPoint),1)])):E("",!0),p.value?(n(),i("div",Pa,[Ma,t("a",null,f(p.value.mountPoint),1)])):E("",!0),t("div",za,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:A},f(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var Na=w(La,[["__scopeId","data-v-aad0504e"]]),Mt=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(Na,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const vt=e=>(L("data-v-566c34b5"),e=e(),N(),e),Oa=vt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Va={class:"action-body"},Ga={class:"disk-info"},qa=vt(()=>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)),Ua={key:0,class:"disk-info_mount-name"},ja={key:1,class:"disk-info_mount-name"},Ha={key:0,class:"label-item"},Wa=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),Ra={class:"label-item_path"},Za={class:"label-item"},Ja=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u6302\u8F7D\u70B9")],-1)),Ka={class:"label-item_value"},Qa=["value"],Xa={class:"action-footer"},Ya=vt(()=>t("div",{class:"auto"},null,-1)),tn=["disabled"],en=["disabled"],sn={key:1,class:"action result"},un={class:"action-body"},an=vt(()=>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)),nn=vt(()=>t("div",{class:"action-body_msg"},"\u6302\u8F7D\u6210\u529F",-1)),on={key:0,class:"action-body_info"},ln={class:"btns"},cn=P({props:{action:String,disk:{type:Object},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=()=>{s.Close&&s.Close()},a=$=>{$.preventDefault(),s.Cancel&&s.Cancel(),u()},o=$=>{s.Next&&s.Next($),u()},d=y(!1),v=y(0),l=y("/mnt/data_"+s.mount.name),c=$=>{v.value=$};y(s.mount?"":"format"),y();const r=y(),p=()=>I(this,null,function*(){const $=s.mount;if($.path==null||$.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if($.uuid==null||$.uuid==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}d.value=!0;const D=b.Loading("\u6302\u8F7D\u4E2D...");try{const h=yield S.Nas.Disk.Partition.Mount.POST({path:$.path,uuid:$.uuid,mountPoint:l.value});if(h==null?void 0:h.data){const{result:B,error:A}=h==null?void 0:h.data;A&&b.Warning(A),B&&(b.Success("\u6302\u8F7D\u6210\u529F"),r.value=B,c(1))}}catch(h){b.Error(h)}D.Close(),d.value=!1}),g=()=>{if(r.value&&r.value.mountPoint){o(r.value.mountPoint);return}b.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return($,D)=>(n(),V(st,{type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[v.value==0?(n(),i("form",{key:0,class:"action format",onSubmit:D[0]||(D[0]=tt((...h)=>$.onSumbit&&$.onSumbit(...h),["prevent"]))},[Oa,t("div",Va,[t("div",Ga,[qa,e.mount?(n(),i("div",Ua,[t("span",null,"\u3010"+f(e.mount.total)+"\u3011",1),t("span",null,f(e.mount.mountPoint),1)])):e.disk?(n(),i("div",ja,[t("span",null,"\u3010"+f(e.disk.size)+"\u3011",1),t("span",null,f(e.disk.venderModel),1)])):E("",!0)]),e.mount?(n(),i("div",Ha,[Wa,t("div",Ra,f(e.mount.path)+"\uFF08"+f(e.mount.total)+"\uFF0C"+f(e.mount.filesystem.toUpperCase())+"\uFF09",1)])):E("",!0),t("div",Za,[Ja,t("div",Ka,[t("input",{type:"text",value:l.value},null,8,Qa)])])]),t("div",Xa,[Ya,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value,onClick:p},"\u786E\u5B9A",8,tn),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:a,type:"button",disabled:d.value},"\u8FD4\u56DE",8,en)])],32)):v.value==1?(n(),i("div",sn,[t("div",un,[an,nn,r.value?(n(),i("div",on,[et(" \u5DF2\u6210\u529F\u5C06\u5206\u533A "+f(r.value.path)+" \u6302\u8F7D\u5230 ",1),t("a",null,f(r.value.mountPoint),1)])):E("",!0),t("div",ln,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:g},f(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]),_:1})]),_:1}))}});var dn=w(cn,[["__scopeId","data-v-566c34b5"]]),te=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(dn,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const zt=e=>(L("data-v-67515ea0"),e=e(),N(),e),rn={class:"disk-content"},_n={class:"disk-item"},vn={class:"disk-item_name"},pn={class:"disk_value"},hn={key:0,class:"disk-item_value"},mn={class:"value-data"},bn={key:0,class:"disk-item-tooltip"},Fn=zt(()=>t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A",-1)),fn=[Fn],$n={key:1,class:"disk-item_value"},yn={key:0,class:"disk_status format"},kn={class:"disk_status_item"},En={key:0},Dn={key:0,class:"left_icon"},gn={class:"tooltip-trigger"},Cn={class:"disk_tip"},wn=zt(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("div",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u5BFC\u81F4\u65E0\u6CD5\u5199\u5165\u6570\u636E")])],-1)),Bn={class:"disk_status_item"},An={key:0},xn={class:"tooltip-trigger"},Sn={class:"disk_tip"},Tn=zt(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u786C\u76D8\u683C\u5F0F\u4E3ANTFS\uFF0C\u53EF\u80FD\u5BFC\u81F4\u786C\u76D8\u51FA\u73B0\u517C\u5BB9\u6027\u95EE\u9898\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")])],-1)),In=P({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(e){const s=e,u=function(v){Mt({action:"nas",disk:s.disk,mount:s.part,Cancel:()=>{},Next:l=>{location.reload()}})},a=()=>{te({action:"nas",disk:s.disk,mount:s.part,Cancel:()=>{},Next:()=>{location.reload()}})},o=()=>I(this,null,function*(){const v=b.Loading("\u5904\u7406\u4E2D...");try{const l=yield S.Nas.Disk.InitRest.POST({name:s.disk.name,path:s.disk.path});if(l==null?void 0:l.data){const{result:c,error:r}=l==null?void 0:l.data;r&&b.Warning(r),c&&(b.Success("\u6302\u8F7D\u6210\u529F"),location.reload())}}catch(l){b.Error(l)}v.Close()}),d=q(()=>s.part.filesystem=="Free Space");return(v,l)=>{var r;const c=at("progress-item");return n(),i("div",rn,[t("li",_n,[t("div",vn,[t("span",null,f(e.part.mountPoint||(x(d)?"-":"\u672A\u6302\u8F7D\uFF08"+e.part.name+"\uFF09")),1)]),t("div",pn,[e.part.mountPoint||x(d)?(n(),i("div",hn,[t("div",mn,[C(c,{value:x(d)?0:e.part.usage,text:x(d)?"\u672A\u5206\u533A\uFF08"+e.part.total+"\uFF09":e.part.used+"/"+e.part.total,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),x(d)?E("",!0):(n(),i("div",bn,fn))])):(n(),i("div",$n,[t("div",{class:"value-data",onClick:a},"\u624B\u52A8\u6302\u8F7D")])),x(d)?(n(),i("button",{key:2,class:"cbi-button cbi-button-apply",onClick:o},"\u5206\u533A\u5E76\u683C\u5F0F\u5316")):!e.disk.isSystemRoot&&(e.part.isReadOnly||e.part.filesystem=="ntfs")&&e.part.mountPoint?(n(),i("button",{key:3,class:"cbi-button cbi-button-apply",onClick:u},"\u683C\u5F0F\u5316\u5206\u533A")):E("",!0)])]),t("li",null,[e.part.mountPoint?(n(),i("div",yn,[t("div",kn,[et(" \u78C1\u76D8\u8BFB\u5199\u72B6\u6001\uFF1A"+f(e.part.isReadOnly?"\u53EA\u8BFB":"\u8BFB\u5199")+" ",1),!e.part.isSystemRoot&&e.part.isReadOnly?(n(),i("div",En,[e.part.filesystem=="ntfs"?(n(),i("div",Dn,[t("div",gn,[t("div",Cn,[C(rt)]),wn])])):E("",!0)])):E("",!0)]),t("div",Bn,[et(" \u78C1\u76D8\u683C\u5F0F\uFF1A"+f((r=e.part.filesystem)==null?void 0:r.toUpperCase())+" ",1),e.part.filesystem=="ntfs"?(n(),i("div",An,[t("div",xn,[t("div",Sn,[C(rt)]),Tn])])):E("",!0)])])):E("",!0)])])}}});var Pn=w(In,[["__scopeId","data-v-67515ea0"]]);const Lt=e=>(L("data-v-37b01307"),e=e(),N(),e),Mn={key:0,class:"action"},zn=Lt(()=>t("h2",{class:"title"},"\u5206\u533A\u4FE1\u606F",-1)),Ln=Lt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u6302\u8F7D\u70B9"),t("span",null,"\u5BB9\u91CF")],-1)),Nn={class:"app-container_body"},On=Lt(()=>t("div",{class:"auto"},null,-1)),Vn=P({props:{disk:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=y(0),a=()=>{s.Close&&s.Close()},o=d=>{d.preventDefault(),s.Cancel&&s.Cancel(),a()};return(d,v)=>(n(),V(st,{Close:e.Close,type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[u.value==0?(n(),i("div",Mn,[zn,t("ul",null,[t("li",null,[Ln,t("div",Nn,[(n(!0),i(U,null,Y(e.disk.childrens,(l,c)=>(n(),V(Pn,{key:c,part:l,disk:e.disk},null,8,["part","disk"]))),128))])])]),t("div",{class:"action-footer"},[On,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:o,type:"button"},"\u8FD4\u56DE")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var Gn=w(Vn,[["__scopeId","data-v-37b01307"]]),qn=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(Gn,ut(j({},e),{Close:()=>{a()}}));u.component("progress-item",Jt),u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const Nt=e=>(L("data-v-5300d81a"),e=e(),N(),e),Un={key:0,class:"disk-item error"},jn={class:"disk-item_name"},Hn={class:"disk-item_value"},Wn={class:"value-data"},Rn={class:"error"},Zn={key:1,class:"disk-item"},Jn={class:"disk-item_name"},Kn={class:"disk_value"},Qn={class:"disk-item_value"},Xn={class:"value-data"},Yn=Nt(()=>t("div",{class:"disk-item-tooltip"},[t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")],-1)),to={class:"disk_icon"},eo={key:0,class:"tooltip-trigger"},so={class:"disk_tip"},uo=Nt(()=>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)),ao={key:1,class:"tooltip-trigger"},no={class:"disk_tip"},oo=Nt(()=>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)),io={key:2,class:"disk-item load"},lo={class:"disk-item_name"},co={class:"disk_value"},ro={class:"disk-item_value"},_o={class:"value-data"},vo={key:3,class:"disk-item load"},po={class:"disk-item_name"},ho={class:"disk_value"},mo={key:0,class:"disk-item_value"},bo={class:"value-data"},Fo={key:1,class:"disk-item_value"},fo={class:"value-data"},$o={class:"disk_icon"},yo=P({props:{disk:{type:Object,required:!0}},setup(e){const s=e,u=q(()=>s.disk.errorInfo?"error":s.disk.childrens==null||s.disk.childrens.length==0?"load":s.disk.childrens.filter(v=>v.mountPoint).length==0?"unmounted":"success"),a=()=>{Mt({action:"disk",disk:s.disk,Cancel:()=>{},Next:()=>{location.reload()}})},o=()=>{qn({action:"disk",disk:s.disk,Cancel:()=>{},Next:()=>{location.reload()}})},d=()=>{te({action:"nas",disk:s.disk,mount:s.disk.childrens[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(v,l)=>{var r,p,g,$,D;const c=at("progress-item");return x(u)=="error"?(n(),i("li",Un,[t("div",jn,[t("span",null,f(e.disk.venderModel),1)]),t("div",Hn,[t("div",Wn,[t("span",Rn,f(e.disk.errorInfo),1)])])])):x(u)=="success"?(n(),i("li",Zn,[t("div",Jn,[t("span",null,"\u3010"+f(e.disk.size)+"\u3011",1),t("span",null,f(e.disk.venderModel),1)]),t("div",Kn,[t("div",Qn,[t("div",Xn,[C(c,{value:e.disk.usage,text:`${e.disk.used}/${e.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),Yn]),t("div",to,[e.disk.isDockerRoot&&e.disk.isSystemRoot&&e.disk.usage>=90?(n(),i("span",eo,[t("span",so,[C(rt)]),uo])):E("",!0),!e.disk.isSystemRoot&&(((r=e.disk.childrens)==null?void 0:r.filter(h=>h.isReadOnly||h.filesystem=="ntfs").length)||0)>0?(n(),i("span",ao,[t("span",no,[C(rt)]),oo])):E("",!0),!e.disk.isSystemRoot&&(((p=e.disk.childrens)==null?void 0:p.filter(h=>h.isReadOnly||h.filesystem=="ntfs").length)||0)>0?(n(),i("span",{key:2,class:"disk_infoicon",onClick:l[0]||(l[0]=h=>a())},[C(Au)])):E("",!0),t("span",{class:"disk_infoicon",onClick:l[1]||(l[1]=h=>o())},[C(Yt)])])])])):x(u)=="load"?(n(),i("li",io,[t("div",lo,[t("span",null,f(e.disk.venderModel),1)]),t("div",co,[t("div",ro,[t("div",_o,[t("button",{onClick:l[2]||(l[2]=h=>a())},"\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")])])])])):x(u)=="unmounted"?(n(),i("li",vo,[t("div",po,[t("span",null,f(e.disk.venderModel),1)]),t("div",ho,[((g=e.disk.childrens)==null?void 0:g.length)==1?(n(),i("div",mo,[t("div",bo,[t("button",{onClick:l[3]||(l[3]=h=>d())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),((($=e.disk.childrens)==null?void 0:$.length)||0)>1?(n(),i("div",Fo,[t("div",fo,[t("button",{onClick:l[4]||(l[4]=h=>o())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),t("div",$o,[(((D=e.disk.childrens)==null?void 0:D.length)||0)>1?(n(),i("span",{key:0,class:"disk_infoicon",onClick:l[5]||(l[5]=h=>o())},[C(Yt)])):E("",!0)])])])):E("",!0)}}});var ee=w(yo,[["__scopeId","data-v-5300d81a"]]);const Ot=e=>(L("data-v-854819a2"),e=e(),N(),e),ko={class:"app-container"},Eo=Ot(()=>t("div",{class:"app-container_title"},[t("span",null,"\u78C1\u76D8\u4FE1\u606F")],-1)),Do=Ot(()=>t("div",{class:"app-container_info"},"\u7CFB\u7EDF\u6839\u76EE\u5F55",-1)),go={class:"app-container_body"},Co=Ot(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5DF2\u6302\u8F7D\u78C1\u76D8")],-1)),wo={class:"app-container_body"},Bo=P({setup(e){const s=y();return(()=>{S.Nas.Disk.Status.GET().then(a=>{var o;if((o=a==null?void 0:a.data)==null?void 0:o.result){const d=a.data.result;s.value=d.disks}})})(),(a,o)=>{var d,v;return n(),i("div",ko,[t("ul",null,[t("li",null,[Eo,Do,t("div",go,[(n(!0),i(U,null,Y((d=s.value)==null?void 0:d.filter(l=>l.isSystemRoot),(l,c)=>(n(),V(ee,{key:c,disk:l},null,8,["disk"]))),128))])]),t("li",null,[Co,t("div",wo,[(n(!0),i(U,null,Y((v=s.value)==null?void 0:v.filter(l=>!l.isSystemRoot),(l,c)=>(n(),V(ee,{key:c,disk:l},null,8,["disk"]))),128))])])])])}}});var Ao=w(Bo,[["__scopeId","data-v-854819a2"]]);const se=e=>(L("data-v-20bf2b14"),e=e(),N(),e),xo={class:"app-container_samba"},So={key:0,class:"sambas-item"},To=se(()=>t("div",{class:"sambas-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Io={class:"sambas-item_value"},Po=se(()=>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)),Mo={class:"samba-item"},zo={class:"samba-item_name"},Lo=["title"],No=P({props:{sambas:{type:Array}},setup(e){const s=y({});return(()=>I(this,null,function*(){try{const a=yield S.Network.Status.GET();if(a==null?void 0:a.data){const o=a==null?void 0:a.data;o.result&&(s.value=o.result)}}catch(a){}}))(),(a,o)=>{var d;return n(),i("ul",xo,[e.sambas?(n(),i("li",So,[To,t("div",Io,[t("span",null,f(((d=e.sambas)==null?void 0:d.length)?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])])):E("",!0),Po,(n(!0),i(U,null,Y(e.sambas,v=>(n(),i("li",Mo,[t("div",zo,[t("span",null,"smb://"+f(s.value.ipv4addr)+"/",1),t("span",null,f(v.shareName),1)]),t("div",{class:"samba-item_value",title:v.path},[t("span",null,f(v.path),1)],8,Lo)]))),256))])}}});var Oo=w(No,[["__scopeId","data-v-20bf2b14"]]);const wt=e=>(L("data-v-6ab80352"),e=e(),N(),e),Vo={class:"webdav-item"},Go=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),qo={class:"webdav-item_value"},Uo={key:0,class:"webdav-item"},jo=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u6302\u8F7D\u8DEF\u5F84:")],-1)),Ho={class:"webdav-item_value"},Wo={key:1,class:"webdav-item"},Ro=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u670D\u52A1\u8DEF\u5F84:")],-1)),Zo={class:"webdav-item_value"},Jo=["href"],Ko={key:2,class:"webdav-item"},Qo=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u8D26\u53F7:")],-1)),Xo={class:"webdav-item_value"},Yo=P({props:{webdav:{type:Object}},setup(e){const s=e,u=q(()=>{var a;return`http://${location.host}:${(a=s.webdav)==null?void 0:a.port}`});return(a,o)=>{var d,v,l,c,r,p;return n(),i(U,null,[t("li",Vo,[Go,t("div",qo,[t("span",null,f(((d=e.webdav)==null?void 0:d.path)?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])]),((v=e.webdav)==null?void 0:v.path)?(n(),i("li",Uo,[jo,t("div",Ho,[t("span",null,f((l=e.webdav)==null?void 0:l.path),1)])])):E("",!0),((c=e.webdav)==null?void 0:c.port)?(n(),i("li",Wo,[Ro,t("div",Zo,[t("a",{href:x(u),target:"_blank",rel:"noopener noreferrer"},f(x(u)),9,Jo)])])):E("",!0),((r=e.webdav)==null?void 0:r.username)?(n(),i("li",Ko,[Qo,t("div",Xo,[t("span",null,f((p=e.webdav)==null?void 0:p.username),1)])])):E("",!0)],64)}}});var t2=w(Yo,[["__scopeId","data-v-6ab80352"]]);const Vt=e=>(L("data-v-7e21c965"),e=e(),N(),e),e2={class:"disk-item"},s2=Vt(()=>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)),u2={class:"disk-item_f"},a2={class:"disk-item_venderModel"},n2={class:"disk-item_used"},o2=Vt(()=>t("div",{class:"auto"},null,-1)),i2={class:"disk-item-r"},l2={class:"disk-children"},c2=["onClick"],d2=Vt(()=>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)),r2={key:0},_2={key:1},v2=P({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(e){var o,d;const s=e,u=y(!1);s.currDisk!=null&&((o=s.currDisk)==null?void 0:o.venderModel)==((d=s.disk)==null?void 0:d.venderModel)&&(u.value=!0);const a=v=>{u.value=!u.value,s.onDisk(v,null)};return(v,l)=>{var c;return n(),i("ul",e2,[t("li",{class:ht(["disk-info",{on:e.disk.venderModel==((c=e.currDisk)==null?void 0:c.venderModel),nopoint:e.disk.childrens==null||e.disk.childrens.length==0}]),onClick:l[0]||(l[0]=r=>a(e.disk))},[s2,t("div",u2,[t("div",a2,f(e.disk.venderModel),1),t("div",n2,f(e.disk.used)+"/"+f(e.disk.size),1)]),o2,t("div",i2,f(e.disk.path),1)],2),z(t("div",l2,[(n(!0),i(U,null,Y(e.disk.childrens,r=>{var p,g;return n(),i("li",{class:ht(["disk-children_item",{on:r.uuid==((p=e.currMountPoint)==null?void 0:p.uuid)&&r.path==((g=e.currMountPoint)==null?void 0:g.path)}]),onClick:$=>e.onDisk(e.disk,r)},[d2,r.mountPoint?(n(),i("span",r2," \u3010"+f(r.filesystem)+"\u3011 "+f(r.mountPoint)+" \uFF08"+f(r.used)+"/"+f(r.total)+"\uFF09 ["+f(r.uuid)+"] ",1)):(n(),i("span",_2," \u3010"+f(r.filesystem)+"\u3011 "+f(r.mountPoint||r.path||"\u672A\u6302\u8F7D\u78C1\u76D8")+" ["+f(r.uuid)+"] ",1))],10,c2)}),256))],512),[[ke,u.value]])])}}});var p2=w(v2,[["__scopeId","data-v-7e21c965"]]);const Gt=e=>(L("data-v-096f9344"),e=e(),N(),e),h2={class:"action list"},m2=Gt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")],-1)),b2={class:"action-body"},F2={class:"disk-list"},f2=Gt(()=>t("div",{class:"action-msg"},[t("span",null,[et(" \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)),$2=Gt(()=>t("div",{class:"auto"},null,-1)),y2=P({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(e){const s=e,u=y(!0),a=y();(()=>{S.Nas.Disk.Status.GET().then($=>{($==null?void 0:$.data.result)&&(a.value=$==null?void 0:$.data.result.disks)})})();const d=y(),v=y(),l=($,D)=>{d.value=$,v.value=D},c=()=>{s.Close&&s.Close()},r=()=>{s.Cancel&&s.Cancel(),c()},p=$=>{s.Next&&s.Next($),c()},g=()=>{if(d.value==null){b.Warning("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8");return}if(d.value.childrens!=null&&d.value.childrens.length>0&&v.value==null){b.Warning("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A");return}if(v.value!=null&&(v.value.mountPoint==null||v.value.mountPoint=="")){b.Warning("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D");return}u.value=!1,Mt({action:"nas",disk:d.value,mount:v.value,Cancel:()=>{u.value=!0},Next:$=>{p($)}})};return($,D)=>u.value?(n(),V(st,{key:0,type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[t("div",h2,[m2,t("div",b2,[t("div",F2,[(n(!0),i(U,null,Y(a.value,h=>(n(),V(p2,{disk:h,onDisk:l,currDisk:d.value,currMountPoint:v.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),f2,t("div",{class:"action-footer"},[$2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button"},"\u8FD4\u56DE"),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:g,type:"button"},"\u4E0B\u4E00\u6B65")])])]),_:1})]),_:1})):E("",!0)}});var k2=w(y2,[["__scopeId","data-v-096f9344"]]),E2=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(k2,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const Bt=e=>(L("data-v-0bd52330"),e=e(),N(),e),D2={class:"action"},g2={class:"action-body"},C2=Bt(()=>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)),w2=Bt(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),B2={class:"info"},A2=Bt(()=>t("span",null,"\u524D\u5F80",-1)),x2=["href"],S2=Bt(()=>t("span",null,"\u914D\u7F6E",-1)),T2=P({props:{Close:Function},setup(e){const s=e,u=y(""),a=q(()=>`http://${location.host}:${u.value}`);(()=>{S.Nas.Linkease.Enable.POST().then(v=>{var l,c;((l=v==null?void 0:v.data)==null?void 0:l.result)&&(u.value=((c=v.data.result)==null?void 0:c.port)||"")})})();const d=()=>{s.Close&&s.Close(),location.reload()};return(v,l)=>(n(),V(st,{type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[t("div",D2,[t("div",g2,[C2,w2,t("div",B2,[A2,t("a",{href:x(a),target:"_blank",rel:"noopener noreferrer"},f(x(a)),9,x2),S2]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:d},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var I2=w(T2,[["__scopeId","data-v-0bd52330"]]),P2=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(I2,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const kt=e=>(L("data-v-81d47b82"),e=e(),N(),e),M2=["onSubmit"],z2=kt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Webdav\u5171\u4EAB\u914D\u7F6E")],-1)),L2={class:"action-body"},N2={class:"label-item"},O2=kt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),V2={class:"label-item_value"},G2=["value"],q2={class:"label-item"},U2=kt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),j2={class:"label-item_value"},H2={class:"label-item"},W2=kt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),R2={class:"label-item_value"},Z2={class:"action-footer"},J2=kt(()=>t("div",{class:"auto"},null,-1)),K2=["disabled"],Q2=["disabled"],X2=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=c=>{c.preventDefault(),s.Close&&s.Close()},a=y(!1),o=y({username:"root",password:"",rootPath:s.rootPath});(()=>I(this,null,function*(){const c=b.Loading("\u52A0\u8F7D\u4E2D...");a.value=!0;try{const r=yield S.Nas.Webdav.Status.GET();if(r==null?void 0:r.data){const{result:p,error:g}=r.data;if(g){b.Warning(g);return}p&&(p.username&&(o.value.username=p.username),p.password&&(o.value.password=p.password))}}catch(r){b.Error(r)}a.value=!1,c.Close()}))();const v=()=>{const c=o.value;if(c.rootPath==""){b.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(c.username==""){b.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(c.password==""){b.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}l(c)},l=c=>I(this,null,function*(){a.value=!0;const r=b.Loading("\u521B\u5EFA\u4E2D...");try{const p=yield S.Nas.Webdav.Create.POST(c);if(p==null?void 0:p.data){const{error:g,result:$}=p.data;g&&b.Warning(g),$&&(b.Success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{location.reload()},1e3))}}catch(p){b.Error(p)}r.Close(),a.value=!1});return(c,r)=>(n(),V(st,{type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[t("form",{class:"action",onSubmit:tt(v,["prevent"])},[z2,t("div",L2,[t("div",N2,[O2,t("div",V2,[t("input",{type:"text",value:o.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,G2)])]),t("div",q2,[U2,t("div",j2,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":r[0]||(r[0]=p=>o.value.username=p)},null,512),[[G,o.value.username,void 0,{trim:!0}]])])]),t("div",H2,[W2,t("div",R2,[z(t("input",{type:"password","onUpdate:modelValue":r[1]||(r[1]=p=>o.value.password=p)},null,512),[[G,o.value.password,void 0,{trim:!0}]])])])]),t("div",Z2,[J2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:a.value},"\u5173\u95ED",8,K2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:a.value},"\u521B\u5EFA",8,Q2)])],40,M2)]),_:1})]),_:1}))}});var Y2=w(X2,[["__scopeId","data-v-81d47b82"]]),t6=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(Y2,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const lt=e=>(L("data-v-9f5ff522"),e=e(),N(),e),e6=["onSubmit"],s6=lt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Samba\u5171\u4EAB\u914D\u7F6E")],-1)),u6={class:"action-body"},a6={class:"label-item"},n6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),o6={class:"label-item_value"},i6=["value"],l6={class:"label-item"},c6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")],-1)),d6={class:"label-item_value"},r6={class:"label-item"},_6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),v6={class:"label-item_value"},p6={class:"label-item"},h6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),m6={class:"label-item_value"},b6={class:"samba-item"},F6={class:"samba-item_allow"},f6=lt(()=>t("label",{for:"allow",class:"samba-allow"},"\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)",-1)),$6={class:"samba-item_tips"},y6={class:"tooltip-trigger"},k6={class:"samba_tip"},E6=lt(()=>t("span",{class:"samba_dir_tip"},"\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50",-1)),D6={class:"action-footer"},g6=lt(()=>t("div",{class:"auto"},null,-1)),C6=["disabled"],w6=["disabled"],B6=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=l=>{l.preventDefault(),s.Close&&s.Close()},a=y(!1),o=y({shareName:"",username:"",password:"",rootPath:s.rootPath,allowLegacy:0}),d=()=>{const l=o.value;if(l.rootPath==""){b.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(l.shareName==""){b.Warning("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");return}if(l.username==""){b.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(l.password==""){b.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}l.allowLegacy==l.allowLegacy,v(l)},v=l=>I(this,null,function*(){a.value=!0;const c=b.Loading("\u521B\u5EFA\u4E2D...");try{const r=yield S.Nas.Samba.Create.POST(l);if(r==null?void 0:r.data){const{error:p,result:g}=r.data;p&&b.Warning(p),g&&(b.Success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{location.reload()},1e3))}}catch(r){b.Error(r)}c.Close(),a.value=!1});return(l,c)=>(n(),V(st,{type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[t("form",{class:"action",onSubmit:tt(d,["prevent"])},[s6,t("div",u6,[t("div",a6,[n6,t("div",o6,[t("input",{type:"text",value:o.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,i6)])]),t("div",l6,[c6,t("div",d6,[z(t("input",{type:"text","onUpdate:modelValue":c[0]||(c[0]=r=>o.value.shareName=r),required:"",placeholder:"\u5171\u4EAB\u540D\u79F0"},null,512),[[G,o.value.shareName,void 0,{trim:!0}]])])]),t("div",r6,[_6,t("div",v6,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":c[1]||(c[1]=r=>o.value.username=r)},null,512),[[G,o.value.username,void 0,{trim:!0}]])])]),t("div",p6,[h6,t("div",m6,[z(t("input",{type:"password","onUpdate:modelValue":c[2]||(c[2]=r=>o.value.password=r)},null,512),[[G,o.value.password,void 0,{trim:!0}]])])]),t("div",b6,[t("div",F6,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":c[3]||(c[3]=r=>o.value.allowLegacy=r)},null,512),[[Ee,o.value.allowLegacy,void 0,{trim:!0}]]),f6]),t("div",$6,[t("span",y6,[t("span",k6,[C(rt)]),E6])])])]),t("div",D6,[g6,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:a.value},"\u5173\u95ED",8,C6),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:a.value},"\u521B\u5EFA",8,w6)])],40,e6)]),_:1})]),_:1}))}});var A6=w(B6,[["__scopeId","data-v-9f5ff522"]]),x6=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(A6,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const Et=e=>(L("data-v-43b35c57"),e=e(),N(),e),S6={key:0,class:"action"},T6=Et(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC",-1)),I6=Et(()=>t("h3",{class:"desc"},"\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1",-1)),P6=Et(()=>t("option",{value:"linkease"},"\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09",-1)),M6=Et(()=>t("option",{value:"samba"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09",-1)),z6=Et(()=>t("option",{value:"webdav"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Webdav\uFF09",-1)),L6=[P6,M6,z6],N6={class:"btns"},O6=["disabled"],V6=P({props:{setup:Number,Close:{type:Function,required:!0}},setup(e){const s=e,u=y(!0),a=y("linkease"),o=y(!1),d=y(s.setup||0),v=()=>{s.Close&&s.Close()},l=()=>I(this,null,function*(){switch(a.value){case"webdav":yield c();break;case"samba":yield p();break;case"linkease":yield r();break}}),c=()=>I(this,null,function*(){o.value=!0;const A=b.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.App.Check.POST({name:"gowebdav"});if(A.Close(),_==null?void 0:_.data){const{result:m,error:F}=_.data;if(F&&b.Warning(F),m){if(m.status=="installed"){$();return}if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 GoWebdav \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){const k=b.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D..."),O=yield g("app-meta-gowebdav");k.Close(),O?$():b.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(_){b.Error(_)}A.Close(),o.value=!1}),r=()=>I(this,null,function*(){o.value=!0;const A=b.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.App.Check.POST({name:"linkease"});if(A.Close(),_==null?void 0:_.data){const{result:m,error:F}=_.data;if(F&&b.Warning(F),m){if(m.status=="installed"){D();return}if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 \u6613\u6709\u4E91 \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){const k=b.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D..."),O=yield g("app-meta-linkease");k.Close(),O?D():b.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(_){b.Error(_)}A.Close(),o.value=!1}),p=()=>I(this,null,function*(){o.value=!0;const A=b.Loading("\u914D\u7F6E\u4E2D...");$(),A.Close(),o.value=!1}),g=A=>I(this,null,function*(){return S.App.Install.POST({name:A}).then(()=>{}),new Promise((_,m)=>I(this,null,function*(){let F=0;const k=setInterval(()=>I(this,null,function*(){if(F>10){clearInterval(k),m(!1);return}const O=yield S.App.Check.POST({name:A});if(O==null?void 0:O.data){const{result:X}=O.data;if((X==null?void 0:X.status)=="installed"){clearInterval(k),_(!0);return}}F++}),3e3)}))}),$=()=>{o.value=!1,u.value=!1,E2({Cancel:()=>{u.value=!0},Next:A=>{switch(a.value){case"webdav":h(A);break;case"samba":B(A);break}}})},D=()=>{P2({}),v()},h=A=>{t6({rootPath:A}),v()},B=A=>{x6({rootPath:A}),v()};return(A,_)=>u.value?(n(),V(st,{key:0,Close:e.Close,type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[d.value==0?(n(),i("div",S6,[T6,I6,t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":_[0]||(_[0]=m=>a.value=m)},L6,512),[[ot,a.value]])])]),t("div",N6,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:l,type:"button",disabled:o.value},"\u4E0B\u4E00\u6B65",8,O6),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v,type:"button"},"\u53D6\u6D88")])])):E("",!0)]),_:1})]),_:1},8,["Close"])):E("",!0)}});var G6=w(V6,[["__scopeId","data-v-43b35c57"]]),ue=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(G6,ut(j({},e),{Close:()=>{a()}}));u.mount(s);const a=()=>{u.unmount(),s.remove()};return{Close:a}};const qt=e=>(L("data-v-682ee684"),e=e(),N(),e),q6={class:"app-container_linkease"},U6={class:"linkease-item"},j6=qt(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),H6={class:"linkease-item_value"},W6={key:0,class:"configure"},R6={key:0,class:"linkease-item"},Z6=qt(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u670D\u52A1\u5730\u5740:")],-1)),J6={class:"linkease-item_value"},K6=["href"],Q6=qt(()=>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)),X6=P({props:{linkease:{type:Object}},setup(e){const s=e,u=q(()=>{var o;return`http://${location.host}:${(o=s.linkease)==null?void 0:o.port}`}),a=()=>{ue({setup:0})};return(o,d)=>{var v,l,c;return n(),i("ul",q6,[t("li",U6,[j6,t("div",H6,[((v=e.linkease)==null?void 0:v.enabel)?(n(),i("span",W6,"\u5DF2\u914D\u7F6E")):(n(),i("span",{key:1,class:"configure enabel",onClick:d[0]||(d[0]=r=>a())},"\u672A\u914D\u7F6E"))])]),((l=e.linkease)==null?void 0:l.enabel)?(n(),i(U,{key:0},[((c=e.linkease)==null?void 0:c.port)?(n(),i("li",R6,[Z6,t("div",J6,[t("a",{href:x(u),target:"_blank",rel:"noopener noreferrer"},f(x(u)),9,K6)])])):E("",!0)],64)):E("",!0),Q6])}}});var Y6=w(X6,[["__scopeId","data-v-682ee684"]]);const t0=e=>(L("data-v-1f9aaa5f"),e=e(),N(),e),e0={class:"app-container"},s0=t0(()=>t("span",null,"\u5B58\u50A8\u670D\u52A1",-1)),u0={class:"app-container_body"},a0={class:"app-container_nas-menu"},n0=P({setup(e){const s=y("linkease"),u=y(),a=S1();(()=>{S.Nas.Service.Status.GET().then(v=>{var l;if((l=v==null?void 0:v.data)==null?void 0:l.result){const c=v.data.result;u.value=c,c.webdav&&(a.webdav=c.webdav)}})})();const d=()=>{ue({setup:0})};return(v,l)=>{var c,r,p;return n(),i("div",e0,[t("div",{class:"app-container_title"},[s0,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:d},"\u5FEB\u901F\u914D\u7F6E")]),t("div",u0,[t("ul",a0,[t("button",{onClick:l[0]||(l[0]=g=>s.value="linkease"),class:ht({on:s.value=="linkease"})},"\u6613\u6709\u4E91",2),t("button",{onClick:l[1]||(l[1]=g=>s.value="samba"),class:ht({on:s.value=="samba"})},"SAMBA",2),t("button",{onClick:l[2]||(l[2]=g=>s.value="webdav"),class:ht({on:s.value=="webdav"})},"WEBDAV",2)]),s.value=="samba"?(n(),V(Oo,{key:0,sambas:(c=u.value)==null?void 0:c.sambas},null,8,["sambas"])):s.value=="webdav"?(n(),V(t2,{key:1,webdav:(r=u.value)==null?void 0:r.webdav},null,8,["webdav"])):s.value=="linkease"?(n(),V(Y6,{key:2,linkease:(p=u.value)==null?void 0:p.linkease},null,8,["linkease"])):E("",!0)])])}}});var o0=w(n0,[["__scopeId","data-v-1f9aaa5f"]]);const Ut=e=>(L("data-v-64ec26cd"),e=e(),N(),e),i0={class:"app-container_docker"},l0={class:"docker-item"},c0=Ut(()=>t("div",{class:"docker-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),d0={key:0,class:"docker-item_value"},r0=Ut(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),_0=[r0],v0={key:1,class:"docker-item_value"},p0={key:0,class:"configure"},h0={key:1,class:"configure enabel"},m0={key:0,class:"docker-item"},b0=Ut(()=>t("div",{class:"docker-item_name"},[t("span",null,"Docker\u6839\u76EE\u5F55\uFF1A")],-1)),F0={class:"docker-item_value"},f0={class:"configure enabel"},$0={key:0},y0={class:"tooltip-trigger"},k0={class:"docker_tip"},E0={class:"tooltip-text tooltip-top"},D0={class:"docker_dir_tip"},g0=P({props:{docker:{type:Object}},setup(e){return(s,u)=>{var a,o,d,v,l;return n(),i("ul",i0,[t("li",l0,[c0,((a=e.docker)==null?void 0:a.status)=="not installed"?(n(),i("div",d0,_0)):(n(),i("div",v0,[((o=e.docker)==null?void 0:o.status)=="running"?(n(),i("span",p0,"\u5DF2\u542F\u52A8")):(n(),i("span",h0,"\u672A\u542F\u52A8"))]))]),((d=e.docker)==null?void 0:d.status)!="not installed"?(n(),i("li",m0,[b0,t("div",F0,[t("span",f0,f((v=e.docker)==null?void 0:v.path),1),((l=e.docker)==null?void 0:l.errorInfo)?(n(),i("span",$0,[t("span",y0,[t("span",k0,[C(rt)]),t("div",null,[t("div",E0,[t("span",D0,f(e.docker.errorInfo),1)])])])])):E("",!0)])])):E("",!0)])}}});var C0=w(g0,[["__scopeId","data-v-64ec26cd"]]);const w0={},B0={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"},A0=Tt('icon_finished',2),x0=[A0];function S0(e,s){return n(),i("svg",B0,x0)}var ae=w(w0,[["render",S0]]);const J=e=>(L("data-v-773c80e3"),e=e(),N(),e),T0={key:0,class:"action"},I0=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),P0=J(()=>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:",-1)),M0={key:1,class:"action"},z0=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),L0=J(()=>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:",-1)),N0={class:"roots"},O0=J(()=>t("span",{class:"roots_tit"},"Docker\u6839\u76EE\u5F55\uFF1A",-1)),V0={class:"root"},G0={class:"move"},q0=J(()=>t("span",{class:"roots_tit"},"\u8FC1\u79FB\u5230\uFF1A",-1)),U0={key:0},j0=["onSubmit"],H0={class:"select-editable"},W0=J(()=>t("option",{selected:"selected",value:null},"\u8BF7\u9009\u62E9\u8FC1\u79FB\u5730\u5740",-1)),R0=["value"],Z0=J(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),J0={key:1,class:"tips"},K0={class:"tips_content"},Q0=J(()=>t("span",{class:"tip"},"\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\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)),X0={key:0,class:"btns"},Y0={key:1,class:"btns"},ti={key:2,class:"action"},ei=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),si={class:"finished"},ui=J(()=>t("p",{class:"successed"},"\u8FC1\u79FB\u6210\u529F\uFF01",-1)),ai={key:3,class:"action"},ni=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),oi=J(()=>t("div",{class:"finished"},[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)),ii={class:"successed"},li={class:"btns"},ci=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=y(),a=y(),o=y(0),d=y("null"),v=y(""),l=y(),c=y(""),r=y(!1);(()=>{S.Nas.Disk.Status.GET().then(_=>{(_==null?void 0:_.data.result)&&(l.value=_==null?void 0:_.data.result)}),S.Guide.DockerStatus.GET().then(_=>{var m;if((m=_==null?void 0:_.data)==null?void 0:m.result){const F=_.data.result;u.value=F}}),S.Guide.DockerPartitionList.GET().then(_=>{var m;if((m=_==null?void 0:_.data)==null?void 0:m.result){const F=_.data.result;a.value=F}})})();const g=_=>{let m=d.value;if(m=="useInput"&&(m=v.value),m==null||m=="null"||m=="")return;const F=b.Loading("\u6B63\u5728\u8FC1\u79FB\u4E2D...");S.Guide.DockerTransfer.POST({path:m,force:_}).then(k=>{var O,X;if((O=k==null?void 0:k.data)==null?void 0:O.result){if((k.data.result.success||0)==0){o.value=1;return}else if((X=k.data.result)==null?void 0:X.error)throw k.data.result.error=="111"&&k.data.result.scope=="guide/docker"&&(r.value=!0),k.data.result.detail}throw"\u672A\u77E5\u9519\u8BEF"}).catch(k=>{c.value=k,o.value=2}).finally(()=>F.Close())},$=()=>{r.value=!1,g(!1)},D=_=>{_.preventDefault(),s.Close&&s.Close()},h=_=>{_.preventDefault(),location.reload()},B=_=>{_.preventDefault(),o.value=0},A=_=>{_.preventDefault(),g(!0)};return(_,m)=>(n(),V(st,{Close:e.Close,type:1},{default:T(()=>{var F,k,O,X,jt,Ht;return[t("div",null,[o.value==-1?(n(),i("div",T0,[I0,P0,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:D},"\u53D6\u6D88")])])):o.value==0?(n(),i("div",M0,[z0,L0,t("div",N0,[O0,t("span",V0,f((F=u.value)==null?void 0:F.path),1)]),t("div",G0,[q0,((O=(k=a.value)==null?void 0:k.partitionList)==null?void 0:O.length)?(n(),i("div",U0,[t("form",{onSubmit:tt($,["prevent"])},[t("label",null,[t("div",H0,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=pt=>d.value=pt)},[W0,(n(!0),i(U,null,Y((X=a.value)==null?void 0:X.partitionList,(pt,le)=>(n(),i("option",{value:pt,key:le},f(pt),9,R0))),128)),Z0],512),[[ot,d.value,void 0,{trim:!0}]]),d.value=="useInput"?z((n(),i("input",{key:0,type:"text","onUpdate:modelValue":m[1]||(m[1]=pt=>v.value=pt),required:"",placeholder:"\u8BF7\u8F93\u5165\u8FC1\u79FB\u5730\u5740"},null,512)),[[G,v.value,void 0,{trim:!0}]]):E("",!0)])])],40,j0)])):a.value?(n(),i("div",J0,[t("div",K0,[C(rt),Q0])])):E("",!0)]),((Ht=(jt=a.value)==null?void 0:jt.partitionList)==null?void 0:Ht.length)?(n(),i("div",X0,[t("button",{class:"cbi-button cbi-button-apply",onClick:$},"\u786E\u5B9A"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:D},"\u53D6\u6D88")])):(n(),i("div",Y0,[t("button",{class:"cbi-button cbi-button-apply",onClick:D},"\u786E\u5B9A")]))])):o.value==1?(n(),i("div",ti,[ei,t("div",si,[C(ae)]),ui,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:h},"\u786E\u5B9A")])])):o.value==2?(n(),i("div",ai,[ni,oi,t("p",ii,"\u8FC1\u79FB\u5931\u8D25\uFF01"+f(c.value),1),t("div",li,[r.value?(n(),i("button",{key:0,class:"cbi-button cbi-button-apply",onClick:A},"\u5F3A\u5236\u7EE7\u7EED")):E("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:B},"\u8FD4\u56DE"),r.value?E("",!0):(n(),i("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:h},"\u53D6\u6D88"))])])):E("",!0)])]}),_:1},8,["Close"]))}});var di=w(ci,[["__scopeId","data-v-773c80e3"]]);const ri=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=Z(di,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}};const _i=e=>(L("data-v-3cb2679a"),e=e(),N(),e),vi={class:"app-container"},pi={class:"app-container_title"},hi=_i(()=>t("span",null,"Docker",-1)),mi=P({setup(e){const s=y(),u=()=>{ri()};return(()=>{S.Guide.DockerStatus.GET().then(o=>{var d;if((d=o==null?void 0:o.data)==null?void 0:d.result){const v=o.data.result;s.value=v}})})(),(o,d)=>{var v;return n(),i("div",vi,[t("div",pi,[hi,((v=s.value)==null?void 0:v.status)!="not installed"?(n(),i("button",{key:0,class:"cbi-button cbi-button-apply",onClick:u},"\u5FEB\u901F\u914D\u7F6E")):E("",!0)]),t("div",null,[C(C0,{docker:s.value},null,8,["docker"])])])}}});var bi=w(mi,[["__scopeId","data-v-3cb2679a"]]);const At=e=>(L("data-v-001e94d4"),e=e(),N(),e),Fi={class:"aria2_content"},fi={class:"app-container_aria2"},$i={class:"aria2-item"},yi=At(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),ki={key:0,class:"aria2-item_value"},Ei=At(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),Di=[Ei],gi={key:1,class:"aria2-item_value"},Ci={key:0,class:"configure"},wi={key:1,class:"configure enabel"},Bi={key:0,class:"aria2-item"},Ai=At(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A")],-1)),xi={class:"aria2-item_value"},Si={class:"configure enabel"},Ti={key:1,class:"aria2-item"},Ii=At(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740\uFF1A")],-1)),Pi={class:"aria2-item_value"},Mi={href:"/ariang",target:"_blank"},zi=P({props:{aria2:{type:Object}},setup(e){const s=y(location.origin+"/ariang");return(u,a)=>{var o,d,v,l;return n(),i("div",Fi,[t("ul",fi,[t("li",$i,[yi,((o=e.aria2)==null?void 0:o.status)=="not installed"?(n(),i("div",ki,Di)):(n(),i("div",gi,[((d=e.aria2)==null?void 0:d.status)=="running"?(n(),i("span",Ci,"\u5DF2\u542F\u52A8")):(n(),i("span",wi,"\u672A\u542F\u52A8"))]))]),((v=e.aria2)==null?void 0:v.status)=="running"?(n(),i("li",Bi,[Ai,t("div",xi,[t("span",Si,f(e.aria2.downloadPath),1)])])):E("",!0),((l=e.aria2)==null?void 0:l.status)=="running"?(n(),i("li",Ti,[Ii,t("div",Pi,[t("a",Mi,f(s.value),1)])])):E("",!0)])])}}});var Li=w(zi,[["__scopeId","data-v-001e94d4"]]);const Ni={},Oi={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"},Vi=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),Gi=[Vi];function qi(e,s){return n(),i("svg",Oi,Gi)}var ne=w(Ni,[["render",qi]]);const Q=e=>(L("data-v-0851c328"),e=e(),N(),e),Ui={key:0,class:"action"},ji=Q(()=>t("h2",{class:"title"},"Aria2\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),Hi={class:"load"},Wi={class:"left"},Ri={class:"tooltip-trigger"},Zi=Q(()=>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\uFF1Amnt/sda1/download")])],-1)),Ji=Q(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),Ki=["onSubmit"],Qi={class:"select-editable"},Xi=Q(()=>t("option",{selected:"true",value:null},"\u8BF7\u9009\u62E9\u4E0B\u8F7D\u76EE\u5F55",-1)),Yi=["value"],tl=Q(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),el={class:"RPC"},sl={class:"left"},ul={class:"tooltip-trigger"},al=Q(()=>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)),nl=Q(()=>t("span",null,"RPC \u4EE4\u724C\uFF1A",-1)),ol=Q(()=>t("span",null,"\u9644\u52A0\u7684 BT Tracker\uFF1A",-1)),il=Q(()=>t("label",{for:"default"},"\u9ED8\u8BA4",-1)),ll=Q(()=>t("label",{for:"add"},"\u81EA\u5DF1\u6DFB\u52A0",-1)),cl={key:1,class:"action"},dl=Q(()=>t("h2",{class:"title"},"Aria2\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),rl={class:"finished"},_l=Q(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),vl=P({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=y(),a=y([]),o=y(""),d=y(""),v=y("null"),l=y(""),c=y(!1),r=y(0),p=()=>{var _;((_=u.value)==null?void 0:_.downloadPath)&&(a.value.indexOf(u.value.downloadPath)==-1&&(a.value.push(u.value.downloadPath),a.value=a.value),v.value=u.value.downloadPath)};(()=>{S.Guide.Aria2Status.GET().then(_=>{var m;if((m=_==null?void 0:_.data)==null?void 0:m.result){const F=_.data.result;u.value=F,p()}}),S.Guide.Aria2PartitionList.GET().then(_=>{var m;if((m=_==null?void 0:_.data)==null?void 0:m.result){const F=_.data.result;a.value=F.partitionList||[],p()}})})();const $=()=>{let _=v.value;if(_=="useInput"&&(_=l.value),_==null||_=="null"||_=="")return;const m=b.Loading("\u6B63\u5728\u914D\u7F6E\u4E2D...");S.Guide.Aria2Init.POST({downloadPath:_,rpcToken:o.value,btTracker:d.value}).then(F=>{var k;if(F==null?void 0:F.data){if((F.data.success||0)==0){r.value=1;return}else if((k=F.data)==null?void 0:k.error)throw F.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(F=>b.Error(F)).finally(()=>m.Close())},D=_=>{_.preventDefault(),s.Close&&s.Close()},h=_=>{_.preventDefault(),location.reload()},B=()=>{c.value=!0},A=()=>{c.value=!1};return(_,m)=>(n(),V(st,{Close:e.Close,type:1},{default:T(()=>[C(K,{name:"rotate",mode:"out-in"},{default:T(()=>[r.value==0?(n(),i("div",Ui,[ji,t("div",Hi,[t("div",Wi,[t("span",Ri,[C(ne),Zi]),Ji]),t("form",{onSubmit:tt($,["prevent"])},[t("label",null,[t("div",Qi,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=F=>v.value=F),autocomplete:"off"},[Xi,(n(!0),i(U,null,Y(a.value,(F,k)=>(n(),i("option",{value:F,key:k},f(F),9,Yi))),128)),tl],512),[[ot,v.value,void 0,{trim:!0}]]),v.value=="useInput"?z((n(),i("input",{key:0,type:"text","onUpdate:modelValue":m[1]||(m[1]=F=>l.value=F),required:"",placeholder:"\u8BF7\u8F93\u5165\u4E0B\u8F7D\u76EE\u5F55"},null,512)),[[G,l.value,void 0,{trim:!0}]]):E("",!0)])])],40,Ki)]),t("div",el,[t("div",sl,[t("span",ul,[C(ne),al]),nl]),z(t("input",{type:"text",class:"RPC_input",placeholder:"\u8BF7\u8F93\u5165RPC\u4EE4\u724C","onUpdate:modelValue":m[2]||(m[2]=F=>o.value=F)},null,512),[[G,o.value,void 0,{trim:!0}]])]),t("div",{class:"Tracker"},[ol,t("input",{type:"radio",value:"default",checked:"checked",name:"BT",id:"default",onClick:A}),il,t("input",{type:"radio",value:"add",name:"BT",id:"add",onClick:B}),ll]),c.value?z((n(),i("textarea",{key:0,class:"Tracker_input","onUpdate:modelValue":m[3]||(m[3]=F=>d.value=F),rows:"4",placeholder:"\u8BF7\u8F93\u5165bt\u670D\u52A1\u5668\u5730\u5740"},null,512)),[[G,d.value,void 0,{trim:!0}]]):E("",!0),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:$},"\u542F\u7528"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:D},"\u53D6\u6D88")])])):r.value==1?(n(),i("div",cl,[dl,t("div",rl,[C(ae)]),_l,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:h},"\u786E\u5B9A")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var pl=w(vl,[["__scopeId","data-v-0851c328"]]);const oe=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=Z(pl,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}};const hl=e=>(L("data-v-4c3d8aa3"),e=e(),N(),e),ml={class:"app-container"},bl={class:"app-container_title"},Fl=hl(()=>t("span",null,"Aria2\u4E0B\u8F7D\u670D\u52A1",-1)),fl=["disabled"],$l={class:"app-container_content"},yl=P({setup(e){const s=y(),u=y(!1),a=()=>{(()=>I(this,null,function*(){u.value=!0;let l=b.Loading("\u914D\u7F6E\u4E2D...");try{const c=yield S.App.Check.POST({name:"aria2"});if(l.Close(),c==null?void 0:c.data){const{result:r,error:p}=c.data;if(p&&b.Warning(p),r){if(r.status=="installed")oe();else if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 Aria2 \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){l=b.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D...");const g=yield d("app-meta-aria2");l.Close(),g?(oe(),b.Success("\u5B89\u88C5\u6210\u529F")):b.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(c){b.Error(c)}l.Close(),u.value=!1}))()};(()=>{S.Guide.Aria2Status.GET().then(v=>{var l;if((l=v==null?void 0:v.data)==null?void 0:l.result){const c=v.data.result;s.value=c}})})();const d=v=>I(this,null,function*(){return S.App.Install.POST({name:v}).then(()=>{}),new Promise((l,c)=>I(this,null,function*(){let r=0;const p=setInterval(()=>I(this,null,function*(){if(r>20){clearInterval(p),c(!1);return}const g=yield S.App.Check.POST({name:v});if(g==null?void 0:g.data){const{result:$}=g.data;if(($==null?void 0:$.status)=="installed"){clearInterval(p),l(!0);return}}r++}),3e3)}))});return(v,l)=>(n(),i("div",ml,[t("div",bl,[Fl,t("button",{class:"cbi-button cbi-button-apply",onClick:a,disabled:u.value},"\u5FEB\u901F\u914D\u7F6E",8,fl)]),t("div",$l,[C(Li,{aria2:s.value},null,8,["aria2"])])]))}});var kl=w(yl,[["__scopeId","data-v-4c3d8aa3"]]);const El={class:"nas-container"},Dl={class:"nas-container_f"},gl={class:"nas-container_r"},Cl={class:"nas-container_f g"},wl={class:"nas-container_r g"},Bl=P({setup(e){return(s,u)=>(n(),i("div",El,[t("div",Dl,[C(Ao)]),t("div",gl,[C(o0)]),t("div",Cl,[C(bi)]),t("div",wl,[C(kl)])]))}});var Al=w(Bl,[["__scopeId","data-v-2d5f7a6e"]]);const ct=e=>(L("data-v-4392d014"),e=e(),N(),e),xl={class:"app-container"},Sl=ct(()=>t("div",{class:"app-container_title"},[t("span",null,"\u7CFB\u7EDF\u4FE1\u606F")],-1)),Tl={class:"item-label"},Il=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u6E29\u5EA6")],-1)),Pl={class:"item-label_value"},Ml={class:"item-label"},zl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u4F7F\u7528\u7387")],-1)),Ll={class:"item-label_value"},Nl={class:"item-label"},Ol=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u5B58\u4F7F\u7528\u7387")],-1)),Vl={class:"item-label_value"},Gl={class:"item-label"},ql=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u56FA\u4EF6\u7248\u672C")],-1)),Ul={class:"item-label_value"},jl={class:"item-label"},Hl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u6838\u7248\u672C")],-1)),Wl={class:"item-label_value"},Rl={class:"item-label"},Zl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5DF2\u542F\u52A8")],-1)),Jl={class:"item-label_value"},Kl={class:"item-label"},Ql=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u7CFB\u7EDF\u65F6\u95F4")],-1)),Xl={class:"item-label_value"},Yl=P({setup(e){const s=Pt(),u=q(()=>s.version),a=q(()=>s.time),o=q(()=>s.cpuStatus),d=q(()=>s.cpuTemperature),v=q(()=>s.meneryStatus),l=q(()=>{var g;return((g=o==null?void 0:o.value)==null?void 0:g.usage)||0}),c=q(()=>{var g;return((g=d.value)==null?void 0:g.temperature)||0}),r=q(()=>{var $;const g=(($=v.value)==null?void 0:$.availablePercentage)||100;return 100-g}),p=$t.stampForm;return St(()=>{}),(g,$)=>{var h,B,A,_;const D=at("progress-item");return n(),i("div",xl,[Sl,t("div",Tl,[Il,t("div",Pl,[C(D,{value:x(c)/1.5,text:`${x(c)}\u2103`},null,8,["value","text"])])]),t("div",Ml,[zl,t("div",Ll,[C(D,{value:x(l),text:`${x(l)}%`},null,8,["value","text"])])]),t("div",Nl,[Ol,t("div",Vl,[C(D,{value:x(r),text:`${x(r)}%`},null,8,["value","text"])])]),t("div",Gl,[ql,t("div",Ul,[t("span",null,f((h=x(u))==null?void 0:h.firmwareVersion),1)])]),t("div",jl,[Hl,t("div",Wl,[t("span",null,f((B=x(u))==null?void 0:B.kernelVersion),1)])]),t("div",Rl,[Zl,t("div",Jl,[t("span",null,f(x(p)((A=x(a))==null?void 0:A.uptime)),1)])]),t("div",Kl,[Ql,t("div",Xl,[t("span",null,f((_=x(a))==null?void 0:_.localtime),1)])])])}}});var t5=w(Yl,[["__scopeId","data-v-4392d014"]]);const nt=e=>(L("data-v-ba47163a"),e=e(),N(),e),e5=["onSubmit"],s5=nt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),u5={class:"actioner-dns_body"},a5={class:"label-item"},n5=nt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),o5={class:"label-item_value"},i5=nt(()=>t("option",{value:"auto"},"\u4F7F\u7528\u8FD0\u8425\u5546\u63D0\u4F9B\u7684DNS",-1)),l5=nt(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),c5=[i5,l5],d5={class:"label-item"},r5=nt(()=>t("div",{class:"label-item_key"},"DNS\u670D\u52A1\u5668\u5730\u5740",-1)),_5={class:"label-item_value"},v5=["onUpdate:modelValue"],p5={class:"label-item"},h5=nt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),m5={class:"label-item_value"},b5={class:"label-item"},F5=nt(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),f5={class:"label-item_value"},$5={key:1,class:"label-message"},y5={class:"actioner-dns_footer"},k5=["disabled"],E5={key:1,class:"actioner-dns"},D5=nt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),g5=nt(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),C5=P({props:{Close:{type:Function,required:!0}},setup(e){const s=e,u=y(0),a=y({interfaceName:"",dnsProto:"auto",manualDnsIp:[]}),o=y(""),d=y(""),v=y(""),l=y(!1);(()=>I(this,null,function*(){var $;l.value=!0;try{const D=yield S.Guide.DnsConfig.GET();(($=D==null?void 0:D.data)==null?void 0:$.result)&&(a.value=D.data.result)}catch(D){v.value=D}l.value=!1}))();const r=()=>I(this,null,function*(){v.value="";let $={};switch(a.value.dnsProto){case"auto":break;case"manual":$.manualDnsIp=[],a.value.manualDnsIp!=null&&a.value.manualDnsIp.length>0?$.manualDnsIp=a.value.manualDnsIp:($.manualDnsIp.push(o.value),d.value&&$.manualDnsIp.push(d.value));break}$.dnsProto=a.value.dnsProto,$.interfaceName=a.value.interfaceName;const D=b.Loading("\u914D\u7F6E\u4E2D...");try{const h=yield S.Guide.DnsConfig.POST($);if(h==null?void 0:h.data){const{success:B,error:A}=h==null?void 0:h.data;A&&(v.value=A),(B==null||B==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),u.value=1)}}catch(h){v.value=h}D.Close()}),p=$=>{$.preventDefault(),s.Close&&s.Close()},g=$=>{location.reload()};return($,D)=>(n(),V(st,{Close:e.Close,type:1},{default:T(()=>[u.value==0?(n(),i("form",{key:0,class:"actioner-dns",onSubmit:tt(r,["prevent"])},[s5,t("div",u5,[t("div",a5,[n5,t("div",o5,[z(t("select",{"onUpdate:modelValue":D[0]||(D[0]=h=>a.value.dnsProto=h)},c5,512),[[ot,a.value.dnsProto]])])]),a.value.dnsProto=="manual"?(n(),i(U,{key:0},[a.value.manualDnsIp!=null&&a.value.manualDnsIp.length>0?(n(!0),i(U,{key:0},Y(a.value.manualDnsIp,(h,B)=>(n(),i("div",d5,[r5,t("div",_5,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740","onUpdate:modelValue":A=>a.value.manualDnsIp[B]=A},null,8,v5),[[G,a.value.manualDnsIp[B],void 0,{trim:!0}]])])]))),256)):(n(),i(U,{key:1},[t("div",p5,[h5,t("div",m5,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":D[1]||(D[1]=h=>o.value=h)},null,512),[[G,o.value,void 0,{trim:!0}]])])]),t("div",b5,[F5,t("div",f5,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":D[2]||(D[2]=h=>d.value=h)},null,512),[[G,d.value,void 0,{trim:!0}]])])])],64))],64)):E("",!0),v.value?(n(),i("div",$5,f(v.value),1)):E("",!0)]),t("div",y5,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u53D6\u6D88"),t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:l.value},"\u786E\u8BA4",8,k5)])],40,e5)):u.value==1?(n(),i("div",E5,[D5,g5,t("div",{class:"actioner-dns_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u5B8C\u6210")])])):E("",!0)]),_:1},8,["Close"]))}});var w5=w(C5,[["__scopeId","data-v-ba47163a"]]);const B5=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=Z(w5,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}};const A5=e=>(L("data-v-46d61ee3"),e=e(),N(),e),x5={class:"nav-container"},S5=["onClick"],T5={key:0,class:"cbi-button cbi-button-apply app-btn cover-buttob app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},I5=et(" \u56FA\u4EF6\u66F4\u65B0 "),P5=A5(()=>t("i",null,null,-1)),M5=[I5,P5],z5=P({setup(e){const s=Pt(),u=q(()=>s.checkUpdate.needUpdate),a=()=>{B5()};return(o,d)=>{const v=at("router-link");return n(),i("div",x5,[C(v,{to:"/network",custom:""},{default:T(({navigate:l})=>[t("button",{class:"cbi-button cbi-button-apply app-btn cover-buttob",onClick:l},"\u7F51\u7EDC\u5411\u5BFC",8,S5)]),_:1}),t("button",{class:"cbi-button cbi-button-apply app-btn cover-buttob",onClick:a},"DNS\u914D\u7F6E"),x(u)?(n(),i("button",T5,M5)):E("",!0)])}}});var L5=w(z5,[["__scopeId","data-v-46d61ee3"]]);const Dt=e=>(L("data-v-24b8c4d6"),e=e(),N(),e),N5={id:"page"},O5=Dt(()=>t("em",null,null,-1)),V5=Dt(()=>t("em",null,null,-1)),G5=Dt(()=>t("em",null,null,-1)),q5=Dt(()=>t("em",null,null,-1)),U5=Dt(()=>t("em",null,null,-1)),j5=P({setup(e){return T1(),(s,u)=>(n(),i("div",N5,[O5,C(_u),V5,C(L5),G5,C(Al),q5,C(t5),U5]))}});var H5=w(j5,[["__scopeId","data-v-24b8c4d6"]]);const W5={};function R5(e,s){const u=at("router-view");return n(),V(u)}var Z5=w(W5,[["render",R5]]);const J5={},bt=e=>(L("data-v-25619e61"),e=e(),N(),e),K5={id:"page"},Q5=bt(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC",-1)),X5=bt(()=>t("h3",{class:"desc"},"\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB",-1)),Y5={class:"network-containers"},t3={class:"network-container_item"},e3=bt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")])],-1)),s3={class:"network-container_item"},u3=bt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")])],-1)),a3={class:"network-container_item"},n3=bt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")])],-1)),o3=bt(()=>t("div",{class:"info"},[et(" \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));function i3(e,s){const u=at("router-link");return n(),i("div",K5,[Q5,X5,t("div",Y5,[t("div",t3,[C(u,{to:"/network/pppoe"},{default:T(()=>[e3]),_:1})]),t("div",s3,[C(u,{to:"/network/dhcp"},{default:T(()=>[u3]),_:1})]),t("div",a3,[C(u,{to:"/network/gateway"},{default:T(()=>[n3]),_:1})])]),o3])}var l3=w(J5,[["render",i3],["__scopeId","data-v-25619e61"]]);const gt=e=>(L("data-v-33ce83e6"),e=e(),N(),e),c3={key:0,id:"page"},d3=gt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7",-1)),r3=gt(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B",-1)),_3=["onSubmit"],v3=gt(()=>t("div",{class:"label-key"},[t("span",null,"\u5BBD\u5E26\u8D26\u53F7")],-1)),p3=["disabled"],h3=gt(()=>t("div",{class:"label-key"},[t("span",null,"\u5BC6\u7801")],-1)),m3=["disabled"],b3={key:0,class:"msg"},F3={class:"btns"},f3=["disabled"],$3=["onClick"],y3={key:1,id:"page"},k3=gt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),E3={class:"btns"},D3=["onClick"],g3=["onClick"],C3=P({setup(e){const s=y(0),u=y({account:"",password:""}),a=y(""),o=y(!1);(()=>I(this,null,function*(){var l;o.value=!0;try{const c=yield S.Guide.Pppoe.GET();((l=c==null?void 0:c.data)==null?void 0:l.result)&&(u.value=c.data.result)}catch(c){a.value=c}o.value=!1}))();const v=()=>I(this,null,function*(){const l=u.value.account||"",c=u.value.password||"";if(l==""){a.value="\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A";return}if(c==""){a.value="\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A";return}o.value=!0;const r=b.Loading("\u914D\u7F6E\u4E2D...");try{const p=yield S.Guide.Pppoe.POST({account:l,password:c});if(p==null?void 0:p.data){const{error:g,success:$}=p.data;g&&(a.value=g),($==null||$==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),s.value=1)}}catch(p){a.value=p}o.value=!1,r.Close()});return(l,c)=>{const r=at("router-link");return s.value==0?(n(),i("div",c3,[d3,r3,t("form",{onSubmit:tt(v,["prevent"])},[t("label",null,[v3,z(t("input",{type:"text","onUpdate:modelValue":c[0]||(c[0]=p=>u.value.account=p),placeholder:"\u5BBD\u5E26\u8D26\u53F7",required:"",disabled:o.value},null,8,p3),[[G,u.value.account,void 0,{trim:!0}]])]),t("label",null,[h3,z(t("input",{type:"password","onUpdate:modelValue":c[1]||(c[1]=p=>u.value.password=p),placeholder:"\u5BBD\u5E26\u5BC6\u7801",required:"",disabled:o.value},null,8,m3),[[G,u.value.password,void 0,{trim:!0}]])]),a.value?(n(),i("div",b3,f(a.value),1)):E("",!0),t("div",F3,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:o.value},"\u4FDD\u5B58\u914D\u7F6E",8,f3),C(r,{to:"/network",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,$3)]),_:1})])],40,_3)])):s.value==1?(n(),i("div",y3,[k3,t("div",E3,[C(r,{to:"/",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p},"\u8FDB\u5165\u63A7\u5236\u53F0",8,D3)]),_:1}),C(r,{to:"/network",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,g3)]),_:1})])])):E("",!0)}}});var w3=w(C3,[["__scopeId","data-v-33ce83e6"]]);const W=e=>(L("data-v-1b6d5595"),e=e(),N(),e),B3={key:0,id:"page"},A3=W(()=>t("h2",{class:"title"},"\u914D\u7F6E\u4E92\u8054\u7F51",-1)),x3=W(()=>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)),S3=["onSubmit"],T3=W(()=>t("div",{class:"label-key"},[t("span",null,"WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),I3=W(()=>t("option",{value:"dhcp"},"\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09",-1)),P3=W(()=>t("option",{value:"static"},"\u9759\u6001IP\u5730\u5740",-1)),M3=[I3,P3],z3=W(()=>t("div",{class:"label-key"},[t("span",null,"IP\u5730\u5740")],-1)),L3=["disabled"],N3={key:0,class:"msg"},O3=W(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),V3=["disabled"],G3={key:1,class:"msg"},q3=W(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),U3=["disabled"],j3=W(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),H3=W(()=>t("option",{value:"auto"},"\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09",-1)),W3=W(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),R3=[H3,W3],Z3=W(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),J3=["onUpdate:modelValue","disabled"],K3=W(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Q3=["disabled"],X3=W(()=>t("div",{class:"label-key"},"\u5907\u7528DNS\u670D\u52A1\u5668",-1)),Y3=["disabled"],t4={key:2,class:"msgs"},e4={class:"btns"},s4=["disabled"],u4=["onClick"],a4={key:1,id:"page"},n4=W(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),o4={class:"btns"},i4=["onClick"],l4=["onClick"],c4=P({setup(e){const s=y(0),u=y({}),a=y(""),o=y(""),d=y(""),v=y(""),l=y(!1),c=y(""),r=y(""),p=$t.checkIsIP;(()=>I(this,null,function*(){var _,m;l.value=!0;try{const F=yield Promise.all([S.Guide.ClientModel.GET(),S.Network.Status.GET()]);if(F[0]){const k=F[0];((_=k==null?void 0:k.data)==null?void 0:_.result)&&(u.value=k.data.result)}if(F[1]){const k=F[1];if((m=k==null?void 0:k.data)==null?void 0:m.result){const O=k.data.result;O.ipv4addr&&(a.value=O.ipv4addr)}}}catch(F){o.value=F}l.value=!1}))();const $=_=>{_.target.value=="static"&&((u.value.staticIp==null||u.value.staticIp=="")&&(u.value.staticIp=a.value),(u.value.subnetMask==null||u.value.subnetMask=="")&&(u.value.subnetMask="255.255.255.0"))},D=_=>{_.target.value=="manual"},h=_=>{const m=_.target;if(m.value==""){c.value="";return}p(m.value)?c.value="":c.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740"},B=_=>{const m=_.target;if(m.value==""){r.value="";return}p(m.value)?r.value="":r.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740"},A=()=>I(this,null,function*(){const _={};switch(u.value.wanProto){case"dhcp":break;case"static":_.staticIp=u.value.staticIp,_.subnetMask=u.value.subnetMask,_.gateway=u.value.gateway;break}switch(u.value.dnsProto){case"auto":break;case"manual":_.manualDnsIp=[],u.value.manualDnsIp!=null&&u.value.manualDnsIp.length>0?_.manualDnsIp=u.value.manualDnsIp:(_.manualDnsIp.push(d.value),v.value&&_.manualDnsIp.push(v.value));break}_.dnsProto=u.value.dnsProto,_.wanProto=u.value.wanProto;const m=b.Loading("\u914D\u7F6E\u4E2D....");l.value=!0;try{const F=yield S.Guide.ClientModel.POST(_);if(F==null?void 0:F.data){const{success:k,error:O}=F==null?void 0:F.data;O&&(o.value=O),(k==null||k==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),s.value=1)}}catch(F){o.value=F}l.value=!1,m.Close()});return(_,m)=>{const F=at("router-link");return s.value==0?(n(),i("div",B3,[A3,x3,t("form",{onSubmit:tt(A,["prevent"])},[t("label",null,[T3,z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=k=>u.value.wanProto=k),onInput:$},M3,544),[[ot,u.value.wanProto]])]),u.value.wanProto=="static"?(n(),i(U,{key:0},[t("label",null,[z3,z(t("input",{type:"text","onUpdate:modelValue":m[1]||(m[1]=k=>u.value.staticIp=k),placeholder:"\u9759\u6001IP\u5730\u5740",required:"",disabled:l.value,onInput:h},null,40,L3),[[G,u.value.staticIp,void 0,{trim:!0}]])]),c.value?(n(),i("p",N3,f(c.value),1)):E("",!0),t("label",null,[O3,z(t("input",{type:"text","onUpdate:modelValue":m[2]||(m[2]=k=>u.value.subnetMask=k),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:l.value,onInput:B},null,40,V3),[[G,u.value.subnetMask,void 0,{trim:!0}]])]),r.value?(n(),i("p",G3,f(r.value),1)):E("",!0),t("label",null,[q3,z(t("input",{type:"text","onUpdate:modelValue":m[3]||(m[3]=k=>u.value.gateway=k),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:l.value},null,8,U3),[[G,u.value.gateway,void 0,{trim:!0}]])])],64)):E("",!0),t("label",null,[j3,z(t("select",{"onUpdate:modelValue":m[4]||(m[4]=k=>u.value.dnsProto=k),onInput:D},R3,544),[[ot,u.value.dnsProto]])]),u.value.dnsProto=="manual"?(n(),i(U,{key:1},[u.value.manualDnsIp!=null&&u.value.manualDnsIp.length>0?(n(!0),i(U,{key:0},Y(u.value.manualDnsIp,(k,O)=>(n(),i("label",null,[Z3,z(t("input",{type:"text","onUpdate:modelValue":X=>u.value.manualDnsIp[O]=X,placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:l.value},null,8,J3),[[G,u.value.manualDnsIp[O],void 0,{trim:!0}]])]))),256)):(n(),i(U,{key:1},[t("label",null,[K3,z(t("input",{type:"text","onUpdate:modelValue":m[5]||(m[5]=k=>d.value=k),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:l.value},null,8,Q3),[[G,d.value,void 0,{trim:!0}]])]),t("label",null,[X3,z(t("input",{type:"text","onUpdate:modelValue":m[6]||(m[6]=k=>v.value=k),placeholder:"\u5907\u7528DNS\u670D\u52A1\u5668",disabled:l.value},null,8,Y3),[[G,v.value,void 0,{trim:!0}]])])],64))],64)):E("",!0),o.value?(n(),i("div",t4,f(o.value),1)):E("",!0),t("div",e4,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:l.value},"\u4FDD\u5B58\u914D\u7F6E",8,s4),C(F,{to:"/network",custom:""},{default:T(({navigate:k})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u8FD4\u56DE",8,u4)]),_:1})])],40,S3)])):s.value==1?(n(),i("div",a4,[n4,t("div",o4,[C(F,{to:"/",custom:""},{default:T(({navigate:k})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k},"\u8FDB\u5165\u63A7\u5236\u53F0",8,i4)]),_:1}),C(F,{to:"/network",custom:""},{default:T(({navigate:k})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u8FD4\u56DE",8,l4)]),_:1})])])):E("",!0)}}});var d4=w(c4,[["__scopeId","data-v-1b6d5595"]]);const H=e=>(L("data-v-c96bde08"),e=e(),N(),e),r4={key:0,id:"page"},_4=H(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C",-1)),v4=H(()=>t("code",null,[et(" \u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002 "),t("br"),et("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\u62E8\u53F7\uFF0C\u7136\u540E\u7531ARS2\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002 ")],-1)),p4=H(()=>t("h3",{class:"desc"},"\u8BF7\u60A8\u83B7\u5F97\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\uFF0C\u8BB0\u5F55\u4EE5\u5907\u4F7F\u7528",-1)),h4=H(()=>t("div",{class:"info"},[et(" \u4F60\u53EF\u4EE5\u67E5\u770B\u6211\u4EEC\u7684 "),t("a",{target:"_blank",href:"https://doc.linkease.com/zh/guide/easepi/common.html#%E6%97%81%E8%B7%AF%E7%94%B1%E6%A8%A1%E5%BC%8F"},"\u914D\u7F6E\u6559\u7A0B")],-1)),m4={class:"btns"},b4=["disabled"],F4=["onClick"],f4={key:1,id:"page"},$4=H(()=>t("h2",{class:"title"},"\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC",-1)),y4=H(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F",-1)),k4=["onSubmit"],E4=H(()=>t("div",{class:"label-key"},[t("span",null,"LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),D4={class:"label-value"},g4=H(()=>t("option",null,"\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740",-1)),C4=[g4],w4=H(()=>t("div",{class:"label-key"},[t("span",null,"IP \u5730\u5740\uFF08\u8BF7\u548C\u4E0A\u4E00\u6B65\u8BB0\u5F55\u7684\u4E3B\u8DEF\u7531\u5730\u5740\u5728\u540C\u4E00\u7F51\u6BB5\uFF09")],-1)),B4=["disabled"],A4=H(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),x4=["disabled"],S4=H(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),T4=["disabled"],I4=H(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),P4=H(()=>t("option",{value:"auto"},"\u81EA\u52A8\u83B7\u53D6",-1)),M4=H(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),z4=[P4,M4],L4={key:0},N4=H(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),O4=["disabled"],V4={key:1,class:"msgs"},G4={class:"btns"},q4=["disabled"],U4=["onClick"],j4={key:2,id:"page"},H4=H(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),W4={class:"btns"},R4=["onClick"],Z4=["onClick"],J4=P({setup(e){const s=y(0),u=y(!1),a=y(""),o=y({subnetMask:"255.255.255.0",dnsProto:"auto",staticDnsIp:"",staticLanIp:"",gateway:""}),d=l=>{s.value=l},v=()=>I(this,null,function*(){const l=o.value,c=b.Loading("\u914D\u7F6E\u4E2D...");try{const r=yield S.Guide.GatewayRouter.POST(l);if(r==null?void 0:r.data){const{success:p,error:g}=r==null?void 0:r.data;g&&(a.value=g),(p==null||p==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),s.value=2)}}catch(r){a.value=r}c.Close()});return(l,c)=>{const r=at("router-link");return s.value==0?(n(),i("div",r4,[_4,v4,p4,h4,t("div",m4,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:u.value,onClick:c[0]||(c[0]=p=>d(1))},"\u4E0B\u4E00\u6B65",8,b4),C(r,{to:"/network",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,F4)]),_:1})])])):s.value==1?(n(),i("div",f4,[$4,y4,t("form",{onSubmit:tt(v,["prevent"])},[t("label",null,[E4,t("div",D4,[t("select",{disabled:"",style:Rt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},C4,4)])]),t("label",null,[w4,z(t("input",{type:"text","onUpdate:modelValue":c[1]||(c[1]=p=>o.value.staticLanIp=p),placeholder:"IP\u5730\u5740",required:"",disabled:u.value},null,8,B4),[[G,o.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[A4,z(t("input",{type:"text","onUpdate:modelValue":c[2]||(c[2]=p=>o.value.subnetMask=p),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:u.value},null,8,x4),[[G,o.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[S4,z(t("input",{type:"text","onUpdate:modelValue":c[3]||(c[3]=p=>o.value.gateway=p),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:u.value},null,8,T4),[[G,o.value.gateway,void 0,{trim:!0}]])]),t("label",null,[I4,z(t("select",{"onUpdate:modelValue":c[4]||(c[4]=p=>o.value.dnsProto=p)},z4,512),[[ot,o.value.dnsProto]])]),o.value.dnsProto=="manual"?(n(),i("label",L4,[N4,z(t("input",{type:"text","onUpdate:modelValue":c[5]||(c[5]=p=>o.value.staticDnsIp=p),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:u.value},null,8,O4),[[G,o.value.staticDnsIp,void 0,{trim:!0}]])])):E("",!0),a.value?(n(),i("div",V4,f(a.value),1)):E("",!0),t("div",G4,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:u.value},"\u4FDD\u5B58\u914D\u7F6E",8,q4),C(r,{to:"/network",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,U4)]),_:1})])],40,k4)])):s.value==2?(n(),i("div",j4,[H4,t("div",W4,[C(r,{to:"/",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p},"\u8FDB\u5165\u63A7\u5236\u53F0",8,R4)]),_:1}),C(r,{to:"/network",custom:""},{default:T(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,Z4)]),_:1})])])):E("",!0)}}});var K4=w(J4,[["__scopeId","data-v-c96bde08"]]);const Q4=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart/pages",ie=De({history:ge(Q4()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:H5},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:Z5,children:[{path:"",component:l3},{path:"pppoe",component:w3},{path:"dhcp",component:d4},{path:"gateway",component:K4}]}]});ie.beforeEach((e,s)=>(e.meta.title,!0));const R=Z(Se);R.component("svg-menu",Ne);R.component("svg-system",je);R.component("svg-download",Ke);R.component("svg-store",as);R.component("svg-info",ds);R.component("svg-disk",Ps);R.component("svg-nav",Vs);R.component("progress-item",Jt);R.component("svg-view-show",Zs);R.component("svg-view-hidden",t1);R.component("article-item",i1);R.use(ie);R.use(Ce());R.mount("#app"); +var de=Object.defineProperty,re=Object.defineProperties;var _e=Object.getOwnPropertyDescriptors;var Rt=Object.getOwnPropertySymbols;var ve=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable;var xt=(e,s,u)=>s in e?de(e,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[s]=u,j=(e,s)=>{for(var u in s||(s={}))ve.call(s,u)&&xt(e,u,s[u]);if(Rt)for(var u of Rt(s))pe.call(s,u)&&xt(e,u,s[u]);return e},ut=(e,s)=>re(e,_e(s));var he=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports);var ft=(e,s,u)=>(xt(e,typeof s!="symbol"?s+"":s,u),u);var T=(e,s,u)=>new Promise((n,o)=>{var d=c=>{try{l(u.next(c))}catch(r){o(r)}},v=c=>{try{l(u.throw(c))}catch(r){o(r)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(d,v);l((u=u.apply(e,s)).next())});import{r as nt,o as a,c as i,a as C,b as t,d as I,e as q,t as F,n as ht,f as Yt,u as x,g as mt,h as G,w as P,i as me,j as y,k as Pt,l as te,m as E,p as be,q as fe,s as Fe,v as $e,x as ye,y as ke,z as Ee,A as yt,F as U,B as Y,C as L,D as N,E as Tt,T as K,G as et,H as Z,I as z,J as ot,K as tt,L as De,M as V,N as ge,O as Ce,P as we,Q as Be}from"./vendor.js?v=0.3.3-2";var t8=he(St=>{const Ae=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const v of d.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&n(v)}).observe(document,{childList:!0,subtree:!0});function u(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerpolicy&&(d.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?d.credentials="include":o.crossorigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function n(o){if(o.ep)return;o.ep=!0;const d=u(o);fetch(o.href,d)}};Ae();var w=(e,s)=>{const u=e.__vccOpts||e;for(const[n,o]of s)u[n]=o;return u};const xe={},Se={id:"main"};function Pe(e,s){const u=nt("router-view");return a(),i("div",Se,[C(u)])}var Te=w(xe,[["render",Pe],["__scopeId","data-v-f62bd0aa"]]);const Ie={},Me={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"},ze=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),Le=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),Ne=[ze,Le];function Oe(e,s){return a(),i("svg",Me,Ne)}var Ve=w(Ie,[["render",Oe]]);const Ge={},qe={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"},Ue=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),je=[Ue];function He(e,s){return a(),i("svg",qe,je)}var We=w(Ge,[["render",He]]);const Re={},Ze={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"},Je=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),Ke=[Je];function Qe(e,s){return a(),i("svg",Ze,Ke)}var Xe=w(Re,[["render",Qe]]);const Ye={},ts={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"},es=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),ss=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),us=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),ns=[es,ss,us];function as(e,s){return a(),i("svg",ts,ns)}var os=w(Ye,[["render",as]]);const is={},ls={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"},cs=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),ds=[cs];function rs(e,s){return a(),i("svg",ls,ds)}var _s=w(is,[["render",rs]]);const vs={},ps={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"},hs=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),ms=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),bs=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),fs=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),Fs=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),$s=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),ys=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),ks=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),Es=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),Ds=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),gs=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),Cs=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),ws=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),Bs=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),As=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),xs=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),Ss=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),Ps=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),Ts=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),Is=[hs,ms,bs,fs,Fs,$s,ys,ks,Es,Ds,gs,Cs,ws,Bs,As,xs,Ss,Ps,Ts];function Ms(e,s){return a(),i("svg",ps,Is)}var zs=w(vs,[["render",Ms]]);const Ls={},Ns={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"},Os=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),Vs=[Os];function Gs(e,s){return a(),i("svg",Ns,Vs)}var qs=w(Ls,[["render",Gs]]);const Us={class:"progress"},js=I({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const s=e,u=q(()=>s.value>=80?"#e45e5e":s.value>=70?"#ff9800":s.value>=60?"#297ff3":s.value>0?"#53c31b":"");return(n,o)=>(a(),i("div",Us,[t("div",{class:ht(["progress-value",`${e.value>50}`]),style:Yt({width:`${e.value}%`,backgroundColor:x(u)})},[t("span",null,F(e.text),1)],6),mt(n.$slots,"default",{},void 0,!0)]))}});var ee=w(js,[["__scopeId","data-v-6dc4f66c"]]);const Hs={},Ws={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"},Rs=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),Zs=[Rs];function Js(e,s){return a(),i("svg",Ws,Zs)}var Ks=w(Hs,[["render",Js]]);const Qs={},Xs={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"},Ys=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),t1=[Ys];function e1(e,s){return a(),i("svg",Xs,t1)}var s1=w(Qs,[["render",e1]]);const u1={};function n1(e,s){return a(),i("article",null,[mt(e.$slots,"default",{},void 0,!0)])}var a1=w(u1,[["render",n1],["__scopeId","data-v-995510fc"]]);const o1={class:"cover"},i1={class:"thumbnail"},l1=I({emits:["click"],setup(e,{emit:s}){const u=()=>{s("click")};return(n,o)=>(a(),G(a1,null,{default:P(()=>[t("a",{onClick:u},[t("div",o1,[t("div",i1,[mt(n.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var c1=w(l1,[["__scopeId","data-v-782f97c0"]]);const d1=(e,s)=>T(St,null,function*(){return new Promise((u,n)=>T(St,null,function*(){try{const o=yield fetch(e,s),d=j({},o);d.data=yield o.json(),u(d)}catch(o){n(o)}}))});class It{constructor(s){ft(this,"config",{baseURL:"",headers:{}});ft(this,"useRequest",s=>s);ft(this,"useResponse",s=>s);ft(this,"useError",s=>s);s.baseURL&&(this.config.baseURL=s.baseURL),s.headers&&(this.config.headers=s.headers)}static create(s){return new It(s)}Do(s,u){return T(this,null,function*(){return new Promise((n,o)=>T(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});s=`${d.baseURL||""}${s}`,u.headers==null&&(u.headers={}),d.headers&&(u.headers=j({},d.headers));const l=yield fetch(s,u),c=j({},l);c.data=yield l.json(),n(this.useResponse(c))}catch(d){this.useError(d),o(d)}}))})}TEXT(s,u){return T(this,null,function*(){return new Promise((n,o)=>T(this,null,function*(){try{const d=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});s=`${d.baseURL||""}${s}`,u.headers==null&&(u.headers={}),d.headers&&(u.headers=j({},d.headers));const l=yield fetch(s,u),c=j({},l);c.data=yield l.text(),n(c)}catch(d){this.useError(d),o(d)}}))})}interceptors(){const s=this;return{requset:{use(u){s.useRequest=u}},response:{use(u,n){s.useResponse=u,n&&(s.useError=n)}}}}}const se=It.create({});se.interceptors().requset.use(e=>e);se.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const r1="/cgi-bin/luci/istore";let Zt=!1;const M=(e,s)=>(e.indexOf("//")==-1&&(e=`${r1}${e}`),d1(e,s).then(u=>(u!=null&&u.data&&u.data.success==-1001&&u.data.error=="Forbidden"&&(Zt||(Zt=!0,alert("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),location.reload())),u))),_1={Statistics:{GET(){return M("/network/statistics/",{method:"GET"})}},Status:{GET(){return M("/network/status/",{method:"GET"})}},Device:{List:{GET(){return M("/network/device/list/",{method:"GET"})}}}},v1={Version:{GET(){return M("/system/version/",{method:"GET"})}},Time:{GET(){return M("/system/time/",{method:"GET"})}},CPU:{Status:{GET(){return M("/system/cpu/status/",{method:"GET"})}},Temperature:{GET(){return M("/system/cpu/temperature/",{method:"GET"})}}},Memery:{Status:{GET(){return M("/system/memery/status/",{method:"GET"})}}},CheckUpdate:{GET(){return M("/system/check-update/",{method:"GET"})}}},p1={Disk:{Status:{GET(){return M("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return M("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>M("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>M("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>M("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>M("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return M("/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return M("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return M("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return M("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return M("/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}}},h1={Check:{POST(e){return M("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return M("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},m1={Pppoe:{GET(){return M("/guide/pppoe/",{method:"GET"})},POST(e){return M("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return M("/guide/dns-config/",{method:"GET"})},POST(e){return M("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return M("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return M("/guide/client-mode/",{method:"GET"})},POST(e){return M("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return M("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return M("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return M("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return M("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Aria2Status:{GET(){return M("/guide/aria2/status/",{method:"GET"})}},Aria2PartitionList:{GET(){return M("/guide/aria2/partition/list/",{method:"GET"})}},Aria2Init:{POST(e){return M("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}};var b1=Object.freeze(Object.defineProperty({__proto__:null,Network:_1,System:v1,Nas:p1,App:h1,Guide:m1},Symbol.toStringTag,{value:"Module"})),S=j({},b1);const f1=e=>{},F1=()=>new Date().getTime(),$1=e=>{if(e<1e3)return`${e} B`;let u=1e3,n=0;for(let v=e/1e3;v>=1e3;v/=1e3)u*=1e3,n++;let o=[" KB"," MB"," GB"," TB"," PB"," EB"];return(e/100/(u/100)).toFixed(1)+o[n]},y1=e=>{if(e<1024)return""+e+"KB";let u=1024,n=0;for(let d=e/1024;d>=1024;d/=1024)u*=1024,n++;let o=["M","G","T","P","E"];return(e/100/(u/100)).toFixed(2)+o[n]},k1=e=>{if(e==null)return 0;if(e<1e4)return e;let u=parseInt(`${e/1e4}`),n=e%1e4;return`${u}\u4E07${n}`},E1=e=>{if(e)try{var s=new Date(e),u=s.getHours(),n=s.getMinutes(),o=s.getSeconds();return u<10&&(u=`0${u}`),n<10&&(n=`0${n}`),o<10&&(o=`0${o}`),`${u}:${n}:${o}`}catch(d){}return""},D1=e=>{if(e){let s=Math.floor(e/86400),u=Math.floor(e%86400/3600),n=Math.floor(e%86400%3600/60),o=Math.floor(e%86400%3600%60);return s+"\u5929"+u+"\u5C0F\u65F6"+(n>10?n:"0"+n)+"\u5206"+(o>10?o:"0"+o)+"\u79D2"}},g1=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e);var C1=Object.freeze(Object.defineProperty({__proto__:null,formatDate:f1,UnixDate:F1,byteToSize:$1,numberToSize:y1,numberToSum:k1,dateForm:E1,stampForm:D1,checkIsIP:g1},Symbol.toStringTag,{value:"Module"})),$t=j({},C1);const w1={class:"flow"},B1={class:"flow-data"},A1={key:0},x1={key:1},S1=I({setup(e){me([be,fe,Fe,$e,ye,ke]);const s=y(),u=D=>{var B;const h=(B=s.value)==null?void 0:B[D];return!h||h.startTime==0?"":c(h.startTime*1e3)+"-"+c(h.endTime*1e3)},n=q(()=>{var h;let D=[];return(h=s.value)==null||h.forEach(B=>{D.push({value:B.uploadSpeed})}),D}),o=q(()=>{var h;let D=[];return(h=s.value)==null||h.forEach(B=>{D.push({value:B.downloadSpeed})}),D}),d=q(()=>{var h;let D="";if(s.value){let B=((h=s.value)==null?void 0:h.length)||0;if(B>0){let A=s.value[B-1];D=r(A.uploadSpeed)+"/s"}}return D}),v=q(()=>{var h;let D="";if(s.value){let B=((h=s.value)==null?void 0:h.length)||0;if(B>0){let A=s.value[B-1];D=r(A.downloadSpeed)+"/s"}}return D});q(()=>{var h;let D=[];return(h=s.value)==null||h.forEach(B=>{D.push({value:B.downloadSpeed+B.uploadSpeed})}),D});const l=()=>T(this,null,function*(){var D;try{const h=yield S.Network.Statistics.GET();if(h.data&&(D=h.data.result)!=null&&D.items){const B=h.data.result.slots||10;if(h.data.result.items.lengthB?s.value=h.data.result.items.slice(B-h.data.result.items.length):s.value=h.data.result.items}}catch(h){console.log(h)}}),c=$t.dateForm,r=$t.byteToSize,p=y();let g=null;const $=D=>(g=Ee(D,"dark"),g.setOption({animation:!1,backgroundColor:"transparent",tooltip:{trigger:"axis",formatter:h=>{if(Array.isArray(h)){let B="";h.length>0&&(B=u(h[0].axisValue));for(let A=0;A${h[A].seriesName}: ${r(h[A].value)}/s`;return B.toString()}else{const B=h;return`${u(B.axisValue)}
${B.seriesName}: ${r(B.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},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e5,interval:1e4,axisLabel:{formatter:function(h,B){return`${r(h)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:o.value,type:"line",smooth:!0,areaStyle:{}},{name:"\u4E0A\u4F20",data:n.value,type:"line",smooth:!0,areaStyle:{}}],legend:{padding:0,align:"right",top:"10px",selected:{\u4E0A\u4F20:!0,\u4E0B\u8F7D:!0}},grid:{left:"2%",right:"2%",bottom:"2%",top:"10%",containLabel:!0}}),g);return Pt(()=>T(this,null,function*(){if(yield l(),p.value){const D=$(p.value);D.appendData;const h=p.value;D.resize({width:h.clientWidth,height:h.clientHeight}),window.addEventListener("resize",()=>{D.resize({width:h.clientWidth,height:h.clientHeight})}),setInterval(()=>T(this,null,function*(){yield l(),D.setOption({series:[{name:"\u4E0B\u8F7D",data:o.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:n.value,type:"line",areaStyle:{},smooth:!0}]})}),5e3)}})),te(()=>{g!=null&&g.dispose()}),(D,h)=>(a(),i("div",w1,[t("div",{ref_key:"el",ref:p,class:"echart"},null,512),t("div",B1,[x(d)?(a(),i("span",A1,"\u4E0A\u4F20: "+F(x(d)),1)):E("",!0),x(v)?(a(),i("span",x1,"\u4E0B\u8F7D: "+F(x(v)),1)):E("",!0)])]))}});var P1=w(S1,[["__scopeId","data-v-1422b5ac"]]);yt("app",{});yt("guide",{});const T1=yt("nas",{state:()=>({webdav:{}})}),ue=yt("network",{state:()=>({status:{},statistics:{},deviceList:{}}),getters:{},actions:{requestNetworkStatus(){S.Network.Status.GET().then(e=>{if(e!=null&&e.data){const{result:s}=e==null?void 0:e.data;s&&(this.status=s,this.status.internetConnected===null&&(this.status.internetConnected=!1))}})},requestNetworkStatistics(){return T(this,null,function*(){try{const e=yield S.Network.Statistics.GET();e!=null&&e.data&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){S.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:s}=e==null?void 0:e.data;s&&(this.deviceList=s)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Mt=yt("system",{state:()=>({version:{},time:{},cpuStatus:{},cpuTemperature:{},meneryStatus:{},checkUpdate:{}}),getters:{},actions:{incrTime(){var e;(e=this.time)!=null&&e.uptime&&this.time.uptime++},requestVersion(){S.System.Version.GET().then(e=>{var s;(s=e==null?void 0:e.data)!=null&&s.result&&(this.version=e.data.result)})},requestTime(){S.System.Time.GET().then(e=>{var s;(s=e==null?void 0:e.data)!=null&&s.result&&(this.time=e.data.result)})},requestCpuStatus(){S.System.CPU.Status.GET().then(e=>{e!=null&&e.data.result&&(this.cpuStatus=e==null?void 0:e.data.result)})},requestCpuTemperature(){S.System.CPU.Temperature.GET().then(e=>{e!=null&&e.data.result&&(this.cpuTemperature=e==null?void 0:e.data.result)})},requestMeneryStatus(){S.System.Memery.Status.GET().then(e=>{e!=null&&e.data.result&&(this.meneryStatus=e==null?void 0:e.data.result)})},requestCheckUpdate(){S.System.CheckUpdate.GET().then(e=>{var s;(s=e==null?void 0:e.data)!=null&&s.result&&(this.checkUpdate=e.data.result)})}}}),I1=()=>{const e=ue(),s=Mt();e.requestNetworkStatus(),e.requestDeviceList(),s.requestVersion(),s.requestTime(),s.requestCpuStatus(),s.requestCpuTemperature(),s.requestMeneryStatus(),s.requestCheckUpdate(),setInterval(()=>{s.requestCpuStatus(),s.requestCpuTemperature(),s.requestMeneryStatus(),e.requestNetworkStatus()},3e3),setInterval(()=>{e.incrTime(),s.incrTime()},1e3)},rt=e=>(L("data-v-4b6fb886"),e=e(),N(),e),M1={class:"app-container_status-label"},z1={class:"app-container_status-label_item"},L1={class:"app-container_status-container",style:{height:"100%"}},N1={key:0,class:"app-container_status-container_body"},O1=rt(()=>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)),V1=rt(()=>t("span",{class:"container_success"},"\u5DF2\u8FDE\u63A5\u4E92\u8054\u7F51",-1)),G1={class:"container_time"},q1={key:1,class:"app-container_status-container_body"},U1=rt(()=>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)),j1=rt(()=>t("span",{class:"container_failure"},"\u672A\u8FDE\u63A5\u4E92\u8054\u7F51",-1)),H1=[U1,j1],W1={key:1,class:"app-container_status-container_body"},R1=rt(()=>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)),Z1={class:"container_failure"},J1={class:"app-container_status-label_item"},K1={class:"app-container_status-container",style:{height:"100%"}},Q1={class:"app-container_status-container_body"},X1=rt(()=>t("svg",{t:"1642045422383",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"18766",width:"128",height:"128"},[t("path",{d:"M663.716 890.757a60.723 60.723 0 0 0 60.805 60.723h235.54a60.703 60.703 0 0 0 60.744-60.723V782.05h-357.09v108.708zM842.3 829.85c20.603 0 37.376 16.773 37.376 37.458a37.396 37.396 0 0 1-74.813 0c0-20.685 16.773-37.458 37.437-37.458z m178.504-576.226a60.703 60.703 0 0 0-60.744-60.764h-235.54a60.744 60.744 0 0 0-60.805 60.764v503.214h357.09V253.624z m-49.07 159.253a11.612 11.612 0 0 1-11.674 11.571h-235.54a11.633 11.633 0 0 1-11.653-11.571v-38.994c0-6.39 5.243-11.592 11.653-11.592h235.54c6.41 0 11.674 5.161 11.674 11.592v38.994z m0-115.2a11.674 11.674 0 0 1-11.674 11.612h-235.54a11.674 11.674 0 0 1-11.653-11.612v-38.974a11.674 11.674 0 0 1 11.653-11.653h235.54c6.41 0 11.674 5.243 11.674 11.653v38.974z",fill:"#1296db","p-id":"18767"}),t("path",{d:"M626.012 875.07h-76.185V763.473h76.185V660.582H62.3V150.323h856.494v13.169h58.553c1.27 0 2.457 0.287 3.747 0.368v-7.516a72.335 72.335 0 0 0-72.376-72.376H72.376A72.376 72.376 0 0 0 0 156.344v534.774a72.356 72.356 0 0 0 72.376 72.335h368.927V875.05H298.537a38.216 38.216 0 0 0 0 76.41h344.474a71.844 71.844 0 0 1-16.999-46.12v-30.27z",fill:"#1296db","p-id":"18768"})],-1)),Y1={class:"container_content"},tu=rt(()=>t("em",null,null,-1)),eu={class:"app-container_status-container"},su={class:"app-container_title"},uu={class:"app-container_status-label_block"},nu={class:"app-container_status-label_block"},au={class:"app-container_title"},ou={class:"app-container_status-label_block"},iu=I({setup(e){const s=ue(),u=q(()=>s.status),n=q(()=>s.deviceList),o=l=>{switch(l){case"pppoe":return"\u62E8\u53F7\u4E0A\u7F51";case"static":return"\u9759\u6001\u7F51\u7EDC";case"dhcp":return"DHCP"}},d=l=>{switch(l){case"manual":return"\u624B\u52A8\u914D\u7F6E";case"auto":return"\u81EA\u52A8\u83B7\u53D6";default:return""}},v=$t.stampForm;return(l,c)=>{var r,p;return a(),i(U,null,[t("div",M1,[t("div",z1,[t("div",L1,[x(u)!=null?(a(),i(U,{key:0},[x(u).internetConnected?(a(),i("div",N1,[O1,V1,t("span",G1,F(x(v)(x(u).uptimeStamp)),1)])):(a(),i("div",q1,H1))],64)):E("",!0),x(u).networkInfo?(a(),i("div",W1,[R1,t("span",Z1,F(x(u).networkInfo),1)])):E("",!0)])]),t("div",J1,[t("div",K1,[t("div",Q1,[X1,t("span",Y1,F(((p=(r=x(n))==null?void 0:r.devices)==null?void 0:p.length)||0)+"\u8BBE\u5907",1)])])])]),tu,t("div",eu,[t("div",su,[t("span",null,"IP\u5730\u5740\uFF08"+F(x(u).defaultInterface)+"\uFF09",1)]),t("div",uu,[t("span",null," IPv4\uFF1A "+F(x(u).ipv4addr)+" \uFF08"+F(o(x(u).proto||""))+"\uFF09 ",1)]),t("div",nu,[t("span",null,"IPv6\uFF1A"+F(x(u).ipv6addr),1)]),t("div",au,[t("span",null,"DNS\uFF08"+F(d(x(u).dnsProto))+"\uFF09",1)]),(a(!0),i(U,null,Y(x(u).dnsList,g=>(a(),i("div",ou,[t("span",null,F(g),1)]))),256))])],64)}}});var lu=w(iu,[["__scopeId","data-v-4b6fb886"]]);const cu={class:"network-container"},du={class:"network-container_flow"},ru={class:"network-container_flow-container"},_u={class:"network-container_status"},vu=I({setup(e){return(s,u)=>(a(),i("div",cu,[t("div",du,[t("div",ru,[C(P1,{style:{height:"360px"}})])]),t("div",_u,[C(lu)])]))}});var pu=w(vu,[["__scopeId","data-v-24616a36"]]);const hu={},mu={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"},bu=t("title",null,"icon_alert",-1),fu=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),Fu=[bu,fu];function $u(e,s){return a(),i("svg",mu,Fu)}var dt=w(hu,[["render",$u]]);const yu={},ku={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"},Eu=Tt('\u5206\u533A\u4FE1\u606F',2),Du=[Eu];function gu(e,s){return a(),i("svg",ku,Du)}var Jt=w(yu,[["render",gu]]);const Cu={},wu={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"},Bu=Tt('\u5168\u76D8\u683C\u5F0F\u5316',2),Au=[Bu];function xu(e,s){return a(),i("svg",wu,Au)}var Su=w(Cu,[["render",xu]]);const Pu={},Tu={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"},Iu=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),Mu=[Iu];function zu(e,s){return a(),i("svg",Tu,Mu)}var Lu=w(Pu,[["render",zu]]);const Nu=e=>(L("data-v-5e2a990f"),e=e(),N(),e),Ou={id:"actioner"},Vu={key:0,class:"action-container"},Gu={class:"action-container_header"},qu=Nu(()=>t("div",null,null,-1)),Uu={class:"title"},ju={class:"action-container_body"},Hu=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const s=e,u=y(!1);Pt(()=>{u.value=!0,document.body.setAttribute("lock-scroll","true")}),te(()=>{document.body.removeAttribute("lock-scroll")});const n=()=>{s.Close&&(u.value=!1,setTimeout(()=>{s.Close&&s.Close()},300))};return(o,d)=>(a(),i("div",Ou,[t("div",{class:"bg",onClick:n}),e.type!=null?(a(),G(K,{key:0,name:"dialog"},{default:P(()=>[u.value?mt(o.$slots,"default",{key:0},void 0,!0):E("",!0)]),_:3})):(a(),G(K,{key:1,name:"dialog"},{default:P(()=>[u.value?(a(),i("div",Vu,[t("div",Gu,[qu,t("div",Uu,F(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:n},[C(Lu)])]),t("div",ju,[mt(o.$slots,"default",{},void 0,!0)])])):E("",!0)]),_:3}))]))}});var Wu=w(Hu,[["__scopeId","data-v-5e2a990f"]]);const st=I({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){return(s,u)=>(a(),G(Wu,{Close:e.Close,type:e.type,title:e.title},{default:P(()=>[t("div",null,[mt(s.$slots,"default")])]),_:3},8,["Close","type","title"]))}}),Ru={props:{type:String,message:String,Close:Function},data(){return{show:!1}},mounted(){setTimeout(()=>{this.show=!0},0)},methods:{Stop(){this.type!="loading"&&(this.show=!1,this.Close())}}},Ct=e=>(L("data-v-80ee870c"),e=e(),N(),e),Zu={key:0,class:"loading icon"},Ju=Ct(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1024 1024",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)),Ku=[Ju],Qu={key:1,class:"success icon"},Xu=Ct(()=>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)),Yu=[Xu],tn={key:2,class:"error icon"},en=Ct(()=>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)),sn=[en],un={key:3,class:"warning icon"},nn=Ct(()=>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)),an=[nn];function on(e,s,u,n,o,d){return a(),G(K,{name:"el-fade-in-linear"},{default:P(()=>[o.show?(a(),i("div",{key:0,class:"toast",onClick:s[1]||(s[1]=v=>d.Stop())},[u.type=="loading"?(a(),i("div",Zu,Ku)):u.type=="success"?(a(),i("div",Qu,Yu)):u.type=="error"?(a(),i("div",tn,sn)):u.type=="warning"?(a(),i("div",un,an)):E("",!0),t("div",{class:"message",onClick:s[0]||(s[0]=et(()=>{},["stop"]))},F(u.message),1)])):E("",!0)]),_:1})}var ln=w(Ru,[["render",on],["__scopeId","data-v-80ee870c"]]);const Ft=new Map,_t=e=>{const s=Z(ln,ut(j({},e),{Close:()=>{n()}})),u=document.createElement("div");document.body.append(u),s.mount(u);const n=()=>{u.remove(),Ft.get(s._uid)&&Ft.delete(s._uid)};return e.type=="loading"&&Ft.set(s._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}},b=e=>_t(e);b.Loading=e=>_t({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0});b.Success=e=>_t({type:"success",message:e});b.Error=e=>_t({type:"error",message:e});b.Warning=e=>_t({type:"warning",message:e});b.Message=e=>_t({message:e});b.Message=e=>_t({message:e});b.Clear=()=>{Ft.forEach((e,s)=>{e.Close(),Ft.delete(s)})};const it=e=>(L("data-v-63021234"),e=e(),N(),e),cn=["onSubmit"],dn=it(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u786C\u76D8\u914D\u7F6E")],-1)),rn={class:"action-body"},_n={class:"disk-info"},vn=it(()=>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)),pn={key:0,class:"disk-info_mount-name"},hn={key:1,class:"disk-info_mount-name"},mn={key:0,class:"label-item"},bn=it(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),fn={class:"label-item_path"},Fn={class:"label-item"},$n=it(()=>t("div",{class:"label-item_key"},[t("span",null,"\u683C\u5F0F\u5316\u9009\u9879")],-1)),yn={class:"label-item_value"},kn={key:0,value:""},En=it(()=>t("option",{value:"format"},"\u683C\u5F0F\u5316",-1)),Dn={key:1,value:"default"},gn={class:"label-item_value"},Cn={key:0,class:"msg"},wn={key:1,class:"msg"},Bn={class:"action-footer"},An=it(()=>t("div",{class:"auto"},null,-1)),xn=["disabled"],Sn=["disabled"],Pn={key:1,class:"action result"},Tn={class:"action-body"},In=it(()=>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)),Mn=it(()=>t("div",{class:"action-body_msg"},"\u683C\u5F0F\u5316\u6210\u529F",-1)),zn={key:0,class:"action-body_info"},Ln={key:1,class:"action-body_info"},Nn=tt(" \u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A "),On={class:"btns"},Vn=I({props:{action:String,disk:{type:Object},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=()=>{s.Close&&s.Close()},n=_=>{_.preventDefault(),s.Cancel&&s.Cancel(),u()},o=_=>{s.Next&&s.Next(_),u()},d=y(!1),v=y(0),l=_=>{v.value=_},c=y(s.mount?"":"format"),r=y(),p=y(),g=()=>{switch(c.value){case"format":D();return;case"default":$();return;default:b.Warning("\u8BF7\u9009\u62E9\u9009\u7EBF");return}},$=()=>{let _="";const m=s.mount;if(m!=null&&m.mountPoint!=null&&(_=m.mountPoint),_!=""){o(_);return}b.Warning("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84")},D=()=>{const _=s.disk,m=s.mount;if(m){if(!confirm(`\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A ${m.mountPoint} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm(`\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 ${m.mountPoint}?`))return;B(m);return}if(_){if(!confirm(`\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 ${_.venderModel} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C`)||!confirm("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?"))return;h(_);return}b.Error("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E")},h=_=>T(this,null,function*(){if(_.name==null||_.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0");return}if(_.path==null||_.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84");return}d.value=!0;const m=b.Loading("\u521D\u59CB\u5316\u4E2D...");try{const f=yield S.Nas.Disk.Init.POST({name:_.name,path:_.path});if(f!=null&&f.data){const{result:k,error:O}=f==null?void 0:f.data;O&&b.Warning(O),k&&(k.errorInfo?b.Warning(k.errorInfo):(b.Success("\u521D\u59CB\u5316\u6210\u529F"),k.childrens&&k.childrens.length>0&&(p.value=k.childrens[0]),r.value=k,l(1)))}}catch(f){b.Error(f)}m.Close(),d.value=!1}),B=_=>T(this,null,function*(){if(_.path==null||_.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if(_.uuid==null||_.uuid==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}if(_.mountPoint==null||_.mountPoint==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u6302\u8F7D\u70B9");return}d.value=!0;const m=b.Loading("\u683C\u5F0F\u5316\u4E2D...");try{const f=yield S.Nas.Disk.Partition.Format.POST({path:_.path,uuid:_.uuid,mountPoint:_.mountPoint});if(f!=null&&f.data){const{result:k,error:O}=f==null?void 0:f.data;O&&b.Warning(O),k&&(b.Success("\u683C\u5F0F\u5316\u6210\u529F"),p.value=k,l(1))}}catch(f){b.Error(f)}m.Close(),d.value=!1}),A=()=>{if(p.value&&p.value.mountPoint){o(p.value.mountPoint);return}b.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return(_,m)=>(a(),G(st,{type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>{var f;return[v.value==0?(a(),i("form",{key:0,class:"action format",onSubmit:et(g,["prevent"])},[dn,t("div",rn,[t("div",_n,[vn,e.mount?(a(),i("div",pn,[t("span",null,"\u3010"+F(e.mount.total)+"\u3011",1),t("span",null,F(e.mount.mountPoint),1)])):e.disk?(a(),i("div",hn,[t("span",null,"\u3010"+F(e.disk.size)+"\u3011",1),t("span",null,F(e.disk.venderModel),1)])):E("",!0)]),e.mount?(a(),i("div",mn,[bn,t("div",fn,F(e.mount.total),1)])):E("",!0),t("div",Fn,[$n,t("div",yn,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=k=>c.value=k),required:""},[e.mount!=null?(a(),i("option",kn,"\u8BF7\u9009\u62E9\u9009\u9879")):E("",!0),En,e.mount!=null?(a(),i("option",Dn,"\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")):E("",!0)],512),[[ot,c.value]])]),t("div",gn,[c.value=="format"?(a(),i("p",Cn,"\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u4F20\u8F93\u901F\u5EA6\u66F4\u5FEB")):c.value=="default"?(a(),i("p",wn)):E("",!0)])])]),t("div",Bn,[An,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:d.value},"\u8FD4\u56DE",8,xn),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value},"\u4E0B\u4E00\u6B65",8,Sn)])],40,cn)):v.value==1?(a(),i("div",Pn,[t("div",Tn,[In,Mn,r.value?(a(),i("div",zn,[tt(" \u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8 "+F(r.value.venderModel)+" \u5E76\u6302\u8F7D\u5230 ",1),t("a",null,F((f=p.value)==null?void 0:f.mountPoint),1)])):E("",!0),p.value?(a(),i("div",Ln,[Nn,t("a",null,F(p.value.mountPoint),1)])):E("",!0),t("div",On,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:A},F(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]}),_:1})]),_:1}))}});var Gn=w(Vn,[["__scopeId","data-v-63021234"]]),zt=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(Gn,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const vt=e=>(L("data-v-52f17066"),e=e(),N(),e),qn=vt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),Un={class:"action-body"},jn={class:"disk-info"},Hn=vt(()=>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)),Wn={key:0,class:"disk-info_mount-name"},Rn={key:1,class:"disk-info_mount-name"},Zn={key:0,class:"label-item"},Jn=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A")],-1)),Kn={class:"label-item_path"},Qn={class:"label-item"},Xn=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u6302\u8F7D\u70B9")],-1)),Yn={class:"label-item_value"},ta=["value"],ea={class:"action-footer"},sa=vt(()=>t("div",{class:"auto"},null,-1)),ua=["disabled"],na=["disabled"],aa={key:1,class:"action result"},oa={class:"action-body"},ia=vt(()=>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)),la=vt(()=>t("div",{class:"action-body_msg"},"\u6302\u8F7D\u6210\u529F",-1)),ca={key:0,class:"action-body_info"},da={class:"btns"},ra=I({props:{action:String,disk:{type:Object},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=()=>{s.Close&&s.Close()},n=$=>{$.preventDefault(),s.Cancel&&s.Cancel(),u()},o=$=>{s.Next&&s.Next($),u()},d=y(!1),v=y(0),l=y("/mnt/data_"+s.mount.name),c=$=>{v.value=$};y(s.mount?"":"format"),y();const r=y(),p=()=>T(this,null,function*(){const $=s.mount;if($.path==null||$.path==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84");return}if($.uuid==null||$.uuid==""){b.Warning("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID");return}d.value=!0;const D=b.Loading("\u6302\u8F7D\u4E2D...");try{const h=yield S.Nas.Disk.Partition.Mount.POST({path:$.path,uuid:$.uuid,mountPoint:l.value});if(h!=null&&h.data){const{result:B,error:A}=h==null?void 0:h.data;A&&b.Warning(A),B&&(b.Success("\u6302\u8F7D\u6210\u529F"),r.value=B,c(1))}}catch(h){b.Error(h)}D.Close(),d.value=!1}),g=()=>{if(r.value&&r.value.mountPoint){o(r.value.mountPoint);return}b.Warning("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25")};return($,D)=>(a(),G(st,{type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[v.value==0?(a(),i("form",{key:0,class:"action format",onSubmit:D[0]||(D[0]=et((...h)=>$.onSumbit&&$.onSumbit(...h),["prevent"]))},[qn,t("div",Un,[t("div",jn,[Hn,e.mount?(a(),i("div",Wn,[t("span",null,"\u3010"+F(e.mount.total)+"\u3011",1),t("span",null,F(e.mount.mountPoint),1)])):e.disk?(a(),i("div",Rn,[t("span",null,"\u3010"+F(e.disk.size)+"\u3011",1),t("span",null,F(e.disk.venderModel),1)])):E("",!0)]),e.mount?(a(),i("div",Zn,[Jn,t("div",Kn,F(e.mount.path)+"\uFF08"+F(e.mount.total)+"\uFF0C"+F(e.mount.filesystem.toUpperCase())+"\uFF09",1)])):E("",!0),t("div",Qn,[Xn,t("div",Yn,[t("input",{type:"text",value:l.value},null,8,ta)])])]),t("div",ea,[sa,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:d.value,onClick:p},"\u786E\u5B9A",8,ua),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:n,type:"button",disabled:d.value},"\u8FD4\u56DE",8,na)])],32)):v.value==1?(a(),i("div",aa,[t("div",oa,[ia,la,r.value?(a(),i("div",ca,[tt(" \u5DF2\u6210\u529F\u5C06\u5206\u533A "+F(r.value.path)+" \u6302\u8F7D\u5230 ",1),t("a",null,F(r.value.mountPoint),1)])):E("",!0),t("div",da,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:g},F(e.action=="nas"?"\u5B8C\u6210":"\u4E0B\u4E00\u6B65"),1)])])])):E("",!0)]),_:1})]),_:1}))}});var _a=w(ra,[["__scopeId","data-v-52f17066"]]),ne=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(_a,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const Lt=e=>(L("data-v-151456d4"),e=e(),N(),e),va={class:"disk-content"},pa={class:"disk-item"},ha={class:"disk-item_name"},ma={class:"disk_value"},ba={key:0,class:"disk-item_value"},fa={class:"value-data"},Fa={key:0,class:"disk-item-tooltip"},$a=Lt(()=>t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A",-1)),ya=[$a],ka={key:1,class:"disk-item_value"},Ea={key:0,class:"disk_status format"},Da={class:"disk_status_item"},ga={key:0},Ca={key:0,class:"left_icon"},wa={class:"tooltip-trigger"},Ba={class:"disk_tip"},Aa=Lt(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("div",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u5BFC\u81F4\u65E0\u6CD5\u5199\u5165\u6570\u636E")])],-1)),xa={class:"disk_status_item"},Sa={key:0},Pa={class:"tooltip-trigger"},Ta={class:"disk_tip"},Ia=Lt(()=>t("div",null,[t("div",{class:"tooltip-text tooltip-top"},[t("span",{class:"disk_dir_tip"},"\u5F53\u524D\u78C1\u76D8\u786C\u76D8\u683C\u5F0F\u4E3ANTFS\uFF0C\u53EF\u80FD\u5BFC\u81F4\u786C\u76D8\u51FA\u73B0\u517C\u5BB9\u6027\u95EE\u9898\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")])],-1)),Ma=I({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(e){const s=e,u=function(v){zt({action:"nas",disk:s.disk,mount:s.part,Cancel:()=>{},Next:l=>{location.reload()}})},n=()=>{ne({action:"nas",disk:s.disk,mount:s.part,Cancel:()=>{},Next:()=>{location.reload()}})},o=()=>T(this,null,function*(){const v=b.Loading("\u5904\u7406\u4E2D...");try{const l=yield S.Nas.Disk.InitRest.POST({name:s.disk.name,path:s.disk.path});if(l!=null&&l.data){const{result:c,error:r}=l==null?void 0:l.data;r&&b.Warning(r),c&&(b.Success("\u6302\u8F7D\u6210\u529F"),location.reload())}}catch(l){b.Error(l)}v.Close()}),d=q(()=>s.part.filesystem=="Free Space");return(v,l)=>{var r;const c=nt("progress-item");return a(),i("div",va,[t("li",pa,[t("div",ha,[t("span",null,F(e.part.mountPoint||(x(d)?"-":"\u672A\u6302\u8F7D\uFF08"+e.part.name+"\uFF09")),1)]),t("div",ma,[e.part.mountPoint||x(d)?(a(),i("div",ba,[t("div",fa,[C(c,{value:x(d)?0:e.part.usage,text:x(d)?"\u672A\u5206\u533A\uFF08"+e.part.total+"\uFF09":e.part.used+"/"+e.part.total,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),x(d)?E("",!0):(a(),i("div",Fa,ya))])):(a(),i("div",ka,[t("div",{class:"value-data",onClick:n},"\u624B\u52A8\u6302\u8F7D")])),x(d)?(a(),i("button",{key:2,class:"cbi-button cbi-button-apply",onClick:o},"\u5206\u533A\u5E76\u683C\u5F0F\u5316")):!e.disk.isSystemRoot&&(e.part.isReadOnly||e.part.filesystem=="ntfs")&&e.part.mountPoint?(a(),i("button",{key:3,class:"cbi-button cbi-button-apply",onClick:u},"\u683C\u5F0F\u5316\u5206\u533A")):E("",!0)])]),t("li",null,[e.part.mountPoint?(a(),i("div",Ea,[t("div",Da,[tt(" \u78C1\u76D8\u8BFB\u5199\u72B6\u6001\uFF1A"+F(e.part.isReadOnly?"\u53EA\u8BFB":"\u8BFB\u5199")+" ",1),!e.part.isSystemRoot&&e.part.isReadOnly?(a(),i("div",ga,[e.part.filesystem=="ntfs"?(a(),i("div",Ca,[t("div",wa,[t("div",Ba,[C(dt)]),Aa])])):E("",!0)])):E("",!0)]),t("div",xa,[tt(" \u78C1\u76D8\u683C\u5F0F\uFF1A"+F((r=e.part.filesystem)==null?void 0:r.toUpperCase())+" ",1),e.part.filesystem=="ntfs"?(a(),i("div",Sa,[t("div",Pa,[t("div",Ta,[C(dt)]),Ia])])):E("",!0)])])):E("",!0)])])}}});var za=w(Ma,[["__scopeId","data-v-151456d4"]]);const Nt=e=>(L("data-v-48366d0b"),e=e(),N(),e),La={key:0,class:"action"},Na=Nt(()=>t("h2",{class:"title"},"\u5206\u533A\u4FE1\u606F",-1)),Oa=Nt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u6302\u8F7D\u70B9"),t("span",null,"\u5BB9\u91CF")],-1)),Va={class:"app-container_body"},Ga=Nt(()=>t("div",{class:"auto"},null,-1)),qa=I({props:{disk:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(e){const s=e,u=y(0),n=()=>{s.Close&&s.Close()},o=d=>{d.preventDefault(),s.Cancel&&s.Cancel(),n()};return(d,v)=>(a(),G(st,{Close:e.Close,type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[u.value==0?(a(),i("div",La,[Na,t("ul",null,[t("li",null,[Oa,t("div",Va,[(a(!0),i(U,null,Y(e.disk.childrens,(l,c)=>(a(),G(za,{key:c,part:l,disk:e.disk},null,8,["part","disk"]))),128))])])]),t("div",{class:"action-footer"},[Ga,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:o,type:"button"},"\u8FD4\u56DE")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var Ua=w(qa,[["__scopeId","data-v-48366d0b"]]),ja=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(Ua,ut(j({},e),{Close:()=>{n()}}));u.component("progress-item",ee),u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const Ot=e=>(L("data-v-3ab15fa2"),e=e(),N(),e),Ha={key:0,class:"disk-item error"},Wa={class:"disk-item_name"},Ra={class:"disk-item_value"},Za={class:"value-data"},Ja={class:"error"},Ka={key:1,class:"disk-item"},Qa={class:"disk-item_name"},Xa={class:"disk_value"},Ya={class:"disk-item_value"},to={class:"value-data"},eo=Ot(()=>t("div",{class:"disk-item-tooltip"},[t("span",null,"\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")],-1)),so={class:"disk_icon"},uo={key:0,class:"tooltip-trigger"},no={class:"disk_tip"},ao=Ot(()=>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)),oo={key:1,class:"tooltip-trigger"},io={class:"disk_tip"},lo=Ot(()=>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)),co={key:2,class:"disk-item load"},ro={class:"disk-item_name"},_o={class:"disk_value"},vo={class:"disk-item_value"},po={class:"value-data"},ho={key:3,class:"disk-item load"},mo={class:"disk-item_name"},bo={class:"disk_value"},fo={key:0,class:"disk-item_value"},Fo={class:"value-data"},$o={key:1,class:"disk-item_value"},yo={class:"value-data"},ko={class:"disk_icon"},Eo=I({props:{disk:{type:Object,required:!0}},setup(e){const s=e,u=q(()=>s.disk.errorInfo?"error":s.disk.childrens==null||s.disk.childrens.length==0?"load":s.disk.childrens.filter(v=>v.mountPoint).length==0?"unmounted":"success"),n=()=>{zt({action:"disk",disk:s.disk,Cancel:()=>{},Next:()=>{location.reload()}})},o=()=>{ja({action:"disk",disk:s.disk,Cancel:()=>{},Next:()=>{location.reload()}})},d=()=>{ne({action:"nas",disk:s.disk,mount:s.disk.childrens[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(v,l)=>{var r,p,g,$,D;const c=nt("progress-item");return x(u)=="error"?(a(),i("li",Ha,[t("div",Wa,[t("span",null,F(e.disk.venderModel),1)]),t("div",Ra,[t("div",Za,[t("span",Ja,F(e.disk.errorInfo),1)])])])):x(u)=="success"?(a(),i("li",Ka,[t("div",Qa,[t("span",null,"\u3010"+F(e.disk.size)+"\u3011",1),t("span",null,F(e.disk.venderModel),1)]),t("div",Xa,[t("div",Ya,[t("div",to,[C(c,{value:e.disk.usage,text:`${e.disk.used}/${e.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),eo]),t("div",so,[e.disk.isDockerRoot&&e.disk.isSystemRoot&&e.disk.usage>=90?(a(),i("span",uo,[t("span",no,[C(dt)]),ao])):E("",!0),!e.disk.isSystemRoot&&(((r=e.disk.childrens)==null?void 0:r.filter(h=>h.isReadOnly||h.filesystem=="ntfs").length)||0)>0?(a(),i("span",oo,[t("span",io,[C(dt)]),lo])):E("",!0),!e.disk.isSystemRoot&&(((p=e.disk.childrens)==null?void 0:p.filter(h=>h.isReadOnly||h.filesystem=="ntfs").length)||0)>0?(a(),i("span",{key:2,class:"disk_infoicon",onClick:l[0]||(l[0]=h=>n())},[C(Su)])):E("",!0),t("span",{class:"disk_infoicon",onClick:l[1]||(l[1]=h=>o())},[C(Jt)])])])])):x(u)=="load"?(a(),i("li",co,[t("div",ro,[t("span",null,F(e.disk.venderModel),1)]),t("div",_o,[t("div",vo,[t("div",po,[t("button",{onClick:l[2]||(l[2]=h=>n())},"\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")])])])])):x(u)=="unmounted"?(a(),i("li",ho,[t("div",mo,[t("span",null,F(e.disk.venderModel),1)]),t("div",bo,[((g=e.disk.childrens)==null?void 0:g.length)==1?(a(),i("div",fo,[t("div",Fo,[t("button",{onClick:l[3]||(l[3]=h=>d())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),((($=e.disk.childrens)==null?void 0:$.length)||0)>1?(a(),i("div",$o,[t("div",yo,[t("button",{onClick:l[4]||(l[4]=h=>o())},"\u624B\u52A8\u6302\u8F7D")])])):E("",!0),t("div",ko,[(((D=e.disk.childrens)==null?void 0:D.length)||0)>1?(a(),i("span",{key:0,class:"disk_infoicon",onClick:l[5]||(l[5]=h=>o())},[C(Jt)])):E("",!0)])])])):E("",!0)}}});var Kt=w(Eo,[["__scopeId","data-v-3ab15fa2"]]);const Vt=e=>(L("data-v-b996c17c"),e=e(),N(),e),Do={class:"app-container"},go=Vt(()=>t("div",{class:"app-container_title"},[t("span",null,"\u78C1\u76D8\u4FE1\u606F")],-1)),Co=Vt(()=>t("div",{class:"app-container_info"},"\u7CFB\u7EDF\u6839\u76EE\u5F55",-1)),wo={class:"app-container_body"},Bo=Vt(()=>t("div",{class:"app-container_info"},[t("span",null,"\u5DF2\u6302\u8F7D\u78C1\u76D8")],-1)),Ao={class:"app-container_body"},xo=I({setup(e){const s=y();return(()=>{S.Nas.Disk.Status.GET().then(n=>{var o;if((o=n==null?void 0:n.data)!=null&&o.result){const d=n.data.result;s.value=d.disks}})})(),(n,o)=>{var d,v;return a(),i("div",Do,[t("ul",null,[t("li",null,[go,Co,t("div",wo,[(a(!0),i(U,null,Y((d=s.value)==null?void 0:d.filter(l=>l.isSystemRoot),(l,c)=>(a(),G(Kt,{key:c,disk:l},null,8,["disk"]))),128))])]),t("li",null,[Bo,t("div",Ao,[(a(!0),i(U,null,Y((v=s.value)==null?void 0:v.filter(l=>!l.isSystemRoot),(l,c)=>(a(),G(Kt,{key:c,disk:l},null,8,["disk"]))),128))])])])])}}});var So=w(xo,[["__scopeId","data-v-b996c17c"]]);const ae=e=>(L("data-v-4f380378"),e=e(),N(),e),Po={class:"app-container_samba"},To={key:0,class:"sambas-item"},Io=ae(()=>t("div",{class:"sambas-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Mo={class:"sambas-item_value"},zo=ae(()=>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)),Lo={class:"samba-item"},No={class:"samba-item_name"},Oo=["title"],Vo=I({props:{sambas:{type:Array}},setup(e){const s=y({});return(()=>T(this,null,function*(){try{const n=yield S.Network.Status.GET();if(n!=null&&n.data){const o=n==null?void 0:n.data;o.result&&(s.value=o.result)}}catch(n){}}))(),(n,o)=>{var d;return a(),i("ul",Po,[e.sambas?(a(),i("li",To,[Io,t("div",Mo,[t("span",null,F((d=e.sambas)!=null&&d.length?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])])):E("",!0),zo,(a(!0),i(U,null,Y(e.sambas,v=>(a(),i("li",Lo,[t("div",No,[t("span",null,"smb://"+F(s.value.ipv4addr)+"/",1),t("span",null,F(v.shareName),1)]),t("div",{class:"samba-item_value",title:v.path},[t("span",null,F(v.path),1)],8,Oo)]))),256))])}}});var Go=w(Vo,[["__scopeId","data-v-4f380378"]]);const wt=e=>(L("data-v-615b85a1"),e=e(),N(),e),qo={class:"webdav-item"},Uo=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),jo={class:"webdav-item_value"},Ho={key:0,class:"webdav-item"},Wo=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u6302\u8F7D\u8DEF\u5F84:")],-1)),Ro={class:"webdav-item_value"},Zo={key:1,class:"webdav-item"},Jo=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u670D\u52A1\u8DEF\u5F84:")],-1)),Ko={class:"webdav-item_value"},Qo=["href"],Xo={key:2,class:"webdav-item"},Yo=wt(()=>t("div",{class:"webdav-item_name"},[t("span",null,"\u8D26\u53F7:")],-1)),t2={class:"webdav-item_value"},e2=I({props:{webdav:{type:Object}},setup(e){const s=e,u=q(()=>{var n;return`http://${location.host}:${(n=s.webdav)==null?void 0:n.port}`});return(n,o)=>{var d,v,l,c,r,p;return a(),i(U,null,[t("li",qo,[Uo,t("div",jo,[t("span",null,F((d=e.webdav)!=null&&d.path?"\u5DF2\u542F\u7528":"\u672A\u542F\u7528"),1)])]),(v=e.webdav)!=null&&v.path?(a(),i("li",Ho,[Wo,t("div",Ro,[t("span",null,F((l=e.webdav)==null?void 0:l.path),1)])])):E("",!0),(c=e.webdav)!=null&&c.port?(a(),i("li",Zo,[Jo,t("div",Ko,[t("a",{href:x(u),target:"_blank",rel:"noopener noreferrer"},F(x(u)),9,Qo)])])):E("",!0),(r=e.webdav)!=null&&r.username?(a(),i("li",Xo,[Yo,t("div",t2,[t("span",null,F((p=e.webdav)==null?void 0:p.username),1)])])):E("",!0)],64)}}});var s2=w(e2,[["__scopeId","data-v-615b85a1"]]);const Gt=e=>(L("data-v-35576663"),e=e(),N(),e),u2={class:"disk-item"},n2=Gt(()=>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)),a2={class:"disk-item_f"},o2={class:"disk-item_venderModel"},i2={class:"disk-item_used"},l2=Gt(()=>t("div",{class:"auto"},null,-1)),c2={class:"disk-item-r"},d2={class:"disk-children"},r2=["onClick"],_2=Gt(()=>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)),v2={key:0},p2={key:1},h2=I({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(e){var o,d;const s=e,u=y(!1);s.currDisk!=null&&((o=s.currDisk)==null?void 0:o.venderModel)==((d=s.disk)==null?void 0:d.venderModel)&&(u.value=!0);const n=v=>{u.value=!u.value,s.onDisk(v,null)};return(v,l)=>{var c;return a(),i("ul",u2,[t("li",{class:ht(["disk-info",{on:e.disk.venderModel==((c=e.currDisk)==null?void 0:c.venderModel),nopoint:e.disk.childrens==null||e.disk.childrens.length==0}]),onClick:l[0]||(l[0]=r=>n(e.disk))},[n2,t("div",a2,[t("div",o2,F(e.disk.venderModel),1),t("div",i2,F(e.disk.used)+"/"+F(e.disk.size),1)]),l2,t("div",c2,F(e.disk.path),1)],2),z(t("div",d2,[(a(!0),i(U,null,Y(e.disk.childrens,r=>{var p,g;return a(),i("li",{class:ht(["disk-children_item",{on:r.uuid==((p=e.currMountPoint)==null?void 0:p.uuid)&&r.path==((g=e.currMountPoint)==null?void 0:g.path)}]),onClick:$=>e.onDisk(e.disk,r)},[_2,r.mountPoint?(a(),i("span",v2," \u3010"+F(r.filesystem)+"\u3011 "+F(r.mountPoint)+" \uFF08"+F(r.used)+"/"+F(r.total)+"\uFF09 ["+F(r.uuid)+"] ",1)):(a(),i("span",p2," \u3010"+F(r.filesystem)+"\u3011 "+F(r.mountPoint||r.path||"\u672A\u6302\u8F7D\u78C1\u76D8")+" ["+F(r.uuid)+"] ",1))],10,r2)}),256))],512),[[De,u.value]])])}}});var m2=w(h2,[["__scopeId","data-v-35576663"]]);const qt=e=>(L("data-v-71d47780"),e=e(),N(),e),b2={class:"action list"},f2=qt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")],-1)),F2={class:"action-body"},$2={class:"disk-list"},y2=qt(()=>t("div",{class:"action-msg"},[t("span",null,[tt(" \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)),k2=qt(()=>t("div",{class:"auto"},null,-1)),E2=I({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(e){const s=e,u=y(!0),n=y();(()=>{S.Nas.Disk.Status.GET().then($=>{$!=null&&$.data.result&&(n.value=$==null?void 0:$.data.result.disks)})})();const d=y(),v=y(),l=($,D)=>{d.value=$,v.value=D},c=()=>{s.Close&&s.Close()},r=()=>{s.Cancel&&s.Cancel(),c()},p=$=>{s.Next&&s.Next($),c()},g=()=>{if(d.value==null){b.Warning("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8");return}if(d.value.childrens!=null&&d.value.childrens.length>0&&v.value==null){b.Warning("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A");return}if(v.value!=null&&(v.value.mountPoint==null||v.value.mountPoint=="")){b.Warning("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D");return}u.value=!1,zt({action:"nas",disk:d.value,mount:v.value,Cancel:()=>{u.value=!0},Next:$=>{p($)}})};return($,D)=>u.value?(a(),G(st,{key:0,type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[t("div",b2,[f2,t("div",F2,[t("div",$2,[(a(!0),i(U,null,Y(n.value,h=>(a(),G(m2,{disk:h,onDisk:l,currDisk:d.value,currMountPoint:v.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),y2,t("div",{class:"action-footer"},[k2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button"},"\u8FD4\u56DE"),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:g,type:"button"},"\u4E0B\u4E00\u6B65")])])]),_:1})]),_:1})):E("",!0)}});var D2=w(E2,[["__scopeId","data-v-71d47780"]]),g2=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(D2,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const Bt=e=>(L("data-v-0c749f00"),e=e(),N(),e),C2={class:"action"},w2={class:"action-body"},B2=Bt(()=>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)),A2=Bt(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),x2={class:"info"},S2=Bt(()=>t("span",null,"\u524D\u5F80",-1)),P2=["href"],T2=Bt(()=>t("span",null,"\u914D\u7F6E",-1)),I2=I({props:{Close:Function},setup(e){const s=e,u=y(""),n=q(()=>`http://${location.host}:${u.value}`);(()=>{S.Nas.Linkease.Enable.POST().then(v=>{var l,c;(l=v==null?void 0:v.data)!=null&&l.result&&(u.value=((c=v.data.result)==null?void 0:c.port)||"")})})();const d=()=>{s.Close&&s.Close(),location.reload()};return(v,l)=>(a(),G(st,{type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[t("div",C2,[t("div",w2,[B2,A2,t("div",x2,[S2,t("a",{href:x(n),target:"_blank",rel:"noopener noreferrer"},F(x(n)),9,P2),T2]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:d},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var M2=w(I2,[["__scopeId","data-v-0c749f00"]]),z2=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(M2,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const kt=e=>(L("data-v-e84f8f4c"),e=e(),N(),e),L2=["onSubmit"],N2=kt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Webdav\u5171\u4EAB\u914D\u7F6E")],-1)),O2={class:"action-body"},V2={class:"label-item"},G2=kt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),q2={class:"label-item_value"},U2=["value"],j2={class:"label-item"},H2=kt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),W2={class:"label-item_value"},R2={class:"label-item"},Z2=kt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),J2={class:"label-item_value"},K2={class:"action-footer"},Q2=kt(()=>t("div",{class:"auto"},null,-1)),X2=["disabled"],Y2=["disabled"],t6=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=c=>{c.preventDefault(),s.Close&&s.Close()},n=y(!1),o=y({username:"root",password:"",rootPath:s.rootPath});(()=>T(this,null,function*(){const c=b.Loading("\u52A0\u8F7D\u4E2D...");n.value=!0;try{const r=yield S.Nas.Webdav.Status.GET();if(r!=null&&r.data){const{result:p,error:g}=r.data;if(g){b.Warning(g);return}p&&(p.username&&(o.value.username=p.username),p.password&&(o.value.password=p.password))}}catch(r){b.Error(r)}n.value=!1,c.Close()}))();const v=()=>{const c=o.value;if(c.rootPath==""){b.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(c.username==""){b.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(c.password==""){b.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}l(c)},l=c=>T(this,null,function*(){n.value=!0;const r=b.Loading("\u521B\u5EFA\u4E2D...");try{const p=yield S.Nas.Webdav.Create.POST(c);if(p!=null&&p.data){const{error:g,result:$}=p.data;g&&b.Warning(g),$&&(b.Success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{location.reload()},1e3))}}catch(p){b.Error(p)}r.Close(),n.value=!1});return(c,r)=>(a(),G(st,{type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[t("form",{class:"action",onSubmit:et(v,["prevent"])},[N2,t("div",O2,[t("div",V2,[G2,t("div",q2,[t("input",{type:"text",value:o.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,U2)])]),t("div",j2,[H2,t("div",W2,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":r[0]||(r[0]=p=>o.value.username=p)},null,512),[[V,o.value.username,void 0,{trim:!0}]])])]),t("div",R2,[Z2,t("div",J2,[z(t("input",{type:"password","onUpdate:modelValue":r[1]||(r[1]=p=>o.value.password=p)},null,512),[[V,o.value.password,void 0,{trim:!0}]])])])]),t("div",K2,[Q2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:n.value},"\u5173\u95ED",8,X2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,Y2)])],40,L2)]),_:1})]),_:1}))}});var e6=w(t6,[["__scopeId","data-v-e84f8f4c"]]),s6=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(e6,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const lt=e=>(L("data-v-f2956624"),e=e(),N(),e),u6=["onSubmit"],n6=lt(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"},"Samba\u5171\u4EAB\u914D\u7F6E")],-1)),a6={class:"action-body"},o6={class:"label-item"},i6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")],-1)),l6={class:"label-item_value"},c6=["value"],d6={class:"label-item"},r6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")],-1)),_6={class:"label-item_value"},v6={class:"label-item"},p6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u7528\u6237\u540D")],-1)),h6={class:"label-item_value"},m6={class:"label-item"},b6=lt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u5BC6\u7801")],-1)),f6={class:"label-item_value"},F6={class:"samba-item"},$6={class:"samba-item_allow"},y6=lt(()=>t("label",{for:"allow",class:"samba-allow"},"\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)",-1)),k6={class:"samba-item_tips"},E6={class:"tooltip-trigger"},D6={class:"samba_tip"},g6=lt(()=>t("span",{class:"samba_dir_tip"},"\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50",-1)),C6={class:"action-footer"},w6=lt(()=>t("div",{class:"auto"},null,-1)),B6=["disabled"],A6=["disabled"],x6=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=l=>{l.preventDefault(),s.Close&&s.Close()},n=y(!1),o=y({shareName:"",username:"",password:"",rootPath:s.rootPath,allowLegacy:!1}),d=()=>{const l=o.value;if(l.rootPath==""){b.Warning("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}if(l.shareName==""){b.Warning("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A");return}if(l.username==""){b.Warning("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}if(l.password==""){b.Warning("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}v(l)},v=l=>T(this,null,function*(){n.value=!0;const c=b.Loading("\u521B\u5EFA\u4E2D...");try{const r=yield S.Nas.Samba.Create.POST(l);if(r!=null&&r.data){const{error:p,result:g}=r.data;p&&b.Warning(p),g&&(b.Success("\u521B\u5EFA\u6210\u529F"),setTimeout(()=>{location.reload()},1e3))}}catch(r){b.Error(r)}c.Close(),n.value=!1});return(l,c)=>(a(),G(st,{type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[t("form",{class:"action",onSubmit:et(d,["prevent"])},[n6,t("div",a6,[t("div",o6,[i6,t("div",l6,[t("input",{type:"text",value:o.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,c6)])]),t("div",d6,[r6,t("div",_6,[z(t("input",{type:"text","onUpdate:modelValue":c[0]||(c[0]=r=>o.value.shareName=r),required:"",placeholder:"\u5171\u4EAB\u540D\u79F0"},null,512),[[V,o.value.shareName,void 0,{trim:!0}]])])]),t("div",v6,[p6,t("div",h6,[z(t("input",{type:"text",required:"",placeholder:"\u8D26\u53F7\u7528\u6237\u540D","onUpdate:modelValue":c[1]||(c[1]=r=>o.value.username=r)},null,512),[[V,o.value.username,void 0,{trim:!0}]])])]),t("div",m6,[b6,t("div",f6,[z(t("input",{type:"password","onUpdate:modelValue":c[2]||(c[2]=r=>o.value.password=r)},null,512),[[V,o.value.password,void 0,{trim:!0}]])])]),t("div",F6,[t("div",$6,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":c[3]||(c[3]=r=>o.value.allowLegacy=r)},null,512),[[ge,o.value.allowLegacy]]),y6]),t("div",k6,[t("span",E6,[t("span",D6,[C(dt)]),g6])])])]),t("div",C6,[w6,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:u,disabled:n.value},"\u5173\u95ED",8,B6),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:n.value},"\u521B\u5EFA",8,A6)])],40,u6)]),_:1})]),_:1}))}});var S6=w(x6,[["__scopeId","data-v-f2956624"]]),P6=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(S6,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const Et=e=>(L("data-v-3336c5ea"),e=e(),N(),e),T6={key:0,class:"action"},I6=Et(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC",-1)),M6=Et(()=>t("h3",{class:"desc"},"\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1",-1)),z6=Et(()=>t("option",{value:"linkease"},"\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09",-1)),L6=Et(()=>t("option",{value:"samba"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09",-1)),N6=Et(()=>t("option",{value:"webdav"},"\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Webdav\uFF09",-1)),O6=[z6,L6,N6],V6={class:"btns"},G6=["disabled"],q6=I({props:{setup:Number,Close:{type:Function,required:!0}},setup(e){const s=e,u=y(!0),n=y("linkease"),o=y(!1),d=y(s.setup||0),v=()=>{s.Close&&s.Close()},l=()=>T(this,null,function*(){switch(n.value){case"webdav":yield c();break;case"samba":yield p();break;case"linkease":yield r();break}}),c=()=>T(this,null,function*(){o.value=!0;const A=b.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.App.Check.POST({name:"gowebdav"});if(A.Close(),_!=null&&_.data){const{result:m,error:f}=_.data;if(f&&b.Warning(f),m){if(m.status=="installed"){$();return}if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 GoWebdav \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){const k=b.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D..."),O=yield g("app-meta-gowebdav");k.Close(),O?$():b.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(_){b.Error(_)}A.Close(),o.value=!1}),r=()=>T(this,null,function*(){o.value=!0;const A=b.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.App.Check.POST({name:"linkease"});if(A.Close(),_!=null&&_.data){const{result:m,error:f}=_.data;if(f&&b.Warning(f),m){if(m.status=="installed"){D();return}if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 \u6613\u6709\u4E91 \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){const k=b.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D..."),O=yield g("app-meta-linkease");k.Close(),O?D():b.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(_){b.Error(_)}A.Close(),o.value=!1}),p=()=>T(this,null,function*(){o.value=!0;const A=b.Loading("\u914D\u7F6E\u4E2D...");$(),A.Close(),o.value=!1}),g=A=>T(this,null,function*(){return S.App.Install.POST({name:A}).then(()=>{}),new Promise((_,m)=>T(this,null,function*(){let f=0;const k=setInterval(()=>T(this,null,function*(){if(f>10){clearInterval(k),m(!1);return}const O=yield S.App.Check.POST({name:A});if(O!=null&&O.data){const{result:X}=O.data;if((X==null?void 0:X.status)=="installed"){clearInterval(k),_(!0);return}}f++}),3e3)}))}),$=()=>{o.value=!1,u.value=!1,g2({Cancel:()=>{u.value=!0},Next:A=>{switch(n.value){case"webdav":h(A);break;case"samba":B(A);break}}})},D=()=>{z2({}),v()},h=A=>{s6({rootPath:A}),v()},B=A=>{P6({rootPath:A}),v()};return(A,_)=>u.value?(a(),G(st,{key:0,Close:e.Close,type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[d.value==0?(a(),i("div",T6,[I6,M6,t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":_[0]||(_[0]=m=>n.value=m)},O6,512),[[ot,n.value]])])]),t("div",V6,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:l,type:"button",disabled:o.value},"\u4E0B\u4E00\u6B65",8,G6),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v,type:"button"},"\u53D6\u6D88")])])):E("",!0)]),_:1})]),_:1},8,["Close"])):E("",!0)}});var U6=w(q6,[["__scopeId","data-v-3336c5ea"]]),oe=e=>{const s=document.createElement("div");document.body.appendChild(s);const u=Z(U6,ut(j({},e),{Close:()=>{n()}}));u.mount(s);const n=()=>{u.unmount(),s.remove()};return{Close:n}};const Ut=e=>(L("data-v-8177f8d4"),e=e(),N(),e),j6={class:"app-container_linkease"},H6={class:"linkease-item"},W6=Ut(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),R6={class:"linkease-item_value"},Z6={key:0,class:"configure"},J6={key:0,class:"linkease-item"},K6=Ut(()=>t("div",{class:"linkease-item_name"},[t("span",null,"\u670D\u52A1\u5730\u5740:")],-1)),Q6={class:"linkease-item_value"},X6=["href"],Y6=Ut(()=>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)),t0=I({props:{linkease:{type:Object}},setup(e){const s=e,u=q(()=>{var o;return`http://${location.host}:${(o=s.linkease)==null?void 0:o.port}`}),n=()=>{oe({setup:0})};return(o,d)=>{var v,l,c;return a(),i("ul",j6,[t("li",H6,[W6,t("div",R6,[(v=e.linkease)!=null&&v.enabel?(a(),i("span",Z6,"\u5DF2\u914D\u7F6E")):(a(),i("span",{key:1,class:"configure enabel",onClick:d[0]||(d[0]=r=>n())},"\u672A\u914D\u7F6E"))])]),(l=e.linkease)!=null&&l.enabel?(a(),i(U,{key:0},[(c=e.linkease)!=null&&c.port?(a(),i("li",J6,[K6,t("div",Q6,[t("a",{href:x(u),target:"_blank",rel:"noopener noreferrer"},F(x(u)),9,X6)])])):E("",!0)],64)):E("",!0),Y6])}}});var e0=w(t0,[["__scopeId","data-v-8177f8d4"]]);const s0=e=>(L("data-v-0f6e117d"),e=e(),N(),e),u0={class:"app-container"},n0=s0(()=>t("span",null,"\u5B58\u50A8\u670D\u52A1",-1)),a0={class:"app-container_body"},o0={class:"app-container_nas-menu"},i0=I({setup(e){const s=y("linkease"),u=y(),n=T1();(()=>{S.Nas.Service.Status.GET().then(v=>{var l;if((l=v==null?void 0:v.data)!=null&&l.result){const c=v.data.result;u.value=c,c.webdav&&(n.webdav=c.webdav)}})})();const d=()=>{oe({setup:0})};return(v,l)=>{var c,r,p;return a(),i("div",u0,[t("div",{class:"app-container_title"},[n0,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:d},"\u5FEB\u901F\u914D\u7F6E")]),t("div",a0,[t("ul",o0,[t("button",{onClick:l[0]||(l[0]=g=>s.value="linkease"),class:ht({on:s.value=="linkease"})},"\u6613\u6709\u4E91",2),t("button",{onClick:l[1]||(l[1]=g=>s.value="samba"),class:ht({on:s.value=="samba"})},"SAMBA",2),t("button",{onClick:l[2]||(l[2]=g=>s.value="webdav"),class:ht({on:s.value=="webdav"})},"WEBDAV",2)]),s.value=="samba"?(a(),G(Go,{key:0,sambas:(c=u.value)==null?void 0:c.sambas},null,8,["sambas"])):s.value=="webdav"?(a(),G(s2,{key:1,webdav:(r=u.value)==null?void 0:r.webdav},null,8,["webdav"])):s.value=="linkease"?(a(),G(e0,{key:2,linkease:(p=u.value)==null?void 0:p.linkease},null,8,["linkease"])):E("",!0)])])}}});var l0=w(i0,[["__scopeId","data-v-0f6e117d"]]);const jt=e=>(L("data-v-be22d5be"),e=e(),N(),e),c0={class:"app-container_docker"},d0={class:"docker-item"},r0=jt(()=>t("div",{class:"docker-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),_0={key:0,class:"docker-item_value"},v0=jt(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),p0=[v0],h0={key:1,class:"docker-item_value"},m0={key:0,class:"configure"},b0={key:1,class:"configure enabel"},f0={key:0,class:"docker-item"},F0=jt(()=>t("div",{class:"docker-item_name"},[t("span",null,"Docker\u6839\u76EE\u5F55\uFF1A")],-1)),$0={class:"docker-item_value"},y0={class:"configure enabel"},k0={key:0},E0={class:"tooltip-trigger"},D0={class:"docker_tip"},g0={class:"tooltip-text tooltip-top"},C0={class:"docker_dir_tip"},w0=I({props:{docker:{type:Object}},setup(e){return(s,u)=>{var n,o,d,v,l;return a(),i("ul",c0,[t("li",d0,[r0,((n=e.docker)==null?void 0:n.status)=="not installed"?(a(),i("div",_0,p0)):(a(),i("div",h0,[((o=e.docker)==null?void 0:o.status)=="running"?(a(),i("span",m0,"\u5DF2\u542F\u52A8")):(a(),i("span",b0,"\u672A\u542F\u52A8"))]))]),((d=e.docker)==null?void 0:d.status)=="running"?(a(),i("li",f0,[F0,t("div",$0,[t("span",y0,F((v=e.docker)==null?void 0:v.path),1),(l=e.docker)!=null&&l.errorInfo?(a(),i("span",k0,[t("span",E0,[t("span",D0,[C(dt)]),t("div",null,[t("div",g0,[t("span",C0,F(e.docker.errorInfo),1)])])])])):E("",!0)])])):E("",!0)])}}});var B0=w(w0,[["__scopeId","data-v-be22d5be"]]);const A0={},x0={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"},S0=Tt('icon_finished',2),P0=[S0];function T0(e,s){return a(),i("svg",x0,P0)}var ie=w(A0,[["render",T0]]);const J=e=>(L("data-v-21281e77"),e=e(),N(),e),I0={key:0,class:"action"},M0=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),z0=J(()=>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:",-1)),L0={key:1,class:"action"},N0=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),O0=J(()=>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:",-1)),V0={class:"roots"},G0=J(()=>t("span",{class:"roots_tit"},"Docker\u6839\u76EE\u5F55\uFF1A",-1)),q0={class:"root"},U0={class:"move"},j0=J(()=>t("span",{class:"roots_tit"},"\u8FC1\u79FB\u5230\uFF1A",-1)),H0={key:0},W0=["onSubmit"],R0={class:"select-editable"},Z0=J(()=>t("option",{selected:"selected",value:null},"\u8BF7\u9009\u62E9\u8FC1\u79FB\u5730\u5740",-1)),J0=["value"],K0=J(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),Q0={key:1,class:"tips"},X0={class:"tips_content"},Y0=J(()=>t("span",{class:"tip"},"\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\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)),ti={key:0,class:"btns"},ei={key:1,class:"btns"},si={key:2,class:"action"},ui=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),ni={class:"finished"},ai=J(()=>t("p",{class:"successed"},"\u8FC1\u79FB\u6210\u529F\uFF01",-1)),oi={key:3,class:"action"},ii=J(()=>t("h2",{class:"title"},"Docker\u8FC1\u79FB\u5411\u5BFC",-1)),li=J(()=>t("div",{class:"finished"},[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)),ci={class:"successed"},di={class:"btns"},ri=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=y(),n=y(),o=y(0),d=y("null"),v=y(""),l=y(),c=y(""),r=y(!1);(()=>{S.Nas.Disk.Status.GET().then(_=>{_!=null&&_.data.result&&(l.value=_==null?void 0:_.data.result)}),S.Guide.DockerStatus.GET().then(_=>{var m;if((m=_==null?void 0:_.data)!=null&&m.result){const f=_.data.result;u.value=f}}),S.Guide.DockerPartitionList.GET().then(_=>{var m;if((m=_==null?void 0:_.data)!=null&&m.result){const f=_.data.result;n.value=f}})})();const g=_=>{let m=d.value;if(m=="useInput"&&(m=v.value),m==null||m=="null"||m=="")return;const f=b.Loading("\u6B63\u5728\u8FC1\u79FB\u4E2D...");S.Guide.DockerTransfer.POST({path:m,force:_}).then(k=>{var O,X;if((O=k==null?void 0:k.data)!=null&&O.result){if((k.data.result.success||0)==0){o.value=1;return}else if((X=k.data.result)!=null&&X.error)throw k.data.result.error=="111"&&k.data.result.scope=="guide/docker"&&(r.value=!0),k.data.result.detail}throw"\u672A\u77E5\u9519\u8BEF"}).catch(k=>{c.value=k,o.value=2}).finally(()=>f.Close())},$=()=>{r.value=!1,g(!1)},D=_=>{_.preventDefault(),s.Close&&s.Close()},h=_=>{_.preventDefault(),location.reload()},B=_=>{_.preventDefault(),o.value=0},A=_=>{_.preventDefault(),g(!0)};return(_,m)=>(a(),G(st,{Close:e.Close,type:1},{default:P(()=>{var f,k,O,X,Ht,Wt;return[t("div",null,[o.value==-1?(a(),i("div",I0,[M0,z0,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:D},"\u53D6\u6D88")])])):o.value==0?(a(),i("div",L0,[N0,O0,t("div",V0,[G0,t("span",q0,F((f=u.value)==null?void 0:f.path),1)]),t("div",U0,[j0,(O=(k=n.value)==null?void 0:k.partitionList)!=null&&O.length?(a(),i("div",H0,[t("form",{onSubmit:et($,["prevent"])},[t("label",null,[t("div",R0,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=pt=>d.value=pt)},[Z0,(a(!0),i(U,null,Y((X=n.value)==null?void 0:X.partitionList,(pt,ce)=>(a(),i("option",{value:pt,key:ce},F(pt),9,J0))),128)),K0],512),[[ot,d.value,void 0,{trim:!0}]]),d.value=="useInput"?z((a(),i("input",{key:0,type:"text","onUpdate:modelValue":m[1]||(m[1]=pt=>v.value=pt),required:"",placeholder:"\u8BF7\u8F93\u5165\u8FC1\u79FB\u5730\u5740"},null,512)),[[V,v.value,void 0,{trim:!0}]]):E("",!0)])])],40,W0)])):n.value?(a(),i("div",Q0,[t("div",X0,[C(dt),Y0])])):E("",!0)]),(Wt=(Ht=n.value)==null?void 0:Ht.partitionList)!=null&&Wt.length?(a(),i("div",ti,[t("button",{class:"cbi-button cbi-button-apply",onClick:$},"\u786E\u5B9A"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:D},"\u53D6\u6D88")])):(a(),i("div",ei,[t("button",{class:"cbi-button cbi-button-apply",onClick:D},"\u786E\u5B9A")]))])):o.value==1?(a(),i("div",si,[ui,t("div",ni,[C(ie)]),ai,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:h},"\u786E\u5B9A")])])):o.value==2?(a(),i("div",oi,[ii,li,t("p",ci,"\u8FC1\u79FB\u5931\u8D25\uFF01"+F(c.value),1),t("div",di,[r.value?(a(),i("button",{key:0,class:"cbi-button cbi-button-apply",onClick:A},"\u5F3A\u5236\u7EE7\u7EED")):E("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:B},"\u8FD4\u56DE"),r.value?E("",!0):(a(),i("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:h},"\u53D6\u6D88"))])])):E("",!0)])]}),_:1},8,["Close"]))}});var _i=w(ri,[["__scopeId","data-v-21281e77"]]);const vi=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=Z(_i,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}},pi=e=>(L("data-v-11379856"),e=e(),N(),e),hi={class:"app-container"},mi={class:"app-container_title"},bi=pi(()=>t("span",null,"Docker",-1)),fi=I({setup(e){const s=y(),u=()=>{vi()};return(()=>{S.Guide.DockerStatus.GET().then(o=>{var d;if((d=o==null?void 0:o.data)!=null&&d.result){const v=o.data.result;s.value=v}})})(),(o,d)=>{var v;return a(),i("div",hi,[t("div",mi,[bi,((v=s.value)==null?void 0:v.status)!="not installed"?(a(),i("button",{key:0,class:"cbi-button cbi-button-apply",onClick:u},"\u5FEB\u901F\u914D\u7F6E")):E("",!0)]),t("div",null,[C(B0,{docker:s.value},null,8,["docker"])])])}}});var Fi=w(fi,[["__scopeId","data-v-11379856"]]);const At=e=>(L("data-v-4c7a3eee"),e=e(),N(),e),$i={class:"aria2_content"},yi={class:"app-container_aria2"},ki={class:"aria2-item"},Ei=At(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u5F53\u524D\u72B6\u6001:")],-1)),Di={key:0,class:"aria2-item_value"},gi=At(()=>t("span",{class:"configure"},"\u672A\u5B89\u88C5",-1)),Ci=[gi],wi={key:1,class:"aria2-item_value"},Bi={key:0,class:"configure"},Ai={key:1,class:"configure enabel"},xi={key:0,class:"aria2-item"},Si=At(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A")],-1)),Pi={class:"aria2-item_value"},Ti={class:"configure enabel"},Ii={key:1,class:"aria2-item"},Mi=At(()=>t("div",{class:"aria2-item_name"},[t("span",null,"\u7F51\u7EDC\u5730\u5740\uFF1A")],-1)),zi={class:"aria2-item_value"},Li={href:"/ariang",target:"_blank"},Ni=I({props:{aria2:{type:Object}},setup(e){const s=y(location.origin+"/ariang");return(u,n)=>{var o,d,v,l;return a(),i("div",$i,[t("ul",yi,[t("li",ki,[Ei,((o=e.aria2)==null?void 0:o.status)=="not installed"?(a(),i("div",Di,Ci)):(a(),i("div",wi,[((d=e.aria2)==null?void 0:d.status)=="running"?(a(),i("span",Bi,"\u5DF2\u542F\u52A8")):(a(),i("span",Ai,"\u672A\u542F\u52A8"))]))]),((v=e.aria2)==null?void 0:v.status)=="running"?(a(),i("li",xi,[Si,t("div",Pi,[t("span",Ti,F(e.aria2.downloadPath),1)])])):E("",!0),((l=e.aria2)==null?void 0:l.status)=="running"?(a(),i("li",Ii,[Mi,t("div",zi,[t("a",Li,F(s.value),1)])])):E("",!0)])])}}});var Oi=w(Ni,[["__scopeId","data-v-4c7a3eee"]]);const Vi={},Gi={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"},qi=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),Ui=[qi];function ji(e,s){return a(),i("svg",Gi,Ui)}var Qt=w(Vi,[["render",ji]]);const Q=e=>(L("data-v-b546f140"),e=e(),N(),e),Hi={key:0,class:"action"},Wi=Q(()=>t("h2",{class:"title"},"Aria2\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),Ri={class:"load"},Zi={class:"left"},Ji={class:"tooltip-trigger"},Ki=Q(()=>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\uFF1Amnt/sda1/download")])],-1)),Qi=Q(()=>t("span",null,"\u4E0B\u8F7D\u76EE\u5F55\uFF1A",-1)),Xi=["onSubmit"],Yi={class:"select-editable"},tl=Q(()=>t("option",{selected:"true",value:null},"\u8BF7\u9009\u62E9\u4E0B\u8F7D\u76EE\u5F55",-1)),el=["value"],sl=Q(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),ul={class:"RPC"},nl={class:"left"},al={class:"tooltip-trigger"},ol=Q(()=>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)),il=Q(()=>t("span",null,"RPC \u4EE4\u724C\uFF1A",-1)),ll=Q(()=>t("span",null,"\u9644\u52A0\u7684 BT Tracker\uFF1A",-1)),cl=Q(()=>t("label",{for:"default"},"\u9ED8\u8BA4",-1)),dl=Q(()=>t("label",{for:"add"},"\u81EA\u5DF1\u6DFB\u52A0",-1)),rl={key:1,class:"action"},_l=Q(()=>t("h2",{class:"title"},"Aria2\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",-1)),vl={class:"finished"},pl=Q(()=>t("p",{class:"successed"},"\u914D\u7F6E\u6210\u529F\uFF01",-1)),hl=I({props:{rootPath:{type:String,required:!0},Close:Function},setup(e){const s=e,u=y(),n=y([]),o=y(""),d=y(""),v=y("null"),l=y(""),c=y(!1),r=y(0),p=()=>{var _;(_=u.value)!=null&&_.downloadPath&&(n.value.indexOf(u.value.downloadPath)==-1&&(n.value.push(u.value.downloadPath),n.value=n.value),v.value=u.value.downloadPath)};(()=>{S.Guide.Aria2Status.GET().then(_=>{var m;if((m=_==null?void 0:_.data)!=null&&m.result){const f=_.data.result;u.value=f,p()}}),S.Guide.Aria2PartitionList.GET().then(_=>{var m;if((m=_==null?void 0:_.data)!=null&&m.result){const f=_.data.result;n.value=f.partitionList||[],p()}})})();const $=()=>{let _=v.value;if(_=="useInput"&&(_=l.value),_==null||_=="null"||_=="")return;const m=b.Loading("\u6B63\u5728\u914D\u7F6E\u4E2D...");S.Guide.Aria2Init.POST({downloadPath:_,rpcToken:o.value,btTracker:d.value}).then(f=>{var k;if(f!=null&&f.data){if((f.data.success||0)==0){r.value=1;return}else if((k=f.data)!=null&&k.error)throw f.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(f=>b.Error(f)).finally(()=>m.Close())},D=_=>{_.preventDefault(),s.Close&&s.Close()},h=_=>{_.preventDefault(),location.reload()},B=()=>{c.value=!0},A=()=>{c.value=!1};return(_,m)=>(a(),G(st,{Close:e.Close,type:1},{default:P(()=>[C(K,{name:"rotate",mode:"out-in"},{default:P(()=>[r.value==0?(a(),i("div",Hi,[Wi,t("div",Ri,[t("div",Zi,[t("span",Ji,[C(Qt),Ki]),Qi]),t("form",{onSubmit:et($,["prevent"])},[t("label",null,[t("div",Yi,[z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=f=>v.value=f),autocomplete:"off"},[tl,(a(!0),i(U,null,Y(n.value,(f,k)=>(a(),i("option",{value:f,key:k},F(f),9,el))),128)),sl],512),[[ot,v.value,void 0,{trim:!0}]]),v.value=="useInput"?z((a(),i("input",{key:0,type:"text","onUpdate:modelValue":m[1]||(m[1]=f=>l.value=f),required:"",placeholder:"\u8BF7\u8F93\u5165\u4E0B\u8F7D\u76EE\u5F55"},null,512)),[[V,l.value,void 0,{trim:!0}]]):E("",!0)])])],40,Xi)]),t("div",ul,[t("div",nl,[t("span",al,[C(Qt),ol]),il]),z(t("input",{type:"text",class:"RPC_input",placeholder:"\u8BF7\u8F93\u5165RPC\u4EE4\u724C","onUpdate:modelValue":m[2]||(m[2]=f=>o.value=f)},null,512),[[V,o.value,void 0,{trim:!0}]])]),t("div",{class:"Tracker"},[ll,t("input",{type:"radio",value:"default",checked:"checked",name:"BT",id:"default",onClick:A}),cl,t("input",{type:"radio",value:"add",name:"BT",id:"add",onClick:B}),dl]),c.value?z((a(),i("textarea",{key:0,class:"Tracker_input","onUpdate:modelValue":m[3]||(m[3]=f=>d.value=f),rows:"4",placeholder:"\u8BF7\u8F93\u5165bt\u670D\u52A1\u5668\u5730\u5740"},null,512)),[[V,d.value,void 0,{trim:!0}]]):E("",!0),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:$},"\u542F\u7528"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:D},"\u53D6\u6D88")])])):r.value==1?(a(),i("div",rl,[_l,t("div",vl,[C(ie)]),pl,t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-apply",onClick:h},"\u786E\u5B9A")])])):E("",!0)]),_:1})]),_:1},8,["Close"]))}});var ml=w(hl,[["__scopeId","data-v-b546f140"]]);const Xt=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=Z(ml,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}},bl=e=>(L("data-v-5ff6172a"),e=e(),N(),e),fl={class:"app-container"},Fl={class:"app-container_title"},$l=bl(()=>t("span",null,"Aria2\u4E0B\u8F7D\u670D\u52A1",-1)),yl=["disabled"],kl={class:"app-container_content"},El=I({setup(e){const s=y(),u=y(!1),n=()=>{(()=>T(this,null,function*(){u.value=!0;let l=b.Loading("\u914D\u7F6E\u4E2D...");try{const c=yield S.App.Check.POST({name:"aria2"});if(l.Close(),c!=null&&c.data){const{result:r,error:p}=c.data;if(p&&b.Warning(p),r){if(r.status=="installed")Xt();else if(confirm("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 Aria2 \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F")){l=b.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D...");const g=yield d("app-meta-aria2");l.Close(),g?(Xt(),b.Success("\u5B89\u88C5\u6210\u529F")):b.Warning("\u5B89\u88C5\u5931\u8D25")}}}}catch(c){b.Error(c)}l.Close(),u.value=!1}))()};(()=>{S.Guide.Aria2Status.GET().then(v=>{var l;if((l=v==null?void 0:v.data)!=null&&l.result){const c=v.data.result;s.value=c}})})();const d=v=>T(this,null,function*(){return S.App.Install.POST({name:v}).then(()=>{}),new Promise((l,c)=>T(this,null,function*(){let r=0;const p=setInterval(()=>T(this,null,function*(){if(r>20){clearInterval(p),c(!1);return}const g=yield S.App.Check.POST({name:v});if(g!=null&&g.data){const{result:$}=g.data;if(($==null?void 0:$.status)=="installed"){clearInterval(p),l(!0);return}}r++}),3e3)}))});return(v,l)=>(a(),i("div",fl,[t("div",Fl,[$l,t("button",{class:"cbi-button cbi-button-apply",onClick:n,disabled:u.value},"\u5FEB\u901F\u914D\u7F6E",8,yl)]),t("div",kl,[C(Oi,{aria2:s.value},null,8,["aria2"])])]))}});var Dl=w(El,[["__scopeId","data-v-5ff6172a"]]);const gl={class:"nas-container"},Cl={class:"nas-container_f"},wl={class:"nas-container_r"},Bl={class:"nas-container_f g"},Al={class:"nas-container_r g"},xl=I({setup(e){return(s,u)=>(a(),i("div",gl,[t("div",Cl,[C(So)]),t("div",wl,[C(l0)]),t("div",Bl,[C(Fi)]),t("div",Al,[C(Dl)])]))}});var Sl=w(xl,[["__scopeId","data-v-54484dea"]]);const ct=e=>(L("data-v-88d63e9a"),e=e(),N(),e),Pl={class:"app-container"},Tl=ct(()=>t("div",{class:"app-container_title"},[t("span",null,"\u7CFB\u7EDF\u4FE1\u606F")],-1)),Il={class:"item-label"},Ml=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u6E29\u5EA6")],-1)),zl={class:"item-label_value"},Ll={class:"item-label"},Nl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"CPU\u4F7F\u7528\u7387")],-1)),Ol={class:"item-label_value"},Vl={class:"item-label"},Gl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u5B58\u4F7F\u7528\u7387")],-1)),ql={class:"item-label_value"},Ul={class:"item-label"},jl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u56FA\u4EF6\u7248\u672C")],-1)),Hl={class:"item-label_value"},Wl={class:"item-label"},Rl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5185\u6838\u7248\u672C")],-1)),Zl={class:"item-label_value"},Jl={class:"item-label"},Kl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u5DF2\u542F\u52A8")],-1)),Ql={class:"item-label_value"},Xl={class:"item-label"},Yl=ct(()=>t("div",{class:"item-label_key"},[t("span",null,"\u7CFB\u7EDF\u65F6\u95F4")],-1)),t5={class:"item-label_value"},e5=I({setup(e){const s=Mt(),u=q(()=>s.version),n=q(()=>s.time),o=q(()=>s.cpuStatus),d=q(()=>s.cpuTemperature),v=q(()=>s.meneryStatus),l=q(()=>{var g;return((g=o==null?void 0:o.value)==null?void 0:g.usage)||0}),c=q(()=>{var g;return((g=d.value)==null?void 0:g.temperature)||0}),r=q(()=>{var $;const g=(($=v.value)==null?void 0:$.availablePercentage)||100;return 100-g}),p=$t.stampForm;return Pt(()=>{}),(g,$)=>{var h,B,A,_;const D=nt("progress-item");return a(),i("div",Pl,[Tl,t("div",Il,[Ml,t("div",zl,[C(D,{value:x(c)/1.5,text:`${x(c)}\u2103`},null,8,["value","text"])])]),t("div",Ll,[Nl,t("div",Ol,[C(D,{value:x(l),text:`${x(l)}%`},null,8,["value","text"])])]),t("div",Vl,[Gl,t("div",ql,[C(D,{value:x(r),text:`${x(r)}%`},null,8,["value","text"])])]),t("div",Ul,[jl,t("div",Hl,[t("span",null,F((h=x(u))==null?void 0:h.firmwareVersion),1)])]),t("div",Wl,[Rl,t("div",Zl,[t("span",null,F((B=x(u))==null?void 0:B.kernelVersion),1)])]),t("div",Jl,[Kl,t("div",Ql,[t("span",null,F(x(p)((A=x(n))==null?void 0:A.uptime)),1)])]),t("div",Xl,[Yl,t("div",t5,[t("span",null,F((_=x(n))==null?void 0:_.localtime),1)])])])}}});var s5=w(e5,[["__scopeId","data-v-88d63e9a"]]);const at=e=>(L("data-v-1229e356"),e=e(),N(),e),u5=["onSubmit"],n5=at(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),a5={class:"actioner-dns_body"},o5={class:"label-item"},i5=at(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),l5={class:"label-item_value"},c5=at(()=>t("option",{value:"auto"},"\u4F7F\u7528\u8FD0\u8425\u5546\u63D0\u4F9B\u7684DNS",-1)),d5=at(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),r5=[c5,d5],_5={class:"label-item"},v5=at(()=>t("div",{class:"label-item_key"},"DNS\u670D\u52A1\u5668\u5730\u5740",-1)),p5={class:"label-item_value"},h5=["onUpdate:modelValue"],m5={class:"label-item"},b5=at(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),f5={class:"label-item_value"},F5={class:"label-item"},$5=at(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),y5={class:"label-item_value"},k5={key:1,class:"label-message"},E5={class:"actioner-dns_footer"},D5=["disabled"],g5={key:1,class:"actioner-dns"},C5=at(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),w5=at(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),B5=I({props:{Close:{type:Function,required:!0}},setup(e){const s=e,u=y(0),n=y({interfaceName:"",dnsProto:"auto",manualDnsIp:[]}),o=y(""),d=y(""),v=y(""),l=y(!1);(()=>T(this,null,function*(){var $;l.value=!0;try{const D=yield S.Guide.DnsConfig.GET();($=D==null?void 0:D.data)!=null&&$.result&&(n.value=D.data.result)}catch(D){v.value=D}l.value=!1}))();const r=()=>T(this,null,function*(){v.value="";let $={};switch(n.value.dnsProto){case"auto":break;case"manual":$.manualDnsIp=[],n.value.manualDnsIp!=null&&n.value.manualDnsIp.length>0?$.manualDnsIp=n.value.manualDnsIp:($.manualDnsIp.push(o.value),d.value&&$.manualDnsIp.push(d.value));break}$.dnsProto=n.value.dnsProto,$.interfaceName=n.value.interfaceName;const D=b.Loading("\u914D\u7F6E\u4E2D...");try{const h=yield S.Guide.DnsConfig.POST($);if(h!=null&&h.data){const{success:B,error:A}=h==null?void 0:h.data;A&&(v.value=A),(B==null||B==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),u.value=1)}}catch(h){v.value=h}D.Close()}),p=$=>{$.preventDefault(),s.Close&&s.Close()},g=$=>{location.reload()};return($,D)=>(a(),G(st,{Close:e.Close,type:1},{default:P(()=>[u.value==0?(a(),i("form",{key:0,class:"actioner-dns",onSubmit:et(r,["prevent"])},[n5,t("div",a5,[t("div",o5,[i5,t("div",l5,[z(t("select",{"onUpdate:modelValue":D[0]||(D[0]=h=>n.value.dnsProto=h)},r5,512),[[ot,n.value.dnsProto]])])]),n.value.dnsProto=="manual"?(a(),i(U,{key:0},[n.value.manualDnsIp!=null&&n.value.manualDnsIp.length>0?(a(!0),i(U,{key:0},Y(n.value.manualDnsIp,(h,B)=>(a(),i("div",_5,[v5,t("div",p5,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740","onUpdate:modelValue":A=>n.value.manualDnsIp[B]=A},null,8,h5),[[V,n.value.manualDnsIp[B],void 0,{trim:!0}]])])]))),256)):(a(),i(U,{key:1},[t("div",m5,[b5,t("div",f5,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":D[1]||(D[1]=h=>o.value=h)},null,512),[[V,o.value,void 0,{trim:!0}]])])]),t("div",F5,[$5,t("div",y5,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":D[2]||(D[2]=h=>d.value=h)},null,512),[[V,d.value,void 0,{trim:!0}]])])])],64))],64)):E("",!0),v.value?(a(),i("div",k5,F(v.value),1)):E("",!0)]),t("div",E5,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u53D6\u6D88"),t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:l.value},"\u786E\u8BA4",8,D5)])],40,u5)):u.value==1?(a(),i("div",g5,[C5,w5,t("div",{class:"actioner-dns_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u5B8C\u6210")])])):E("",!0)]),_:1},8,["Close"]))}});var A5=w(B5,[["__scopeId","data-v-1229e356"]]);const x5=()=>{const e=document.createElement("div");document.body.appendChild(e);const s=Z(A5,{Close:()=>{u()}});s.mount(e);const u=()=>{s.unmount(),e.remove()};return{Close:u}},S5=e=>(L("data-v-190ff567"),e=e(),N(),e),P5={class:"nav-container"},T5=["onClick"],I5={key:0,class:"cbi-button cbi-button-apply app-btn cover-buttob app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},M5=tt(" \u56FA\u4EF6\u66F4\u65B0 "),z5=S5(()=>t("i",null,null,-1)),L5=[M5,z5],N5=I({setup(e){const s=Mt(),u=q(()=>s.checkUpdate.needUpdate),n=()=>{x5()};return(o,d)=>{const v=nt("router-link");return a(),i("div",P5,[C(v,{to:"/network",custom:""},{default:P(({navigate:l})=>[t("button",{class:"cbi-button cbi-button-apply app-btn cover-buttob",onClick:l},"\u7F51\u7EDC\u5411\u5BFC",8,T5)]),_:1}),t("button",{class:"cbi-button cbi-button-apply app-btn cover-buttob",onClick:n},"DNS\u914D\u7F6E"),x(u)?(a(),i("button",I5,L5)):E("",!0)])}}});var O5=w(N5,[["__scopeId","data-v-190ff567"]]);const Dt=e=>(L("data-v-3899e190"),e=e(),N(),e),V5={id:"page"},G5=Dt(()=>t("em",null,null,-1)),q5=Dt(()=>t("em",null,null,-1)),U5=Dt(()=>t("em",null,null,-1)),j5=Dt(()=>t("em",null,null,-1)),H5=Dt(()=>t("em",null,null,-1)),W5=I({setup(e){return I1(),(s,u)=>(a(),i("div",V5,[G5,C(pu),q5,C(O5),U5,C(Sl),j5,C(s5),H5]))}});var R5=w(W5,[["__scopeId","data-v-3899e190"]]);const Z5={};function J5(e,s){const u=nt("router-view");return a(),G(u)}var K5=w(Z5,[["render",J5]]);const Q5={},bt=e=>(L("data-v-4a6c9ae9"),e=e(),N(),e),X5={id:"page"},Y5=bt(()=>t("h2",{class:"title"},"\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC",-1)),t3=bt(()=>t("h3",{class:"desc"},"\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB",-1)),e3={class:"network-containers"},s3={class:"network-container_item"},u3=bt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")])],-1)),n3={class:"network-container_item"},a3=bt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")])],-1)),o3={class:"network-container_item"},i3=bt(()=>t("div",{class:"cover"},[t("div",{class:"thumbnail"},[t("span",null,"\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")])],-1)),l3=bt(()=>t("div",{class:"info"},[tt(" \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));function c3(e,s){const u=nt("router-link");return a(),i("div",X5,[Y5,t3,t("div",e3,[t("div",s3,[C(u,{to:"/network/pppoe"},{default:P(()=>[u3]),_:1})]),t("div",n3,[C(u,{to:"/network/dhcp"},{default:P(()=>[a3]),_:1})]),t("div",o3,[C(u,{to:"/network/gateway"},{default:P(()=>[i3]),_:1})])]),l3])}var d3=w(Q5,[["render",c3],["__scopeId","data-v-4a6c9ae9"]]);const gt=e=>(L("data-v-5d5cc6be"),e=e(),N(),e),r3={key:0,id:"page"},_3=gt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7",-1)),v3=gt(()=>t("h3",{class:"desc"},"\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B",-1)),p3=["onSubmit"],h3=gt(()=>t("div",{class:"label-key"},[t("span",null,"\u5BBD\u5E26\u8D26\u53F7")],-1)),m3=["disabled"],b3=gt(()=>t("div",{class:"label-key"},[t("span",null,"\u5BC6\u7801")],-1)),f3=["disabled"],F3={key:0,class:"msg"},$3={class:"btns"},y3=["disabled"],k3=["onClick"],E3={key:1,id:"page"},D3=gt(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),g3={class:"btns"},C3=["onClick"],w3=["onClick"],B3=I({setup(e){const s=y(0),u=y({account:"",password:""}),n=y(""),o=y(!1);(()=>T(this,null,function*(){var l;o.value=!0;try{const c=yield S.Guide.Pppoe.GET();(l=c==null?void 0:c.data)!=null&&l.result&&(u.value=c.data.result)}catch(c){n.value=c}o.value=!1}))();const v=()=>T(this,null,function*(){const l=u.value.account||"",c=u.value.password||"";if(l==""){n.value="\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A";return}if(c==""){n.value="\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A";return}o.value=!0;const r=b.Loading("\u914D\u7F6E\u4E2D...");try{const p=yield S.Guide.Pppoe.POST({account:l,password:c});if(p!=null&&p.data){const{error:g,success:$}=p.data;g&&(n.value=g),($==null||$==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),s.value=1)}}catch(p){n.value=p}o.value=!1,r.Close()});return(l,c)=>{const r=nt("router-link");return s.value==0?(a(),i("div",r3,[_3,v3,t("form",{onSubmit:et(v,["prevent"])},[t("label",null,[h3,z(t("input",{type:"text","onUpdate:modelValue":c[0]||(c[0]=p=>u.value.account=p),placeholder:"\u5BBD\u5E26\u8D26\u53F7",required:"",disabled:o.value},null,8,m3),[[V,u.value.account,void 0,{trim:!0}]])]),t("label",null,[b3,z(t("input",{type:"password","onUpdate:modelValue":c[1]||(c[1]=p=>u.value.password=p),placeholder:"\u5BBD\u5E26\u5BC6\u7801",required:"",disabled:o.value},null,8,f3),[[V,u.value.password,void 0,{trim:!0}]])]),n.value?(a(),i("div",F3,F(n.value),1)):E("",!0),t("div",$3,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:o.value},"\u4FDD\u5B58\u914D\u7F6E",8,y3),C(r,{to:"/network",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,k3)]),_:1})])],40,p3)])):s.value==1?(a(),i("div",E3,[D3,t("div",g3,[C(r,{to:"/",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p},"\u8FDB\u5165\u63A7\u5236\u53F0",8,C3)]),_:1}),C(r,{to:"/network",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,w3)]),_:1})])])):E("",!0)}}});var A3=w(B3,[["__scopeId","data-v-5d5cc6be"]]);const W=e=>(L("data-v-65f907c5"),e=e(),N(),e),x3={key:0,id:"page"},S3=W(()=>t("h2",{class:"title"},"\u914D\u7F6E\u4E92\u8054\u7F51",-1)),P3=W(()=>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)),T3=["onSubmit"],I3=W(()=>t("div",{class:"label-key"},[t("span",null,"WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),M3=W(()=>t("option",{value:"dhcp"},"\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09",-1)),z3=W(()=>t("option",{value:"static"},"\u9759\u6001IP\u5730\u5740",-1)),L3=[M3,z3],N3=W(()=>t("div",{class:"label-key"},[t("span",null,"IP\u5730\u5740")],-1)),O3=["disabled"],V3={key:0,class:"msg"},G3=W(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),q3=["disabled"],U3={key:1,class:"msg"},j3=W(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),H3=["disabled"],W3=W(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),R3=W(()=>t("option",{value:"auto"},"\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09",-1)),Z3=W(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),J3=[R3,Z3],K3=W(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Q3=["onUpdate:modelValue","disabled"],X3=W(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),Y3=["disabled"],t4=W(()=>t("div",{class:"label-key"},"\u5907\u7528DNS\u670D\u52A1\u5668",-1)),e4=["disabled"],s4={key:2,class:"msgs"},u4={class:"btns"},n4=["disabled"],a4=["onClick"],o4={key:1,id:"page"},i4=W(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),l4={class:"btns"},c4=["onClick"],d4=["onClick"],r4=I({setup(e){const s=y(0),u=y({}),n=y(""),o=y(""),d=y(""),v=y(""),l=y(!1),c=y(""),r=y(""),p=$t.checkIsIP;(()=>T(this,null,function*(){var _,m;l.value=!0;try{const f=yield Promise.all([S.Guide.ClientModel.GET(),S.Network.Status.GET()]);if(f[0]){const k=f[0];(_=k==null?void 0:k.data)!=null&&_.result&&(u.value=k.data.result)}if(f[1]){const k=f[1];if((m=k==null?void 0:k.data)!=null&&m.result){const O=k.data.result;O.ipv4addr&&(n.value=O.ipv4addr)}}}catch(f){o.value=f}l.value=!1}))();const $=_=>{_.target.value=="static"&&((u.value.staticIp==null||u.value.staticIp=="")&&(u.value.staticIp=n.value),(u.value.subnetMask==null||u.value.subnetMask=="")&&(u.value.subnetMask="255.255.255.0"))},D=_=>{_.target.value=="manual"},h=_=>{const m=_.target;if(m.value==""){c.value="";return}p(m.value)?c.value="":c.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740"},B=_=>{const m=_.target;if(m.value==""){r.value="";return}p(m.value)?r.value="":r.value="\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740"},A=()=>T(this,null,function*(){const _={};switch(u.value.wanProto){case"dhcp":break;case"static":_.staticIp=u.value.staticIp,_.subnetMask=u.value.subnetMask,_.gateway=u.value.gateway;break}switch(u.value.dnsProto){case"auto":break;case"manual":_.manualDnsIp=[],u.value.manualDnsIp!=null&&u.value.manualDnsIp.length>0?_.manualDnsIp=u.value.manualDnsIp:(_.manualDnsIp.push(d.value),v.value&&_.manualDnsIp.push(v.value));break}_.dnsProto=u.value.dnsProto,_.wanProto=u.value.wanProto;const m=b.Loading("\u914D\u7F6E\u4E2D....");l.value=!0;try{const f=yield S.Guide.ClientModel.POST(_);if(f!=null&&f.data){const{success:k,error:O}=f==null?void 0:f.data;O&&(o.value=O),(k==null||k==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),s.value=1)}}catch(f){o.value=f}l.value=!1,m.Close()});return(_,m)=>{const f=nt("router-link");return s.value==0?(a(),i("div",x3,[S3,P3,t("form",{onSubmit:et(A,["prevent"])},[t("label",null,[I3,z(t("select",{"onUpdate:modelValue":m[0]||(m[0]=k=>u.value.wanProto=k),onInput:$},L3,544),[[ot,u.value.wanProto]])]),u.value.wanProto=="static"?(a(),i(U,{key:0},[t("label",null,[N3,z(t("input",{type:"text","onUpdate:modelValue":m[1]||(m[1]=k=>u.value.staticIp=k),placeholder:"\u9759\u6001IP\u5730\u5740",required:"",disabled:l.value,onInput:h},null,40,O3),[[V,u.value.staticIp,void 0,{trim:!0}]])]),c.value?(a(),i("p",V3,F(c.value),1)):E("",!0),t("label",null,[G3,z(t("input",{type:"text","onUpdate:modelValue":m[2]||(m[2]=k=>u.value.subnetMask=k),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:l.value,onInput:B},null,40,q3),[[V,u.value.subnetMask,void 0,{trim:!0}]])]),r.value?(a(),i("p",U3,F(r.value),1)):E("",!0),t("label",null,[j3,z(t("input",{type:"text","onUpdate:modelValue":m[3]||(m[3]=k=>u.value.gateway=k),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:l.value},null,8,H3),[[V,u.value.gateway,void 0,{trim:!0}]])])],64)):E("",!0),t("label",null,[W3,z(t("select",{"onUpdate:modelValue":m[4]||(m[4]=k=>u.value.dnsProto=k),onInput:D},J3,544),[[ot,u.value.dnsProto]])]),u.value.dnsProto=="manual"?(a(),i(U,{key:1},[u.value.manualDnsIp!=null&&u.value.manualDnsIp.length>0?(a(!0),i(U,{key:0},Y(u.value.manualDnsIp,(k,O)=>(a(),i("label",null,[K3,z(t("input",{type:"text","onUpdate:modelValue":X=>u.value.manualDnsIp[O]=X,placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:l.value},null,8,Q3),[[V,u.value.manualDnsIp[O],void 0,{trim:!0}]])]))),256)):(a(),i(U,{key:1},[t("label",null,[X3,z(t("input",{type:"text","onUpdate:modelValue":m[5]||(m[5]=k=>d.value=k),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:l.value},null,8,Y3),[[V,d.value,void 0,{trim:!0}]])]),t("label",null,[t4,z(t("input",{type:"text","onUpdate:modelValue":m[6]||(m[6]=k=>v.value=k),placeholder:"\u5907\u7528DNS\u670D\u52A1\u5668",disabled:l.value},null,8,e4),[[V,v.value,void 0,{trim:!0}]])])],64))],64)):E("",!0),o.value?(a(),i("div",s4,F(o.value),1)):E("",!0),t("div",u4,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:l.value},"\u4FDD\u5B58\u914D\u7F6E",8,n4),C(f,{to:"/network",custom:""},{default:P(({navigate:k})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u8FD4\u56DE",8,a4)]),_:1})])],40,T3)])):s.value==1?(a(),i("div",o4,[i4,t("div",l4,[C(f,{to:"/",custom:""},{default:P(({navigate:k})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:k},"\u8FDB\u5165\u63A7\u5236\u53F0",8,c4)]),_:1}),C(f,{to:"/network",custom:""},{default:P(({navigate:k})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:k},"\u8FD4\u56DE",8,d4)]),_:1})])])):E("",!0)}}});var _4=w(r4,[["__scopeId","data-v-65f907c5"]]);const H=e=>(L("data-v-50574128"),e=e(),N(),e),v4={key:0,id:"page"},p4=H(()=>t("h2",{class:"title"},"\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C",-1)),h4=H(()=>t("code",null,[tt(" \u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002 "),t("br"),tt("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\u62E8\u53F7\uFF0C\u7136\u540E\u7531ARS2\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002 ")],-1)),m4=H(()=>t("h3",{class:"desc"},"\u8BF7\u60A8\u83B7\u5F97\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\uFF0C\u8BB0\u5F55\u4EE5\u5907\u4F7F\u7528",-1)),b4=H(()=>t("div",{class:"info"},[tt(" \u4F60\u53EF\u4EE5\u67E5\u770B\u6211\u4EEC\u7684 "),t("a",{target:"_blank",href:"https://doc.linkease.com/zh/guide/easepi/common.html#%E6%97%81%E8%B7%AF%E7%94%B1%E6%A8%A1%E5%BC%8F"},"\u914D\u7F6E\u6559\u7A0B")],-1)),f4={class:"btns"},F4=["disabled"],$4=["onClick"],y4={key:1,id:"page"},k4=H(()=>t("h2",{class:"title"},"\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC",-1)),E4=H(()=>t("h3",{class:"desc"},"\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F",-1)),D4=["onSubmit"],g4=H(()=>t("div",{class:"label-key"},[t("span",null,"LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")],-1)),C4={class:"label-value"},w4=H(()=>t("option",null,"\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740",-1)),B4=[w4],A4=H(()=>t("div",{class:"label-key"},[t("span",null,"IP \u5730\u5740\uFF08\u8BF7\u548C\u4E0A\u4E00\u6B65\u8BB0\u5F55\u7684\u4E3B\u8DEF\u7531\u5730\u5740\u5728\u540C\u4E00\u7F51\u6BB5\uFF09")],-1)),x4=["disabled"],S4=H(()=>t("div",{class:"label-key"},[t("span",null,"\u5B50\u7F51\u63A9\u7801")],-1)),P4=["disabled"],T4=H(()=>t("div",{class:"label-key"},[t("span",null,"\u7F51\u5173\u5730\u5740")],-1)),I4=["disabled"],M4=H(()=>t("div",{class:"label-key"},[t("span",null,"DNS \u914D\u7F6E\u65B9\u5F0F")],-1)),z4=H(()=>t("option",{value:"auto"},"\u81EA\u52A8\u83B7\u53D6",-1)),L4=H(()=>t("option",{value:"manual"},"\u624B\u5DE5\u914D\u7F6E",-1)),N4=[z4,L4],O4={key:0},V4=H(()=>t("div",{class:"label-key"},[t("span",null,"DNS\u670D\u52A1\u5668")],-1)),G4=["disabled"],q4={key:1,class:"msgs"},U4={class:"btns"},j4=["disabled"],H4=["onClick"],W4={key:2,id:"page"},R4=H(()=>t("h2",{class:"title"},"\u914D\u7F6E\u6210\u529F",-1)),Z4={class:"btns"},J4=["onClick"],K4=["onClick"],Q4=I({setup(e){const s=y(0),u=y(!1),n=y(""),o=y({subnetMask:"255.255.255.0",dnsProto:"auto",staticDnsIp:"",staticLanIp:"",gateway:""}),d=l=>{s.value=l},v=()=>T(this,null,function*(){const l=o.value,c=b.Loading("\u914D\u7F6E\u4E2D...");try{const r=yield S.Guide.GatewayRouter.POST(l);if(r!=null&&r.data){const{success:p,error:g}=r==null?void 0:r.data;g&&(n.value=g),(p==null||p==0)&&(b.Success("\u914D\u7F6E\u6210\u529F"),s.value=2)}}catch(r){n.value=r}c.Close()});return(l,c)=>{const r=nt("router-link");return s.value==0?(a(),i("div",v4,[p4,h4,m4,b4,t("div",f4,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:u.value,onClick:c[0]||(c[0]=p=>d(1))},"\u4E0B\u4E00\u6B65",8,F4),C(r,{to:"/network",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,$4)]),_:1})])])):s.value==1?(a(),i("div",y4,[k4,E4,t("form",{onSubmit:et(v,["prevent"])},[t("label",null,[g4,t("div",C4,[t("select",{disabled:"",style:Yt({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},B4,4)])]),t("label",null,[A4,z(t("input",{type:"text","onUpdate:modelValue":c[1]||(c[1]=p=>o.value.staticLanIp=p),placeholder:"IP\u5730\u5740",required:"",disabled:u.value},null,8,x4),[[V,o.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[S4,z(t("input",{type:"text","onUpdate:modelValue":c[2]||(c[2]=p=>o.value.subnetMask=p),placeholder:"\u5B50\u7F51\u63A9\u7801",required:"",disabled:u.value},null,8,P4),[[V,o.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[T4,z(t("input",{type:"text","onUpdate:modelValue":c[3]||(c[3]=p=>o.value.gateway=p),placeholder:"\u7F51\u5173\u5730\u5740",required:"",disabled:u.value},null,8,I4),[[V,o.value.gateway,void 0,{trim:!0}]])]),t("label",null,[M4,z(t("select",{"onUpdate:modelValue":c[4]||(c[4]=p=>o.value.dnsProto=p)},N4,512),[[ot,o.value.dnsProto]])]),o.value.dnsProto=="manual"?(a(),i("label",O4,[V4,z(t("input",{type:"text","onUpdate:modelValue":c[5]||(c[5]=p=>o.value.staticDnsIp=p),placeholder:"DNS\u670D\u52A1\u5668",required:"",disabled:u.value},null,8,G4),[[V,o.value.staticDnsIp,void 0,{trim:!0}]])])):E("",!0),n.value?(a(),i("div",q4,F(n.value),1)):E("",!0),t("div",U4,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:u.value},"\u4FDD\u5B58\u914D\u7F6E",8,j4),C(r,{to:"/network",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,H4)]),_:1})])],40,D4)])):s.value==2?(a(),i("div",W4,[R4,t("div",Z4,[C(r,{to:"/",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:p},"\u8FDB\u5165\u63A7\u5236\u53F0",8,J4)]),_:1}),C(r,{to:"/network",custom:""},{default:P(({navigate:p})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},"\u8FD4\u56DE",8,K4)]),_:1})])])):E("",!0)}}});var X4=w(Q4,[["__scopeId","data-v-50574128"]]);const Y4=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart/pages",le=Ce({history:we(Y4()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:R5},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:K5,children:[{path:"",component:d3},{path:"pppoe",component:A3},{path:"dhcp",component:_4},{path:"gateway",component:X4}]}]});le.beforeEach((e,s)=>(e.meta.title,!0));const R=Z(Te);R.component("svg-menu",Ve);R.component("svg-system",We);R.component("svg-download",Xe);R.component("svg-store",os);R.component("svg-info",_s);R.component("svg-disk",zs);R.component("svg-nav",qs);R.component("progress-item",ee);R.component("svg-view-show",Ks);R.component("svg-view-hidden",s1);R.component("article-item",c1);R.use(le);R.use(Be());R.mount("#app")});export default t8(); diff --git a/luci-app-quickstart/root/www/luci-static/quickstart/style.css b/luci-app-quickstart/root/www/luci-static/quickstart/style.css index 3492e4468..66d2c26cf 100644 --- a/luci-app-quickstart/root/www/luci-static/quickstart/style.css +++ b/luci-app-quickstart/root/www/luci-static/quickstart/style.css @@ -1 +1 @@ -@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:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-7b4f4b88{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b4f4b88{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-7b4f4b88{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-7b4f4b88]{animation:rotateEnter-7b4f4b88 .7s;position:relative}.rotate-leave-active[data-v-7b4f4b88]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b4f4b88]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#main[data-v-7b4f4b88]{width:100%}#main[data-v-7b4f4b88],#main[data-v-7b4f4b88] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation-e4c553ec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e4c553ec{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-e4c553ec{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-e4c553ec]{animation:rotateEnter-e4c553ec .7s;position:relative}.rotate-leave-active[data-v-e4c553ec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e4c553ec]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-e4c553ec]{width:100%;display:block;position:relative;background-color:#eee;border-radius:1rem;height:20px;cursor:pointer;overflow:hidden}.progress .progress-value[data-v-e4c553ec]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle}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:#fff;box-shadow:0 0 10px 1px #373f6924;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:#fff;box-shadow:0 0 10px 1px #373f6924;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-694c05ec{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-694c05ec{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-694c05ec{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-694c05ec]{animation:rotateEnter-694c05ec .7s;position:relative}.rotate-leave-active[data-v-694c05ec]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-694c05ec]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-694c05ec]{position:relative}.flow .echart[data-v-694c05ec]{width:100%;height:100%}.flow .flow-data[data-v-694c05ec]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-694c05ec]{display:block;color:#eee;font-size:12px;margin-bottom:5px;font-weight:600}@keyframes bganimation-3971c440{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3971c440{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-3971c440{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-3971c440]{animation:rotateEnter-3971c440 .7s;position:relative}.rotate-leave-active[data-v-3971c440]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3971c440]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}em[data-v-3971c440]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-3971c440]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container span.container_success[data-v-3971c440]{color:#67c23a;display:block;font-size:1.2em}.app-container_status-container span.container_failure[data-v-3971c440]{color:#ff0606;display:block;font-size:1.2em}.app-container_status-container span.container_title[data-v-3971c440]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-3971c440]{font-size:1.25rem;color:#666}.app-container_status-container span.container_time[data-v-3971c440]{font-size:12px;color:#1e1e1e;margin-top:3px;display:block}.app-container_status-label[data-v-3971c440]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-3971c440]{flex:0 0 100%;max-width:calc(50% - 10px);margin-bottom:1rem}.app-container_status-label_block[data-v-3971c440]{display:block;color:#000}.app-container_status-container_body[data-v-3971c440]{width:100%;height:100%;text-align:center;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.app-container_status-container_body svg[data-v-3971c440]{width:50px;height:50px}.app-container_status-container_body span[data-v-3971c440]{width:100%;margin:5px 0}.network-container .network-container_flow .network-container_flow-container[data-v-4c8d6682]:before{background:linear-gradient(to right,#02255f 0%,#0a2e38 50%,#101010 100%);background-size:400%!important;animation:bganimation-4c8d6682 10s infinite!important}.network-container[data-v-4c8d6682]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-4c8d6682]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-4c8d6682]{border-radius:6px;overflow:hidden;position:relative}.network-container .network-container_flow .network-container_flow-container[data-v-4c8d6682]:before{content:"";position:absolute;inset:0;opacity:.8;background-color:#0a2e38}.network-container .network-container_status[data-v-4c8d6682]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-4c8d6682{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4c8d6682{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-4c8d6682{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-4c8d6682]{animation:rotateEnter-4c8d6682 .7s;position:relative}.rotate-leave-active[data-v-4c8d6682]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4c8d6682]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-4c8d6682]{width:100%}.network-container .network-container_flow[data-v-4c8d6682]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-4c8d6682]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-5a1bd72e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5a1bd72e{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-5a1bd72e{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-5a1bd72e]{animation:rotateEnter-5a1bd72e .7s;position:relative}.rotate-leave-active[data-v-5a1bd72e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5a1bd72e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-5a1bd72e]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-5a1bd72e]{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-5a1bd72e],#actioner[data-v-5a1bd72e] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-5a1bd72e]{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-5a1bd72e]{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-5a1bd72e]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-5a1bd72e]{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-5a1bd72e] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-5a1bd72e] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-5a1bd72e]:hover{opacity:.9}.action-container .action-container_body[data-v-5a1bd72e]{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:#fff;box-shadow:0 0 10px 1px #373f6924;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}@keyframes bganimation-77fe4bee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77fe4bee{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-77fe4bee{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-77fe4bee]{animation:rotateEnter-77fe4bee .7s;position:relative}.rotate-leave-active[data-v-77fe4bee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77fe4bee]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-77fe4bee{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)}}.toast[data-v-77fe4bee]{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:translate(-50%,-50%);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-77fe4bee]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-77fe4bee]{width:100%;height:100%}.toast div.icon svg path[data-v-77fe4bee]{fill:#fff}.toast .loading[data-v-77fe4bee]{animation:turn-77fe4bee 5s linear infinite}.action .action-footer button[data-v-aad0504e]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-aad0504e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aad0504e{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-aad0504e{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-aad0504e]{animation:rotateEnter-aad0504e .7s;position:relative}.rotate-leave-active[data-v-aad0504e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aad0504e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-aad0504e]{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-aad0504e]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-aad0504e]{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-aad0504e]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-aad0504e]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-aad0504e]{flex:auto}.action.format .disk-list[data-v-aad0504e]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-aad0504e]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-aad0504e]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-aad0504e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-aad0504e]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-aad0504e]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-aad0504e],.action.format .label-item .label-item_value input[data-v-aad0504e]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-aad0504e]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-aad0504e]{flex:auto}.action.format p.msg[data-v-aad0504e]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-aad0504e]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-aad0504e]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-aad0504e]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-aad0504e]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-aad0504e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-aad0504e{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-aad0504e{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-aad0504e]{animation:rotateEnter-aad0504e .7s;position:relative}.rotate-leave-active[data-v-aad0504e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-aad0504e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-aad0504e]{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-aad0504e]{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-aad0504e]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-aad0504e]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-aad0504e]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-aad0504e]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-aad0504e]{color:#0000fb}.action.result .btns[data-v-aad0504e]{width:100%;text-align:center;margin:1rem 0}.action .action-footer button[data-v-566c34b5]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-566c34b5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-566c34b5{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-566c34b5{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-566c34b5]{animation:rotateEnter-566c34b5 .7s;position:relative}.rotate-leave-active[data-v-566c34b5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-566c34b5]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-566c34b5]{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-566c34b5]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-566c34b5]{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-566c34b5]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-566c34b5]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-566c34b5]{flex:auto}.action.format .disk-list[data-v-566c34b5]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-566c34b5]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-566c34b5]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-566c34b5]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-566c34b5]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-566c34b5]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-566c34b5],.action.format .label-item .label-item_value input[data-v-566c34b5]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-566c34b5]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-566c34b5]{flex:auto}.action.format p.msg[data-v-566c34b5]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-566c34b5]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-566c34b5]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-566c34b5]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-566c34b5]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-566c34b5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-566c34b5{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-566c34b5{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-566c34b5]{animation:rotateEnter-566c34b5 .7s;position:relative}.rotate-leave-active[data-v-566c34b5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-566c34b5]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-566c34b5]{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-566c34b5]{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-566c34b5]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-566c34b5]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-566c34b5]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-566c34b5]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-566c34b5]{color:#0000fb}.action.result .btns[data-v-566c34b5]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-67515ea0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-67515ea0{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-67515ea0{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-67515ea0]{animation:rotateEnter-67515ea0 .7s;position:relative}.rotate-leave-active[data-v-67515ea0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-67515ea0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-67515ea0]{color:red}.disk-content[data-v-67515ea0]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-67515ea0]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk_status[data-v-67515ea0]{margin-left:0%;font-size:12px}.disk-content li.disk-item .disk_status .disk_status_item[data-v-67515ea0]{display:flex}.disk-content li.disk-item .disk-item_name[data-v-67515ea0]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .disk_icon[data-v-67515ea0]{margin-left:1rem;align-self:center;cursor:help;flex:none;display:flex}.disk-content li.disk-item .disk_icon .left_icon[data-v-67515ea0]{margin-right:10px}.disk-content li.disk-item .disk_value[data-v-67515ea0]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .disk-item_value[data-v-67515ea0]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .value-data[data-v-67515ea0]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-67515ea0]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-67515ea0]:hover{opacity:.7}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-67515ea0]{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-67515ea0]: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-67515ea0]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-67515ea0]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-67515ea0]{flex:none}.tooltip-trigger[data-v-67515ea0]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-67515ea0]{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-67515ea0]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-67515ea0]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-67515ea0]{visibility:visible;opacity:1}.tooltip-top[data-v-67515ea0]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-67515ea0]: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-67515ea0]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.format[data-v-67515ea0]{display:flex;text-align:center;margin-left:52%;font-size:12px;margin-top:6px}.disk_status_item[data-v-67515ea0]{display:flex;margin-right:20px}.cbi-button[data-v-67515ea0]{height:34px;margin-left:10px}@keyframes bganimation-37b01307{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-37b01307{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-37b01307{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-37b01307]{animation:rotateEnter-37b01307 .7s;position:relative}.rotate-leave-active[data-v-37b01307]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-37b01307]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-37b01307]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 10%;border-radius:6px}.action ul[data-v-37b01307]{flex:0 0 100%}.action ul .app-container_info[data-v-37b01307]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-37b01307]{width:100%;height:100%}.action .action-footer[data-v-37b01307]{text-align:center;margin-top:46px}.action .action-footer button[data-v-37b01307]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5300d81a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5300d81a{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-5300d81a{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-5300d81a]{animation:rotateEnter-5300d81a .7s;position:relative}.rotate-leave-active[data-v-5300d81a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5300d81a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-5300d81a]{color:red}li.disk-item[data-v-5300d81a]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-5300d81a]{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-5300d81a]{padding-left:1rem;align-self:center;cursor:help;flex:none;display:flex}li.disk-item .disk_value[data-v-5300d81a]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-5300d81a]{flex:auto;padding-left:10px;position:relative}li.disk-item .disk_value .disk-item_value .value-data[data-v-5300d81a]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-5300d81a]{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-5300d81a]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-5300d81a]{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-5300d81a]: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-5300d81a]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-5300d81a]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-5300d81a]{flex:none}.tooltip-trigger[data-v-5300d81a]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-5300d81a]{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-5300d81a]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-5300d81a]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-5300d81a]{visibility:visible;opacity:1}.tooltip-top[data-v-5300d81a]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-5300d81a]: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-5300d81a]: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-854819a2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-854819a2{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-854819a2{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-854819a2]{animation:rotateEnter-854819a2 .7s;position:relative}.rotate-leave-active[data-v-854819a2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-854819a2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-854819a2]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-854819a2]{flex:0 0 100%;width:100%}.app-container .refresh[data-v-854819a2]{margin-left:20px}.app-container .app-container_info[data-v-854819a2]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container .app-container_body[data-v-854819a2]{width:100%;height:100%}@keyframes bganimation-20bf2b14{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-20bf2b14{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-20bf2b14{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-20bf2b14]{animation:rotateEnter-20bf2b14 .7s;position:relative}.rotate-leave-active[data-v-20bf2b14]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-20bf2b14]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-20bf2b14]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-20bf2b14]{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-20bf2b14]{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-20bf2b14]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-20bf2b14]{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-20bf2b14]{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-20bf2b14]{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-20bf2b14]:hover{opacity:.7}.tit[data-v-20bf2b14]{color:#1e1e1e;font-weight:700;font-size:16px}@keyframes bganimation-6ab80352{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ab80352{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-6ab80352{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-6ab80352]{animation:rotateEnter-6ab80352 .7s;position:relative}.rotate-leave-active[data-v-6ab80352]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ab80352]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-6ab80352]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-6ab80352]{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-6ab80352]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-7e21c965{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7e21c965{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-7e21c965{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-7e21c965]{animation:rotateEnter-7e21c965 .7s;position:relative}.rotate-leave-active[data-v-7e21c965]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7e21c965]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-7e21c965]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-7e21c965]{flex:auto}ul.disk-item .disk-item_icon[data-v-7e21c965]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-7e21c965]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-7e21c965]{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-7e21c965]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-7e21c965]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-7e21c965]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-7e21c965],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-7e21c965]{width:100%}ul.disk-item li.disk-info.on[data-v-7e21c965]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-7e21c965]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-7e21c965]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-7e21c965]{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-7e21c965]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-7e21c965]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-7e21c965]{border-left:3px solid #ff9c08;background-color:#ecf5ff}.action .action-footer button[data-v-096f9344]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-096f9344{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-096f9344{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-096f9344{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-096f9344]{animation:rotateEnter-096f9344 .7s;position:relative}.rotate-leave-active[data-v-096f9344]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-096f9344]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-096f9344]{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-096f9344]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-096f9344]{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-096f9344]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-096f9344]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-096f9344]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-096f9344]{flex:auto}.action.list .disk-list[data-v-096f9344]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-096f9344{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-096f9344{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-096f9344{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-096f9344]{animation:rotateEnter-096f9344 .7s;position:relative}.rotate-leave-active[data-v-096f9344]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-096f9344]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-096f9344]{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-096f9344]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-096f9344]{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-096f9344]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-096f9344]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-096f9344]{flex:auto}.action.format .disk-list[data-v-096f9344]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-096f9344]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-096f9344]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-096f9344]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-096f9344]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-096f9344]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-096f9344],.action.format .label-item .label-item_value input[data-v-096f9344]{width:100%;height:36px}.action.format .auto[data-v-096f9344]{flex:auto}.action.format p.msg[data-v-096f9344]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-096f9344]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-096f9344]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-096f9344]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-096f9344]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-096f9344{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-096f9344{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-096f9344{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-096f9344]{animation:rotateEnter-096f9344 .7s;position:relative}.rotate-leave-active[data-v-096f9344]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-096f9344]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-096f9344]{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-096f9344]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-096f9344]{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-096f9344]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-096f9344]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-096f9344]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-096f9344]{color:#f70324}.action.result .action-footer[data-v-096f9344]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-096f9344]{flex:auto}@keyframes bganimation-0bd52330{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0bd52330{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-0bd52330{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-0bd52330]{animation:rotateEnter-0bd52330 .7s;position:relative}.rotate-leave-active[data-v-0bd52330]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0bd52330]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-0bd52330]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 10%;border-radius:6px}.action .action-body[data-v-0bd52330]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-0bd52330]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-0bd52330]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-0bd52330]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-0bd52330]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-81d47b82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-81d47b82{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-81d47b82{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-81d47b82]{animation:rotateEnter-81d47b82 .7s;position:relative}.rotate-leave-active[data-v-81d47b82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-81d47b82]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-81d47b82]{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-81d47b82]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-81d47b82]{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-81d47b82]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-81d47b82]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-81d47b82]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-81d47b82]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-81d47b82]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-81d47b82]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-81d47b82],.action .action-body .label-item .label-item_value input[data-v-81d47b82]{width:100%;height:36px}.action .action-footer[data-v-81d47b82]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-81d47b82]{flex:auto}.action .action-footer button[data-v-81d47b82]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-9f5ff522{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9f5ff522{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-9f5ff522{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-9f5ff522]{animation:rotateEnter-9f5ff522 .7s;position:relative}.rotate-leave-active[data-v-9f5ff522]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9f5ff522]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-9f5ff522]{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-9f5ff522]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-9f5ff522]{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-9f5ff522]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-9f5ff522]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-9f5ff522]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-9f5ff522]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-9f5ff522]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-9f5ff522]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-9f5ff522],.action .action-body .label-item .label-item_value input[data-v-9f5ff522]{width:100%;height:36px}.action .action-body .samba-item[data-v-9f5ff522]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-9f5ff522]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-9f5ff522]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-9f5ff522]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-9f5ff522]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-9f5ff522]{margin-left:10px}.action .action-footer[data-v-9f5ff522]{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-9f5ff522]{flex:auto}.action .action-footer button[data-v-9f5ff522]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-43b35c57{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-43b35c57{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-43b35c57{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-43b35c57]{animation:rotateEnter-43b35c57 .7s;position:relative}.rotate-leave-active[data-v-43b35c57]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-43b35c57]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-43b35c57]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 10%;border-radius:6px}.action h2.title[data-v-43b35c57]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-43b35c57]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-43b35c57]{width:100%;display:block;padding:2rem 0}.action form label[data-v-43b35c57]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-43b35c57],.action form label select[data-v-43b35c57]{width:100%;display:block;height:42px}.action .btns[data-v-43b35c57]{width:100%;margin-top:3rem}.action .btns button[data-v-43b35c57]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-43b35c57]{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-43b35c57]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-43b35c57]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-43b35c57],.action li.disk-item .disk-item_f .disk-item_used[data-v-43b35c57]{width:100%}@keyframes bganimation-682ee684{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-682ee684{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-682ee684{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-682ee684]{animation:rotateEnter-682ee684 .7s;position:relative}.rotate-leave-active[data-v-682ee684]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-682ee684]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-682ee684]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-682ee684]{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-682ee684]{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-682ee684]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-682ee684]{cursor:pointer}a[data-v-682ee684]{text-decoration:none;color:#297ff3}@keyframes bganimation-1f9aaa5f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1f9aaa5f{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-1f9aaa5f{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-1f9aaa5f]{animation:rotateEnter-1f9aaa5f .7s;position:relative}.rotate-leave-active[data-v-1f9aaa5f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1f9aaa5f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1f9aaa5f]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-1f9aaa5f]{width:100%;display:flex;flex-wrap:wrap;align-content:center}.app-container .app-container_title button[data-v-1f9aaa5f]{margin-left:10px}.app-container .app-container_body[data-v-1f9aaa5f]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-1f9aaa5f]{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-1f9aaa5f]{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-1f9aaa5f],.app-container ul.app-container_nas-menu button[data-v-1f9aaa5f]:hover{color:#297ff3;background-color:#d1e2f9}@keyframes bganimation-64ec26cd{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-64ec26cd{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-64ec26cd{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-64ec26cd]{animation:rotateEnter-64ec26cd .7s;position:relative}.rotate-leave-active[data-v-64ec26cd]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-64ec26cd]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-64ec26cd]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-64ec26cd]{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-64ec26cd]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-64ec26cd]{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-64ec26cd]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-64ec26cd]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-64ec26cd]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-64ec26cd]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-64ec26cd]{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-64ec26cd]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-64ec26cd]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-64ec26cd]{visibility:visible;opacity:1}.tooltip-top[data-v-64ec26cd]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-64ec26cd]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-64ec26cd]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-64ec26cd]: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-64ec26cd]: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-773c80e3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-773c80e3{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-773c80e3{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-773c80e3]{animation:rotateEnter-773c80e3 .7s;position:relative}.rotate-leave-active[data-v-773c80e3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-773c80e3]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-773c80e3]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 10%;border-radius:6px}.action h2.title[data-v-773c80e3]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-773c80e3]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-773c80e3]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-773c80e3]{display:flex;justify-content:left;align-items:center}.action .desc[data-v-773c80e3]{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-773c80e3]{width:100%;display:block}.action .tips[data-v-773c80e3]{width:477px}.action .tips .tip[data-v-773c80e3]{color:#faad14;padding-left:6px}.action .btns[data-v-773c80e3]{width:100%;margin:104px auto 0}.action .btns button[data-v-773c80e3]{display:block;width:100%!important}.action .roots_tit[data-v-773c80e3]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right}.action .successed[data-v-773c80e3]{text-align:center;font-size:14px}.action .finished[data-v-773c80e3]{display:flex;justify-content:center;margin:80px 80px 28px}.select-editable[data-v-773c80e3]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-773c80e3]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-773c80e3]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-773c80e3]:focus,.select-editable input[data-v-773c80e3]:focus{outline:none}[data-v-773c80e3]::placeholder{color:#999}@keyframes bganimation-3cb2679a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3cb2679a{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-3cb2679a{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-3cb2679a]{animation:rotateEnter-3cb2679a .7s;position:relative}.rotate-leave-active[data-v-3cb2679a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3cb2679a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-3cb2679a]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container button[data-v-3cb2679a],.app-container .refresh[data-v-3cb2679a]{margin-left:20px}.app-container .app-container_body[data-v-3cb2679a]{width:100%;height:100%}@keyframes bganimation-001e94d4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-001e94d4{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-001e94d4{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-001e94d4]{animation:rotateEnter-001e94d4 .7s;position:relative}.rotate-leave-active[data-v-001e94d4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-001e94d4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.aria2_content[data-v-001e94d4]{width:100%}.aria2_content li.aria2-item[data-v-001e94d4]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}.aria2_content li.aria2-item .aria2-item_name[data-v-001e94d4]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.aria2_content li.aria2-item .aria2-item_value[data-v-001e94d4]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aria2_content li.aria2-item .aria2-item_value .configure[data-v-001e94d4]{color:#297ff3;padding:3px}.aria2_content li.aria2-item .aria2-item_value .configure.enabel[data-v-001e94d4]{color:#888}.aria2_content li.aria2-item .aria2-item_root[data-v-001e94d4]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:16px}@keyframes bganimation-0851c328{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0851c328{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-0851c328{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-0851c328]{animation:rotateEnter-0851c328 .7s;position:relative}.rotate-leave-active[data-v-0851c328]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0851c328]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-0851c328]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 10%;border-radius:6px}.action p[data-v-0851c328]{color:#999;font-size:14px}.action input[data-v-0851c328]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-0851c328]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-0851c328]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action .load[data-v-0851c328]{display:flex;justify-content:left;align-items:center;margin-top:32px}.action form[data-v-0851c328]{width:84%}.action form label[data-v-0851c328]{width:100%}.action form label input[data-v-0851c328],.action form label select[data-v-0851c328]{height:100%;font-size:14px}.action .RPC[data-v-0851c328]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .RPC .RPC_input[data-v-0851c328]{width:85%}.action .Tracker label[data-v-0851c328]{margin-right:10px}.action .Tracker_input[data-v-0851c328]{width:80%;margin-left:132px;margin-top:22px}.action .btns[data-v-0851c328]{width:100%;margin:42px auto 0}.action .btns button[data-v-0851c328]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-0851c328]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-0851c328]{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-0851c328]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-0851c328]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-0851c328]{visibility:visible;opacity:1}.action .tooltip-top[data-v-0851c328]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-0851c328]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-0851c328]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-0851c328]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-0851c328]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-0851c328]: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-0851c328]: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-0851c328]{text-align:center;font-size:14px}.action .finished[data-v-0851c328]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-0851c328]{display:flex;width:140px;justify-content:right}.select-editable[data-v-0851c328]{position:relative;border:solid grey 1px;width:100%;height:34px}.select-editable select[data-v-0851c328]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-0851c328]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-0851c328]:focus,.select-editable input[data-v-0851c328]:focus{outline:none}[data-v-0851c328]::placeholder{color:#999}@keyframes bganimation-4c3d8aa3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4c3d8aa3{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-4c3d8aa3{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-4c3d8aa3]{animation:rotateEnter-4c3d8aa3 .7s;position:relative}.rotate-leave-active[data-v-4c3d8aa3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4c3d8aa3]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-4c3d8aa3]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container button[data-v-4c3d8aa3],.app-container .refresh[data-v-4c3d8aa3]{margin-left:20px}.app-container .app-container_body[data-v-4c3d8aa3]{flex:0 0 100%;width:100%;height:66%}.app-container .app-container_content[data-v-4c3d8aa3]{width:100%}.nas-container[data-v-2d5f7a6e]{width:100%;display:flex;flex-wrap:wrap}.nas-container .nas-container_f[data-v-2d5f7a6e]{flex:0 0 100%;max-width:50%;padding-right:10px}.nas-container .nas-container_f.g[data-v-2d5f7a6e]{margin-top:18px}.nas-container .nas-container_r[data-v-2d5f7a6e]{flex:0 0 100%;max-width:50%;padding-left:10px}.nas-container .nas-container_r.g[data-v-2d5f7a6e]{margin-top:18px}@keyframes bganimation-2d5f7a6e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2d5f7a6e{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-2d5f7a6e{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-2d5f7a6e]{animation:rotateEnter-2d5f7a6e .7s;position:relative}.rotate-leave-active[data-v-2d5f7a6e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2d5f7a6e]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container[data-v-2d5f7a6e]{width:100%}.nas-container .nas-container_f[data-v-2d5f7a6e]{flex:0 0 100%;max-width:100%;padding-right:0}.nas-container .nas-container_r[data-v-2d5f7a6e]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}@keyframes bganimation-4392d014{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4392d014{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-4392d014{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-4392d014]{animation:rotateEnter-4392d014 .7s;position:relative}.rotate-leave-active[data-v-4392d014]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4392d014]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.item-label[data-v-4392d014]{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-4392d014]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-4392d014]{font-size:14px;color:#333}.item-label .item-label_value[data-v-4392d014]{flex:1;text-align:left}.item-label .item-label_value span[data-v-4392d014]{font-size:14px;color:#333}.item-title span[data-v-4392d014]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-4392d014]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-4392d014]{flex:auto}.item-flex button.app-editor[data-v-4392d014]{padding:8px 1.3rem}@keyframes bganimation-ba47163a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba47163a{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-ba47163a{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-ba47163a]{animation:rotateEnter-ba47163a .7s;position:relative}.rotate-leave-active[data-v-ba47163a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba47163a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-ba47163a]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-ba47163a]{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-ba47163a]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-ba47163a]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-ba47163a]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-ba47163a]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-ba47163a]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-ba47163a]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-ba47163a],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-ba47163a]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-ba47163a]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-ba47163a]{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-ba47163a]{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-ba47163a]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-46d61ee3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-46d61ee3{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-46d61ee3{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-46d61ee3]{animation:rotateEnter-46d61ee3 .7s;position:relative}.rotate-leave-active[data-v-46d61ee3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-46d61ee3]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-46d61ee3]{width:100%}.nav-container .app-update-button[data-v-46d61ee3]{position:relative}.nav-container .app-update-button i[data-v-46d61ee3]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .cover-buttob[data-v-46d61ee3]{margin-left:0;margin-right:5px}.nav-container a[data-v-46d61ee3]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-46d61ee3]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}@keyframes bganimation-24b8c4d6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-24b8c4d6{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-24b8c4d6{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-24b8c4d6]{animation:rotateEnter-24b8c4d6 .7s;position:relative}.rotate-leave-active[data-v-24b8c4d6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-24b8c4d6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-24b8c4d6]{margin-top:48px}em[data-v-24b8c4d6]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-24b8c4d6] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:#1e1e1e;font-size:1.5em}@keyframes bganimation-25619e61{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-25619e61{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-25619e61{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-25619e61]{animation:rotateEnter-25619e61 .7s;position:relative}.rotate-leave-active[data-v-25619e61]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-25619e61]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-25619e61]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:800px}#page h2.title[data-v-25619e61]{width:100%;display:block;color:#666;font-size:3em;padding:0;margin:0;text-align:center}#page h3.desc[data-v-25619e61]{width:100%;display:block;color:#333;font-size:2em;padding:0;margin:0;text-align:center}#page div.info[data-v-25619e61]{width:100%;display:block;margin:1rem 0;font-size:1.6em;text-align:center}#page .network-containers[data-v-25619e61]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0}#page .network-containers .network-container_item[data-v-25619e61]{flex:0 0 100%;max-width:33.333%;position:relative;border-radius:4px;padding:10px;cursor:pointer}#page .network-containers .network-container_item a[data-v-25619e61]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a[data-v-25619e61]:hover{transform:scale(1.05);transition:.4s;position:relative}#page .network-containers .network-container_item a:hover .cover .thumbnail[data-v-25619e61]{box-shadow:0 6px 40px #1c67f2}#page .network-containers .network-container_item a .cover[data-v-25619e61]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-25619e61]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;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-25619e61]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-25619e61]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-25619e61]{background-color:#ff9100}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-25619e61]{background-color:#2dc8fd}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-25619e61]{background-color:#f66a2c}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-25619e61]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-25619e61]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-25619e61]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-25619e61]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-25619e61]{background-color:#439c07}@keyframes bganimation-33ce83e6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-33ce83e6{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-33ce83e6{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-33ce83e6]{animation:rotateEnter-33ce83e6 .7s;position:relative}.rotate-leave-active[data-v-33ce83e6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-33ce83e6]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-33ce83e6]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-33ce83e6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:left}#page h3.desc[data-v-33ce83e6]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left}#page form[data-v-33ce83e6]{display:block;width:100%;margin:3rem 0}#page form label[data-v-33ce83e6]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-33ce83e6]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-33ce83e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-33ce83e6]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-33ce83e6]{width:100%;display:block;height:42px}#page .msg[data-v-33ce83e6]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-33ce83e6]{width:100%;margin-top:3rem}#page .btns button[data-v-33ce83e6]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-1b6d5595{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1b6d5595{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-1b6d5595{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-1b6d5595]{animation:rotateEnter-1b6d5595 .7s;position:relative}.rotate-leave-active[data-v-1b6d5595]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1b6d5595]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-1b6d5595]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-1b6d5595]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:left}#page h3.desc[data-v-1b6d5595]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left}#page form[data-v-1b6d5595]{display:block;width:100%;margin:3rem 0}#page form label[data-v-1b6d5595]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-1b6d5595]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-1b6d5595]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-1b6d5595]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-1b6d5595],#page form label select[data-v-1b6d5595]{width:100%;display:block;height:42px}#page .msgs[data-v-1b6d5595]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-1b6d5595]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-1b6d5595]{width:100%;margin-top:3rem}#page .btns button[data-v-1b6d5595]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-c96bde08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c96bde08{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-c96bde08{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-c96bde08]{animation:rotateEnter-c96bde08 .7s;position:relative}.rotate-leave-active[data-v-c96bde08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c96bde08]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-c96bde08]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-c96bde08]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:left}#page h3.desc[data-v-c96bde08]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left}#page code[data-v-c96bde08]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-c96bde08]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-c96bde08]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-c96bde08]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-c96bde08]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-c96bde08]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-c96bde08]{display:block;width:100%;margin:3rem 0}#page form label[data-v-c96bde08]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-c96bde08]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-c96bde08]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-c96bde08]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-c96bde08],#page form label select[data-v-c96bde08]{width:100%;display:block;height:42px} +@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:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-f62bd0aa{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f62bd0aa{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-f62bd0aa{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-f62bd0aa]{animation:rotateEnter-f62bd0aa .7s;position:relative}.rotate-leave-active[data-v-f62bd0aa]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f62bd0aa]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#main[data-v-f62bd0aa]{width:100%}#main[data-v-f62bd0aa],#main[data-v-f62bd0aa] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation-6dc4f66c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6dc4f66c{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-6dc4f66c{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-6dc4f66c]{animation:rotateEnter-6dc4f66c .7s;position:relative}.rotate-leave-active[data-v-6dc4f66c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6dc4f66c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-6dc4f66c]{width:100%;display:block;position:relative;background-color:#eee;border-radius:1rem;height:20px;cursor:pointer;overflow:hidden}.progress .progress-value[data-v-6dc4f66c]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle}article[data-v-995510fc]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-995510fc]{max-width:33.333%}}@keyframes bganimation-995510fc{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-995510fc{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-995510fc{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-995510fc]{animation:rotateEnter-995510fc .7s;position:relative}.rotate-leave-active[data-v-995510fc]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-995510fc]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-995510fc]{max-width:50%}}@keyframes bganimation-782f97c0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-782f97c0{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-782f97c0{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-782f97c0]{animation:rotateEnter-782f97c0 .7s;position:relative}.rotate-leave-active[data-v-782f97c0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-782f97c0]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}a[data-v-782f97c0]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-782f97c0]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-782f97c0]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-782f97c0]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-782f97c0] .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-782f97c0] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-782f97c0] .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-782f97c0]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-782f97c0]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-782f97c0]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-782f97c0]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-782f97c0]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-782f97c0]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-782f97c0]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-782f97c0]{background-color:#439c07}@keyframes bganimation-1422b5ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1422b5ac{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-1422b5ac{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-1422b5ac]{animation:rotateEnter-1422b5ac .7s;position:relative}.rotate-leave-active[data-v-1422b5ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1422b5ac]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-1422b5ac]{position:relative}.flow .echart[data-v-1422b5ac]{width:100%;height:100%}.flow .flow-data[data-v-1422b5ac]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-1422b5ac]{display:block;color:#eee;font-size:12px;margin-bottom:5px;font-weight:600}@keyframes bganimation-4b6fb886{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4b6fb886{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-4b6fb886{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-4b6fb886]{animation:rotateEnter-4b6fb886 .7s;position:relative}.rotate-leave-active[data-v-4b6fb886]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4b6fb886]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}em[data-v-4b6fb886]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-4b6fb886]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container span.container_success[data-v-4b6fb886]{color:#67c23a;display:block;font-size:1.2em}.app-container_status-container span.container_failure[data-v-4b6fb886]{color:#ff0606;display:block;font-size:1.2em}.app-container_status-container span.container_title[data-v-4b6fb886]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-4b6fb886]{font-size:1.25rem;color:#666}.app-container_status-container span.container_time[data-v-4b6fb886]{font-size:12px;color:#1e1e1e;margin-top:3px;display:block}.app-container_status-label[data-v-4b6fb886]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-4b6fb886]{flex:0 0 100%;max-width:calc(50% - 10px);margin-bottom:1rem}.app-container_status-label_block[data-v-4b6fb886]{display:block;color:#000}.app-container_status-container_body[data-v-4b6fb886]{width:100%;height:100%;text-align:center;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.app-container_status-container_body svg[data-v-4b6fb886]{width:50px;height:50px}.app-container_status-container_body span[data-v-4b6fb886]{width:100%;margin:5px 0}.network-container .network-container_flow .network-container_flow-container[data-v-24616a36]:before{background:linear-gradient(to right,#02255f 0%,#0a2e38 50%,#101010 100%);background-size:400%!important;animation:bganimation-24616a36 10s infinite!important}.network-container[data-v-24616a36]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-24616a36]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-24616a36]{border-radius:6px;overflow:hidden;position:relative}.network-container .network-container_flow .network-container_flow-container[data-v-24616a36]:before{content:"";position:absolute;inset:0;opacity:.8;background-color:#0a2e38}.network-container .network-container_status[data-v-24616a36]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-24616a36{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-24616a36{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-24616a36{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-24616a36]{animation:rotateEnter-24616a36 .7s;position:relative}.rotate-leave-active[data-v-24616a36]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-24616a36]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-24616a36]{width:100%}.network-container .network-container_flow[data-v-24616a36]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-24616a36]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-5e2a990f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5e2a990f{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-5e2a990f{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-5e2a990f]{animation:rotateEnter-5e2a990f .7s;position:relative}.rotate-leave-active[data-v-5e2a990f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5e2a990f]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-5e2a990f]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-5e2a990f]{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-5e2a990f],#actioner[data-v-5e2a990f] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-5e2a990f]{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-5e2a990f]{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-5e2a990f]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-5e2a990f]{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-5e2a990f] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-5e2a990f] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-5e2a990f]:hover{opacity:.9}.action-container .action-container_body[data-v-5e2a990f]{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:#fff;box-shadow:0 0 10px 1px #373f6924;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}@keyframes bganimation-80ee870c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-80ee870c{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-80ee870c{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-80ee870c]{animation:rotateEnter-80ee870c .7s;position:relative}.rotate-leave-active[data-v-80ee870c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-80ee870c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-80ee870c{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)}}.toast[data-v-80ee870c]{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-80ee870c]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-80ee870c]{width:100%;height:100%}.toast div.icon svg path[data-v-80ee870c]{fill:#fff}.toast .loading[data-v-80ee870c]{animation:turn-80ee870c 5s linear infinite}.action .action-footer button[data-v-63021234]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-63021234{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63021234{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-63021234{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-63021234]{animation:rotateEnter-63021234 .7s;position:relative}.rotate-leave-active[data-v-63021234]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63021234]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-63021234]{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-63021234]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-63021234]{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-63021234]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-63021234]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-63021234]{flex:auto}.action.format .disk-list[data-v-63021234]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-63021234]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-63021234]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-63021234]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-63021234]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-63021234]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-63021234],.action.format .label-item .label-item_value input[data-v-63021234]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-63021234]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-63021234]{flex:auto}.action.format p.msg[data-v-63021234]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-63021234]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-63021234]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-63021234]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-63021234]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-63021234{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-63021234{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-63021234{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-63021234]{animation:rotateEnter-63021234 .7s;position:relative}.rotate-leave-active[data-v-63021234]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-63021234]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-63021234]{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-63021234]{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-63021234]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-63021234]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-63021234]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-63021234]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-63021234]{color:#0000fb}.action.result .btns[data-v-63021234]{width:100%;text-align:center;margin:1rem 0}.action .action-footer button[data-v-52f17066]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-52f17066{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52f17066{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-52f17066{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-52f17066]{animation:rotateEnter-52f17066 .7s;position:relative}.rotate-leave-active[data-v-52f17066]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52f17066]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-52f17066]{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-52f17066]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-52f17066]{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-52f17066]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-52f17066]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-52f17066]{flex:auto}.action.format .disk-list[data-v-52f17066]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-52f17066]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-52f17066]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-52f17066]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-52f17066]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-52f17066]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-52f17066],.action.format .label-item .label-item_value input[data-v-52f17066]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-52f17066]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-52f17066]{flex:auto}.action.format p.msg[data-v-52f17066]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-52f17066]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-52f17066]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-52f17066]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-52f17066]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-52f17066{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52f17066{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-52f17066{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-52f17066]{animation:rotateEnter-52f17066 .7s;position:relative}.rotate-leave-active[data-v-52f17066]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52f17066]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-52f17066]{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-52f17066]{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-52f17066]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-52f17066]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-52f17066]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-52f17066]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-52f17066]{color:#0000fb}.action.result .btns[data-v-52f17066]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-151456d4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-151456d4{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-151456d4{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-151456d4]{animation:rotateEnter-151456d4 .7s;position:relative}.rotate-leave-active[data-v-151456d4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-151456d4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-151456d4]{color:red}.disk-content[data-v-151456d4]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-151456d4]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk_status[data-v-151456d4]{margin-left:0%;font-size:12px}.disk-content li.disk-item .disk_status .disk_status_item[data-v-151456d4]{display:flex}.disk-content li.disk-item .disk-item_name[data-v-151456d4]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .disk_icon[data-v-151456d4]{margin-left:1rem;align-self:center;cursor:help;flex:none;display:flex}.disk-content li.disk-item .disk_icon .left_icon[data-v-151456d4]{margin-right:10px}.disk-content li.disk-item .disk_value[data-v-151456d4]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .disk-item_value[data-v-151456d4]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .value-data[data-v-151456d4]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-151456d4]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .disk_value .disk-item_value .value-data button[data-v-151456d4]:hover{opacity:.7}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-151456d4]{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-151456d4]: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-151456d4]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-151456d4]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-151456d4]{flex:none}.tooltip-trigger[data-v-151456d4]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-151456d4]{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-151456d4]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-151456d4]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-151456d4]{visibility:visible;opacity:1}.tooltip-top[data-v-151456d4]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-151456d4]: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-151456d4]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.format[data-v-151456d4]{display:flex;text-align:center;margin-left:52%;font-size:12px;margin-top:6px}.disk_status_item[data-v-151456d4]{display:flex;margin-right:20px}.cbi-button[data-v-151456d4]{height:34px;margin-left:10px}@keyframes bganimation-48366d0b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-48366d0b{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-48366d0b{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-48366d0b]{animation:rotateEnter-48366d0b .7s;position:relative}.rotate-leave-active[data-v-48366d0b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-48366d0b]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-48366d0b]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 10%;border-radius:6px}.action ul[data-v-48366d0b]{flex:0 0 100%}.action ul .app-container_info[data-v-48366d0b]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-48366d0b]{width:100%;height:100%}.action .action-footer[data-v-48366d0b]{text-align:center;margin-top:46px}.action .action-footer button[data-v-48366d0b]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3ab15fa2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3ab15fa2{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-3ab15fa2{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-3ab15fa2]{animation:rotateEnter-3ab15fa2 .7s;position:relative}.rotate-leave-active[data-v-3ab15fa2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3ab15fa2]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-3ab15fa2]{color:red}li.disk-item[data-v-3ab15fa2]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-3ab15fa2]{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-3ab15fa2]{padding-left:1rem;align-self:center;cursor:help;flex:none;display:flex}li.disk-item .disk_value[data-v-3ab15fa2]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-3ab15fa2]{flex:auto;padding-left:10px;position:relative}li.disk-item .disk_value .disk-item_value .value-data[data-v-3ab15fa2]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-3ab15fa2]{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-3ab15fa2]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-3ab15fa2]{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-3ab15fa2]: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-3ab15fa2]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-3ab15fa2]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-3ab15fa2]{flex:none}.tooltip-trigger[data-v-3ab15fa2]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-3ab15fa2]{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-3ab15fa2]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-3ab15fa2]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3ab15fa2]{visibility:visible;opacity:1}.tooltip-top[data-v-3ab15fa2]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-3ab15fa2]: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-3ab15fa2]: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-b996c17c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b996c17c{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-b996c17c{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-b996c17c]{animation:rotateEnter-b996c17c .7s;position:relative}.rotate-leave-active[data-v-b996c17c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b996c17c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-b996c17c]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-b996c17c]{flex:0 0 100%;width:100%}.app-container .refresh[data-v-b996c17c]{margin-left:20px}.app-container .app-container_info[data-v-b996c17c]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container .app-container_body[data-v-b996c17c]{width:100%;height:100%}@keyframes bganimation-4f380378{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4f380378{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-4f380378{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-4f380378]{animation:rotateEnter-4f380378 .7s;position:relative}.rotate-leave-active[data-v-4f380378]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4f380378]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-4f380378]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-4f380378]{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-4f380378]{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-4f380378]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-4f380378]{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-4f380378]{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-4f380378]{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-4f380378]:hover{opacity:.7}.tit[data-v-4f380378]{color:#1e1e1e;font-weight:700;font-size:16px}@keyframes bganimation-615b85a1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-615b85a1{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-615b85a1{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-615b85a1]{animation:rotateEnter-615b85a1 .7s;position:relative}.rotate-leave-active[data-v-615b85a1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-615b85a1]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-615b85a1]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-615b85a1]{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-615b85a1]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-35576663{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-35576663{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-35576663{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-35576663]{animation:rotateEnter-35576663 .7s;position:relative}.rotate-leave-active[data-v-35576663]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-35576663]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-35576663]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-35576663]{flex:auto}ul.disk-item .disk-item_icon[data-v-35576663]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-35576663]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-35576663]{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-35576663]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-35576663]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-35576663]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-35576663],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-35576663]{width:100%}ul.disk-item li.disk-info.on[data-v-35576663]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-35576663]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-35576663]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-35576663]{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-35576663]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-35576663]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-35576663]{border-left:3px solid #ff9c08;background-color:#ecf5ff}.action .action-footer button[data-v-71d47780]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-71d47780{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-71d47780{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-71d47780{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-71d47780]{animation:rotateEnter-71d47780 .7s;position:relative}.rotate-leave-active[data-v-71d47780]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-71d47780]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-71d47780]{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-71d47780]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-71d47780]{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-71d47780]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-71d47780]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-71d47780]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-71d47780]{flex:auto}.action.list .disk-list[data-v-71d47780]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-71d47780{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-71d47780{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-71d47780{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-71d47780]{animation:rotateEnter-71d47780 .7s;position:relative}.rotate-leave-active[data-v-71d47780]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-71d47780]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-71d47780]{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-71d47780]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-71d47780]{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-71d47780]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-71d47780]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-71d47780]{flex:auto}.action.format .disk-list[data-v-71d47780]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-71d47780]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-71d47780]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-71d47780]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-71d47780]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-71d47780]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-71d47780],.action.format .label-item .label-item_value input[data-v-71d47780]{width:100%;height:36px}.action.format .auto[data-v-71d47780]{flex:auto}.action.format p.msg[data-v-71d47780]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-71d47780]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-71d47780]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-71d47780]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-71d47780]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-71d47780{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-71d47780{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-71d47780{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-71d47780]{animation:rotateEnter-71d47780 .7s;position:relative}.rotate-leave-active[data-v-71d47780]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-71d47780]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-71d47780]{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-71d47780]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-71d47780]{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-71d47780]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-71d47780]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-71d47780]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-71d47780]{color:#f70324}.action.result .action-footer[data-v-71d47780]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-71d47780]{flex:auto}@keyframes bganimation-0c749f00{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0c749f00{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-0c749f00{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-0c749f00]{animation:rotateEnter-0c749f00 .7s;position:relative}.rotate-leave-active[data-v-0c749f00]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0c749f00]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-0c749f00]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 10%;border-radius:6px}.action .action-body[data-v-0c749f00]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-0c749f00]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-0c749f00]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-0c749f00]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-0c749f00]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-e84f8f4c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e84f8f4c{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-e84f8f4c{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-e84f8f4c]{animation:rotateEnter-e84f8f4c .7s;position:relative}.rotate-leave-active[data-v-e84f8f4c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e84f8f4c]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-e84f8f4c]{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-e84f8f4c]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-e84f8f4c]{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-e84f8f4c]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-e84f8f4c]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-e84f8f4c]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-e84f8f4c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-e84f8f4c]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-e84f8f4c]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-e84f8f4c],.action .action-body .label-item .label-item_value input[data-v-e84f8f4c]{width:100%;height:36px}.action .action-footer[data-v-e84f8f4c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-e84f8f4c]{flex:auto}.action .action-footer button[data-v-e84f8f4c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-f2956624{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f2956624{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-f2956624{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-f2956624]{animation:rotateEnter-f2956624 .7s;position:relative}.rotate-leave-active[data-v-f2956624]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f2956624]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-f2956624]{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-f2956624]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-f2956624]{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-f2956624]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-f2956624]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-f2956624]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-f2956624]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-f2956624]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-f2956624]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-f2956624],.action .action-body .label-item .label-item_value input[data-v-f2956624]{width:100%;height:36px}.action .action-body .samba-item[data-v-f2956624]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-f2956624]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-f2956624]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-f2956624]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-f2956624]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-f2956624]{margin-left:10px}.action .action-footer[data-v-f2956624]{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-f2956624]{flex:auto}.action .action-footer button[data-v-f2956624]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-3336c5ea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3336c5ea{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-3336c5ea{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-3336c5ea]{animation:rotateEnter-3336c5ea .7s;position:relative}.rotate-leave-active[data-v-3336c5ea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3336c5ea]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-3336c5ea]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 10%;border-radius:6px}.action h2.title[data-v-3336c5ea]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-3336c5ea]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-3336c5ea]{width:100%;display:block;padding:2rem 0}.action form label[data-v-3336c5ea]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-3336c5ea],.action form label select[data-v-3336c5ea]{width:100%;display:block;height:42px}.action .btns[data-v-3336c5ea]{width:100%;margin-top:3rem}.action .btns button[data-v-3336c5ea]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-3336c5ea]{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-3336c5ea]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-3336c5ea]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-3336c5ea],.action li.disk-item .disk-item_f .disk-item_used[data-v-3336c5ea]{width:100%}@keyframes bganimation-8177f8d4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-8177f8d4{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-8177f8d4{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-8177f8d4]{animation:rotateEnter-8177f8d4 .7s;position:relative}.rotate-leave-active[data-v-8177f8d4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-8177f8d4]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-8177f8d4]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-8177f8d4]{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-8177f8d4]{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-8177f8d4]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-8177f8d4]{cursor:pointer}a[data-v-8177f8d4]{text-decoration:none;color:#297ff3}@keyframes bganimation-0f6e117d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0f6e117d{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-0f6e117d{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-0f6e117d]{animation:rotateEnter-0f6e117d .7s;position:relative}.rotate-leave-active[data-v-0f6e117d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0f6e117d]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-0f6e117d]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-0f6e117d]{width:100%;display:flex;flex-wrap:wrap;align-content:center}.app-container .app-container_title button[data-v-0f6e117d]{margin-left:10px}.app-container .app-container_body[data-v-0f6e117d]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-0f6e117d]{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-0f6e117d]{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-0f6e117d],.app-container ul.app-container_nas-menu button[data-v-0f6e117d]:hover{color:#297ff3;background-color:#d1e2f9}@keyframes bganimation-be22d5be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-be22d5be{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-be22d5be{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-be22d5be]{animation:rotateEnter-be22d5be .7s;position:relative}.rotate-leave-active[data-v-be22d5be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-be22d5be]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-be22d5be]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-be22d5be]{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-be22d5be]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-be22d5be]{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-be22d5be]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-be22d5be]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-be22d5be]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-be22d5be]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-be22d5be]{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-be22d5be]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-be22d5be]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-be22d5be]{visibility:visible;opacity:1}.tooltip-top[data-v-be22d5be]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-be22d5be]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-be22d5be]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-be22d5be]: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-be22d5be]: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-21281e77{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-21281e77{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-21281e77{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-21281e77]{animation:rotateEnter-21281e77 .7s;position:relative}.rotate-leave-active[data-v-21281e77]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-21281e77]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-21281e77]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 10%;border-radius:6px}.action h2.title[data-v-21281e77]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-21281e77]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-21281e77]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-21281e77]{display:flex;justify-content:left;align-items:center}.action .desc[data-v-21281e77]{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-21281e77]{width:100%;display:block}.action .tips[data-v-21281e77]{width:477px}.action .tips .tip[data-v-21281e77]{color:#faad14;padding-left:6px}.action .btns[data-v-21281e77]{width:100%;margin:104px auto 0}.action .btns button[data-v-21281e77]{display:block;width:100%!important}.action .roots_tit[data-v-21281e77]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right}.action .successed[data-v-21281e77]{text-align:center;font-size:14px}.action .finished[data-v-21281e77]{display:flex;justify-content:center;margin:80px 80px 28px}.select-editable[data-v-21281e77]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-21281e77]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-21281e77]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-21281e77]:focus,.select-editable input[data-v-21281e77]:focus{outline:none}[data-v-21281e77]::placeholder{color:#999}@keyframes bganimation-11379856{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-11379856{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-11379856{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-11379856]{animation:rotateEnter-11379856 .7s;position:relative}.rotate-leave-active[data-v-11379856]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-11379856]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-11379856]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container button[data-v-11379856],.app-container .refresh[data-v-11379856]{margin-left:20px}.app-container .app-container_body[data-v-11379856]{width:100%;height:100%}@keyframes bganimation-4c7a3eee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4c7a3eee{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-4c7a3eee{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-4c7a3eee]{animation:rotateEnter-4c7a3eee .7s;position:relative}.rotate-leave-active[data-v-4c7a3eee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4c7a3eee]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.aria2_content[data-v-4c7a3eee]{width:100%}.aria2_content li.aria2-item[data-v-4c7a3eee]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}.aria2_content li.aria2-item .aria2-item_name[data-v-4c7a3eee]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.aria2_content li.aria2-item .aria2-item_value[data-v-4c7a3eee]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aria2_content li.aria2-item .aria2-item_value .configure[data-v-4c7a3eee]{color:#297ff3;padding:3px}.aria2_content li.aria2-item .aria2-item_value .configure.enabel[data-v-4c7a3eee]{color:#888}.aria2_content li.aria2-item .aria2-item_root[data-v-4c7a3eee]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:16px}@keyframes bganimation-b546f140{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b546f140{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-b546f140{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-b546f140]{animation:rotateEnter-b546f140 .7s;position:relative}.rotate-leave-active[data-v-b546f140]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b546f140]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.action[data-v-b546f140]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 10%;border-radius:6px}.action p[data-v-b546f140]{color:#999;font-size:14px}.action input[data-v-b546f140]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-b546f140]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-b546f140]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action .load[data-v-b546f140]{display:flex;justify-content:left;align-items:center;margin-top:32px}.action form[data-v-b546f140]{width:84%}.action form label[data-v-b546f140]{width:100%}.action form label input[data-v-b546f140],.action form label select[data-v-b546f140]{height:100%;font-size:14px}.action .RPC[data-v-b546f140]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .RPC .RPC_input[data-v-b546f140]{width:85%}.action .Tracker label[data-v-b546f140]{margin-right:10px}.action .Tracker_input[data-v-b546f140]{width:80%;margin-left:132px;margin-top:22px}.action .btns[data-v-b546f140]{width:100%;margin:42px auto 0}.action .btns button[data-v-b546f140]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-b546f140]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-b546f140]{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-b546f140]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-b546f140]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-b546f140]{visibility:visible;opacity:1}.action .tooltip-top[data-v-b546f140]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-b546f140]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-b546f140]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-b546f140]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-b546f140]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-b546f140]: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-b546f140]: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-b546f140]{text-align:center;font-size:14px}.action .finished[data-v-b546f140]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-b546f140]{display:flex;width:140px;justify-content:right}.select-editable[data-v-b546f140]{position:relative;border:solid grey 1px;width:100%;height:34px}.select-editable select[data-v-b546f140]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-b546f140]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-b546f140]:focus,.select-editable input[data-v-b546f140]:focus{outline:none}[data-v-b546f140]::placeholder{color:#999}@keyframes bganimation-5ff6172a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5ff6172a{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-5ff6172a{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-5ff6172a]{animation:rotateEnter-5ff6172a .7s;position:relative}.rotate-leave-active[data-v-5ff6172a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5ff6172a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-5ff6172a]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container button[data-v-5ff6172a],.app-container .refresh[data-v-5ff6172a]{margin-left:20px}.app-container .app-container_body[data-v-5ff6172a]{flex:0 0 100%;width:100%;height:66%}.app-container .app-container_content[data-v-5ff6172a]{width:100%}.nas-container[data-v-54484dea]{width:100%;display:flex;flex-wrap:wrap}.nas-container .nas-container_f[data-v-54484dea]{flex:0 0 100%;max-width:50%;padding-right:10px}.nas-container .nas-container_f.g[data-v-54484dea]{margin-top:18px}.nas-container .nas-container_r[data-v-54484dea]{flex:0 0 100%;max-width:50%;padding-left:10px}.nas-container .nas-container_r.g[data-v-54484dea]{margin-top:18px}@keyframes bganimation-54484dea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-54484dea{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-54484dea{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-54484dea]{animation:rotateEnter-54484dea .7s;position:relative}.rotate-leave-active[data-v-54484dea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-54484dea]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container[data-v-54484dea]{width:100%}.nas-container .nas-container_f[data-v-54484dea]{flex:0 0 100%;max-width:100%;padding-right:0}.nas-container .nas-container_r[data-v-54484dea]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}@keyframes bganimation-88d63e9a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-88d63e9a{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-88d63e9a{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-88d63e9a]{animation:rotateEnter-88d63e9a .7s;position:relative}.rotate-leave-active[data-v-88d63e9a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-88d63e9a]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.item-label[data-v-88d63e9a]{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-88d63e9a]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-88d63e9a]{font-size:14px;color:#333}.item-label .item-label_value[data-v-88d63e9a]{flex:1;text-align:left}.item-label .item-label_value span[data-v-88d63e9a]{font-size:14px;color:#333}.item-title span[data-v-88d63e9a]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-88d63e9a]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-88d63e9a]{flex:auto}.item-flex button.app-editor[data-v-88d63e9a]{padding:8px 1.3rem}@keyframes bganimation-1229e356{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1229e356{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-1229e356{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-1229e356]{animation:rotateEnter-1229e356 .7s;position:relative}.rotate-leave-active[data-v-1229e356]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1229e356]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-1229e356]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-1229e356]{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-1229e356]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-1229e356]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-1229e356]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1229e356]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-1229e356]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-1229e356]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-1229e356],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-1229e356]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-1229e356]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-1229e356]{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-1229e356]{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-1229e356]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-190ff567{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-190ff567{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-190ff567{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-190ff567]{animation:rotateEnter-190ff567 .7s;position:relative}.rotate-leave-active[data-v-190ff567]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-190ff567]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-190ff567]{width:100%}.nav-container .app-update-button[data-v-190ff567]{position:relative}.nav-container .app-update-button i[data-v-190ff567]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .cover-buttob[data-v-190ff567]{margin-left:0;margin-right:5px}.nav-container a[data-v-190ff567]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-190ff567]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}@keyframes bganimation-3899e190{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3899e190{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-3899e190{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-3899e190]{animation:rotateEnter-3899e190 .7s;position:relative}.rotate-leave-active[data-v-3899e190]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3899e190]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-3899e190]{margin-top:48px}em[data-v-3899e190]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-3899e190] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:#1e1e1e;font-size:1.5em}@keyframes bganimation-4a6c9ae9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-4a6c9ae9{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-4a6c9ae9{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-4a6c9ae9]{animation:rotateEnter-4a6c9ae9 .7s;position:relative}.rotate-leave-active[data-v-4a6c9ae9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-4a6c9ae9]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-4a6c9ae9]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:800px}#page h2.title[data-v-4a6c9ae9]{width:100%;display:block;color:#666;font-size:3em;padding:0;margin:0;text-align:center}#page h3.desc[data-v-4a6c9ae9]{width:100%;display:block;color:#333;font-size:2em;padding:0;margin:0;text-align:center}#page div.info[data-v-4a6c9ae9]{width:100%;display:block;margin:1rem 0;font-size:1.6em;text-align:center}#page .network-containers[data-v-4a6c9ae9]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0}#page .network-containers .network-container_item[data-v-4a6c9ae9]{flex:0 0 100%;max-width:33.333%;position:relative;border-radius:4px;padding:10px;cursor:pointer}#page .network-containers .network-container_item a[data-v-4a6c9ae9]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a[data-v-4a6c9ae9]:hover{transform:scale(1.05);transition:.4s;position:relative}#page .network-containers .network-container_item a:hover .cover .thumbnail[data-v-4a6c9ae9]{box-shadow:0 6px 40px #1c67f2}#page .network-containers .network-container_item a .cover[data-v-4a6c9ae9]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-4a6c9ae9]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;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-4a6c9ae9]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-4a6c9ae9]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#ff9100}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#2dc8fd}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#f66a2c}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-4a6c9ae9]{background-color:#439c07}@keyframes bganimation-5d5cc6be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5d5cc6be{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-5d5cc6be{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-5d5cc6be]{animation:rotateEnter-5d5cc6be .7s;position:relative}.rotate-leave-active[data-v-5d5cc6be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5d5cc6be]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-5d5cc6be]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-5d5cc6be]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:left}#page h3.desc[data-v-5d5cc6be]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left}#page form[data-v-5d5cc6be]{display:block;width:100%;margin:3rem 0}#page form label[data-v-5d5cc6be]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-5d5cc6be]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-5d5cc6be]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-5d5cc6be]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-5d5cc6be]{width:100%;display:block;height:42px}#page .msg[data-v-5d5cc6be]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-5d5cc6be]{width:100%;margin-top:3rem}#page .btns button[data-v-5d5cc6be]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-65f907c5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-65f907c5{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-65f907c5{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-65f907c5]{animation:rotateEnter-65f907c5 .7s;position:relative}.rotate-leave-active[data-v-65f907c5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-65f907c5]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-65f907c5]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-65f907c5]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:left}#page h3.desc[data-v-65f907c5]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left}#page form[data-v-65f907c5]{display:block;width:100%;margin:3rem 0}#page form label[data-v-65f907c5]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-65f907c5]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-65f907c5]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-65f907c5]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-65f907c5],#page form label select[data-v-65f907c5]{width:100%;display:block;height:42px}#page .msgs[data-v-65f907c5]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-65f907c5]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-65f907c5]{width:100%;margin-top:3rem}#page .btns button[data-v-65f907c5]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-50574128{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-50574128{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-50574128{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-50574128]{animation:rotateEnter-50574128 .7s;position:relative}.rotate-leave-active[data-v-50574128]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-50574128]{width:100%;background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 30px;border-radius:6px;position:relative}#page[data-v-50574128]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-50574128]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:left}#page h3.desc[data-v-50574128]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left}#page code[data-v-50574128]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-50574128]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-50574128]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-50574128]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-50574128]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-50574128]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-50574128]{display:block;width:100%;margin:3rem 0}#page form label[data-v-50574128]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-50574128]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-50574128]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-50574128]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-50574128],#page form label select[data-v-50574128]{width:100%;display:block;height:42px} diff --git a/luci-app-quickstart/root/www/luci-static/quickstart/vendor.js b/luci-app-quickstart/root/www/luci-static/quickstart/vendor.js index dce60fd81..980cc1afa 100644 --- a/luci-app-quickstart/root/www/luci-static/quickstart/vendor.js +++ b/luci-app-quickstart/root/www/luci-static/quickstart/vendor.js @@ -1,12 +1,12 @@ -function ku(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const fw="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cw=ku(fw);function sd(e){return!!e||e===""}function Bu(e){if(at(e)){const t={};for(let r=0;r{if(r){const n=r.split(vw);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Fu(e){let t="";if(Qt(e))t=e;else if(at(e))for(let r=0;r_a(r,t))}const yF=e=>e==null?"":at(e)||Vt(e)&&(e.toString===cd||!vt(e.toString))?JSON.stringify(e,ld,2):String(e),ld=(e,t)=>t&&t.__v_isRef?ld(e,t.value):_i(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:Si(t)?{[`Set(${t.size})`]:[...t.values()]}:Vt(t)&&!at(t)&&!hd(t)?String(t):t,It={},mi=[],qe=()=>{},gw=()=>!1,yw=/^on[^a-z]/,ns=e=>yw.test(e),zu=e=>e.startsWith("onUpdate:"),jt=Object.assign,Hu=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},mw=Object.prototype.hasOwnProperty,_t=(e,t)=>mw.call(e,t),at=Array.isArray,_i=e=>is(e)==="[object Map]",Si=e=>is(e)==="[object Set]",ud=e=>e instanceof Date,vt=e=>typeof e=="function",Qt=e=>typeof e=="string",Vu=e=>typeof e=="symbol",Vt=e=>e!==null&&typeof e=="object",fd=e=>Vt(e)&&vt(e.then)&&vt(e.catch),cd=Object.prototype.toString,is=e=>cd.call(e),_w=e=>is(e).slice(8,-1),hd=e=>is(e)==="[object Object]",Gu=e=>Qt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,as=ku(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),os=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Sw=/-(\w)/g,ar=os(e=>e.replace(Sw,(t,r)=>r?r.toUpperCase():"")),bw=/\B([A-Z])/g,bi=os(e=>e.replace(bw,"-$1").toLowerCase()),ss=os(e=>e.charAt(0).toUpperCase()+e.slice(1)),$u=os(e=>e?`on${ss(e)}`:""),Sa=(e,t)=>!Object.is(e,t),ls=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ba=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let vd;const ww=()=>vd||(vd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let _n;const fs=[];class dd{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&_n&&(this.parent=_n,this.index=(_n.scopes||(_n.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(fs.push(this),_n=this)}off(){this.active&&(fs.pop(),_n=fs[fs.length-1])}stop(t){if(this.active){if(this.effects.forEach(r=>r.stop()),this.cleanups.forEach(r=>r()),this.scopes&&this.scopes.forEach(r=>r.stop(!0)),this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function pd(e){return new dd(e)}function xw(e,t){t=t||_n,t&&t.active&&t.effects.push(e)}const Uu=e=>{const t=new Set(e);return t.w=0,t.n=0,t},gd=e=>(e.w&Vr)>0,yd=e=>(e.n&Vr)>0,Tw=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n0?xa[t-1]:void 0}}stop(){this.active&&(md(this),this.onStop&&this.onStop(),this.active=!1)}}function md(e){const{deps:t}=e;if(t.length){for(let r=0;r{(u==="length"||u>=n)&&s.push(l)});else switch(r!==void 0&&s.push(o.get(r)),t){case"add":at(e)?Gu(r)&&s.push(o.get("length")):(s.push(o.get(bn)),_i(e)&&s.push(o.get(Xu)));break;case"delete":at(e)||(s.push(o.get(bn)),_i(e)&&s.push(o.get(Xu)));break;case"set":_i(e)&&s.push(o.get(bn));break}if(s.length===1)s[0]&&Ku(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);Ku(Uu(l))}}function Ku(e,t){for(const r of at(e)?e:[...e])(r!==Sn||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const Dw=ku("__proto__,__v_isRef,__isVue"),bd=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Vu)),Aw=ju(),Pw=ju(!1,!0),Iw=ju(!0),wd=Lw();function Lw(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=St(this);for(let a=0,o=this.length;a{e[t]=function(...r){xi();const n=St(this)[t].apply(this,r);return wn(),n}}),e}function ju(e=!1,t=!1){return function(n,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_raw"&&a===(e?t?Xw:Ld:t?Id:Pd).get(n))return n;const o=at(n);if(!e&&o&&_t(wd,i))return Reflect.get(wd,i,a);const s=Reflect.get(n,i,a);return(Vu(i)?bd.has(i):Dw(i))||(e||Se(n,"get",i),t)?s:Wt(s)?!o||!Gu(i)?s.value:s:Vt(s)?e?Ed(s):Ti(s):s}}const Ew=xd(),Rw=xd(!0);function xd(e=!1){return function(r,n,i,a){let o=r[n];if(!e&&!ef(i)&&(i=St(i),o=St(o),!at(r)&&Wt(o)&&!Wt(i)))return o.value=i,!0;const s=at(r)&&Gu(n)?Number(n)e,cs=e=>Reflect.getPrototypeOf(e);function hs(e,t,r=!1,n=!1){e=e.__v_raw;const i=St(e),a=St(t);t!==a&&!r&&Se(i,"get",t),!r&&Se(i,"get",a);const{has:o}=cs(i),s=n?Qu:r?rf:Ta;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 vs(e,t=!1){const r=this.__v_raw,n=St(r),i=St(e);return e!==i&&!t&&Se(n,"has",e),!t&&Se(n,"has",i),e===i?r.has(e):r.has(e)||r.has(i)}function ds(e,t=!1){return e=e.__v_raw,!t&&Se(St(e),"iterate",bn),Reflect.get(e,"size",e)}function Cd(e){e=St(e);const t=St(this);return cs(t).has.call(t,e)||(t.add(e),wr(t,"add",e,e)),this}function Md(e,t){t=St(t);const r=St(this),{has:n,get:i}=cs(r);let a=n.call(r,e);a||(e=St(e),a=n.call(r,e));const o=i.call(r,e);return r.set(e,t),a?Sa(t,o)&&wr(r,"set",e,t):wr(r,"add",e,t),this}function Dd(e){const t=St(this),{has:r,get:n}=cs(t);let i=r.call(t,e);i||(e=St(e),i=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return i&&wr(t,"delete",e,void 0),a}function Ad(){const e=St(this),t=e.size!==0,r=e.clear();return t&&wr(e,"clear",void 0,void 0),r}function ps(e,t){return function(n,i){const a=this,o=a.__v_raw,s=St(o),l=t?Qu:e?rf:Ta;return!e&&Se(s,"iterate",bn),o.forEach((u,f)=>n.call(i,l(u),l(f),a))}}function gs(e,t,r){return function(...n){const i=this.__v_raw,a=St(i),o=_i(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...n),f=r?Qu:t?rf:Ta;return!t&&Se(a,"iterate",l?Xu:bn),{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 Gr(e){return function(...t){return e==="delete"?!1:this}}function zw(){const e={get(a){return hs(this,a)},get size(){return ds(this)},has:vs,add:Cd,set:Md,delete:Dd,clear:Ad,forEach:ps(!1,!1)},t={get(a){return hs(this,a,!1,!0)},get size(){return ds(this)},has:vs,add:Cd,set:Md,delete:Dd,clear:Ad,forEach:ps(!1,!0)},r={get(a){return hs(this,a,!0)},get size(){return ds(this,!0)},has(a){return vs.call(this,a,!0)},add:Gr("add"),set:Gr("set"),delete:Gr("delete"),clear:Gr("clear"),forEach:ps(!0,!1)},n={get(a){return hs(this,a,!0,!0)},get size(){return ds(this,!0)},has(a){return vs.call(this,a,!0)},add:Gr("add"),set:Gr("set"),delete:Gr("delete"),clear:Gr("clear"),forEach:ps(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=gs(a,!1,!1),r[a]=gs(a,!0,!1),t[a]=gs(a,!1,!0),n[a]=gs(a,!0,!0)}),[e,r,t,n]}const[Hw,Vw,Gw,$w]=zw();function Ju(e,t){const r=t?e?$w:Gw:e?Vw:Hw;return(n,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(_t(r,i)&&i in n?r:n,i,a)}const Uw={get:Ju(!1,!1)},Ww={get:Ju(!1,!0)},Yw={get:Ju(!0,!1)},Pd=new WeakMap,Id=new WeakMap,Ld=new WeakMap,Xw=new WeakMap;function qw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zw(e){return e.__v_skip||!Object.isExtensible(e)?0:qw(_w(e))}function Ti(e){return e&&e.__v_isReadonly?e:tf(e,!1,Td,Uw,Pd)}function Kw(e){return tf(e,!1,Nw,Ww,Id)}function Ed(e){return tf(e,!0,Fw,Yw,Ld)}function tf(e,t,r,n,i){if(!Vt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=Zw(e);if(o===0)return e;const s=new Proxy(e,o===2?n:r);return i.set(e,s),s}function $r(e){return ef(e)?$r(e.__v_raw):!!(e&&e.__v_isReactive)}function ef(e){return!!(e&&e.__v_isReadonly)}function Rd(e){return $r(e)||ef(e)}function St(e){const t=e&&e.__v_raw;return t?St(t):e}function Ci(e){return us(e,"__v_skip",!0),e}const Ta=e=>Vt(e)?Ti(e):e,rf=e=>Vt(e)?Ed(e):e;function Od(e){_d()&&(e=St(e),e.dep||(e.dep=Uu()),Sd(e.dep))}function kd(e,t){e=St(e),e.dep&&Ku(e.dep)}function Wt(e){return Boolean(e&&e.__v_isRef===!0)}function nf(e){return Bd(e,!1)}function jw(e){return Bd(e,!0)}function Bd(e,t){return Wt(e)?e:new Qw(e,t)}class Qw{constructor(t,r){this._shallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:St(t),this._value=r?t:Ta(t)}get value(){return Od(this),this._value}set value(t){t=this._shallow?t:St(t),Sa(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:Ta(t),kd(this))}}function Ca(e){return Wt(e)?e.value:e}const Jw={get:(e,t,r)=>Ca(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return Wt(i)&&!Wt(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function Fd(e){return $r(e)?e:new Proxy(e,Jw)}function tx(e){const t=at(e)?new Array(e.length):{};for(const r in e)t[r]=rx(e,r);return t}class ex{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 rx(e,t,r){const n=e[t];return Wt(n)?n:new ex(e,t,r)}class nx{constructor(t,r,n){this._setter=r,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new qu(t,()=>{this._dirty||(this._dirty=!0,kd(this))}),this.__v_isReadonly=n}get value(){const t=St(this);return Od(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ze(e,t){let r,n;const i=vt(e);return i?(r=e,n=qe):(r=e.get,n=e.set),new nx(r,n,i||!n)}Promise.resolve();function ix(e,t,...r){const n=e.vnode.props||It;let i=r;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in n){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:h}=n[f]||It;h?i=r.map(v=>v.trim()):c&&(i=r.map(ba))}let s,l=n[s=$u(t)]||n[s=$u(ar(t))];!l&&a&&(l=n[s=$u(bi(t))]),l&&Ee(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,Ee(u,e,6,i)}}function Nd(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(!vt(e)){const l=u=>{const f=Nd(u,t,!0);f&&(s=!0,jt(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):(at(a)?a.forEach(l=>o[l]=null):jt(o,a),n.set(e,o),o)}function af(e,t){return!e||!ns(t)?!1:(t=t.slice(2).replace(/Once$/,""),_t(e,t[0].toLowerCase()+t.slice(1))||_t(e,bi(t))||_t(e,t))}let be=null,ys=null;function ms(e){const t=be;return be=e,ys=e&&e.type.__scopeId||null,t}function mF(e){ys=e}function _F(){ys=null}function ax(e,t=be,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&hp(-1);const a=ms(t),o=e(...i);return ms(a),n._d&&hp(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function of(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:h,setupState:v,ctx:d,inheritAttrs:y}=e;let p,g;const m=ms(e);try{if(r.shapeFlag&4){const S=i||n;p=or(f.call(S,S,c,a,v,h,d)),g=l}else{const S=t;p=or(S.length>1?S(a,{attrs:l,slots:s,emit:u}):S(a,null)),g=t.props?l:ox(l)}}catch(S){Ma.length=0,Is(S,e,1),p=ie(Ke)}let _=p;if(g&&y!==!1){const S=Object.keys(g),{shapeFlag:w}=_;S.length&&w&(1|6)&&(o&&S.some(zu)&&(g=sx(g,o)),_=Mi(_,g))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),p=_,ms(m),p}const ox=e=>{let t;for(const r in e)(r==="class"||r==="style"||ns(r))&&((t||(t={}))[r]=e[r]);return t},sx=(e,t)=>{const r={};for(const n in e)(!zu(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function lx(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;function cx(e,t){t&&t.pendingBranch?at(e)?t.effects.push(...e):t.effects.push(e):lT(e)}function _s(e,t){if(qt){let r=qt.provides;const n=qt.parent&&qt.parent.provides;n===r&&(r=qt.provides=Object.create(n)),r[e]=t}}function xr(e,t,r=!1){const n=qt||be;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&&vt(t)?t.call(n.proxy):t}}function hx(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yd(()=>{e.isMounted=!0}),Xd(()=>{e.isUnmounting=!0}),e}const Ie=[Function,Array],vx={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ie,onEnter:Ie,onAfterEnter:Ie,onEnterCancelled:Ie,onBeforeLeave:Ie,onLeave:Ie,onAfterLeave:Ie,onLeaveCancelled:Ie,onBeforeAppear:Ie,onAppear:Ie,onAfterAppear:Ie,onAppearCancelled:Ie},setup(e,{slots:t}){const r=Sf(),n=hx();let i;return()=>{const a=t.default&&$d(t.default(),!0);if(!a||!a.length)return;const o=St(e),{mode:s}=o,l=a[0];if(n.isLeaving)return lf(l);const u=Gd(l);if(!u)return lf(l);const f=sf(u,o,n,r);uf(u,f);const c=r.subTree,h=c&&Gd(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!==Ke&&(!Dn(u,h)||v)){const y=sf(h,o,n,r);if(uf(h,y),s==="out-in")return n.isLeaving=!0,y.afterLeave=()=>{n.isLeaving=!1,r.update()},lf(l);s==="in-out"&&u.type!==Ke&&(y.delayLeave=(p,g,m)=>{const _=Vd(n,h);_[String(h.key)]=h,p._leaveCb=()=>{g(),p._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=m})}return l}}},Hd=vx;function Vd(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 sf(e,t,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:p,onAfterAppear:g,onAppearCancelled:m}=t,_=String(e.key),S=Vd(r,e),w=(x,C)=>{x&&Ee(x,n,9,C)},b={mode:a,persisted:o,beforeEnter(x){let C=s;if(!r.isMounted)if(i)C=y||s;else return;x._leaveCb&&x._leaveCb(!0);const M=S[_];M&&Dn(e,M)&&M.el._leaveCb&&M.el._leaveCb(),w(C,[x])},enter(x){let C=l,M=u,L=f;if(!r.isMounted)if(i)C=p||l,M=g||u,L=m||f;else return;let I=!1;const P=x._enterCb=E=>{I||(I=!0,E?w(L,[x]):w(M,[x]),b.delayedLeave&&b.delayedLeave(),x._enterCb=void 0)};C?(C(x,P),C.length<=1&&P()):P()},leave(x,C){const M=String(e.key);if(x._enterCb&&x._enterCb(!0),r.isUnmounting)return C();w(c,[x]);let L=!1;const I=x._leaveCb=P=>{L||(L=!0,C(),P?w(d,[x]):w(v,[x]),x._leaveCb=void 0,S[M]===e&&delete S[M])};S[M]=e,h?(h(x,I),h.length<=1&&I()):I()},clone(x){return sf(x,t,r,n)}};return b}function lf(e){if(Ss(e))return e=Mi(e),e.children=null,e}function Gd(e){return Ss(e)?e.children?e.children[0]:void 0:e}function uf(e,t){e.shapeFlag&6&&e.component?uf(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 $d(e,t=!1){let r=[],n=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Ss=e=>e.type.__isKeepAlive;function dx(e,t){Wd(e,"a",t)}function px(e,t){Wd(e,"da",t)}function Wd(e,t,r=qt){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(bs(t,n,r),r){let i=r.parent;for(;i&&i.parent;)Ss(i.parent.vnode)&&gx(n,t,r,i),i=i.parent}}function gx(e,t,r,n){const i=bs(t,e,n,!0);cf(()=>{Hu(n[t],i)},r)}function bs(e,t,r=qt,n=!1){if(r){const i=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;xi(),Di(r);const s=Ee(t,r,e,o);return An(),wn(),s});return n?i.unshift(a):i.push(a),a}}const Tr=e=>(t,r=qt)=>(!Ps||e==="sp")&&bs(e,t,r),yx=Tr("bm"),Yd=Tr("m"),mx=Tr("bu"),_x=Tr("u"),Xd=Tr("bum"),cf=Tr("um"),Sx=Tr("sp"),bx=Tr("rtg"),xx=Tr("rtc");function Tx(e,t=qt){bs("ec",e,t)}let hf=!0;function Cx(e){const t=Kd(e),r=e.proxy,n=e.ctx;hf=!1,t.beforeCreate&&qd(t.beforeCreate,e,"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:p,beforeDestroy:g,beforeUnmount:m,destroyed:_,unmounted:S,render:w,renderTracked:b,renderTriggered:x,errorCaptured:C,serverPrefetch:M,expose:L,inheritAttrs:I,components:P,directives:E,filters:B}=t;if(u&&Mx(u,n,null,e.appContext.config.unwrapInjectedRef),o)for(const q in o){const U=o[q];vt(U)&&(n[q]=U.bind(r))}if(i){const q=i.call(r,r);Vt(q)&&(e.data=Ti(q))}if(hf=!0,a)for(const q in a){const U=a[q],Q=vt(U)?U.bind(r,r):vt(U.get)?U.get.bind(r,r):qe,V=!vt(U)&&vt(U.set)?U.set.bind(r):qe,it=Ze({get:Q,set:V});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>it.value,set:Ot=>it.value=Ot})}if(s)for(const q in s)Zd(s[q],n,r,q);if(l){const q=vt(l)?l.call(r):l;Reflect.ownKeys(q).forEach(U=>{_s(U,q[U])})}f&&qd(f,e,"c");function Y(q,U){at(U)?U.forEach(Q=>q(Q.bind(r))):U&&q(U.bind(r))}if(Y(yx,c),Y(Yd,h),Y(mx,v),Y(_x,d),Y(dx,y),Y(px,p),Y(Tx,C),Y(xx,b),Y(bx,x),Y(Xd,m),Y(cf,S),Y(Sx,M),at(L))if(L.length){const q=e.exposed||(e.exposed={});L.forEach(U=>{Object.defineProperty(q,U,{get:()=>r[U],set:Q=>r[U]=Q})})}else e.exposed||(e.exposed={});w&&e.render===qe&&(e.render=w),I!=null&&(e.inheritAttrs=I),P&&(e.components=P),E&&(e.directives=E)}function Mx(e,t,r=qe,n=!1){at(e)&&(e=vf(e));for(const i in e){const a=e[i];let o;Vt(a)?"default"in a?o=xr(a.from||i,a.default,!0):o=xr(a.from||i):o=xr(a),Wt(o)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[i]=o}}function qd(e,t,r){Ee(at(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Zd(e,t,r,n){const i=n.includes(".")?Ip(r,n):()=>r[n];if(Qt(e)){const a=t[e];vt(a)&&La(i,a)}else if(vt(e))La(i,e.bind(r));else if(Vt(e))if(at(e))e.forEach(a=>Zd(a,t,r,n));else{const a=vt(e.handler)?e.handler.bind(r):t[e.handler];vt(a)&&La(i,a,e)}}function Kd(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=>ws(l,u,o,!0)),ws(l,t,o)),a.set(t,l),l}function ws(e,t,r,n=!1){const{mixins:i,extends:a}=t;a&&ws(e,a,r,!0),i&&i.forEach(o=>ws(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const s=Dx[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const Dx={data:jd,props:xn,emits:xn,methods:xn,computed:xn,beforeCreate:ne,created:ne,beforeMount:ne,mounted:ne,beforeUpdate:ne,updated:ne,beforeDestroy:ne,beforeUnmount:ne,destroyed:ne,unmounted:ne,activated:ne,deactivated:ne,errorCaptured:ne,serverPrefetch:ne,components:xn,directives:xn,watch:Px,provide:jd,inject:Ax};function jd(e,t){return t?e?function(){return jt(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function Ax(e,t){return xn(vf(e),vf(t))}function vf(e){if(at(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[h,v]=Jd(c,t,!0);jt(o,h),v&&s.push(...v)};!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,mi),mi;if(at(a))for(let f=0;f-1,v[1]=y<0||d-1||_t(v,"default"))&&s.push(c)}}}const u=[o,s];return n.set(e,u),u}function tp(e){return e[0]!=="$"}function ep(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function rp(e,t){return ep(e)===ep(t)}function np(e,t){return at(t)?t.findIndex(r=>rp(r,e)):vt(t)&&rp(t,e)?0:-1}const ip=e=>e[0]==="_"||e==="$stable",pf=e=>at(e)?e.map(or):[or(e)],Ex=(e,t,r)=>{const n=ax((...i)=>pf(t(...i)),r);return n._c=!1,n},ap=(e,t,r)=>{const n=e._ctx;for(const i in e){if(ip(i))continue;const a=e[i];if(vt(a))t[i]=Ex(i,a,n);else if(a!=null){const o=pf(a);t[i]=()=>o}}},op=(e,t)=>{const r=pf(t);e.slots.default=()=>r},Rx=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=St(t),us(t,"_",r)):ap(t,e.slots={})}else e.slots={},t&&op(e,t);us(e.slots,Ms,1)},Ox=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,o=It;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:(jt(i,t),!r&&s===1&&delete i._):(a=!t.$stable,ap(t,i)),o=t}else t&&(op(e,t),o={default:1});if(a)for(const s in i)!ip(s)&&!(s in o)&&delete i[s]};function SF(e,t){const r=be;if(r===null)return e;const n=r.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;agf(h,t&&(at(t)?t[v]:t),r,n,i));return}if(ff(n)&&!i)return;const a=n.shapeFlag&4?bf(n.component)||n.component.proxy:n.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,f=s.refs===It?s.refs={}:s.refs,c=s.setupState;if(u!=null&&u!==l&&(Qt(u)?(f[u]=null,_t(c,u)&&(c[u]=null)):Wt(u)&&(u.value=null)),vt(l))Wr(l,s,12,[o,f]);else{const h=Qt(l),v=Wt(l);if(h||v){const d=()=>{if(e.f){const y=h?f[l]:l.value;i?at(y)&&Hu(y,a):at(y)?y.includes(a)||y.push(a):h?f[l]=[a]:(l.value=[a],e.k&&(f[e.k]=l.value))}else h?(f[l]=o,_t(c,l)&&(c[l]=o)):Wt(l)&&(l.value=o,e.k&&(f[e.k]=o))};o?(d.id=-1,ce(d,r)):d()}}}const ce=cx;function Fx(e){return Nx(e)}function Nx(e,t){const r=ww();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=qe,cloneNode:d,insertStaticContent:y}=e,p=(T,A,R,F=null,N=null,$=null,X=!1,H=null,W=!!A.dynamicChildren)=>{if(T===A)return;T&&!Dn(T,A)&&(F=tt(T),pt(T,N,$,!0),T=null),A.patchFlag===-2&&(W=!1,A.dynamicChildren=null);const{type:z,ref:rt,shapeFlag:J}=A;switch(z){case yf:g(T,A,R,F);break;case Ke:m(T,A,R,F);break;case xs:T==null&&_(A,R,F,X);break;case Le:E(T,A,R,F,N,$,X,H,W);break;default:J&1?b(T,A,R,F,N,$,X,H,W):J&6?B(T,A,R,F,N,$,X,H,W):(J&64||J&128)&&z.process(T,A,R,F,N,$,X,H,W,gt)}rt!=null&&N&&gf(rt,T&&T.ref,$,A||T,!A)},g=(T,A,R,F)=>{if(T==null)n(A.el=s(A.children),R,F);else{const N=A.el=T.el;A.children!==T.children&&u(N,A.children)}},m=(T,A,R,F)=>{T==null?n(A.el=l(A.children||""),R,F):A.el=T.el},_=(T,A,R,F)=>{[T.el,T.anchor]=y(T.children,A,R,F)},S=({el:T,anchor:A},R,F)=>{let N;for(;T&&T!==A;)N=h(T),n(T,R,F),T=N;n(A,R,F)},w=({el:T,anchor:A})=>{let R;for(;T&&T!==A;)R=h(T),i(T),T=R;i(A)},b=(T,A,R,F,N,$,X,H,W)=>{X=X||A.type==="svg",T==null?x(A,R,F,N,$,X,H,W):L(T,A,N,$,X,H,W)},x=(T,A,R,F,N,$,X,H)=>{let W,z;const{type:rt,props:J,shapeFlag:nt,transition:lt,patchFlag:mt,dirs:Ft}=T;if(T.el&&d!==void 0&&mt===-1)W=T.el=d(T.el);else{if(W=T.el=o(T.type,$,J&&J.is,J),nt&8?f(W,T.children):nt&16&&M(T.children,W,null,F,N,$&&rt!=="foreignObject",X,H),Ft&&Tn(T,null,F,"created"),J){for(const Bt in J)Bt!=="value"&&!as(Bt)&&a(W,Bt,null,J[Bt],$,T.children,F,N,G);"value"in J&&a(W,"value",null,J.value),(z=J.onVnodeBeforeMount)&&sr(z,F,T)}C(W,T,T.scopeId,X,F)}Ft&&Tn(T,null,F,"beforeMount");const Pt=(!N||N&&!N.pendingBranch)&<&&!lt.persisted;Pt&<.beforeEnter(W),n(W,A,R),((z=J&&J.onVnodeMounted)||Pt||Ft)&&ce(()=>{z&&sr(z,F,T),Pt&<.enter(W),Ft&&Tn(T,null,F,"mounted")},N)},C=(T,A,R,F,N)=>{if(R&&v(T,R),F)for(let $=0;${for(let z=W;z{const H=A.el=T.el;let{patchFlag:W,dynamicChildren:z,dirs:rt}=A;W|=T.patchFlag&16;const J=T.props||It,nt=A.props||It;let lt;R&&Cn(R,!1),(lt=nt.onVnodeBeforeUpdate)&&sr(lt,R,A,T),rt&&Tn(A,T,R,"beforeUpdate"),R&&Cn(R,!0);const mt=N&&A.type!=="foreignObject";if(z?I(T.dynamicChildren,z,H,R,F,mt,$):X||Q(T,A,H,null,R,F,mt,$,!1),W>0){if(W&16)P(H,A,J,nt,R,F,N);else if(W&2&&J.class!==nt.class&&a(H,"class",null,nt.class,N),W&4&&a(H,"style",J.style,nt.style,N),W&8){const Ft=A.dynamicProps;for(let Pt=0;Pt{lt&&sr(lt,R,A,T),rt&&Tn(A,T,R,"updated")},F)},I=(T,A,R,F,N,$,X)=>{for(let H=0;H{if(R!==F){for(const H in F){if(as(H))continue;const W=F[H],z=R[H];W!==z&&H!=="value"&&a(T,H,z,W,X,A.children,N,$,G)}if(R!==It)for(const H in R)!as(H)&&!(H in F)&&a(T,H,R[H],null,X,A.children,N,$,G);"value"in F&&a(T,"value",R.value,F.value)}},E=(T,A,R,F,N,$,X,H,W)=>{const z=A.el=T?T.el:s(""),rt=A.anchor=T?T.anchor:s("");let{patchFlag:J,dynamicChildren:nt,slotScopeIds:lt}=A;lt&&(H=H?H.concat(lt):lt),T==null?(n(z,R,F),n(rt,R,F),M(A.children,R,rt,N,$,X,H,W)):J>0&&J&64&&nt&&T.dynamicChildren?(I(T.dynamicChildren,nt,R,N,$,X,H),(A.key!=null||N&&A===N.subTree)&&lp(T,A,!0)):Q(T,A,R,rt,N,$,X,H,W)},B=(T,A,R,F,N,$,X,H,W)=>{A.slotScopeIds=H,T==null?A.shapeFlag&512?N.ctx.activate(A,R,F,X,W):k(A,R,F,N,$,X,W):Y(T,A,W)},k=(T,A,R,F,N,$,X)=>{const H=T.component=jx(T,F,N);if(Ss(T)&&(H.ctx.renderer=gt),Qx(H),H.asyncDep){if(N&&N.registerDep(H,q),!T.el){const W=H.subTree=ie(Ke);m(null,W,A,R)}return}q(H,T,A,R,N,$,X)},Y=(T,A,R)=>{const F=A.component=T.component;if(lx(T,A,R))if(F.asyncDep&&!F.asyncResolved){U(F,A,R);return}else F.next=A,oT(F.update),F.update();else A.component=T.component,A.el=T.el,F.vnode=A},q=(T,A,R,F,N,$,X)=>{const H=()=>{if(T.isMounted){let{next:rt,bu:J,u:nt,parent:lt,vnode:mt}=T,Ft=rt,Pt;Cn(T,!1),rt?(rt.el=mt.el,U(T,rt,X)):rt=mt,J&&ls(J),(Pt=rt.props&&rt.props.onVnodeBeforeUpdate)&&sr(Pt,lt,rt,mt),Cn(T,!0);const Bt=of(T),Xe=T.subTree;T.subTree=Bt,p(Xe,Bt,c(Xe.el),tt(Xe),T,N,$),rt.el=Bt.el,Ft===null&&ux(T,Bt.el),nt&&ce(nt,N),(Pt=rt.props&&rt.props.onVnodeUpdated)&&ce(()=>sr(Pt,lt,rt,mt),N)}else{let rt;const{el:J,props:nt}=A,{bm:lt,m:mt,parent:Ft}=T,Pt=ff(A);if(Cn(T,!1),lt&&ls(lt),!Pt&&(rt=nt&&nt.onVnodeBeforeMount)&&sr(rt,Ft,A),Cn(T,!0),J&&ot){const Bt=()=>{T.subTree=of(T),ot(J,T.subTree,T,N,null)};Pt?A.type.__asyncLoader().then(()=>!T.isUnmounted&&Bt()):Bt()}else{const Bt=T.subTree=of(T);p(null,Bt,R,F,T,N,$),A.el=Bt.el}if(mt&&ce(mt,N),!Pt&&(rt=nt&&nt.onVnodeMounted)){const Bt=A;ce(()=>sr(rt,Ft,Bt),N)}A.shapeFlag&256&&T.a&&ce(T.a,N),T.isMounted=!0,A=R=F=null}},W=T.effect=new qu(H,()=>xp(T.update),T.scope),z=T.update=W.run.bind(W);z.id=T.uid,Cn(T,!0),z()},U=(T,A,R)=>{A.component=T;const F=T.vnode.props;T.vnode=A,T.next=null,Lx(T,A.props,F,R),Ox(T,A.children,R),xi(),Mf(void 0,T.update),wn()},Q=(T,A,R,F,N,$,X,H,W=!1)=>{const z=T&&T.children,rt=T?T.shapeFlag:0,J=A.children,{patchFlag:nt,shapeFlag:lt}=A;if(nt>0){if(nt&128){it(z,J,R,F,N,$,X,H,W);return}else if(nt&256){V(z,J,R,F,N,$,X,H,W);return}}lt&8?(rt&16&&G(z,N,$),J!==z&&f(R,J)):rt&16?lt&16?it(z,J,R,F,N,$,X,H,W):G(z,N,$,!0):(rt&8&&f(R,""),lt&16&&M(J,R,F,N,$,X,H,W))},V=(T,A,R,F,N,$,X,H,W)=>{T=T||mi,A=A||mi;const z=T.length,rt=A.length,J=Math.min(z,rt);let nt;for(nt=0;ntrt?G(T,N,$,!0,!1,J):M(A,R,F,N,$,X,H,W,J)},it=(T,A,R,F,N,$,X,H,W)=>{let z=0;const rt=A.length;let J=T.length-1,nt=rt-1;for(;z<=J&&z<=nt;){const lt=T[z],mt=A[z]=W?Ur(A[z]):or(A[z]);if(Dn(lt,mt))p(lt,mt,R,null,N,$,X,H,W);else break;z++}for(;z<=J&&z<=nt;){const lt=T[J],mt=A[nt]=W?Ur(A[nt]):or(A[nt]);if(Dn(lt,mt))p(lt,mt,R,null,N,$,X,H,W);else break;J--,nt--}if(z>J){if(z<=nt){const lt=nt+1,mt=ltnt)for(;z<=J;)pt(T[z],N,$,!0),z++;else{const lt=z,mt=z,Ft=new Map;for(z=mt;z<=nt;z++){const _e=A[z]=W?Ur(A[z]):or(A[z]);_e.key!=null&&Ft.set(_e.key,z)}let Pt,Bt=0;const Xe=nt-mt+1;let yi=!1,id=0;const ma=new Array(Xe);for(z=0;z=Xe){pt(_e,N,$,!0);continue}let ir;if(_e.key!=null)ir=Ft.get(_e.key);else for(Pt=mt;Pt<=nt;Pt++)if(ma[Pt-mt]===0&&Dn(_e,A[Pt])){ir=Pt;break}ir===void 0?pt(_e,N,$,!0):(ma[ir-mt]=z+1,ir>=id?id=ir:yi=!0,p(_e,A[ir],R,null,N,$,X,H,W),Bt++)}const ad=yi?zx(ma):mi;for(Pt=ad.length-1,z=Xe-1;z>=0;z--){const _e=mt+z,ir=A[_e],od=_e+1{const{el:$,type:X,transition:H,children:W,shapeFlag:z}=T;if(z&6){Ot(T.component.subTree,A,R,F);return}if(z&128){T.suspense.move(A,R,F);return}if(z&64){X.move(T,A,R,gt);return}if(X===Le){n($,A,R);for(let J=0;JH.enter($),N);else{const{leave:J,delayLeave:nt,afterLeave:lt}=H,mt=()=>n($,A,R),Ft=()=>{J($,()=>{mt(),lt&<()})};nt?nt($,mt,Ft):Ft()}else n($,A,R)},pt=(T,A,R,F=!1,N=!1)=>{const{type:$,props:X,ref:H,children:W,dynamicChildren:z,shapeFlag:rt,patchFlag:J,dirs:nt}=T;if(H!=null&&gf(H,null,R,T,!0),rt&256){A.ctx.deactivate(T);return}const lt=rt&1&&nt,mt=!ff(T);let Ft;if(mt&&(Ft=X&&X.onVnodeBeforeUnmount)&&sr(Ft,A,T),rt&6)j(T.component,R,F);else{if(rt&128){T.suspense.unmount(R,F);return}lt&&Tn(T,null,A,"beforeUnmount"),rt&64?T.type.remove(T,A,R,N,gt,F):z&&($!==Le||J>0&&J&64)?G(z,A,R,!1,!0):($===Le&&J&(128|256)||!N&&rt&16)&&G(W,A,R),F&&dt(T)}(mt&&(Ft=X&&X.onVnodeUnmounted)||lt)&&ce(()=>{Ft&&sr(Ft,A,T),lt&&Tn(T,null,A,"unmounted")},R)},dt=T=>{const{type:A,el:R,anchor:F,transition:N}=T;if(A===Le){O(R,F);return}if(A===xs){w(T);return}const $=()=>{i(R),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(T.shapeFlag&1&&N&&!N.persisted){const{leave:X,delayLeave:H}=N,W=()=>X(R,$);H?H(T.el,$,W):W()}else $()},O=(T,A)=>{let R;for(;T!==A;)R=h(T),i(T),T=R;i(A)},j=(T,A,R)=>{const{bum:F,scope:N,update:$,subTree:X,um:H}=T;F&&ls(F),N.stop(),$&&($.active=!1,pt(X,T,A,R)),H&&ce(H,A),ce(()=>{T.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},G=(T,A,R,F=!1,N=!1,$=0)=>{for(let X=$;XT.shapeFlag&6?tt(T.component.subTree):T.shapeFlag&128?T.suspense.next():h(T.anchor||T.el),bt=(T,A,R)=>{T==null?A._vnode&&pt(A._vnode,null,null,!0):p(A._vnode||null,T,A,null,null,null,R),Mp(),A._vnode=T},gt={p,um:pt,m:Ot,r:dt,mt:k,mc:M,pc:Q,pbc:I,n:tt,o:e};let ct,ot;return t&&([ct,ot]=t(gt)),{render:bt,hydrate:ct,createApp:Bx(bt,ct)}}function Cn({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function lp(e,t,r=!1){const n=e.children,i=t.children;if(at(n)&&at(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 Hx=e=>e.__isTeleport,up="components";function bF(e,t){return Gx(up,e,!0,t)||e}const Vx=Symbol();function Gx(e,t,r=!0,n=!1){const i=be||qt;if(i){const a=i.type;if(e===up){const s=rT(a);if(s&&(s===t||s===ar(t)||s===ss(ar(t))))return a}const o=fp(i[e]||a[e],t)||fp(i.appContext[e],t);return!o&&n?a:o}}function fp(e,t){return e&&(e[t]||e[ar(t)]||e[ss(ar(t))])}const Le=Symbol(void 0),yf=Symbol(void 0),Ke=Symbol(void 0),xs=Symbol(void 0),Ma=[];let Mn=null;function cp(e=!1){Ma.push(Mn=e?null:[])}function $x(){Ma.pop(),Mn=Ma[Ma.length-1]||null}let Ts=1;function hp(e){Ts+=e}function vp(e){return e.dynamicChildren=Ts>0?Mn||mi:null,$x(),Ts>0&&Mn&&Mn.push(e),e}function wF(e,t,r,n,i,a){return vp(gp(e,t,r,n,i,a,!0))}function dp(e,t,r,n,i){return vp(ie(e,t,r,n,i,!0))}function Cs(e){return e?e.__v_isVNode===!0:!1}function Dn(e,t){return e.type===t.type&&e.key===t.key}const Ms="__vInternal",pp=({key:e})=>e!=null?e:null,Ds=({ref:e,ref_key:t,ref_for:r})=>e!=null?Qt(e)||Wt(e)||vt(e)?{i:be,r:e,k:t,f:!!r}:e:null;function gp(e,t=null,r=null,n=0,i=null,a=e===Le?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pp(t),ref:t&&Ds(t),scopeId:ys,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?(mf(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Qt(r)?8:16),Ts>0&&!o&&Mn&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Mn.push(l),l}const ie=Ux;function Ux(e,t=null,r=null,n=0,i=null,a=!1){if((!e||e===Vx)&&(e=Ke),Cs(e)){const s=Mi(e,t,!0);return r&&mf(s,r),s}if(nT(e)&&(e=e.__vccOpts),t){t=Wx(t);let{class:s,style:l}=t;s&&!Qt(s)&&(t.class=Fu(s)),Vt(l)&&(Rd(l)&&!at(l)&&(l=jt({},l)),t.style=Bu(l))}const o=Qt(e)?1:fx(e)?128:Hx(e)?64:Vt(e)?4:vt(e)?2:0;return gp(e,t,r,n,i,o,a,!0)}function Wx(e){return e?Rd(e)||Ms in e?jt({},e):e:null}function Mi(e,t,r=!1){const{props:n,ref:i,patchFlag:a,children:o}=e,s=t?Xx(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&pp(s),ref:t&&t.ref?r&&i?at(i)?i.concat(Ds(t)):[i,Ds(t)]:Ds(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!==Le?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&&Mi(e.ssContent),ssFallback:e.ssFallback&&Mi(e.ssFallback),el:e.el,anchor:e.anchor}}function Yx(e=" ",t=0){return ie(yf,null,e,t)}function xF(e,t){const r=ie(xs,null,e);return r.staticCount=t,r}function TF(e="",t=!1){return t?(cp(),dp(Ke,null,e)):ie(Ke,null,e)}function or(e){return e==null||typeof e=="boolean"?ie(Ke):at(e)?ie(Le,null,e.slice()):typeof e=="object"?Ur(e):ie(yf,null,String(e))}function Ur(e){return e.el===null||e.memo?e:Mi(e)}function mf(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(at(t))r=16;else if(typeof t=="object")if(n&(1|64)){const i=t.default;i&&(i._c&&(i._d=!1),mf(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!(Ms in t)?t._ctx=be:i===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:be},r=32):(t=String(t),n&64?(r=16,t=[Yx(t)]):r=8);e.children=t,e.shapeFlag|=r}function Xx(...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;sCs(t)?!(t.type===Ke||t.type===Le&&!yp(t.children)):!0)?e:null}const _f=e=>e?mp(e)?bf(e)||e.proxy:_f(e.parent):null,As=jt(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=>_f(e.parent),$root:e=>_f(e.root),$emit:e=>e.emit,$options:e=>Kd(e),$forceUpdate:e=>()=>xp(e.update),$nextTick:e=>Cf.bind(e.proxy),$watch:e=>uT.bind(e)}),qx={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 v=o[t];if(v!==void 0)switch(v){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return a[t]}else{if(n!==It&&_t(n,t))return o[t]=1,n[t];if(i!==It&&_t(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&_t(u,t))return o[t]=3,a[t];if(r!==It&&_t(r,t))return o[t]=4,r[t];hf&&(o[t]=0)}}const f=As[t];let c,h;if(f)return t==="$attrs"&&Se(e,"get",t),f(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(r!==It&&_t(r,t))return o[t]=4,r[t];if(h=l.config.globalProperties,_t(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;if(i!==It&&_t(i,t))i[t]=r;else if(n!==It&&_t(n,t))n[t]=r;else if(_t(e.props,t))return!1;return 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!==It&&_t(e,o)||t!==It&&_t(t,o)||(s=a[0])&&_t(s,o)||_t(n,o)||_t(As,o)||_t(i.config.globalProperties,o)}},Zx=sp();let Kx=0;function jx(e,t,r){const n=e.type,i=(t?t.appContext:e.appContext)||Zx,a={uid:Kx++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new dd(!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:Jd(n,i),emitsOptions:Nd(n,i),emit:null,emitted:null,propsDefaults:It,inheritAttrs:n.inheritAttrs,ctx:It,data:It,props:It,attrs:It,slots:It,refs:It,setupState:It,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=ix.bind(null,a),e.ce&&e.ce(a),a}let qt=null;const Sf=()=>qt||be,Di=e=>{qt=e,e.scope.on()},An=()=>{qt&&qt.scope.off(),qt=null};function mp(e){return e.vnode.shapeFlag&4}let Ps=!1;function Qx(e,t=!1){Ps=t;const{props:r,children:n}=e.vnode,i=mp(e);Ix(e,r,i,t),Rx(e,n);const a=i?Jx(e,t):void 0;return Ps=!1,a}function Jx(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Ci(new Proxy(e.ctx,qx));const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?eT(e):null;Di(e),xi();const a=Wr(n,e,0,[e.props,i]);if(wn(),An(),fd(a)){if(a.then(An,An),t)return a.then(o=>{_p(e,o,t)}).catch(o=>{Is(o,e,0)});e.asyncDep=a}else _p(e,a,t)}else bp(e,t)}function _p(e,t,r){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Vt(t)&&(e.setupState=Fd(t)),bp(e,r)}let Sp;function bp(e,t,r){const n=e.type;if(!e.render){if(!t&&Sp&&!n.render){const i=n.template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=jt(jt({isCustomElement:a,delimiters:s},o),l);n.render=Sp(i,u)}}e.render=n.render||qe}Di(e),xi(),Cx(e),wn(),An()}function tT(e){return new Proxy(e.attrs,{get(t,r){return Se(e,"get","$attrs"),t[r]}})}function eT(e){const t=n=>{e.exposed=n||{}};let r;return{get attrs(){return r||(r=tT(e))},slots:e.slots,emit:e.emit,expose:t}}function bf(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Fd(Ci(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in As)return As[r](e)}}))}function rT(e){return vt(e)&&e.displayName||e.name}function nT(e){return vt(e)&&"__vccOpts"in e}function Wr(e,t,r,n){let i;try{i=n?e(...n):e()}catch(a){Is(a,t,r)}return i}function Ee(e,t,r,n){if(vt(e)){const a=Wr(e,t,r,n);return a&&fd(a)&&a.catch(o=>{Is(o,t,r)}),a}const i=[];for(let a=0;a>>1;Ia(we[n])Cr&&we.splice(t,1)}function Cp(e,t,r,n){at(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?n+1:n))&&r.push(e),Tp()}function sT(e){Cp(e,Aa,Da,Ai)}function lT(e){Cp(e,Yr,Pa,Pi)}function Mf(e,t=null){if(Da.length){for(Tf=t,Aa=[...new Set(Da)],Da.length=0,Ai=0;AiIa(r)-Ia(n)),Pi=0;Pie.id==null?1/0:e.id;function Dp(e){wf=!1,Ls=!0,Mf(e),we.sort((r,n)=>Ia(r)-Ia(n));const t=qe;try{for(Cr=0;Cre.value,u=!!e._shallow):$r(e)?(l=()=>e,n=!0):at(e)?(f=!0,u=e.some($r),l=()=>e.map(g=>{if(Wt(g))return g.value;if($r(g))return Pn(g);if(vt(g))return Wr(g,s,2)})):vt(e)?t?l=()=>Wr(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return c&&c(),Ee(e,s,3,[h])}:l=qe,t&&n){const g=l;l=()=>Pn(g())}let c,h=g=>{c=p.onStop=()=>{Wr(g,s,4)}};if(Ps)return h=qe,t?r&&Ee(t,s,3,[l(),f?[]:void 0,h]):l(),qe;let v=f?[]:Ap;const d=()=>{if(!!p.active)if(t){const g=p.run();(n||u||(f?g.some((m,_)=>Sa(m,v[_])):Sa(g,v)))&&(c&&c(),Ee(t,s,3,[g,v===Ap?void 0:v,h]),v=g)}else p.run()};d.allowRecurse=!!t;let y;i==="sync"?y=d:i==="post"?y=()=>ce(d,s&&s.suspense):y=()=>{!s||s.isMounted?sT(d):d()};const p=new qu(l,y);return t?r?d():v=p.run():i==="post"?ce(p.run.bind(p),s&&s.suspense):p.run(),()=>{p.stop(),s&&s.scope&&Hu(s.scope.effects,p)}}function uT(e,t,r){const n=this.proxy,i=Qt(e)?e.includes(".")?Ip(n,e):()=>n[e]:e.bind(n,n);let a;vt(t)?a=t:(a=t.handler,r=t);const o=qt;Di(this);const s=Pp(i,a.bind(n),r);return o?Di(o):An(),s}function Ip(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i{Pn(r,t)});else if(hd(e))for(const r in e)Pn(e[r],t);return e}function Df(e,t,r){const n=arguments.length;return n===2?Vt(t)&&!at(t)?Cs(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Cs(r)&&(r=[r]),ie(e,t,r))}const fT="3.2.26",cT="http://www.w3.org/2000/svg",Ii=typeof document!="undefined"?document:null,Lp=new Map,hT={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?Ii.createElementNS(cT,e):Ii.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ii.createTextNode(e),createComment:e=>Ii.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ii.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){const i=r?r.previousSibling:t.lastChild;let a=Lp.get(e);if(!a){const o=Ii.createElement("template");if(o.innerHTML=n?`${e}`:e,a=o.content,n){const s=a.firstChild;for(;s.firstChild;)a.appendChild(s.firstChild);a.removeChild(s)}Lp.set(e,a)}return t.insertBefore(a.cloneNode(!0),r),[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function vT(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 dT(e,t,r){const n=e.style,i=Qt(r);if(r&&!i){for(const a in r)Af(n,a,r[a]);if(t&&!Qt(t))for(const a in t)r[a]==null&&Af(n,a,"")}else{const a=n.display;i?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const Ep=/\s*!important$/;function Af(e,t,r){if(at(r))r.forEach(n=>Af(e,t,n));else if(t.startsWith("--"))e.setProperty(t,r);else{const n=pT(e,t);Ep.test(r)?e.setProperty(bi(n),r.replace(Ep,""),"important"):e[n]=r}}const Rp=["Webkit","Moz","ms"],Pf={};function pT(e,t){const r=Pf[t];if(r)return r;let n=ar(t);if(n!=="filter"&&n in e)return Pf[t]=n;n=ss(n);for(let i=0;idocument.createEvent("Event").timeStamp&&(Es=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);kp=!!(e&&Number(e[1])<=53)}let If=0;const mT=Promise.resolve(),_T=()=>{If=0},ST=()=>If||(mT.then(_T),If=Es());function Xr(e,t,r,n){e.addEventListener(t,r,n)}function bT(e,t,r,n){e.removeEventListener(t,r,n)}function wT(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]=xT(t);if(n){const u=a[t]=TT(n,i);Xr(e,s,u,l)}else o&&(bT(e,s,o,l),a[t]=void 0)}}const Bp=/(?:Once|Passive|Capture)$/;function xT(e){let t;if(Bp.test(e)){t={};let r;for(;r=e.match(Bp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[bi(e.slice(2)),t]}function TT(e,t){const r=n=>{const i=n.timeStamp||Es();(kp||i>=r.attached-1)&&Ee(CT(n,r.value),t,5,[n])};return r.value=e,r.attached=ST(),r}function CT(e,t){if(at(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n(i))}else return t}const Fp=/^on[a-z]/,MT=(e,t,r,n,i=!1,a,o,s,l)=>{t==="class"?vT(e,n,i):t==="style"?dT(e,r,n):ns(t)?zu(t)||wT(e,t,r,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):DT(e,t,n,i))?yT(e,t,n,a,o,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),gT(e,t,n,i))};function DT(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&Fp.test(t)&&vt(r)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Fp.test(t)&&Qt(r)?!1:t in e}const qr="transition",Ea="animation",Np=(e,{slots:t})=>Df(Hd,AT(e),t);Np.displayName="Transition";const zp={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};Np.props=jt({},Hd.props,zp);const In=(e,t=[])=>{at(e)?e.forEach(r=>r(...t)):e&&e(...t)},Hp=e=>e?at(e)?e.some(t=>t.length>1):e.length>1:!1;function AT(e){const t={};for(const P in e)P in zp||(t[P]=e[P]);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:h=`${r}-leave-active`,leaveToClass:v=`${r}-leave-to`}=e,d=PT(i),y=d&&d[0],p=d&&d[1],{onBeforeEnter:g,onEnter:m,onEnterCancelled:_,onLeave:S,onLeaveCancelled:w,onBeforeAppear:b=g,onAppear:x=m,onAppearCancelled:C=_}=t,M=(P,E,B)=>{Li(P,E?f:s),Li(P,E?u:o),B&&B()},L=(P,E)=>{Li(P,v),Li(P,h),E&&E()},I=P=>(E,B)=>{const k=P?x:m,Y=()=>M(E,P,B);In(k,[E,Y]),Vp(()=>{Li(E,P?l:a),Zr(E,P?f:s),Hp(k)||Gp(E,n,y,Y)})};return jt(t,{onBeforeEnter(P){In(g,[P]),Zr(P,a),Zr(P,o)},onBeforeAppear(P){In(b,[P]),Zr(P,l),Zr(P,u)},onEnter:I(!1),onAppear:I(!0),onLeave(P,E){const B=()=>L(P,E);Zr(P,c),ET(),Zr(P,h),Vp(()=>{Li(P,c),Zr(P,v),Hp(S)||Gp(P,n,p,B)}),In(S,[P,B])},onEnterCancelled(P){M(P,!1),In(_,[P])},onAppearCancelled(P){M(P,!0),In(C,[P])},onLeaveCancelled(P){L(P),In(w,[P])}})}function PT(e){if(e==null)return null;if(Vt(e))return[Lf(e.enter),Lf(e.leave)];{const t=Lf(e);return[t,t]}}function Lf(e){return ba(e)}function Zr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function Li(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 Vp(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let IT=0;function Gp(e,t,r,n){const i=e._endId=++IT,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=LT(e,t);if(!o)return n();const u=o+"end";let f=0;const c=()=>{e.removeEventListener(u,h),a()},h=v=>{v.target===e&&++f>=l&&c()};setTimeout(()=>{f(r[d]||"").split(", "),i=n(qr+"Delay"),a=n(qr+"Duration"),o=$p(i,a),s=n(Ea+"Delay"),l=n(Ea+"Duration"),u=$p(s,l);let f=null,c=0,h=0;t===qr?o>0&&(f=qr,c=o,h=a.length):t===Ea?u>0&&(f=Ea,c=u,h=l.length):(c=Math.max(o,u),f=c>0?o>u?qr:Ea:null,h=f?f===qr?a.length:l.length:0);const v=f===qr&&/\b(transform|all)(,|$)/.test(r[qr+"Property"]);return{type:f,timeout:c,propCount:h,hasTransform:v}}function $p(e,t){for(;e.lengthUp(r)+Up(e[n])))}function Up(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ET(){return document.body.offsetHeight}const Ei=e=>{const t=e.props["onUpdate:modelValue"];return at(t)?r=>ls(t,r):t};function RT(e){e.target.composing=!0}function Wp(e){const t=e.target;t.composing&&(t.composing=!1,OT(t,"input"))}function OT(e,t){const r=document.createEvent("HTMLEvents");r.initEvent(t,!0,!0),e.dispatchEvent(r)}const DF={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e._assign=Ei(i);const a=n||i.props&&i.props.type==="number";Xr(e,t?"change":"input",o=>{if(o.target.composing)return;let s=e.value;r?s=s.trim():a&&(s=ba(s)),e._assign(s)}),r&&Xr(e,"change",()=>{e.value=e.value.trim()}),t||(Xr(e,"compositionstart",RT),Xr(e,"compositionend",Wp),Xr(e,"change",Wp))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:i}},a){if(e._assign=Ei(a),e.composing||document.activeElement===e&&(r||n&&e.value.trim()===t||(i||e.type==="number")&&ba(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},AF={deep:!0,created(e,t,r){e._assign=Ei(r),Xr(e,"change",()=>{const n=e._modelValue,i=Ra(e),a=e.checked,o=e._assign;if(at(n)){const s=Nu(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(Si(n)){const s=new Set(n);a?s.add(i):s.delete(i),o(s)}else o(qp(e,a))})},mounted:Yp,beforeUpdate(e,t,r){e._assign=Ei(r),Yp(e,t,r)}};function Yp(e,{value:t,oldValue:r},n){e._modelValue=t,at(t)?e.checked=Nu(t,n.props.value)>-1:Si(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=_a(t,qp(e,!0)))}const PF={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=Si(t);Xr(e,"change",()=>{const a=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?ba(Ra(o)):Ra(o));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=Ei(n)},mounted(e,{value:t}){Xp(e,t)},beforeUpdate(e,t,r){e._assign=Ei(r)},updated(e,{value:t}){Xp(e,t)}};function Xp(e,t){const r=e.multiple;if(!(r&&!at(t)&&!Si(t))){for(let n=0,i=e.options.length;n-1:a.selected=t.has(o);else if(_a(Ra(a),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ra(e){return"_value"in e?e._value:e.value}function qp(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const kT=["ctrl","shift","alt","meta"],BT={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)=>kT.some(r=>e[`${r}Key`]&&!t.includes(r))},IF=(e,t)=>(r,...n)=>{for(let i=0;i{Oa(e,!1)}):Oa(e,t))},beforeUnmount(e,{value:t}){Oa(e,t)}};function Oa(e,t){e.style.display=t?e._vod:"none"}const FT=jt({patchProp:MT},hT);let Zp;function NT(){return Zp||(Zp=Fx(FT))}const EF=(...e)=>{const t=NT().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=zT(n);if(!i)return;const a=t._component;!vt(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 zT(e){return Qt(e)?document.querySelector(e):e}var HT=!1;/*! - * pinia v2.0.9 - * (c) 2021 Eduardo San Martin Morote +function yh(t,e){const r=Object.create(null),n=t.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}const Uw="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Yw=yh(Uw);function My(t){return!!t||t===""}function _h(t){if(ot(t)){const e={};for(let r=0;r{if(r){const n=r.split(qw);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Sh(t){let e="";if(jt(t))e=t;else if(ot(t))for(let r=0;rGo(r,e))}const NB=t=>jt(t)?t:t==null?"":ot(t)||Wt(t)&&(t.toString===Py||!dt(t.toString))?JSON.stringify(t,Dy,2):String(t),Dy=(t,e)=>e&&e.__v_isRef?Dy(t,e.value):Wi(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:oa(e)?{[`Set(${e.size})`]:[...e.values()]}:Wt(e)&&!ot(e)&&!Iy(e)?String(e):e,Rt={},$i=[],tr=()=>{},jw=()=>!1,Qw=/^on[^a-z]/,zl=t=>Qw.test(t),bh=t=>t.startsWith("onUpdate:"),Jt=Object.assign,xh=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},Jw=Object.prototype.hasOwnProperty,bt=(t,e)=>Jw.call(t,e),ot=Array.isArray,Wi=t=>Hl(t)==="[object Map]",oa=t=>Hl(t)==="[object Set]",ed=t=>t instanceof Date,dt=t=>typeof t=="function",jt=t=>typeof t=="string",Th=t=>typeof t=="symbol",Wt=t=>t!==null&&typeof t=="object",Ay=t=>Wt(t)&&dt(t.then)&&dt(t.catch),Py=Object.prototype.toString,Hl=t=>Py.call(t),tb=t=>Hl(t).slice(8,-1),Iy=t=>Hl(t)==="[object Object]",Ch=t=>jt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Hs=yh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vl=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},eb=/-(\w)/g,pr=Vl(t=>t.replace(eb,(e,r)=>r?r.toUpperCase():"")),rb=/\B([A-Z])/g,sa=Vl(t=>t.replace(rb,"-$1").toLowerCase()),Gl=Vl(t=>t.charAt(0).toUpperCase()+t.slice(1)),xu=Vl(t=>t?`on${Gl(t)}`:""),mo=(t,e)=>!Object.is(t,e),Vs=(t,e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:r})},yo=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let rd;const nb=()=>rd||(rd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let br;class Ly{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&br&&(this.parent=br,this.index=(br.scopes||(br.scopes=[])).push(this)-1)}run(e){if(this.active)try{return br=this,e()}finally{br=this.parent}}on(){br=this}off(){br=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},Ry=t=>(t.w&dn)>0,Oy=t=>(t.n&dn)>0,ab=({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)?Ch(r)&&s.push(o.get("length")):(s.push(o.get(jn)),Wi(t)&&s.push(o.get(Kf)));break;case"delete":ot(t)||(s.push(o.get(jn)),Wi(t)&&s.push(o.get(Kf)));break;case"set":Wi(t)&&s.push(o.get(jn));break}if(s.length===1)s[0]&&Zf(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);Zf(Mh(l))}}function Zf(t,e){for(const r of ot(t)?t:[...t])(r!==cr||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const sb=yh("__proto__,__v_isRef,__isVue"),Ny=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(Th)),lb=Ah(),ub=Ah(!1,!0),fb=Ah(!0),id=cb();function cb(){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){la();const n=xt(this)[e].apply(this,r);return ua(),n}}),t}function Ah(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?Db:Gy:e?Vy:Hy).get(n))return n;const o=ot(n);if(!t&&o&&bt(id,i))return Reflect.get(id,i,a);const s=Reflect.get(n,i,a);return(Th(i)?Ny.has(i):sb(i))||(t||Ae(n,"get",i),e)?s:$t(s)?!o||!Ch(i)?s.value:s:Wt(s)?t?$y(s):fa(s):s}}const hb=Fy(),vb=Fy(!0);function Fy(t=!1){return function(r,n,i,a){let o=r[n];if(_o(o)&&$t(o)&&!$t(i))return!1;if(!t&&!_o(i)&&(Wy(i)||(i=xt(i),o=xt(o)),!ot(r)&&$t(o)&&!$t(i)))return o.value=i,!0;const s=ot(r)&&Ch(n)?Number(n)t,$l=t=>Reflect.getPrototypeOf(t);function jo(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}=$l(i),s=n?Ph:r?Eh:So;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 Qo(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 Jo(t,e=!1){return t=t.__v_raw,!e&&Ae(xt(t),"iterate",jn),Reflect.get(t,"size",t)}function ad(t){t=xt(t);const e=xt(this);return $l(e).has.call(e,t)||(e.add(t),Lr(e,"add",t,t)),this}function od(t,e){e=xt(e);const r=xt(this),{has:n,get:i}=$l(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?mo(e,o)&&Lr(r,"set",t,e):Lr(r,"add",t,e),this}function sd(t){const e=xt(this),{has:r,get:n}=$l(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&&Lr(e,"delete",t,void 0),a}function ld(){const t=xt(this),e=t.size!==0,r=t.clear();return e&&Lr(t,"clear",void 0,void 0),r}function ts(t,e){return function(n,i){const a=this,o=a.__v_raw,s=xt(o),l=e?Ph:t?Eh:So;return!t&&Ae(s,"iterate",jn),o.forEach((u,f)=>n.call(i,l(u),l(f),a))}}function es(t,e,r){return function(...n){const i=this.__v_raw,a=xt(i),o=Wi(a),s=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=i[t](...n),f=r?Ph:e?Eh:So;return!e&&Ae(a,"iterate",l?Kf:jn),{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 zr(t){return function(...e){return t==="delete"?!1:this}}function _b(){const t={get(a){return jo(this,a)},get size(){return Jo(this)},has:Qo,add:ad,set:od,delete:sd,clear:ld,forEach:ts(!1,!1)},e={get(a){return jo(this,a,!1,!0)},get size(){return Jo(this)},has:Qo,add:ad,set:od,delete:sd,clear:ld,forEach:ts(!1,!0)},r={get(a){return jo(this,a,!0)},get size(){return Jo(this,!0)},has(a){return Qo.call(this,a,!0)},add:zr("add"),set:zr("set"),delete:zr("delete"),clear:zr("clear"),forEach:ts(!0,!1)},n={get(a){return jo(this,a,!0,!0)},get size(){return Jo(this,!0)},has(a){return Qo.call(this,a,!0)},add:zr("add"),set:zr("set"),delete:zr("delete"),clear:zr("clear"),forEach:ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=es(a,!1,!1),r[a]=es(a,!0,!1),e[a]=es(a,!1,!0),n[a]=es(a,!0,!0)}),[t,r,e,n]}const[Sb,wb,bb,xb]=_b();function Ih(t,e){const r=e?t?xb:bb:t?wb:Sb;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 Tb={get:Ih(!1,!1)},Cb={get:Ih(!1,!0)},Mb={get:Ih(!0,!1)},Hy=new WeakMap,Vy=new WeakMap,Gy=new WeakMap,Db=new WeakMap;function Ab(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pb(t){return t.__v_skip||!Object.isExtensible(t)?0:Ab(tb(t))}function fa(t){return _o(t)?t:Lh(t,!1,zy,Tb,Hy)}function Ib(t){return Lh(t,!1,yb,Cb,Vy)}function $y(t){return Lh(t,!0,mb,Mb,Gy)}function Lh(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=Pb(t);if(o===0)return t;const s=new Proxy(t,o===2?n:r);return i.set(t,s),s}function ln(t){return _o(t)?ln(t.__v_raw):!!(t&&t.__v_isReactive)}function _o(t){return!!(t&&t.__v_isReadonly)}function Wy(t){return!!(t&&t.__v_isShallow)}function Uy(t){return ln(t)||_o(t)}function xt(t){const e=t&&t.__v_raw;return e?xt(e):t}function Zi(t){return ol(t,"__v_skip",!0),t}const So=t=>Wt(t)?fa(t):t,Eh=t=>Wt(t)?$y(t):t;function Yy(t){sn&&cr&&(t=xt(t),By(t.dep||(t.dep=Mh())))}function Xy(t,e){t=xt(t),t.dep&&Zf(t.dep)}function $t(t){return!!(t&&t.__v_isRef===!0)}function Rh(t){return qy(t,!1)}function Lb(t){return qy(t,!0)}function qy(t,e){return $t(t)?t:new Eb(t,e)}class Eb{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:So(e)}get value(){return Yy(this),this._value}set value(e){e=this.__v_isShallow?e:xt(e),mo(e,this._rawValue)&&(this._rawValue=e,this._value=this.__v_isShallow?e:So(e),Xy(this))}}function Za(t){return $t(t)?t.value:t}const Rb={get:(t,e,r)=>Za(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const i=t[e];return $t(i)&&!$t(r)?(i.value=r,!0):Reflect.set(t,e,r,n)}};function Ky(t){return ln(t)?t:new Proxy(t,Rb)}function Ob(t){const e=ot(t)?new Array(t.length):{};for(const r in t)e[r]=Bb(t,r);return e}class kb{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 Bb(t,e,r){const n=t[e];return $t(n)?n:new kb(t,e,r)}class Nb{constructor(e,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Dh(e,()=>{this._dirty||(this._dirty=!0,Xy(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=xt(this);return Yy(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Fb(t,e,r=!1){let n,i;const a=dt(t);return a?(n=t,i=tr):(n=t.get,i=t.set),new Nb(n,i,a||!i,r)}Promise.resolve();function un(t,e,r,n){let i;try{i=n?t(...n):t()}catch(a){Wl(a,e,r)}return i}function We(t,e,r,n){if(dt(t)){const a=un(t,e,r,n);return a&&Ay(a)&&a.catch(o=>{Wl(o,e,r)}),a}const i=[];for(let a=0;a>>1;wo(Te[n])Cr&&Te.splice(e,1)}function Jy(t,e,r,n){ot(t)?r.push(...t):(!e||!e.includes(t,t.allowRecurse?n+1:n))&&r.push(t),Qy()}function Gb(t){Jy(t,Ga,ja,Ri)}function $b(t){Jy(t,Qr,Qa,Oi)}function Bh(t,e=null){if(ja.length){for(Qf=e,Ga=[...new Set(ja)],ja.length=0,Ri=0;Riwo(r)-wo(n)),Oi=0;Oit.id==null?1/0:t.id;function e0(t){jf=!1,sl=!0,Bh(t),Te.sort((r,n)=>wo(r)-wo(n));const e=tr;try{for(Cr=0;Crv.trim()):c&&(i=r.map(yo))}let s,l=n[s=xu(e)]||n[s=xu(pr(e))];!l&&a&&(l=n[s=xu(sa(e))]),l&&We(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,We(u,t,6,i)}}function r0(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(!dt(t)){const l=u=>{const f=r0(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 Nh(t,e){return!t||!zl(e)?!1:(e=e.slice(2).replace(/Once$/,""),bt(t,e[0].toLowerCase()+e.slice(1))||bt(t,sa(e))||bt(t,e))}let Me=null,Ul=null;function ll(t){const e=Me;return Me=t,Ul=t&&t.type.__scopeId||null,e}function FB(t){Ul=t}function zB(){Ul=null}function Ub(t,e=Me,r){if(!e||t._n)return t;const n=(...i)=>{n._d&&_d(-1);const a=ll(e),o=t(...i);return ll(a),n._d&&_d(1),o};return n._n=!0,n._c=!0,n._d=!0,n}function Tu(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:m}=t;let p,g;const y=ll(t);try{if(r.shapeFlag&4){const S=i||n;p=ur(f.call(S,S,c,a,v,h,d)),g=l}else{const S=e;p=ur(S.length>1?S(a,{attrs:l,slots:s,emit:u}):S(a,null)),g=e.props?l:Yb(l)}}catch(S){to.length=0,Wl(S,t,1),p=ue(er)}let _=p;if(g&&m!==!1){const S=Object.keys(g),{shapeFlag:x}=_;S.length&&x&7&&(o&&S.some(bh)&&(g=Xb(g,o)),_=ji(_,g))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),p=_,ll(y),p}const Yb=t=>{let e;for(const r in t)(r==="class"||r==="style"||zl(r))&&((e||(e={}))[r]=t[r]);return e},Xb=(t,e)=>{const r={};for(const n in t)(!bh(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function qb(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?ud(n,o,u):!!o;if(l&8){const f=e.dynamicProps;for(let c=0;ct.__isSuspense;function jb(t,e){e&&e.pendingBranch?ot(t)?e.effects.push(...t):e.effects.push(t):$b(t)}function Gs(t,e){if(Kt){let r=Kt.provides;const n=Kt.parent&&Kt.parent.provides;n===r&&(r=Kt.provides=Object.create(n)),r[t]=e}}function Ar(t,e,r=!1){const n=Kt||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&&dt(e)?e.call(n.proxy):e}}const fd={};function Ja(t,e,r){return n0(t,e,r)}function n0(t,e,{immediate:r,deep:n,flush:i,onTrack:a,onTrigger:o}=Rt){const s=Kt;let l,u=!1,f=!1;if($t(t)?(l=()=>t.value,u=Wy(t)):ln(t)?(l=()=>t,n=!0):ot(t)?(f=!0,u=t.some(ln),l=()=>t.map(g=>{if($t(g))return g.value;if(ln(g))return qn(g);if(dt(g))return un(g,s,2)})):dt(t)?e?l=()=>un(t,s,2):l=()=>{if(!(s&&s.isUnmounted))return c&&c(),We(t,s,3,[h])}:l=tr,e&&n){const g=l;l=()=>qn(g())}let c,h=g=>{c=p.onStop=()=>{un(g,s,4)}};if(bo)return h=tr,e?r&&We(e,s,3,[l(),f?[]:void 0,h]):l(),tr;let v=f?[]:fd;const d=()=>{if(!!p.active)if(e){const g=p.run();(n||u||(f?g.some((y,_)=>mo(y,v[_])):mo(g,v)))&&(c&&c(),We(e,s,3,[g,v===fd?void 0:v,h]),v=g)}else p.run()};d.allowRecurse=!!e;let m;i==="sync"?m=d:i==="post"?m=()=>pe(d,s&&s.suspense):m=()=>{!s||s.isMounted?Gb(d):d()};const p=new Dh(l,m);return e?r?d():v=p.run():i==="post"?pe(p.run.bind(p),s&&s.suspense):p.run(),()=>{p.stop(),s&&s.scope&&xh(s.scope.effects,p)}}function Qb(t,e,r){const n=this.proxy,i=jt(t)?t.includes(".")?i0(n,t):()=>n[t]:t.bind(n,n);let a;dt(e)?a=e:(a=e.handler,r=e);const o=Kt;Qi(this);const s=n0(i,a.bind(n),r);return o?Qi(o):Jn(),s}function i0(t,e){const r=e.split(".");return()=>{let n=t;for(let i=0;i{qn(r,e)});else if(Iy(t))for(const r in t)qn(t[r],e);return t}function Jb(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return f0(()=>{t.isMounted=!0}),c0(()=>{t.isUnmounting=!0}),t}const Ie=[Function,Array],tx={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ie,onEnter:Ie,onAfterEnter:Ie,onEnterCancelled:Ie,onBeforeLeave:Ie,onLeave:Ie,onAfterLeave:Ie,onLeaveCancelled:Ie,onBeforeAppear:Ie,onAppear:Ie,onAfterAppear:Ie,onAppearCancelled:Ie},setup(t,{slots:e}){const r=Gh(),n=Jb();let i;return()=>{const a=e.default&&s0(e.default(),!0);if(!a||!a.length)return;const o=xt(t),{mode:s}=o,l=a[0];if(n.isLeaving)return Cu(l);const u=cd(l);if(!u)return Cu(l);const f=Jf(u,o,n,r);tc(u,f);const c=r.subTree,h=c&&cd(c);let v=!1;const{getTransitionKey:d}=u.type;if(d){const m=d();i===void 0?i=m:m!==i&&(i=m,v=!0)}if(h&&h.type!==er&&(!Un(u,h)||v)){const m=Jf(h,o,n,r);if(tc(h,m),s==="out-in")return n.isLeaving=!0,m.afterLeave=()=>{n.isLeaving=!1,r.update()},Cu(l);s==="in-out"&&u.type!==er&&(m.delayLeave=(p,g,y)=>{const _=o0(n,h);_[String(h.key)]=h,p._leaveCb=()=>{g(),p._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=y})}return l}}},a0=tx;function o0(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 Jf(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:m,onAppear:p,onAfterAppear:g,onAppearCancelled:y}=e,_=String(t.key),S=o0(r,t),x=(b,C)=>{b&&We(b,n,9,C)},w={mode:a,persisted:o,beforeEnter(b){let C=s;if(!r.isMounted)if(i)C=m||s;else return;b._leaveCb&&b._leaveCb(!0);const M=S[_];M&&Un(t,M)&&M.el._leaveCb&&M.el._leaveCb(),x(C,[b])},enter(b){let C=l,M=u,I=f;if(!r.isMounted)if(i)C=p||l,M=g||u,I=y||f;else return;let L=!1;const A=b._enterCb=E=>{L||(L=!0,E?x(I,[b]):x(M,[b]),w.delayedLeave&&w.delayedLeave(),b._enterCb=void 0)};C?(C(b,A),C.length<=1&&A()):A()},leave(b,C){const M=String(t.key);if(b._enterCb&&b._enterCb(!0),r.isUnmounting)return C();x(c,[b]);let I=!1;const L=b._leaveCb=A=>{I||(I=!0,C(),A?x(d,[b]):x(v,[b]),b._leaveCb=void 0,S[M]===t&&delete S[M])};S[M]=t,h?(h(b,L),h.length<=1&&L()):L()},clone(b){return Jf(b,e,r,n)}};return w}function Cu(t){if(Yl(t))return t=ji(t),t.children=null,t}function cd(t){return Yl(t)?t.children?t.children[0]:void 0:t}function tc(t,e){t.shapeFlag&6&&t.component?tc(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 s0(t,e=!1){let r=[],n=0;for(let i=0;i1)for(let i=0;i!!t.type.__asyncLoader,Yl=t=>t.type.__isKeepAlive;function ex(t,e){u0(t,"a",e)}function rx(t,e){u0(t,"da",e)}function u0(t,e,r=Kt){const n=t.__wdc||(t.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Xl(e,n,r),r){let i=r.parent;for(;i&&i.parent;)Yl(i.parent.vnode)&&nx(n,e,r,i),i=i.parent}}function nx(t,e,r,n){const i=Xl(e,t,n,!0);Fh(()=>{xh(n[e],i)},r)}function Xl(t,e,r=Kt,n=!1){if(r){const i=r[t]||(r[t]=[]),a=e.__weh||(e.__weh=(...o)=>{if(r.isUnmounted)return;la(),Qi(r);const s=We(e,r,t,o);return Jn(),ua(),s});return n?i.unshift(a):i.push(a),a}}const kr=t=>(e,r=Kt)=>(!bo||t==="sp")&&Xl(t,e,r),ix=kr("bm"),f0=kr("m"),ax=kr("bu"),ox=kr("u"),c0=kr("bum"),Fh=kr("um"),sx=kr("sp"),lx=kr("rtg"),ux=kr("rtc");function fx(t,e=Kt){Xl("ec",t,e)}let rc=!0;function cx(t){const e=v0(t),r=t.proxy,n=t.ctx;rc=!1,e.beforeCreate&&hd(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:m,deactivated:p,beforeDestroy:g,beforeUnmount:y,destroyed:_,unmounted:S,render:x,renderTracked:w,renderTriggered:b,errorCaptured:C,serverPrefetch:M,expose:I,inheritAttrs:L,components:A,directives:E,filters:O}=e;if(u&&hx(u,n,null,t.appContext.config.unwrapInjectedRef),o)for(const Q in o){const $=o[Q];dt($)&&(n[Q]=$.bind(r))}if(i){const Q=i.call(r,r);Wt(Q)&&(t.data=fa(Q))}if(rc=!0,a)for(const Q in a){const $=a[Q],Z=dt($)?$.bind(r,r):dt($.get)?$.get.bind(r,r):tr,lt=!dt($)&&dt($.set)?$.set.bind(r):tr,_t=Qe({get:Z,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)h0(s[Q],n,r,Q);if(l){const Q=dt(l)?l.call(r):l;Reflect.ownKeys(Q).forEach($=>{Gs($,Q[$])})}f&&hd(f,t,"c");function B(Q,$){ot($)?$.forEach(Z=>Q(Z.bind(r))):$&&Q($.bind(r))}if(B(ix,c),B(f0,h),B(ax,v),B(ox,d),B(ex,m),B(rx,p),B(fx,C),B(ux,w),B(lx,b),B(c0,y),B(Fh,S),B(sx,M),ot(I))if(I.length){const Q=t.exposed||(t.exposed={});I.forEach($=>{Object.defineProperty(Q,$,{get:()=>r[$],set:Z=>r[$]=Z})})}else t.exposed||(t.exposed={});x&&t.render===tr&&(t.render=x),L!=null&&(t.inheritAttrs=L),A&&(t.components=A),E&&(t.directives=E)}function hx(t,e,r=tr,n=!1){ot(t)&&(t=nc(t));for(const i in t){const a=t[i];let o;Wt(a)?"default"in a?o=Ar(a.from||i,a.default,!0):o=Ar(a.from||i):o=Ar(a),$t(o)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):e[i]=o}}function hd(t,e,r){We(ot(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function h0(t,e,r,n){const i=n.includes(".")?i0(r,n):()=>r[n];if(jt(t)){const a=e[t];dt(a)&&Ja(i,a)}else if(dt(t))Ja(i,t.bind(r));else if(Wt(t))if(ot(t))t.forEach(a=>h0(a,e,r,n));else{const a=dt(t.handler)?t.handler.bind(r):e[t.handler];dt(a)&&Ja(i,a,t)}}function v0(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=>ul(l,u,o,!0)),ul(l,e,o)),a.set(e,l),l}function ul(t,e,r,n=!1){const{mixins:i,extends:a}=e;a&&ul(t,a,r,!0),i&&i.forEach(o=>ul(t,o,r,!0));for(const o in e)if(!(n&&o==="expose")){const s=vx[o]||r&&r[o];t[o]=s?s(t[o],e[o]):e[o]}return t}const vx={data:vd,props:$n,emits:$n,methods:$n,computed:$n,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:$n,directives:$n,watch:px,provide:vd,inject:dx};function vd(t,e){return e?t?function(){return Jt(dt(t)?t.call(this,this):t,dt(e)?e.call(this,this):e)}:e:t}function dx(t,e){return $n(nc(t),nc(e))}function nc(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]=p0(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,$i),$i;if(ot(a))for(let f=0;f-1,v[1]=m<0||d-1||bt(v,"default"))&&s.push(c)}}}const u=[o,s];return n.set(t,u),u}function dd(t){return t[0]!=="$"}function pd(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function gd(t,e){return pd(t)===pd(e)}function md(t,e){return ot(e)?e.findIndex(r=>gd(r,t)):dt(e)&&gd(e,t)?0:-1}const g0=t=>t[0]==="_"||t==="$stable",zh=t=>ot(t)?t.map(ur):[ur(t)],yx=(t,e,r)=>{const n=Ub((...i)=>zh(e(...i)),r);return n._c=!1,n},m0=(t,e,r)=>{const n=t._ctx;for(const i in t){if(g0(i))continue;const a=t[i];if(dt(a))e[i]=yx(i,a,n);else if(a!=null){const o=zh(a);e[i]=()=>o}}},y0=(t,e)=>{const r=zh(e);t.slots.default=()=>r},_x=(t,e)=>{if(t.vnode.shapeFlag&32){const r=e._;r?(t.slots=xt(e),ol(e,"_",r)):m0(e,t.slots={})}else t.slots={},e&&y0(t,e);ol(t.slots,ql,1)},Sx=(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,m0(e,i)),o=e}else e&&(y0(t,e),o={default:1});if(a)for(const s in i)!g0(s)&&!(s in o)&&delete i[s]};function HB(t,e){const r=Me;if(r===null)return t;const n=r.proxy,i=t.dirs||(t.dirs=[]);for(let a=0;aac(h,e&&(ot(e)?e[v]:e),r,n,i));return}if(ec(n)&&!i)return;const a=n.shapeFlag&4?$h(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&&(jt(u)?(f[u]=null,bt(c,u)&&(c[u]=null)):$t(u)&&(u.value=null)),dt(l))un(l,s,12,[o,f]);else{const h=jt(l),v=$t(l);if(h||v){const d=()=>{if(t.f){const m=h?f[l]:l.value;i?ot(m)&&xh(m,a):ot(m)?m.includes(a)||m.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)):$t(l)&&(l.value=o,t.k&&(f[t.k]=o))};o?(d.id=-1,pe(d,r)):d()}}}const pe=jb;function Tx(t){return Cx(t)}function Cx(t,e){const r=nb();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=tr,cloneNode:d,insertStaticContent:m}=t,p=(T,P,R,N=null,F=null,U=null,j=!1,G=null,X=!!P.dynamicChildren)=>{if(T===P)return;T&&!Un(T,P)&&(N=tt(T),pt(T,F,U,!0),T=null),P.patchFlag===-2&&(X=!1,P.dynamicChildren=null);const{type:z,ref:it,shapeFlag:rt}=P;switch(z){case Hh:g(T,P,R,N);break;case er:y(T,P,R,N);break;case $s:T==null&&_(P,R,N,j);break;case Fe:E(T,P,R,N,F,U,j,G,X);break;default:rt&1?w(T,P,R,N,F,U,j,G,X):rt&6?O(T,P,R,N,F,U,j,G,X):(rt&64||rt&128)&&z.process(T,P,R,N,F,U,j,G,X,ut)}it!=null&&F&&ac(it,T&&T.ref,U,P||T,!P)},g=(T,P,R,N)=>{if(T==null)n(P.el=s(P.children),R,N);else{const F=P.el=T.el;P.children!==T.children&&u(F,P.children)}},y=(T,P,R,N)=>{T==null?n(P.el=l(P.children||""),R,N):P.el=T.el},_=(T,P,R,N)=>{[T.el,T.anchor]=m(T.children,P,R,N,T.el,T.anchor)},S=({el:T,anchor:P},R,N)=>{let F;for(;T&&T!==P;)F=h(T),n(T,R,N),T=F;n(P,R,N)},x=({el:T,anchor:P})=>{let R;for(;T&&T!==P;)R=h(T),i(T),T=R;i(P)},w=(T,P,R,N,F,U,j,G,X)=>{j=j||P.type==="svg",T==null?b(P,R,N,F,U,j,G,X):I(T,P,F,U,j,G,X)},b=(T,P,R,N,F,U,j,G)=>{let X,z;const{type:it,props:rt,shapeFlag:at,transition:ft,patchFlag:St,dirs:Ft}=T;if(T.el&&d!==void 0&&St===-1)X=T.el=d(T.el);else{if(X=T.el=o(T.type,U,rt&&rt.is,rt),at&8?f(X,T.children):at&16&&M(T.children,X,null,N,F,U&&it!=="foreignObject",j,G),Ft&&mn(T,null,N,"created"),rt){for(const Nt in rt)Nt!=="value"&&!Hs(Nt)&&a(X,Nt,null,rt[Nt],U,T.children,N,F,V);"value"in rt&&a(X,"value",null,rt.value),(z=rt.onVnodeBeforeMount)&&ir(z,N,T)}C(X,T,T.scopeId,j,N)}Ft&&mn(T,null,N,"beforeMount");const It=(!F||F&&!F.pendingBranch)&&ft&&!ft.persisted;It&&ft.beforeEnter(X),n(X,P,R),((z=rt&&rt.onVnodeMounted)||It||Ft)&&pe(()=>{z&&ir(z,N,T),It&&ft.enter(X),Ft&&mn(T,null,N,"mounted")},F)},C=(T,P,R,N,F)=>{if(R&&v(T,R),N)for(let U=0;U{for(let z=X;z{const G=P.el=T.el;let{patchFlag:X,dynamicChildren:z,dirs:it}=P;X|=T.patchFlag&16;const rt=T.props||Rt,at=P.props||Rt;let ft;R&&yn(R,!1),(ft=at.onVnodeBeforeUpdate)&&ir(ft,R,P,T),it&&mn(P,T,R,"beforeUpdate"),R&&yn(R,!0);const St=F&&P.type!=="foreignObject";if(z?L(T.dynamicChildren,z,G,R,N,St,U):j||Z(T,P,G,null,R,N,St,U,!1),X>0){if(X&16)A(G,P,rt,at,R,N,F);else if(X&2&&rt.class!==at.class&&a(G,"class",null,at.class,F),X&4&&a(G,"style",rt.style,at.style,F),X&8){const Ft=P.dynamicProps;for(let It=0;It{ft&&ir(ft,R,P,T),it&&mn(P,T,R,"updated")},N)},L=(T,P,R,N,F,U,j)=>{for(let G=0;G{if(R!==N){for(const G in N){if(Hs(G))continue;const X=N[G],z=R[G];X!==z&&G!=="value"&&a(T,G,z,X,j,P.children,F,U,V)}if(R!==Rt)for(const G in R)!Hs(G)&&!(G in N)&&a(T,G,R[G],null,j,P.children,F,U,V);"value"in N&&a(T,"value",R.value,N.value)}},E=(T,P,R,N,F,U,j,G,X)=>{const z=P.el=T?T.el:s(""),it=P.anchor=T?T.anchor:s("");let{patchFlag:rt,dynamicChildren:at,slotScopeIds:ft}=P;ft&&(G=G?G.concat(ft):ft),T==null?(n(z,R,N),n(it,R,N),M(P.children,R,it,F,U,j,G,X)):rt>0&&rt&64&&at&&T.dynamicChildren?(L(T.dynamicChildren,at,R,F,U,j,G),(P.key!=null||F&&P===F.subTree)&&S0(T,P,!0)):Z(T,P,R,it,F,U,j,G,X)},O=(T,P,R,N,F,U,j,G,X)=>{P.slotScopeIds=G,T==null?P.shapeFlag&512?F.ctx.activate(P,R,N,j,X):H(P,R,N,F,U,j,X):B(T,P,X)},H=(T,P,R,N,F,U,j)=>{const G=T.component=Fx(T,N,F);if(Yl(T)&&(G.ctx.renderer=ut),zx(G),G.asyncDep){if(F&&F.registerDep(G,Q),!T.el){const X=G.subTree=ue(er);y(null,X,P,R)}return}Q(G,T,P,R,F,U,j)},B=(T,P,R)=>{const N=P.component=T.component;if(qb(T,P,R))if(N.asyncDep&&!N.asyncResolved){$(N,P,R);return}else N.next=P,Vb(N.update),N.update();else P.component=T.component,P.el=T.el,N.vnode=P},Q=(T,P,R,N,F,U,j)=>{const G=()=>{if(T.isMounted){let{next:it,bu:rt,u:at,parent:ft,vnode:St}=T,Ft=it,It;yn(T,!1),it?(it.el=St.el,$(T,it,j)):it=St,rt&&Vs(rt),(It=it.props&&it.props.onVnodeBeforeUpdate)&&ir(It,ft,it,St),yn(T,!0);const Nt=Tu(T),Xe=T.subTree;T.subTree=Nt,p(Xe,Nt,c(Xe.el),tt(Xe),T,F,U),it.el=Nt.el,Ft===null&&Kb(T,Nt.el),at&&pe(at,F),(It=it.props&&it.props.onVnodeUpdated)&&pe(()=>ir(It,ft,it,St),F)}else{let it;const{el:rt,props:at}=P,{bm:ft,m:St,parent:Ft}=T,It=ec(P);if(yn(T,!1),ft&&Vs(ft),!It&&(it=at&&at.onVnodeBeforeMount)&&ir(it,Ft,P),yn(T,!0),rt&&K){const Nt=()=>{T.subTree=Tu(T),K(rt,T.subTree,T,F,null)};It?P.type.__asyncLoader().then(()=>!T.isUnmounted&&Nt()):Nt()}else{const Nt=T.subTree=Tu(T);p(null,Nt,R,N,T,F,U),P.el=Nt.el}if(St&&pe(St,F),!It&&(it=at&&at.onVnodeMounted)){const Nt=P;pe(()=>ir(it,Ft,Nt),F)}P.shapeFlag&256&&T.a&&pe(T.a,F),T.isMounted=!0,P=R=N=null}},X=T.effect=new Dh(G,()=>jy(T.update),T.scope),z=T.update=X.run.bind(X);z.id=T.uid,yn(T,!0),z()},$=(T,P,R)=>{P.component=T;const N=T.vnode.props;T.vnode=P,T.next=null,mx(T,P.props,N,R),Sx(T,P.children,R),la(),Bh(void 0,T.update),ua()},Z=(T,P,R,N,F,U,j,G,X=!1)=>{const z=T&&T.children,it=T?T.shapeFlag:0,rt=P.children,{patchFlag:at,shapeFlag:ft}=P;if(at>0){if(at&128){_t(z,rt,R,N,F,U,j,G,X);return}else if(at&256){lt(z,rt,R,N,F,U,j,G,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,G,X):V(z,F,U,!0):(it&8&&f(R,""),ft&16&&M(rt,R,N,F,U,j,G,X))},lt=(T,P,R,N,F,U,j,G,X)=>{T=T||$i,P=P||$i;const z=T.length,it=P.length,rt=Math.min(z,it);let at;for(at=0;atit?V(T,F,U,!0,!1,rt):M(P,R,N,F,U,j,G,X,rt)},_t=(T,P,R,N,F,U,j,G,X)=>{let z=0;const it=P.length;let rt=T.length-1,at=it-1;for(;z<=rt&&z<=at;){const ft=T[z],St=P[z]=X?en(P[z]):ur(P[z]);if(Un(ft,St))p(ft,St,R,null,F,U,j,G,X);else break;z++}for(;z<=rt&&z<=at;){const ft=T[rt],St=P[at]=X?en(P[at]):ur(P[at]);if(Un(ft,St))p(ft,St,R,null,F,U,j,G,X);else break;rt--,at--}if(z>rt){if(z<=at){const ft=at+1,St=ftat)for(;z<=rt;)pt(T[z],F,U,!0),z++;else{const ft=z,St=z,Ft=new Map;for(z=St;z<=at;z++){const be=P[z]=X?en(P[z]):ur(P[z]);be.key!=null&&Ft.set(be.key,z)}let It,Nt=0;const Xe=at-St+1;let pi=!1,Qv=0;const ma=new Array(Xe);for(z=0;z=Xe){pt(be,F,U,!0);continue}let nr;if(be.key!=null)nr=Ft.get(be.key);else for(It=St;It<=at;It++)if(ma[It-St]===0&&Un(be,P[It])){nr=It;break}nr===void 0?pt(be,F,U,!0):(ma[nr-St]=z+1,nr>=Qv?Qv=nr:pi=!0,p(be,P[nr],R,null,F,U,j,G,X),Nt++)}const Jv=pi?Mx(ma):$i;for(It=Jv.length-1,z=Xe-1;z>=0;z--){const be=St+z,nr=P[be],td=be+1{const{el:U,type:j,transition:G,children:X,shapeFlag:z}=T;if(z&6){mt(T.component.subTree,P,R,N);return}if(z&128){T.suspense.move(P,R,N);return}if(z&64){j.move(T,P,R,ut);return}if(j===Fe){n(U,P,R);for(let rt=0;rtG.enter(U),F);else{const{leave:rt,delayLeave:at,afterLeave:ft}=G,St=()=>n(U,P,R),Ft=()=>{rt(U,()=>{St(),ft&&ft()})};at?at(U,St,Ft):Ft()}else n(U,P,R)},pt=(T,P,R,N=!1,F=!1)=>{const{type:U,props:j,ref:G,children:X,dynamicChildren:z,shapeFlag:it,patchFlag:rt,dirs:at}=T;if(G!=null&&ac(G,null,R,T,!0),it&256){P.ctx.deactivate(T);return}const ft=it&1&&at,St=!ec(T);let Ft;if(St&&(Ft=j&&j.onVnodeBeforeUnmount)&&ir(Ft,P,T),it&6)W(T.component,R,N);else{if(it&128){T.suspense.unmount(R,N);return}ft&&mn(T,null,P,"beforeUnmount"),it&64?T.type.remove(T,P,R,F,ut,N):z&&(U!==Fe||rt>0&&rt&64)?V(z,P,R,!1,!0):(U===Fe&&rt&384||!F&&it&16)&&V(X,P,R),N&&At(T)}(St&&(Ft=j&&j.onVnodeUnmounted)||ft)&&pe(()=>{Ft&&ir(Ft,P,T),ft&&mn(T,null,P,"unmounted")},R)},At=T=>{const{type:P,el:R,anchor:N,transition:F}=T;if(P===Fe){k(R,N);return}if(P===$s){x(T);return}const U=()=>{i(R),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(T.shapeFlag&1&&F&&!F.persisted){const{leave:j,delayLeave:G}=F,X=()=>j(R,U);G?G(T.el,U,X):X()}else U()},k=(T,P)=>{let R;for(;T!==P;)R=h(T),i(T),T=R;i(P)},W=(T,P,R)=>{const{bum:N,scope:F,update:U,subTree:j,um:G}=T;N&&Vs(N),F.stop(),U&&(U.active=!1,pt(j,T,P,R)),G&&pe(G,P),pe(()=>{T.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},V=(T,P,R,N=!1,F=!1,U=0)=>{for(let j=U;jT.shapeFlag&6?tt(T.component.subTree):T.shapeFlag&128?T.suspense.next():h(T.anchor||T.el),ht=(T,P,R)=>{T==null?P._vnode&&pt(P._vnode,null,null,!0):p(P._vnode||null,T,P,null,null,null,R),t0(),P._vnode=T},ut={p,um:pt,m:mt,r:At,mt:H,mc:M,pc:Z,pbc:L,n:tt,o:t};let Y,K;return e&&([Y,K]=e(ut)),{render:ht,hydrate:Y,createApp:xx(ht,Y)}}function yn({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function S0(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 Dx=t=>t.__isTeleport,w0="components";function VB(t,e){return Px(w0,t,!0,e)||t}const Ax=Symbol();function Px(t,e,r=!0,n=!1){const i=Me||Kt;if(i){const a=i.type;if(t===w0){const s=$x(a);if(s&&(s===e||s===pr(e)||s===Gl(pr(e))))return a}const o=yd(i[t]||a[t],e)||yd(i.appContext[t],e);return!o&&n?a:o}}function yd(t,e){return t&&(t[e]||t[pr(e)]||t[Gl(pr(e))])}const Fe=Symbol(void 0),Hh=Symbol(void 0),er=Symbol(void 0),$s=Symbol(void 0),to=[];let Qn=null;function b0(t=!1){to.push(Qn=t?null:[])}function Ix(){to.pop(),Qn=to[to.length-1]||null}let fl=1;function _d(t){fl+=t}function x0(t){return t.dynamicChildren=fl>0?Qn||$i:null,Ix(),fl>0&&Qn&&Qn.push(t),t}function GB(t,e,r,n,i,a){return x0(M0(t,e,r,n,i,a,!0))}function T0(t,e,r,n,i){return x0(ue(t,e,r,n,i,!0))}function cl(t){return t?t.__v_isVNode===!0:!1}function Un(t,e){return t.type===e.type&&t.key===e.key}const ql="__vInternal",C0=({key:t})=>t!=null?t:null,Ws=({ref:t,ref_key:e,ref_for:r})=>t!=null?jt(t)||$t(t)||dt(t)?{i:Me,r:t,k:e,f:!!r}:t:null;function M0(t,e=null,r=null,n=0,i=null,a=t===Fe?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&C0(e),ref:e&&Ws(e),scopeId:Ul,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?(Vh(l,r),a&128&&t.normalize(l)):r&&(l.shapeFlag|=jt(r)?8:16),fl>0&&!o&&Qn&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Qn.push(l),l}const ue=Lx;function Lx(t,e=null,r=null,n=0,i=null,a=!1){if((!t||t===Ax)&&(t=er),cl(t)){const s=ji(t,e,!0);return r&&Vh(s,r),s}if(Wx(t)&&(t=t.__vccOpts),e){e=Ex(e);let{class:s,style:l}=e;s&&!jt(s)&&(e.class=Sh(s)),Wt(l)&&(Uy(l)&&!ot(l)&&(l=Jt({},l)),e.style=_h(l))}const o=jt(t)?1:Zb(t)?128:Dx(t)?64:Wt(t)?4:dt(t)?2:0;return M0(t,e,r,n,i,o,a,!0)}function Ex(t){return t?Uy(t)||ql in t?Jt({},t):t:null}function ji(t,e,r=!1){const{props:n,ref:i,patchFlag:a,children:o}=t,s=e?Ox(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&C0(s),ref:e&&e.ref?r&&i?ot(i)?i.concat(Ws(e)):[i,Ws(e)]:Ws(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!==Fe?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&&ji(t.ssContent),ssFallback:t.ssFallback&&ji(t.ssFallback),el:t.el,anchor:t.anchor}}function Rx(t=" ",e=0){return ue(Hh,null,t,e)}function $B(t,e){const r=ue($s,null,t);return r.staticCount=e,r}function WB(t="",e=!1){return e?(b0(),T0(er,null,t)):ue(er,null,t)}function ur(t){return t==null||typeof t=="boolean"?ue(er):ot(t)?ue(Fe,null,t.slice()):typeof t=="object"?en(t):ue(Hh,null,String(t))}function en(t){return t.el===null||t.memo?t:ji(t)}function Vh(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),Vh(t,i()),i._c&&(i._d=!0));return}else{r=32;const i=e._;!i&&!(ql in e)?e._ctx=Me:i===3&&Me&&(Me.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else dt(e)?(e={default:e,_ctx:Me},r=32):(e=String(e),n&64?(r=16,e=[Rx(e)]):r=8);t.children=e,t.shapeFlag|=r}function Ox(...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;scl(e)?!(e.type===er||e.type===Fe&&!D0(e.children)):!0)?t:null}const oc=t=>t?A0(t)?$h(t)||t.proxy:oc(t.parent):null,hl=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=>oc(t.parent),$root:t=>oc(t.root),$emit:t=>t.emit,$options:t=>v0(t),$forceUpdate:t=>()=>jy(t.update),$nextTick:t=>kh.bind(t.proxy),$watch:t=>Qb.bind(t)}),kx={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];rc&&(o[e]=0)}}const f=hl[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(hl,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)}},Bx=_0();let Nx=0;function Fx(t,e,r){const n=t.type,i=(e?e.appContext:t.appContext)||Bx,a={uid:Nx++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ly(!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:p0(n,i),emitsOptions:r0(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=Wb.bind(null,a),t.ce&&t.ce(a),a}let Kt=null;const Gh=()=>Kt||Me,Qi=t=>{Kt=t,t.scope.on()},Jn=()=>{Kt&&Kt.scope.off(),Kt=null};function A0(t){return t.vnode.shapeFlag&4}let bo=!1;function zx(t,e=!1){bo=e;const{props:r,children:n}=t.vnode,i=A0(t);gx(t,r,i,e),_x(t,n);const a=i?Hx(t,e):void 0;return bo=!1,a}function Hx(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=Zi(new Proxy(t.ctx,kx));const{setup:n}=r;if(n){const i=t.setupContext=n.length>1?Gx(t):null;Qi(t),la();const a=un(n,t,0,[t.props,i]);if(ua(),Jn(),Ay(a)){if(a.then(Jn,Jn),e)return a.then(o=>{Sd(t,o,e)}).catch(o=>{Wl(o,t,0)});t.asyncDep=a}else Sd(t,a,e)}else P0(t,e)}function Sd(t,e,r){dt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Wt(e)&&(t.setupState=Ky(e)),P0(t,r)}let wd;function P0(t,e,r){const n=t.type;if(!t.render){if(!e&&wd&&!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=wd(i,u)}}t.render=n.render||tr}Qi(t),la(),cx(t),ua(),Jn()}function Vx(t){return new Proxy(t.attrs,{get(e,r){return Ae(t,"get","$attrs"),e[r]}})}function Gx(t){const e=n=>{t.exposed=n||{}};let r;return{get attrs(){return r||(r=Vx(t))},slots:t.slots,emit:t.emit,expose:e}}function $h(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ky(Zi(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in hl)return hl[r](t)}}))}function $x(t){return dt(t)&&t.displayName||t.name}function Wx(t){return dt(t)&&"__vccOpts"in t}const Qe=(t,e)=>Fb(t,e,bo);function Wh(t,e,r){const n=arguments.length;return n===2?Wt(e)&&!ot(e)?cl(e)?ue(t,null,[e]):ue(t,e):ue(t,null,e):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&cl(r)&&(r=[r]),ue(t,e,r))}const Ux="3.2.31",Yx="http://www.w3.org/2000/svg",Yn=typeof document!="undefined"?document:null,bd=Yn&&Yn.createElement("template"),Xx={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?Yn.createElementNS(Yx,t):Yn.createElement(t,r?{is:r}:void 0);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Yn.createTextNode(t),createComment:t=>Yn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Yn.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{bd.innerHTML=n?`${t}`:t;const s=bd.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 qx(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 Kx(t,e,r){const n=t.style,i=jt(r);if(r&&!i){for(const a in r)sc(n,a,r[a]);if(e&&!jt(e))for(const a in e)r[a]==null&&sc(n,a,"")}else{const a=n.display;i?e!==r&&(n.cssText=r):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=a)}}const xd=/\s*!important$/;function sc(t,e,r){if(ot(r))r.forEach(n=>sc(t,e,n));else if(e.startsWith("--"))t.setProperty(e,r);else{const n=Zx(t,e);xd.test(r)?t.setProperty(sa(n),r.replace(xd,""),"important"):t[n]=r}}const Td=["Webkit","Moz","ms"],Mu={};function Zx(t,e){const r=Mu[e];if(r)return r;let n=pr(e);if(n!=="filter"&&n in t)return Mu[e]=n;n=Gl(n);for(let i=0;idocument.createEvent("Event").timeStamp&&(vl=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);I0=!!(t&&Number(t[1])<=53)}let lc=0;const Jx=Promise.resolve(),tT=()=>{lc=0},eT=()=>lc||(Jx.then(tT),lc=vl());function nn(t,e,r,n){t.addEventListener(e,r,n)}function rT(t,e,r,n){t.removeEventListener(e,r,n)}function nT(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]=iT(e);if(n){const u=a[e]=aT(n,i);nn(t,s,u,l)}else o&&(rT(t,s,o,l),a[e]=void 0)}}const Md=/(?:Once|Passive|Capture)$/;function iT(t){let e;if(Md.test(t)){e={};let r;for(;r=t.match(Md);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[sa(t.slice(2)),e]}function aT(t,e){const r=n=>{const i=n.timeStamp||vl();(I0||i>=r.attached-1)&&We(oT(n,r.value),e,5,[n])};return r.value=t,r.attached=eT(),r}function oT(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 Dd=/^on[a-z]/,sT=(t,e,r,n,i=!1,a,o,s,l)=>{e==="class"?qx(t,n,i):e==="style"?Kx(t,r,n):zl(e)?bh(e)||nT(t,e,r,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):lT(t,e,n,i))?Qx(t,e,n,a,o,s,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),jx(t,e,n,i))};function lT(t,e,r,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&Dd.test(e)&&dt(r)):e==="spellcheck"||e==="draggable"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Dd.test(e)&&jt(r)?!1:e in t}const Hr="transition",ya="animation",L0=(t,{slots:e})=>Wh(a0,uT(t),e);L0.displayName="Transition";const E0={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};L0.props=Jt({},a0.props,E0);const _n=(t,e=[])=>{ot(t)?t.forEach(r=>r(...e)):t&&t(...e)},Ad=t=>t?ot(t)?t.some(e=>e.length>1):t.length>1:!1;function uT(t){const e={};for(const A in t)A in E0||(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=fT(i),m=d&&d[0],p=d&&d[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:_,onLeave:S,onLeaveCancelled:x,onBeforeAppear:w=g,onAppear:b=y,onAppearCancelled:C=_}=e,M=(A,E,O)=>{gi(A,E?f:s),gi(A,E?u:o),O&&O()},I=(A,E)=>{gi(A,v),gi(A,h),E&&E()},L=A=>(E,O)=>{const H=A?b:y,B=()=>M(E,A,O);_n(H,[E,B]),Pd(()=>{gi(E,A?l:a),Vr(E,A?f:s),Ad(H)||Id(E,n,m,B)})};return Jt(e,{onBeforeEnter(A){_n(g,[A]),Vr(A,a),Vr(A,o)},onBeforeAppear(A){_n(w,[A]),Vr(A,l),Vr(A,u)},onEnter:L(!1),onAppear:L(!0),onLeave(A,E){const O=()=>I(A,E);Vr(A,c),vT(),Vr(A,h),Pd(()=>{gi(A,c),Vr(A,v),Ad(S)||Id(A,n,p,O)}),_n(S,[A,O])},onEnterCancelled(A){M(A,!1),_n(_,[A])},onAppearCancelled(A){M(A,!0),_n(C,[A])},onLeaveCancelled(A){I(A),_n(x,[A])}})}function fT(t){if(t==null)return null;if(Wt(t))return[Du(t.enter),Du(t.leave)];{const e=Du(t);return[e,e]}}function Du(t){return yo(t)}function Vr(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t._vtc||(t._vtc=new Set)).add(e)}function gi(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 Pd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let cT=0;function Id(t,e,r,n){const i=t._endId=++cT,a=()=>{i===t._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:l}=hT(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(Hr+"Delay"),a=n(Hr+"Duration"),o=Ld(i,a),s=n(ya+"Delay"),l=n(ya+"Duration"),u=Ld(s,l);let f=null,c=0,h=0;e===Hr?o>0&&(f=Hr,c=o,h=a.length):e===ya?u>0&&(f=ya,c=u,h=l.length):(c=Math.max(o,u),f=c>0?o>u?Hr:ya:null,h=f?f===Hr?a.length:l.length:0);const v=f===Hr&&/\b(transform|all)(,|$)/.test(r[Hr+"Property"]);return{type:f,timeout:c,propCount:h,hasTransform:v}}function Ld(t,e){for(;t.lengthEd(r)+Ed(t[n])))}function Ed(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function vT(){return document.body.offsetHeight}const Ji=t=>{const e=t.props["onUpdate:modelValue"];return ot(e)?r=>Vs(e,r):e};function dT(t){t.target.composing=!0}function Rd(t){const e=t.target;e.composing&&(e.composing=!1,pT(e,"input"))}function pT(t,e){const r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}const XB={created(t,{modifiers:{lazy:e,trim:r,number:n}},i){t._assign=Ji(i);const a=n||i.props&&i.props.type==="number";nn(t,e?"change":"input",o=>{if(o.target.composing)return;let s=t.value;r?s=s.trim():a&&(s=yo(s)),t._assign(s)}),r&&nn(t,"change",()=>{t.value=t.value.trim()}),e||(nn(t,"compositionstart",dT),nn(t,"compositionend",Rd),nn(t,"change",Rd))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:r,trim:n,number:i}},a){if(t._assign=Ji(a),t.composing||document.activeElement===t&&(r||n&&t.value.trim()===e||(i||t.type==="number")&&yo(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},qB={deep:!0,created(t,e,r){t._assign=Ji(r),nn(t,"change",()=>{const n=t._modelValue,i=xo(t),a=t.checked,o=t._assign;if(ot(n)){const s=wh(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(oa(n)){const s=new Set(n);a?s.add(i):s.delete(i),o(s)}else o(R0(t,a))})},mounted:Od,beforeUpdate(t,e,r){t._assign=Ji(r),Od(t,e,r)}};function Od(t,{value:e,oldValue:r},n){t._modelValue=e,ot(e)?t.checked=wh(e,n.props.value)>-1:oa(e)?t.checked=e.has(n.props.value):e!==r&&(t.checked=Go(e,R0(t,!0)))}const KB={deep:!0,created(t,{value:e,modifiers:{number:r}},n){const i=oa(e);nn(t,"change",()=>{const a=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>r?yo(xo(o)):xo(o));t._assign(t.multiple?i?new Set(a):a:a[0])}),t._assign=Ji(n)},mounted(t,{value:e}){kd(t,e)},beforeUpdate(t,e,r){t._assign=Ji(r)},updated(t,{value:e}){kd(t,e)}};function kd(t,e){const r=t.multiple;if(!(r&&!ot(e)&&!oa(e))){for(let n=0,i=t.options.length;n-1:a.selected=e.has(o);else if(Go(xo(a),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!r&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function xo(t){return"_value"in t?t._value:t.value}function R0(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const gT=["ctrl","shift","alt","meta"],mT={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)=>gT.some(r=>t[`${r}Key`]&&!e.includes(r))},ZB=(t,e)=>(r,...n)=>{for(let i=0;i{_a(t,!1)}):_a(t,e))},beforeUnmount(t,{value:e}){_a(t,e)}};function _a(t,e){t.style.display=e?t._vod:"none"}const yT=Jt({patchProp:sT},Xx);let Bd;function _T(){return Bd||(Bd=Tx(yT))}const QB=(...t)=>{const e=_T().createApp(...t),{mount:r}=e;return e.mount=n=>{const i=ST(n);if(!i)return;const a=e._component;!dt(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 ST(t){return jt(t)?document.querySelector(t):t}var wT=!1;/*! + * pinia v2.0.12 + * (c) 2022 Eduardo San Martin Morote * @license MIT - */let Kp;const Rs=e=>Kp=e,jp=Symbol();function Ef(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ka;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ka||(ka={}));function RF(){const e=pd(!0),t=e.run(()=>nf({}));let r=[],n=[];const i=Ci({install(a){Rs(i),i._a=a,a.provide(jp,i),a.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(a){return!this._a&&!HT?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return i}const Qp=()=>{};function Jp(e,t,r,n=Qp){e.push(t);const i=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&Sf()&&cf(i),i}function Ri(e,...t){e.forEach(r=>{r(...t)})}function Rf(e,t){for(const r in t){const n=t[r],i=e[r];Ef(i)&&Ef(n)&&!Wt(n)&&!$r(n)?e[r]=Rf(i,n):e[r]=n}return e}const VT=Symbol();function GT(e){return!Ef(e)||!e.hasOwnProperty(VT)}const{assign:Mr}=Object;function $T(e){return!!(Wt(e)&&e.effect)}function UT(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=tx(r.state.value[e]);return Mr(f,a,Object.keys(o||{}).reduce((c,h)=>(c[h]=Ci(Ze(()=>{Rs(r);const v=r._s.get(e);return o[h].call(v,v)})),c),{}))}return l=tg(e,u,t,r),l.$reset=function(){const c=i?i():{};this.$patch(h=>{Mr(h,c)})},l}function tg(e,t,r={},n,i){let a;const o=r.state,s=Mr({actions:{}},r),l={deep:!0};let u,f,c=Ci([]),h=Ci([]),v;const d=n.state.value[e];!o&&!d&&(n.state.value[e]={}),nf({});function y(b){let x;u=f=!1,typeof b=="function"?(b(n.state.value[e]),x={type:ka.patchFunction,storeId:e,events:v}):(Rf(n.state.value[e],b),x={type:ka.patchObject,payload:b,storeId:e,events:v}),Cf().then(()=>{u=!0}),f=!0,Ri(c,x,n.state.value[e])}const p=Qp;function g(){a.stop(),c=[],h=[],n._s.delete(e)}function m(b,x){return function(){Rs(n);const C=Array.from(arguments),M=[],L=[];function I(B){M.push(B)}function P(B){L.push(B)}Ri(h,{args:C,name:b,store:S,after:I,onError:P});let E;try{E=x.apply(this&&this.$id===e?this:S,C)}catch(B){throw Ri(L,B),B}return E instanceof Promise?E.then(B=>(Ri(M,B),B)).catch(B=>(Ri(L,B),Promise.reject(B))):(Ri(M,E),E)}}const _={_p:n,$id:e,$onAction:Jp.bind(null,h),$patch:y,$reset:p,$subscribe(b,x={}){const C=Jp(c,b,x.detached,()=>M()),M=a.run(()=>La(()=>n.state.value[e],L=>{(x.flush==="sync"?f:u)&&b({storeId:e,type:ka.direct,events:v},L)},Mr({},l,x)));return C},$dispose:g},S=Ti(Mr({},_));n._s.set(e,S);const w=n._e.run(()=>(a=pd(),a.run(()=>t())));for(const b in w){const x=w[b];if(Wt(x)&&!$T(x)||$r(x))o||(d&>(x)&&(Wt(x)?x.value=d[b]:Rf(x,d[b])),n.state.value[e][b]=x);else if(typeof x=="function"){const C=m(b,x);w[b]=C,s.actions[b]=x}}return Mr(S,w),Mr(St(S),w),Object.defineProperty(S,"$state",{get:()=>n.state.value[e],set:b=>{y(x=>{Mr(x,b)})}}),n._p.forEach(b=>{Mr(S,a.run(()=>b({store:S,app:n._a,pinia:n,options:s})))}),d&&o&&r.hydrate&&r.hydrate(S.$state,d),u=!0,f=!0,S}function OF(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=Sf();return s=s||u&&xr(jp),s&&Rs(s),s=Kp,s._s.has(n)||(a?tg(n,t,i,s):UT(n,i,s)),s._s.get(n)}return o.$id=n,o}/*! - * vue-router v4.0.12 - * (c) 2021 Eduardo San Martin Morote + */let O0;const Kl=t=>O0=t,k0=Symbol();function uc(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var eo;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(eo||(eo={}));function JB(){const t=Ey(!0),e=t.run(()=>Rh({}));let r=[],n=[];const i=Zi({install(a){Kl(i),i._a=a,a.provide(k0,i),a.config.globalProperties.$pinia=i,n.forEach(o=>r.push(o)),n=[]},use(a){return!this._a&&!wT?n.push(a):r.push(a),this},_p:r,_a:null,_e:t,_s:new Map,state:e});return i}const B0=()=>{};function Nd(t,e,r,n=B0){t.push(e);const i=()=>{const a=t.indexOf(e);a>-1&&(t.splice(a,1),n())};return!r&&Gh()&&Fh(i),i}function mi(t,...e){t.slice().forEach(r=>{r(...e)})}function fc(t,e){for(const r in e){const n=e[r],i=t[r];uc(i)&&uc(n)&&!$t(n)&&!ln(n)?t[r]=fc(i,n):t[r]=n}return t}const bT=Symbol();function xT(t){return!uc(t)||!t.hasOwnProperty(bT)}const{assign:xr}=Object;function TT(t){return!!($t(t)&&t.effect)}function CT(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=Ob(r.state.value[t]);return xr(f,a,Object.keys(o||{}).reduce((c,h)=>(c[h]=Zi(Qe(()=>{Kl(r);const v=r._s.get(t);return o[h].call(v,v)})),c),{}))}return l=N0(t,u,e,r),l.$reset=function(){const c=i?i():{};this.$patch(h=>{xr(h,c)})},l}function N0(t,e,r={},n,i){let a;const o=r.state,s=xr({actions:{}},r),l={deep:!0};let u,f,c=Zi([]),h=Zi([]),v;const d=n.state.value[t];!o&&!d&&(n.state.value[t]={}),Rh({});function m(w){let b;u=f=!1,typeof w=="function"?(w(n.state.value[t]),b={type:eo.patchFunction,storeId:t,events:v}):(fc(n.state.value[t],w),b={type:eo.patchObject,payload:w,storeId:t,events:v}),kh().then(()=>{u=!0}),f=!0,mi(c,b,n.state.value[t])}const p=B0;function g(){a.stop(),c=[],h=[],n._s.delete(t)}function y(w,b){return function(){Kl(n);const C=Array.from(arguments),M=[],I=[];function L(O){M.push(O)}function A(O){I.push(O)}mi(h,{args:C,name:w,store:S,after:L,onError:A});let E;try{E=b.apply(this&&this.$id===t?this:S,C)}catch(O){throw mi(I,O),O}return E instanceof Promise?E.then(O=>(mi(M,O),O)).catch(O=>(mi(I,O),Promise.reject(O))):(mi(M,E),E)}}const _={_p:n,$id:t,$onAction:Nd.bind(null,h),$patch:m,$reset:p,$subscribe(w,b={}){const C=Nd(c,w,b.detached,()=>M()),M=a.run(()=>Ja(()=>n.state.value[t],I=>{(b.flush==="sync"?f:u)&&w({storeId:t,type:eo.direct,events:v},I)},xr({},l,b)));return C},$dispose:g},S=fa(xr({},_));n._s.set(t,S);const x=n._e.run(()=>(a=Ey(),a.run(()=>e())));for(const w in x){const b=x[w];if($t(b)&&!TT(b)||ln(b))o||(d&&xT(b)&&($t(b)?b.value=d[w]:fc(b,d[w])),n.state.value[t][w]=b);else if(typeof b=="function"){const C=y(w,b);x[w]=C,s.actions[w]=b}}return xr(S,x),xr(xt(S),x),Object.defineProperty(S,"$state",{get:()=>n.state.value[t],set:w=>{m(b=>{xr(b,w)})}}),n._p.forEach(w=>{xr(S,a.run(()=>w({store:S,app:n._a,pinia:n,options:s})))}),d&&o&&r.hydrate&&r.hydrate(S.$state,d),u=!0,f=!0,S}function tN(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=Gh();return s=s||u&&Ar(k0),s&&Kl(s),s=O0,s._s.has(n)||(a?N0(n,e,i,s):CT(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 eg=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Oi=e=>eg?Symbol(e):"_vr_"+e,WT=Oi("rvlm"),rg=Oi("rvd"),Of=Oi("r"),ng=Oi("rl"),kf=Oi("rvl"),ki=typeof window!="undefined";function YT(e){return e.__esModule||eg&&e[Symbol.toStringTag]==="Module"}const Lt=Object.assign;function Bf(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 Ba=()=>{},XT=/\/$/,qT=e=>e.replace(XT,"");function Ff(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=QT(n!=null?n:t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function ZT(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ig(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function KT(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&Bi(t.matched[n],r.matched[i])&&ag(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function Bi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ag(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!jT(e[r],t[r]))return!1;return!0}function jT(e,t){return Array.isArray(e)?og(e,t):Array.isArray(t)?og(t,e):e===t}function og(e,t){return Array.isArray(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function QT(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 nC(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=rC(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 sg(e,t){return(history.state?history.state.position-t:-1)+e}const Nf=new Map;function iC(e,t){Nf.set(e,t)}function aC(e){const t=Nf.get(e);return Nf.delete(e),t}let oC=()=>location.protocol+"//"+location.host;function lg(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),ig(l,"")}return ig(r,e)+n+i}function sC(e,t,r,n){let i=[],a=[],o=null;const s=({state:h})=>{const v=lg(e,location),d=r.value,y=t.value;let p=0;if(h){if(r.value=v,t.value=h,o&&o===d){o=null;return}p=y?h.position-y.position:0}else n(v);i.forEach(g=>{g(r.value,d,{delta:p,type:Fa.pop,direction:p?p>0?Na.forward:Na.back:Na.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(Lt({},h.state,{scroll:Os()}),"")}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 ug(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?Os():null}}function lC(e){const{history:t,location:r}=window,n={value:lg(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("#"),h=c>-1?(r.host&&document.querySelector("base")?e:e.slice(c))+l:oC()+e+l;try{t[f?"replaceState":"pushState"](u,"",h),i.value=u}catch(v){console.error(v),r[f?"replace":"assign"](h)}}function o(l,u){const f=Lt({},t.state,ug(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=Lt({},i.value,t.state,{forward:l,scroll:Os()});a(f.current,f,!0);const c=Lt({},ug(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 kF(e){e=JT(e);const t=lC(e),r=sC(e,t.state,t.location,t.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=Lt({location:"",base:e,go:n,createHref:eC.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 uC(e){return typeof e=="string"||e&&typeof e=="object"}function fg(e){return typeof e=="string"||typeof e=="symbol"}const Kr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},cg=Oi("nf");var hg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(hg||(hg={}));function Fi(e,t){return Lt(new Error,{type:e,[cg]:!0},t)}function Ln(e,t){return e instanceof Error&&cg in e&&(t==null||!!(e.type&t))}const vg="[^/]+?",fC={sensitive:!1,strict:!1,start:!0,end:!0},cC=/[.+*?^${}()[\]/\\]/g;function hC(e,t){const r=Lt({},fC,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 dC(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 h(){u+=l}for(;s{o(m)}:Ba}function o(f){if(fg(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;)c++;r.splice(c,0,f),f.record.name&&!dg(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 Fi(1,{location:f});y=h.record.name,v=Lt(SC(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 Fi(1,{location:f,currentLocation:c});y=h.record.name,v=Lt({},c.params,f.params),d=h.stringify(v)}const p=[];let g=h;for(;g;)p.unshift(g.record),g=g.parent;return{name:y,path:d,params:v,matched:p,meta:xC(p)}}return e.forEach(f=>a(f)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function SC(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function bC(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:wC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function wC(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 dg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xC(e){return e.reduce((t,r)=>Lt(t,r.meta),{})}function pg(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}const gg=/#/g,TC=/&/g,CC=/\//g,MC=/=/g,DC=/\?/g,yg=/\+/g,AC=/%5B/g,PC=/%5D/g,mg=/%5E/g,IC=/%60/g,_g=/%7B/g,LC=/%7C/g,Sg=/%7D/g,EC=/%20/g;function zf(e){return encodeURI(""+e).replace(LC,"|").replace(AC,"[").replace(PC,"]")}function RC(e){return zf(e).replace(_g,"{").replace(Sg,"}").replace(mg,"^")}function Hf(e){return zf(e).replace(yg,"%2B").replace(EC,"+").replace(gg,"%23").replace(TC,"%26").replace(IC,"`").replace(_g,"{").replace(Sg,"}").replace(mg,"^")}function OC(e){return Hf(e).replace(MC,"%3D")}function kC(e){return zf(e).replace(gg,"%23").replace(DC,"%3F")}function BC(e){return e==null?"":kC(e).replace(CC,"%2F")}function ks(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function FC(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&Hf(a)):[n&&Hf(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function NC(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 za(){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 jr(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(Fi(4,{from:r,to:t})):c instanceof Error?s(c):uC(c)?s(Fi(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 Vf(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(zC(s)){const u=(s.__vccOpts||s)[t];u&&i.push(jr(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=YT(u)?u.default:u;a.components[o]=f;const h=(f.__vccOpts||f)[t];return h&&jr(h,r,n,a,o)()}))}}return i}function zC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wg(e){const t=xr(Of),r=xr(ng),n=Ze(()=>t.resolve(Ca(e.to))),i=Ze(()=>{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(Bi.bind(null,f));if(h>-1)return h;const v=xg(l[u-2]);return u>1&&xg(f)===v&&c[c.length-1].path!==v?c.findIndex(Bi.bind(null,l[u-2])):h}),a=Ze(()=>i.value>-1&&$C(r.params,n.value.params)),o=Ze(()=>i.value>-1&&i.value===r.matched.length-1&&ag(r.params,n.value.params));function s(l={}){return GC(l)?t[Ca(e.replace)?"replace":"push"](Ca(e.to)).catch(Ba):Promise.resolve()}return{route:n,href:Ze(()=>n.value.href),isActive:a,isExactActive:o,navigate:s}}const HC=Ud({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wg,setup(e,{slots:t}){const r=Ti(wg(e)),{options:n}=xr(Of),i=Ze(()=>({[Tg(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Tg(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:Df("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),VC=HC;function GC(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 $C(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 xg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tg=(e,t,r)=>e!=null?e:t!=null?t:r,UC=Ud({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:r}){const n=xr(kf),i=Ze(()=>e.route||n.value),a=xr(rg,0),o=Ze(()=>i.value.matched[a]);_s(rg,a+1),_s(WT,o),_s(kf,i);const s=nf();return La(()=>[s.value,o.value,e.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||!Bi(u,h)||!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 Cg(r.default,{Component:f,route:l});const h=u.props[e.name],v=h?h===!0?l.params:typeof h=="function"?h(l):h:null,y=Df(f,Lt({},v,t,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(u.instances[c]=null)},ref:s}));return Cg(r.default,{Component:y,route:l})||y}}});function Cg(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const WC=UC;function BF(e){const t=_C(e.routes,e),r=e.parseQuery||FC,n=e.stringifyQuery||bg,i=e.history,a=za(),o=za(),s=za(),l=jw(Kr);let u=Kr;ki&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Bf.bind(null,O=>""+O),c=Bf.bind(null,BC),h=Bf.bind(null,ks);function v(O,j){let G,tt;return fg(O)?(G=t.getRecordMatcher(O),tt=j):tt=O,t.addRoute(tt,G)}function d(O){const j=t.getRecordMatcher(O);j&&t.removeRoute(j)}function y(){return t.getRoutes().map(O=>O.record)}function p(O){return!!t.getRecordMatcher(O)}function g(O,j){if(j=Lt({},j||l.value),typeof O=="string"){const ot=Ff(r,O,j.path),T=t.resolve({path:ot.path},j),A=i.createHref(ot.fullPath);return Lt(ot,T,{params:h(T.params),hash:ks(ot.hash),redirectedFrom:void 0,href:A})}let G;if("path"in O)G=Lt({},O,{path:Ff(r,O.path,j.path).path});else{const ot=Lt({},O.params);for(const T in ot)ot[T]==null&&delete ot[T];G=Lt({},O,{params:c(O.params)}),j.params=c(j.params)}const tt=t.resolve(G,j),bt=O.hash||"";tt.params=f(h(tt.params));const gt=ZT(n,Lt({},O,{hash:RC(bt),path:tt.path})),ct=i.createHref(gt);return Lt({fullPath:gt,hash:bt,query:n===bg?NC(O.query):O.query||{}},tt,{redirectedFrom:void 0,href:ct})}function m(O){return typeof O=="string"?Ff(r,O,l.value.path):Lt({},O)}function _(O,j){if(u!==O)return Fi(8,{from:j,to:O})}function S(O){return x(O)}function w(O){return S(Lt(m(O),{replace:!0}))}function b(O){const j=O.matched[O.matched.length-1];if(j&&j.redirect){const{redirect:G}=j;let tt=typeof G=="function"?G(O):G;return typeof tt=="string"&&(tt=tt.includes("?")||tt.includes("#")?tt=m(tt):{path:tt},tt.params={}),Lt({query:O.query,hash:O.hash,params:O.params},tt)}}function x(O,j){const G=u=g(O),tt=l.value,bt=O.state,gt=O.force,ct=O.replace===!0,ot=b(G);if(ot)return x(Lt(m(ot),{state:bt,force:gt,replace:ct}),j||G);const T=G;T.redirectedFrom=j;let A;return!gt&&KT(n,tt,G)&&(A=Fi(16,{to:T,from:tt}),V(tt,tt,!0,!1)),(A?Promise.resolve(A):M(T,tt)).catch(R=>Ln(R)?R:q(R,T,tt)).then(R=>{if(R){if(Ln(R,2))return x(Lt(m(R.to),{state:bt,force:gt,replace:ct}),j||T)}else R=I(T,tt,!0,ct,bt);return L(T,tt,R),R})}function C(O,j){const G=_(O,j);return G?Promise.reject(G):Promise.resolve()}function M(O,j){let G;const[tt,bt,gt]=YC(O,j);G=Vf(tt.reverse(),"beforeRouteLeave",O,j);for(const ot of tt)ot.leaveGuards.forEach(T=>{G.push(jr(T,O,j))});const ct=C.bind(null,O,j);return G.push(ct),Ni(G).then(()=>{G=[];for(const ot of a.list())G.push(jr(ot,O,j));return G.push(ct),Ni(G)}).then(()=>{G=Vf(bt,"beforeRouteUpdate",O,j);for(const ot of bt)ot.updateGuards.forEach(T=>{G.push(jr(T,O,j))});return G.push(ct),Ni(G)}).then(()=>{G=[];for(const ot of O.matched)if(ot.beforeEnter&&!j.matched.includes(ot))if(Array.isArray(ot.beforeEnter))for(const T of ot.beforeEnter)G.push(jr(T,O,j));else G.push(jr(ot.beforeEnter,O,j));return G.push(ct),Ni(G)}).then(()=>(O.matched.forEach(ot=>ot.enterCallbacks={}),G=Vf(gt,"beforeRouteEnter",O,j),G.push(ct),Ni(G))).then(()=>{G=[];for(const ot of o.list())G.push(jr(ot,O,j));return G.push(ct),Ni(G)}).catch(ot=>Ln(ot,8)?ot:Promise.reject(ot))}function L(O,j,G){for(const tt of s.list())tt(O,j,G)}function I(O,j,G,tt,bt){const gt=_(O,j);if(gt)return gt;const ct=j===Kr,ot=ki?history.state:{};G&&(tt||ct?i.replace(O.fullPath,Lt({scroll:ct&&ot&&ot.scroll},bt)):i.push(O.fullPath,bt)),l.value=O,V(O,j,G,ct),Q()}let P;function E(){P=i.listen((O,j,G)=>{const tt=g(O),bt=b(tt);if(bt){x(Lt(bt,{replace:!0}),tt).catch(Ba);return}u=tt;const gt=l.value;ki&&iC(sg(gt.fullPath,G.delta),Os()),M(tt,gt).catch(ct=>Ln(ct,4|8)?ct:Ln(ct,2)?(x(ct.to,tt).then(ot=>{Ln(ot,4|16)&&!G.delta&&G.type===Fa.pop&&i.go(-1,!1)}).catch(Ba),Promise.reject()):(G.delta&&i.go(-G.delta,!1),q(ct,tt,gt))).then(ct=>{ct=ct||I(tt,gt,!1),ct&&(G.delta?i.go(-G.delta,!1):G.type===Fa.pop&&Ln(ct,4|16)&&i.go(-1,!1)),L(tt,gt,ct)}).catch(Ba)})}let B=za(),k=za(),Y;function q(O,j,G){Q(O);const tt=k.list();return tt.length?tt.forEach(bt=>bt(O,j,G)):console.error(O),Promise.reject(O)}function U(){return Y&&l.value!==Kr?Promise.resolve():new Promise((O,j)=>{B.add([O,j])})}function Q(O){Y||(Y=!0,E(),B.list().forEach(([j,G])=>O?G(O):j()),B.reset())}function V(O,j,G,tt){const{scrollBehavior:bt}=e;if(!ki||!bt)return Promise.resolve();const gt=!G&&aC(sg(O.fullPath,0))||(tt||!G)&&history.state&&history.state.scroll||null;return Cf().then(()=>bt(O,j,gt)).then(ct=>ct&&nC(ct)).catch(ct=>q(ct,O,j))}const it=O=>i.go(O);let Ot;const pt=new Set;return{currentRoute:l,addRoute:v,removeRoute:d,hasRoute:p,getRoutes:y,resolve:g,options:e,push:S,replace:w,go:it,back:()=>it(-1),forward:()=>it(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:k.add,isReady:U,install(O){const j=this;O.component("RouterLink",VC),O.component("RouterView",WC),O.config.globalProperties.$router=j,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>Ca(l)}),ki&&!Ot&&l.value===Kr&&(Ot=!0,S(i.location).catch(bt=>{}));const G={};for(const bt in Kr)G[bt]=Ze(()=>l.value[bt]);O.provide(Of,j),O.provide(ng,Ti(G)),O.provide(kf,l);const tt=O.unmount;pt.add(O),O.unmount=function(){pt.delete(O),pt.size<1&&(u=Kr,P&&P(),l.value=Kr,Ot=!1,Y=!1),tt()}}}}function Ni(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function YC(e,t){const r=[],n=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;oBi(u,s))?n.push(s):r.push(s));const l=e.matched[o];l&&(t.matched.find(u=>Bi(u,l))||i.push(l))}return[r,n,i]}/*! ***************************************************************************** + */const F0=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",ca=t=>F0?Symbol(t):"_vr_"+t,MT=ca("rvlm"),Fd=ca("rvd"),Uh=ca("r"),z0=ca("rl"),cc=ca("rvl"),ki=typeof window!="undefined";function DT(t){return t.__esModule||F0&&t[Symbol.toStringTag]==="Module"}const Lt=Object.assign;function Au(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 ro=()=>{},AT=/\/$/,PT=t=>t.replace(AT,"");function Pu(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=RT(n!=null?n:e,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:o}}function IT(t,e){const r=e.query?t(e.query):"";return e.path+(r&&"?")+r+(e.hash||"")}function zd(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function LT(t,e,r){const n=e.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&ta(e.matched[n],r.matched[i])&&H0(e.params,r.params)&&t(e.query)===t(r.query)&&e.hash===r.hash}function ta(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function H0(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const r in t)if(!ET(t[r],e[r]))return!1;return!0}function ET(t,e){return Array.isArray(t)?Hd(t,e):Array.isArray(e)?Hd(e,t):t===e}function Hd(t,e){return Array.isArray(e)?t.length===e.length&&t.every((r,n)=>r===e[n]):t.length===1&&t[0]===e}function RT(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 FT(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=NT(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 Vd(t,e){return(history.state?history.state.position-e:-1)+t}const hc=new Map;function zT(t,e){hc.set(t,e)}function HT(t){const e=hc.get(t);return hc.delete(t),e}let VT=()=>location.protocol+"//"+location.host;function V0(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),zd(l,"")}return zd(r,t)+n+i}function GT(t,e,r,n){let i=[],a=[],o=null;const s=({state:h})=>{const v=V0(t,location),d=r.value,m=e.value;let p=0;if(h){if(r.value=v,e.value=h,o&&o===d){o=null;return}p=m?h.position-m.position:0}else n(v);i.forEach(g=>{g(r.value,d,{delta:p,type:To.pop,direction:p?p>0?no.forward:no.back:no.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(Lt({},h.state,{scroll:Zl()}),"")}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 Gd(t,e,r,n=!1,i=!1){return{back:t,current:e,forward:r,replaced:n,position:window.history.length,scroll:i?Zl():null}}function $T(t){const{history:e,location:r}=window,n={value:V0(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:VT()+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=Lt({},e.state,Gd(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=Lt({},i.value,e.state,{forward:l,scroll:Zl()});a(f.current,f,!0);const c=Lt({},Gd(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 eN(t){t=OT(t);const e=$T(t),r=GT(t,e.state,e.location,e.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=Lt({location:"",base:t,go:n,createHref:BT.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 WT(t){return typeof t=="string"||t&&typeof t=="object"}function G0(t){return typeof t=="string"||typeof t=="symbol"}const Gr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$0=ca("nf");var $d;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})($d||($d={}));function ea(t,e){return Lt(new Error,{type:t,[$0]:!0},e)}function $r(t,e){return t instanceof Error&&$0 in t&&(e==null||!!(t.type&e))}const Wd="[^/]+?",UT={sensitive:!1,strict:!1,start:!0,end:!0},YT=/[.+*?^${}()[\]/\\]/g;function XT(t,e){const r=Lt({},UT,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 KT(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(y)}:ro}function o(f){if(G0(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||!W0(f,r[c]));)c++;r.splice(c,0,f),f.record.name&&!Ud(f)&&n.set(f.record.name,f)}function u(f,c){let h,v={},d,m;if("name"in f&&f.name){if(h=n.get(f.name),!h)throw ea(1,{location:f});m=h.record.name,v=Lt(eC(c.params,h.keys.filter(y=>!y.optional).map(y=>y.name)),f.params),d=h.stringify(v)}else if("path"in f)d=f.path,h=r.find(y=>y.re.test(d)),h&&(v=h.parse(d),m=h.record.name);else{if(h=c.name?n.get(c.name):r.find(y=>y.re.test(c.path)),!h)throw ea(1,{location:f,currentLocation:c});m=h.record.name,v=Lt({},c.params,f.params),d=h.stringify(v)}const p=[];let g=h;for(;g;)p.unshift(g.record),g=g.parent;return{name:m,path:d,params:v,matched:p,meta:iC(p)}}return t.forEach(f=>a(f)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function eC(t,e){const r={};for(const n of e)n in t&&(r[n]=t[n]);return r}function rC(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:nC(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function nC(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 Ud(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function iC(t){return t.reduce((e,r)=>Lt(e,r.meta),{})}function Yd(t,e){const r={};for(const n in t)r[n]=n in e?e[n]:t[n];return r}function W0(t,e){return e.children.some(r=>r===t||W0(t,r))}const U0=/#/g,aC=/&/g,oC=/\//g,sC=/=/g,lC=/\?/g,Y0=/\+/g,uC=/%5B/g,fC=/%5D/g,X0=/%5E/g,cC=/%60/g,q0=/%7B/g,hC=/%7C/g,K0=/%7D/g,vC=/%20/g;function Yh(t){return encodeURI(""+t).replace(hC,"|").replace(uC,"[").replace(fC,"]")}function dC(t){return Yh(t).replace(q0,"{").replace(K0,"}").replace(X0,"^")}function vc(t){return Yh(t).replace(Y0,"%2B").replace(vC,"+").replace(U0,"%23").replace(aC,"%26").replace(cC,"`").replace(q0,"{").replace(K0,"}").replace(X0,"^")}function pC(t){return vc(t).replace(sC,"%3D")}function gC(t){return Yh(t).replace(U0,"%23").replace(lC,"%3F")}function mC(t){return t==null?"":gC(t).replace(oC,"%2F")}function dl(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function yC(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;ia&&vc(a)):[n&&vc(n)]).forEach(a=>{a!==void 0&&(e+=(e.length?"&":"")+r,a!=null&&(e+="="+a))})}return e}function _C(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 Sa(){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 rn(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(ea(4,{from:r,to:e})):c instanceof Error?s(c):WT(c)?s(ea(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 Iu(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(SC(s)){const u=(s.__vccOpts||s)[e];u&&i.push(rn(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=DT(u)?u.default:u;a.components[o]=f;const h=(f.__vccOpts||f)[e];return h&&rn(h,r,n,a,o)()}))}}return i}function SC(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function qd(t){const e=Ar(Uh),r=Ar(z0),n=Qe(()=>e.resolve(Za(t.to))),i=Qe(()=>{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(ta.bind(null,f));if(h>-1)return h;const v=Kd(l[u-2]);return u>1&&Kd(f)===v&&c[c.length-1].path!==v?c.findIndex(ta.bind(null,l[u-2])):h}),a=Qe(()=>i.value>-1&&TC(r.params,n.value.params)),o=Qe(()=>i.value>-1&&i.value===r.matched.length-1&&H0(r.params,n.value.params));function s(l={}){return xC(l)?e[Za(t.replace)?"replace":"push"](Za(t.to)).catch(ro):Promise.resolve()}return{route:n,href:Qe(()=>n.value.href),isActive:a,isExactActive:o,navigate:s}}const wC=l0({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:qd,setup(t,{slots:e}){const r=fa(qd(t)),{options:n}=Ar(Uh),i=Qe(()=>({[Zd(t.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Zd(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=e.default&&e.default(r);return t.custom?a:Wh("a",{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),bC=wC;function xC(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 TC(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 Kd(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Zd=(t,e,r)=>t!=null?t:e!=null?e:r,CC=l0({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(t,{attrs:e,slots:r}){const n=Ar(cc),i=Qe(()=>t.route||n.value),a=Ar(Fd,0),o=Qe(()=>i.value.matched[a]);Gs(Fd,a+1),Gs(MT,o),Gs(cc,i);const s=Rh();return Ja(()=>[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||!ta(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 jd(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,m=Wh(f,Lt({},v,e,{onVnodeUnmounted:p=>{p.component.isUnmounted&&(u.instances[c]=null)},ref:s}));return jd(r.default,{Component:m,route:l})||m}}});function jd(t,e){if(!t)return null;const r=t(e);return r.length===1?r[0]:r}const MC=CC;function rN(t){const e=tC(t.routes,t),r=t.parseQuery||yC,n=t.stringifyQuery||Xd,i=t.history,a=Sa(),o=Sa(),s=Sa(),l=Lb(Gr);let u=Gr;ki&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Au.bind(null,k=>""+k),c=Au.bind(null,mC),h=Au.bind(null,dl);function v(k,W){let V,tt;return G0(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 m(){return e.getRoutes().map(k=>k.record)}function p(k){return!!e.getRecordMatcher(k)}function g(k,W){if(W=Lt({},W||l.value),typeof k=="string"){const K=Pu(r,k,W.path),T=e.resolve({path:K.path},W),P=i.createHref(K.fullPath);return Lt(K,T,{params:h(T.params),hash:dl(K.hash),redirectedFrom:void 0,href:P})}let V;if("path"in k)V=Lt({},k,{path:Pu(r,k.path,W.path).path});else{const K=Lt({},k.params);for(const T in K)K[T]==null&&delete K[T];V=Lt({},k,{params:c(k.params)}),W.params=c(W.params)}const tt=e.resolve(V,W),ht=k.hash||"";tt.params=f(h(tt.params));const ut=IT(n,Lt({},k,{hash:dC(ht),path:tt.path})),Y=i.createHref(ut);return Lt({fullPath:ut,hash:ht,query:n===Xd?_C(k.query):k.query||{}},tt,{redirectedFrom:void 0,href:Y})}function y(k){return typeof k=="string"?Pu(r,k,l.value.path):Lt({},k)}function _(k,W){if(u!==k)return ea(8,{from:W,to:k})}function S(k){return b(k)}function x(k){return S(Lt(y(k),{replace:!0}))}function w(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=y(tt):{path:tt},tt.params={}),Lt({query:k.query,hash:k.hash,params:k.params},tt)}}function b(k,W){const V=u=g(k),tt=l.value,ht=k.state,ut=k.force,Y=k.replace===!0,K=w(V);if(K)return b(Lt(y(K),{state:ht,force:ut,replace:Y}),W||V);const T=V;T.redirectedFrom=W;let P;return!ut&<(n,tt,V)&&(P=ea(16,{to:T,from:tt}),lt(tt,tt,!0,!1)),(P?Promise.resolve(P):M(T,tt)).catch(R=>$r(R)?$r(R,2)?R:Z(R):Q(R,T,tt)).then(R=>{if(R){if($r(R,2))return b(Lt(y(R.to),{state:ht,force:ut,replace:Y}),W||T)}else R=L(T,tt,!0,Y,ht);return I(T,tt,R),R})}function C(k,W){const V=_(k,W);return V?Promise.reject(V):Promise.resolve()}function M(k,W){let V;const[tt,ht,ut]=DC(k,W);V=Iu(tt.reverse(),"beforeRouteLeave",k,W);for(const K of tt)K.leaveGuards.forEach(T=>{V.push(rn(T,k,W))});const Y=C.bind(null,k,W);return V.push(Y),yi(V).then(()=>{V=[];for(const K of a.list())V.push(rn(K,k,W));return V.push(Y),yi(V)}).then(()=>{V=Iu(ht,"beforeRouteUpdate",k,W);for(const K of ht)K.updateGuards.forEach(T=>{V.push(rn(T,k,W))});return V.push(Y),yi(V)}).then(()=>{V=[];for(const K of k.matched)if(K.beforeEnter&&!W.matched.includes(K))if(Array.isArray(K.beforeEnter))for(const T of K.beforeEnter)V.push(rn(T,k,W));else V.push(rn(K.beforeEnter,k,W));return V.push(Y),yi(V)}).then(()=>(k.matched.forEach(K=>K.enterCallbacks={}),V=Iu(ut,"beforeRouteEnter",k,W),V.push(Y),yi(V))).then(()=>{V=[];for(const K of o.list())V.push(rn(K,k,W));return V.push(Y),yi(V)}).catch(K=>$r(K,8)?K:Promise.reject(K))}function I(k,W,V){for(const tt of s.list())tt(k,W,V)}function L(k,W,V,tt,ht){const ut=_(k,W);if(ut)return ut;const Y=W===Gr,K=ki?history.state:{};V&&(tt||Y?i.replace(k.fullPath,Lt({scroll:Y&&K&&K.scroll},ht)):i.push(k.fullPath,ht)),l.value=k,lt(k,W,V,Y),Z()}let A;function E(){A=i.listen((k,W,V)=>{const tt=g(k),ht=w(tt);if(ht){b(Lt(ht,{replace:!0}),tt).catch(ro);return}u=tt;const ut=l.value;ki&&zT(Vd(ut.fullPath,V.delta),Zl()),M(tt,ut).catch(Y=>$r(Y,12)?Y:$r(Y,2)?(b(Y.to,tt).then(K=>{$r(K,20)&&!V.delta&&V.type===To.pop&&i.go(-1,!1)}).catch(ro),Promise.reject()):(V.delta&&i.go(-V.delta,!1),Q(Y,tt,ut))).then(Y=>{Y=Y||L(tt,ut,!1),Y&&(V.delta?i.go(-V.delta,!1):V.type===To.pop&&$r(Y,20)&&i.go(-1,!1)),I(tt,ut,Y)}).catch(ro)})}let O=Sa(),H=Sa(),B;function Q(k,W,V){Z(k);const tt=H.list();return tt.length?tt.forEach(ht=>ht(k,W,V)):console.error(k),Promise.reject(k)}function $(){return B&&l.value!==Gr?Promise.resolve():new Promise((k,W)=>{O.add([k,W])})}function Z(k){return B||(B=!k,E(),O.list().forEach(([W,V])=>k?V(k):W()),O.reset()),k}function lt(k,W,V,tt){const{scrollBehavior:ht}=t;if(!ki||!ht)return Promise.resolve();const ut=!V&&HT(Vd(k.fullPath,0))||(tt||!V)&&history.state&&history.state.scroll||null;return kh().then(()=>ht(k,W,ut)).then(Y=>Y&&FT(Y)).catch(Y=>Q(Y,k,W))}const _t=k=>i.go(k);let mt;const pt=new Set;return{currentRoute:l,addRoute:v,removeRoute:d,hasRoute:p,getRoutes:m,resolve:g,options:t,push:S,replace:x,go:_t,back:()=>_t(-1),forward:()=>_t(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:H.add,isReady:$,install(k){const W=this;k.component("RouterLink",bC),k.component("RouterView",MC),k.config.globalProperties.$router=W,Object.defineProperty(k.config.globalProperties,"$route",{enumerable:!0,get:()=>Za(l)}),ki&&!mt&&l.value===Gr&&(mt=!0,S(i.location).catch(ht=>{}));const V={};for(const ht in Gr)V[ht]=Qe(()=>l.value[ht]);k.provide(Uh,W),k.provide(z0,fa(V)),k.provide(cc,l);const tt=k.unmount;pt.add(k),k.unmount=function(){pt.delete(k),pt.size<1&&(u=Gr,A&&A(),l.value=Gr,mt=!1,B=!1),tt()}}}}function yi(t){return t.reduce((e,r)=>e.then(()=>r()),Promise.resolve())}function DC(t,e){const r=[],n=[],i=[],a=Math.max(e.matched.length,t.matched.length);for(let o=0;ota(u,s))?n.push(s):r.push(s));const l=t.matched[o];l&&(e.matched.find(u=>ta(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 +19,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 Gf=function(e,t){return Gf=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])},Gf(e,t)};function Z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Gf(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function XC(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n18),o&&(r.weChat=!0),t.canvasSupported=!!document.createElement("canvas").getContext,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 ht=lr,Mg={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},Dg={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},Ha=Object.prototype.toString,Bs=Array.prototype,jC=Bs.forEach,QC=Bs.filter,$f=Bs.slice,JC=Bs.map,Ag=function(){}.constructor,Fs=Ag?Ag.prototype:null,Uf="__proto__",Pg={},tM=2311;function Ig(){return tM++}function zi(){for(var e=[],t=0;t>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 SM(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,h=f.left,v=f.top;o.push(h,v),l=l&&a&&h===a[c]&&v===a[c+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=o,t[n]=r?kg(s,o):kg(o,s))}function Fg(e){return e.nodeName.toUpperCase()==="CANVAS"}var ec=typeof window!="undefined"&&!!window.addEventListener,bM=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rc=[];function nc(e,t,r,n){return r=r||{},n||!ht.canvasSupported?Ng(e,t,r):ht.browser.firefox&&ht.browser.version<"39"&&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):Ng(e,t,r),r}function Ng(e,t,r){if(ht.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(Fg(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(tc(rc,e,n,i)){r.zrX=rc[0],r.zrY=rc[1];return}}r.zrX=r.zrY=0}function ic(e){return e||window.event}function Oe(e,t,r){if(t=ic(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&&nc(e,o,t,r)}else{nc(e,t,t,r);var a=wM(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&bM.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function wM(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 xM(e,t,r,n){ec?e.addEventListener(t,r,n):e.attachEvent("on"+t,r)}function TM(e,t,r,n){ec?e.removeEventListener(t,r,n):e.detachEvent("on"+t,r)}var zg=ec?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0},CM=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=Hg(n)/Hg(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=MM(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}},Vg="silent";function DM(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:AM}}function AM(){zg(this.event)}var PM=function(e){Z(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}(cr),Ua=function(){function e(t,r){this.x=t,this.y=r}return e}(),IM=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Gg=function(e){Z(t,e);function t(r,n,i,a){var o=e.call(this)||this;return o._hovered=new Ua(0,0),o.storage=r,o.painter=n,o.painterRoot=a,i=i||new PM,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new pM(o),o}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(D(IM,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=$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 Ua(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 Ua(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=DM(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 Ua(r,n),s=a.length-1;s>=0;s--){var l=void 0;if(a[s]!==i&&!a[s].ignore&&(l=LM(a[s],r,n))&&(!o.topTarget&&(o.topTarget=a[s]),l!==Vg)){o.target=a[s];break}}return o},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new CM);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 Ua;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t}(cr);D(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){Gg.prototype[e]=function(t){var r=t.zrX,n=t.zrY,i=$g(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||hM(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function LM(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?Vg:!0}return!1}function $g(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var EM=Gg,Ug=32,Wa=7;function RM(e){for(var t=0;e>=Ug;)t|=e&1,e>>=1;return e+t}function Wg(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 OM(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 oc(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 sc(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 kM(e,t){var r=Wa,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]=Wa||x>=Wa);if(C)break;w<0&&(w=0),w+=2}if(r=w,r<1&&(r=1),d===1){for(g=0;g=0;g--)e[b+g]=e[w+g];e[S]=o[_];return}for(var x=r;;){var C=0,M=0,L=!1;do if(t(o[_],e[m])<0){if(e[S--]=e[m--],C++,M=0,--d==0){L=!0;break}}else if(e[S--]=o[_--],M++,C=0,--p==1){L=!0;break}while((C|M)=0;g--)e[b+g]=e[w+g];if(d===0){L=!0;break}}if(e[S--]=o[_--],--p==1){L=!0;break}if(M=p-oc(e[m],o,0,p,p-1,t),M!==0){for(S-=M,_-=M,p-=M,b=S+1,w=_+1,g=0;g=Wa||M>=Wa);if(L)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),p===1){for(S-=d,m-=d,b=S+1,w=m+1,g=d-1;g>=0;g--)e[b+g]=e[w+g];e[S]=o[_]}else{if(p===0)throw new Error;for(w=S-(p-1),g=0;gs&&(l=s),Yg(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 Ce=1,Ya=2,$i=4,Xg=!1;function uc(){Xg||(Xg=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function qg(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var BM=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=qg}return e.prototype.traverse=function(t,r){for(var n=0;n0&&(f.__clipPaths=[]),isNaN(f.z)&&(uc(),f.z=0),isNaN(f.z2)&&(uc(),f.z2=0),isNaN(f.zlevel)&&(uc(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,r,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,r,n);var v=t.getTextContent();v&&this._updateAndAddDisplayable(v,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}(),FM=BM,Zg;Zg=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var fc=Zg,Gs={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=1.70158*1.525;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-Gs.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?Gs.bounceIn(e*2)*.5:Gs.bounceOut(e*2-1)*.5+.5}},NM=Gs,zM=function(){function e(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop==null?!1:t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return e.prototype.step=function(t,r){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused){this._pausedTime+=r;return}var n=(t-this._startTime-this._pausedTime)/this._life;n<0&&(n=0),n=Math.min(n,1);var i=this.easing,a=typeof i=="string"?NM[i]:i,o=typeof a=="function"?a(n):n;if(this.onframe&&this.onframe(o),n===1)if(this.loop)this._restart(t),this.onrestart&&this.onrestart();else return!0;return!1},e.prototype._restart=function(t){var r=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-r+this.gap,this._pausedTime=0},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e}(),HM=zM,Kg=function(){function e(t){this.value=t}return e}(),VM=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new Kg(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}(),GM=function(){function e(t){this._list=new VM,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 Kg(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}(),Xa=GM,jg={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 Qr(e){return e=Math.round(e),e<0?0:e>255?255:e}function cc(e){return e<0?0:e>1?1:e}function hc(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Qr(parseFloat(t)/100*255):Qr(parseInt(t,10))}function $s(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?cc(parseFloat(t)/100):cc(parseFloat(t))}function vc(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 Us(e,t,r){return e+(t-e)*r}function ke(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function dc(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var Qg=new Xa(20),Ws=null;function Ui(e,t){Ws&&dc(Ws,t),Ws=Qg.put(e,Ws||t.slice())}function hr(e,t){if(!!e){t=t||[];var r=Qg.get(e);if(r)return dc(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in jg)return dc(t,jg[n]),Ui(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)){ke(t,0,0,0,1);return}return ke(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),Ui(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){ke(t,0,0,0,1);return}return ke(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Ui(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?ke(t,+u[0],+u[1],+u[2],1):ke(t,0,0,0,1);f=$s(u.pop());case"rgb":if(u.length!==3){ke(t,0,0,0,1);return}return ke(t,hc(u[0]),hc(u[1]),hc(u[2]),f),Ui(e,t),t;case"hsla":if(u.length!==4){ke(t,0,0,0,1);return}return u[3]=$s(u[3]),Jg(u,t),Ui(e,t),t;case"hsl":if(u.length!==3){ke(t,0,0,0,1);return}return Jg(u,t),Ui(e,t),t;default:return}}ke(t,0,0,0,1)}}function Jg(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=$s(e[1]),i=$s(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],ke(t,Qr(vc(o,a,r+1/3)*255),Qr(vc(o,a,r)*255),Qr(vc(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function $M(e,t){var r=hr(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 qa(r,r.length===4?"rgba":"rgb")}}function UM(e){var t=hr(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function WM(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=hr(t[i]),s=hr(t[a]),l=n-i,u=qa([Qr(Us(o[0],s[0],l)),Qr(Us(o[1],s[1],l)),Qr(Us(o[2],s[2],l)),cc(Us(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function qa(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 Ys(e,t){var r=hr(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var pc=Array.prototype.slice;function Za(e,t,r){return(t-e)*r+e}function YM(e,t,r){return r>.5?t:e}function ty(e,t,r,n){for(var i=t.length,a=0;ao;if(s)n.length=o;else for(var l=a;l=2&&this.interpolable&&this.maxTime>0},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,i=n.length;if(this.interpolable)if(Re(r)){var a=KM(r);if(i>0&&this.arrDim!==a){this.interpolable=!1;return}if(a===1&&typeof r[0]!="number"||a===2&&typeof r[0][0]!="number"){this.interpolable=!1;return}if(i>0){var o=n[i-1];this._isAllValueEqual&&(a===1?ry(r,o.value)||(this._isAllValueEqual=!1):this._isAllValueEqual=!1)}this.arrDim=a}else{if(this.arrDim>0){this.interpolable=!1;return}if(typeof r=="string"){var s=hr(r);s?(r=s,this.isValueColor=!0):this.interpolable=!1}else if(typeof r!="number"||isNaN(r)){this.interpolable=!1;return}if(this._isAllValueEqual&&i>0){var o=n[i-1];this.isValueColor&&!ry(o.value,r)?this._isAllValueEqual=!1:o.value!==r&&(this._isAllValueEqual=!1)}}var l={time:t,value:r,percent:0};return this.keyframes.push(l),l},e.prototype.prepare=function(t){var r=this.keyframes;this._needsSort&&r.sort(function(l,u){return l.time-u.time});for(var n=this.arrDim,i=r.length,a=r[i-1],o=0;o0&&o!==i-1&&qM(r[o].value,a.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;for(var s=r[0].value,o=0;o=0&&!(a[f].percent<=r);f--);f=Math.min(f,o-2)}else{for(f=this._lastFrame;fr);f++);f=Math.min(f-1,o-2)}var h=a[f+1],v=a[f];if(!!(v&&h)){this._lastFrame=f,this._lastFramePercent=r;var d=h.percent-v.percent;if(d!==0){var y=(r-v.percent)/d,p=n?this._additiveValue:u?ja:t[s];if((l>0||u)&&!p&&(p=this._additiveValue=[]),this.useSpline){var g=a[f][i],m=a[f===0?f:f-1][i],_=a[f>o-2?o-1:f+1][i],S=a[f>o-3?o-1:f+2][i];if(l>0)l===1?ny(p,m,g,_,S,y,y*y,y*y*y):ZM(p,m,g,_,S,y,y*y,y*y*y);else if(u)ny(p,m,g,_,S,y,y*y,y*y*y),n||(t[s]=Ka(p));else{var w=void 0;this.interpolable?w=gc(m,g,_,S,y,y*y,y*y*y):w=_,n?this._additiveValue=w:t[s]=w}}else if(l>0)l===1?ty(p,v[i],h[i],y):XM(p,v[i],h[i],y);else if(u)ty(p,v[i],h[i],y),n||(t[s]=Ka(p));else{var w=void 0;this.interpolable?w=Za(v[i],h[i],y):w=YM(v[i],h[i],y),n?this._additiveValue=w:t[s]=w}n&&this._addToTarget(t)}}}},e.prototype._addToTarget=function(t){var r=this.arrDim,n=this.propName,i=this._additiveValue;r===0?this.isValueColor?(hr(t[n],ja),Xs(ja,ja,i,1),t[n]=Ka(ja)):t[n]=t[n]+i:r===1?Xs(t[n],t[n],i,1):r===2&&ey(t[n],t[n],i,1)},e}(),yc=function(){function e(t,r,n){if(this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&n){zi("Can' use additive animation on looped animation.");return}this._additiveAnimators=n}return e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r){return this.whenWithKeys(t,r,Ht(r))},e.prototype.whenWithKeys=function(t,r,n){for(var i=this._tracks,a=0;a0)){this._started=1;for(var n=this,i=[],a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(a.getAdditiveTrack())}}}},e}(),QM=function(e){Z(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.onframe=r.onframe||function(){},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._clipsHead?(this._clipsTail.next=r,r.prev=this._clipsTail,r.next=null,this._clipsTail=r):this._clipsHead=this._clipsTail=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._clipsHead=i,i?i.prev=n:this._clipsTail=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=new Date().getTime()-this._pausedTime,i=n-this._time,a=this._clipsHead;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy&&a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.onframe(i),this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(fc(n),!r._paused&&r.update())}fc(n)},t.prototype.start=function(){this._running||(this._time=new Date().getTime(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=new Date().getTime(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=new Date().getTime()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._clipsHead;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._clipsHead=this._clipsTail=null},t.prototype.isFinished=function(){return this._clipsHead==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new yc(r,n.loop);return this.addAnimator(i),i},t}(cr),JM=QM,tD=300,mc=ht.domSupported,_c=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=ut(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}}(),iy={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ay=!1;function Sc(e){var t=e.pointerType;return t==="pen"||t==="touch"}function eD(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 bc(e){e&&(e.zrByTouch=!0)}function rD(e,t){return Oe(e.dom,new nD(e,t),!0)}function oy(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 nD=function(){function e(t,r){this.stopPropagation=Dr,this.stopImmediatePropagation=Dr,this.preventDefault=Dr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),Qe={mousedown:function(e){e=Oe(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=Oe(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=Oe(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=Oe(this.dom,e);var t=e.toElement||e.relatedTarget;oy(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){ay=!0,e=Oe(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){ay||(e=Oe(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=Oe(this.dom,e),bc(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Qe.mousemove.call(this,e),Qe.mousedown.call(this,e)},touchmove:function(e){e=Oe(this.dom,e),bc(e),this.handler.processGesture(e,"change"),Qe.mousemove.call(this,e)},touchend:function(e){e=Oe(this.dom,e),bc(e),this.handler.processGesture(e,"end"),Qe.mouseup.call(this,e),+new Date-+this.__lastTouchMomentcy||e<-cy}var kn=[],Yi=[],Dc=Wi(),Ac=Math.abs,fD=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 Qa(this.rotation)||Qa(this.x)||Qa(this.y)||Qa(this.scaleX-1)||Qa(this.scaleY-1)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&fy(n);return}n=n||Wi(),r?this.getLocalTransform(n):fy(n),t&&(r?Ar(n,t,n):uD(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(kn);var n=kn[0]<0?-1:1,i=kn[1]<0?-1:1,a=((kn[0]-n)*r+n)/kn[0]||0,o=((kn[1]-i)*r+i)/kn[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Wi(),tl(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&&(Ar(Yi,t.invTransform,r),r=Yi);var n=this.originX,i=this.originY;(n||i)&&(Dc[4]=n,Dc[5]=i,Ar(Yi,r,Dc),Yi[4]-=n,Yi[5]-=i,r=Yi),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&&ae(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&ae(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&Ac(t[0]-1)>1e-10&&Ac(t[3]-1)>1e-10?Math.sqrt(Ac(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){for(var r=this,n=0;nd&&(d=_,yd&&(d=S,g=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}Bn.x=Nn.x=r.x,Bn.y=zn.y=r.y,Fn.x=zn.x=r.x+r.width,Fn.y=Nn.y=r.y+r.height,Bn.transform(n),zn.transform(n),Fn.transform(n),Nn.transform(n),t.x=el(Bn.x,Fn.x,Nn.x,zn.x),t.y=el(Bn.y,Fn.y,Nn.y,zn.y);var l=rl(Bn.x,Fn.x,Nn.x,zn.x),u=rl(Bn.y,Fn.y,Nn.y,zn.y);t.width=l-t.x,t.height=u-t.y},e}(),xt=hD,vy={},Xi="12px sans-serif",nl,dy;function vD(e,t){return nl||(nl=Ns().getContext("2d")),dy!==t&&(dy=nl.font=t||Xi),nl.measureText(e)}var dD={measureText:vD};function Me(e,t){t=t||Xi;var r=vy[t];r||(r=vy[t]=new Xa(500));var n=r.get(e);return n==null&&(n=dD.measureText(e,t).width,r.put(e,n)),n}function py(e,t,r,n){var i=Me(e,t),a=Lc(t),o=eo(0,i,r),s=qi(0,a,n),l=new xt(o,s,i,a);return l}function Ic(e,t,r,n){var i=((e||"")+"").split(` -`),a=i.length;if(a===1)return py(i[0],t,r,n);for(var o=new xt(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}function gy(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+=Hn(n[0],r.width),u+=Hn(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 Ec="__zr_normal__",Rc=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],pD={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},Zi={},gD=new xt(0,0,0,0),Oc=function(){function e(t){this.id=Ig(),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=gD;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Zi,n,f):gy(Zi,n,f),a.x=Zi.x,a.y=Zi.y,o=Zi.align,s=Zi.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=Hn(c[0],f.width),v=Hn(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,p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,m=void 0,_=void 0;y&&this.canBeInsideText()?(g=n.insideFill,m=n.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(g),_=!0)):(g=n.outsideFill,m=n.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(g),_=!0)),g=g||"#000",(g!==p.fill||m!==p.stroke||_!==p.autoStroke||o!==p.align||s!==p.verticalAlign)&&(l=!0,p.fill=g,p.stroke=m,p.autoStroke=_,p.align=o,p.verticalAlign=s,r.setDefaultTextStyle(p)),r.__dirty|=Ce,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()?Mc:Cc},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&hr(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,qa(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||{},K(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=Ht(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(Ec,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===Ec,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,l=this.stateTransition;if(!(At(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){zi("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,h=this._textGuide;return c&&c.useState(t,r,n,f),h&&h.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&=~Ce),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 y=this._textContent,p=this._textGuide;y&&y.useStates(t,r,h),p&&p.useStates(t,r,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ce)}},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=At(i,t),o=At(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;o8)&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),e}();ur(Oc,cr);ur(Oc,Pc);function kc(e,t,r,n,i){r=r||{};var a=[];yy(e,"",e,t,r,n,a,i);var o=a.length,s=!1,l=r.done,u=r.aborted,f=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},c=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&r.during&&a[0].during(function(d,y){r.during(y)});for(var h=0;h0||i.force&&!o.length){for(var _=e.animators,S=[],w=0;w<_.length;w++)_[w].targetName===t&&S.push(_[w]);if(!v&&S.length)for(var w=0;w=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=At(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=At(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;i18),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 yt=Wn,Xh=12,LC="sans-serif",ii=Xh+"px "+LC,EC=20,RC=100,OC="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function kC(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 oM(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?ep(s,o):ep(o,s))}function r_(t){return t.nodeName.toUpperCase()==="CANVAS"}var sM=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ru=[],lM=yt.browser.firefox&&+yt.browser.version.split(".")[0]<39;function Sc(t,e,r,n){return r=r||{},n?np(t,e,r):lM&&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):np(t,e,r),r}function np(t,e,r){if(yt.domSupported&&t.getBoundingClientRect){var n=e.clientX,i=e.clientY;if(r_(t)){var a=t.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(_c(Ru,t,n,i)){r.zrX=Ru[0],r.zrY=Ru[1];return}}r.zrX=r.zrY=0}function Qh(t){return t||window.event}function ke(t,e,r){if(e=Qh(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&&Sc(t,o,e,r)}else{Sc(t,e,e,r);var a=uM(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&sM.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function uM(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 fM(t,e,r,n){t.addEventListener(e,r,n)}function cM(t,e,r,n){t.removeEventListener(e,r,n)}var n_=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},hM=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=ip(n)/ip(i);!isFinite(a)&&(a=1),e.pinchScale=a;var o=vM(n);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}},i_="silent";function dM(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:pM}}function pM(){n_(this.event)}var gM=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}(yr),wa=function(){function t(e,r){this.x=e,this.y=r}return t}(),mM=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],a_=function(t){J(e,t);function e(r,n,i,a){var o=t.call(this)||this;return o._hovered=new wa(0,0),o.storage=r,o.painter=n,o.painterRoot=a,i=i||new gM,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new eM(o),o}return e.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(D(mM,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=o_(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 wa(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 wa(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=dM(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 wa(r,n),s=a.length-1;s>=0;s--){var l=void 0;if(a[s]!==i&&!a[s].ignore&&(l=yM(a[s],r,n))&&(!o.topTarget&&(o.topTarget=a[s]),l!==i_)){o.target=a[s];break}}return o},e.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new hM);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 wa;s.target=a.target,this.dispatchToElement(s,o,a.event)}},e}(yr);D(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){a_.prototype[t]=function(e){var r=e.zrX,n=e.zrY,i=o_(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||QC(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,t,e)}});function yM(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?i_:!0}return!1}function o_(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}var _M=a_,s_=32,ba=7;function SM(t){for(var e=0;t>=s_;)e|=t&1,t>>=1;return t+e}function ap(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 wM(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 ku(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 Bu(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 bM(t,e){var r=ba,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]=ba||b>=ba);if(C)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),d===1){for(g=0;g=0;g--)t[w+g]=t[x+g];t[S]=o[_];return}for(var b=r;;){var C=0,M=0,I=!1;do if(e(o[_],t[y])<0){if(t[S--]=t[y--],C++,M=0,--d===0){I=!0;break}}else if(t[S--]=o[_--],M++,C=0,--p===1){I=!0;break}while((C|M)=0;g--)t[w+g]=t[x+g];if(d===0){I=!0;break}}if(t[S--]=o[_--],--p===1){I=!0;break}if(M=p-ku(t[y],o,0,p,p-1,e),M!==0){for(S-=M,_-=M,p-=M,w=S+1,x=_+1,g=0;g=ba||M>=ba);if(I)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),p===1){for(S-=d,y-=d,w=S+1,x=y+1,g=d-1;g>=0;g--)t[w+g]=t[x+g];t[S]=o[_]}else{if(p===0)throw new Error;for(x=S-(p-1),g=0;gs&&(l=s),op(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 Ce=1,$a=2,Bi=4,sp=!1;function Nu(){sp||(sp=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function lp(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var xM=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=lp}return t.prototype.traverse=function(e,r){for(var n=0;n0&&(f.__clipPaths=[]),isNaN(f.z)&&(Nu(),f.z=0),isNaN(f.z2)&&(Nu(),f.z2=0),isNaN(f.zlevel)&&(Nu(),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}(),TM=xM,l_;l_=yt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var wc=l_,Xs={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-Xs.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?Xs.bounceIn(t*2)*.5:Xs.bounceOut(t*2-1)*.5+.5}},u_=Xs,ns=Math.pow,fn=Math.sqrt,ml=1e-8,f_=1e-4,up=fn(3),is=1/3,fr=va(),ze=va(),Yi=va();function an(t){return t>-ml&&tml||t<-ml}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 fp(t,e,r,n,i){var a=1-i;return 3*(((e-t)*a+2*(r-e)*i)*a+(n-r)*i*i)}function yl(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(an(f)&&an(c))if(an(s))a[0]=0;else{var d=-l/s;d>=0&&d<=1&&(a[v++]=d)}else{var m=c*c-4*f*h;if(an(m)){var p=c/f,d=-s/o+p,g=-p/2;d>=0&&d<=1&&(a[v++]=d),g>=0&&g<=1&&(a[v++]=g)}else if(m>0){var y=fn(m),_=f*s+1.5*o*(-c+y),S=f*s+1.5*o*(-c-y);_<0?_=-ns(-_,is):_=ns(_,is),S<0?S=-ns(-S,is):S=ns(S,is);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var x=(2*f*s-3*o*c)/(2*fn(f*f*f)),w=Math.acos(x)/3,b=fn(f),C=Math.cos(w),d=(-s-2*b*C)/(3*o),g=(-s+b*(C+up*Math.sin(w)))/(3*o),M=(-s+b*(C-up*Math.sin(w)))/(3*o);d>=0&&d<=1&&(a[v++]=d),g>=0&&g<=1&&(a[v++]=g),M>=0&&M<=1&&(a[v++]=M)}}return v}function h_(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(an(o)){if(c_(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var f=a*a-4*o*s;if(an(f))i[0]=-a/(2*o);else if(f>0){var c=fn(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 _l(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 CM(t,e,r,n,i,a,o,s,l,u,f){var c,h=.005,v=1/0,d,m,p,g;fr[0]=l,fr[1]=u;for(var y=0;y<1;y+=.05)ze[0]=Xt(t,r,i,o,y),ze[1]=Xt(e,n,a,s,y),p=Ui(fr,ze),p=0&&p=0&&u<=1&&(i[l++]=u)}}else{var f=o*o-4*a*s;if(an(f)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(f>0){var c=fn(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 v_(t,e,r){var n=t+r-2*e;return n===0?.5:(t-e)/n}function Sl(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 AM(t,e,r,n,i,a,o,s,l){var u,f=.005,c=1/0;fr[0]=o,fr[1]=s;for(var h=0;h<1;h+=.05){ze[0]=re(t,r,i,h),ze[1]=re(e,n,a,h);var v=Ui(fr,ze);v=0&&v=1?1:yl(0,n,a,1,l,s)&&Xt(0,i,o,1,s[0])}}}var LM=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=vt(e)?e:u_[e]||d_(e)},t}(),EM=LM,p_=function(){function t(e){this.value=e}return t}(),RM=function(){function t(){this._len=0}return t.prototype.insert=function(e){var r=new p_(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}(),OM=function(){function t(e){this._list=new RM,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 p_(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}(),Wo=OM,hp={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 cn(t){return t=Math.round(t),t<0?0:t>255?255:t}function bc(t){return t<0?0:t>1?1:t}function Fu(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?cn(parseFloat(e)/100*255):cn(parseInt(e,10))}function wl(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?bc(parseFloat(e)/100):bc(parseFloat(e))}function zu(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 as(t,e,r){return t+(e-t)*r}function Oe(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function xc(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var g_=new Wo(20),os=null;function Si(t,e){os&&xc(os,e),os=g_.put(t,os||e.slice())}function Pr(t,e){if(!!t){e=e||[];var r=g_.get(t);if(r)return xc(e,r);t=t+"";var n=t.replace(/ /g,"").toLowerCase();if(n in hp)return xc(e,hp[n]),Si(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)){Oe(e,0,0,0,1);return}return Oe(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),Si(t,e),e}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){Oe(e,0,0,0,1);return}return Oe(e,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Si(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?Oe(e,+u[0],+u[1],+u[2],1):Oe(e,0,0,0,1);f=wl(u.pop());case"rgb":if(u.length!==3){Oe(e,0,0,0,1);return}return Oe(e,Fu(u[0]),Fu(u[1]),Fu(u[2]),f),Si(t,e),e;case"hsla":if(u.length!==4){Oe(e,0,0,0,1);return}return u[3]=wl(u[3]),vp(u,e),Si(t,e),e;case"hsl":if(u.length!==3){Oe(e,0,0,0,1);return}return vp(u,e),Si(t,e),e;default:return}}Oe(e,0,0,0,1)}}function vp(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=wl(t[1]),i=wl(t[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return e=e||[],Oe(e,cn(zu(o,a,r+1/3)*255),cn(zu(o,a,r)*255),cn(zu(o,a,r-1/3)*255),1),t.length===4&&(e[3]=t[3]),e}function dp(t,e){var r=Pr(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 tu(r,r.length===4?"rgba":"rgb")}}function kM(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=Pr(e[i]),s=Pr(e[a]),l=n-i,u=tu([cn(as(o[0],s[0],l)),cn(as(o[1],s[1],l)),cn(as(o[2],s[2],l)),bc(as(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:i,rightIndex:a,value:n}:u}}function tu(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 bl(t,e){var r=Pr(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}function BM(t){return t.type==="linear"}function NM(t){return t.type==="radial"}(function(){return yt.hasGlobalWindow&&vt(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 Tc=Array.prototype.slice;function Tr(t,e,r){return(e-t)*r+t}function Hu(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=gp,l=r;if(Se(r)){var u=VM(r);s=u,(u===1&&!Gt(r[0])||u===2&&!Gt(r[0][0]))&&(o=!0)}else if(Gt(r)&&!gl(r))s=ls;else if(nt(r))if(!isNaN(+r))s=ls;else{var f=Pr(r);f&&(l=f,s=Wa)}else if(Ql(r)){var c=q({},l);c.colorStops=ct(r.colorStops,function(v){return{offset:v.offset,color:Pr(v.color)}}),BM(r)?s=Cc:NM(r)&&(s=Mc),l=c}a===0?this.valType=s:(s!==this.valType||s===gp)&&(o=!0),this.discrete=this.discrete||o;var h={time:e,value:l,rawValue:r,percent:0};return n&&(h.easing=n,h.easingFunc=vt(n)?n:u_[n]||d_(n)),i.push(h),h},t.prototype.prepare=function(e,r){var n=this.keyframes;this._needsSort&&n.sort(function(m,p){return m.time-p.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,l=us(i),u=mp(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 p=d.percent-v.percent,g=p===0?1:h((r-v.percent)/p,1);d.easingFunc&&(g=d.easingFunc(g));var y=n?this._additiveValue:u?xa:e[l];if((us(a)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)e[l]=g<1?v.rawValue:d.rawValue;else if(us(a))a===Zs?Hu(y,v[i],d[i],g):FM(y,v[i],d[i],g);else if(mp(a)){var _=v[i],S=d[i],x=a===Cc;e[l]={type:x?"linear":"radial",x:Tr(_.x,S.x,g),y:Tr(_.y,S.y,g),colorStops:ct(_.colorStops,function(b,C){var M=S.colorStops[C];return{offset:Tr(b.offset,M.offset,g),color:Ks(Hu([],b.color,M.color,g))}}),global:S.global},x?(e[l].x2=Tr(_.x2,S.x2,g),e[l].y2=Tr(_.y2,S.y2,g)):e[l].r=Tr(_.r,S.r,g)}else if(u)Hu(y,v[i],d[i],g),n||(e[l]=Ks(y));else{var w=Tr(v[i],d[i],g);n?this._additiveValue=w:e[l]=w}n&&this._addToTarget(e)}}},t.prototype._addToTarget=function(e){var r=this.valType,n=this.propName,i=this._additiveValue;r===ls?e[n]=e[n]+i:r===Wa?(Pr(e[n],xa),ss(xa,xa,i,1),e[n]=Ks(xa)):r===Zs?ss(e[n],e[n],i,1):r===m_&&pp(e[n],e[n],i,1)},t}(),$M=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){Zh("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,qs(u),i),this._trackKeys.push(s)}l.addKeyframe(e,qs(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}(),Jh=$M;function Hi(){return new Date().getTime()}var WM=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=Hi()-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&&(wc(n),!r._paused&&r.update())}wc(n)},e.prototype.start=function(){this._running||(this._time=Hi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Hi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Hi()-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 Jh(r,n.loop);return this.addAnimator(i),i},e}(yr),UM=WM,YM=300,Vu=yt.domSupported,Gu=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}}(),yp={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},_p=!1;function Dc(t){var e=t.pointerType;return e==="pen"||e==="touch"}function XM(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 $u(t){t&&(t.zrByTouch=!0)}function qM(t,e){return ke(t.dom,new KM(t,e),!0)}function y_(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 KM=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}(),Ze={mousedown:function(t){t=ke(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ke(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=ke(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=ke(this.dom,t);var e=t.toElement||t.relatedTarget;y_(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){_p=!0,t=ke(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){_p||(t=ke(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=ke(this.dom,t),$u(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ze.mousemove.call(this,t),Ze.mousedown.call(this,t)},touchmove:function(t){t=ke(this.dom,t),$u(t),this.handler.processGesture(t,"change"),Ze.mousemove.call(this,t)},touchend:function(t){t=ke(this.dom,t),$u(t),this.handler.processGesture(t,"end"),Ze.mouseup.call(this,t),+new Date-+this.__lastTouchMomentbp||t<-bp}var wn=[],wi=[],Uu=Mo(),Yu=Math.abs,nv=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 Sn(this.rotation)||Sn(this.x)||Sn(this.y)||Sn(this.scaleX-1)||Sn(this.scaleY-1)||Sn(this.skewX)||Sn(this.skewY)},t.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||e)){n&&wp(n);return}n=n||Mo(),r?this.getLocalTransform(n):wp(n),e&&(r?Xi(n,e,n):eD(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)},t.prototype._resolveGlobalScaleRatio=function(e){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(wn);var n=wn[0]<0?-1:1,i=wn[1]<0?-1:1,a=((wn[0]-n)*r+n)/wn[0]||0,o=((wn[1]-i)*r+i)/wn[1]||0;e[0]*=a,e[1]*=a,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||Mo(),rv(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&&(Xi(wi,e.invTransform,r),r=wi);var n=this.originX,i=this.originY;(n||i)&&(Uu[4]=n,Uu[5]=i,Xi(wi,r,Uu),wi[4]-=n,wi[5]-=i,r=wi),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&&Ue(n,n,i),n},t.prototype.transformCoordToGlobal=function(e,r){var n=[e,r],i=this.transform;return i&&Ue(n,n,i),n},t.prototype.getLineScale=function(){var e=this.transform;return e&&Yu(e[0]-1)>1e-10&&Yu(e[3]-1)>1e-10?Math.sqrt(Yu(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){nD(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,m=i+l;r[4]=-d*a-h*m*o,r[5]=-m*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&&ev(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}(),Do=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function nD(t,e){for(var r=0;rd&&(d=_,md&&(d=S,g=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}bn.x=Tn.x=r.x,bn.y=Cn.y=r.y,xn.x=Cn.x=r.x+r.width,xn.y=Tn.y=r.y+r.height,bn.transform(n),Cn.transform(n),xn.transform(n),Tn.transform(n),e.x=fs(bn.x,xn.x,Tn.x,Cn.x),e.y=fs(bn.y,xn.y,Tn.y,Cn.y);var l=cs(bn.x,xn.x,Tn.x,Cn.x),u=cs(bn.y,xn.y,Tn.y,Cn.y);e.width=l-e.x,e.height=u-e.y},t}(),Ot=aD,xp={};function De(t,e){e=e||ii;var r=xp[e];r||(r=xp[e]=new Wo(500));var n=r.get(t);return n==null&&(n=ci.measureText(t,e).width,r.put(t,n)),n}function Tp(t,e,r,n){var i=De(t,e),a=av(e),o=Ua(0,i,r),s=Ni(0,a,n),l=new Ot(o,s,i,a);return l}function iv(t,e,r,n){var i=((t||"")+"").split(` +`),a=i.length;if(a===1)return Tp(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 S_(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+=ai(n[0],r.width),u+=ai(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 Xu="__zr_normal__",qu=Do.concat(["ignore"]),oD=ha(Do,function(t,e){return t[e]=!0,t},{ignore:!1}),bi={},sD=new Ot(0,0,0,0),ov=function(){function t(e){this.id=Q0(),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=sD;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(bi,n,f):S_(bi,n,f),a.x=bi.x,a.y=bi.y,o=bi.align,s=bi.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=ai(c[0],f.width),v=ai(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 m=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,y=void 0,_=void 0;m&&this.canBeInsideText()?(g=n.insideFill,y=n.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(g),_=!0)):(g=n.outsideFill,y=n.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(g),_=!0)),g=g||"#000",(g!==p.fill||y!==p.stroke||_!==p.autoStroke||o!==p.align||s!==p.verticalAlign)&&(l=!0,p.fill=g,p.stroke=y,p.autoStroke=_,p.align=o,p.verticalAlign=s,r.setDefaultTextStyle(p)),r.__dirty|=Ce,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()?Lc:Ic},t.prototype.getOutsideStroke=function(e){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&Pr(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,tu(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(Xu,!1,e)},t.prototype.useState=function(e,r,n,i){var a=e===Xu,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){Zh("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&=~Ce),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 m=this._textContent,p=this._textGuide;m&&m.useStates(e,r,h),p&&p.useStates(e,r,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Ce)}},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,m){r.during(m)});for(var h=0;h0||i.force&&!o.length){var C=void 0,M=void 0,I=void 0;if(s){M={},h&&(C={});for(var S=0;S<_;S++){var g=m[S];M[g]=r[g],h?C[g]=n[g]:r[g]=n[g]}}else if(h){I={};for(var S=0;S<_;S++){var g=m[S];I[g]=qs(r[g]),uD(r,n,g)}}var x=new Jh(r,!1,!1,c?ge(d,function(A){return A.targetName===e}):null);x.targetName=e,i.scope&&(x.scope=i.scope),h&&C&&x.whenWithKeys(0,C,m),I&&x.whenWithKeys(0,I,m),x.whenWithKeys(u==null?500:u,s?M:n,m).delay(f||0),t.addAnimator(x,e),o.push(x)}}var b_=ov,x_=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;i0&&(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.addHover=function(t){},e.prototype.removeHover=function(t){},e.prototype.clearHover=function(){},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.pathToImage=function(t,r){if(this.painter.pathToImage)return this.painter.pathToImage(t,r)},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 he(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 typeof e=="string"?TD(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function oe(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),xy),e=(+e).toFixed(t),r?e:+e}function Pr(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 CD(e)}function CD(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 MD(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 DD(e,t){var r=Math.max(Pr(e),Pr(t)),n=e+t;return r>xy?n:oe(n,r)}function Cy(e){var t=Math.PI*2;return(e%t+t)%t}function il(e){return e>-wy&&e=10&&t++,t}function Dy(e,t){var r=My(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 al(e){var t=parseFloat(e);return t==e&&(t!==0||typeof e!="string"||e.indexOf("x")<=0)?t:NaN}function ID(e){return!isNaN(al(e))}function Ay(){return Math.round(Math.random()*9)}function Py(e,t){return t===0?e:Py(t,e%t)}function Iy(e,t){return e==null?t:t==null?e:e*t/Py(e,t)}function ve(e){throw new Error(e)}var Ly="series\0",LD="\0_ec_\0";function se(e){return e instanceof Array?e:e==null?[]:[e]}function Ey(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&&At(a,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var tA=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],eA=so(tA),rA=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return eA(this,t,r)},e}(),Vc=new Xa(50);function nA(e){if(typeof e=="string"){var t=Vc.get(e);return t&&t.image}else return e}function Ny(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=Vc.get(e),o={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!sl(t)&&a.pending.push(o)):(t=new Image,t.onload=t.onerror=iA,Vc.put(e,t.__cachedImgObj={image:t,pending:[o]}),t.src=t.__zrImageSrc=e),t}else return e;else return t}function iA(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;l++)s-=o;var u=Me(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 Hy(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=Me(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?oA(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=Me(e,n)}return e===""&&(e=t.placeholder),e}function oA(e,t,r,n){for(var i=0,a=0,o=e.length;ah&&l){var v=Math.floor(h/s);f=f.slice(0,v)}var d=h,y=u;if(n&&(d+=n[0]+n[2],y!=null&&(y+=n[1]+n[3])),e&&a&&y!=null)for(var p=zy(u,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;gs&&$c(r,e.substring(s,u),t,o),$c(r,l[2],t,o,l[1]),s=Gc.lastIndex}si){w>0?(m.tokens=m.tokens.slice(0,w),p(m,S,_),r.lines=r.lines.slice(0,g+1)):r.lines=r.lines.slice(0,g);break t}var P=x.width,E=P==null||P==="auto";if(typeof P=="string"&&P.charAt(P.length-1)==="%")b.percentWidth=P,f.push(b),b.contentWidth=Me(b.text,L);else{if(E){var B=x.backgroundColor,k=B&&B.image;k&&(k=nA(k),sl(k)&&(b.width=Math.max(b.width,k.width*I/k.height)))}var Y=d&&n!=null?n-S:null;Y!=null&&Y0&&d+n.accumWidth>n.width&&(f=t.split(` -`),u=!0),n.accumWidth=d}else{var y=Gy(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=y.accumWidth+v,c=y.linesWidths,f=y.lines}}else f=t.split(` -`);for(var p=0;p=33&&t<=255}var hA=Wf(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function vA(e){return cA(e)?!!hA[e]:!0}function Gy(e,t,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,f+=u,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=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 Uc="__zr_style_"+Math.round(Math.random()*10),$n={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ll={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};$n[Uc]=!0;var $y=["z","z2","invisible"],dA=["invisible"],pA=function(e){Z(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=Ht(r),i=0;i-fl&&efl||e<-fl}function Nt(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 Xy(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function Xc(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,h=l*l-3*s*u,v=0;if(tn(f)&&tn(c))if(tn(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(tn(y)){var p=c/f,d=-s/o+p,g=-p/2;d>=0&&d<=1&&(a[v++]=d),g>=0&&g<=1&&(a[v++]=g)}else if(y>0){var m=Jr(y),_=f*s+1.5*o*(-c+m),S=f*s+1.5*o*(-c-m);_<0?_=-ul(-_,cl):_=ul(_,cl),S<0?S=-ul(-S,cl):S=ul(S,cl);var d=(-s-(_+S))/(3*o);d>=0&&d<=1&&(a[v++]=d)}else{var w=(2*f*s-3*o*c)/(2*Jr(f*f*f)),b=Math.acos(w)/3,x=Jr(f),C=Math.cos(b),d=(-s-2*x*C)/(3*o),g=(-s+x*(C+Wy*Math.sin(b)))/(3*o),M=(-s+x*(C-Wy*Math.sin(b)))/(3*o);d>=0&&d<=1&&(a[v++]=d),g>=0&&g<=1&&(a[v++]=g),M>=0&&M<=1&&(a[v++]=M)}}return v}function qy(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(tn(o)){if(Yy(a)){var u=-s/a;u>=0&&u<=1&&(i[l++]=u)}}else{var f=a*a-4*o*s;if(tn(f))i[0]=-a/(2*o);else if(f>0){var c=Jr(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 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 yA(e,t,r,n,i,a,o,s,l,u,f){var c,h=.005,v=1/0,d,y,p,g;pr[0]=l,pr[1]=u;for(var m=0;m<1;m+=.05)Be[0]=Nt(e,r,i,o,m),Be[1]=Nt(t,n,a,s,m),p=Vi(pr,Be),p=0&&p=0&&u<=1&&(i[l++]=u)}}else{var f=o*o-4*a*s;if(tn(f)){var u=-o/(2*a);u>=0&&u<=1&&(i[l++]=u)}else if(f>0){var c=Jr(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 Ky(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function vl(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 SA(e,t,r,n,i,a,o,s,l){var u,f=.005,c=1/0;pr[0]=o,pr[1]=s;for(var h=0;h<1;h+=.05){Be[0]=Jt(e,r,i,h),Be[1]=Jt(t,n,a,h);var v=Vi(pr,Be);v=0&&v1e-4){s[0]=e-r,s[1]=t-n,l[0]=e+r,l[1]=t+n;return}if(dl[0]=Zc(i)*r+e,dl[1]=qc(i)*n+t,pl[0]=Zc(a)*r+e,pl[1]=qc(a)*n+t,u(s,dl,pl),f(l,dl,pl),i=i%Un,i<0&&(i=i+Un),a=a%Un,a<0&&(a=a+Un),i>a&&!o?a+=Un:ii&&(gl[0]=Zc(v)*r+e,gl[1]=qc(v)*n+t,u(s,gl,s),f(l,gl,l))}var Mt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Wn=[],Yn=[],gr=[],en=[],yr=[],mr=[],uo=Math.min,fo=Math.max,Xn=Math.cos,qn=Math.sin,yl=Math.sqrt,Lr=Math.abs,Kc=Math.PI,rn=Kc*2,jc=typeof Float32Array!="undefined",co=[];function Qc(e){var t=Math.round(e/Kc*1e8)/1e8;return t%2*Kc}function tm(e,t){var r=Qc(e[0]);r<0&&(r+=rn);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=rn?i=r+rn:t&&r-i>=rn?i=r-rn:!t&&r>i?i=r+(rn-Qc(r-i)):t&&r0&&(this._ux=Lr(n/Ks/t)||0,this._uy=Lr(n/Ks/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._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(Mt.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=Lr(t-this._xi),i=Lr(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(Mt.L,t,r),this._ctx&&a&&(this._needsDash?this._dashedLineTo(t,r):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(Mt.C,t,r,n,i,a,o),this._ctx&&(this._needsDash?this._dashedBezierTo(t,r,n,i,a,o):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(Mt.Q,t,r,n,i),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,r,n,i):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(),co[0]=i,co[1]=a,tm(co,o),i=co[0],a=co[1];var s=a-i;return this.addData(Mt.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=Xn(a)*n+t,this._yi=qn(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(Mt.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(Mt.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(r,n),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.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var r=0,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;r0&&h<=t||u<0&&h>=t||u===0&&(f>0&&v<=r||f<0&&v>=r);)p=this._dashIdx,y=i[p],h+=u*y,v+=f*y,this._dashIdx=(p+1)%d,!(u>0&&hs||f>0&&vl)&&a[p%2?"moveTo":"lineTo"](u>=0?uo(h,t):fo(h,t),f>=0?uo(v,r):fo(v,r));u=h-t,f=v-r,this._dashOffset=-yl(u*u+f*f)},e.prototype._dashedBezierTo=function(t,r,n,i,a,o){var s=this._ctx,l=this._dashSum,u=this._dashOffset,f=this._lineDash,c=this._xi,h=this._yi,v=0,d=this._dashIdx,y=f.length,p,g,m,_,S,w=0;for(u<0&&(u=l+u),u%=l,p=0;p<1;p+=.1)g=Nt(c,t,n,a,p+.1)-Nt(c,t,n,a,p),m=Nt(h,r,i,o,p+.1)-Nt(h,r,i,o,p),v+=yl(g*g+m*m);for(;du));d++);for(p=(w-u)/v;p<=1;)_=Nt(c,t,n,a,p),S=Nt(h,r,i,o,p),d%2?s.moveTo(_,S):s.lineTo(_,S),p+=f[d]/v,d=(d+1)%y;d%2!=0&&s.lineTo(a,o),g=a-_,m=o-S,this._dashOffset=-yl(g*g+m*m)},e.prototype._dashedQuadraticTo=function(t,r,n,i){var a=n,o=i;n=(n+2*t)/3,i=(i+2*r)/3,t=(this._xi+2*t)/3,r=(this._yi+2*r)/3,this._dashedBezierTo(t,r,n,i,a,o)},e.prototype.toStatic=function(){if(!!this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,jc&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){gr[0]=gr[1]=yr[0]=yr[1]=Number.MAX_VALUE,en[0]=en[1]=mr[0]=mr[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;on||Lr(_)>i||h===r-1)&&(y=Math.sqrt(m*m+_*_),a=p,o=g);break}case Mt.C:{var S=t[h++],w=t[h++],p=t[h++],g=t[h++],b=t[h++],x=t[h++];y=mA(a,o,S,w,p,g,b,x,10),a=b,o=x;break}case Mt.Q:{var S=t[h++],w=t[h++],p=t[h++],g=t[h++];y=bA(a,o,S,w,p,g,10),a=p,o=g;break}case Mt.A:var C=t[h++],M=t[h++],L=t[h++],I=t[h++],P=t[h++],E=t[h++],B=E+P;h+=1,t[h++],d&&(s=Xn(P)*L+C,l=qn(P)*I+M),y=fo(L,I)*uo(rn,Math.abs(E)),a=Xn(B)*L+C,o=qn(B)*I+M;break;case Mt.R:{s=a=t[h++],l=o=t[h++];var k=t[h++],Y=t[h++];y=k*2+Y*2;break}case Mt.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},e.prototype.rebuildPath=function(t,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,p=0,g=0,m,_=0,S,w;if(v&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,y=this._pathLen,m=r*y,!m))return;t:for(var b=0;b0&&(t.lineTo(S,w),_=0),x){case Mt.M:s=u=n[b++],l=f=n[b++],t.moveTo(u,f);break;case Mt.L:{c=n[b++],h=n[b++];var M=Lr(c-u),L=Lr(h-f);if(M>i||L>a){if(v){var I=d[g++];if(p+I>m){var P=(m-p)/I;t.lineTo(u*(1-P)+c*P,f*(1-P)+h*P);break t}p+=I}t.lineTo(c,h),u=c,f=h,_=0}else{var E=M*M+L*L;E>_&&(S=c,w=h,_=E)}break}case Mt.C:{var B=n[b++],k=n[b++],Y=n[b++],q=n[b++],U=n[b++],Q=n[b++];if(v){var I=d[g++];if(p+I>m){var P=(m-p)/I;hl(u,B,Y,U,P,Wn),hl(f,k,q,Q,P,Yn),t.bezierCurveTo(Wn[1],Yn[1],Wn[2],Yn[2],Wn[3],Yn[3]);break t}p+=I}t.bezierCurveTo(B,k,Y,q,U,Q),u=U,f=Q;break}case Mt.Q:{var B=n[b++],k=n[b++],Y=n[b++],q=n[b++];if(v){var I=d[g++];if(p+I>m){var P=(m-p)/I;vl(u,B,Y,P,Wn),vl(f,k,q,P,Yn),t.quadraticCurveTo(Wn[1],Yn[1],Wn[2],Yn[2]);break t}p+=I}t.quadraticCurveTo(B,k,Y,q),u=Y,f=q;break}case Mt.A:var V=n[b++],it=n[b++],Ot=n[b++],pt=n[b++],dt=n[b++],O=n[b++],j=n[b++],G=!n[b++],tt=Ot>pt?Ot:pt,bt=Lr(Ot-pt)>.001,gt=dt+O,ct=!1;if(v){var I=d[g++];p+I>m&&(gt=dt+O*(m-p)/I,ct=!0),p+=I}if(bt&&t.ellipse?t.ellipse(V,it,Ot,pt,j,dt,gt,G):t.arc(V,it,tt,dt,gt,G),ct)break t;C&&(s=Xn(dt)*Ot+V,l=qn(dt)*pt+it),u=Xn(gt)*Ot+V,f=qn(gt)*pt+it;break;case Mt.R:s=u=n[b],l=f=n[b+1],c=n[b++],h=n[b++];var ot=n[b++],T=n[b++];if(v){var I=d[g++];if(p+I>m){var A=m-p;t.moveTo(c,h),t.lineTo(c+uo(A,ot),h),A-=ot,A>0&&t.lineTo(c+ot,h+uo(A,T)),A-=T,A>0&&t.lineTo(c+fo(ot-A,0),h+T),A-=ot,A>0&&t.lineTo(c,h+fo(T-A,0));break t}p+=I}t.rect(c,h,ot,T);break;case Mt.Z:if(v){var I=d[g++];if(p+I>m){var P=(m-p)/I;t.lineTo(u*(1-P)+s*P,f*(1-P)+l*P);break t}p+=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=Mt,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._needsDash=!1,t._dashOffset=0,t._dashIdx=0,t._dashSum=0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),Zn=MA;function ji(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+=ho);var h=Math.atan2(l,s);return h<0&&(h+=ho),h>=n&&h<=i||h+ho>=n&&h+ho<=i}function Er(e,t,r,n,i,a){if(a>t&&a>n||ai?s:0}var nn=Zn.CMD,Kn=Math.PI*2,IA=1e-4;function LA(e,t){return Math.abs(e-t)t&&u>n&&u>a&&u>s||u1&&EA(),v=Nt(t,n,a,s,Fe[0]),h>1&&(d=Nt(t,n,a,s,Fe[1]))),h===2?pt&&s>n&&s>a||s=0&&u<=1){for(var f=0,c=Jt(t,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>=Kn-1e-4){n=0,i=Kn;var f=a?1:-1;return o>=le[0]+e&&o<=le[1]+e?f:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=Kn,i+=Kn);for(var h=0,v=0;v<2;v++){var d=le[v];if(d+e>o){var y=Math.atan2(s,d),f=a?1:-1;y<0&&(y=Kn+y),(y>=n&&y<=i||y+Kn>=n&&y+Kn<=i)&&(y>Math.PI/2&&y1&&(r||(s+=Er(l,u,f,c,n,i))),p&&(l=a[d],u=a[d+1],f=l,c=u),y){case nn.M:f=a[d++],c=a[d++],l=f,u=c;break;case nn.L:if(r){if(ji(l,u,a[d],a[d+1],t,n,i))return!0}else s+=Er(l,u,a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case nn.C:if(r){if(DA(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=RA(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 nn.Q:if(r){if(AA(l,u,a[d++],a[d++],a[d],a[d+1],t,n,i))return!0}else s+=OA(l,u,a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case nn.A:var g=a[d++],m=a[d++],_=a[d++],S=a[d++],w=a[d++],b=a[d++];d+=1;var x=!!(1-a[d++]);h=Math.cos(w)*_+g,v=Math.sin(w)*S+m,p?(f=h,c=v):s+=Er(l,u,h,v,n,i);var C=(n-g)*S/_+g;if(r){if(PA(g,m,S,w,w+b,x,t,C,i))return!0}else s+=kA(g,m,S,w,w+b,x,C,i);l=Math.cos(w+b)*_+g,u=Math.sin(w+b)*S+m;break;case nn.R:f=l=a[d++],c=u=a[d++];var M=a[d++],L=a[d++];if(h=f+M,v=c+L,r){if(ji(f,c,h,c,t,n,i)||ji(h,c,h,v,t,n,i)||ji(h,v,f,v,t,n,i)||ji(f,v,f,c,t,n,i))return!0}else s+=Er(h,c,h,v,n,i),s+=Er(f,v,f,c,n,i);break;case nn.Z:if(r){if(ji(l,u,f,c,t,n,i))return!0}else s+=Er(l,u,f,c,n,i);l=f,u=c;break}}return!r&&!LA(u,c)&&(s+=Er(l,u,f,c,n,i)||0),s!==0}function BA(e,t,r){return rm(e,0,!1,t,r)}function FA(e,t,r,n){return rm(e,t,!0,r,n)}var nm=Ct({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},$n),NA={style:Ct({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ll.style)},Jc=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],zA=function(e){Z(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?Cc:n>.2?lD:Mc}else if(r)return Mc}return Cc},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(wt(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=Ys(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&$i)&&(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._rectWithStroke||(this._rectWithStroke=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)),FA(s,l/u,r,n)))return!0}if(this.hasFill())return BA(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=$i,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:K(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&$i)},t.prototype.createStyle=function(r){return $a(nm,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=K({},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=K({},i.shape),K(u,n.shape)):(u=K({},a?this.shape:i.shape),K(u,n.shape)):l&&(u=i.shape),u)if(o){this.shape=K({},this.shape);for(var f={},c=Ht(u),h=0;h0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return $a(HA,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=Ic(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}(lo);im.prototype.type="tspan";var _l=im,VA=Ct({x:0,y:0},$n),GA={style:Ct({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ll.style)};function $A(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var am=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return $a(VA,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=$A(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 GA},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new xt(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(lo);am.prototype.type="image";var Rr=am;function UA(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 om(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=jn(n,s,!0)),Qi(a*2)===Qi(o*2)&&(e.y1=e.y2=jn(a,s,!0))),e}}function sm(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=jn(n,s,!0),e.y=jn(i,s,!0),e.width=Math.max(jn(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(jn(i+o,s,!1)-e.y,o===0?0:1)),e}}function jn(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 WA=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),YA={},lm=function(e){Z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new WA},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var l=sm(YA,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?UA(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Rt);lm.prototype.type="rect";var Yt=lm,um={fill:"#000"},fm=2,XA={style:Ct({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},ll.style)},cm=function(e){Z(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=um,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,I=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),P=o.calculatedLineHeight,E=0;E=0&&(B=b[E],B.align==="right");)this._placeToken(B,r,C,g,P,"right",_),M-=B.width,P-=B.width,E--;for(I+=(a-(I-p)-(m-P)-M)/2;L<=E;)B=b[L],this._placeToken(B,r,C,g,I+B.width/2,"center",_),I+=B.width,L++;g+=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 h=!r.isLineHolder&&th(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=pm(o,s,d),c-=r.height/2-d[0]-r.innerHeight/2);var y=this._getOrCreateChild(_l),p=y.createStyle();y.useStyle(p);var g=this._defaultStyle,m=!1,_=0,S=dm("fill"in u?u.fill:"fill"in n?n.fill:(m=!0,g.fill)),w=vm("stroke"in u?u.stroke:"stroke"in n?n.stroke:!v&&!l&&(!g.autoStroke||m)?(_=fm,g.stroke):null),b=u.textShadowBlur>0||n.textShadowBlur>0;p.text=r.text,p.x=o,p.y=c,b&&(p.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,p.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",p.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,p.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),p.textAlign=s,p.textBaseline="middle",p.font=r.font||Xi,p.opacity=Hs(u.opacity,n.opacity,1),w&&(p.lineWidth=Hs(u.lineWidth,n.lineWidth,_),p.lineDash=Dt(u.lineDash,n.lineDash),p.lineDashOffset=n.lineDashOffset||0,p.stroke=w),S&&(p.fill=S);var x=r.contentWidth,C=r.contentHeight;y.setBoundingRect(new xt(eo(p.x,x,p.textAlign),qi(p.y,C,p.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,h=l&&!c,v=r.borderRadius,d=this,y,p;if(h||r.lineHeight||u&&f){y=this._getOrCreateChild(Yt),y.useStyle(y.createStyle()),y.style.fill=null;var g=y.shape;g.x=i,g.y=a,g.width=o,g.height=s,g.r=v,y.dirtyShape()}if(h){var m=y.style;m.fill=l||null,m.fillOpacity=Dt(r.fillOpacity,1)}else if(c){p=this._getOrCreateChild(Rr),p.onload=function(){d.dirtyStyle()};var _=p.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=Dt(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 S=(y||p).style;S.shadowBlur=r.shadowBlur||0,S.shadowColor=r.shadowColor||"transparent",S.shadowOffsetX=r.shadowOffsetX||0,S.shadowOffsetY=r.shadowOffsetY||0,S.opacity=Hs(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";if(r.fontSize||r.fontFamily||r.fontWeight){var i="";typeof r.fontSize=="string"&&(r.fontSize.indexOf("px")!==-1||r.fontSize.indexOf("rem")!==-1||r.fontSize.indexOf("em")!==-1)?i=r.fontSize:isNaN(+r.fontSize)?i="12px":i=r.fontSize+"px",n=[r.fontStyle,r.fontWeight,i,r.fontFamily||"sans-serif"].join(" ")}return n&&En(n)||r.textFont||r.font},t}(lo),qA={left:!0,right:1,center:1},ZA={top:1,bottom:1,middle:1};function KA(e){return hm(e),D(e.rich,hm),e}function hm(e){if(e){e.font=cm.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||qA[t]?t:"left";var r=e.verticalAlign;r==="center"&&(r="middle"),e.verticalAlign=r==null||ZA[r]?r:"top";var n=e.padding;n&&(e.padding=Eg(e.padding))}}function vm(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function dm(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function pm(e,t,r){return t==="right"?e-r[1]:t==="center"?e+r[3]/2-r[1]/2:e+r[3]}function gm(e){var t=e.text;return t!=null&&(t+=""),t}function th(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var ue=cm,kt=Kt(),jA=function(e,t,r,n){if(n){var i=kt(n);i.dataIndex=r,i.dataType=t,i.seriesIndex=e,n.type==="group"&&n.traverse(function(a){var o=kt(a);o.seriesIndex=e,o.dataIndex=r,o.dataType=t})}},ym=1,mm={},_m=Kt(),eh=0,Sl=1,bl=2,_r=["emphasis","blur","select"],Sm=["normal","emphasis","blur","select"],QA=10,JA=9,Qn="highlight",wl="downplay",vo="select",xl="unselect",po="toggleSelect";function Ji(e){return e!=null&&e!=="none"}var bm=new Xa(100);function wm(e){if(typeof e!="string")return e;var t=bm.get(e);return t||(t=$M(e,-.1),bm.put(e,t)),t}function Tl(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function xm(e){Tl(e,"emphasis",bl)}function Tm(e){e.hoverState===bl&&Tl(e,"normal",eh)}function rh(e){Tl(e,"blur",Sl)}function Cm(e){e.hoverState===Sl&&Tl(e,"normal",eh)}function tP(e){e.selected=!0}function eP(e){e.selected=!1}function Mm(e,t,r){t(e,r)}function Or(e,t,r){Mm(e,t,r),e.isGroup&&e.traverse(function(n){Mm(n,t,r)})}function Dm(e,t){switch(t){case"emphasis":e.hoverState=bl;break;case"normal":e.hoverState=eh;break;case"blur":e.hoverState=Sl;break;case"select":e.selected=!0}}function rP(e,t,r,n){for(var i=e.style,a={},o=0;o=0,a=!1;if(e instanceof Rt){var o=_m(e),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(Ji(s)||Ji(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=K({},n),u=K({},u),u.fill=s):!Ji(u.fill)&&Ji(s)?(a=!0,n=K({},n),u=K({},u),u.fill=wm(s)):!Ji(u.stroke)&&Ji(l)&&(a||(n=K({},n),u=K({},u)),u.stroke=wm(l)),n.style=u}}if(n&&n.z2==null){a||(n=K({},n));var f=e.z2EmphasisLift;n.z2=e.z2+(f!=null?f:QA)}return n}function iP(e,t,r){if(r&&r.z2==null){r=K({},r);var n=e.z2SelectLift;r.z2=e.z2+(n!=null?n:JA)}return r}function aP(e,t,r){var n=At(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:rP(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=K({},r),o=K({opacity:n?i:a.opacity*.1},o),r.style=o),r}function nh(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return nP(this,e,t,r);if(e==="blur")return aP(this,e,r);if(e==="select")return iP(this,e,r)}return r}function oP(e){e.stateProxy=nh;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=nh),r&&(r.stateProxy=nh)}function Am(e,t){!Rm(e,t)&&!e.__highByOuter&&Or(e,xm)}function Pm(e,t){!Rm(e,t)&&!e.__highByOuter&&Or(e,Tm)}function Cl(e,t){e.__highByOuter|=1<<(t||0),Or(e,xm)}function Ml(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Or(e,Tm)}function sP(e){Or(e,rh)}function Im(e){Or(e,Cm)}function Lm(e){Or(e,tP)}function Em(e){Or(e,eP)}function Rm(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function Om(e){var t=e.getModel();t.eachComponent(function(r,n){var i=r==="series"?e.getViewOfSeriesModel(n):e.getViewOfComponentModel(n);i.group.traverse(function(a){Cm(a)})})}function ih(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 go(e,t,r){pP(e,!0),Or(e,oP),vP(e,t,r)}function vP(e,t,r){var n=kt(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var Bm=["emphasis","blur","select"],dP={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Fm(e,t,r,n){r=r||"itemStyle";for(var i=0;i1&&(o*=uh(d),s*=uh(d));var y=(i===a?-1:1)*uh((o*o*(s*s)-o*o*(v*v)-s*s*(h*h))/(o*o*(v*v)+s*s*(h*h)))||0,p=y*o*v/s,g=y*-s*h/o,m=(e+r)/2+Al(c)*p-Dl(c)*g,_=(t+n)/2+Dl(c)*p+Al(c)*g,S=Vm([1,0],[(h-p)/o,(v-g)/s]),w=[(h-p)/o,(v-g)/s],b=[(-1*h-p)/o,(-1*v-g)/s],x=Vm(w,b);if(fh(w,b)<=-1&&(x=yo),fh(w,b)>=1&&(x=0),x<0){var C=Math.round(x/yo*1e6)/1e6;x=yo*2+C%2*yo}f.addData(u,m,_,o,s,S,x,c,a)}var bP=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,wP=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function xP(e){var t=new Zn;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=Zn.CMD,l=e.match(bP);if(!l)return t;for(var u=0;uB*B+k*k&&(C=L,M=I),{cx:C,cy:M,x01:-f,y01:-c,x11:C*(i/w-1),y11:M*(i/w-1)}}function LP(e,t){var r=hh(t.r,0),n=hh(t.r0||0,0),i=r>0,a=n>0;if(!(!i&&!a)){if(i||(r=n,n=0),n>r){var o=r;r=n,n=o}var s=!!t.clockwise,l=t.startAngle,u=t.endAngle,f;if(l===u)f=0;else{var c=[l,u];tm(c,!s),f=Km(c[0]-c[1])}var h=t.cx,v=t.cy,d=t.cornerRadius||0,y=t.innerCornerRadius||0;if(!(r>tr))e.moveTo(h,v);else if(f>AP-tr)e.moveTo(h+r*ea(l),v+r*Jn(l)),e.arc(h,v,r,l,u,!s),n>tr&&(e.moveTo(h+n*ea(u),v+n*Jn(u)),e.arc(h,v,n,u,l,s));else{var p=Km(r-n)/2,g=Il(p,d),m=Il(p,y),_=m,S=g,w=r*ea(l),b=r*Jn(l),x=n*ea(u),C=n*Jn(u),M=void 0,L=void 0,I=void 0,P=void 0;if((g>tr||m>tr)&&(M=r*ea(u),L=r*Jn(u),I=n*ea(l),P=n*Jn(l),ftr))e.moveTo(h+w,v+b);else if(S>tr){var V=Ll(I,P,w,b,r,S,s),it=Ll(M,L,x,C,r,S,s);e.moveTo(h+V.cx+V.x01,v+V.cy+V.y01),Str)||!(f>tr))e.lineTo(h+x,v+C);else if(_>tr){var V=Ll(x,C,M,L,n,-_,s),it=Ll(w,b,I,P,n,-_,s);e.lineTo(h+V.cx+V.x01,v+V.cy+V.y01),_r-2?r-1:l+1],v=e[l>r-3?r-1:l+2]);var d=u*u,y=u*d;n.push([t0(f[0],c[0],h[0],v[0],u,d,y),t0(f[1],c[1],h[1],v[1],u,d,y)])}return n}function kP(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 h=0,v=e.length;h=2){if(n&&n!=="spline"){var a=kP(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{n==="spline"&&(i=OP(i,r)),e.moveTo(i[0][0],i[0][1]);for(var s=1,c=i.length;sei[1]){if(s=!1,a)return s;var f=Math.abs(ei[0]-ti[1]),c=Math.abs(ti[0]-ei[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: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 on(e,t,r,n,i,a){mh("update",e,t,r,n,i,a)}function _o(e,t,r,n,i,a){mh("init",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 g0(e){return!e.isGroup}function fI(e){return e.shape!=null}function y0(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(l){g0(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return fI(o)&&(s.shape=K({},o.shape)),s}var a=n(e);t.traverse(function(o){if(g0(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),on(o,l,r,kt(o).dataIndex)}}})}function cI(e,t){return ut(e,function(r){var n=r[0];n=Bl(n,t.x),n=Fl(n,t.x+t.width);var i=r[1];return i=Bl(i,t.y),i=Fl(i,t.y+t.height),[n,i]})}function hI(e,t){var r=Bl(e.x,t.x),n=Fl(e.x+e.width,t.x+t.width),i=Bl(e.y,t.y),a=Fl(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 wh(e,t,r){var n=K({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),Ct(i,r),new Rr(n)):Sh(e.replace("path://",""),n,r,"center")}function vI(e,t,r,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var p=xh(v,d,f,c)/h;return!(p<0||p>1)}function xh(e,t,r,n){return e*n-r*t}function dI(e){return e<=1e-6&&e>=-1e-6}function Th(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=wt(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&&D(Ht(l),function(f){je(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=kt(e.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:n,option:Ct({content:n,formatterParams:s},i)}}er("circle",Pl);er("ellipse",ch);er("sector",vh);er("ring",Jm);er("polygon",dh);er("polyline",ph);er("rect",Yt);er("line",an);er("bezierCurve",s0);er("arc",gh);var pI=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",updateProps:on,initProps:_o,removeElement:kl,removeElementWithFadeOut:QP,isElementRemoved:So,extendShape:tI,extendPath:rI,registerShape:er,getShapeClass:nI,makePath:Sh,makeImage:v0,mergePath:iI,resizePath:p0,subPixelOptimizeLine:aI,subPixelOptimizeRect:oI,subPixelOptimize:sI,getTransform:lI,applyTransform:bh,transformDirection:uI,groupTransition:y0,clipPointsByRect:cI,clipRectByRect:hI,createIcon:wh,linePolygonIntersect:vI,lineLineIntersect:m0,setTooltipConfig:Th,Group:$t,Image:Rr,Text:ue,Circle:Pl,Ellipse:ch,Sector:vh,Ring:Jm,Polygon:dh,Polyline:ph,Rect:Yt,Line:an,BezierCurve:s0,Arc:gh,IncrementalDisplayable:c0,CompoundPath:$P,LinearGradient:yh,RadialGradient:f0,BoundingRect:xt,OrientedBoundingRect:Ol,Point:Et,Path:Rt}),Nl={};function gI(e,t){for(var r=0;r<_r.length;r++){var n=_r[r],i=t[n],a=e.ensureState(n);a.style=a.style||{},a.style.text=i}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function _0(e,t,r){var n=e.labelFetcher,i=e.labelDataIndex,a=e.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(i,"normal",null,a,o&&o.get("formatter"),r!=null?{interpolatedValue:r}:null)),s==null&&(s=Xt(e.defaultText)?e.defaultText(i,e,r):e.defaultText);for(var l={normal:s},u=0;u<_r.length;u++){var f=_r[u],c=t[f];l[f]=Dt(n?n.getFormattedLabel(i,f,null,a,c&&c.get("formatter")):null,s)}return l}function Ch(e,t,r,n){r=r||Nl;for(var i=e instanceof ue,a=!1,o=0;o=0&&s.push(l)}),s}}function II(e,t){return Tt(Tt({},e,!0),t,!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:". "}}}},EI={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:""}}}},Hl="ZH",Ah="EN",bo=Ah,Vl={},Ph={},A0=ht.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(Hl)>-1?Hl:bo}():bo;function P0(e,t){e=e.toUpperCase(),Ph[e]=new ee(t),Vl[e]=t}function RI(e){if(wt(e)){var t=Vl[e.toUpperCase()]||{};return e===Hl||e===Ah?yt(t):Tt(yt(t),yt(Vl[bo]),!1)}else return Tt(yt(e),yt(Vl[bo]),!1)}function OI(e){return Ph[e]}function kI(){return Ph[bo]}P0(Ah,LI);P0(Hl,EI);var Ih=1e3,Lh=Ih*60,wo=Lh*60,Ne=wo*24,I0=Ne*365,xo={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}"},Gl="{yyyy}-{MM}-{dd}",L0={year:"{yyyy}",month:"{yyyy}-{MM}",day:Gl,hour:Gl+" "+xo.hour,minute:Gl+" "+xo.minute,second:Gl+" "+xo.second,millisecond:xo.none},Eh=["year","month","day","hour","minute","second","millisecond"],E0=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ni(e,t){return e+="","0000".substr(0,t-e.length)+e}function ra(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 BI(e){return e===ra(e)}function FI(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function $l(e,t,r,n){var i=Ir(e),a=i[Rh(r)](),o=i[na(r)]()+1,s=Math.floor((o-1)/4)+1,l=i[Ul(r)](),u=i["get"+(r?"UTC":"")+"Day"](),f=i[To(r)](),c=(f-1)%12+1,h=i[Wl(r)](),v=i[Yl(r)](),d=i[Xl(r)](),y=n instanceof ee?n:OI(n||A0)||kI(),p=y.getModel("time"),g=p.get("month"),m=p.get("monthAbbr"),_=p.get("dayOfWeek"),S=p.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,m[o-1]).replace(/{MM}/g,ni(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ni(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ni(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,ni(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,ni(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,ni(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,ni(d,3)).replace(/{S}/g,d+"")}function NI(e,t,r,n,i){var a=null;if(typeof r=="string")a=r;else if(typeof r=="function")a=r(e.value,t,{level:e.level});else{var o=K({},xo);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 $l(new Date(e.value),a,i,n)}function R0(e,t){var r=Ir(e),n=r[na(t)]()+1,i=r[Ul(t)](),a=r[To(t)](),o=r[Wl(t)](),s=r[Yl(t)](),l=r[Xl(t)](),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 O0(e,t,r){var n=typeof e=="number"?Ir(e):e;switch(t=t||R0(e,r),t){case"year":return n[Rh(r)]();case"half-year":return n[na(r)]()>=6?1:0;case"quarter":return Math.floor((n[na(r)]()+1)/4);case"month":return n[na(r)]();case"day":return n[Ul(r)]();case"half-day":return n[To(r)]()/24;case"hour":return n[To(r)]();case"minute":return n[Wl(r)]();case"second":return n[Yl(r)]();case"millisecond":return n[Xl(r)]()}}function Rh(e){return e?"getUTCFullYear":"getFullYear"}function na(e){return e?"getUTCMonth":"getMonth"}function Ul(e){return e?"getUTCDate":"getDate"}function To(e){return e?"getUTCHours":"getHours"}function Wl(e){return e?"getUTCMinutes":"getMinutes"}function Yl(e){return e?"getUTCSeconds":"getSeconds"}function Xl(e){return e?"getUTCMilliseconds":"getMilliseconds"}function zI(e){return e?"setUTCFullYear":"setFullYear"}function k0(e){return e?"setUTCMonth":"setMonth"}function B0(e){return e?"setUTCDate":"setDate"}function F0(e){return e?"setUTCHours":"setHours"}function N0(e){return e?"setUTCMinutes":"setMinutes"}function z0(e){return e?"setUTCSeconds":"setSeconds"}function H0(e){return e?"setUTCMilliseconds":"setMilliseconds"}function V0(e){if(!ID(e))return wt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function G0(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 ql=Eg,HI=/([&<>"'])/g,VI={"&":"&","<":"<",">":">",'"':""","'":"'"};function ze(e){return e==null?"":(e+"").replace(HI,function(t,r){return VI[r]})}function Zl(e,t,r){var n="{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}";function i(f){return f&&En(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?Ir(e):e;if(isNaN(+l)){if(s)return"-"}else return $l(l,n,r)}if(t==="ordinal")return Yf(e)?i(e):Xf(e)&&a(e)?e+"":"-";var u=al(e);return a(u)?V0(u):Yf(e)?i(e):typeof e=="boolean"?e+"":"-"}var $0=["a","b","c","d","e","f","g"],Oh=function(e,t){return"{"+e+(t==null?"":t)+"}"};function U0(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 ii(e,t){return t=t||"transparent",wt(e)?e:st(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function W0(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var Kl=D,$I=["left","right","top","bottom","width","height"],jl=[["width","left","right"],["height","top","bottom"]];function kh(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),h=c&&c.getBoundingRect(),v,d;if(e==="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 p=f.height+(h?-h.y+f.y:0);d=o+p,d>i||l.newline?(a+=s+r,o=0,d=p,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),e==="horizontal"?a=v+r:o=d+r)})}var Co=kh;Zt(kh,"vertical");Zt(kh,"horizontal");function Mo(e,t,r){r=ql(r||0);var n=t.width,i=t.height,a=he(e.left,n),o=he(e.top,i),s=he(e.right,n),l=he(e.bottom,i),u=he(e.width,n),f=he(e.height,i),c=r[2]+r[0],h=r[1]+r[3],v=e.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),e.left||e.right){case"center":a=n/2-u/2-r[3];break;case"right":a=n-u-h;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-h-a-(s||0)),isNaN(f)&&(f=i-c-o-(l||0));var d=new xt(a+r[3],o+r[0],u,f);return d.margin=r,d}function Do(e){var t=e.layoutMode||e.constructor.layoutMode;return st(t)?t:t?{type:t}:null}function ia(e,t,r){var n=r&&r.ignoreSize;!et(n)&&(n=[n,n]);var i=o(jl[0],0),a=o(jl[1],1);u(jl[0],e,i),u(jl[1],e,a);function o(f,c){var h={},v=0,d={},y=0,p=2;if(Kl(f,function(_){d[_]=e[_]}),Kl(f,function(_){s(t,_)&&(h[_]=d[_]=t[_]),l(h,_)&&v++,l(d,_)&&y++}),n[c])return l(t,f[1])?d[f[2]]=null:l(t,f[2])&&(d[f[1]]=null),d;if(y===p||!v)return d;if(v>=p)return h;for(var g=0;g=0;l--)s=Tt(s,i[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return oo(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.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(ee);Fy(aa,ee);ol(aa);AI(aa);PI(aa,YI);function YI(e){var t=[];return D(aa.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=ut(t,function(r){return dr(r).main}),e!=="dataset"&&At(t,"dataset")<=0&&t.unshift("dataset"),t}var zt=aa,Y0="";typeof navigator!="undefined"&&(Y0=navigator.platform||"");var oa="rgba(0, 0, 0, 0.2)",XI={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:oa,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:oa,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:oa,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:oa,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:oa,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:oa,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Y0.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},X0=ft(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),He="original",ye="arrayRows",Sr="objectRows",kr="keyedColumns",ln="typedArray",q0="unknown",Br="column",sa="row",De={Must:1,Might:2,Not:3},Z0=Kt();function qI(e){Z0(e).datasetMap=ft()}function ZI(e,t,r){var n={},i=K0(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,l=Z0(s).datasetMap,u=i.uid+"_"+r.seriesLayoutBy,f,c;e=e.slice(),D(e,function(y,p){var g=st(y)?y:e[p]={name:y};g.type==="ordinal"&&f==null&&(f=p,c=d(g)),n[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});D(e,function(y,p){var g=y.name,m=d(y);if(f==null){var _=h.valueWayDim;v(n[g],_,m),v(o,_,m),h.valueWayDim+=m}else if(f===p)v(n[g],0,m),v(a,0,m);else{var _=h.categoryWayDim;v(n[g],_,m),v(o,_,m),h.categoryWayDim+=m}});function v(y,p,g){for(var m=0;mt)return e[n];return e[r-1]}function eL(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:tL(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 rL(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Jl,Ao,J0,t_="\0_ec_inner",nL=1,e_=function(e){Z(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 ee(a),this._locale=new ee(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){var a=i_(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,i_(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"?J0(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&&D(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=ft(),u=n&&n.replaceMergeMainTypeMap;qI(this),D(r,function(c,h){c!=null&&(zt.hasClass(h)?h&&(s.push(h),l.set(h,!0)):i[h]=i[h]==null?yt(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=JI(this,c,se(r[c])),v=a.get(c),d=v?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",y=RD(v,h,d);HD(y,c,zt),i[c]=null,a.set(c,null),o.set(c,0);var p=[],g=[],m=0;D(y,function(_,S){var w=_.existing,b=_.newOption;if(!b)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var x=c==="series",C=zt.getClass(c,_.keyInfo.subType,!x);if(!C)return;if(w&&w.constructor===C)w.name=_.keyInfo.name,w.mergeOption(b,this),w.optionUpdated(b,!1);else{var M=K({componentIndex:S},_.keyInfo);w=new C(b,this,this,M),K(w,M),_.brandNew&&(w.__requireNewView=!0),w.init(b,this,this),w.optionUpdated(null,!0)}}w?(p.push(w.option),g.push(w),m++):(p.push(void 0),g.push(void 0))},this),i[c]=p,a.set(c,g),o.set(c,m),c==="series"&&Jl(this)}this._seriesIndices||Jl(this)},t.prototype.getOption=function(){var r=yt(this.option);return D(r,function(n,i){if(zt.hasClass(i)){for(var a=se(n),o=a.length,s=!1,l=o-1;l>=0;l--)a[l]&&!ao(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[t_],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 dL(e,t){return e.join(",")===t.join(",")}var pL=fL,rr=D,Po=st,s_=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function zh(e){var t=e&&e.itemStyle;if(!!t)for(var r=0,n=s_.length;r=0;y--){var p=e[y];if(s||(v=p.data.rawIndexOf(p.stackedByDimension,h)),v>=0){var g=p.data.getByRawIndex(p.stackResultDimension,v);if(c>=0&&g>0||c<=0&&g<0){c=DD(c,g),d=g;break}}}return n[0]=c,n[1]=d,n})})}var tu=function(){function e(t){this.data=t.data||(t.sourceFormat===kr?{}:[]),this.sourceFormat=t.sourceFormat||q0,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;ny&&(y=_)}v[0]=d,v[1]=y}},i=function(){return this._data?this._data.length/this._dimSize:0};m_=(t={},t[ye+"_"+Br]={pure:!0,appendData:a},t[ye+"_"+sa]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Sr]={pure:!0,appendData:a},t[kr]={pure:!0,appendData:function(o){var s=this._data;D(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},t[He]={appendData:a},t[ln]={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&&(y=o.interpolatedValue[p])}return y!=null?y+"":""})}},e.prototype.getRawValue=function(t,r){return la(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e}();function M_(e){var t,r;return st(e)?e.type&&(r=e):t=e,{markupText:t,markupFragment:r}}function Eo(e){return new RL(e)}var RL=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(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=t&&t.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 t=e?null:lo?-this._resultLT:0},e}(),kL=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 eu(t,r)},e}();function BL(e,t){var r=new kL,n=e.data,i=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==Br&&ve(o);var s=[],l={},u=e.dimensionsDefine;if(u)D(u,function(y,p){var g=y.name,m={index:p,name:g,displayName:y.displayName};if(s.push(m),g!=null){var _="";je(l,g)&&ve(_),l[g]=m}});else for(var f=0;f65535?UL:WL}function ua(){return[1/0,-1/0]}function YL(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function E_(e,t,r,n,i){var a=L_[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;up[1]&&(p[1]=y)}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=ut(o,function(m){return m.property}),f=0;fg[1]&&(g[1]=p)}}!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=v,u=0),v===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&&m<=h||isNaN(m))&&(l[u++]=y),y++}d=!0}else if(a===2){for(var p=v[i[0]],_=v[i[1]],S=t[i[1]][0],w=t[i[1]][1],g=0;g=c&&m<=h||isNaN(m))&&(b>=S&&b<=w||isNaN(b))&&(l[u++]=y),y++}d=!0}}if(!d)if(a===1)for(var g=0;g=c&&m<=h||isNaN(m))&&(l[u++]=x)}else for(var g=0;gt[L][1])&&(C=!1)}C&&(l[u++]=r.getRawIndex(g))}return ug[1]&&(g[1]=p)}}}},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,h,v=new(Ro(this._rawCount))(Math.ceil(o/l)+2);v[s++]=u;for(var d=1;df&&(f=c,h=S))}v[s++]=h,u=h}return v[s++]=this.getRawIndex(o-1),n._count=s,n._indices=v,n.getRawIndex=this._getRawIdx,n},e.prototype.downSample=function(t,r,n,i){for(var a=this.clone([t],!0),o=a._chunks,s=[],l=Math.floor(1/r),u=o[t],f=this.count(),c=a._rawExtent[t]=ua(),h=new(Ro(this._rawCount))(Math.ceil(f/l)),v=0,d=0;df-d&&(l=f-d,s.length=l);for(var y=0;yc[1]&&(c[1]=g),h[v++]=m}return a._count=v,a._indices=h,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 eu(r[a],this._dimensions[a])}Xh={arrayRows:t,objectRows:function(r,n,i,a){return eu(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return eu(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),e}(),XL=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(nu(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=Te(s)?ln:He,a=[];var c=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=Dt(c.seriesLayoutBy,h.seriesLayoutBy)||null,d=Dt(c.sourceHeader,h.sourceHeader)||null,y=Dt(c.dimensions,h.dimensions),p=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||y;i=p?[Gh(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:y},l)]:[]}else{var g=t;if(n){var m=this._applyTransform(r);i=m.sourceList,a=m.upstreamSignList}else{var _=g.get("source",!0);i=[Gh(_,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&&R_(a)}var o,s=[],l=[];return D(t,function(u){u.prepareSource();var f=u.getSource(i||0),c="";i!=null&&!f&&R_(c),s.push(f),l.push(u._getVersionSign())}),n?o=GL(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[CL(s[0])]),{sourceList:o,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r0&&(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 le(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)?gD(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),C_),t=(+t).toFixed(e),r?t:+t}function Mr(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 mD(t)}function mD(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 yD(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 _D(t,e){var r=Math.max(Mr(t),Mr(e)),n=t+e;return r>C_?n:Yt(n,r)}function M_(t){var e=Math.PI*2;return(t%e+e)%e}function Tl(t){return t>-Mp&&t=10&&e++,e}function D_(t,e){var r=sv(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 Cl(t){var e=parseFloat(t);return e==t&&(e!==0||!nt(t)||t.indexOf("x")<=0)?e:NaN}function bD(t){return!isNaN(Cl(t))}function A_(){return Math.round(Math.random()*9)}function P_(t,e){return e===0?t:P_(e,t%e)}function Ap(t,e){return t==null?e:e==null?t:t*e/P_(t,e)}function me(t){throw new Error(t)}function Pp(t,e,r){return(e-t)*r+t}var I_="series\0",xD="\0_ec_\0";function fe(t){return t instanceof Array?t:t==null?[]:[t]}function Ip(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 YD=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],XD=Po(YD),qD=function(){function t(){}return t.prototype.getAreaStyle=function(e,r){return XD(this,e,r)},t}(),Rc=new Wo(50);function KD(t){if(typeof t=="string"){var e=Rc.get(t);return e&&e.image}else return t}function k_(t,e,r,n,i){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!r)return e;var a=Rc.get(t),o={hostEl:r,cb:n,cbPayload:i};if(a)e=a.image,!ru(e)&&a.pending.push(o);else{var s=ci.loadImage(t,Ep,Ep);s.__zrImageSrc=t,Rc.put(t,s.__cachedImgObj={image:s,pending:[o]})}return e}else return t;else return e}function Ep(){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 N_(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?jD(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 jD(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 m=B_(f,i,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),p=0;ps&&Ju(r,t.substring(s,u),e,o),Ju(r,l[2],e,o,l[1]),s=Qu.lastIndex}si){x>0?(y.tokens=y.tokens.slice(0,x),p(y,S,_),r.lines=r.lines.slice(0,g+1)):r.lines=r.lines.slice(0,g);break t}var A=b.width,E=A==null||A==="auto";if(typeof A=="string"&&A.charAt(A.length-1)==="%")w.percentWidth=A,f.push(w),w.contentWidth=De(w.text,I);else{if(E){var O=b.backgroundColor,H=O&&O.image;H&&(H=KD(H),ru(H)&&(w.width=Math.max(w.width,H.width*L/H.height)))}var B=d&&n!=null?n-S:null;B!=null&&B0&&d+n.accumWidth>n.width&&(f=e.split(` +`),u=!0),n.accumWidth=d}else{var m=F_(e,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+v,c=m.linesWidths,f=m.lines}}else f=e.split(` +`);for(var p=0;p=33&&e<=383}var nA=ha(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function iA(t){return rA(t)?!!nA[t]:!0}function F_(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 Oc="__zr_style_"+Math.round(Math.random()*10),ti={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},nu={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ti[Oc]=!0;var Op=["z","z2","invisible"],aA=["invisible"],oA=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(hs[0]=nf(i)*r+t,hs[1]=rf(i)*n+e,vs[0]=nf(a)*r+t,vs[1]=rf(a)*n+e,u(s,hs,vs),f(l,hs,vs),i=i%Dn,i<0&&(i=i+Dn),a=a%Dn,a<0&&(a=a+Dn),i>a&&!o?a+=Dn:ii&&(ds[0]=nf(v)*r+t,ds[1]=rf(v)*n+e,u(s,ds,s),f(l,ds,l))}var Tt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},An=[],Pn=[],ar=[],Wr=[],or=[],sr=[],af=Math.min,of=Math.max,In=Math.cos,Ln=Math.sin,Sr=Math.abs,kc=Math.PI,Jr=kc*2,sf=typeof Float32Array!="undefined",Ma=[];function lf(t){var e=Math.round(t/kc*1e8)/1e8;return e%2*kc}function cA(t,e){var r=lf(t[0]);r<0&&(r+=Jr);var n=r-t[0],i=t[1];i+=n,!e&&i-r>=Jr?i=r+Jr:e&&r-i>=Jr?i=r-Jr:!e&&r>i?i=r+(Jr-lf(r-i)):e&&r0&&(this._ux=Sr(n/xl/e)||0,this._uy=Sr(n/xl/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(Tt.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(Tt.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(Tt.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(Tt.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(),Ma[0]=i,Ma[1]=a,cA(Ma,o),i=Ma[0],a=Ma[1];var s=a-i;return this.addData(Tt.A,e,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(e,r,n,i,a,o),this._xi=In(a)*n+e,this._yi=Ln(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(Tt.R,e,r,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Tt.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)&&sf&&(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(){ar[0]=ar[1]=or[0]=or[1]=Number.MAX_VALUE,Wr[0]=Wr[1]=sr[0]=sr[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)&&(m=Math.sqrt(y*y+_*_),a=p,o=g);break}case Tt.C:{var S=e[h++],x=e[h++],p=e[h++],g=e[h++],w=e[h++],b=e[h++];m=MM(a,o,S,x,p,g,w,b,10),a=w,o=b;break}case Tt.Q:{var S=e[h++],x=e[h++],p=e[h++],g=e[h++];m=PM(a,o,S,x,p,g,10),a=p,o=g;break}case Tt.A:var C=e[h++],M=e[h++],I=e[h++],L=e[h++],A=e[h++],E=e[h++],O=E+A;h+=1,e[h++],d&&(s=In(A)*I+C,l=Ln(A)*L+M),m=of(I,L)*af(Jr,Math.abs(E)),a=In(O)*I+C,o=Ln(O)*L+M;break;case Tt.R:{s=a=e[h++],l=o=e[h++];var H=e[h++],B=e[h++];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},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,m,p=0,g=0,y,_=0,S,x;if(v&&(this._pathSegLen||this._calculateLength(),d=this._pathSegLen,m=this._pathLen,y=r*m,!y))return;t:for(var w=0;w0&&(e.lineTo(S,x),_=0),b){case Tt.M:s=u=n[w++],l=f=n[w++],e.moveTo(u,f);break;case Tt.L:{c=n[w++],h=n[w++];var M=Sr(c-u),I=Sr(h-f);if(M>i||I>a){if(v){var L=d[g++];if(p+L>y){var A=(y-p)/L;e.lineTo(u*(1-A)+c*A,f*(1-A)+h*A);break t}p+=L}e.lineTo(c,h),u=c,f=h,_=0}else{var E=M*M+I*I;E>_&&(S=c,x=h,_=E)}break}case Tt.C:{var O=n[w++],H=n[w++],B=n[w++],Q=n[w++],$=n[w++],Z=n[w++];if(v){var L=d[g++];if(p+L>y){var A=(y-p)/L;_l(u,O,B,$,A,An),_l(f,H,Q,Z,A,Pn),e.bezierCurveTo(An[1],Pn[1],An[2],Pn[2],An[3],Pn[3]);break t}p+=L}e.bezierCurveTo(O,H,B,Q,$,Z),u=$,f=Z;break}case Tt.Q:{var O=n[w++],H=n[w++],B=n[w++],Q=n[w++];if(v){var L=d[g++];if(p+L>y){var A=(y-p)/L;Sl(u,O,B,A,An),Sl(f,H,Q,A,Pn),e.quadraticCurveTo(An[1],Pn[1],An[2],Pn[2]);break t}p+=L}e.quadraticCurveTo(O,H,B,Q),u=B,f=Q;break}case Tt.A:var lt=n[w++],_t=n[w++],mt=n[w++],pt=n[w++],At=n[w++],k=n[w++],W=n[w++],V=!n[w++],tt=mt>pt?mt:pt,ht=Sr(mt-pt)>.001,ut=At+k,Y=!1;if(v){var L=d[g++];p+L>y&&(ut=At+k*(y-p)/L,Y=!0),p+=L}if(ht&&e.ellipse?e.ellipse(lt,_t,mt,pt,W,At,ut,V):e.arc(lt,_t,tt,At,ut,V),Y)break t;C&&(s=In(At)*mt+lt,l=Ln(At)*pt+_t),u=In(ut)*mt+lt,f=Ln(ut)*pt+_t;break;case Tt.R:s=u=n[w],l=f=n[w+1],c=n[w++],h=n[w++];var K=n[w++],T=n[w++];if(v){var L=d[g++];if(p+L>y){var P=y-p;e.moveTo(c,h),e.lineTo(c+af(P,K),h),P-=K,P>0&&e.lineTo(c+K,h+af(P,T)),P-=T,P>0&&e.lineTo(c+of(K-P,0),h+T),P-=K,P>0&&e.lineTo(c,h+of(T-P,0));break t}p+=L}e.rect(c,h,K,T);break;case Tt.Z:if(v){var L=d[g++];if(p+L>y){var A=(y-p)/L;e.lineTo(u*(1-A)+s*A,f*(1-A)+l*A);break t}p+=L}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=Tt,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),si=hA;function xi(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+=Da);var h=Math.atan2(l,s);return h<0&&(h+=Da),h>=n&&h<=i||h+Da>=n&&h+Da<=i}function En(t,e,r,n,i,a){if(a>e&&a>n||ai?s:0}var Ur=si.CMD,Rn=Math.PI*2,gA=1e-4;function mA(t,e){return Math.abs(t-e)e&&u>n&&u>a&&u>s||u1&&yA(),v=Xt(e,n,a,s,Ne[0]),h>1&&(d=Xt(e,n,a,s,Ne[1]))),h===2?pe&&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);se[0]=-l,se[1]=l;var u=Math.abs(n-i);if(u<1e-4)return 0;if(u>=Rn-1e-4){n=0,i=Rn;var f=a?1:-1;return o>=se[0]+t&&o<=se[1]+t?f:0}if(n>i){var c=n;n=i,i=c}n<0&&(n+=Rn,i+=Rn);for(var h=0,v=0;v<2;v++){var d=se[v];if(d+t>o){var m=Math.atan2(s,d),f=a?1:-1;m<0&&(m=Rn+m),(m>=n&&m<=i||m+Rn>=n&&m+Rn<=i)&&(m>Math.PI/2&&m1&&(r||(s+=En(l,u,f,c,n,i))),p&&(l=a[d],u=a[d+1],f=l,c=u),m){case Ur.M:f=a[d++],c=a[d++],l=f,u=c;break;case Ur.L:if(r){if(xi(l,u,a[d],a[d+1],e,n,i))return!0}else s+=En(l,u,a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Ur.C:if(r){if(vA(l,u,a[d++],a[d++],a[d++],a[d++],a[d],a[d+1],e,n,i))return!0}else s+=_A(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 Ur.Q:if(r){if(dA(l,u,a[d++],a[d++],a[d],a[d+1],e,n,i))return!0}else s+=SA(l,u,a[d++],a[d++],a[d],a[d+1],n,i)||0;l=a[d++],u=a[d++];break;case Ur.A:var g=a[d++],y=a[d++],_=a[d++],S=a[d++],x=a[d++],w=a[d++];d+=1;var b=!!(1-a[d++]);h=Math.cos(x)*_+g,v=Math.sin(x)*S+y,p?(f=h,c=v):s+=En(l,u,h,v,n,i);var C=(n-g)*S/_+g;if(r){if(pA(g,y,S,x,x+w,b,e,C,i))return!0}else s+=wA(g,y,S,x,x+w,b,C,i);l=Math.cos(x+w)*_+g,u=Math.sin(x+w)*S+y;break;case Ur.R:f=l=a[d++],c=u=a[d++];var M=a[d++],I=a[d++];if(h=f+M,v=c+I,r){if(xi(f,c,h,c,e,n,i)||xi(h,c,h,v,e,n,i)||xi(h,v,f,v,e,n,i)||xi(f,v,f,c,e,n,i))return!0}else s+=En(h,c,h,v,n,i),s+=En(f,v,f,c,n,i);break;case Ur.Z:if(r){if(xi(l,u,f,c,e,n,i))return!0}else s+=En(l,u,f,c,n,i);l=f,u=c;break}}return!r&&!mA(u,c)&&(s+=En(l,u,f,c,n,i)||0),s!==0}function bA(t,e,r){return z_(t,0,!1,e,r)}function xA(t,e,r,n){return z_(t,e,!0,r,n)}var H_=Dt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ti),TA={style:Dt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},nu.style)},uf=Do.concat(["invisible","culling","z","z2","zlevel","parent"]),CA=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?Ic:n>.2?tD:Lc}else if(r)return Lc}return Ic},e.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(nt(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=bl(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&Bi)&&(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)),xA(s,l/u,r,n)))return!0}if(this.hasFill())return bA(s,r,n)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Bi,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&Bi)},e.prototype.createStyle=function(r){return Jl(H_,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 Jl(MA,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=iv(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}(Xo);V_.prototype.type="tspan";var Bc=V_,DA=Dt({x:0,y:0},ti),AA={style:Dt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},nu.style)};function PA(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var G_=function(t){J(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.createStyle=function(r){return Jl(DA,r)},e.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=PA(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 AA},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}(Xo);G_.prototype.type="image";var hi=G_;function IA(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 Vi=Math.round;function $_(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&&(Vi(n*2)===Vi(i*2)&&(t.x1=t.x2=Kn(n,s,!0)),Vi(a*2)===Vi(o*2)&&(t.y1=t.y2=Kn(a,s,!0))),t}}function W_(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=Kn(n,s,!0),t.y=Kn(i,s,!0),t.width=Math.max(Kn(n+a,s,!1)-t.x,a===0?0:1),t.height=Math.max(Kn(i+o,s,!1)-t.y,o===0?0:1)),t}}function Kn(t,e,r){if(!e)return t;var n=Vi(t*2);return(n+Vi(e))%2===0?n/2:(n+(r?1:-1))/2}var LA=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),EA={},U_=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new LA},e.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var l=W_(EA,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?IA(r,n):r.rect(i,a,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(kt);U_.prototype.type="rect";var Qt=U_,zp={fill:"#000"},Hp=2,RA={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},nu.style)},Y_=function(t){J(e,t);function e(r){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=zp,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"),E=o.calculatedLineHeight,O=0;O=0&&(O=w[E],O.align==="right");)this._placeToken(O,r,C,g,A,"right",_),M-=O.width,A-=O.width,E--;for(L+=(a-(L-p)-(y-A)-M)/2;I<=E;)O=w[I],this._placeToken(O,r,C,g,L+O.width/2,"center",_),L+=O.width,I++;g+=C}},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&&ff(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=Yp(o,s,d),c-=r.height/2-d[0]-r.innerHeight/2);var m=this._getOrCreateChild(Bc),p=m.createStyle();m.useStyle(p);var g=this._defaultStyle,y=!1,_=0,S=Up("fill"in u?u.fill:"fill"in n?n.fill:(y=!0,g.fill)),x=Wp("stroke"in u?u.stroke:"stroke"in n?n.stroke:!v&&!l&&(!g.autoStroke||y)?(_=Hp,g.stroke):null),w=u.textShadowBlur>0||n.textShadowBlur>0;p.text=r.text,p.x=o,p.y=c,w&&(p.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,p.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",p.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,p.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),p.textAlign=s,p.textBaseline="middle",p.font=r.font||ii,p.opacity=Us(u.opacity,n.opacity,1),Gp(p,u),x&&(p.lineWidth=Us(u.lineWidth,n.lineWidth,_),p.lineDash=Mt(u.lineDash,n.lineDash),p.lineDashOffset=n.lineDashOffset||0,p.stroke=x),S&&(p.fill=S);var b=r.contentWidth,C=r.contentHeight;m.setBoundingRect(new Ot(Ua(p.x,b,p.textAlign),Ni(p.y,C,p.textBaseline),b,C))},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,m,p;if(h||r.lineHeight||u&&f){m=this._getOrCreateChild(Qt),m.useStyle(m.createStyle()),m.style.fill=null;var g=m.shape;g.x=i,g.y=a,g.width=o,g.height=s,g.r=v,m.dirtyShape()}if(h){var y=m.style;y.fill=l||null,y.fillOpacity=Mt(r.fillOpacity,1)}else if(c){p=this._getOrCreateChild(hi),p.onload=function(){d.dirtyStyle()};var _=p.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=Mt(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 S=(m||p).style;S.shadowBlur=r.shadowBlur||0,S.shadowColor=r.shadowColor||"transparent",S.shadowOffsetX=r.shadowOffsetX||0,S.shadowOffsetY=r.shadowOffsetY||0,S.opacity=Us(r.opacity,n.opacity,1)},e.makeFont=function(r){var n="";return NA(r)&&(n=[r.fontStyle,r.fontWeight,BA(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&hr(n)||r.textFont||r.font},e}(Xo),OA={left:!0,right:1,center:1},kA={top:1,bottom:1,middle:1},Vp=["fontStyle","fontWeight","fontSize","fontFamily"];function BA(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?Xh+"px":t+"px"}function Gp(t,e){for(var r=0;r=0,a=!1;if(t instanceof kt){var o=X_(t),s=i&&o.selectFill||o.normalFill,l=i&&o.selectStroke||o.normalStroke;if(Ti(s)||Ti(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(a=!0,n=q({},n),u=q({},u),u.fill=s):!Ti(u.fill)&&Ti(s)?(a=!0,n=q({},n),u=q({},u),u.fill=Qp(s)):!Ti(u.stroke)&&Ti(l)&&(a||(n=q({},n),u=q({},u)),u.stroke=Qp(l)),n.style=u}}if(n&&n.z2==null){a||(n=q({},n));var f=t.z2EmphasisLift;n.z2=t.z2+(f!=null?f:HA)}return n}function YA(t,e,r){if(r&&r.z2==null){r=q({},r);var n=t.z2SelectLift;r.z2=t.z2+(n!=null?n:VA)}return r}function XA(t,e,r){var n=Pt(t.currentStates,e)>=0,i=t.style.opacity,a=n?null:WA(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 cf(t,e){var r=this.states[t];if(this.style){if(t==="emphasis")return UA(this,t,e,r);if(t==="blur")return XA(this,t,r);if(t==="select")return YA(this,t,r)}return r}function qA(t){t.stateProxy=cf;var e=t.getTextContent(),r=t.getTextGuideLine();e&&(e.stateProxy=cf),r&&(r.stateProxy=cf)}function eg(t,e){!t1(t,e)&&!t.__highByOuter&&Br(t,q_)}function rg(t,e){!t1(t,e)&&!t.__highByOuter&&Br(t,K_)}function Ml(t,e){t.__highByOuter|=1<<(e||0),Br(t,q_)}function Dl(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Br(t,K_)}function KA(t){Br(t,vv)}function j_(t){Br(t,Z_)}function Q_(t){Br(t,GA)}function J_(t){Br(t,$A)}function t1(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function e1(t){var e=t.getModel();e.eachComponent(function(r,n){var i=cv(n);if(i.isBlured){var a=r==="series"?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);a.group.traverse(function(o){Z_(o)})}i.isBlured=!1})}function Nc(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 zc(t,e,r){r1(t,!0),Br(t,qA),rP(t,e,r)}function eP(t){r1(t,!1)}function Hc(t,e,r,n){n?eP(t):zc(t,e,r)}function rP(t,e,r){var n=Bt(t);e!=null?(n.focus=e,n.blurScope=r):n.focus&&(n.focus=null)}var ig=["emphasis","blur","select"],nP={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ag(t,e,r,n){r=r||"itemStyle";for(var i=0;i1&&(o*=hf(d),s*=hf(d));var m=(i===a?-1:1)*hf((o*o*(s*s)-o*o*(v*v)-s*s*(h*h))/(o*o*(v*v)+s*s*(h*h)))||0,p=m*o*v/s,g=m*-s*h/o,y=(t+r)/2+ms(c)*p-gs(c)*g,_=(e+n)/2+gs(c)*p+ms(c)*g,S=ug([1,0],[(h-p)/o,(v-g)/s]),x=[(h-p)/o,(v-g)/s],w=[(-1*h-p)/o,(-1*v-g)/s],b=ug(x,w);if($c(x,w)<=-1&&(b=Aa),$c(x,w)>=1&&(b=0),b<0){var C=Math.round(b/Aa*1e6)/1e6;b=Aa*2+C%2*Aa}f.addData(u,y,_,o,s,S,b,c,a)}var uP=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,fP=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function cP(t){var e=new si;if(!t)return e;var r=0,n=0,i=r,a=n,o,s=si.CMD,l=t.match(uP);if(!l)return e;for(var u=0;uO*O+H*H&&(C=I,M=L),{cx:C,cy:M,x0:-f,y0:-c,x1:C*(i/x-1),y1:M*(i/x-1)}}function _P(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 SP(t,e){var r,n=Ya(e.r,0),i=Ya(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=cg(u-l),d=v>vf&&v%vf;if(d>Ke&&(v=d),!(n>Ke))t.moveTo(f,c);else if(v>vf-Ke)t.moveTo(f+n*Mi(l),c+n*On(l)),t.arc(f,c,n,l,u,!h),i>Ke&&(t.moveTo(f+i*Mi(u),c+i*On(u)),t.arc(f,c,i,u,l,h));else{var m=void 0,p=void 0,g=void 0,y=void 0,_=void 0,S=void 0,x=void 0,w=void 0,b=void 0,C=void 0,M=void 0,I=void 0,L=void 0,A=void 0,E=void 0,O=void 0,H=n*Mi(l),B=n*On(l),Q=i*Mi(u),$=i*On(u),Z=v>Ke;if(Z){var lt=e.cornerRadius;lt&&(r=_P(lt),m=r[0],p=r[1],g=r[2],y=r[3]);var _t=cg(n-i)/2;if(_=lr(_t,g),S=lr(_t,y),x=lr(_t,m),w=lr(_t,p),M=b=Ya(_,S),I=C=Ya(x,w),(b>Ke||C>Ke)&&(L=n*Mi(u),A=n*On(u),E=i*Mi(l),O=i*On(l),vKe){var ht=lr(g,M),ut=lr(y,M),Y=ys(E,O,H,B,n,ht,h),K=ys(L,A,Q,$,n,ut,h);t.moveTo(f+Y.cx+Y.x0,c+Y.cy+Y.y0),M0&&t.arc(f+Y.cx,c+Y.cy,ht,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>Ke)||!Z)t.lineTo(f+Q,c+$);else if(I>Ke){var ht=lr(m,I),ut=lr(p,I),Y=ys(Q,$,L,A,i,-ut,h),K=ys(H,B,E,O,i,-ht,h);t.lineTo(f+Y.cx+Y.x0,c+Y.cy+Y.y0),I0&&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),ht>0&&t.arc(f+K.cx,c+K.cy,ht,te(K.y1,K.x1),te(K.y0,K.x0),!h))}else t.lineTo(f+Q,c+$),t.arc(f,c,i,u,l,h)}t.closePath()}}}var wP=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}(),f1=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new wP},e.prototype.buildPath=function(r,n){SP(r,n)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(kt);f1.prototype.type="sector";var gv=f1,bP=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),c1=function(t){J(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new bP},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);c1.prototype.type="ring";var h1=c1;function xP(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=xP(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;sBn[1]){if(s=!1,a)return s;var f=Math.abs(Bn[0]-kn[1]),c=Math.abs(kn[0]-Bn[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 pn(t,e,r,n,i,a){yv("update",t,e,r,n,i,a)}function qo(t,e,r,n,i,a){yv("enter",t,e,r,n,i,a)}function uo(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 dg(t){return!t.isGroup}function tI(t){return t.shape!=null}function D1(t,e,r){if(!t||!e)return;function n(o){var s={};return o.traverse(function(l){dg(l)&&l.anid&&(s[l.anid]=l)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return tI(o)&&(s.shape=q({},o.shape)),s}var a=n(t);e.traverse(function(o){if(dg(o)&&o.anid){var s=a[o.anid];if(s){var l=i(o);o.attr(i(s)),pn(o,l,r,Bt(o).dataIndex)}}})}function eI(t,e){return ct(t,function(r){var n=r[0];n=Il(n,e.x),n=Ll(n,e.x+e.width);var i=r[1];return i=Il(i,e.y),i=Ll(i,e.y+e.height),[n,i]})}function rI(t,e){var r=Il(t.x,e.x),n=Ll(t.x+t.width,e.x+e.width),i=Il(t.y,e.y),a=Ll(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 wv(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 hi(n)):_v(t.replace("path://",""),n,r,"center")}function nI(t,e,r,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var p=df(v,d,f,c)/h;return!(p<0||p>1)}function df(t,e,r,n){return t*n-r*e}function iI(t){return t<=1e-6&&t>=-1e-6}function bv(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&&D(Vt(l),function(f){ra(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 pg(t,e){var r;t.isGroup&&(r=e(t)),r||t.traverse(e)}function xv(t,e){if(t)if(et(t))for(var r=0;r=0&&s.push(l)}),s}}function SI(t,e){return Ct(Ct({},t,!0),e,!0)}var wI={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:". "}}}},bI={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:""}}}},El="ZH",Mv="EN",Io=Mv,el={},Dv={},E1=yt.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(El)>-1?El:Io}():Io;function R1(t,e){t=t.toUpperCase(),Dv[t]=new ie(e),el[t]=e}function xI(t){if(nt(t)){var e=el[t.toUpperCase()]||{};return t===El||t===Mv?wt(e):Ct(wt(e),wt(el[Io]),!1)}else return Ct(wt(t),wt(el[Io]),!1)}function TI(t){return Dv[t]}function CI(){return Dv[Io]}R1(Mv,wI);R1(El,bI);var Av=1e3,Pv=Av*60,fo=Pv*60,$e=fo*24,bg=$e*365,Xa={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}"},ws="{yyyy}-{MM}-{dd}",xg={year:"{yyyy}",month:"{yyyy}-{MM}",day:ws,hour:ws+" "+Xa.hour,minute:ws+" "+Xa.minute,second:ws+" "+Xa.second,millisecond:Xa.none},mf=["year","month","day","hour","minute","second","millisecond"],O1=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Nn(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 MI(t){return t===qi(t)}function DI(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function uu(t,e,r,n){var i=Rr(t),a=i[Iv(r)](),o=i[Ki(r)]()+1,s=Math.floor((o-1)/4)+1,l=i[fu(r)](),u=i["get"+(r?"UTC":"")+"Day"](),f=i[Lo(r)](),c=(f-1)%12+1,h=i[cu(r)](),v=i[hu(r)](),d=i[vu(r)](),m=n instanceof ie?n:TI(n||E1)||CI(),p=m.getModel("time"),g=p.get("month"),y=p.get("monthAbbr"),_=p.get("dayOfWeek"),S=p.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,Nn(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Nn(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Nn(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,Nn(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Nn(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,Nn(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,Nn(d,3)).replace(/{S}/g,d+"")}function AI(t,e,r,n,i){var a=null;if(nt(r))a=r;else if(vt(r))a=r(t.value,e,{level:t.level});else{var o=q({},Xa);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 uu(new Date(t.value),a,i,n)}function k1(t,e){var r=Rr(t),n=r[Ki(e)]()+1,i=r[fu(e)](),a=r[Lo(e)](),o=r[cu(e)](),s=r[hu(e)](),l=r[vu(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 Tg(t,e,r){var n=Gt(t)?Rr(t):t;switch(e=e||k1(t,r),e){case"year":return n[Iv(r)]();case"half-year":return n[Ki(r)]()>=6?1:0;case"quarter":return Math.floor((n[Ki(r)]()+1)/4);case"month":return n[Ki(r)]();case"day":return n[fu(r)]();case"half-day":return n[Lo(r)]()/24;case"hour":return n[Lo(r)]();case"minute":return n[cu(r)]();case"second":return n[hu(r)]();case"millisecond":return n[vu(r)]()}}function Iv(t){return t?"getUTCFullYear":"getFullYear"}function Ki(t){return t?"getUTCMonth":"getMonth"}function fu(t){return t?"getUTCDate":"getDate"}function Lo(t){return t?"getUTCHours":"getHours"}function cu(t){return t?"getUTCMinutes":"getMinutes"}function hu(t){return t?"getUTCSeconds":"getSeconds"}function vu(t){return t?"getUTCMilliseconds":"getMilliseconds"}function PI(t){return t?"setUTCFullYear":"setFullYear"}function B1(t){return t?"setUTCMonth":"setMonth"}function N1(t){return t?"setUTCDate":"setDate"}function F1(t){return t?"setUTCHours":"setHours"}function z1(t){return t?"setUTCMinutes":"setMinutes"}function H1(t){return t?"setUTCSeconds":"setSeconds"}function V1(t){return t?"setUTCMilliseconds":"setMilliseconds"}function G1(t){if(!bD(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 $1(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 du=J0,II=/([&<>"'])/g,LI={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ge(t){return t==null?"":(t+"").replace(II,function(e,r){return LI[r]})}function Uc(t,e,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&hr(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?Rr(t):t;if(isNaN(+l)){if(s)return"-"}else return uu(l,n,r)}if(e==="ordinal")return pc(t)?i(t):Gt(t)&&a(t)?t+"":"-";var u=Cl(t);return a(u)?G1(u):pc(t)?i(t):typeof t=="boolean"?t+"":"-"}var Cg=["a","b","c","d","e","f","g"],yf=function(t,e){return"{"+t+(e==null?"":e)+"}"};function W1(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 ui(t,e){return e=e||"transparent",nt(t)?t:st(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Mg(t,e){if(e==="_blank"||e==="blank"){var r=window.open();r.opener=null,r.location.href=t}else window.open(t,e)}var rl=D,RI=["left","right","top","bottom","width","height"],bs=[["width","left","right"],["height","top","bottom"]];function Lv(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 m=f.width+(h?-h.x+f.x:0);v=a+m,v>n||l.newline?(a=0,v=m,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var p=f.height+(h?-h.y+f.y:0);d=o+p,d>i||l.newline?(a+=s+r,o=0,d=p,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 co=Lv;Zt(Lv,"vertical");Zt(Lv,"horizontal");function Eo(t,e,r){r=du(r||0);var n=e.width,i=e.height,a=le(t.left,n),o=le(t.top,i),s=le(t.right,n),l=le(t.bottom,i),u=le(t.width,n),f=le(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 Ro(t){var e=t.layoutMode||t.constructor.layoutMode;return st(e)?e:e?{type:e}:null}function na(t,e,r){var n=r&&r.ignoreSize;!et(n)&&(n=[n,n]);var i=o(bs[0],0),a=o(bs[1],1);u(bs[0],t,i),u(bs[1],t,a);function o(f,c){var h={},v=0,d={},m=0,p=2;if(rl(f,function(_){d[_]=t[_]}),rl(f,function(_){s(e,_)&&(h[_]=d[_]=e[_]),l(h,_)&&v++,l(d,_)&&m++}),n[c])return l(e,f[1])?d[f[2]]=null:l(e,f[2])&&(d[f[1]]=null),d;if(m===p||!v)return d;if(v>=p)return h;for(var g=0;g=0;l--)s=Ct(s,i[l],!0);n.defaultOption=s}return n.defaultOption},e.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return Yo(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}(ie);O_(da,ie);eu(da);yI(da);_I(da,BI);function BI(t){var e=[];return D(da.getClassesByMainType(t),function(r){e=e.concat(r.dependencies||r.prototype.dependencies||[])}),e=ct(e,function(r){return vr(r).main}),t!=="dataset"&&Pt(e,"dataset")<=0&&e.unshift("dataset"),e}var zt=da,U1="";typeof navigator!="undefined"&&(U1=navigator.platform||"");var Di="rgba(0, 0, 0, 0.2)",NI={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Di,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Di,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Di,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Di,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Di,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Di,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:U1.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},Y1=gt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Ye="original",we="arrayRows",_r="objectRows",Nr="keyedColumns",hn="typedArray",X1="unknown",Ir="column",pa="row",xe={Must:1,Might:2,Not:3},q1=qt();function FI(t){q1(t).datasetMap=gt()}function zI(t,e,r){var n={},i=K1(e);if(!i||!t)return n;var a=[],o=[],s=e.ecModel,l=q1(s).datasetMap,u=i.uid+"_"+r.seriesLayoutBy,f,c;t=t.slice(),D(t,function(m,p){var g=st(m)?m:t[p]={name:m};g.type==="ordinal"&&f==null&&(f=p,c=d(g)),n[g.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:c,valueWayDim:0});D(t,function(m,p){var g=m.name,y=d(m);if(f==null){var _=h.valueWayDim;v(n[g],_,y),v(o,_,y),h.valueWayDim+=y}else if(f===p)v(n[g],0,y),v(a,0,y);else{var _=h.categoryWayDim;v(n[g],_,y),v(o,_,y),h.categoryWayDim+=y}});function v(m,p,g){for(var y=0;ye)return t[n];return t[r-1]}function UI(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:WI(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 YI(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var xs,Pa,Ag,Pg="\0_ec_inner",XI=1,j1=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 ie(a),this._locale=new ie(o),this._optionManager=s},e.prototype.setOption=function(r,n,i){var a=Eg(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},e.prototype.resetOption=function(r,n){return this._resetOption(r,Eg(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"?Ag(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&&D(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;FI(this),D(r,function(c,h){c!=null&&(zt.hasClass(h)?h&&(s.push(h),l.set(h,!0)):i[h]=i[h]==null?wt(c):Ct(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=$I(this,c,fe(r[c])),v=a.get(c),d=v?u&&u.get(c)?"replaceMerge":"normalMerge":"replaceAll",m=CD(v,h,d);ED(m,c,zt),i[c]=null,a.set(c,null),o.set(c,0);var p=[],g=[],y=0,_;D(m,function(S,x){var w=S.existing,b=S.newOption;if(!b)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var C=c==="series",M=zt.getClass(c,S.keyInfo.subType,!C);if(!M)return;if(c==="tooltip"){if(_)return;_=!0}if(w&&w.constructor===M)w.name=S.keyInfo.name,w.mergeOption(b,this),w.optionUpdated(b,!1);else{var I=q({componentIndex:x},S.keyInfo);w=new M(b,this,this,I),q(w,I),S.brandNew&&(w.__requireNewView=!0),w.init(b,this,this),w.optionUpdated(null,!0)}}w?(p.push(w.option),g.push(w),y++):(p.push(void 0),g.push(void 0))},this),i[c]=p,a.set(c,g),o.set(c,y),c==="series"&&xs(this)}this._seriesIndices||xs(this)},e.prototype.getOption=function(){var r=wt(this.option);return D(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]&&!Ao(a[l])?s=!0:(a[l]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[Pg],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 iL(t,e){return t.join(",")===e.join(",")}var aL=tL,qe=D,Oo=st,Rg=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Sf(t){var e=t&&t.itemStyle;if(!!e)for(var r=0,n=Rg.length;r=0;m--){var p=t[m];if(s||(v=p.data.rawIndexOf(p.stackedByDimension,h)),v>=0){var g=p.data.getByRawIndex(p.stackResultDimension,v);if(c>=0&&g>0||c<=0&&g<0){c=_D(c,g),d=g;break}}}return n[0]=c,n[1]=d,n})})}var gu=function(){function t(e){this.data=e.data||(e.sourceFormat===Nr?{}:[]),this.sourceFormat=e.sourceFormat||X1,this.seriesLayoutBy=e.seriesLayoutBy||Ir,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;nm&&(m=_)}v[0]=d,v[1]=m}},i=function(){return this._data?this._data.length/this._dimSize:0};Hg=(e={},e[we+"_"+Ir]={pure:!0,appendData:a},e[we+"_"+pa]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[_r]={pure:!0,appendData:a},e[Nr]={pure:!0,appendData:function(o){var s=this._data;D(o,function(l,u){for(var f=s[u]||(s[u]=[]),c=0;c<(l||[]).length;c++)f.push(l[c])})}},e[Ye]={appendData:a},e[hn]={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&&(m=o.interpolatedValue[p])}return m!=null?m+"":""})}},t.prototype.getRawValue=function(e,r){return ia(this.getData(r),e)},t.prototype.formatTooltip=function(e,r,n){},t}();function Wg(t){var e,r;return st(t)?t.type&&(r=t):e=t,{text:e,frag:r}}function ho(t){return new xL(t)}var xL=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(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 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}(),CL=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 nl(e,r)},t}();function ML(t,e){var r=new CL,n=t.data,i=r.sourceFormat=t.sourceFormat,a=t.startIndex,o="";t.seriesLayoutBy!==Ir&&me(o);var s=[],l={},u=t.dimensionsDefine;if(u)D(u,function(m,p){var g=m.name,y={index:p,name:g,displayName:m.displayName};if(s.push(y),g!=null){var _="";ra(l,g)&&me(_),l[g]=y}});else for(var f=0;f65535?OL:kL}function Ai(){return[1/0,-1/0]}function BL(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Xg(t,e,r,n,i){var a=fS[r||"float"];if(i){var o=t[e],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;up[1]&&(p[1]=m)}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(y){return y.property}),f=0;fg[1]&&(g[1]=p)}}!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&&y<=h||isNaN(y))&&(l[u++]=m),m++}d=!0}else if(a===2){for(var p=v[i[0]],_=v[i[1]],S=e[i[1]][0],x=e[i[1]][1],g=0;g=c&&y<=h||isNaN(y))&&(w>=S&&w<=x||isNaN(w))&&(l[u++]=m),m++}d=!0}}if(!d)if(a===1)for(var g=0;g=c&&y<=h||isNaN(y))&&(l[u++]=b)}else for(var g=0;ge[I][1])&&(C=!1)}C&&(l[u++]=r.getRawIndex(g))}return ug[1]&&(g[1]=p)}}}},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(La(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var d=1;df&&(f=c,h=S)}L>0&&Lf-d&&(l=f-d,s.length=l);for(var m=0;mc[1]&&(c[1]=g),h[v++]=y}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 nl(r[a],this._dimensions[a])}xf={arrayRows:e,objectRows:function(r,n,i,a){return nl(r[n],this._dimensions[a])},keyedColumns:e,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return nl(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),t}(),NL=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(Ts(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=Pe(s)?hn:Ye,a=[];var c=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=Mt(c.seriesLayoutBy,h.seriesLayoutBy)||null,d=Mt(c.sourceHeader,h.sourceHeader),m=Mt(c.dimensions,h.dimensions),p=v!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||m;i=p?[Yc(s,{seriesLayoutBy:v,sourceHeader:d,dimensions:m},l)]:[]}else{var g=e;if(n){var y=this._applyTransform(r);i=y.sourceList,a=y.upstreamSignList}else{var _=g.get("source",!0);i=[Yc(_,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&&qg(a)}var o,s=[],l=[];return D(e,function(u){u.prepareSource();var f=u.getSource(i||0),c="";i!=null&&!f&&qg(c),s.push(f),l.push(u._getVersionSign())}),n?o=EL(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[pL(s[0])]),{sourceList:o,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),r=0;r1||t>0&&!e.noHeader,n=0;D(e.blocks,function(i){Zh(i).planLayout(i);var a=i.__gapLevelBetweenSubBlocks;a>=n&&(n=a+(r&&(!a||i.type==="section"&&!i.noHeader)?1:0))}),e.__gapLevelBetweenSubBlocks=n},build:function(e,t,r,n){var i=t.noHeader,a=N_(t),o=KL(e,t,i?r:a.html,n);if(i)return o;var s=Zl(t.header,"ordinal",e.useUTC),l=k_(n,e.renderMode).nameStyle;return e.renderMode==="richText"?z_(e,s,l)+a.richText+o:Kh('
'+ze(s)+"
"+o,r)}},nameValue:{planLayout:function(e){e.__gapLevelBetweenSubBlocks=0},build:function(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=t.value,f=e.useUTC;if(!(a&&o)){var c=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=a?"":Zl(l,"ordinal",f),v=t.valueType,d=o?[]:et(u)?ut(u,function(S,w){return Zl(S,et(v)?v[w]:v,f)}):[Zl(u,et(v)?v[0]:v,f)],y=!s||!a,p=!s&&a,g=k_(n,i),m=g.nameStyle,_=g.valueStyle;return i==="richText"?(s?"":c)+(a?"":z_(e,h,m))+(o?"":JL(e,d,y,p,_)):Kh((s?"":c)+(a?"":jL(h,!s,m))+(o?"":QL(d,y,p,_)),r)}}}};function KL(e,t,r,n){var i=[],a=t.blocks||[];fr(!a||et(a)),a=a||[];var o=e.orderMode;if(t.sortBlocks&&o){a=a.slice();var s={valueAsc:"asc",valueDesc:"desc"};if(je(s,o)){var l=new OL(s[o],null);a.sort(function(f,c){return l.evaluate(f.sortParam,c.sortParam)})}else o==="seriesDesc"&&a.reverse()}var u=N_(t);if(D(a,function(f,c){var h=Zh(f).build(e,f,c>0?u.html:0,n);h!=null&&i.push(h)}),!!i.length)return e.renderMode==="richText"?i.join(u.richText):Kh(i.join(""),r)}function F_(e,t,r,n,i,a){if(!!e){var o=Zh(e);o.planLayout(e);var s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t};return o.build(s,e,0,a)}}function N_(e){var t=e.__gapLevelBetweenSubBlocks;return{html:qL[t],richText:ZL[t]}}function Kh(e,t){var r='
',n="margin: "+t+"px 0 0";return'
'+e+r+"
"}function jL(e,t,r){var n=t?"margin-left:2px":"";return''+ze(e)+""}function QL(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return''+ut(e,function(o){return ze(o)}).join("  ")+""}function z_(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function JL(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(t.join(" "),a)}function tE(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return ii(n)}function H_(e,t){var r=e.get("padding");return r!=null?r:t==="richText"?[8,10]:10}var jh=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Ay()}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=GI({color:r,type:t,renderMode:n,markerId:i});return wt(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};et(r)?D(r,function(a){return K(n,a)}):K(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function eE(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=tE(t,r),f,c,h,v;if(o>1||l&&!o){var d=rE(s,t,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 p=Fc(t),g=p&&t.name||"",m=i.getName(r),_=n?g:m;return Oo("section",{header:g,noHeader:n||!p,sortParam:v,blocks:[Oo("nameValue",{markerType:"item",markerColor:u,name:_,noName:!En(_),value:f,valueType:c})].concat(h||[])})}function rE(e,t,r,n,i){var a=t.getData(),o=Wf(e,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?D(n,function(c){f(la(a,r,c),c)}):D(e,f);function f(c,h){var v=a.getDimensionInfo(h);!v||v.otherDims.tooltip===!1||(o?u.push(Oo("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 un=Kt();function iu(e,t){return e.getName(t)||e.getId(t)}var nE="__universalTransitionEnabled",au=function(e){Z(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=Eo({count:aE,reset:oE}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=un(this).sourceManager=new XL(this);a.prepareSource();var o=this.getInitialData(r,i);G_(o,this),this.dataTask.context.data=o,un(this).dataBeforeProcessed=o,V_(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=Do(this),a=i?Ql(r):{},o=this.subType;zt.hasClass(o)&&(o+="Series"),Tt(r,n.getTheme().get(this.subType)),Tt(r,this.getDefaultOption()),Ey(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&ia(r,a,i)},t.prototype.mergeOption=function(r,n){r=Tt(this.option,r,!0),this.fillDataTextStyle(r.data);var i=Do(this);i&&ia(this.option,r,i);var a=un(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);G_(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,un(this).dataBeforeProcessed=o,V_(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!Te(r))for(var n=["show"],i=0;ithis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=Bh.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)for(var a=this.getData(n),o=0;o=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),o=iu(a,r);return i[o]||!1},t.prototype.isUniversalTransitionEnabled=function(){if(this[nE])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.selectedMode,s=n.length;if(!(!o||!s)){if(o==="multiple")for(var l=this.option.selectedMap||(this.option.selectedMap={}),u=0;u0&&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);ur(au,EL);ur(au,Bh);Fy(au,zt);function V_(e){var t=e.name;Fc(e)||(e.name=iE(e)||t)}function iE(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return D(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function aE(e){return e.model.getRawData().count()}function oE(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),sE}function sE(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function G_(e,t){D(oM(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,Zt(lE,t))})}function lE(e,t){var r=Qh(e);return r&&r.setOutputEnd((t||this).count()),t}function Qh(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=au,Jh=function(){function e(){this.group=new $t,this.uid=zl("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}();Hc(Jh);ol(Jh);var Nr=Jh;function tv(){var e=Kt();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 $_=Kt(),uE=tv(),ev=function(){function e(){this.group=new $t,this.uid=zl("viewChart"),this.renderTask=Eo({plan:fE,reset:cE}),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){W_(t.getData(),i,"emphasis")},e.prototype.downplay=function(t,r,n,i){W_(t.getData(),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.markUpdateMethod=function(t,r){$_(t).updateMethod=r},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function U_(e,t,r){e&&(t==="emphasis"?Cl:Ml)(e,r)}function W_(e,t,r){var n=Vn(e,t),i=t&&t.highlightKey!=null?gP(t.highlightKey):null;n!=null?D(se(n),function(a){U_(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){U_(a,r,i)})}Hc(ev);ol(ev);function fE(e){return uE(e.model)}function cE(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&$_(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,r,n,i),hE[l]}var hE={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)}}},fn=ev,Y_="\0__throttleOriginMethod",X_="\0__throttleRate",q_="\0__throttleType";function rv(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 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 vE(e,t,r,n){var i=e[t];if(!!i){var a=i[Y_]||i,o=i[q_],s=i[X_];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=rv(a,r,n==="debounce"),i[Y_]=a,i[q_]=n,i[X_]=r}return i}}var Z_=Kt(),K_={itemStyle:so(D0,!0),lineStyle:so(M0,!0)},dE={lineStyle:"stroke",itemStyle:"fill"};function j_(e,t){var r=e.visualStyleMapper||K_[t];return r||(console.warn("Unkown style type '"+t+"'."),K_.itemStyle)}function Q_(e,t){var r=e.visualDrawType||dE[t];return r||(console.warn("Unkown style type '"+t+"'."),"fill")}var pE={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=j_(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var l=Q_(e,n),u=o[l],f=Xt(u)?u:null,c=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||c){var h=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[l]||(o[l]=h,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||typeof o.fill=="function"?h:o.fill,o.stroke=o.stroke==="auto"||typeof o.stroke=="function"?h:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",l),!t.isSeriesFiltered(e)&&f)return r.setVisual("colorFromPalette",!1),{dataEach:function(v,d){var y=e.getDataParams(d),p=K({},o);p[l]=f(y),v.setItemVisual(d,"style",p)}}}},Bo=new ee,gE={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=j_(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Bo.option=l[n];var u=i(Bo),f=o.ensureUniqueItemVisual(s,"style");K(f,u),Bo.option.decal&&(o.setItemVisual(s,"decal",Bo.option.decal),Bo.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},yE={performRawSeries:!0,overallReset:function(e){var t=ft();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)),Z_(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=Z_(r).scope,s=r.visualStyleAccessPath||"itemStyle",l=Q_(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)}})}})}},ou=Math.PI;function mE(e,t){t=t||{},Ct(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 $t,n=new Yt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new ue({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 Yt({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 gh({shape:{startAngle:-ou/2,endAngle:-ou/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:ou*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:ou*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 _E=function(){function e(t,r,n,i){this._stageTaskMap=ft(),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=ft();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;D(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;D(t,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(p){s(i,p)&&(p.dirty(),v=!0)}),v&&h.dirty(),o.updatePayload(h,n);var y=o.getPerformArgs(h,i.block);d.each(function(p){p.perform(y)}),h.perform(y)&&(a=!0)}else c&&c.each(function(p,g){s(i,p)&&p.dirty();var m=o.getPerformArgs(p,i.block);m.skip=!l.performRawSeries&&r.isSeriesFiltered(p.context.model),o.updatePayload(p,n),p.perform(m)&&(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=ft(),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 h=c.uid,v=s.set(h,o&&o.get(h)||Eo({plan:TE,reset:CE,count:DE}));v.context={model:c,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(c,v)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||Eo({reset:SE});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,l=o.agentStubMap=ft(),u=t.seriesType,f=t.getTargetSeries,c=!0,h=!1,v="";fr(!t.createOnAllSeries,v),u?n.eachRawSeriesByType(u,d):f?f(n,i).each(d):(c=!1,D(n.getSeries(),d));function d(y){var p=y.uid,g=l.set(p,s&&s.get(p)||(h=!0,Eo({reset:bE,onDirty:xE})));g.context={model:y,overallProgress:c},g.agent=o,g.__block=c,a._pipe(y,g)}h&&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 Xt(t)&&(t={overallReset:t,seriesType:AE(t)}),t.uid=zl("stageHandler"),r&&(t.visualType=r),t},e}();function SE(e){e.overallReset(e.ecModel,e.api,e.payload)}function bE(e){return e.overallProgress&&wE}function wE(){this.agent.dirty(),this.getDownstream().dirty()}function xE(){this.agent&&this.agent.dirty()}function TE(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function CE(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=se(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?ut(t,function(r,n){return J_(n)}):ME}var ME=J_(0);function J_(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.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}},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,h,v,d){return c[v]==null||h[d||v]===c[v]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),EE={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;var n=e.get("symbol"),i=e.get("symbolSize"),a=e.get("symbolKeepAspect"),o=e.get("symbolRotate"),s=e.get("symbolOffset"),l=Xt(n),u=Xt(i),f=Xt(o),c=Xt(s),h=l||u||f||c,v=!l&&n?n:e.defaultSymbol,d=u?null:i,y=f?null:o,p=c?null:s;if(r.setVisual({legendIcon:e.legendIcon||v,symbol:v,symbolSize:d,symbolKeepAspect:a,symbolRotate:y,symbolOffset:p}),t.isSeriesFiltered(e))return;function g(m,_){var S=e.getRawValue(_),w=e.getDataParams(_);l&&m.setItemVisual(_,"symbol",n(S,w)),u&&m.setItemVisual(_,"symbolSize",i(S,w)),f&&m.setItemVisual(_,"symbolRotate",o(S,w)),c&&m.setItemVisual(_,"symbolOffset",s(S,w))}return{dataEach:h?g:null}}},RE={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var r=e.getData();function n(i,a){var o=i.getItemModel(a),s=o.getShallow("symbol",!0),l=o.getShallow("symbolSize",!0),u=o.getShallow("symbolRotate",!0),f=o.getShallow("symbolOffset",!0),c=o.getShallow("symbolKeepAspect",!0);s!=null&&i.setItemVisual(a,"symbol",s),l!=null&&i.setItemVisual(a,"symbolSize",l),u!=null&&i.setItemVisual(a,"symbolRotate",u),f!=null&&i.setItemVisual(a,"symbolOffset",f),c!=null&&i.setItemVisual(a,"symbolKeepAspect",c)}return{dataEach:r.hasItemOption?n:null}}};function OE(e,t,r){switch(r){case"color":var n=e.getItemVisual(t,"style");return n[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,r)}}function kE(e,t){switch(t){case"color":var r=e.getVisual("style");return r[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function fa(e,t,r,n,i){var a=e+t;r.isSilent(a)||n.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,l=i.selected,u=0;u0)?null:(t=t||1,e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Xf(e)?[e]:et(e)?e:null)}var JE=new Zn(!0);function uu(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function u1(e){return typeof e=="string"&&e!=="none"}function fu(e){var t=e.fill;return t!=null&&t!=="none"}function f1(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 c1(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 av(e,t,r){var n=Ny(t.image,t.__image,r);if(sl(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i.setTransform){var a=new DOMMatrix;a.rotateSelf(0,0,(t.rotation||0)/Math.PI*180),a.scaleSelf(t.scaleX||1,t.scaleY||1),a.translateSelf(t.x||0,t.y||0),i.setTransform(a)}return i}}function t2(e,t,r,n){var i=uu(r),a=fu(r),o=r.strokePercent,s=o<1,l=!t.path;(!t.silent||s)&&l&&t.createPathProxy();var u=t.path||JE;if(!n){var f=r.fill,c=r.stroke,h=a&&!!f.colorStops,v=i&&!!c.colorStops,d=a&&!!f.image,y=i&&!!c.image,p=void 0,g=void 0,m=void 0,_=void 0,S=void 0;(h||v)&&(S=t.getBoundingRect()),h&&(p=t.__dirty?iv(e,f,S):t.__canvasFillGradient,t.__canvasFillGradient=p),v&&(g=t.__dirty?iv(e,c,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=g),d&&(m=t.__dirty||!t.__canvasFillPattern?av(e,f,t):t.__canvasFillPattern,t.__canvasFillPattern=m),y&&(_=t.__dirty||!t.__canvasStrokePattern?av(e,c,t):t.__canvasStrokePattern,t.__canvasStrokePattern=m),h?e.fillStyle=p:d&&(m?e.fillStyle=m:a=!1),v?e.strokeStyle=g:y&&(_?e.strokeStyle=_:i=!1)}var w=r.lineDash&&r.lineWidth>0&&l1(r.lineDash,r.lineWidth),b=r.lineDashOffset,x=!!e.setLineDash,C=t.getGlobalScale();if(u.setScale(C[0],C[1],t.segmentIgnoreThreshold),w){var M=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;M&&M!==1&&(w=ut(w,function(I){return I/M}),b/=M)}var L=!0;(l||t.__dirty&$i||w&&!x&&i)&&(u.setDPR(e.dpr),s?u.setContext(null):(u.setContext(e),L=!1),u.reset(),w&&!x&&(u.setLineDash(w),u.setLineDashOffset(b)),t.buildPath(u,t.shape,n),u.toStatic(),t.pathUpdated()),L&&u.rebuildPath(e,s?o:1),w&&x&&(e.setLineDash(w),e.lineDashOffset=b),n||(r.strokeFirst?(i&&c1(e,r),a&&f1(e,r)):(a&&f1(e,r),i&&c1(e,r))),w&&x&&e.setLineDash([])}function e2(e,t,r){var n=t.__image=Ny(r.image,t.__image,t,t.onload);if(!(!n||!sl(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,h=s-f;e.drawImage(n,u,f,c,h,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function r2(e,t,r){var n=r.text;if(n!=null&&(n+=""),n){e.font=r.font||Xi,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var i=void 0;if(e.setLineDash){var a=r.lineDash&&r.lineWidth>0&&l1(r.lineDash,r.lineWidth),o=r.lineDashOffset;if(a){var s=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&s!==1&&(a=ut(a,function(l){return l/s}),o/=s),e.setLineDash(a),e.lineDashOffset=o,i=!0}}r.strokeFirst?(uu(r)&&e.strokeText(n,r.x,r.y),fu(r)&&e.fillText(n,r.x,r.y)):(fu(r)&&e.fillText(n,r.x,r.y),uu(r)&&e.strokeText(n,r.x,r.y)),i&&e.setLineDash([])}}var h1=["shadowBlur","shadowOffsetX","shadowOffsetY"],v1=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function d1(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){a||(me(e,i),a=!0);var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?$n.opacity:o}(n||t.blend!==r.blend)&&(a||(me(e,i),a=!0),e.globalCompositeOperation=t.blend||$n.blend);for(var s=0;s=4&&(f={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(f&&s!=null&&l!=null&&(c=N1(f,{x:0,y:0,width:s,height:l}),!r.ignoreViewBox)){var v=i;i=new $t,i.add(v),v.scaleX=v.scaleY=c.scale,v.x=c.x,v.y=c.y}return!r.ignoreRootClip&&s!=null&&l!=null&&i.setClipPath(new Yt({shape:{x:0,y:0,width:s,height:l}})),{root:i,width:s,height:l,viewBoxRect:f,viewBoxTransform:c,named:a}},e.prototype._parseNode=function(t,r,n,i,a,o){var s=t.nodeName.toLowerCase(),l,u=i;if(s==="defs"&&(a=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=r;else{if(!a){var f=sv[s];if(f&&je(sv,s)){l=f.call(this,t,r);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:l};n.push(h),s==="g"&&(u=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:l});r.add(l)}}var v=L1[s];if(v&&je(L1,s)){var d=v.call(this,t),y=t.getAttribute("id");y&&(this._defs[y]=d)}}if(l&&l.isGroup)for(var p=t.firstChild;p;)p.nodeType===1?this._parseNode(p,l,n,u,a,o):p.nodeType===3&&o&&this._parseText(p,l),p=p.nextSibling},e.prototype._parseText=function(t,r){var n=new _l({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),h2(n,r);var i=n.style,a=i.fontSize;a&&a<9&&(i.fontSize=9,n.scaleX*=a/9,n.scaleY*=a/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var s=n.getBoundingRect();return this._textX+=s.width,r.add(n),n},e.internalField=function(){sv={g:function(t,r){var n=new $t;return Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),n},rect:function(t,r){var n=new Yt;return Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,r){var n=new Pl;return Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,r){var n=new an;return Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,r){var n=new ch;return Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,r){var n=t.getAttribute("points"),i;n&&(i=O1(n));var a=new dh({shape:{points:i||[]},silent:!0});return Ge(r,a),Ae(t,a,this._defsUsePending,!1,!1),a},polyline:function(t,r){var n=t.getAttribute("points"),i;n&&(i=O1(n));var a=new ph({shape:{points:i||[]},silent:!0});return Ge(r,a),Ae(t,a,this._defsUsePending,!1,!1),a},image:function(t,r){var n=new Rr;return Ge(r,n),Ae(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,r){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",a=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(o);var s=new $t;return Ge(r,s),Ae(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,r){var n=t.getAttribute("x"),i=t.getAttribute("y");n!=null&&(this._textX=parseFloat(n)),i!=null&&(this._textY=parseFloat(i));var a=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new $t;return Ge(r,s),Ae(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(a),this._textY+=parseFloat(o),s},path:function(t,r){var n=t.getAttribute("d")||"",i=Ym(n);return Ge(r,i),Ae(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),e}(),L1={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),r=parseInt(e.getAttribute("y1")||"0",10),n=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),a=new yh(t,r,n,i);return E1(e,a),R1(e,a),a},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),r=parseInt(e.getAttribute("cy")||"0",10),n=parseInt(e.getAttribute("r")||"0",10),i=new f0(t,r,n);return E1(e,i),R1(e,i),i}};function E1(e,t){var r=e.getAttribute("gradientUnits");r==="userSpaceOnUse"&&(t.global=!0)}function R1(e,t){for(var r=e.firstChild;r;){if(r.nodeType===1&&r.nodeName.toLocaleLowerCase()==="stop"){var n=r.getAttribute("offset"),i=void 0;n&&n.indexOf("%")>0?i=parseInt(n,10)/100:n?i=parseFloat(n):i=0;var a={};F1(r,a,a);var o=a.stopColor||r.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:o})}r=r.nextSibling}}function Ge(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Ct(t.__inheritedStyle,e.__inheritedStyle))}function O1(e){for(var t=vu(e),r=[],n=0;n0;a-=2){var o=n[a],s=n[a-1],l=vu(o);switch(i=i||Wi(),s){case"translate":Qs(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":uy(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Js(i,i,-parseFloat(l[0])*lv);break;case"skewX":var u=Math.tan(parseFloat(l[0])*lv);Ar(i,[1,0,u,1,0,0],i);break;case"skewY":var f=Math.tan(parseFloat(l[0])*lv);Ar(i,[1,f,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5]);break}}t.setLocalTransform(i)}}var B1=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F1(e,t,r){var n=e.getAttribute("style");if(!!n){B1.lastIndex=0;for(var i;(i=B1.exec(n))!=null;){var a=i[1],o=je(cu,a)?cu[a]:null;o&&(t[o]=i[2]);var s=je(hu,a)?hu[a]:null;s&&(r[s]=i[2])}}}function m2(e,t,r){for(var n=0;n>1^-(s&1),l=l>>1^-(l&1),s+=i,l+=a,i=s,a=l,n.push([s/r,l/r])}return n}function A2(e,t){return e=D2(e),ut(xe(e.features,function(r){return r.geometry&&r.properties&&r.geometry.coordinates.length>0}),function(r){var n=r.properties,i=r.geometry,a=[];if(i.type==="Polygon"){var o=i.coordinates;a.push({type:"polygon",exterior:o[0],interiors:o.slice(1)})}if(i.type==="MultiPolygon"){var o=i.coordinates;D(o,function(u){u[0]&&a.push({type:"polygon",exterior:u[0],interiors:u.slice(1)})})}var s=new G1(n[t||"name"],a,n.cp);return s.properties=n,s})}var uv=[126,25],U1="\u5357\u6D77\u8BF8\u5C9B",li=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]];for(var ui=0;ui0&&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.setOption=function(r,n,i){if(this._disposed){Pe(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[br]=!0,!this._model||n){var l=new pL(this._api),u=this._theme,f=this._model=new a_;f.scheduler=this._scheduler,f.init(null,null,null,u,this._locale,l)}this._model.setOption(r,{replaceMerge:o},Sv);var c={seriesTransition:s,optionChanged:!0};i?(this[$e]={silent:a,updateParams:c},this[br]=!1,this.getZr().wakeUp()):(va(this),hn.update.call(this,null,c),this._zr.flush(),this[$e]=null,this[br]=!1,Vo.call(this,a),Go.call(this,a))},t.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},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||G2&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){if(!!ht.canvasSupported)return r=r||{},this._zr.painter.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.getSvgDataURL=function(){if(!!ht.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return D(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){Pe(this.id);return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;D(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.getRenderedCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return D(a,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){Pe(this.id);return}if(!!ht.canvasSupported){var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(uS[i]){var l=s,u=s,f=-s,c=-s,h=[],v=r&&r.pixelRatio||this.getDevicePixelRatio();D(Wo,function(_,S){if(_.group===i){var w=n?_.getZr().painter.getSvgDom().innerHTML:_.getRenderedCanvas(yt(r)),b=_.getDom().getBoundingClientRect();l=a(b.left,l),u=a(b.top,u),f=o(b.right,f),c=o(b.bottom,c),h.push({dom:w,left:b.left,top:b.top})}}),l*=v,u*=v,f*=v,c*=v;var d=f-l,y=c-u,p=Ns(),g=by(p,{renderer:n?"svg":"canvas"});if(g.resize({width:d,height:y}),n){var m="";return D(h,function(_){var S=_.left-l,w=_.top-u;m+=''+_.dom+""}),g.painter.getSvgRoot().innerHTML=m,r.connectedBackgroundColor&&g.painter.setBackgroundColor(r.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return r.connectedBackgroundColor&&g.add(new Yt({shape:{x:0,y:0,width:d,height:y},style:{fill:r.connectedBackgroundColor}})),D(h,function(_){var S=new Rr({style:{x:_.left*v-l,y:_.top*v-u,image:_.dom}});g.add(S)}),g.refreshImmediately(),p.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)}},t.prototype.convertToPixel=function(r,n){return dv(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return dv(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){Pe(this.id);return}var i=this._model,a,o=Nc(i,r);return D(o,function(s,l){l.indexOf("Models")>=0&&D(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=Nc(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?OE(s,l,n):kE(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;D(nR,function(n){var i=function(a){var o=r.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&No(s,function(d){var y=kt(d);if(y&&y.dataIndex!=null){var p=y.dataModel||o.getSeriesByIndex(y.seriesIndex);return l=p&&p.getDataParams(y.dataIndex,y.dataType)||{},!0}else if(y.eventData)return l=K({},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)}),D(Uo,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),D(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),BE(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){Pe(this.id);return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){Pe(this.id);return}this._disposed=!0,ky(this.getDom(),wv,"");var r=this,n=r._api,i=r._model;D(r._componentsViews,function(a){a.dispose(i,n)}),D(r._chartsViews,function(a){a.dispose(i,n)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Wo[r.id]},t.prototype.resize=function(r){if(this._disposed){Pe(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[$e]&&(a==null&&(a=this[$e].silent),i=!0,this[$e]=null),this[br]=!0,i&&va(this),hn.update.call(this,{type:"resize",animation:K({duration:0},r&&r.animation)}),this[br]=!1,Vo.call(this,a),Go.call(this,a)}},t.prototype.showLoading=function(r,n){if(this._disposed){Pe(this.id);return}if(st(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!bv[r]){var i=bv[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){Pe(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=K({},r);return n.type=Uo[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){Pe(this.id);return}if(st(n)||(n={silent:!!n}),!!yu[r.type]&&!!this._model){if(this[br]){this._pendingActions.push(r);return}var i=n.silent;gv.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&ht.browser.weChat&&this._throttledZrFlush(),Vo.call(this,i),Go.call(this,i)}},t.prototype.updateLabelLayout=function(){nr.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){Pe(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(){va=function(u){var f=u._scheduler;f.restorePipelines(u._model),f.prepareStageTasks(),vv(u,!0),vv(u,!1),f.plan()},vv=function(u,f){for(var c=u._model,h=u._scheduler,v=f?u._componentsViews:u._chartsViews,d=f?u._componentsMap:u._chartsMap,y=u._zr,p=u._api,g=0;gf.get("hoverLayerThreshold")&&!ht.node&&!ht.worker&&f.eachSeries(function(d){if(!d.preventUsingHoverLayer){var y=u._chartsMap[d.__viewId];y.__alive&&y.group.traverse(function(p){p.states.emphasis&&(p.states.emphasis.hoverLayer=!0)})}})}function i(u,f){var c=u.get("blendMode")||null;f.group.traverse(function(h){h.isGroup||(h.style.blend=c),h.eachPendingDisplayable&&h.eachPendingDisplayable(function(v){v.style.blend=c})})}function a(u,f){u.preventAutoZ||o(f.group,u.get("z")||0,u.get("zlevel")||0,-1/0)}function o(u,f,c,h){var v=u.getTextContent(),d=u.getTextGuideLine(),y=u.isGroup;if(y)for(var p=u.childrenRef(),g=0;g0?{duration:v,delay:c.get("delay"),easing:c.get("easing")}:null;f.group.traverse(function(y){if(y.states&&y.states.emphasis){if(So(y))return;if(y instanceof Rt&&yP(y),y.__dirty){var p=y.prevStates;p&&y.useStates(p)}if(h){y.stateTransition=d;var g=y.getTextContent(),m=y.getTextGuideLine();g&&(g.stateTransition=d),m&&(m.stateTransition=d)}y.__dirty&&r(y)}})}iS=function(u){return new(function(f){Z(c,f);function c(){return f!==null&&f.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return u._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(h){for(;h;){var v=h.__ecComponentInfo;if(v!=null)return u._model.getComponent(v.mainType,v.index);h=h.parent}},c.prototype.enterEmphasis=function(h,v){Cl(h,v),Ue(u)},c.prototype.leaveEmphasis=function(h,v){Ml(h,v),Ue(u)},c.prototype.enterBlur=function(h){sP(h),Ue(u)},c.prototype.leaveBlur=function(h){Im(h),Ue(u)},c.prototype.enterSelect=function(h){Lm(h),Ue(u)},c.prototype.leaveSelect=function(h){Em(h),Ue(u)},c.prototype.getModel=function(){return u.getModel()},c.prototype.getViewOfComponentModel=function(h){return u.getViewOfComponentModel(h)},c.prototype.getViewOfSeriesModel=function(h){return u.getViewOfSeriesModel(h)},c}(o_))(u)},aS=function(u){function f(c,h){for(var v=0;v=0)){vS.push(r);var a=r1.wrapStageHandler(r,i);a.__prio=t,a.__raw=r,e.push(a)}}function dS(e,t){bv[e]=t}function fR(e,t,r){H2.registerMap(e,t,r)}var cR=VL;fi(fv,pE);fi(du,gE);fi(du,yE);fi(fv,EE);fi(du,RE);fi(X1,f2);cS(v_);hS(W2,xL);dS("default",mE);da({type:Qn,event:Qn,update:Qn},Dr);da({type:wl,event:wl,update:wl},Dr);da({type:vo,event:vo,update:vo},Dr);da({type:xl,event:xl,update:xl},Dr);da({type:po,event:po,update:po},Dr);fS("light",PE);fS("dark",IE);function Yo(e){return e==null?0:e.length||1}function pS(e){return e}var hR=function(){function e(t,r,n,i,a,o){this._old=t,this._new=r,this._oldKeyGetter=n||pS,this._newKeyGetter=i||pS,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&&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 Xo=st,vn=ut,bR=typeof Int32Array=="undefined"?Array:Int32Array,wR="e\0\0",bS=-1,xR=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],TR=["_approximateExtent"],wS,Su,qo,Zo,Mv,bu,Dv,CR=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;yS(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===He;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():Xo(a)&&(a=K({},a)),i[r]=a),a},e.prototype.setItemVisual=function(t,r,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Xo(r)?K(i,r):i[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){if(Xo(t)){for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);return}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?K(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;jA(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){D(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:vn(this.dimensions,this._getDimInfo,this),this.hostModel)),Mv(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];typeof n=="function"&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(Zf(arguments)))})},e.internalField=function(){wS=function(t){var r=t._invertedIndicesMap;D(r,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=r[i]=new bR(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),i[r]=l}}}(),e}(),MR=CR;function DR(e,t){Vh(e)||(e=$h(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=ft(),a=[],o=PR(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&SS(o),l=n===e.dimensionsDefine,u=l?_S(e):mS(n),f=t.encodeDefine;!f&&t.encodeDefaulter&&(f=t.encodeDefaulter(e,o));for(var c=ft(f),h=new P_(o),v=0;v0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function PR(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return D(t,function(a){var o;st(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function IR(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 LR=function(){function e(t){this.coordSysDims=[],this.axisMap=ft(),this.categoryAxisMap=ft(),this.coordSysName=t}return e}();function ER(e){var t=e.get("coordinateSystem"),r=new LR(t),n=RR[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var RR={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",Je).models[0],a=e.getReferringComponents("yAxis",Je).models[0];t.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),pa(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),pa(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",Je).models[0];t.coordSysDims=["single"],r.set("single",i),pa(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.getReferringComponents("polar",Je).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),pa(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),pa(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();D(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),f=o[l];r.set(f,u),pa(u)&&(n.set(f,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function pa(e){return e.get("type")==="category"}function OR(e,t,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;kR(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,f,c,h;if(D(a,function(m,_){wt(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_"+e.id,h="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var v=f.coordDim,d=f.type,y=0;D(a,function(m){m.coordDim===v&&y++});var p={name:c,coordDim:v,coordDimIndex:y,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},g={name:h,coordDim:h,coordDimIndex:y+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(p.storeDimIndex=s.ensureCalculationDimension(h,d),g.storeDimIndex=s.ensureCalculationDimension(c,d)),o.appendCalculationDimension(p),o.appendCalculationDimension(g)):(a.push(p),a.push(g))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:c}}function kR(e){return!yS(e.schema)}function Ko(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function BR(e,t){return Ko(e,t)?e.getCalculationInfo("stackResultDimension"):t}function FR(e,t){var r=e.get("coordinateSystem"),n=Nh.get(r),i;return t&&t.coordSysDims&&(i=ut(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var l=s.get("type");o.type=gR(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function NR(e,t,r){var n,i;return r&&D(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 zR(e,t,r){r=r||{};var n=t.getSourceManager(),i,a=!1;e?(a=!0,i=$h(e)):(i=n.getSource(),a=i.sourceFormat===He);var o=ER(t),s=FR(t,o),l=r.useEncodeDefaulter,u=Xt(l)?l:l?Zt(ZI,s,t):null,f={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},c=DR(i,f),h=NR(c.dimensions,r.createInvertedIndices,o),v=a?null:n.getSharedDataStore(c),d=OR(t,{schema:c,store:v}),y=new MR(c,t);y.setCalculationInfo(d);var p=h!=null&&HR(i)?function(g,m,_,S){return S===h?_:this.defaultDimValueGetter(g,m,_,S)}:null;return y.hasItemOption=!1,y.initData(a?i:v,null,p),y}function HR(e){if(e.sourceFormat===He){var t=VR(e.data||[]);return t!=null&&!et(no(t))}}function VR(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}();ol(xS);var zr=xS,GR=0,$R=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++GR}return e.createByAxisModel=function(t){var r=t.option,n=r.data,i=n&&ut(n,UR);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(typeof t!="string"&&!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=ft(this.categories))},e}();function UR(e){return st(e)&&e.value!=null?e.value:e+""}var Av=$R,TS=oe;function WR(e,t,r,n){var i={},a=e[1]-e[0],o=i.interval=Dy(a/t,!0);r!=null&&on&&(o=i.interval=n);var s=i.intervalPrecision=CS(o),l=i.niceTickExtent=[TS(Math.ceil(e[0]/o)*o,s),TS(Math.floor(e[1]/o)*o,s)];return YR(l,e),i}function CS(e){return Pr(e)+2}function MS(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function YR(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),MS(e,0,t),MS(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function wu(e,t){return e>=t[0]&&e<=t[1]}function xu(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function Tu(e,t){return e*(t[1]-t[0])+t[0]}var DS=function(e){Z(t,e);function t(r){var n=e.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Av({})),et(i)&&(i=new Av({categories:ut(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 typeof r=="string"?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),wu(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),xu(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(Tu(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.niceTicks=function(){},t.prototype.niceExtent=function(){},t.type="ordinal",t}(zr);zr.registerClass(DS);var AS=DS,ci=oe,PS=function(e){Z(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 wu(r,this._extent)},t.prototype.normalize=function(r){return xu(r,this._extent)},t.prototype.scale=function(r){return Tu(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=CS(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:ci(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]&&v0&&(a=a===null?s:Math.min(a,s))}r[n]=a}}return r}function RS(e){var t=ZR(e),r=[];return D(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(),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=he(n.get("barWidth"),s),y=he(n.get("barMaxWidth"),s),p=he(n.get("barMinWidth")||1,s),g=n.get("barGap"),m=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:d,barMaxWidth:y,barMinWidth:p,barGap:g,barCategoryGap:m,axisKey:ES(a),stackId:LS(n)})}),KR(r)}function KR(e){var t={};D(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 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 D(t,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=Ht(a).length;s=Math.max(35-l*4,15)+"%"}var u=he(s,o),f=he(n.gap,1),c=n.remainedWidth,h=n.autoWidthCount,v=(c-u)/(h+(h-1)*f);v=Math.max(v,0),D(a,function(g){var m=g.maxWidth,_=g.minWidth;if(g.width){var S=g.width;m&&(S=Math.min(S,m)),_&&(S=Math.max(S,_)),g.width=S,c-=S+f*S,h--}else{var S=v;m&&mS&&(S=_),S!==v&&(g.width=S,c-=S+f*S,h--)}}),v=(c-u)/(h+(h-1)*f),v=Math.max(v,0);var d=0,y;D(a,function(g,m){g.width||(g.width=v),y=g,d+=g.width*(1+f)}),y&&(d-=y.width*f);var p=-d/2;D(a,function(g,m){r[i][m]=r[i][m]||{bandWidth:o,offset:p,width:g.width},p+=g.width*(1+f)})}),r}function OS(e,t,r){if(e&&t){var n=e[ES(t)];return n!=null&&r!=null?n[LS(r)]:n}}tv();function kS(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function BS(e){return e.pipelineContext&&e.pipelineContext.large}function jR(e,t,r){return t.toGlobalCoord(t.dataToCoord(t.type==="log"?1:0))}var QR=function(e,t,r,n){for(;r>>1;e[i][1]i&&(this._approxInterval=i);var s=Mu.length,l=Math.min(QR(Mu,this._approxInterval,0,s),s-1);this._interval=Mu[l][1],this._minLevelUnit=Mu[Math.max(l-1,0)][0]},t.prototype.parse=function(r){return typeof r=="number"?r:+Ir(r)},t.prototype.contain=function(r){return wu(this.parse(r),this._extent)},t.prototype.normalize=function(r){return xu(this.parse(r),this._extent)},t.prototype.scale=function(r){return Tu(r,this._extent)},t.type="time",t}(Cu),Mu=[["second",Ih],["minute",Lh],["hour",wo],["quarter-day",wo*6],["half-day",wo*12],["day",Ne*1.2],["half-week",Ne*3.5],["week",Ne*7],["month",Ne*31],["quarter",Ne*95],["half-year",I0/2],["year",I0]];function JR(e,t,r,n){var i=Ir(t),a=Ir(r),o=function(d){return O0(i,d,n)===O0(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(e){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 tO(e,t){return e/=Ne,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function eO(e){var t=30*Ne;return e/=t,e>6?6:e>3?3:e>2?2:1}function rO(e){return e/=wo,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function NS(e,t){return e/=t?Lh:Ih,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function nO(e){return Dy(e,!0)}function iO(e,t,r){var n=new Date(e);switch(ra(t)){case"year":case"month":n[k0(r)](0);case"day":n[B0(r)](1);case"hour":n[F0(r)](0);case"minute":n[N0(r)](0);case"second":n[z0(r)](0),n[H0(r)](0)}return n.getTime()}function aO(e,t,r,n){var i=1e4,a=E0,o=0;function s(L,I,P,E,B,k,Y){for(var q=new Date(I),U=I,Q=q[E]();U1&&k===0&&P.unshift({value:P[0].value-U})}}for(var k=0;k=n[0]&&m<=n[1]&&c++)}var _=(n[1]-n[0])/t;if(c>_*1.5&&h>_/1.5||(u.push(p),c>_||e===a[v]))break}f=[]}}}for(var S=xe(ut(u,function(L){return xe(L,function(I){return I.value>=n[0]&&I.value<=n[1]&&!I.notAdd})}),function(L){return L.length>0}),w=[],b=S.length-1,v=0;v0;)a*=10;var s=[oe(uO(n[0]/a)*a),oe(lO(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.niceExtent=function(r){jo.niceExtent.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=We(r)/We(this.base),wu(r,this._extent)},t.prototype.normalize=function(r){return r=We(r)/We(this.base),xu(r,this._extent)},t.prototype.scale=function(r){return r=Tu(r,this._extent),Du(this.base,r)},t.type="log",t}(zr),HS=Iv.prototype;HS.getMinorTicks=jo.getMinorTicks;HS.getLabel=jo.getLabel;function Au(e,t){return sO(e,Pr(t))}zr.registerClass(Iv);var fO=Iv,cO=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 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}},e.prototype.modifyDataMinMax=function(t,r){this[vO[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var n=hO[t];this[n]=r},e.prototype.freeze=function(){this.frozen=!0},e}(),hO={min:"_determinedMin",max:"_determinedMax"},vO={min:"_dataMin",max:"_dataMax"};function dO(e,t,r){var n=e.rawExtentInfo;return n||(n=new cO(e,t,r),e.rawExtentInfo=n,n)}function Pu(e,t){return t==null?null:qf(t)?NaN:e.parse(t)}function pO(e,t){var r=e.type,n=dO(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=qR("bar",o),l=!1;if(D(s,function(c){l=l||c.getBaseAxis()===t.axis}),l){var u=RS(s),f=gO(i,a,t,u);i=f.min,a=f.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function gO(e,t,r,n){var i=r.axis.getExtent(),a=i[1]-i[0],o=OS(n,r.axis);if(o===void 0)return{min:e,max:t};var s=1/0;D(o,function(v){s=Math.min(v.offset,s)});var l=-1/0;D(o,function(v){l=Math.max(v.offset+v.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=t-e,c=1-(s+l)/a,h=f/c-f;return t+=h*(l/u),e-=h*(s/u),{min:e,max:t}}function VS(e,t){var r=t,n=pO(e,r),i=n.extent,a=r.get("splitNumber");e instanceof fO&&(e.base=r.get("logBase"));var o=e.type;e.setExtent(i[0],i[1]),e.niceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:o==="interval"||o==="time"?r.get("minInterval"):null,maxInterval:o==="interval"||o==="time"?r.get("maxInterval"):null});var s=r.get("interval");s!=null&&e.setInterval&&e.setInterval(s)}function yO(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new AS({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new oO({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(zr.getClass(t)||Cu)}}function mO(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function Qo(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):typeof t=="string"?function(n){return function(i){var a=e.scale.getLabel(i),o=n.replace("{value}",a!=null?a:"");return o}}(t):typeof t=="function"?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(Lv(e,i),a,i.level!=null?{level:i.level}:null)}}(t):function(n){return e.scale.getLabel(n)}}function Lv(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function _O(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof AS?i=r.count():(n=r.getTicks(),i=n.length);var o=e.getLabelModel(),s=Qo(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var f=0;f=0||($S.push(e),Xt(e)&&(e={install:e}),e.install(xO))}var Jo=Kt();function TO(e){return e.type==="category"?MO(e):AO(e)}function CO(e,t){return e.type==="category"?DO(e,t):{ticks:ut(e.scale.getTicks(),function(r){return r.value})}}function MO(e){var t=e.getLabelModel(),r=US(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function US(e,t){var r=WS(e,"labels"),n=Ev(t),i=YS(r,n);if(i)return i;var a,o;return Xt(n)?a=ZS(e,n):(o=n==="auto"?PO(e):n,a=qS(e,o)),XS(r,n,{labels:a,labelCategoryInterval:o})}function DO(e,t){var r=WS(e,"ticks"),n=Ev(t),i=YS(r,n);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),Xt(n))a=ZS(e,n,!0);else if(n==="auto"){var s=US(e,e.getLabelModel());o=s.labelCategoryInterval,a=ut(s.labels,function(l){return l.tickValue})}else o=n,a=qS(e,o,!0);return XS(r,n,{ticks:a,tickCategoryInterval:o})}function AO(e){var t=e.scale.getTicks(),r=Qo(e);return{labels:ut(t,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:e.scale.getLabel(n),tickValue:n.value}})}}function WS(e,t){return Jo(e)[t]||(Jo(e)[t]=[])}function YS(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)),h=0,v=0;l<=a[1];l+=s){var d=0,y=0,p=Ic(r({value:l}),t.font,"center","top");d=p.width*1.3,y=p.height*1.3,h=Math.max(h,d,7),v=Math.max(v,y,7)}var g=h/f,m=v/c;isNaN(g)&&(g=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(g,m))),S=Jo(e.model),w=e.getExtent(),b=S.lastAutoInterval,x=S.lastTickCount;return b!=null&&x!=null&&Math.abs(b-_)<=1&&Math.abs(x-o)<=1&&b>_&&S.axisExtent0===w[0]&&S.axisExtent1===w[1]?_=b:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=w[0],S.axisExtent1=w[1]),_}function LO(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 qS(e,t,r){var n=Qo(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=GS(e),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(p){var g={value:p};s.push(r?p:{formattedLabel:n(g),rawLabel:i.getLabel(g),tickValue:p})}return s}function ZS(e,t,r){var n=e.scale,i=Qo(e),a=[];return D(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 KS=[0,1],EO=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 MD(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(),jS(n,i.count())),Ty(t,KS,n,r)},e.prototype.coordToData=function(t,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),jS(n,i.count()));var a=Ty(t,n,KS,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=CO(this,r),i=n.ticks,a=ut(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return RO(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=ut(n,function(a){return ut(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},e.prototype.getViewLabels=function(){return TO(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 IO(this)},e}();function jS(e,t){var r=e[1]-e[0],n=t,i=r/n/2;e[0]+=i,e[1]-=i}function RO(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;D(t,function(v){v.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];h(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&h(a[0],t[0].coord)&&t.unshift({coord:a[0]}),h(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&h(o.coord,a[1])&&t.push({coord:a[1]});function h(v,d){return v=oe(v),d=oe(d),c?v>d:vn[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}(OO),ZO=qO;function Bv(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],h={left:0,right:1,top:0,bottom:1,onZero:2},v=t.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 p={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=p[s],a.labelOffset=o?d[h[s]]-d[h.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Va(r.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var g=t.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-g:g,a.z2=1,a}function rb(e){return e.get("coordinateSystem")==="cartesian2d"}function nb(e){var t={xAxisModel:null,yAxisModel:null};return D(t,function(r,n){var i=n.replace(/Model$/,""),a=e.getReferringComponents(i,Je).models[0];t[n]=a}),t}var KO=function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=kv,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),D(n.x,function(a){VS(a.scale,a.model)}),D(n.y,function(a){VS(a.scale,a.model)});var i={};D(n.x,function(a){ib(n,"y",a,i)}),D(n.y,function(a){ib(n,"x",a,i)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var i=t.getBoxLayoutParams(),a=!n&&t.get("containLabel"),o=Mo(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(D(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=_O(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()),D(this._coordsList,function(u){u.calcAffineTransform()});function l(){D(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]),jO(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"):il(i-dn)?(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}(),ob={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&&(ae(s,s,o),ae(l,l,o));var u=K({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new an({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 h=t.get(["axisLine","symbolSize"]);typeof c=="string"&&(c=[c,c]),(typeof h=="string"||typeof h=="number")&&(h=[h,h]);var v=s1(t.get(["axisLine","symbolOffset"])||0,h),d=h[0],y=h[1];D([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.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(p,g){if(c[g]!=="none"&&c[g]!=null){var m=ca(c[g],-d/2,-y/2,d,y,u.stroke,!0),_=p.r+p.offset;m.attr({rotation:p.rotate,x:s[0]+_*Math.cos(e.rotation),y:s[1]-_*Math.sin(e.rotation),silent:!0,z2:11}),r.add(m)}})}}},axisTickLabel:function(e,t,r,n){var i=ek(r,n,t,e),a=nk(r,n,t,e);if(tk(t,a,i),rk(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=kO(ut(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));BO(o)}},axisName:function(e,t,r,n){var i=Va(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,lb(a)?e.labelOffset+o*l:0],h,v=t.get("nameRotate");v!=null&&(v=v*dn/180);var d;lb(a)?h=vi.innerTextLayout(e.rotation,v!=null?v:e.rotation,o):(h=JO(e.rotation,a,v||0,u),d=e.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(h.rotation)),!isFinite(d)&&(d=null)));var y=s.getFont(),p=t.get("nameTruncate",!0)||{},g=p.ellipsis,m=Va(e.nameTruncateMaxWidth,p.maxWidth,d),_=new ue({x:c[0],y:c[1],rotation:h.rotation,silent:vi.isLabelSilent(t),style:sn(s,{text:i,font:y,overflow:"truncate",width:m,ellipsis:g,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(Th({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var S=vi.makeAxisEventDataBase(t);S.targetType="axisName",S.name=i,kt(_).eventData=S}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function JO(e,t,r,n){var i=Cy(r-e),a,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return il(i-dn/2)?(o=l?"bottom":"top",a="center"):il(i-dn*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",idn/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function tk(e,t,r){if(!GS(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],h=r[r.length-2];n===!1?(Ye(a),Ye(u)):sb(a,o)&&(n?(Ye(o),Ye(f)):(Ye(a),Ye(u))),i===!1?(Ye(s),Ye(c)):sb(l,s)&&(i?(Ye(l),Ye(h)):(Ye(s),Ye(c)))}}function Ye(e){e&&(e.ignore=!0)}function sb(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!r||!n)){var i=js([]);return Js(i,i,-e.rotation),r.applyTransform(Ar([],i,e.getLocalTransform())),n.applyTransform(Ar([],i,t.getLocalTransform())),r.intersect(n)}}function lb(e){return e==="middle"||e==="center"}function ub(e,t,r,n,i){for(var a=[],o=[],s=[],l=0;l=0||e===t}function uk(e){var t=zv(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=Hv(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=zv(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=di(t).pointerEl=new pI[a.type](gb(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,i){if(r.label){var a=di(t).labelEl=new ue(gb(r.label));t.add(a),_b(a,i)}},e.prototype.updatePointerEl=function(t,r,n){var i=di(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=di(t).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),_b(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=wh(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){zg(u.event)},onmousedown:Gv(this._onHandleDragMove,this,0,0),drift:Gv(this._onHandleDragMove,this),ondragend:Gv(this._onHandleDragEnd,this)}),n.add(i)),Sb(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,vE(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){yb(this._axisPointerModel,!r&&this._moveAnimation,this._handle,$v(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($v(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr($v(i)),di(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)},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 yb(e,t,r,n){mb(di(r).lastProp,n)||(di(r).lastProp=n,t?on(r,n,e):(r.stopAnimation(),r.attr(n)))}function mb(e,t){if(st(e)&&st(t)){var r=!0;return D(t,function(n,i){r=r&&mb(e[i],n)}),!!r}else return e===t}function _b(e,t){e[t.get(["label","show"])?"show":"hide"]()}function $v(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function Sb(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 bk=Sk;function wk(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 xk(e,t,r,n,i){var a=r.get("value"),o=bb(a,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=ql(s.get("padding")||0),u=s.getFont(),f=Ic(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),Tk(c,h,v,n);var p=s.get("backgroundColor");(!p||p==="auto")&&(p=t.get(["axisLine","lineStyle","color"])),e.label={x:c[0],y:c[1],style:sn(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:p}),z2:10}}function Tk(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 bb(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:Lv(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};D(n,function(l){var u=r.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,c=u&&u.getDataParams(f);c&&s.seriesData.push(c)}),wt(o)?a=o.replace("{value}",a):Xt(o)&&(a=o(s))}return a}function wb(e,t,r){var n=Wi();return Js(n,n,r.rotation),Qs(n,n,r.position),bh([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function Ck(e,t,r,n,i,a){var o=fb.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),xk(t,n,i,a,{position:wb(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function Mk(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function Dk(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}var Ak=function(e){Z(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=xb(l,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var h=wk(a),v=Pk[u](s,c,f);v.style=h,r.graphicKey=v.type,r.pointer=v}var d=Bv(l.model,i);Ck(n,r,d,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=Bv(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=wb(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=xb(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]}},t}(bk);function xb(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var Pk={line:function(e,t,r){var n=Mk([t,r[0]],[t,r[1]],Tb(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:Dk([t-n/2,r[0]],[n,i],Tb(e))}}};function Tb(e){return e.dim==="x"?0:1}var Ik=Ak,Lk=function(e){Z(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",zlevel:0,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),Ek=Lk,Hr=Kt(),Rk=D;function Cb(e,t,r){if(!ht.node){var n=t.getZr();Hr(n).records||(Hr(n).records={}),Ok(n,t);var i=Hr(n).records[e]||(Hr(n).records[e]={});i.handler=r}}function Ok(e,t){if(Hr(e).initialized)return;Hr(e).initialized=!0,r("click",Zt(Mb,"click")),r("mousemove",Zt(Mb,"mousemove")),r("globalout",Bk);function r(n,i){e.on(n,function(a){var o=Fk(t);Rk(Hr(e).records,function(s){s&&i(s,a,o.dispatchAction)}),kk(o.pendings,t)})}}function kk(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 Bk(e,t,r){e.handler("leave",null,r)}function Mb(e,t,r,n){t.handler(e,r,n)}function Fk(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 Uv(e,t){if(!ht.node){var r=t.getZr(),n=(Hr(r).records||{})[e];n&&(Hr(r).records[e]=null)}}var Nk=function(e){Z(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";Cb("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){Uv("axisPointer",n)},t.prototype.dispose=function(r,n){Uv("axisPointer",n)},t.type="axisPointer",t}(Nr),zk=Nk;function Db(e,t){var r=[],n=e.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=Vn(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,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(ut(l.dimensions,function(g){return a.mapDimension(g)}),o))||[];else if(s){var p=s.getBoundingRect().clone();p.applyTransform(s.transform),r=[p.x+p.width/2,p.y+p.height/2]}return{point:r,el:s}}var Ab=Kt();function Hk(e,t,r){var n=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||Gt(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(!!s){Iu(i)&&(i=Db({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var l=Iu(i),u=a.axesInfo,f=s.axesInfo,c=n==="leave"||Iu(i),h={},v={},d={list:[],map:{}},y={showPointer:Zt(Gk,v),showTooltip:Zt($k,d)};D(s.coordSysMap,function(g,m){var _=l||g.containPoint(i);D(s.coordSysAxesInfo[m],function(S,w){var b=S.axis,x=Xk(u,S);if(!c&&_&&(!u||x)){var C=x&&x.value;C==null&&!l&&(C=b.pointToData(i)),C!=null&&Pb(S,C,y,!1,h)}})});var p={};return D(f,function(g,m){var _=g.linkGroup;_&&!v[m]&&D(_.axesInfo,function(S,w){var b=v[w];if(S!==g&&b){var x=b.value;_.mapper&&(x=g.axis.scale.parse(_.mapper(x,Ib(S),Ib(g)))),p[g.key]=x}})}),D(p,function(g,m){Pb(f[m],g,y,!0,h)}),Uk(v,f,h),Wk(d,i,e,o),Yk(f,o,r),h}}function Pb(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=Vk(t,e),s=o.payloadBatch,l=o.snapToValue;s[0]&&i.seriesIndex==null&&K(i,s[0]),!n&&e.snap&&a.containData(l)&&l!=null&&(t=l),r.showPointer(e,t,s),r.showTooltip(e,o,l)}}function Vk(e,t){var r=t.axis,n=r.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return D(t.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(n),c,h;if(l.getAxisTooltipData){var v=l.getAxisTooltipData(f,e,r);h=v.dataIndices,c=v.nestestValue}else{if(h=l.getData().indicesOfNearest(f[0],e,r.type==="category"?.5:null),!h.length)return;c=l.getData().get(f[0],h[0])}if(!(c==null||!isFinite(c))){var d=e-c,y=Math.abs(d);y<=o&&((y=0&&s<0)&&(o=y,s=d,i=c,a.length=0),D(h,function(p){a.push({seriesIndex:l.seriesIndex,dataIndexInside:p,dataIndex:l.getData().getRawIndex(p)})}))}}),{payloadBatch:a,snapToValue:i}}function Gk(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function $k(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=ts(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 Uk(e,t,r){var n=r.axesInfo=[];D(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 Wk(e,t,r,n){if(Iu(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 Yk(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",a=Ab(n)[i]||{},o=Ab(n)[i]={};D(e,function(u,f){var c=u.axisPointerModel.option;c.status==="show"&&D(c.seriesDataIndices,function(h){var v=h.seriesIndex+" | "+h.dataIndex;o[v]=h})});var s=[],l=[];D(a,function(u,f){!o[f]&&l.push(u)}),D(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 Xk(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 Ib(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 Iu(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function Lb(e){hb.registerAxisPointerClass("CartesianAxisPointer",Ik),e.registerComponentModel(Ek),e.registerComponentView(zk),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=ik(t,r)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Hk)}function NF(e){hi(_k),hi(Lb)}function qk(e,t){var r=ql(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new Yt({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 Zk=function(e){Z(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={zlevel:0,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),Kk=Zk;function Eb(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function Rb(e){if(!!ht.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,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=t+" 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 nB(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+=ht.transformSupported?","+Wv+n:",left"+n+",top"+n),Jk+":"+i}function Bb(e,t,r){var n=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!ht.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=ht.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+Wv+":"+o+";":[["top",0],["left",0],[Ob,o]]}function iB(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),D(["decoration","align"],function(l){var u=e.get(l);u&&t.push("text-"+l+":"+u)}),t.join(";")}function aB(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=H_(e,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),t&&i&&n.push(nB(i,r)),a&&(ht.canvasSupported?n.push("background-color:"+a):(n.push("background-color:#"+UM(a)),n.push("filter:alpha(opacity=70)"))),D(["width","color","radius"],function(v){var d="border-"+v,y=G0(d),p=e.get(y);p!=null&&n.push(d+":"+p+(v==="color"?"":"px"))}),n.push(iB(f)),c!=null&&n.push("padding:"+ql(c).join("px ")+"px"),n.join(";")+";"}function Fb(e,t,r,n,i){var a=t&&t.painter;if(r){var o=a&&a.getViewportRoot();o&&mM(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 oB=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,ht.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;Fb(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();Oe(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=Qk(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=tB+aB(t,!this._firstShow,this._longHide)+Bb(a[0],a[1],!0)+("border-color:"+ii(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(wt(a)&&n.get("trigger")==="item"&&!Eb(n)&&(s=rB(n,i,a)),wt(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||ht.node)){var o=Vb(a,i);this._ticket="";var s=a.dataByCoordSys,l=pB(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=fB;f.x=a.x,f.y=a.y,f.update(),kt(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=Db(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))}},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(Vb(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=Lu([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;No(i,function(u){if(kt(u).dataIndex!=null)return s=u,!0;if(kt(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=Gt(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=Lu([n.tooltipOption],a),l=this._renderMode,u=[],f=Oo("section",{blocks:[],noHeader:!0}),c=[],h=new jh;es(r,function(m){es(m.dataByAxis,function(_){var S=i.getComponent(_.axisDim+"Axis",_.axisIndex),w=_.value;if(!(!S||w==null)){var b=bb(w,S.axis,i,_.seriesDataIndices,_.valueLabelOpt),x=Oo("section",{header:b,noHeader:!En(b),sortBlocks:!0,blocks:[]});f.blocks.push(x),D(_.seriesDataIndices,function(C){var M=i.getSeriesByIndex(C.seriesIndex),L=C.dataIndexInside,I=M.getDataParams(L);if(!(I.dataIndex<0)){I.axisDim=_.axisDim,I.axisIndex=_.axisIndex,I.axisType=_.axisType,I.axisId=_.axisId,I.axisValue=Lv(S.axis,{value:w}),I.axisValueLabel=b,I.marker=h.makeTooltipMarker("item",ii(I.color),l);var P=M_(M.formatTooltip(L,!0,null));P.markupFragment&&x.blocks.push(P.markupFragment),P.markupText&&c.push(P.markupText),u.push(I)}})}})}),f.blocks.reverse(),c.reverse();var v=n.position,d=s.get("order"),y=F_(f,h,l,d,i.get("useUTC"),s.get("textStyle"));y&&c.unshift(y);var p=l==="richText"?` +`];function ko(t,e){return e.type=t,e}function qc(t){return t.type==="section"}function vS(t){return qc(t)?HL:VL}function dS(t){if(qc(t)){var e=0,r=t.blocks.length,n=r>1||r>0&&!t.noHeader;return D(t.blocks,function(i){var a=dS(i);a>=e&&(e=a+ +(n&&(!a||qc(i)&&!i.noHeader)))}),e}return 0}function HL(t,e,r,n){var i=e.noHeader,a=GL(dS(e)),o=[],s=e.blocks||[];Er(!s||et(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(ra(u,l)){var f=new TL(u[l],null);s.sort(function(d,m){return f.evaluate(d.sortParam,m.sortParam)})}else l==="seriesDesc"&&s.reverse()}D(s,function(d,m){var p=e.valueFormatter,g=vS(d)(p?q(q({},t),{valueFormatter:p}):t,d,m>0?a.html:0,n);g!=null&&o.push(g)});var c=t.renderMode==="richText"?o.join(a.richText):Kc(o.join(""),i?r:a.html);if(i)return c;var h=Uc(e.header,"ordinal",t.useUTC),v=hS(n,t.renderMode).nameStyle;return t.renderMode==="richText"?pS(t,h,v)+a.richText+c:Kc('
'+Ge(h)+"
"+c,r)}function VL(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(S){return S=et(S)?S:[S],ct(S,function(x,w){return Uc(x,et(v)?v[w]:v,u)})};if(!(a&&o)){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),h=a?"":Uc(l,"ordinal",u),v=e.valueType,d=o?[]:f(e.value),m=!s||!a,p=!s&&a,g=hS(n,i),y=g.nameStyle,_=g.valueStyle;return i==="richText"?(s?"":c)+(a?"":pS(t,h,y))+(o?"":UL(t,d,m,p,_)):Kc((s?"":c)+(a?"":$L(h,!s,y))+(o?"":WL(d,m,p,_)),r)}}function Kg(t,e,r,n,i,a){if(!!t){var o=vS(t),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter};return o(s,t,0,a)}}function GL(t){return{html:FL[t],richText:zL[t]}}function Kc(t,e){var r='
',n="margin: "+e+"px 0 0";return'
'+t+r+"
"}function $L(t,e,r){var n=e?"margin-left:2px":"";return''+Ge(t)+""}function WL(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 pS(t,e,r){return t.markupStyleCreator.wrapRichTextStyle(e,r)}function UL(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 YL(t,e){var r=t.getData().getItemVisual(e,"style"),n=r[t.visualDrawType];return ui(n)}function gS(t,e){var r=t.get("padding");return r!=null?r:e==="richText"?[8,10]:10}var Tf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=A_()}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=EI({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)?D(r,function(a){return q(n,a)}):q(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+e+"}"},t}();function XL(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=YL(e,r),f,c,h,v;if(o>1||l&&!o){var d=qL(s,e,r,a,u);f=d.inlineValues,c=d.inlineValueTypes,h=d.blocks,v=d.inlineValues[0]}else if(o){var m=i.getDimensionInfo(a[0]);v=f=ia(i,r,a[0]),c=m.type}else v=f=l?s[0]:s;var p=lv(e),g=p&&e.name||"",y=i.getName(r),_=n?g:y;return ko("section",{header:g,noHeader:n||!p,sortParam:v,blocks:[ko("nameValue",{markerType:"item",markerColor:u,name:_,noName:!hr(_),value:f,valueType:c})].concat(h||[])})}function qL(t,e,r,n,i){var a=e.getData(),o=ha(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?D(n,function(c){f(ia(a,r,c),c)}):D(t,f);function f(c,h){var v=a.getDimensionInfo(h);!v||v.otherDims.tooltip===!1||(o?u.push(ko("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 Yr=qt();function Cs(t,e){return t.getName(e)||t.getId(e)}var KL="__universalTransitionEnabled",yu=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=ho({count:jL,reset:QL}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=Yr(this).sourceManager=new NL(this);a.prepareSource();var o=this.getInitialData(r,i);jg(o,this),this.dataTask.context.data=o,Yr(this).dataBeforeProcessed=o,Zg(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(r,n){var i=Ro(this),a=i?pu(r):{},o=this.subType;zt.hasClass(o)&&(o+="Series"),Ct(r,n.getTheme().get(this.subType)),Ct(r,this.getDefaultOption()),Ip(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&na(r,a,i)},e.prototype.mergeOption=function(r,n){r=Ct(this.option,r,!0),this.fillDataTextStyle(r.data);var i=Ro(this);i&&na(this.option,r,i);var a=Yr(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);jg(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Yr(this).dataBeforeProcessed=o,Zg(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(r){if(r&&!Pe(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=Ev.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[Cs(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[KL])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(yu,bL);mr(yu,Ev);O_(yu,zt);function Zg(t){var e=t.name;lv(t)||(t.name=ZL(t)||e)}function ZL(t){var e=t.getRawData(),r=e.mapDimensionsAll("seriesName"),n=[];return D(r,function(i){var a=e.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function jL(t){return t.model.getRawData().count()}function QL(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),JL}function JL(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function jg(t,e){D(UC(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(r){t.wrapMethod(r,Zt(tE,e))})}function tE(t,e){var r=Zc(t);return r&&r.setOutputEnd((e||this).count()),e}function Zc(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 Bo=yu,Fv=function(){function t(){this.group=new ce,this.uid=lu("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}();fv(Fv);eu(Fv);var Or=Fv;function mS(){var t=qt();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 yS=qt(),eE=mS(),zv=function(){function t(){this.group=new ce,this.uid=lu("viewChart"),this.renderTask=ho({plan:rE,reset:nE}),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||Jg(a,i,"emphasis")},t.prototype.downplay=function(e,r,n,i){var a=e.getData(i&&i.dataType);!a||Jg(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){xv(this.group,e)},t.markUpdateMethod=function(e,r){yS(e).updateMethod=r},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function Qg(t,e,r){t&&Vc(t)&&(e==="emphasis"?Ml:Dl)(t,r)}function Jg(t,e,r){var n=oi(t,e),i=e&&e.highlightKey!=null?iP(e.highlightKey):null;n!=null?D(fe(n),function(a){Qg(t.getItemGraphicEl(a),r,i)}):t.eachItemGraphicEl(function(a){Qg(a,r,i)})}fv(zv);eu(zv);function rE(t){return eE(t.model)}function nE(t){var e=t.model,r=t.ecModel,n=t.api,i=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=i&&yS(i).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](e,r,n,i),iE[l]}var iE={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)}}},vn=zv,Rl="\0__throttleOriginMethod",tm="\0__throttleRate",em="\0__throttleType";function _S(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 SS(t,e,r,n){var i=t[e];if(!!i){var a=i[Rl]||i,o=i[em],s=i[tm];if(s!==r||o!==n){if(r==null||!n)return t[e]=a;i=t[e]=_S(a,r,n==="debounce"),i[Rl]=a,i[em]=n,i[tm]=r}return i}}function jc(t,e){var r=t[e];r&&r[Rl]&&(r.clear&&r.clear(),t[e]=r[Rl])}var rm=qt(),nm={itemStyle:Po(L1,!0),lineStyle:Po(I1,!0)},aE={lineStyle:"stroke",itemStyle:"fill"};function wS(t,e){var r=t.visualStyleMapper||nm[e];return r||(console.warn("Unkown style type '"+e+"'."),nm.itemStyle)}function bS(t,e){var r=t.visualDrawType||aE[e];return r||(console.warn("Unkown style type '"+e+"'."),"fill")}var oE={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=t.getModel(n),a=wS(t,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var l=bS(t,n),u=o[l],f=vt(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"||vt(o.fill)?h:o.fill,o.stroke=o.stroke==="auto"||vt(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 m=t.getDataParams(d),p=q({},o);p[l]=f(m),v.setItemVisual(d,"style",p)}}}},Ea=new ie,sE={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=wS(t,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Ea.option=l[n];var u=i(Ea),f=o.ensureUniqueItemVisual(s,"style");q(f,u),Ea.option.decal&&(o.setItemVisual(s,"decal",Ea.option.decal),Ea.option.decal.dirty=!0),a in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},lE={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)),rm(r).scope=a}}),t.eachSeries(function(r){if(!(r.isColorBySeries()||t.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=rm(r).scope,s=r.visualStyleAccessPath||"itemStyle",l=bS(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)}})}})}},Ms=Math.PI;function uE(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 mv({shape:{startAngle:-Ms/2,endAngle:-Ms/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:Ms*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Ms*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 fE=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;D(this._allHandlers,function(i){var a=e.get(i.uid)||e.set(i.uid,{}),o="";Er(!(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;D(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(p){s(i,p)&&(p.dirty(),v=!0)}),v&&h.dirty(),o.updatePayload(h,n);var m=o.getPerformArgs(h,i.block);d.each(function(p){p.perform(m)}),h.perform(m)&&(a=!0)}else c&&c.each(function(p,g){s(i,p)&&p.dirty();var y=o.getPerformArgs(p,i.block);y.skip=!l.performRawSeries&&r.isSeriesFiltered(p.context.model),o.updatePayload(p,n),p.perform(y)&&(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)||ho({plan:pE,reset:gE,count:yE}));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||ho({reset:cE});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="";Er(!e.createOnAllSeries,v),u?n.eachRawSeriesByType(u,d):f?f(n,i).each(d):(c=!1,D(n.getSeries(),d));function d(m){var p=m.uid,g=l.set(p,s&&s.get(p)||(h=!0,ho({reset:hE,onDirty:dE})));g.context={model:m,overallProgress:c},g.agent=o,g.__block=c,a._pipe(m,g)}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 vt(e)&&(e={overallReset:e,seriesType:_E(e)}),e.uid=lu("stageHandler"),r&&(e.visualType=r),e},t}();function cE(t){t.overallReset(t.ecModel,t.api,t.payload)}function hE(t){return t.overallProgress&&vE}function vE(){this.agent.dirty(),this.getDownstream().dirty()}function dE(){this.agent&&this.agent.dirty()}function pE(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function gE(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 xS(n)}):mE}var mE=xS(0);function xS(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}(),Qc=["symbol","symbolSize","symbolRotate","symbolOffset"],sm=Qc.concat(["symbolKeepAspect"]),xE={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]:Gt(t)?[t]:et(t)?t:null}function PS(t){var e=t.style,r=e.lineDash&&e.lineWidth>0&&WE(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 UE=new si(!0);function kl(t){var e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))}function lm(t){return typeof t=="string"&&t!=="none"}function Bl(t){var e=t.fill;return e!=null&&e!=="none"}function um(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 fm(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 eh(t,e,r){var n=k_(e.image,e.__image,r);if(ru(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)*YC),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}function YE(t,e,r,n){var i,a=kl(r),o=Bl(r),s=r.strokePercent,l=s<1,u=!e.path;(!e.silent||l)&&u&&e.createPathProxy();var f=e.path||UE,c=e.__dirty;if(!n){var h=r.fill,v=r.stroke,d=o&&!!h.colorStops,m=a&&!!v.colorStops,p=o&&!!h.image,g=a&&!!v.image,y=void 0,_=void 0,S=void 0,x=void 0,w=void 0;(d||m)&&(w=e.getBoundingRect()),d&&(y=c?th(t,h,w):e.__canvasFillGradient,e.__canvasFillGradient=y),m&&(_=c?th(t,v,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),p&&(S=c||!e.__canvasFillPattern?eh(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=S),g&&(x=c||!e.__canvasStrokePattern?eh(t,v,e):e.__canvasStrokePattern,e.__canvasStrokePattern=S),d?t.fillStyle=y:p&&(S?t.fillStyle=S:o=!1),m?t.strokeStyle=_:g&&(x?t.strokeStyle=x:a=!1)}var b=e.getGlobalScale();f.setScale(b[0],b[1],e.segmentIgnoreThreshold);var C,M;t.setLineDash&&r.lineDash&&(i=PS(e),C=i[0],M=i[1]);var I=!0;(u||c&Bi)&&(f.setDPR(t.dpr),l?f.setContext(null):(f.setContext(t),I=!1),f.reset(),e.buildPath(f,e.shape,n),f.toStatic(),e.pathUpdated()),I&&f.rebuildPath(t,l?s:1),C&&(t.setLineDash(C),t.lineDashOffset=M),n||(r.strokeFirst?(a&&fm(t,r),o&&um(t,r)):(o&&um(t,r),a&&fm(t,r))),C&&t.setLineDash([])}function XE(t,e,r){var n=e.__image=k_(r.image,e.__image,e,e.onload);if(!(!n||!ru(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 qE(t,e,r){var n,i=r.text;if(i!=null&&(i+=""),i){t.font=r.font||ii,t.textAlign=r.textAlign,t.textBaseline=r.textBaseline;var a=void 0,o=void 0;t.setLineDash&&r.lineDash&&(n=PS(e),a=n[0],o=n[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),r.strokeFirst?(kl(r)&&t.strokeText(i,r.x,r.y),Bl(r)&&t.fillText(i,r.x,r.y)):(Bl(r)&&t.fillText(i,r.x,r.y),kl(r)&&t.strokeText(i,r.x,r.y)),a&&t.setLineDash([])}}var cm=["shadowBlur","shadowOffsetX","shadowOffsetY"],hm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function IS(t,e,r,n,i){var a=!1;if(!n&&(r=r||{},e===r))return!1;if(n||e.opacity!==r.opacity){ye(t,i),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?ti.opacity:o}(n||e.blend!==r.blend)&&(a||(ye(t,i),a=!0),t.globalCompositeOperation=e.blend||ti.blend);for(var s=0;s0&&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 aL(this._api),u=this._theme,f=this._model=new Q1;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(r,{replaceMerge:o},nh);var c={seriesTransition:s,optionChanged:!0};if(i)this[de]={silent:a,updateParams:c},this[ee]=!1,this.getZr().wakeUp();else{try{Ii(this),Xr.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,Ra.call(this,a),Oa.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||oR&&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(!!yt.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return D(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;D(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 D(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(Am[i]){var l=s,u=s,f=-s,c=-s,h=[],v=r&&r.pixelRatio||this.getDevicePixelRatio();D(po,function(_,S){if(_.group===i){var x=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(wt(r)),w=_.getDom().getBoundingClientRect();l=a(w.left,l),u=a(w.top,u),f=o(w.right,f),c=o(w.bottom,c),h.push({dom:x,left:w.left,top:w.top})}}),l*=v,u*=v,f*=v,c*=v;var d=f-l,m=c-u,p=ci.createCanvas(),g=Cp(p,{renderer:n?"svg":"canvas"});if(g.resize({width:d,height:m}),n){var y="";return D(h,function(_){var S=_.left-l,x=_.top-u;y+=''+_.dom+""}),g.painter.getSvgRoot().innerHTML=y,r.connectedBackgroundColor&&g.painter.setBackgroundColor(r.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return r.connectedBackgroundColor&&g.add(new Qt({shape:{x:0,y:0,width:d,height:m},style:{fill:r.connectedBackgroundColor}})),D(h,function(_){var S=new hi({style:{x:_.left*v-l,y:_.top*v-u,image:_.dom}});g.add(S)}),g.refreshImmediately(),p.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},e.prototype.convertToPixel=function(r,n){return Pf(this,"convertToPixel",r,n)},e.prototype.convertFromPixel=function(r,n){return Pf(this,"convertFromPixel",r,n)},e.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var i=this._model,a,o=ju(i,r);return D(o,function(s,l){l.indexOf("Models")>=0&&D(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=ju(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?CE(s,l,n):ME(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;D(wR,function(n){var i=function(a){var o=r.getModel(),s=a.target,l,u=n==="globalout";if(u?l={}:s&&Ka(s,function(d){var m=Bt(d);if(m&&m.dataIndex!=null){var p=m.dataModel||o.getSeriesByIndex(m.seriesIndex);return l=p&&p.getDataParams(m.dataIndex,m.dataType)||{},!0}else if(m.eventData)return l=q({},m.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)}),D(vo,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),D(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),DE(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&&E_(this.getDom(),Gv,"");var n=this,i=n._api,a=n._model;D(n._componentsViews,function(o){o.dispose(a,i)}),D(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 po[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&&Ii(this),Xr.update.call(this,{type:"resize",animation:q({duration:0},r&&r.animation)})}catch(o){throw this[ee]=!1,o}this[ee]=!1,Ra.call(this,a),Oa.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(),!!ih[r]){var i=ih[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=vo[r.type],n},e.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(st(n)||(n={silent:!!n}),!!Nl[r.type]&&!!this._model){if(this[ee]){this._pendingActions.push(r);return}var i=n.silent;Lf.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&yt.browser.weChat&&this._throttledZrFlush(),Ra.call(this,i),Oa.call(this,i)}},e.prototype.updateLabelLayout=function(){je.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(){Ii=function(c){var h=c._scheduler;h.restorePipelines(c._model),h.prepareStageTasks(),Af(c,!0),Af(c,!1),h.plan()},Af=function(c,h){for(var v=c._model,d=c._scheduler,m=h?c._componentsViews:c._chartsViews,p=h?c._componentsMap:c._chartsMap,g=c._zr,y=c._api,_=0;_h.get("hoverLayerThreshold")&&!yt.node&&!yt.worker&&h.eachSeries(function(p){if(!p.preventUsingHoverLayer){var g=c._chartsMap[p.__viewId];g.__alive&&g.eachRendered(function(y){y.states.emphasis&&(y.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(m){return l(m,v,d,-1/0),!0})}}function l(c,h,v,d){var m=c.getTextContent(),p=c.getTextGuideLine(),g=c.isGroup;if(g)for(var y=c.childrenRef(),_=0;_0?{duration:m,delay:v.get("delay"),easing:v.get("easing")}:null;h.eachRendered(function(g){if(g.states&&g.states.emphasis){if(uo(g))return;if(g instanceof kt&&aP(g),g.__dirty){var y=g.prevStates;y&&g.useStates(y)}if(d){g.stateTransition=p;var _=g.getTextContent(),S=g.getTextGuideLine();_&&(_.stateTransition=p),S&&(S.stateTransition=p)}g.__dirty&&i(g)}})}Mm=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 m=d.__ecComponentInfo;if(m!=null)return c._model.getComponent(m.mainType,m.index);d=d.parent}},v.prototype.enterEmphasis=function(d,m){Ml(d,m),Le(c)},v.prototype.leaveEmphasis=function(d,m){Dl(d,m),Le(c)},v.prototype.enterBlur=function(d){KA(d),Le(c)},v.prototype.leaveBlur=function(d){j_(d),Le(c)},v.prototype.enterSelect=function(d){Q_(d),Le(c)},v.prototype.leaveSelect=function(d){J_(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}(J1))(c)},US=function(c){function h(v,d){for(var m=0;m=0)){Pm.push(r);var a=MS.wrapStageHandler(r,i);a.__prio=e,a.__raw=r,t.push(a)}}function jS(t,e){ih[t]=e}function AR(t,e,r){var n=aR("registerMap");n&&n(t,e,r)}var PR=LL;di(Hv,oE);di(_u,sE);di(_u,lE);di(Hv,xE);di(_u,TE);di(zS,rR);KS(eS);ZS(uR,vL);jS("default",uE);ga({type:ei,event:ei,update:ei},_e);ga({type:Js,event:Js,update:Js},_e);ga({type:oo,event:oo,update:oo},_e);ga({type:tl,event:tl,update:tl},_e);ga({type:so,event:so,update:so},_e);qS("light",SE);qS("dark",wE);function ka(t){return t==null?0:t.length||1}function Im(t){return t}var IR=function(){function t(e,r,n,i,a,o){this._old=e,this._new=r,this._oldKeyGetter=n||Im,this._newKeyGetter=i||Im,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 Ba=st,qr=ct,zR=typeof Int32Array=="undefined"?Array:Int32Array,HR="e\0\0",Lm=-1,VR=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],GR=["_approximateExtent"],Em,Es,Na,Fa,Of,Rs,kf,$R=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;JS(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===Ye;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():Ba(a)&&(a=q({},a)),i[r]=a),a},t.prototype.setItemVisual=function(e,r,n){var i=this._itemVisuals[e]||{};this._itemVisuals[e]=i,Ba(r)?q(i,r):i[r]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(e,r){Ba(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){D(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:qr(this.dimensions,this._getDimInfo,this),this.hostModel)),Of(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(e,r){var n=this[e];!vt(n)||(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(jh(arguments)))})},t.internalField=function(){Em=function(e){var r=e._invertedIndicesMap;D(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}(),WR=$R;function UR(t,e){Ov(t)||(t=kv(t)),e=e||{};var r=e.coordDimensions||[],n=e.dimensionsDefine||t.dimensionsDefine||[],i=gt(),a=[],o=XR(t,r,n,e.dimensionsCount),s=e.canOmitUnusedDimensions&&rw(o),l=n===t.dimensionsDefine,u=l?ew(t):tw(n),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(t,o));for(var c=gt(f),h=new uS(o),v=0;v0&&(n.name=i+(a-1)),a++,e.set(i,a)}}function XR(t,e,r,n){var i=Math.max(t.dimensionsDetectedCount||1,e.length,r.length,n||0);return D(e,function(a){var o;st(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function qR(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 KR=function(){function t(e){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=e}return t}();function ZR(t){var e=t.get("coordinateSystem"),r=new KR(e),n=jR[e];if(n)return n(t,r,r.axisMap,r.categoryAxisMap),r}var jR={cartesian2d:function(t,e,r,n){var i=t.getReferringComponents("xAxis",Je).models[0],a=t.getReferringComponents("yAxis",Je).models[0];e.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),Li(i)&&(n.set("x",i),e.firstCategoryDimIndex=0),Li(a)&&(n.set("y",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,r,n){var i=t.getReferringComponents("singleAxis",Je).models[0];e.coordSysDims=["single"],r.set("single",i),Li(i)&&(n.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,r,n){var i=t.getReferringComponents("polar",Je).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Li(a)&&(n.set("radius",a),e.firstCategoryDimIndex=0),Li(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();D(a.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),f=o[l];r.set(f,u),Li(u)&&(n.set(f,u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=l))})}};function Li(t){return t.get("type")==="category"}function QR(t,e,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;JR(e)?a=e:(o=e.schema,a=o.dimensions,s=e.store);var l=!!(t&&t.get("stack")),u,f,c,h;if(D(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_"+t.id,h="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var v=f.coordDim,d=f.type,m=0;D(a,function(y){y.coordDim===v&&m++});var p={name:c,coordDim:v,coordDimIndex:m,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},g={name:h,coordDim:h,coordDimIndex:m+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(p.storeDimIndex=s.ensureCalculationDimension(h,d),g.storeDimIndex=s.ensureCalculationDimension(c,d)),o.appendCalculationDimension(p),o.appendCalculationDimension(g)):(a.push(p),a.push(g))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:c}}function JR(t){return!JS(t.schema)}function zo(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function t2(t,e){return zo(t,e)?t.getCalculationInfo("stackResultDimension"):e}function e2(t,e){var r=t.get("coordinateSystem"),n=Rv.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=OR(l)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function r2(t,e,r){var n,i;return r&&D(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 n2(t,e,r){r=r||{};var n=e.getSourceManager(),i,a=!1;t?(a=!0,i=kv(t)):(i=n.getSource(),a=i.sourceFormat===Ye);var o=ZR(e),s=e2(e,o),l=r.useEncodeDefaulter,u=vt(l)?l:l?Zt(zI,s,e):null,f={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},c=UR(i,f),h=r2(c.dimensions,r.createInvertedIndices,o),v=a?null:n.getSharedDataStore(c),d=QR(e,{schema:c,store:v}),m=new WR(c,e);m.setCalculationInfo(d);var p=h!=null&&i2(i)?function(g,y,_,S){return S===h?_:this.defaultDimValueGetter(g,y,_,S)}:null;return m.hasItemOption=!1,m.initData(a?i:v,null,p),m}function i2(t){if(t.sourceFormat===Ye){var e=a2(t.data||[]);return!et(Uo(e))}}function a2(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}();eu(nw);var Fr=nw,o2=0,s2=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++o2}return t.createByAxisModel=function(e){var r=e.option,n=r.data,i=n&&ct(n,l2);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 l2(t){return st(t)&&t.value!=null?t.value:t+""}var ah=s2;function oh(t){return t.type==="interval"||t.type==="log"}function u2(t,e,r,n){var i={},a=t[1]-t[0],o=i.interval=D_(a/e,!0);r!=null&&on&&(o=i.interval=n);var s=i.intervalPrecision=iw(o),l=i.niceTickExtent=[Yt(Math.ceil(t[0]/o)*o,s),Yt(Math.floor(t[1]/o)*o,s)];return f2(l,t),i}function Bf(t){var e=Math.pow(10,sv(t)),r=t/e;return r?r===2?r=3:r===3?r=5:r*=2:r=1,Yt(r*e)}function iw(t){return Mr(t)+2}function Rm(t,e,r){t[e]=Math.max(Math.min(t[e],r[1]),r[0])}function f2(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Rm(t,0,e),Rm(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function Su(t,e){return t>=e[0]&&t<=e[1]}function wu(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function bu(t,e){return t*(e[1]-e[0])+e[0]}var aw=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 ah({})),et(i)&&(i=new ah({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),Su(r,this._extent)&&this._ordinalMeta.categories[r]!=null},e.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),wu(r,this._extent)},e.prototype.scale=function(r){return r=Math.round(bu(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}(Fr);Fr.registerClass(aw);var ow=aw,Vn=Yt,sw=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 Su(r,this._extent)},e.prototype.normalize=function(r){return wu(r,this._extent)},e.prototype.scale=function(r){return bu(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=iw(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:Vn(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 p2(t){var e=d2(t),r=[];return D(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=le(n.get("barWidth"),s),m=le(n.get("barMaxWidth"),s),p=le(n.get("barMinWidth")||(_2(n)?.5:1),s),g=n.get("barGap"),y=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:d,barMaxWidth:m,barMinWidth:p,barGap:g,barCategoryGap:y,axisKey:fw(a),stackId:uw(n)})}),g2(r)}function g2(t){var e={};D(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 D(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=le(s,o),f=le(n.gap,1),c=n.remainedWidth,h=n.autoWidthCount,v=(c-u)/(h+(h-1)*f);v=Math.max(v,0),D(a,function(g){var y=g.maxWidth,_=g.minWidth;if(g.width){var S=g.width;y&&(S=Math.min(S,y)),_&&(S=Math.max(S,_)),g.width=S,c-=S+f*S,h--}else{var S=v;y&&yS&&(S=_),S!==v&&(g.width=S,c-=S+f*S,h--)}}),v=(c-u)/(h+(h-1)*f),v=Math.max(v,0);var d=0,m;D(a,function(g,y){g.width||(g.width=v),m=g,d+=g.width*(1+f)}),m&&(d-=m.width*f);var p=-d/2;D(a,function(g,y){r[i][y]=r[i][y]||{bandWidth:o,offset:p,width:g.width},p+=g.width*(1+f)})}),r}function m2(t,e,r){if(t&&e){var n=t[fw(e)];return n!=null&&r!=null?n[uw(r)]:n}}function y2(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function _2(t){return t.pipelineContext&&t.pipelineContext.large}var S2=function(t,e,r,n){for(;r>>1;t[i][1]i&&(this._approxInterval=i);var s=Os.length,l=Math.min(S2(Os,this._approxInterval,0,s),s-1);this._interval=Os[l][1],this._minLevelUnit=Os[Math.max(l-1,0)][0]},e.prototype.parse=function(r){return Gt(r)?r:+Rr(r)},e.prototype.contain=function(r){return Su(this.parse(r),this._extent)},e.prototype.normalize=function(r){return wu(this.parse(r),this._extent)},e.prototype.scale=function(r){return bu(r,this._extent)},e.type="time",e}(Ko),Os=[["second",Av],["minute",Pv],["hour",fo],["quarter-day",fo*6],["half-day",fo*12],["day",$e*1.2],["half-week",$e*3.5],["week",$e*7],["month",$e*31],["quarter",$e*95],["half-year",bg/2],["year",bg]];function w2(t,e,r,n){var i=Rr(e),a=Rr(r),o=function(d){return Tg(i,d,n)===Tg(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 b2(t,e){return t/=$e,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function x2(t){var e=30*$e;return t/=e,t>6?6:t>3?3:t>2?2:1}function T2(t){return t/=fo,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function Om(t,e){return t/=e?Pv:Av,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function C2(t){return D_(t,!0)}function M2(t,e,r){var n=new Date(t);switch(qi(e)){case"year":case"month":n[B1(r)](0);case"day":n[N1(r)](1);case"hour":n[F1(r)](0);case"minute":n[z1(r)](0);case"second":n[H1(r)](0),n[V1(r)](0)}return n.getTime()}function D2(t,e,r,n){var i=1e4,a=O1,o=0;function s(I,L,A,E,O,H,B){for(var Q=new Date(L),$=L,Z=Q[E]();$1&&H===0&&A.unshift({value:A[0].value-$})}}for(var H=0;H=n[0]&&y<=n[1]&&c++)}var _=(n[1]-n[0])/e;if(c>_*1.5&&h>_/1.5||(u.push(p),c>_||t===a[v]))break}f=[]}}}for(var S=ge(ct(u,function(I){return ge(I,function(L){return L.value>=n[0]&&L.value<=n[1]&&!L.notAdd})}),function(I){return I.length>0}),x=[],w=S.length-1,v=0;v0;)a*=10;var s=[Yt(L2(n[0]/a)*a),Yt(I2(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},e.prototype.calcNiceExtent=function(r){go.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=Ee(r)/Ee(this.base),Su(r,this._extent)},e.prototype.normalize=function(r){return r=Ee(r)/Ee(this.base),wu(r,this._extent)},e.prototype.scale=function(r){return r=bu(r,this._extent),ks(this.base,r)},e.type="log",e}(Fr),hw=Uv.prototype;hw.getMinorTicks=go.getMinorTicks;hw.getLabel=go.getLabel;function Bs(t,e){return P2(t,Mr(e))}Fr.registerClass(Uv);var E2=Uv,R2=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[k2[e]]=r},t.prototype.setDeterminedMinMax=function(e,r){var n=O2[e];this[n]=r},t.prototype.freeze=function(){this.frozen=!0},t}(),O2={min:"_determinedMin",max:"_determinedMax"},k2={min:"_dataMin",max:"_dataMax"};function B2(t,e,r){var n=t.rawExtentInfo;return n||(n=new R2(t,e,r),t.rawExtentInfo=n,n)}function Ns(t,e){return e==null?null:gl(e)?NaN:t.parse(e)}function vw(t,e){var r=t.type,n=B2(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=v2("bar",o),l=!1;if(D(s,function(c){l=l||c.getBaseAxis()===e.axis}),l){var u=p2(s),f=N2(i,a,e,u);i=f.min,a=f.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function N2(t,e,r,n){var i=r.axis.getExtent(),a=i[1]-i[0],o=m2(n,r.axis);if(o===void 0)return{min:t,max:e};var s=1/0;D(o,function(v){s=Math.min(v.offset,s)});var l=-1/0;D(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 Bm(t,e){var r=e,n=vw(t,r),i=n.extent,a=r.get("splitNumber");t instanceof E2&&(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 F2(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new ow({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new A2({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Fr.getClass(e)||Ko)}}function z2(t){var e=t.scale.getExtent(),r=e[0],n=e[1];return!(r>0&&n>0||r<0&&n<0)}function Zo(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):vt(e)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(Yv(t,i),a,i.level!=null?{level:i.level}:null)}}(e):function(n){return t.scale.getLabel(n)}}function Yv(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function H2(t){var e=t.model,r=t.scale;if(!(!e.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof ow?i=r.count():(n=r.getTicks(),i=n.length);var o=t.getLabelModel(),s=Zo(t),l,u=1;i>40&&(u=Math.ceil(i/40));for(var f=0;f=0||(Nm.push(t),vt(t)&&(t={install:t}),t.install(W2))}var Ho=qt();function U2(t){return t.type==="category"?X2(t):K2(t)}function Y2(t,e){return t.type==="category"?q2(t,e):{ticks:ct(t.scale.getTicks(),function(r){return r.value})}}function X2(t){var e=t.getLabelModel(),r=pw(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function pw(t,e){var r=gw(t,"labels"),n=Xv(e),i=mw(r,n);if(i)return i;var a,o;return vt(n)?a=Sw(t,n):(o=n==="auto"?Z2(t):n,a=_w(t,o)),yw(r,n,{labels:a,labelCategoryInterval:o})}function q2(t,e){var r=gw(t,"ticks"),n=Xv(e),i=mw(r,n);if(i)return i;var a,o;if((!e.get("show")||t.scale.isBlank())&&(a=[]),vt(n))a=Sw(t,n,!0);else if(n==="auto"){var s=pw(t,t.getLabelModel());o=s.labelCategoryInterval,a=ct(s.labels,function(l){return l.tickValue})}else o=n,a=_w(t,o,!0);return yw(r,n,{ticks:a,tickCategoryInterval:o})}function K2(t){var e=t.scale.getTicks(),r=Zo(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 gw(t,e){return Ho(t)[e]||(Ho(t)[e]=[])}function mw(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,m=0,p=iv(r({value:l}),e.font,"center","top");d=p.width*1.3,m=p.height*1.3,h=Math.max(h,d,7),v=Math.max(v,m,7)}var g=h/f,y=v/c;isNaN(g)&&(g=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(g,y))),S=Ho(t.model),x=t.getExtent(),w=S.lastAutoInterval,b=S.lastTickCount;return w!=null&&b!=null&&Math.abs(w-_)<=1&&Math.abs(b-o)<=1&&w>_&&S.axisExtent0===x[0]&&S.axisExtent1===x[1]?_=w:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=x[0],S.axisExtent1=x[1]),_}function Q2(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 _w(t,e,r){var n=Zo(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=dw(t),h=o.get("showMinLabel")||c,v=o.get("showMaxLabel")||c;h&&u!==a[0]&&m(a[0]);for(var d=u;d<=a[1];d+=l)m(d);v&&d-l!==a[1]&&m(a[1]);function m(p){var g={value:p};s.push(r?p:{formattedLabel:n(g),rawLabel:i.getLabel(g),tickValue:p})}return s}function Sw(t,e,r){var n=t.scale,i=Zo(t),a=[];return D(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 Fm=[0,1],J2=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 yD(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(),zm(n,i.count())),Dp(e,Fm,n,r)},t.prototype.coordToData=function(e,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),zm(n,i.count()));var a=Dp(e,n,Fm,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=Y2(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 tO(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 U2(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 j2(this)},t}();function zm(t,e){var r=t[1]-t[0],n=e,i=r/n/2;t[0]+=i,t[1]-=i}function tO(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;D(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}(eO),gO=pO;function uh(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 m=o.toGlobalCoord(o.dataToCoord(0));d[h.onZero]=Math.max(Math.min(m,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 p={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=p[s],a.labelOffset=o?d[h[s]]-d[h.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Co(r.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var g=e.get(["axisLabel","rotate"]);return a.labelRotate=l==="top"?-g:g,a.z2=1,a}function $m(t){return t.get("coordinateSystem")==="cartesian2d"}function Wm(t){var e={xAxisModel:null,yAxisModel:null};return D(e,function(r,n){var i=n.replace(/Model$/,""),a=t.getReferringComponents(i,Je).models[0];e[n]=a}),e}var Nf=Math.log;function mO(t,e,r){var n=Ko.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),l=vw(t,e),u=l.extent,f=l.fixMin,c=l.fixMax;if(t.type==="log"){var h=Nf(t.base);u=[Nf(u[0])/h,Nf(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),m=u[0],p=u[1];if(f&&c)d=(p-m)/o;else if(f)for(p=u[0]+d*o;pu[0]&&isFinite(m)&&isFinite(u[0]);)d=Bf(d),m=u[1]-d*o;else{var g=t.getTicks().length-1;g>o&&(d=Bf(d));var y=d*o;p=Math.ceil(u[1]/d)*d,m=Yt(p-y),m<0&&u[0]>=0?(m=0,p=Yt(y)):p>0&&u[1]<=0&&(p=0,m=-Yt(y))}var _=(i[0].value-a[0].value)/s,S=(i[o].value-a[o].value)/s;n.setExtent.call(t,m+d*_,p+d*S),n.setInterval.call(t,d),(_||S)&&n.setNiceExtent.call(t,m+d,p-d)}var yO=function(){function t(e,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=lh,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,m=v.scale;oh(m)&&d.get("alignTicks")&&d.get("interval")==null?f.push(v):(Bm(m,d),oh(m)&&(s=v))}f.length&&(s||(s=f.pop(),Bm(s.scale,s.model)),D(f,function(p){mO(p.scale,p.model,s.scale)}))}}i(n.x),i(n.y);var a={};D(n.x,function(o){Um(n,"y",o,a)}),D(n.y,function(o){Um(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=Eo(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;l(),a&&(D(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=H2(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()),D(this._coordsList,function(u){u.calcAffineTransform()});function l(){D(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]),_O(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"):Tl(i-on)?(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}(),Xm={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&&(Ue(s,s,o),Ue(l,l,o));var u=q({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new li({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)||Gt(h))&&(h=[h,h]);var v=AS(e.get(["axisLine","symbolOffset"])||0,h),d=h[0],m=h[1];D([{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(p,g){if(c[g]!=="none"&&c[g]!=null){var y=aa(c[g],-d/2,-m/2,d,m,u.stroke,!0),_=p.r+p.offset;y.attr({rotation:p.rotate,x:s[0]+_*Math.cos(t.rotation),y:s[1]-_*Math.sin(t.rotation),silent:!0,z2:11}),r.add(y)}})}}},axisTickLabel:function(t,e,r,n){var i=xO(r,n,e,t),a=CO(r,n,e,t);if(bO(e,a,i),TO(r,n,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=rO(ct(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));nO(o)}},axisName:function(t,e,r,n){var i=Co(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,Km(a)?t.labelOffset+o*l:0],h,v=e.get("nameRotate");v!=null&&(v=v*on/180);var d;Km(a)?h=ri.innerTextLayout(t.rotation,v!=null?v:t.rotation,o):(h=wO(t.rotation,a,v||0,u),d=t.axisNameAvailableWidth,d!=null&&(d=Math.abs(d/Math.sin(h.rotation)),!isFinite(d)&&(d=null)));var m=s.getFont(),p=e.get("nameTruncate",!0)||{},g=p.ellipsis,y=Co(t.nameTruncateMaxWidth,p.maxWidth,d),_=new he({x:c[0],y:c[1],rotation:h.rotation,silent:ri.isLabelSilent(e),style:gn(s,{text:i,font:m,overflow:"truncate",width:y,ellipsis:g,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(bv({el:_,componentModel:e,itemName:i}),_.__fullText=i,_.anid="name",e.get("triggerEvent")){var S=ri.makeAxisEventDataBase(e);S.targetType="axisName",S.name=i,Bt(_).eventData=S}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function wO(t,e,r,n){var i=M_(r-t),a,o,s=n[0]>n[1],l=e==="start"&&!s||e!=="start"&&s;return Tl(i-on/2)?(o=l?"bottom":"top",a="center"):Tl(i-on*1.5)?(o=l?"top":"bottom",a="center"):(o="middle",ion/2?a=l?"left":"right":a=l?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function bO(t,e,r){if(!dw(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?(Re(a),Re(u)):qm(a,o)&&(n?(Re(o),Re(f)):(Re(a),Re(u))),i===!1?(Re(s),Re(c)):qm(l,s)&&(i?(Re(l),Re(h)):(Re(s),Re(c)))}}function Re(t){t&&(t.ignore=!0)}function qm(t,e){var r=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(!(!r||!n)){var i=tv([]);return ev(i,i,-t.rotation),r.applyTransform(Xi([],i,t.getLocalTransform())),n.applyTransform(Xi([],i,e.getLocalTransform())),r.intersect(n)}}function Km(t){return t==="middle"||t==="center"}function bw(t,e,r,n,i){for(var a=[],o=[],s=[],l=0;l=0||t===e}function LO(t){var e=Kv(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=fh(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=Kv(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=Xn(e).pointerEl=new aI[a.type](Qm(r.pointer));e.add(o)}},t.prototype.createLabelEl=function(e,r,n,i){if(r.label){var a=Xn(e).labelEl=new he(Qm(r.label));e.add(a),ty(a,i)}},t.prototype.updatePointerEl=function(e,r,n){var i=Xn(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=Xn(e).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),ty(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=wv(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){n_(u.event)},onmousedown:Hf(this._onHandleDragMove,this,0,0),drift:Hf(this._onHandleDragMove,this),ondragend:Hf(this._onHandleDragEnd,this)}),n.add(i)),ey(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,SS(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},t.prototype._moveHandleToValue=function(e,r){Jm(this._axisPointerModel,!r&&this._moveAnimation,this._handle,Vf(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(Vf(n),[e,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(Vf(i)),Xn(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),jc(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 Jm(t,e,r,n){Dw(Xn(r).lastProp,n)||(Xn(r).lastProp=n,e?pn(r,n,t):(r.stopAnimation(),r.attr(n)))}function Dw(t,e){if(st(t)&&st(e)){var r=!0;return D(e,function(n,i){r=r&&Dw(t[i],n)}),!!r}else return t===e}function ty(t,e){t[e.get(["label","show"])?"show":"hide"]()}function Vf(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function ey(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 $O=GO;function WO(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 UO(t,e,r,n,i){var a=r.get("value"),o=Aw(a,e.axis,e.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=du(s.get("padding")||0),u=s.getFont(),f=iv(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 m=i.verticalAlign;m==="bottom"&&(c[1]-=v),m==="middle"&&(c[1]-=v/2),YO(c,h,v,n);var p=s.get("backgroundColor");(!p||p==="auto")&&(p=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:gn(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:p}),z2:10}}function YO(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 Aw(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:Yv(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};D(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):vt(o)&&(a=o(s))}return a}function Pw(t,e,r){var n=Mo();return ev(n,n,r.rotation),Ec(n,n,r.position),Sv([t.dataToCoord(e),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function XO(t,e,r,n,i,a){var o=xw.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),UO(e,n,i,a,{position:Pw(n.axis,t,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function qO(t,e,r){return r=r||0,{x1:t[r],y1:t[1-r],x2:e[r],y2:e[1-r]}}function KO(t,e,r){return r=r||0,{x:t[r],y:t[1-r],width:e[r],height:e[1-r]}}var ZO=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=ry(l,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var h=WO(a),v=jO[u](s,c,f);v.style=h,r.graphicKey=v.type,r.pointer=v}var d=uh(l.model,i);XO(n,r,d,i,a,o)},e.prototype.getHandleTransform=function(r,n,i){var a=uh(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=Pw(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=ry(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}($O);function ry(t,e){var r={};return r[e.dim+"AxisIndex"]=e.index,t.getCartesian(r)}var jO={line:function(t,e,r){var n=qO([e,r[0]],[e,r[1]],ny(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:KO([e-n/2,r[0]],[n,i],ny(t))}}};function ny(t){return t.dim==="x"?0:1}var QO=ZO,JO=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),tk=JO,Dr=qt(),ek=D;function Iw(t,e,r){if(!yt.node){var n=e.getZr();Dr(n).records||(Dr(n).records={}),rk(n,e);var i=Dr(n).records[t]||(Dr(n).records[t]={});i.handler=r}}function rk(t,e){if(Dr(t).initialized)return;Dr(t).initialized=!0,r("click",Zt(iy,"click")),r("mousemove",Zt(iy,"mousemove")),r("globalout",ik);function r(n,i){t.on(n,function(a){var o=ak(e);ek(Dr(t).records,function(s){s&&i(s,a,o.dispatchAction)}),nk(o.pendings,e)})}}function nk(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 ik(t,e,r){t.handler("leave",null,r)}function iy(t,e,r,n){e.handler(t,r,n)}function ak(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 hh(t,e){if(!yt.node){var r=e.getZr(),n=(Dr(r).records||{})[t];n&&(Dr(r).records[t]=null)}}var ok=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";Iw("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){hh("axisPointer",n)},e.prototype.dispose=function(r,n){hh("axisPointer",n)},e.type="axisPointer",e}(Or),sk=ok;function Lw(t,e){var r=[],n=t.seriesIndex,i;if(n==null||!(i=e.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=oi(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),m=[];m[v]=a.get(d,o),m[1-v]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=l.dataToPoint(m)||[]}else r=l.dataToPoint(a.getValues(ct(l.dimensions,function(g){return a.mapDimension(g)}),o))||[];else if(s){var p=s.getBoundingRect().clone();p.applyTransform(s.transform),r=[p.x+p.width/2,p.y+p.height/2]}return{point:r,el:s}}var ay=qt();function lk(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){al(i)&&(i=Lw({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=al(i),u=a.axesInfo,f=s.axesInfo,c=n==="leave"||al(i),h={},v={},d={list:[],map:{}},m={showPointer:Zt(fk,v),showTooltip:Zt(ck,d)};D(s.coordSysMap,function(g,y){var _=l||g.containPoint(i);D(s.coordSysAxesInfo[y],function(S,x){var w=S.axis,b=pk(u,S);if(!c&&_&&(!u||b)){var C=b&&b.value;C==null&&!l&&(C=w.pointToData(i)),C!=null&&oy(S,C,m,!1,h)}})});var p={};return D(f,function(g,y){var _=g.linkGroup;_&&!v[y]&&D(_.axesInfo,function(S,x){var w=v[x];if(S!==g&&w){var b=w.value;_.mapper&&(b=g.axis.scale.parse(_.mapper(b,sy(S),sy(g)))),p[g.key]=b}})}),D(p,function(g,y){oy(f[y],g,m,!0,h)}),hk(v,f,h),vk(d,i,t,o),dk(f,o,r),h}}function oy(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=uk(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 uk(t,e){var r=e.axis,n=r.dim,i=t,a=[],o=Number.MAX_VALUE,s=-1;return D(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,m=Math.abs(d);m<=o&&((m=0&&s<0)&&(o=m,s=d,i=c,a.length=0),D(h,function(p){a.push({seriesIndex:l.seriesIndex,dataIndexInside:p,dataIndex:l.getData().getRawIndex(p)})}))}}),{payloadBatch:a,snapToValue:i}}function fk(t,e,r,n){t[e.key]={value:r,payloadBatch:n}}function ck(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=Vo(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 hk(t,e,r){var n=r.axesInfo=[];D(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 vk(t,e,r,n){if(al(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 dk(t,e,r){var n=r.getZr(),i="axisPointerLastHighlights",a=ay(n)[i]||{},o=ay(n)[i]={};D(t,function(u,f){var c=u.axisPointerModel.option;c.status==="show"&&D(c.seriesDataIndices,function(h){var v=h.seriesIndex+" | "+h.dataIndex;o[v]=h})});var s=[],l=[];D(a,function(u,f){!o[f]&&l.push(u)}),D(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 pk(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 sy(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 al(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function Ew(t){Tw.registerAxisPointerClass("CartesianAxisPointer",QO),t.registerComponentModel(tk),t.registerComponentView(sk),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=MO(e,r)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},lk)}function iN(t){fi(VO),fi(Ew)}function gk(t,e){var r=du(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 mk=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),yk=mk;function Rw(t){var e=t.get("confine");return e!=null?!!e:t.get("renderMode")==="richText"}function Ow(t){if(!!yt.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;",m=["position:absolute;width:"+o+"px;height:"+o+"px;",s+";"+l+";","border-bottom:"+d,"border-right:"+d,"background-color:"+n+";"];return'
'}function Ck(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+=yt.transformSupported?","+Zv+n:",left"+n+",top"+n),wk+":"+i}function ly(t,e,r){var n=t.toFixed(0)+"px",i=e.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;"+Zv+":"+o+";":[["top",0],["left",0],[kw,o]]}function Mk(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),D(["decoration","align"],function(l){var u=t.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function Dk(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=gS(t,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),e&&i&&n.push(Ck(i,r)),a&&n.push("background-color:"+a),D(["width","color","radius"],function(v){var d="border-"+v,m=$1(d),p=t.get(m);p!=null&&n.push(d+":"+p+(v==="color"?"":"px"))}),n.push(Mk(f)),c!=null&&n.push("padding:"+du(c).join("px ")+"px"),n.join(";")+";"}function uy(t,e,r,n,i){var a=e&&e.painter;if(r){var o=a&&a.getViewportRoot();o&&iM(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 Ak=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,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;uy(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();ke(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=Sk(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=bk+Dk(e,!this._firstShow,this._longHide)+ly(a[0],a[1],!0)+("border-color:"+ui(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"&&!Rw(n)&&(s=Tk(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||yt.node||!i.getDom())){var o=hy(a,i);this._ticket="";var s=a.dataByCoordSys,l=Nk(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=Ek;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=Lw(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(hy(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=za([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;Ka(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=za([n.tooltipOption],a),l=this._renderMode,u=[],f=ko("section",{blocks:[],noHeader:!0}),c=[],h=new Tf;D(r,function(y){D(y.dataByAxis,function(_){var S=i.getComponent(_.axisDim+"Axis",_.axisIndex),x=_.value;if(!(!S||x==null)){var w=Aw(x,S.axis,i,_.seriesDataIndices,_.valueLabelOpt),b=ko("section",{header:w,noHeader:!hr(w),sortBlocks:!0,blocks:[]});f.blocks.push(b),D(_.seriesDataIndices,function(C){var M=i.getSeriesByIndex(C.seriesIndex),I=C.dataIndexInside,L=M.getDataParams(I);if(!(L.dataIndex<0)){L.axisDim=_.axisDim,L.axisIndex=_.axisIndex,L.axisType=_.axisType,L.axisId=_.axisId,L.axisValue=Yv(S.axis,{value:x}),L.axisValueLabel=w,L.marker=h.makeTooltipMarker("item",ui(L.color),l);var A=Wg(M.formatTooltip(I,!0,null)),E=A.frag;if(E){var O=za([M],a).get("valueFormatter");b.blocks.push(O?q({valueFormatter:O},E):E)}A.text&&c.push(A.text),u.push(L)}})}})}),f.blocks.reverse(),c.reverse();var v=n.position,d=s.get("order"),m=Kg(f,h,l,d,i.get("useUTC"),s.get("textStyle"));m&&c.unshift(m);var p=l==="richText"?` -`:"
",g=c.join(p);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",o[0],o[1],v,null,h)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=kt(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=Lu([h.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=y.get("trigger");if(!(p!=null&&p!=="item")){var g=u.getDataParams(f,c),m=new jh;g.marker=m.makeTooltipMarker("item",ii(g.color),v);var _=M_(u.formatTooltip(f,!1,c)),S=y.get("order"),w=_.markupFragment?F_(_.markupFragment,m,v,S,a.get("useUTC"),y.get("textStyle")):_.markupText,b="item_"+u.name+"_"+f;this._showOrMove(y,function(){this._showTooltipContent(y,w,g,b,r.offsetX,r.offsetY,r.position,r.target,m)}),i({type:"showTip",dataIndexInside:f,dataIndex:h.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=kt(n),o=a.tooltipConfig,s=o.option||{};if(wt(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=Lu(u,this._tooltipModel,c?{position:c}:null),v=h.get("content"),d=Math.random()+"",y=new jh;this._showOrMove(h,function(){var p=yt(h.get("formatterParams")||{});this._showTooltipContent(h,v,p,d,r.offsetX,r.offsetY,r.position,n,y)}),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,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(wt(h)){var p=r.ecModel.get("useUTC"),g=et(i)?i[0]:i,m=g&&g.axisType&&g.axisType.indexOf("time")>=0;v=h,m&&(v=$l(g.axisValue,v,p)),v=U0(v,i,!0)}else if(Xt(h)){var _=Yv(function(S,w){S===this._ticket&&(c.setContent(w,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)}},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._doUpdatePosition=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),Xt(n)&&(n=n([i,a],s,o.el,d,{viewSize:[u,f],contentSize:c.slice()})),et(n))i=Hb(n[0],u),a=Hb(n[1],f);else if(st(n)){var y=n;y.width=c[0],y.height=c[1];var p=Mo(y,{width:u,height:f});i=p.x,a=p.y,h=null,v=null}else if(wt(n)&&l){var g=dB(n,d,c,r.get("borderWidth"));i=g[0],a=g[1]}else{var g=hB(i,a,o,u,f,h?null:20,v?null:20);i=g[0],a=g[1]}if(h&&(i-=Gb(h)?c[0]/2:h==="right"?c[0]:0),v&&(a-=Gb(v)?c[1]/2:v==="bottom"?c[1]:0),Eb(r)){var g=vB(i,a,o,u,f);i=g[0],a=g[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&&es(i,function(s,l){var u=s.dataByAxis||[],f=r[l]||{},c=f.dataByAxis||[];o=o&&u.length===c.length,o&&es(u,function(h,v){var d=c[v]||{},y=h.seriesDataIndices||[],p=d.seriesDataIndices||[];o=o&&h.value===d.value&&h.axisType===d.axisType&&h.axisId===d.axisId&&y.length===p.length,o&&es(y,function(g,m){var _=p[m];o=o&&g.seriesIndex===_.seriesIndex&&g.dataIndex===_.dataIndex}),a&&D(h.seriesDataIndices,function(g){var m=g.seriesIndex,_=n[m],S=a[m];_&&S&&S.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){ht.node||(this._tooltipContent.dispose(),Uv("itemTooltip",n))},t.type="tooltip",t}(Nr);function Lu(e,t,r){var n=t.ecModel,i;r?(i=new ee(r,n,n),i=new ee(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof ee&&(o=o.get("tooltip",!0)),wt(o)&&(o={formatter:o}),o&&(i=new ee(o,i,n)))}return i}function Vb(e,t){return e.dispatchAction||Gt(t.dispatchAction,t)}function hB(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 vB(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 dB(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 Gb(e){return e==="center"||e==="middle"}function pB(e,t,r){var n=zc(e).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=oo(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=kt(u).tooltipConfig;if(f&&f.name===e.name)return l=u,!0}),l)return{componentMainType:i,componentIndex:o.componentIndex,el:l}}}}var gB=cB;function zF(e){hi(Lb),e.registerComponentModel(Kk),e.registerComponentView(gB),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})}var yB=function(e){Z(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={zlevel:0,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),mB=function(e){Z(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 ue({style:sn(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),c=f.getBoundingRect(),h=r.get("subtext"),v=new ue({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"),p=r.get("triggerEvent",!0);f.silent=!d&&!p,v.silent=!y&&!p,d&&f.on("click",function(){W0(d,"_"+r.get("target"))}),y&&v.on("click",function(){W0(y,"_"+r.get("subtarget"))}),kt(f).eventData=kt(v).eventData=p?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(f),h&&a.add(v);var g=a.getBoundingRect(),m=r.getBoxLayoutParams();m.width=g.width,m.height=g.height;var _=Mo(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 S={align:l,verticalAlign:u};f.setStyle(S),v.setStyle(S),g=a.getBoundingRect();var w=_.margin,b=r.getItemStyle(["color","opacity"]);b.fill=r.get("backgroundColor");var x=new Yt({shape:{x:g.x-w[3],y:g.y-w[0],width:g.width+w[1]+w[3],height:g.height+w[0]+w[2],r:r.get("borderRadius")},style:b,subPixelOptimize:!0,silent:!0});a.add(x)}},t.type="title",t}(Nr);function HF(e){e.registerComponentModel(yB),e.registerComponentView(mB)}function $b(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=la(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 SB=function(e){Z(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=ca(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=bB,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(){Cl(this.childAt(0))},t.prototype.downplay=function(){Ml(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 h=this.childAt(0);h.silent=!1;var v={scaleX:l[0]/2,scaleY:l[1]/2};f?h.attr(v):on(h,v,s,n),JP(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,_o(h,v,s,n)}}f&&this.childAt(0).stopAnimation("remove"),this._seriesModel=s},t.prototype._updateCommon=function(r,n,i,a,o){var s=this.childAt(0),l=r.hostModel,u,f,c,h,v,d,y,p;if(a&&(u=a.emphasisItemStyle,f=a.blurItemStyle,c=a.selectItemStyle,h=a.focus,v=a.blurScope,d=a.labelStatesModels,y=a.hoverScale,p=a.cursorStyle),!a||r.hasItemOption){var g=a&&a.itemModel?a.itemModel:r.getItemModel(n),m=g.getModel("emphasis");u=m.getModel("itemStyle").getItemStyle(),c=g.getModel(["select","itemStyle"]).getItemStyle(),f=g.getModel(["blur","itemStyle"]).getItemStyle(),h=m.get("focus"),v=m.get("blurScope"),d=Mh(g),y=m.getShallow("scale"),p=g.getShallow("cursor")}var _=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(_||0)*Math.PI/180||0);var S=s1(r.getItemVisual(n,"symbolOffset"),i);S&&(s.x=S[0],s.y=S[1]),p&&s.attr("cursor",p);var w=r.getItemVisual(n,"style"),b=w.fill;if(s instanceof Rr){var x=s.style;s.useStyle(K({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},w))}else s.__isEmptyBrush?s.useStyle(K({},w)):s.useStyle(w),s.style.decal=null,s.setColor(b,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var C=r.getItemVisual(n,"liftZ"),M=this._z2;C!=null?M==null&&(this._z2=s.z2,s.z2+=C):M!=null&&(s.z2=M,this._z2=null);var L=o&&o.useNameLabel;Ch(s,d,{labelFetcher:l,labelDataIndex:n,defaultText:I,inheritColor:b,defaultOpacity:w.opacity});function I(B){return L?r.getName(B):$b(r,B)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var P=s.ensureState("emphasis");if(P.style=u,s.ensureState("select").style=c,s.ensureState("blur").style=f,y){var E=Math.max(1.1,3/this._sizeY);P.scaleX=this._sizeX*E,P.scaleY=this._sizeY*E}this.setSymbolScale(1),go(this,h,v)},t.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},t.prototype.fadeOut=function(r,n){var i=this.childAt(0),a=this._seriesModel,o=kt(this).dataIndex,s=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&kl(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();kl(i,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:r,removeOpt:s})},t.getSymbolSize=function(r,n){return ZE(r.getItemVisual(n,"symbolSize"))},t}($t);function bB(e,t){this.parent.drift(e,t)}var Xv=SB;function qv(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 Ub(e){return e!=null&&!st(e)&&(e={isIgnore:e}),e||{}}function Wb(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"),hoverScale:r.get("scale"),labelStatesModels:Mh(t),cursorStyle:t.get("cursor")}}var wB=function(){function e(t){this.group=new $t,this._SymbolCtor=t||Xv}return e.prototype.updateData=function(t,r){r=Ub(r);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,l=Wb(t),u={disableAnimation:s},f=r.getSymbolPoint||function(c){return t.getItemLayout(c)};a||n.removeAll(),t.diff(a).add(function(c){var h=f(c);if(qv(t,h,c,r)){var v=new o(t,c,l,u);v.setPosition(h),t.setItemGraphicEl(c,v),n.add(v)}}).update(function(c,h){var v=a.getItemGraphicEl(h),d=f(c);if(!qv(t,d,c,r)){n.remove(v);return}var y=t.getItemVisual(c,"symbol")||"circle",p=v&&v.getSymbolType&&v.getSymbolType();if(!v||p&&p!==y)n.remove(v),v=new o(t,c,l,u),v.setPosition(d);else{v.updateData(t,c,l,u);var g={x:d[0],y:d[1]};s?v.attr(g):on(v,g,i)}n.add(v),t.setItemGraphicEl(c,v)}).remove(function(c){var h=a.getItemGraphicEl(c);h&&h.fadeOut(function(){n.remove(h)})}).execute(),this._getSymbolPoint=f,this._data=t},e.prototype.isPersistent=function(){return!0},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=Wb(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r,n){n=Ub(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={zlevel:0,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),Zv=MB,ga=Zt,Kv=D,Eu=$t,DB=function(e){Z(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 Eu),this.group.add(this._selectorGroup=new Eu),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()},h=r.get("padding"),v=Mo(f,c,h),d=this.layoutInner(r,o,v,a,l,u),y=Mo(Ct({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=qk(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=ft(),c=n.get("selectedMode"),h=[];i.eachRawSeries(function(v){!v.get("legendHoverLink")&&h.push(v.id)}),Kv(n.getData(),function(v,d){var y=v.get("name");if(!this.newlineDisabled&&(y===""||y===` -`)){var p=new Eu;p.newline=!0,u.add(p);return}var g=i.getSeriesByName(y)[0];if(!f.get(y))if(g){var m=g.getData(),_=m.getVisual("legendLineStyle")||{},S=m.getVisual("legendIcon"),w=m.getVisual("style"),b=this._createItem(g,y,d,v,n,r,_,w,S,c);b.on("click",ga(Yb,y,null,a,h)).on("mouseover",ga(jv,g.name,null,a,h)).on("mouseout",ga(Qv,g.name,null,a,h)),f.set(y,!0)}else i.eachRawSeries(function(x){if(!f.get(y)&&x.legendVisualProvider){var C=x.legendVisualProvider;if(!C.containName(y))return;var M=C.indexOfName(y),L=C.getItemVisual(M,"style"),I=C.getItemVisual(M,"legendIcon"),P=hr(L.fill);P&&P[3]===0&&(P[3]=.2,L.fill=qa(P,"rgba"));var E=this._createItem(x,y,d,v,n,r,{},L,I,c);E.on("click",ga(Yb,null,y,a,h)).on("mouseover",ga(jv,null,y,a,h)).on("mouseout",ga(Qv,null,y,a,h)),f.set(y,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();Kv(r,function(u){var f=u.type,c=new ue({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"]);Ch(c,{normal:h,emphasis:v},{defaultText:u.title}),go(c)})},t.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),p=a.get("symbolRotate"),g=a.get("symbolKeepAspect"),m=a.get("icon");f=m||f||"roundRect";var _=AB(f,a,l,u,h,y),S=new Eu,w=a.getModel("textStyle");if(typeof r.getLegendIcon=="function"&&(!m||m==="inherit"))S.add(r.getLegendIcon({itemWidth:v,itemHeight:d,icon:f,iconRotate:p,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:g}));else{var b=m==="inherit"&&r.getData().getVisual("symbol")?p==="inherit"?r.getData().getVisual("symbolRotate"):p:0;S.add(PB({itemWidth:v,itemHeight:d,icon:f,iconRotate:b,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:g}))}var x=s==="left"?v+5:-5,C=s,M=o.get("formatter"),L=n;typeof M=="string"&&M?L=M.replace("{name}",n!=null?n:""):typeof M=="function"&&(L=M(n));var I=a.get("inactiveColor");S.add(new ue({style:sn(w,{text:L,x,y:d/2,fill:y?w.getTextColor():I,align:C,verticalAlign:"middle"})}));var P=new Yt({shape:S.getBoundingRect(),invisible:!0}),E=a.getModel("tooltip");return E.get("show")&&Th({el:P,componentModel:o,itemName:n,itemTooltipOption:E.option}),S.add(P),S.eachChild(function(B){B.silent=!0}),P.silent=!c,this.getContentGroup().add(S),go(S),S.__legendDataIndex=i,S},t.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Co(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){Co("horizontal",u,r.get("selectorItemGap",!0));var h=u.getBoundingRect(),v=[-h.x,-h.y],d=r.get("selectorButtonGap",!0),y=r.getOrient().index,p=y===0?"width":"height",g=y===0?"height":"width",m=y===0?"y":"x";s==="end"?v[y]+=f[p]+d:c[y]+=h[p]+d,v[1-y]+=f[g]/2-h[g]/2,u.x=v[0],u.y=v[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[p]=f[p]+d+h[p],_[g]=Math.max(f[g],h[g]),_[m]=Math.min(0,h[m]+v[1-y]),_}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}(Nr);function AB(e,t,r,n,i,a){function o(d,y){d.lineWidth==="auto"&&(d.lineWidth=y.lineWidth>0?2:0),Kv(d,function(p,g){d[g]==="inherit"&&(d[g]=y[g])})}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 h=t.get("inactiveBorderWidth"),v=l[u];l.lineWidth=h==="auto"?n.lineWidth>0&&v?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 PB(e){var t=e.icon||"roundRect",r=ca(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 Yb(e,t,r,n){Qv(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e!=null?e:t}),jv(e,t,r,n)}function Xb(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;ni[o],p=[-v.x,-v.y];n||(p[a]=f[u]);var g=[0,0],m=[-d.x,-d.y],_=Dt(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(y){var S=r.get("pageButtonPosition",!0);S==="end"?m[a]+=i[o]-d[o]:g[a]+=d[o]+_}m[1-a]+=v[s]/2-d[s]/2,f.setPosition(p),c.setPosition(g),h.setPosition(m);var w={x:0,y:0};if(w[o]=y?i[o]:v[o],w[s]=Math.max(v[s],d[s]),w[l]=Math.min(0,d[l]+m[1-a]),c.__rectSize=i[o],y){var b={x:0,y:0};b[o]=Math.max(i[o]-d[o]-_,0),b[s]=w[s],c.setClipPath(new Yt({shape:b})),c.__rectSize=b[o]}else h.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(r);return x.pageIndex!=null&&on(f,{x:x.contentPosition[0],y:x.contentPosition[1]},y?r:null),this._updatePageInfoView(r,x),w},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;D(["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",wt(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=Jv[o],l=td[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=S(c);d.contentPosition[o]=-y.s;for(var p=u+1,g=y,m=y,_=null;p<=h;++p)_=S(f[p]),(!_&&m.e>g.s+a||_&&!w(_,g.s))&&(m.i>g.i?g=m:g=_,g&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=g.i),++d.pageCount)),m=_;for(var p=u-1,g=y,m=y,_=null;p>=-1;--p)_=S(f[p]),(!_||!w(m,_.s))&&g.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}(qb),kB=OB;function BB(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 FB(e){hi(Zb),e.registerComponentModel(RB),e.registerComponentView(kB),BB(e)}function VF(e){hi(Zb),hi(FB)}var NB=function(e){Z(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 zR(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(r){var n=new $t,i=ca("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=ca(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={zlevel:0,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,lineStyle:{width:"bolder"}},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),zB=NB;function Qb(e,t,r){var n=e.getBaseAxis(),i=e.getOtherAxis(n),a=HB(i,r),o=n.dim,s=i.dim,l=t.mapDimension(s),u=t.mapDimension(o),f=s==="x"||s==="radius"?1:0,c=ut(e.dimensions,function(d){return t.mapDimension(d)}),h=!1,v=t.getCalculationInfo("stackResultDimension");return Ko(t,c[0])&&(h=!0,c[0]=v),Ko(t,c[1])&&(h=!0,c[1]=v),{dataDimsForPoint:c,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:f,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function HB(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 Jb(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)}var tw=typeof Float32Array!="undefined",VB=tw?Float32Array:Array;function ya(e){return et(e)?tw?new Float32Array(e):e:new VB(e)}function GB(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 $B(e,t,r,n,i,a,o,s){for(var l=GB(e,t),u=[],f=[],c=[],h=[],v=[],d=[],y=[],p=Qb(i,t,o),g=e.getLayout("points")||[],m=t.getLayout("points")||[],_=0;_=i||y<0)break;if(pi(g,m)){if(l){y+=a;continue}break}if(y===r)e[a>0?"moveTo":"lineTo"](g,m),c=g,h=m;else{var _=g-u,S=m-f;if(_*_+S*S<.5){y+=a;continue}if(o>0){for(var w=y+a,b=t[w*2],x=t[w*2+1];b===g&&x===m&&p=n||pi(b,x))v=g,d=m;else{L=b-u,I=x-f;var B=g-u,k=b-g,Y=m-f,q=x-m,U=void 0,Q=void 0;s==="x"?(U=Math.abs(B),Q=Math.abs(k),v=g-U*o,d=m,P=g+U*o,E=m):s==="y"?(U=Math.abs(Y),Q=Math.abs(q),v=g,d=m-U*o,P=g,E=m+U*o):(U=Math.sqrt(B*B+Y*Y),Q=Math.sqrt(k*k+q*q),M=Q/(Q+U),v=g-L*o*(1-M),d=m-I*o*(1-M),P=g+L*o*M,E=m+I*o*M,P=gn(P,yn(b,g)),E=gn(E,yn(x,m)),P=yn(P,gn(b,g)),E=yn(E,gn(x,m)),L=P-g,I=E-m,v=g-L*U/Q,d=m-I*U/Q,v=gn(v,yn(u,g)),d=gn(d,yn(f,m)),v=yn(v,gn(u,g)),d=yn(d,gn(f,m)),L=g-v,I=m-d,P=g+L*Q/U,E=m+I*Q/U)}e.bezierCurveTo(c,h,v,d,g,m),c=P,h=E}else e.lineTo(g,m)}u=g,f=m,y+=a}return p}var ew=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),UB=function(e){Z(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 ew},t.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&pi(i[o*2-2],i[o*2-1]);o--);for(;a=0){var S=u?(d-l)*_+l:(v-s)*_+s;return u?[r,S]:[S,r]}s=v,l=d;break;case o.C:v=a[c++],d=a[c++],y=a[c++],p=a[c++],g=a[c++],m=a[c++];var w=u?Xc(s,v,y,g,r,f):Xc(l,d,p,m,r,f);if(w>0)for(var b=0;b=0){var S=u?Nt(l,d,p,m,x):Nt(s,v,y,g,x);return u?[r,S]:[S,r]}}s=g,l=m;break}}},t}(Rt),WB=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(ew),YB=function(e){Z(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 WB},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&&pi(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 jB(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=ut(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=KB(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,p=h[v-1].coord+d,g=p-y;if(g<.001)return"transparent";D(h,function(_){_.offset=(_.coord-y)/g}),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 yh(0,0,0,0,h,!0);return m[i]=y,m[i+"2"]=p,m}}}function QB(e,t,r){var n=e.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(!!a&&!(i&&JB(a,t))){var o=t.mapDimension(a.dim),s={};return D(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function JB(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 tF(e,t){return isNaN(e)||isNaN(t)}function eF(e){for(var t=e.length/2;t>0&&tF(e[t*2-2],e[t*2-1]);t--);return t-1}function ow(e,t){return[e[t*2],e[t*2+1]]}function rF(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 sw(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<_r.length;t++)if(e.get([_r[t],"endLabel","show"]))return!0;return!1}function rd(e,t,r,n){if(TB(t,"cartesian2d")){var i=n.getModel("endLabel"),a=i.get("valueAnimation"),o=n.getData(),s={lastFrameIndex:0},l=sw(n)?function(v,d){e._endLabelOnDuring(v,d,o,s,a,i,t)}:null,u=t.getBaseAxis().isHorizontal(),f=XB(t,r,n,function(){var v=e._endLabel;v&&r&&s.originalX!=null&&v.attr({x:s.originalX,y:s.originalY})},l);if(!n.get("clip",!0)){var c=f.shape,h=Math.max(c.width,c.height);u?(c.y-=h,c.height+=h*2):(c.x-=h,c.width+=h*2)}return l&&l(1,f),f}else return qB(t,r,n)}function nF(e,t){var r=t.getBaseAxis(),n=r.isHorizontal(),i=r.inverse,a=n?i?"right":"left":"center",o=n?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||a,verticalAlign:e.get("verticalAlign")||o}}}var iF=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var r=new $t,n=new xB;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=r},t.prototype.render=function(r,n,i){var a=this,o=r.coordinateSystem,s=this.group,l=r.getData(),u=r.getModel("lineStyle"),f=r.getModel("areaStyle"),c=l.getLayout("points")||[],h=o.type==="polar",v=this._coordSys,d=this._symbolDraw,y=this._polyline,p=this._polygon,g=this._lineGroup,m=r.get("animation"),_=!f.isEmpty(),S=f.get("origin"),w=Qb(o,l,S),b=_&&ZB(o,l,w),x=r.get("showSymbol"),C=x&&!h&&QB(r,l,o),M=this._data;M&&M.eachItemGraphicEl(function(dt,O){dt.__temp&&(s.remove(dt),M.setItemGraphicEl(O,null))}),x||d.remove(),s.add(g);var L=h?!1:r.get("step"),I;o&&o.getArea&&r.get("clip",!0)&&(I=o.getArea(),I.width!=null?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r+=.5)),this._clipShapeForSymbol=I;var P=jB(l,o,i)||l.getVisual("style")[l.getVisual("drawType")];if(!(y&&v.type===o.type&&L===this._step))x&&d.updateData(l,{isIgnore:C,clipShape:I,disableAnimation:!0,getSymbolPoint:function(dt){return[c[dt*2],c[dt*2+1]]}}),m&&this._initSymbolLabelAnimation(l,o,I),L&&(c=mn(c,o,L),b&&(b=mn(b,o,L))),y=this._newPolyline(c),_&&(p=this._newPolygon(c,b)),h||this._initOrUpdateEndLabel(r,o,ii(P)),g.setClipPath(rd(this,o,!0,r));else{_&&!p?p=this._newPolygon(c,b):p&&!_&&(g.remove(p),p=this._polygon=null),h||this._initOrUpdateEndLabel(r,o,ii(P));var E=g.getClipPath();if(E){var B=rd(this,o,!1,r);_o(E,{shape:B.shape},r)}else g.setClipPath(rd(this,o,!0,r));x&&d.updateData(l,{isIgnore:C,clipShape:I,disableAnimation:!0,getSymbolPoint:function(dt){return[c[dt*2],c[dt*2+1]]}}),(!rw(this._stackedOnPoints,b)||!rw(this._points,c))&&(m?this._doUpdateAnimation(l,b,o,i,L,S):(L&&(c=mn(c,o,L),b&&(b=mn(b,o,L))),y.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:b})))}var k=r.get(["emphasis","focus"]),Y=r.get(["emphasis","blurScope"]);if(y.useStyle(Ct(u.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"})),Fm(y,r,"lineStyle"),y.style.lineWidth>0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var q=y.getState("emphasis").style;q.lineWidth=+y.style.lineWidth+1}kt(y).seriesIndex=r.seriesIndex,go(y,k,Y);var U=aw(r.get("smooth")),Q=r.get("smoothMonotone"),V=r.get("connectNulls");if(y.setShape({smooth:U,smoothMonotone:Q,connectNulls:V}),p){var it=l.getCalculationInfo("stackedOnSeries"),Ot=0;p.useStyle(Ct(f.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),it&&(Ot=aw(it.get("smooth"))),p.setShape({smooth:U,stackedOnSmooth:Ot,smoothMonotone:Q,connectNulls:V}),Fm(p,r,"areaStyle"),kt(p).seriesIndex=r.seriesIndex,go(p,k,Y)}var pt=function(dt){a._changePolyState(dt)};l.eachItemGraphicEl(function(dt){dt&&(dt.onHoverStateChange=pt)}),this._polyline.onHoverStateChange=pt,this._data=l,this._coordSys=o,this._stackedOnPoints=b,this._points=c,this._step=L,this._valueOrigin=S,r.get("triggerLineEvent")&&(this.packEventData(r,y),p&&this.packEventData(r,p))},t.prototype.packEventData=function(r,n){kt(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=Vn(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 Xv(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 fn.prototype.highlight.call(this,r,n,i,a)},t.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=Vn(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 fn.prototype.downplay.call(this,r,n,i,a)},t.prototype._changePolyState=function(r){var n=this._polygon;Dm(this._polyline,r),n&&Dm(n,r)},t.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new UB({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 YB({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");typeof f=="function"&&(f=f(null));var c=u.get("animationDelay")||0,h=typeof c=="function"?c(null):c;r.eachItemGraphicEl(function(v,d){var y=v;if(y){var p=[v.x,v.y],g=void 0,m=void 0,_=void 0;if(i)if(o){var S=i,w=n.pointToCoord(p);a?(g=S.startAngle,m=S.endAngle,_=-w[1]/180*Math.PI):(g=S.r0,m=S.r,_=w[0])}else{var b=i;a?(g=b.x,m=b.x+b.width,_=v.x):(g=b.y+b.height,m=b.y,_=v.y)}var x=m===g?0:(_-g)/(m-g);l&&(x=1-x);var C=typeof c=="function"?c(d):f*x+h,M=y.getSymbolPath(),L=M.getTextContent();y.attr({scaleX:0,scaleY:0}),y.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:C}),L&&L.animateFrom({style:{opacity:0}},{duration:300,delay:C}),M.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(sw(r)){var o=r.getData(),s=this._polyline,l=this._endLabel;l||(l=this._endLabel=new ue({z2:200}),l.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var u=eF(o.getLayout("points"));u>=0&&(Ch(s,Mh(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:u,defaultText:function(f,c,h){return h!=null?_B(o,h):$b(o,f)},enableTextSetter:!0},nF(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"),h=i.hostModel,v=h.get("connectNulls"),d=s.get("precision"),y=s.get("distance")||0,p=l.getBaseAxis(),g=p.isHorizontal(),m=p.inverse,_=n.shape,S=m?g?_.x:_.y+_.height:g?_.x+_.width:_.y,w=(g?y:0)*(m?-1:1),b=(g?0:-y)*(m?-1:1),x=g?"x":"y",C=rF(c,S,x),M=C.range,L=M[1]-M[0],I=void 0;if(L>=1){if(L>1&&!v){var P=ow(c,M[0]);u.attr({x:P[0]+w,y:P[1]+b}),o&&(I=h.getRawValue(M[0]))}else{var P=f.getPointOn(S,x);P&&u.attr({x:P[0]+w,y:P[1]+b});var E=h.getRawValue(M[0]),B=h.getRawValue(M[1]);o&&(I=WD(i,d,E,B,C.t))}a.lastFrameIndex=M[0]}else{var k=r===1||a.lastFrameIndex>0?M[0]:0,P=ow(c,k);o&&(I=h.getRawValue(k)),u.attr({x:P[0]+w,y:P[1]+b})}o&&C0(u).setLabelText(I)}},t.prototype._doUpdateAnimation=function(r,n,i,a,o,s){var l=this._polyline,u=this._polygon,f=r.hostModel,c=$B(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),h=c.current,v=c.stackedOnCurrent,d=c.next,y=c.stackedOnNext;if(o&&(h=mn(c.current,i,o),v=mn(c.stackedOnCurrent,i,o),d=mn(c.next,i,o),y=mn(c.stackedOnNext,i,o)),iw(h,d)>3e3||u&&iw(v,y)>3e3){l.stopAnimation(),l.setShape({points:d}),u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:y}));return}l.shape.__points=c.current,l.shape.points=h;var p={shape:{points:d}};c.current!==h&&(p.shape.__points=c.next),l.stopAnimation(),on(l,p,f),u&&(u.setShape({points:h,stackedOnPoints:v}),u.stopAnimation(),on(u,{shape:{stackedOnPoints:y}},f),l.shape.points!==u.shape.points&&(u.shape.points=l.shape.points));for(var g=[],m=c.status,_=0;_t&&(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(),h=Math.abs(f[1]-f[0])*(c||1),v=Math.round(s/h);if(v>1){a==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/v));var d=void 0;typeof a=="string"?d=sF[a]:typeof a=="function"&&(d=a),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/v,d,lF))}}}}}function GF(e){e.registerChartView(aF),e.registerSeriesModel(zB),e.registerLayout(oF("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,uF("line"))}function fF(){return!1}function lw(e,t,r){var n=Ns(),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 cF=function(e){Z(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||Ks,typeof r=="string"?o=lw(r,n,i):st(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(o.onselectstart=fF,s.webkitUserSelect="none",s.userSelect="none",s.webkitTapHighlightColor="rgba(0,0,0,0)",s["-webkit-touch-callout"]="none",s.padding="0",s.margin="0",s.borderWidth="0"),a.domBack=null,a.ctxBack=null,a.painter=n,a.config=null,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=lw("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 xt(0,0,0,0);function f(m){if(!(!m.isFinite()||m.isZero()))if(o.length===0){var _=new xt(0,0,0,0);_.copy(m),o.push(_)}else{for(var S=!1,w=1/0,b=0,x=0;x=s)}}for(var c=this.__startIndex;c15)break}}B.prevElClipPaths&&g.restore()};if(m)if(m.length===0)C=p.__endIndex;else for(var L=v.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?Ru:0),this._needsManuallyCompositing),f.__builtin__||zi("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&Ce&&!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)})},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,D(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?Tt(n[t],r,!0):n[t]=r;for(var i=0;i",g=c.join(p);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,g,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,m=za([h.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=m.get("trigger");if(!(p!=null&&p!=="item")){var g=u.getDataParams(f,c),y=new Tf;g.marker=y.makeTooltipMarker("item",ui(g.color),v);var _=Wg(u.formatTooltip(f,!1,c)),S=m.get("order"),x=m.get("valueFormatter"),w=_.frag,b=w?Kg(x?q({valueFormatter:x},w):w,y,v,S,a.get("useUTC"),m.get("textStyle")):_.text,C="item_"+u.name+"_"+f;this._showOrMove(m,function(){this._showTooltipContent(m,b,g,C,r.offsetX,r.offsetY,r.position,r.target,y)}),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=za(u,this._tooltipModel,c?{position:c}:null),v=h.get("content"),d=Math.random()+"",m=new Tf;this._showOrMove(h,function(){var p=wt(h.get("formatterParams")||{});this._showTooltipContent(h,v,p,d,r.offsetX,r.offsetY,r.position,n,m)}),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")),m=d.color;if(h)if(nt(h)){var p=r.ecModel.get("useUTC"),g=et(i)?i[0]:i,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;v=h,y&&(v=uu(g.axisValue,v,p)),v=W1(v,i,!0)}else if(vt(h)){var _=Ht(function(S,x){S===this._ticket&&(c.setContent(x,f,r,m,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,m,l),c.show(r,m),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),vt(n)&&(n=n([i,a],s,o.el,d,{viewSize:[u,f],contentSize:c.slice()})),et(n))i=le(n[0],u),a=le(n[1],f);else if(st(n)){var m=n;m.width=c[0],m.height=c[1];var p=Eo(m,{width:u,height:f});i=p.x,a=p.y,h=null,v=null}else if(nt(n)&&l){var g=Bk(n,d,c,r.get("borderWidth"));i=g[0],a=g[1]}else{var g=Ok(i,a,o,u,f,h?null:20,v?null:20);i=g[0],a=g[1]}if(h&&(i-=vy(h)?c[0]/2:h==="right"?c[0]:0),v&&(a-=vy(v)?c[1]/2:v==="bottom"?c[1]:0),Rw(r)){var g=kk(i,a,o,u,f);i=g[0],a=g[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&&D(i,function(s,l){var u=s.dataByAxis||[],f=r[l]||{},c=f.dataByAxis||[];o=o&&u.length===c.length,o&&D(u,function(h,v){var d=c[v]||{},m=h.seriesDataIndices||[],p=d.seriesDataIndices||[];o=o&&h.value===d.value&&h.axisType===d.axisType&&h.axisId===d.axisId&&m.length===p.length,o&&D(m,function(g,y){var _=p[y];o=o&&g.seriesIndex===_.seriesIndex&&g.dataIndex===_.dataIndex}),a&&D(h.seriesDataIndices,function(g){var y=g.seriesIndex,_=n[y],S=a[y];_&&S&&S.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){yt.node||!n.getDom()||(jc(this,"_updatePosition"),this._tooltipContent.dispose(),hh("itemTooltip",n))},e.type="tooltip",e}(Or);function za(t,e,r){var n=e.ecModel,i;r?(i=new ie(r,n,n),i=new ie(e.option,i,n)):i=e;for(var a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof ie&&(o=o.get("tooltip",!0)),nt(o)&&(o={formatter:o}),o&&(i=new ie(o,i,n)))}return i}function hy(t,e){return t.dispatchAction||Ht(e.dispatchAction,e)}function Ok(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 kk(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 Bk(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 vy(t){return t==="center"||t==="middle"}function Nk(t,e,r){var n=uv(t).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=Yo(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 Fk=Rk;function aN(t){fi(Ew),t.registerComponentModel(yk),t.registerComponentView(Fk),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),Hk=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:gn(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),c=f.getBoundingRect(),h=r.get("subtext"),v=new he({style:gn(s,{text:h,fill:s.getTextColor(),y:c.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=r.get("link"),m=r.get("sublink"),p=r.get("triggerEvent",!0);f.silent=!d&&!p,v.silent=!m&&!p,d&&f.on("click",function(){Mg(d,"_"+r.get("target"))}),m&&v.on("click",function(){Mg(m,"_"+r.get("subtarget"))}),Bt(f).eventData=Bt(v).eventData=p?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(f),h&&a.add(v);var g=a.getBoundingRect(),y=r.getBoxLayoutParams();y.width=g.width,y.height=g.height;var _=Eo(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 S={align:l,verticalAlign:u};f.setStyle(S),v.setStyle(S),g=a.getBoundingRect();var x=_.margin,w=r.getItemStyle(["color","opacity"]);w.fill=r.get("backgroundColor");var b=new Qt({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:r.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});a.add(b)}},e.type="title",e}(Or);function oN(t){t.registerComponentModel(zk),t.registerComponentView(Hk)}function Nw(t,e){var r=t.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=ia(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 Gk=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=aa(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=$k,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(){Ml(this.childAt(0))},e.prototype.downplay=function(){Dl(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):pn(h,v,s,n),$P(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,qo(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,m,p,g;if(a&&(u=a.emphasisItemStyle,f=a.blurItemStyle,c=a.selectItemStyle,h=a.focus,v=a.blurScope,m=a.labelStatesModels,p=a.hoverScale,g=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(),h=_.get("focus"),v=_.get("blurScope"),d=_.get("disabled"),m=Cv(y),p=_.getShallow("scale"),g=y.getShallow("cursor")}var S=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var x=AS(r.getItemVisual(n,"symbolOffset"),i);x&&(s.x=x[0],s.y=x[1]),g&&s.attr("cursor",g);var w=r.getItemVisual(n,"style"),b=w.fill;if(s instanceof hi){var C=s.style;s.useStyle(q({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},w))}else s.__isEmptyBrush?s.useStyle(q({},w)):s.useStyle(w),s.style.decal=null,s.setColor(b,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var M=r.getItemVisual(n,"liftZ"),I=this._z2;M!=null?I==null&&(this._z2=s.z2,s.z2+=M):I!=null&&(s.z2=I,this._z2=null);var L=o&&o.useNameLabel;Tv(s,m,{labelFetcher:l,labelDataIndex:n,defaultText:A,inheritColor:b,defaultOpacity:w.opacity});function A(H){return L?r.getName(H):Nw(r,H)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var E=s.ensureState("emphasis");if(E.style=u,s.ensureState("select").style=c,s.ensureState("blur").style=f,p){var O=Math.max(1.1,3/this._sizeY);E.scaleX=this._sizeX*O,E.scaleY=this._sizeY*O}this.setSymbolScale(1),Hc(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&&Pl(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();Pl(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},e.getSymbolSize=function(r,n){return HE(r.getItemVisual(n,"symbolSize"))},e}(ce);function $k(t,e){this.parent.drift(t,e)}var jv=Gk;function Gf(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 dy(t){return t!=null&&!st(t)&&(t={isIgnore:t}),t||{}}function py(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:Cv(e),cursorStyle:e.get("cursor")}}var Wk=function(){function t(e){this.group=new ce,this._SymbolCtor=e||jv}return t.prototype.updateData=function(e,r){this._progressiveEls=null,r=dy(r);var n=this.group,i=e.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,l=py(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(Gf(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(!Gf(e,d,c,r)){n.remove(v);return}var m=e.getItemVisual(c,"symbol")||"circle",p=v&&v.getSymbolType&&v.getSymbolType();if(!v||p&&p!==m)n.remove(v),v=new o(e,c,l,u),v.setPosition(d);else{v.updateData(e,c,l,u);var g={x:d[0],y:d[1]};s?v.attr(g):pn(v,g,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=py(e),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(e,r,n){this._progressiveEls=[],n=dy(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),vh=qk,Ei=Zt,dh=D,Fs=ce,Kk=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 Fs),this.group.add(this._selectorGroup=new Fs),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=Eo(f,c,h),d=this.layoutInner(r,o,v,a,l,u),m=Eo(Dt({width:d.width,height:d.height},f),c,h);this.group.x=m.x-d.x,this.group.y=m.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=gk(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)}),dh(n.getData(),function(v,d){var m=v.get("name");if(!this.newlineDisabled&&(m===""||m===` +`)){var p=new Fs;p.newline=!0,u.add(p);return}var g=i.getSeriesByName(m)[0];if(!f.get(m))if(g){var y=g.getData(),_=y.getVisual("legendLineStyle")||{},S=y.getVisual("legendIcon"),x=y.getVisual("style"),w=this._createItem(g,m,d,v,n,r,_,x,S,c);w.on("click",Ei(gy,m,null,a,h)).on("mouseover",Ei(ph,g.name,null,a,h)).on("mouseout",Ei(gh,g.name,null,a,h)),f.set(m,!0)}else i.eachRawSeries(function(b){if(!f.get(m)&&b.legendVisualProvider){var C=b.legendVisualProvider;if(!C.containName(m))return;var M=C.indexOfName(m),I=C.getItemVisual(M,"style"),L=C.getItemVisual(M,"legendIcon"),A=Pr(I.fill);A&&A[3]===0&&(A[3]=.2,I=q(q({},I),{fill:tu(A,"rgba")}));var E=this._createItem(b,m,d,v,n,r,{},I,L,c);E.on("click",Ei(gy,null,m,a,h)).on("mouseover",Ei(ph,null,m,a,h)).on("mouseout",Ei(gh,null,m,a,h)),f.set(m,!0)}},this)},this),o&&this._createSelector(o,n,a,s,l)},e.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();dh(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"]);Tv(c,{normal:h,emphasis:v},{defaultText:u.title}),zc(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"),m=o.isSelected(n),p=a.get("symbolRotate"),g=a.get("symbolKeepAspect"),y=a.get("icon");f=y||f||"roundRect";var _=Zk(f,a,l,u,h,m),S=new Fs,x=a.getModel("textStyle");if(vt(r.getLegendIcon)&&(!y||y==="inherit"))S.add(r.getLegendIcon({itemWidth:v,itemHeight:d,icon:f,iconRotate:p,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:g}));else{var w=y==="inherit"&&r.getData().getVisual("symbol")?p==="inherit"?r.getData().getVisual("symbolRotate"):p:0;S.add(jk({itemWidth:v,itemHeight:d,icon:f,iconRotate:w,itemStyle:_.itemStyle,lineStyle:_.lineStyle,symbolKeepAspect:g}))}var b=s==="left"?v+5:-5,C=s,M=o.get("formatter"),I=n;nt(M)&&M?I=M.replace("{name}",n!=null?n:""):vt(M)&&(I=M(n));var L=a.get("inactiveColor");S.add(new he({style:gn(x,{text:I,x:b,y:d/2,fill:m?x.getTextColor():L,align:C,verticalAlign:"middle"})}));var A=new Qt({shape:S.getBoundingRect(),invisible:!0}),E=a.getModel("tooltip");return E.get("show")&&bv({el:A,componentModel:o,itemName:n,itemTooltipOption:E.option}),S.add(A),S.eachChild(function(O){O.silent=!0}),A.silent=!c,this.getContentGroup().add(S),zc(S),S.__legendDataIndex=i,S},e.prototype.layoutInner=function(r,n,i,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();co(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){co("horizontal",u,r.get("selectorItemGap",!0));var h=u.getBoundingRect(),v=[-h.x,-h.y],d=r.get("selectorButtonGap",!0),m=r.getOrient().index,p=m===0?"width":"height",g=m===0?"height":"width",y=m===0?"y":"x";s==="end"?v[m]+=f[p]+d:c[m]+=h[p]+d,v[1-m]+=f[g]/2-h[g]/2,u.x=v[0],u.y=v[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[p]=f[p]+d+h[p],_[g]=Math.max(f[g],h[g]),_[y]=Math.min(0,h[y]+v[1-m]),_}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}(Or);function Zk(t,e,r,n,i,a){function o(d,m){d.lineWidth==="auto"&&(d.lineWidth=m.lineWidth>0?2:0),dh(d,function(p,g){d[g]==="inherit"&&(d[g]=m[g])})}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 jk(t){var e=t.icon||"roundRect",r=aa(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 gy(t,e,r,n){gh(t,e,r,n),r.dispatchAction({type:"legendToggleSelect",name:t!=null?t:e}),ph(t,e,r,n)}function Fw(t){for(var e=t.getZr().storage.getDisplayList(),r,n=0,i=e.length;ni[o],p=[-v.x,-v.y];n||(p[a]=f[u]);var g=[0,0],y=[-d.x,-d.y],_=Mt(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(m){var S=r.get("pageButtonPosition",!0);S==="end"?y[a]+=i[o]-d[o]:g[a]+=d[o]+_}y[1-a]+=v[s]/2-d[s]/2,f.setPosition(p),c.setPosition(g),h.setPosition(y);var x={x:0,y:0};if(x[o]=m?i[o]:v[o],x[s]=Math.max(v[s],d[s]),x[l]=Math.min(0,d[l]+y[1-a]),c.__rectSize=i[o],m){var w={x:0,y:0};w[o]=Math.max(i[o]-d[o]-_,0),w[s]=x[s],c.setClipPath(new Qt({shape:w})),c.__rectSize=w[o]}else h.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(r);return b.pageIndex!=null&&pn(f,{x:b.contentPosition[0],y:b.contentPosition[1]},m?r:null),this._updatePageInfoView(r,b),x},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;D(["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=$f[o],l=Wf[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 m=S(c);d.contentPosition[o]=-m.s;for(var p=u+1,g=m,y=m,_=null;p<=h;++p)_=S(f[p]),(!_&&y.e>g.s+a||_&&!x(_,g.s))&&(y.i>g.i?g=y:g=_,g&&(d.pageNextDataIndex==null&&(d.pageNextDataIndex=g.i),++d.pageCount)),y=_;for(var p=u-1,g=m,y=m,_=null;p>=-1;--p)_=S(f[p]),(!_||!x(y,_.s))&&g.i=b&&w.s<=b+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}(zw),nB=rB;function iB(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 aB(t){fi(Hw),t.registerComponentModel(eB),t.registerComponentView(nB),iB(t)}function sN(t){fi(Hw),fi(aB)}var oB=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 n2(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(r){var n=new ce,i=aa("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=aa(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}(Bo),sB=oB;function Vw(t,e,r){var n=t.getBaseAxis(),i=t.getOtherAxis(n),a=lB(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 zo(e,c[0])&&(h=!0,c[0]=v),zo(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 lB(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 Gw(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 uB(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 fB(t,e,r,n,i,a,o,s){for(var l=uB(t,e),u=[],f=[],c=[],h=[],v=[],d=[],m=[],p=Vw(i,e,o),g=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_=i||m<0)break;if(ni(g,y)){if(l){m+=a;continue}break}if(m===r)t[a>0?"moveTo":"lineTo"](g,y),c=g,h=y;else{var _=g-u,S=y-f;if(_*_+S*S<.5){m+=a;continue}if(o>0){for(var x=m+a,w=e[x*2],b=e[x*2+1];w===g&&b===y&&p=n||ni(w,b))v=g,d=y;else{I=w-u,L=b-f;var O=g-u,H=w-g,B=y-f,Q=b-y,$=void 0,Z=void 0;if(s==="x"){$=Math.abs(O),Z=Math.abs(H);var lt=I>0?1:-1;v=g-lt*$*o,d=y,A=g+lt*Z*o,E=y}else if(s==="y"){$=Math.abs(B),Z=Math.abs(Q);var _t=L>0?1:-1;v=g,d=y-_t*$*o,A=g,E=y+_t*Z*o}else $=Math.sqrt(O*O+B*B),Z=Math.sqrt(H*H+Q*Q),M=Z/(Z+$),v=g-I*o*(1-M),d=y-L*o*(1-M),A=g+I*o*M,E=y+L*o*M,A=Kr(A,Zr(w,g)),E=Kr(E,Zr(b,y)),A=Zr(A,Kr(w,g)),E=Zr(E,Kr(b,y)),I=A-g,L=E-y,v=g-I*$/Z,d=y-L*$/Z,v=Kr(v,Zr(u,g)),d=Kr(d,Zr(f,y)),v=Zr(v,Kr(u,g)),d=Zr(d,Kr(f,y)),I=g-v,L=y-d,A=g+I*Z/$,E=y+L*Z/$}t.bezierCurveTo(c,h,v,d,g,y),c=A,h=E}else t.lineTo(g,y)}u=g,f=y,m+=a}return p}var $w=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),cB=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 $w},e.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&ni(i[o*2-2],i[o*2-1]);o--);for(;a=0){var S=u?(d-l)*_+l:(v-s)*_+s;return u?[r,S]:[S,r]}s=v,l=d;break;case o.C:v=a[c++],d=a[c++],m=a[c++],p=a[c++],g=a[c++],y=a[c++];var x=u?yl(s,v,m,g,r,f):yl(l,d,p,y,r,f);if(x>0)for(var w=0;w=0){var S=u?Xt(l,d,p,y,b):Xt(s,v,m,g,b);return u?[r,S]:[S,r]}}s=g,l=y;break}}},e}(kt),hB=function(t){J(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}($w),vB=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 hB},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&&ni(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 yB(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=mB(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,m=h[0].coord-d,p=h[v-1].coord+d,g=p-m;if(g<.001)return"transparent";D(h,function(_){_.offset=(_.coord-m)/g}),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 y=new x1(0,0,0,0,h,!0);return y[i]=m,y[i+"2"]=p,y}}}function _B(t,e,r){var n=t.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(!!a&&!(i&&SB(a,e))){var o=e.mapDimension(a.dim),s={};return D(a.getViewLabels(),function(l){var u=a.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function SB(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 wB(t,e){return isNaN(t)||isNaN(e)}function bB(t){for(var e=t.length/2;e>0&&wB(t[e*2-2],t[e*2-1]);e--);return e-1}function xy(t,e){return[t[e*2],t[e*2+1]]}function xB(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 Ww(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var lt=m.getState("emphasis").style;lt.lineWidth=+m.style.lineWidth+1}Bt(m).seriesIndex=r.seriesIndex,Hc(m,Q,$,Z);var _t=by(r.get("smooth")),mt=r.get("smoothMonotone");if(m.setShape({smooth:_t,smoothMonotone:mt,connectNulls:C}),p){var pt=l.getCalculationInfo("stackedOnSeries"),At=0;p.useStyle(Dt(f.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),pt&&(At=by(pt.get("smooth"))),p.setShape({smooth:_t,stackedOnSmooth:At,smoothMonotone:mt,connectNulls:C}),ag(p,r,"areaStyle"),Bt(p).seriesIndex=r.seriesIndex,Hc(p,Q,$,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=w,this._points=c,this._step=L,this._valueOrigin=S,r.get("triggerLineEvent")&&(this.packEventData(r,m),p&&this.packEventData(r,p))},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=oi(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 jv(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 vn.prototype.highlight.call(this,r,n,i,a)},e.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=oi(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 vn.prototype.downplay.call(this,r,n,i,a)},e.prototype._changePolyState=function(r){var n=this._polygon;tg(this._polyline,r),n&&tg(n,r)},e.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new cB({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 vB({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");vt(f)&&(f=f(null));var c=u.get("animationDelay")||0,h=vt(c)?c(null):c;r.eachItemGraphicEl(function(v,d){var m=v;if(m){var p=[v.x,v.y],g=void 0,y=void 0,_=void 0;if(i)if(o){var S=i,x=n.pointToCoord(p);a?(g=S.startAngle,y=S.endAngle,_=-x[1]/180*Math.PI):(g=S.r0,y=S.r,_=x[0])}else{var w=i;a?(g=w.x,y=w.x+w.width,_=v.x):(g=w.y+w.height,y=w.y,_=v.y)}var b=y===g?0:(_-g)/(y-g);l&&(b=1-b);var C=vt(c)?c(d):f*b+h,M=m.getSymbolPath(),I=M.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:C}),I&&I.animateFrom({style:{opacity:0}},{duration:300,delay:C}),M.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(Ww(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=bB(l);f>=0&&(Tv(s,Cv(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:f,defaultText:function(c,h,v){return v!=null?Vk(o,v):Nw(o,c)},enableTextSetter:!0},TB(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"),m=s.get("distance")||0,p=l.getBaseAxis(),g=p.isHorizontal(),y=p.inverse,_=n.shape,S=y?g?_.x:_.y+_.height:g?_.x+_.width:_.y,x=(g?m:0)*(y?-1:1),w=(g?0:-m)*(y?-1:1),b=g?"x":"y",C=xB(c,S,b),M=C.range,I=M[1]-M[0],L=void 0;if(I>=1){if(I>1&&!v){var A=xy(c,M[0]);u.attr({x:A[0]+x,y:A[1]+w}),o&&(L=h.getRawValue(M[0]))}else{var A=f.getPointOn(S,b);A&&u.attr({x:A[0]+x,y:A[1]+w});var E=h.getRawValue(M[0]),O=h.getRawValue(M[1]);o&&(L=ND(i,d,E,O,C.t))}a.lastFrameIndex=M[0]}else{var H=r===1||a.lastFrameIndex>0?M[0]:0,A=xy(c,H);o&&(L=h.getRawValue(H)),u.attr({x:A[0]+x,y:A[1]+w})}o&&P1(u).setLabelText(L)}},e.prototype._doUpdateAnimation=function(r,n,i,a,o,s,l){var u=this._polyline,f=this._polygon,c=r.hostModel,h=fB(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),v=h.current,d=h.stackedOnCurrent,m=h.next,p=h.stackedOnNext;if(o&&(v=jr(h.current,i,o,l),d=jr(h.stackedOnCurrent,i,o,l),m=jr(h.next,i,o,l),p=jr(h.stackedOnNext,i,o,l)),wy(v,m)>3e3||f&&wy(d,p)>3e3){u.stopAnimation(),u.setShape({points:m}),f&&(f.stopAnimation(),f.setShape({points:m,stackedOnPoints:p}));return}u.shape.__points=h.current,u.shape.points=v;var g={shape:{points:m}};h.current!==v&&(g.shape.__points=h.next),u.stopAnimation(),pn(u,g,c),f&&(f.setShape({points:v,stackedOnPoints:d}),f.stopAnimation(),pn(f,{shape:{stackedOnPoints:p}},c),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var y=[],_=h.status,S=0;S<_.length;S++){var x=_[S].cmd;if(x==="="){var w=r.getItemGraphicEl(_[S].idx1);w&&y.push({el:w,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var b=u.shape.__points,C=0;Ce&&(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=AB[a]:vt(a)&&(d=a),d&&e.setData(i.downSample(i.mapDimension(u.dim),1/v,d,PB))}}}}}function lN(t){t.registerChartView(MB),t.registerSeriesModel(sB),t.registerLayout(DB("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,IB("line"))}function Ty(t,e,r){var n=ci.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 LB=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||xl,typeof r=="string"?o=Ty(r,n,i):st(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(e_(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=Ty("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(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var _=new Ot(0,0,0,0);_.copy(y),o.push(_)}else{for(var S=!1,x=1/0,w=0,b=0;b=s)}}for(var c=this.__startIndex;c15)break}}O.prevElClipPaths&&g.restore()};if(y)if(y.length===0)C=p.__endIndex;else for(var I=v.dpr,L=0;L0&&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?zs:0),this._needsManuallyCompositing),f.__builtin__||Zh("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&Ce&&!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,D(this._layers,function(r){r.setUnpainted()})},t.prototype.configLayer=function(e,r){if(r){var n=this._layerConfig;n[e]?Ct(n[e],r,!0):n[e]=r;for(var i=0;i PKG_LICENSE:=BSD-3-Clause diff --git a/miniupnpd/patches/106-spam-syslog-ignoring.patch b/miniupnpd/patches/106-spam-syslog-ignoring.patch new file mode 100644 index 000000000..1e755ea92 --- /dev/null +++ b/miniupnpd/patches/106-spam-syslog-ignoring.patch @@ -0,0 +1,13 @@ +--- a/minissdp.c 2017-04-21 19:24:23.000000000 +0800 ++++ b/minissdp.c 2021-06-22 07:01:24.000000000 +0800 +@@ -865,8 +865,8 @@ + lan_addr = get_lan_for_peer(sender); + if(lan_addr == NULL) + { +- syslog(LOG_WARNING, "SSDP packet sender %s not from a LAN, ignoring", +- sender_str); ++ /* syslog(LOG_WARNING, "SSDP packet sender %s not from a LAN, ignoring", ++ sender_str); */ + return; + } + diff --git a/msmtp/Makefile b/msmtp/Makefile index e2be127b3..d4588bbcf 100644 --- a/msmtp/Makefile +++ b/msmtp/Makefile @@ -15,7 +15,7 @@ PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://marlam.de/msmtp/releases -PKG_HASH:=skip +PKG_HASH:=d56f065d711486e9c234618515a02a48a48dab4051b34f3e108fbecb6fb773b4 PKG_MAINTAINER:= PKG_LICENSE:=GPL-3.0-or-later diff --git a/naiveproxy/Makefile b/naiveproxy/Makefile index ea55321b8..c154664c9 100644 --- a/naiveproxy/Makefile +++ b/naiveproxy/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/klzgrad/naiveproxy/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=bcab770b15e6c5d3f50a83992d084c8f53942aa6ebd59463c21979be668a3e61 PKG_LICENSE:=BSD 3-Clause PKG_LICENSE_FILES:=LICENSE diff --git a/natflow/Makefile b/natflow/Makefile index 7bc3735cb..10ec04e1c 100644 --- a/natflow/Makefile +++ b/natflow/Makefile @@ -12,7 +12,7 @@ PKG_NAME:=natflow PKG_VERSION:=20220419 PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/natflow/tar.gz/$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=77c41617e12358db2184bdd19ae2c99d9dfe658a6c0480bb8b4240293b0416d3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MAINTAINER:=Chen Minqiang diff --git a/ngrokc/Makefile b/ngrokc/Makefile index 8b517b5e7..f59fb735f 100644 --- a/ngrokc/Makefile +++ b/ngrokc/Makefile @@ -8,7 +8,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/dosgo/ngrok-c.git PKG_SOURCE_DATE:=2021-09-01 PKG_SOURCE_VERSION:=5da550284ed5bec7fa843c574e52b840e918fa4c -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=3b62878222f93d267b69a6e8542a381d1ab7aeda9457d3bb3a86cccb8b8feb0b PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -23,7 +23,7 @@ define Package/ngrokc SUBMENU:=Web Servers/Proxies TITLE:=Secure tunnels to localhost (C++ port) URL:=https://github.com/dosgo/ngrok-c - DEPENDS:=+libc +libpthread +libopenssl +libstdcpp +zlib +zlib \ + DEPENDS:=+libc +libpthread +libopenssl +libstdcpp +zlib \ +USE_GLIBC:libatomic endef diff --git a/njitclient/Makefile b/njitclient/Makefile index 6f4d29d31..087bac0f0 100644 --- a/njitclient/Makefile +++ b/njitclient/Makefile @@ -8,7 +8,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/bitdust/njit8021xclient.git PKG_SOURCE_DATE:=2018-11-24 PKG_SOURCE_VERSION:=dd28c17f24275bbbf4c44504b832c0f1e6b9ae40 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=66e4f20ceeceaed457657b60ec0b390aab0d7ff380b0abe749738b8f4aa23556 PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION)) diff --git a/nps/Makefile b/nps/Makefile index 9ecf89f83..9a1c80c57 100644 --- a/nps/Makefile +++ b/nps/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ehang-io/nps/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=1b2fe9d251f55105d65027a1cee464f65d2f6ab3bd4a20e4655e5135db68aee7 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILE:=LICENSE @@ -29,7 +29,7 @@ GO_PKG_BUILD_PKG:=ehang.io/nps/cmd/... GO_PKG_LDFLAGS:=-s -w include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk define Package/nps/template SECTION:=net diff --git a/oscam/Makefile b/oscam/Makefile index 91eb84688..788e8cf8d 100644 --- a/oscam/Makefile +++ b/oscam/Makefile @@ -13,7 +13,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/nx111/oscam.git PKG_SOURCE_DATE:=2020-12-12 PKG_SOURCE_VERSION:=aafda4bca3c347698ef1dc32f7ebeff76378d55a -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=d2cd4508ef80a3cbd8ef950e5446f2f754b339f179c4f774ef8660b39fd5c4c1 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILE:=COPYING diff --git a/pdnsd-alt/Makefile b/pdnsd-alt/Makefile index 7b33fffd8..e2c1aacc3 100644 --- a/pdnsd-alt/Makefile +++ b/pdnsd-alt/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/shadowsocks/pdnsd.git PKG_SOURCE_DATE:=2012-04-26 PKG_SOURCE_VERSION:=a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=e3e9c56cf91b12d8db73def2c247be2f726a052bed012f7a1e48946375f8e478 PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 diff --git a/qBittorrent/Makefile b/qBittorrent/Makefile index f7ea56202..2f3007e55 100644 --- a/qBittorrent/Makefile +++ b/qBittorrent/Makefile @@ -12,7 +12,7 @@ PKG_RELEASE=1 PKG_SOURCE:=qBittorrent-release-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/qbittorrent/qBittorrent/tar.gz/release-$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=f9406eb982a4b8a084341fb0bc30bd8b50babe5dcf4197204ab407b06e20e8a3 PKG_BUILD_DIR:=$(BUILD_DIR)/qBittorrent-release-$(PKG_VERSION) diff --git a/qtbase/Makefile b/qtbase/Makefile index ba2e26c10..a0b68e86a 100644 --- a/qtbase/Makefile +++ b/qtbase/Makefile @@ -18,7 +18,7 @@ PKG_SOURCE_URL:= \ http://master.qt.io/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules \ http://mirrors.tuna.tsinghua.edu.cn/qt/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules \ http://qt.mirror.constant.com/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules -PKG_HASH:=skip +PKG_HASH:=26394ec9375d52c1592bd7b689b1619c6b8dbe9b6f91fdd5c355589787f3a0b6 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-everywhere-src-$(PKG_VERSION) diff --git a/qttools/Makefile b/qttools/Makefile index 48cdb5422..51963b521 100644 --- a/qttools/Makefile +++ b/qttools/Makefile @@ -18,7 +18,7 @@ PKG_SOURCE_URL:= \ http://master.qt.io/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules \ http://mirrors.tuna.tsinghua.edu.cn/qt/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules \ http://qt.mirror.constant.com/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules -PKG_HASH:=skip +PKG_HASH:=463b2fe71a085e7ab4e39333ae360ab0ec857b966d7a08f752c427e5df55f90d PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-everywhere-src-$(PKG_VERSION) diff --git a/quickjspp/Makefile b/quickjspp/Makefile index 941ee5023..0d2897c90 100644 --- a/quickjspp/Makefile +++ b/quickjspp/Makefile @@ -11,7 +11,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/ftk/quickjspp.git PKG_SOURCE_DATE:=2022-02-05 PKG_SOURCE_VERSION:=8efd98903fca507e58144865d26c47c91565bb55 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=dd9e69c41adf7991ce414b399d3e6188fa1b9421f74c722a084b1269985793d6 PKG_MAINTAINER:=Tianling Shen diff --git a/quickstart/Makefile b/quickstart/Makefile index 0c8638b81..c52bb5841 100644 --- a/quickstart/Makefile +++ b/quickstart/Makefile @@ -14,7 +14,7 @@ PKG_VERSION:=0.3.3 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://fw.koolcenter.com/binary/quickstart/ -PKG_HASH:=skip +PKG_HASH:=49dc49c1efb1646fcfe21832796667d3f32beb5f0d6d152ec8b67046d865b1a2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/rapidjson/Makefile b/rapidjson/Makefile index 7164f4a60..9eef68748 100644 --- a/rapidjson/Makefile +++ b/rapidjson/Makefile @@ -11,7 +11,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Tencent/rapidjson.git PKG_SOURCE_DATE:=2022-03-09 PKG_SOURCE_VERSION:=8261c1ddf43f10de00fd8c9a67811d1486b2c784 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=550b644b61ecc787b59a42e5e7d7ba51a656ab7d34354f144b8b8f83befd8517 PKG_LICENSE:=BSD 3-Clause PKG_LICENSE_FILES:=LICENSE diff --git a/rblibtorrent/Makefile b/rblibtorrent/Makefile index b3f8d45be..d0f4527b8 100644 --- a/rblibtorrent/Makefile +++ b/rblibtorrent/Makefile @@ -9,7 +9,7 @@ PKG_SOURCE_URL:=https://github.com/arvidn/libtorrent.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=1b25eb5584db5f335167e6f8beda1ae280f28445 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=d0cb50a9dd6cc740dfa8f7a93be2c614a40165246c0454ae6f147cda7aa3f994 PKG_LICENSE:=BSD PKG_LICENSE_FILES:=COPYING diff --git a/redsocks2/Makefile b/redsocks2/Makefile index dff7d6765..f649b745b 100644 --- a/redsocks2/Makefile +++ b/redsocks2/Makefile @@ -16,7 +16,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/semigodking/redsocks.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=d94c245ea47859cda5b4b7373308589206b97bdc -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=938f859d1b55a91aa5cbcda3ddff1d04ccab292f784b0434060c73acab12c457 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MAINTAINER:=semigodking PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/scutclient/Makefile b/scutclient/Makefile index e34353861..f444f12e4 100644 --- a/scutclient/Makefile +++ b/scutclient/Makefile @@ -15,7 +15,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/scutclient/scutclient.git PKG_SOURCE_DATE:=2020-11-29 PKG_SOURCE_VERSION:=36128216c63f8954371e64d78ff30bca5e73a882 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=16be6312e7ca2e1b0201c2d2f7e01dbb6173fb9b13c93707ff272f992d4b3bff PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION)) diff --git a/shadowsocks-libev/Makefile b/shadowsocks-libev/Makefile index 83a1cf7c6..1a76d67fe 100644 --- a/shadowsocks-libev/Makefile +++ b/shadowsocks-libev/Makefile @@ -18,7 +18,7 @@ PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION) -PKG_HASH:=skip +PKG_HASH:=cfc8eded35360f4b67e18dc447b0c00cddb29cc57a3cec48b135e5fb87433488 PKG_MAINTAINER:=Yousong Zhou diff --git a/shadowsocks-rust/Makefile b/shadowsocks-rust/Makefile index 801b5eff5..7ba9bed50 100644 --- a/shadowsocks-rust/Makefile +++ b/shadowsocks-rust/Makefile @@ -16,33 +16,33 @@ PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-rust/releases/downloa ifeq ($(ARCH),aarch64) PKG_SOURCE:=$(PKG_SOURCE_HEADER).aarch64-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=31968468017772e099e69741212520b15fce0ee67584d20706cc9654c7ce7e4c else ifeq ($(ARCH),arm) # Referred to golang/golang-values.mk ARM_CPU_FEATURES:=$(word 2,$(subst +,$(space),$(call qstrip,$(CONFIG_CPU_TYPE)))) ifeq ($(ARM_CPU_FEATURES),) PKG_SOURCE:=$(PKG_SOURCE_HEADER).arm-$(PKG_SOURCE_BODY)eabi.$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=066515d3a7ae07a44419472331866b4ad3ffb04b77a71ed8ecc8d20217abfcfb else PKG_SOURCE:=$(PKG_SOURCE_HEADER).arm-$(PKG_SOURCE_BODY)eabihf.$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=f9c336f94dc081a8e0f4aa7f398ceafedc00c5f7d1981989fdb03b63c298ac57 endif else ifeq ($(ARCH),i386) PKG_SOURCE:=$(PKG_SOURCE_HEADER).i686-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=1734d2870f5ebdc5475f5100f78546574a99c96d37cd2cf08aad4ef0eb65ecf4 else ifeq ($(ARCH),mips) PKG_SOURCE:=$(PKG_SOURCE_HEADER).mips-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=8aa4544abf62f2cb1d3b55bbd67d5d371463da9426479fb1dde6cf2b63e267a4 else ifeq ($(ARCH),mipsel) PKG_SOURCE:=$(PKG_SOURCE_HEADER).mipsel-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=f89bfaf414dd4dadf5da0b909111d97c3b8194b929cdba2b781a8fd4175a48c1 else ifeq ($(ARCH),x86_64) PKG_SOURCE:=$(PKG_SOURCE_HEADER).x86_64-$(PKG_SOURCE_BODY).$(PKG_SOURCE_FOOTER) - PKG_HASH:=skip + PKG_HASH:=515e7e5e6bc426c7e81bff3beb42e713fd1460d4664fa47df855eb4175c9b8f4 # Set the default value to make OpenWrt Package Checker happy else PKG_SOURCE:=dummy - PKG_HASH:=skip + PKG_HASH:=dummy endif PKG_MAINTAINER:=Tianling Shen diff --git a/shadowsocksr-libev/Makefile b/shadowsocksr-libev/Makefile index 49e2bbdb7..53612b233 100644 --- a/shadowsocksr-libev/Makefile +++ b/shadowsocksr-libev/Makefile @@ -14,7 +14,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/shadowsocksrr/shadowsocksr-libev PKG_SOURCE_DATE:=2018-03-07 PKG_SOURCE_VERSION:=d63ff863800a5645aca4309d5dd5962bd1e95543 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=34308ed827a5dd4f4e35619914102d55b00604faa44fda051d1d25fb4a319325 PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILES:=LICENSE diff --git a/simple-obfs/Makefile b/simple-obfs/Makefile index 44ed4a8ad..d682beb8c 100644 --- a/simple-obfs/Makefile +++ b/simple-obfs/Makefile @@ -13,7 +13,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/shadowsocks/simple-obfs.git -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=ea8f2b9825bbb87d5d860524e29bade265141687338db2dbf7ecd32690cf02fc PKG_SOURCE_VERSION:=486bebd9208539058e57e23a12f23103016e09b4 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz diff --git a/ssocks/Makefile b/ssocks/Makefile index e73f789d9..2de3b0b5a 100644 --- a/ssocks/Makefile +++ b/ssocks/Makefile @@ -18,7 +18,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/tostercx/ssocks.git PKG_SOURCE_DATE:=2020-07-09 PKG_SOURCE_VERSION:=c2024789c1ee076d171fd6061d7c133302216ea7 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=3654e9f1fb54646e1e89c19e7aa3e105b84b2e20b5b634662c21c66691d1d22e PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/sub-web/Makefile b/sub-web/Makefile index 936cdb12d..e91b3a838 100644 --- a/sub-web/Makefile +++ b/sub-web/Makefile @@ -15,7 +15,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/CareyWang/sub-web.git PKG_SOURCE_DATE:=2021-09-08 PKG_SOURCE_VERSION:=f3a997d6054fae3bcf0aa4989f1d80d83d30af17 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=85e482f049d849c44792028fa8a1091f7319906081fc0862897dd75c56265372 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/subconverter/Makefile b/subconverter/Makefile index 7d039e33e..f1c16ffda 100644 --- a/subconverter/Makefile +++ b/subconverter/Makefile @@ -11,7 +11,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/tindy2013/subconverter.git PKG_SOURCE_DATE:=2022-02-28 PKG_SOURCE_VERSION:=ebe68f64b183ac755e1224f706a7c04953710076 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=792b89d519b9b4e09edfffc95896b3c18ba338db24ec0736a2fba9a68a4cca18 PKG_VERSION:=0.7.1-$(call version_abbrev,$(PKG_SOURCE_VERSION)) PKG_LICENSE:=GPL-3.0 diff --git a/tcping/Makefile b/tcping/Makefile index 39ae46894..9d69985d6 100644 --- a/tcping/Makefile +++ b/tcping/Makefile @@ -17,7 +17,7 @@ PKG_LICENSE_FILES:=license.txt PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Lienol/tcping -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=79414cd8e1d124422a36b8fe36a1f296b7d9bde99807b2c90ad81bbd65e200e0 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=db9101834732dac9aaa59dbb7fb9c74612dbf723 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz diff --git a/tcpping/Makefile b/tcpping/Makefile index 6ce3cd456..3ac81e5c8 100644 --- a/tcpping/Makefile +++ b/tcpping/Makefile @@ -12,7 +12,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/coolsnowwolf/tcping PKG_SOURCE_DATE:=2020-09-19 PKG_SOURCE_VERSION:=d890cc1bd8e3951390ceeff1ccb092a5d802850c -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=018554a80e8a9d8fedd39821f35aa02c7c763fd42213761fba9b21c2533e1ab8 PKG_BUILD_PARALLEL:=1 diff --git a/toml11/Makefile b/toml11/Makefile index 77aaf31ef..b817b5d9b 100644 --- a/toml11/Makefile +++ b/toml11/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ToruNiina/toml11/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=afeaa9aa0416d4b6b2cd3897ca55d9317084103077b32a852247d8efd4cf6068 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/trojan-go/Makefile b/trojan-go/Makefile index 2c70bd4d6..6f00b833c 100644 --- a/trojan-go/Makefile +++ b/trojan-go/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/p4gefau1t/trojan-go/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=925f02647dda944813f1eab0b71eac98b83eb5964ef5a6f63e89bc7eb4486c1f PKG_LICENSE:=GPL-3.0-only PKG_LICENSE_FILES:=LICENSE diff --git a/trojan-plus/Makefile b/trojan-plus/Makefile index e8d7befc7..5120ab7c8 100644 --- a/trojan-plus/Makefile +++ b/trojan-plus/Makefile @@ -14,7 +14,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/peter-tank/trojan-plus.git PKG_SOURCE_DATE:=2020-09-06 PKG_SOURCE_VERSION:=a6394cdd718669b0c7491493a78e61f6f0f899b3 -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=2d37d09fe6d39d7981116ad387706f58f2b30b74a34e27fc5608f267dacc9208 PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=openssl diff --git a/trojan/Makefile b/trojan/Makefile index a4bf5d236..d16dd5175 100644 --- a/trojan/Makefile +++ b/trojan/Makefile @@ -12,7 +12,7 @@ PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/trojan-gfw/trojan/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=86cdb2685bb03a63b62ce06545c41189952f1ec4a0cd9147450312ed70956cbc PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=openssl diff --git a/uugamebooster/Makefile b/uugamebooster/Makefile index 155d3866e..dad971585 100644 --- a/uugamebooster/Makefile +++ b/uugamebooster/Makefile @@ -31,22 +31,22 @@ endef ifeq ($(ARCH),arm) UU_ARCH:=arm - PKG_MD5SUM:=skip + PKG_MD5SUM:=3d022c05301bcec94dcf8ae8945ca223 endif ifeq ($(ARCH),aarch64) UU_ARCH:=aarch64 - PKG_MD5SUM:=skip + PKG_MD5SUM:=f062220b51418083412e9691feb1be55 endif ifeq ($(ARCH),mipsel) UU_ARCH:=mipsel - PKG_MD5SUM:=skip + PKG_MD5SUM:=a99db0b7faf58b66c123427ef9b97f9c endif ifeq ($(ARCH),x86_64) UU_ARCH:=x86_64 - PKG_MD5SUM:=skip + PKG_MD5SUM:=51502e89ca80ae960a2330a01b8f2b3b endif PKG_SOURCE_URL:=https://uu.gdl.netease.com/uuplugin/openwrt-$(UU_ARCH)/$(PKG_VERSION)/uu.tar.gz? diff --git a/v2ray-core/Makefile b/v2ray-core/Makefile index 5af466c37..0c515548c 100644 --- a/v2ray-core/Makefile +++ b/v2ray-core/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/v2fly/v2ray-core/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=c0fe91f715293cfc39a5afeef71e1ff43d379ae0faa139c560fdc3ede88a458a PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/v2ray-plugin/Makefile b/v2ray-plugin/Makefile index ffe6cabf7..5fd06cf34 100644 --- a/v2ray-plugin/Makefile +++ b/v2ray-plugin/Makefile @@ -11,7 +11,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/teddysun/v2ray-plugin/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=e1b71145c4bc2ff262656a3ce17ddd551f95b6975905a43edfac8154ab62b62a PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/v2raya/Makefile b/v2raya/Makefile index 0b9c871ff..96276e87d 100644 --- a/v2raya/Makefile +++ b/v2raya/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/v2rayA/v2rayA/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=d949246aa9fe80aa9cb8fb4d80cb470f508bb44d4ac23e84e28e3b9abd30b67c PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/service PKG_LICENSE:=AGPL-3.0-only @@ -25,7 +25,7 @@ GO_PKG:=github.com/v2rayA/v2rayA GO_PKG_LDFLAGS_X:=$(GO_PKG)/conf.Version=$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk +include ../../lang/golang/golang-package.mk TAR_OPTIONS+= --strip-components 1 TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS) diff --git a/wiretrustee/Makefile b/wiretrustee/Makefile index c29c197a6..fd9ddfa7e 100644 --- a/wiretrustee/Makefile +++ b/wiretrustee/Makefile @@ -6,7 +6,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/wiretrustee/wiretrustee/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=4aa10123356aa1a89774fa571096fd594221ff8a236579b21035302bc1a24dc0 PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 diff --git a/wxbase/Makefile b/wxbase/Makefile index 4d2fad203..c34635863 100644 --- a/wxbase/Makefile +++ b/wxbase/Makefile @@ -13,7 +13,7 @@ PKG_RELEASE:=2 PKG_SOURCE:=wxGTK-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/wxwindows -PKG_HASH:=skip +PKG_HASH:=f4193c29fb0e790c9a5c8936f082377a7e51c76bccafe41f4f9da7ca15c0ef1a PKG_BUILD_DIR:=$(BUILD_DIR)/wxGTK-$(PKG_VERSION) PKG_CHECK_FORMAT_SECURITY:=0 diff --git a/xray-core/Makefile b/xray-core/Makefile index 80cd944ad..acc4c2ed9 100644 --- a/xray-core/Makefile +++ b/xray-core/Makefile @@ -6,7 +6,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=af9b9b5b0a2d4f055d19f3580d1c2d3141bbaab9dd7824428c12ae0ced5f511e PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=MPL-2.0 diff --git a/xray-plugin/Makefile b/xray-plugin/Makefile index 13f573d33..e953d86b6 100644 --- a/xray-plugin/Makefile +++ b/xray-plugin/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/teddysun/xray-plugin/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=b6b66ea091f6348c7f213a8f7a3be51be25cea2cdf9ea7fb5bb93e2e04077a6f PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE