diff --git a/.github/update.log b/.github/update.log index 78ad5301c1..6afc5d1775 100644 --- a/.github/update.log +++ b/.github/update.log @@ -1026,3 +1026,4 @@ Update On Sun Jun 8 20:34:46 CEST 2025 Update On Mon Jun 9 20:37:42 CEST 2025 Update On Tue Jun 10 20:37:52 CEST 2025 Update On Wed Jun 11 20:39:57 CEST 2025 +Update On Fri Jun 13 20:38:23 CEST 2025 diff --git a/brook/README.md b/brook/README.md index 876c8aa4ed..a96f9b2e39 100644 --- a/brook/README.md +++ b/brook/README.md @@ -153,8 +153,8 @@ Script can do more: | block | bool | Whether Block, default `false` | false | | address | string | Rewrite destination to an address | 1.2.3.4 | | ipaddressfromdnsserverkey | string | If the destination is domain address, use the dnsserver specified by key to resolve | custom name | -| ipaddressfromdnsserverkey | string | If the destination is domain address, use the dohserver specified by key to resolve | custom name | -| aoraaaa | string | Must be used with ipaddressfromdnsserverkey or ipaddressfromdnsserverkey. Valid value is `A`/`AAAA` | A | +| ipaddressfromdohserverkey | string | If the destination is domain address, use the dohserver specified by key to resolve | custom name | +| aoraaaa | string | Must be used with ipaddressfromdnsserverkey or ipaddressfromdohserverkey. Valid value is `A`/`AAAA` | A | | speedlimit | int | Set a rate limit for this request, for example `1000000` means 1000 kb/s | 1000000 | | brooklinkkey | string | Use the brook link specified by key to proxy | custom name | | dialwith | string | If your server has multiple IPs or network interfaces, you can specify the IP or network interface name to initiate this request | 192.168.1.2 or 2606:4700:3030::ac43:a86a or en1 | diff --git a/brook/docs/index.html b/brook/docs/index.html index d23d5385d9..63b5bbdd48 100644 --- a/brook/docs/index.html +++ b/brook/docs/index.html @@ -116,7 +116,7 @@ margin: 0; color: var(--color-fg-default); background-color: var(--color-canvas-default); - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "PingFang SC"; font-size: 16px; line-height: 1.5; word-wrap: break-word; @@ -1732,7 +1732,7 @@ custom name -ipaddressfromdnsserverkey +ipaddressfromdohserverkey string If the destination is domain address, use the dohserver specified by key to resolve custom name @@ -1740,7 +1740,7 @@ aoraaaa string -Must be used with ipaddressfromdnsserverkey or ipaddressfromdnsserverkey. Valid value is A/AAAA +Must be used with ipaddressfromdnsserverkey or ipaddressfromdohserverkey. Valid value is A/AAAA A diff --git a/brook/docs/server.md b/brook/docs/server.md index 82a570c1c6..20bdefeb7c 100644 --- a/brook/docs/server.md +++ b/brook/docs/server.md @@ -114,8 +114,8 @@ Script can do more: | block | bool | Whether Block, default `false` | false | | address | string | Rewrite destination to an address | 1.2.3.4 | | ipaddressfromdnsserverkey | string | If the destination is domain address, use the dnsserver specified by key to resolve | custom name | -| ipaddressfromdnsserverkey | string | If the destination is domain address, use the dohserver specified by key to resolve | custom name | -| aoraaaa | string | Must be used with ipaddressfromdnsserverkey or ipaddressfromdnsserverkey. Valid value is `A`/`AAAA` | A | +| ipaddressfromdohserverkey | string | If the destination is domain address, use the dohserver specified by key to resolve | custom name | +| aoraaaa | string | Must be used with ipaddressfromdnsserverkey or ipaddressfromdohserverkey. Valid value is `A`/`AAAA` | A | | speedlimit | int | Set a rate limit for this request, for example `1000000` means 1000 kb/s | 1000000 | | brooklinkkey | string | Use the brook link specified by key to proxy | custom name | | dialwith | string | If your server has multiple IPs or network interfaces, you can specify the IP or network interface name to initiate this request | 192.168.1.2 or 2606:4700:3030::ac43:a86a or en1 | diff --git a/clash-meta/.github/workflows/trigger-cmfa-update.yml b/clash-meta/.github/workflows/trigger-cmfa-update.yml index d9523a07c1..cdcaf27681 100644 --- a/clash-meta/.github/workflows/trigger-cmfa-update.yml +++ b/clash-meta/.github/workflows/trigger-cmfa-update.yml @@ -10,9 +10,6 @@ on: - Alpha tags: - "v*" - pull_request_target: - branches: - - Alpha jobs: # Send "core-updated" to MetaCubeX/ClashMetaForAndroid to trigger update-dependencies diff --git a/clash-meta/common/atomic/enum.go b/clash-meta/common/atomic/enum.go index 9b73c6d8e5..6843aee102 100644 --- a/clash-meta/common/atomic/enum.go +++ b/clash-meta/common/atomic/enum.go @@ -23,6 +23,19 @@ func (i *Int32Enum[T]) UnmarshalJSON(b []byte) error { return nil } +func (i *Int32Enum[T]) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Int32Enum[T]) UnmarshalYAML(unmarshal func(any) error) error { + var v T + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Int32Enum[T]) String() string { return fmt.Sprint(i.Load()) } diff --git a/clash-meta/common/atomic/type.go b/clash-meta/common/atomic/type.go index 71695c63be..12ae4cffae 100644 --- a/clash-meta/common/atomic/type.go +++ b/clash-meta/common/atomic/type.go @@ -29,6 +29,19 @@ func (i *Bool) UnmarshalJSON(b []byte) error { return nil } +func (i *Bool) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Bool) UnmarshalYAML(unmarshal func(any) error) error { + var v bool + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Bool) String() string { v := i.Load() return strconv.FormatBool(v) @@ -58,6 +71,19 @@ func (p *Pointer[T]) UnmarshalJSON(b []byte) error { return nil } +func (p *Pointer[T]) MarshalYAML() (any, error) { + return p.Load(), nil +} + +func (p *Pointer[T]) UnmarshalYAML(unmarshal func(any) error) error { + var v *T + if err := unmarshal(&v); err != nil { + return err + } + p.Store(v) + return nil +} + func (p *Pointer[T]) String() string { return fmt.Sprint(p.Load()) } @@ -84,6 +110,19 @@ func (i *Int32) UnmarshalJSON(b []byte) error { return nil } +func (i *Int32) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Int32) UnmarshalYAML(unmarshal func(any) error) error { + var v int32 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Int32) String() string { v := i.Load() return strconv.FormatInt(int64(v), 10) @@ -111,6 +150,19 @@ func (i *Int64) UnmarshalJSON(b []byte) error { return nil } +func (i *Int64) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Int64) UnmarshalYAML(unmarshal func(any) error) error { + var v int64 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Int64) String() string { v := i.Load() return strconv.FormatInt(int64(v), 10) @@ -138,6 +190,19 @@ func (i *Uint32) UnmarshalJSON(b []byte) error { return nil } +func (i *Uint32) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Uint32) UnmarshalYAML(unmarshal func(any) error) error { + var v uint32 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Uint32) String() string { v := i.Load() return strconv.FormatUint(uint64(v), 10) @@ -165,6 +230,19 @@ func (i *Uint64) UnmarshalJSON(b []byte) error { return nil } +func (i *Uint64) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Uint64) UnmarshalYAML(unmarshal func(any) error) error { + var v uint64 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Uint64) String() string { v := i.Load() return strconv.FormatUint(uint64(v), 10) @@ -192,6 +270,19 @@ func (i *Uintptr) UnmarshalJSON(b []byte) error { return nil } +func (i *Uintptr) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Uintptr) UnmarshalYAML(unmarshal func(any) error) error { + var v uintptr + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Uintptr) String() string { v := i.Load() return strconv.FormatUint(uint64(v), 10) diff --git a/clash-meta/common/atomic/value.go b/clash-meta/common/atomic/value.go index 0de9fade37..e63d231096 100644 --- a/clash-meta/common/atomic/value.go +++ b/clash-meta/common/atomic/value.go @@ -72,6 +72,19 @@ func (t *TypedValue[T]) UnmarshalJSON(b []byte) error { return nil } +func (t *TypedValue[T]) MarshalYAML() (any, error) { + return t.Load(), nil +} + +func (t *TypedValue[T]) UnmarshalYAML(unmarshal func(any) error) error { + var v T + if err := unmarshal(&v); err != nil { + return err + } + t.Store(v) + return nil +} + func NewTypedValue[T any](t T) (v TypedValue[T]) { v.Store(t) return diff --git a/clash-meta/common/convert/converter.go b/clash-meta/common/convert/converter.go index acf6abbccc..af1b706c46 100644 --- a/clash-meta/common/convert/converter.go +++ b/clash-meta/common/convert/converter.go @@ -513,6 +513,101 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) { } proxies = append(proxies, ssr) + + case "socks", "socks5", "socks5h", "http", "https": + link, err := url.Parse(line) + if err != nil { + continue + } + server := link.Hostname() + if server == "" { + continue + } + portStr := link.Port() + if portStr == "" { + continue + } + remarks := link.Fragment + if remarks == "" { + remarks = fmt.Sprintf("%s:%s", server, portStr) + } + name := uniqueName(names, remarks) + encodeStr := link.User.String() + var username, password string + if encodeStr != "" { + decodeStr := string(DecodeBase64([]byte(encodeStr))) + splitStr := strings.Split(decodeStr, ":") + + // todo: should use url.QueryUnescape ? + username = splitStr[0] + if len(splitStr) == 2 { + password = splitStr[1] + } + } + socks := make(map[string]any, 10) + socks["name"] = name + socks["type"] = func() string { + switch scheme { + case "socks", "socks5", "socks5h": + return "socks5" + case "http", "https": + return "http" + } + return scheme + }() + socks["server"] = server + socks["port"] = portStr + socks["username"] = username + socks["password"] = password + socks["skip-cert-verify"] = true + if scheme == "https" { + socks["tls"] = true + } + + proxies = append(proxies, socks) + + case "anytls": + // https://github.com/anytls/anytls-go/blob/main/docs/uri_scheme.md + link, err := url.Parse(line) + if err != nil { + continue + } + username := link.User.Username() + password, exist := link.User.Password() + if !exist { + password = username + } + query := link.Query() + server := link.Hostname() + if server == "" { + continue + } + portStr := link.Port() + if portStr == "" { + continue + } + insecure, sni := query.Get("insecure"), query.Get("sni") + insecureBool := insecure == "1" + fingerprint := query.Get("hpkp") + + remarks := link.Fragment + if remarks == "" { + remarks = fmt.Sprintf("%s:%s", server, portStr) + } + name := uniqueName(names, remarks) + anytls := make(map[string]any, 10) + anytls["name"] = name + anytls["type"] = "anytls" + anytls["server"] = server + anytls["port"] = portStr + anytls["username"] = username + anytls["password"] = password + anytls["sni"] = sni + anytls["fingerprint"] = fingerprint + anytls["skip-cert-verify"] = insecureBool + anytls["udp"] = true + + proxies = append(proxies, anytls) } } diff --git a/clash-nyanpasu/manifest/version.json b/clash-nyanpasu/manifest/version.json index b0149dc389..50be16e1a8 100644 --- a/clash-nyanpasu/manifest/version.json +++ b/clash-nyanpasu/manifest/version.json @@ -2,10 +2,10 @@ "manifest_version": 1, "latest": { "mihomo": "v1.19.10", - "mihomo_alpha": "alpha-ae7967f", - "clash_rs": "v0.7.8", + "mihomo_alpha": "alpha-32d447c", + "clash_rs": "v0.8.0", "clash_premium": "2023-09-05-gdcc8d87", - "clash_rs_alpha": "latest" + "clash_rs_alpha": "0.8.0-alpha+sha.3b8b621" }, "arch_template": { "mihomo": { @@ -69,5 +69,5 @@ "linux-armv7hf": "clash-armv7-unknown-linux-gnueabihf" } }, - "updated_at": "2025-06-10T22:21:23.229Z" + "updated_at": "2025-06-12T22:21:05.962Z" } diff --git a/clash-verge-rev/.prettierignore b/clash-verge-rev/.prettierignore index 34a8e568c3..6b1f26e7c5 100644 --- a/clash-verge-rev/.prettierignore +++ b/clash-verge-rev/.prettierignore @@ -5,3 +5,4 @@ pnpm-lock.yaml src-tauri/target/ +src-tauri/gen/ diff --git a/clash-verge-rev/UPDATELOG.md b/clash-verge-rev/UPDATELOG.md index a36a114158..0db4fc6d2b 100644 --- a/clash-verge-rev/UPDATELOG.md +++ b/clash-verge-rev/UPDATELOG.md @@ -37,6 +37,7 @@ - 修复编辑器中连字符处理问题 - 修复提权漏洞,改用带认证的 IPC 通信机制 - 修复静默启动无法使用自动轻量模式 +- 修复 JS 脚本转义特殊字符报错 --- diff --git a/clash-verge-rev/crowdin.yml b/clash-verge-rev/crowdin.yml new file mode 100644 index 0000000000..6063f529c3 --- /dev/null +++ b/clash-verge-rev/crowdin.yml @@ -0,0 +1,4 @@ +files: + - source: /src/locales/en.json + translation: /src/locales + multilingual: 1 diff --git a/clash-verge-rev/package.json b/clash-verge-rev/package.json index f8c335e2eb..8e6d25b282 100644 --- a/clash-verge-rev/package.json +++ b/clash-verge-rev/package.json @@ -53,7 +53,7 @@ "cli-color": "^2.0.4", "d3-shape": "^3.2.0", "dayjs": "1.11.13", - "foxact": "^0.2.45", + "foxact": "^0.2.49", "glob": "^11.0.2", "i18next": "^25.2.1", "js-base64": "^3.7.7", @@ -85,10 +85,10 @@ "@types/js-cookie": "^3.0.6", "@types/js-yaml": "^4.0.9", "@types/lodash-es": "^4.17.12", - "@types/react": "19.1.6", + "@types/react": "19.1.8", "@types/react-dom": "19.1.6", "@vitejs/plugin-legacy": "^6.1.1", - "@vitejs/plugin-react": "4.5.1", + "@vitejs/plugin-react": "4.5.2", "adm-zip": "^0.5.16", "commander": "^14.0.0", "cross-env": "^7.0.3", @@ -98,8 +98,8 @@ "node-fetch": "^3.3.2", "prettier": "^3.5.3", "pretty-quick": "^4.2.2", - "sass": "^1.89.1", - "terser": "^5.41.0", + "sass": "^1.89.2", + "terser": "^5.42.0", "typescript": "^5.8.3", "vite": "^6.3.5", "vite-plugin-monaco-editor": "^1.1.0", diff --git a/clash-verge-rev/pnpm-lock.yaml b/clash-verge-rev/pnpm-lock.yaml index 852c8ae533..8b9b1571fa 100644 --- a/clash-verge-rev/pnpm-lock.yaml +++ b/clash-verge-rev/pnpm-lock.yaml @@ -19,25 +19,25 @@ importers: version: 3.2.2(react@19.1.0) '@emotion/react': specifier: ^11.14.0 - version: 11.14.0(@types/react@19.1.6)(react@19.1.0) + version: 11.14.0(@types/react@19.1.8)(react@19.1.0) '@emotion/styled': specifier: ^11.14.0 - version: 11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) + version: 11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) '@juggle/resize-observer': specifier: ^3.4.0 version: 3.4.0 '@mui/icons-material': specifier: ^7.1.1 - version: 7.1.1(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) + version: 7.1.1(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) '@mui/lab': specifier: 7.0.0-beta.13 - version: 7.0.0-beta.13(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + version: 7.0.0-beta.13(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) '@mui/material': specifier: ^7.1.1 - version: 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + version: 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) '@mui/x-data-grid': specifier: ^8.5.1 - version: 8.5.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + version: 8.5.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) '@tauri-apps/api': specifier: 2.5.0 version: 2.5.0 @@ -93,8 +93,8 @@ importers: specifier: 1.11.13 version: 1.11.13 foxact: - specifier: ^0.2.45 - version: 0.2.45(react@19.1.0) + specifier: ^0.2.49 + version: 0.2.49(react@19.1.0) glob: specifier: ^11.0.2 version: 11.0.2 @@ -142,7 +142,7 @@ importers: version: 15.5.2(i18next@25.2.1(typescript@5.8.3))(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) react-markdown: specifier: 10.1.0 - version: 10.1.0(@types/react@19.1.6)(react@19.1.0) + version: 10.1.0(@types/react@19.1.8)(react@19.1.0) react-monaco-editor: specifier: 0.58.0 version: 0.58.0(monaco-editor@0.52.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) @@ -166,7 +166,7 @@ importers: version: 1.0.3 zustand: specifier: ^5.0.5 - version: 5.0.5(@types/react@19.1.6)(react@19.1.0)(use-sync-external-store@1.5.0(react@19.1.0)) + version: 5.0.5(@types/react@19.1.8)(react@19.1.0)(use-sync-external-store@1.5.0(react@19.1.0)) devDependencies: '@actions/github': specifier: ^6.0.1 @@ -184,17 +184,17 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@types/react': - specifier: 19.1.6 - version: 19.1.6 + specifier: 19.1.8 + version: 19.1.8 '@types/react-dom': specifier: 19.1.6 - version: 19.1.6(@types/react@19.1.6) + version: 19.1.6(@types/react@19.1.8) '@vitejs/plugin-legacy': specifier: ^6.1.1 - version: 6.1.1(terser@5.41.0)(vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1)) + version: 6.1.1(terser@5.42.0)(vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1)) '@vitejs/plugin-react': - specifier: 4.5.1 - version: 4.5.1(vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1)) + specifier: 4.5.2 + version: 4.5.2(vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1)) adm-zip: specifier: ^0.5.16 version: 0.5.16 @@ -223,23 +223,23 @@ importers: specifier: ^4.2.2 version: 4.2.2(prettier@3.5.3) sass: - specifier: ^1.89.1 - version: 1.89.1 + specifier: ^1.89.2 + version: 1.89.2 terser: - specifier: ^5.41.0 - version: 5.41.0 + specifier: ^5.42.0 + version: 5.42.0 typescript: specifier: ^5.8.3 version: 5.8.3 vite: specifier: ^6.3.5 - version: 6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1) + version: 6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1) vite-plugin-monaco-editor: specifier: ^1.1.0 version: 1.1.0(monaco-editor@0.52.2) vite-plugin-svgr: specifier: ^4.3.0 - version: 4.3.0(rollup@4.40.2)(typescript@5.8.3)(vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1)) + version: 4.3.0(rollup@4.40.2)(typescript@5.8.3)(vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1)) packages: @@ -261,12 +261,12 @@ packages: resolution: {integrity: sha512-TUtMJYRPyUb/9aU8f3K0mjmjf6M9N5Woshn2CS6nqJSeJtTtQcpLUXjGt9vbF8ZGff0El99sWkLgzwW3VXnxZQ==} engines: {node: '>=6.9.0'} - '@babel/core@7.27.1': - resolution: {integrity: sha512-IaaGWsQqfsQWVLqMn9OB92MNN7zukfVA4s7KKAI0KfrrDsZ0yhi5uV4baBuLuN7n3vsZpwP8asPPcVwApxvjBQ==} + '@babel/core@7.27.4': + resolution: {integrity: sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g==} engines: {node: '>=6.9.0'} - '@babel/generator@7.27.1': - resolution: {integrity: sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w==} + '@babel/generator@7.27.5': + resolution: {integrity: sha512-ZGhA37l0e/g2s1Cnzdix0O3aLYm66eF8aufiVteOgnwxgnRP8GoyMj7VWsgWnQbVKXyge7hqrFh2K2TQM6t1Hw==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.27.1': @@ -302,8 +302,8 @@ packages: resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==} engines: {node: '>=6.9.0'} - '@babel/helper-module-transforms@7.27.1': - resolution: {integrity: sha512-9yHn519/8KvTU5BjTVEEeIM3w9/2yXNKoD82JifINImhpKkARMJKPP59kLo+BafpdN5zgNeIcS4jsGDmd3l58g==} + '@babel/helper-module-transforms@7.27.3': + resolution: {integrity: sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -348,12 +348,12 @@ packages: resolution: {integrity: sha512-NFJK2sHUvrjo8wAU/nQTWU890/zB2jj0qBcCbZbbf+005cAsv6tMjXz31fBign6M5ov1o0Bllu+9nbqkfsjjJQ==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.27.1': - resolution: {integrity: sha512-FCvFTm0sWV8Fxhpp2McP5/W53GPllQ9QeQ7SiqGWjMf/LVG07lFa5+pgK05IRhVwtvafT22KF+ZSnM9I545CvQ==} + '@babel/helpers@7.27.6': + resolution: {integrity: sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==} engines: {node: '>=6.9.0'} - '@babel/parser@7.27.2': - resolution: {integrity: sha512-QYLs8299NA7WM/bZAdp+CviYYkVoYXlDW2rzliy3chxd1PQjej7JORuMJDJXJUb9g0TT+B99EwaVLKmX+sPXWw==} + '@babel/parser@7.27.5': + resolution: {integrity: sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==} engines: {node: '>=6.0.0'} hasBin: true @@ -742,12 +742,12 @@ packages: resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.27.1': - resolution: {integrity: sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg==} + '@babel/traverse@7.27.4': + resolution: {integrity: sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA==} engines: {node: '>=6.9.0'} - '@babel/types@7.27.1': - resolution: {integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==} + '@babel/types@7.27.6': + resolution: {integrity: sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==} engines: {node: '>=6.9.0'} '@dnd-kit/accessibility@3.1.1': @@ -1291,8 +1291,8 @@ packages: '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} - '@rolldown/pluginutils@1.0.0-beta.9': - resolution: {integrity: sha512-e9MeMtVWo186sgvFFJOPGy7/d2j2mZhLJIdVW0C/xDluuOvymEATqz6zKsP0ZmXGzQtqlyjz5sC1sYQUoJG98w==} + '@rolldown/pluginutils@1.0.0-beta.11': + resolution: {integrity: sha512-L/gAA/hyCSuzTF1ftlzUSI/IKr2POHsv1Dd78GfqkR83KMNuswWD61JxGV2L7nRwBBBSDr6R1gCkdTmoN7W4ag==} '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} @@ -1639,8 +1639,8 @@ packages: peerDependencies: '@types/react': '*' - '@types/react@19.1.6': - resolution: {integrity: sha512-JeG0rEWak0N6Itr6QUx+X60uQmN+5t3j9r/OVDtWzFXKaj6kD1BwJzOksD0FF6iWxZlbE1kB0q9vtnU2ekqa1Q==} + '@types/react@19.1.8': + resolution: {integrity: sha512-AwAfQ2Wa5bCx9WP8nZL2uMZWod7J7/JSplxbTmBQ5ms6QpqNYm672H0Vu9ZVKVngQ+ii4R/byguVEUZQyeg44g==} '@types/unist@2.0.11': resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} @@ -1658,11 +1658,11 @@ packages: terser: ^5.16.0 vite: ^6.0.0 - '@vitejs/plugin-react@4.5.1': - resolution: {integrity: sha512-uPZBqSI0YD4lpkIru6M35sIfylLGTyhGHvDZbNLuMA73lMlwJKz5xweH7FajfcCAc2HnINciejA9qTz0dr0M7A==} + '@vitejs/plugin-react@4.5.2': + resolution: {integrity: sha512-QNVT3/Lxx99nMQWJWF7K4N6apUEuT0KlZA3mx/mVaoGj3smm/8rc8ezz15J1pcbcjDK0V15rpHetVfya08r76Q==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^4.2.0 || ^5.0.0 || ^6.0.0 + vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0 acorn@8.14.1: resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} @@ -2058,8 +2058,8 @@ packages: resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} engines: {node: '>=12.20.0'} - foxact@0.2.45: - resolution: {integrity: sha512-pizJ+4hlSxs+mZKjJxhcwzY1uR4/7paZGgU/NQLrzY6Q0wa8RBZvhOxzg/HzXRAcglTt2y6DlIqPn85cTNdmcg==} + foxact@0.2.49: + resolution: {integrity: sha512-9Pbu4IbkaNqtS/H4887/QWegclMpBn54mzbPp3t1mg0iJuB83jpQGBY2fshal50NmchlAFIT/GSWBFsa0YI31Q==} peerDependencies: react: '*' peerDependenciesMeta: @@ -2699,8 +2699,8 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - sass@1.89.1: - resolution: {integrity: sha512-eMLLkl+qz7tx/0cJ9wI+w09GQ2zodTkcE/aVfywwdlRcI3EO19xGnbmJwg/JMIm+5MxVJ6outddLZ4Von4E++Q==} + sass@1.89.2: + resolution: {integrity: sha512-xCmtksBKd/jdJ9Bt9p7nPKiuqrlBMBuuGkQlkhZjjQk3Ty48lv93k5Dq6OPkKt4XwxDJ7tvlfrTa1MPA9bf+QA==} engines: {node: '>=14.0.0'} hasBin: true @@ -2813,8 +2813,8 @@ packages: resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==} engines: {node: '>=18'} - terser@5.41.0: - resolution: {integrity: sha512-H406eLPXpZbAX14+B8psIuvIr8+3c+2hkuYzpMkoE0ij+NdsVATbA78vb8neA/eqrj7rywa2pIkdmWRsXW6wmw==} + terser@5.42.0: + resolution: {integrity: sha512-UYCvU9YQW2f/Vwl+P0GfhxJxbUGLwd+5QrrGgLajzWAtC/23AX0vcise32kkP7Eu0Wu9VlzzHAXkLObgjQfFlQ==} engines: {node: '>=10'} hasBin: true @@ -3072,18 +3072,18 @@ snapshots: '@babel/compat-data@7.27.2': {} - '@babel/core@7.27.1': + '@babel/core@7.27.4': dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.27.1 - '@babel/generator': 7.27.1 + '@babel/generator': 7.27.5 '@babel/helper-compilation-targets': 7.27.2 - '@babel/helper-module-transforms': 7.27.1(@babel/core@7.27.1) - '@babel/helpers': 7.27.1 - '@babel/parser': 7.27.2 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.4) + '@babel/helpers': 7.27.6 + '@babel/parser': 7.27.5 '@babel/template': 7.27.2 - '@babel/traverse': 7.27.1 - '@babel/types': 7.27.1 + '@babel/traverse': 7.27.4 + '@babel/types': 7.27.6 convert-source-map: 2.0.0 debug: 4.4.1 gensync: 1.0.0-beta.2 @@ -3092,17 +3092,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.27.1': + '@babel/generator@7.27.5': dependencies: - '@babel/parser': 7.27.2 - '@babel/types': 7.27.1 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 '@jridgewell/gen-mapping': 0.3.8 '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.1.0 '@babel/helper-annotate-as-pure@7.27.1': dependencies: - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 '@babel/helper-compilation-targets@7.27.2': dependencies: @@ -3112,29 +3112,29 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.27.1(@babel/core@7.27.1)': + '@babel/helper-create-class-features-plugin@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-annotate-as-pure': 7.27.1 '@babel/helper-member-expression-to-functions': 7.27.1 '@babel/helper-optimise-call-expression': 7.27.1 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.1) + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.4) '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/helper-create-regexp-features-plugin@7.27.1(@babel/core@7.27.1)': + '@babel/helper-create-regexp-features-plugin@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-annotate-as-pure': 7.27.1 regexpu-core: 6.2.0 semver: 6.3.1 - '@babel/helper-define-polyfill-provider@0.6.4(@babel/core@7.27.1)': + '@babel/helper-define-polyfill-provider@0.6.4(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 debug: 4.4.1 @@ -3145,55 +3145,55 @@ snapshots: '@babel/helper-member-expression-to-functions@7.27.1': dependencies: - '@babel/traverse': 7.27.1 - '@babel/types': 7.27.1 + '@babel/traverse': 7.27.4 + '@babel/types': 7.27.6 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.27.1': dependencies: - '@babel/traverse': 7.27.1 - '@babel/types': 7.27.1 + '@babel/traverse': 7.27.4 + '@babel/types': 7.27.6 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.27.1(@babel/core@7.27.1)': + '@babel/helper-module-transforms@7.27.3(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-module-imports': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.27.1': dependencies: - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 '@babel/helper-plugin-utils@7.27.1': {} - '@babel/helper-remap-async-to-generator@7.27.1(@babel/core@7.27.1)': + '@babel/helper-remap-async-to-generator@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-annotate-as-pure': 7.27.1 '@babel/helper-wrap-function': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color - '@babel/helper-replace-supers@7.27.1(@babel/core@7.27.1)': + '@babel/helper-replace-supers@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-member-expression-to-functions': 7.27.1 '@babel/helper-optimise-call-expression': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.27.1': dependencies: - '@babel/traverse': 7.27.1 - '@babel/types': 7.27.1 + '@babel/traverse': 7.27.4 + '@babel/types': 7.27.6 transitivePeerDependencies: - supports-color @@ -3206,484 +3206,484 @@ snapshots: '@babel/helper-wrap-function@7.27.1': dependencies: '@babel/template': 7.27.2 - '@babel/traverse': 7.27.1 - '@babel/types': 7.27.1 + '@babel/traverse': 7.27.4 + '@babel/types': 7.27.6 transitivePeerDependencies: - supports-color - '@babel/helpers@7.27.1': + '@babel/helpers@7.27.6': dependencies: '@babel/template': 7.27.2 - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 - '@babel/parser@7.27.2': + '@babel/parser@7.27.5': dependencies: - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 - '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.27.1) + '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.27.4) transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.27.1)': + '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-syntax-import-assertions@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-syntax-import-attributes@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.27.1)': + '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-arrow-functions@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-async-generator-functions@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-async-generator-functions@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.1) - '@babel/traverse': 7.27.1 + '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.4) + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-async-to-generator@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-async-to-generator@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-module-imports': 7.27.1 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.1) + '@babel/helper-remap-async-to-generator': 7.27.1(@babel/core@7.27.4) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-block-scoped-functions@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-block-scoping@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-block-scoping@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-class-properties@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-class-static-block@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-class-static-block@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-classes@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-classes@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-annotate-as-pure': 7.27.1 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.1) - '@babel/traverse': 7.27.1 + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.4) + '@babel/traverse': 7.27.4 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-computed-properties@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/template': 7.27.2 - '@babel/plugin-transform-destructuring@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-destructuring@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-dotall-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-duplicate-keys@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-duplicate-keys@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-dynamic-import@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-dynamic-import@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-exponentiation-operator@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-exponentiation-operator@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-export-namespace-from@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-export-namespace-from@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-for-of@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-function-name@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-function-name@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-json-strings@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-json-strings@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-literals@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-literals@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-logical-assignment-operators@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-logical-assignment-operators@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-member-expression-literals@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-modules-amd@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-modules-amd@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-module-transforms': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-modules-commonjs@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-module-transforms': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-systemjs@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-modules-systemjs@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-module-transforms': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 - '@babel/traverse': 7.27.1 + '@babel/traverse': 7.27.4 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-umd@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-modules-umd@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-module-transforms': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-module-transforms': 7.27.3(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-named-capturing-groups-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-named-capturing-groups-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-new-target@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-new-target@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-nullish-coalescing-operator@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-numeric-separator@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-numeric-separator@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-object-rest-spread@7.27.2(@babel/core@7.27.1)': + '@babel/plugin-transform-object-rest-spread@7.27.2(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-destructuring': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.1) + '@babel/plugin-transform-destructuring': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.4) - '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-object-super@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.1) + '@babel/helper-replace-supers': 7.27.1(@babel/core@7.27.4) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-optional-catch-binding@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-optional-catch-binding@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-optional-chaining@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-optional-chaining@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-parameters@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-parameters@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-private-methods@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-private-property-in-object@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-private-property-in-object@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-annotate-as-pure': 7.27.1 - '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/helper-create-class-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-property-literals@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-regenerator@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-regenerator@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-regexp-modifiers@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-regexp-modifiers@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-reserved-words@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-reserved-words@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-shorthand-properties@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-spread@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-spread@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-skip-transparent-expression-wrappers': 7.27.1 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-sticky-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-sticky-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-template-literals@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-typeof-symbol@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-typeof-symbol@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-unicode-escapes@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-unicode-escapes@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-unicode-property-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-unicode-property-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-unicode-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-unicode-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/plugin-transform-unicode-sets-regex@7.27.1(@babel/core@7.27.1)': + '@babel/plugin-transform-unicode-sets-regex@7.27.1(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-create-regexp-features-plugin': 7.27.1(@babel/core@7.27.4) '@babel/helper-plugin-utils': 7.27.1 - '@babel/preset-env@7.27.2(@babel/core@7.27.1)': + '@babel/preset-env@7.27.2(@babel/core@7.27.4)': dependencies: '@babel/compat-data': 7.27.2 - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 '@babel/helper-validator-option': 7.27.1 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.27.1) - '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.27.1) - '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-async-generator-functions': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-block-scoping': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-class-static-block': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-classes': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-destructuring': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-dynamic-import': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-exponentiation-operator': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-export-namespace-from': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-json-strings': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-modules-amd': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-modules-umd': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-new-target': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-object-rest-spread': 7.27.2(@babel/core@7.27.1) - '@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-regenerator': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-regexp-modifiers': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-reserved-words': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-unicode-property-regex': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-unicode-sets-regex': 7.27.1(@babel/core@7.27.1) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.27.1) - babel-plugin-polyfill-corejs2: 0.4.13(@babel/core@7.27.1) - babel-plugin-polyfill-corejs3: 0.11.1(@babel/core@7.27.1) - babel-plugin-polyfill-regenerator: 0.6.4(@babel/core@7.27.1) + '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.27.4) + '@babel/plugin-syntax-import-assertions': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-syntax-import-attributes': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.27.4) + '@babel/plugin-transform-arrow-functions': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-async-generator-functions': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-async-to-generator': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-block-scoped-functions': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-block-scoping': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-class-static-block': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-classes': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-computed-properties': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-destructuring': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-dotall-regex': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-duplicate-keys': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-dynamic-import': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-exponentiation-operator': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-export-namespace-from': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-for-of': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-function-name': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-json-strings': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-literals': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-logical-assignment-operators': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-member-expression-literals': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-modules-amd': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-modules-systemjs': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-modules-umd': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-named-capturing-groups-regex': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-new-target': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-numeric-separator': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-object-rest-spread': 7.27.2(@babel/core@7.27.4) + '@babel/plugin-transform-object-super': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-optional-catch-binding': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-optional-chaining': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-parameters': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-private-methods': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-private-property-in-object': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-property-literals': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-regenerator': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-regexp-modifiers': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-reserved-words': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-shorthand-properties': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-spread': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-sticky-regex': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-template-literals': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-typeof-symbol': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-unicode-escapes': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-unicode-property-regex': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-unicode-sets-regex': 7.27.1(@babel/core@7.27.4) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.27.4) + babel-plugin-polyfill-corejs2: 0.4.13(@babel/core@7.27.4) + babel-plugin-polyfill-corejs3: 0.11.1(@babel/core@7.27.4) + babel-plugin-polyfill-regenerator: 0.6.4(@babel/core@7.27.4) core-js-compat: 3.42.0 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.27.1)': + '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 '@babel/helper-plugin-utils': 7.27.1 - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 esutils: 2.0.3 '@babel/runtime@7.27.6': {} @@ -3691,22 +3691,22 @@ snapshots: '@babel/template@7.27.2': dependencies: '@babel/code-frame': 7.27.1 - '@babel/parser': 7.27.2 - '@babel/types': 7.27.1 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 - '@babel/traverse@7.27.1': + '@babel/traverse@7.27.4': dependencies: '@babel/code-frame': 7.27.1 - '@babel/generator': 7.27.1 - '@babel/parser': 7.27.2 + '@babel/generator': 7.27.5 + '@babel/parser': 7.27.5 '@babel/template': 7.27.2 - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 debug: 4.4.1 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/types@7.27.1': + '@babel/types@7.27.6': dependencies: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 @@ -3768,7 +3768,7 @@ snapshots: '@emotion/memoize@0.9.0': {} - '@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0)': + '@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 '@emotion/babel-plugin': 11.13.5 @@ -3780,7 +3780,7 @@ snapshots: hoist-non-react-statics: 3.3.2 react: 19.1.0 optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 transitivePeerDependencies: - supports-color @@ -3794,18 +3794,18 @@ snapshots: '@emotion/sheet@1.4.0': {} - '@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0)': + '@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 '@emotion/babel-plugin': 11.13.5 '@emotion/is-prop-valid': 1.3.1 - '@emotion/react': 11.14.0(@types/react@19.1.6)(react@19.1.0) + '@emotion/react': 11.14.0(@types/react@19.1.8)(react@19.1.0) '@emotion/serialize': 1.3.3 '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.1.0) '@emotion/utils': 1.4.2 react: 19.1.0 optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 transitivePeerDependencies: - supports-color @@ -3937,39 +3937,39 @@ snapshots: '@mui/core-downloads-tracker@7.1.1': {} - '@mui/icons-material@7.1.1(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.6)(react@19.1.0)': + '@mui/icons-material@7.1.1(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/material': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@mui/material': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) react: 19.1.0 optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 - '@mui/lab@7.0.0-beta.13(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + '@mui/lab@7.0.0-beta.13(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/material': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) - '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@mui/types': 7.4.3(@types/react@19.1.6) - '@mui/utils': 7.1.1(@types/react@19.1.6)(react@19.1.0) + '@mui/material': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@mui/types': 7.4.3(@types/react@19.1.8) + '@mui/utils': 7.1.1(@types/react@19.1.8)(react@19.1.0) clsx: 2.1.1 prop-types: 15.8.1 react: 19.1.0 react-dom: 19.1.0(react@19.1.0) optionalDependencies: - '@emotion/react': 11.14.0(@types/react@19.1.6)(react@19.1.0) - '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@types/react': 19.1.6 + '@emotion/react': 11.14.0(@types/react@19.1.8)(react@19.1.0) + '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@types/react': 19.1.8 - '@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + '@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 '@mui/core-downloads-tracker': 7.1.1 - '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@mui/types': 7.4.3(@types/react@19.1.6) - '@mui/utils': 7.1.1(@types/react@19.1.6)(react@19.1.0) + '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@mui/types': 7.4.3(@types/react@19.1.8) + '@mui/utils': 7.1.1(@types/react@19.1.8)(react@19.1.0) '@popperjs/core': 2.11.8 - '@types/react-transition-group': 4.4.12(@types/react@19.1.6) + '@types/react-transition-group': 4.4.12(@types/react@19.1.8) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 @@ -3978,20 +3978,20 @@ snapshots: react-is: 19.1.0 react-transition-group: 4.4.5(react-dom@19.1.0(react@19.1.0))(react@19.1.0) optionalDependencies: - '@emotion/react': 11.14.0(@types/react@19.1.6)(react@19.1.0) - '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@types/react': 19.1.6 + '@emotion/react': 11.14.0(@types/react@19.1.8)(react@19.1.0) + '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@types/react': 19.1.8 - '@mui/private-theming@7.1.1(@types/react@19.1.6)(react@19.1.0)': + '@mui/private-theming@7.1.1(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/utils': 7.1.1(@types/react@19.1.6)(react@19.1.0) + '@mui/utils': 7.1.1(@types/react@19.1.8)(react@19.1.0) prop-types: 15.8.1 react: 19.1.0 optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 - '@mui/styled-engine@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(react@19.1.0)': + '@mui/styled-engine@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 '@emotion/cache': 11.14.0 @@ -4001,50 +4001,50 @@ snapshots: prop-types: 15.8.1 react: 19.1.0 optionalDependencies: - '@emotion/react': 11.14.0(@types/react@19.1.6)(react@19.1.0) - '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) + '@emotion/react': 11.14.0(@types/react@19.1.8)(react@19.1.0) + '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) - '@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0)': + '@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/private-theming': 7.1.1(@types/react@19.1.6)(react@19.1.0) - '@mui/styled-engine': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(react@19.1.0) - '@mui/types': 7.4.3(@types/react@19.1.6) - '@mui/utils': 7.1.1(@types/react@19.1.6)(react@19.1.0) + '@mui/private-theming': 7.1.1(@types/react@19.1.8)(react@19.1.0) + '@mui/styled-engine': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) + '@mui/types': 7.4.3(@types/react@19.1.8) + '@mui/utils': 7.1.1(@types/react@19.1.8)(react@19.1.0) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 react: 19.1.0 optionalDependencies: - '@emotion/react': 11.14.0(@types/react@19.1.6)(react@19.1.0) - '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@types/react': 19.1.6 + '@emotion/react': 11.14.0(@types/react@19.1.8)(react@19.1.0) + '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@types/react': 19.1.8 - '@mui/types@7.4.3(@types/react@19.1.6)': + '@mui/types@7.4.3(@types/react@19.1.8)': dependencies: '@babel/runtime': 7.27.6 optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 - '@mui/utils@7.1.1(@types/react@19.1.6)(react@19.1.0)': + '@mui/utils@7.1.1(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/types': 7.4.3(@types/react@19.1.6) + '@mui/types': 7.4.3(@types/react@19.1.8) '@types/prop-types': 15.7.14 clsx: 2.1.1 prop-types: 15.8.1 react: 19.1.0 react-is: 19.1.0 optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 - '@mui/x-data-grid@8.5.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + '@mui/x-data-grid@8.5.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@mui/material@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/material': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) - '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@mui/utils': 7.1.1(@types/react@19.1.6)(react@19.1.0) - '@mui/x-internals': 8.5.1(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) + '@mui/material': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@mui/utils': 7.1.1(@types/react@19.1.8)(react@19.1.0) + '@mui/x-internals': 8.5.1(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) clsx: 2.1.1 prop-types: 15.8.1 react: 19.1.0 @@ -4052,16 +4052,16 @@ snapshots: reselect: 5.1.1 use-sync-external-store: 1.5.0(react@19.1.0) optionalDependencies: - '@emotion/react': 11.14.0(@types/react@19.1.6)(react@19.1.0) - '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) + '@emotion/react': 11.14.0(@types/react@19.1.8)(react@19.1.0) + '@emotion/styled': 11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) transitivePeerDependencies: - '@types/react' - '@mui/x-internals@8.5.1(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0)': + '@mui/x-internals@8.5.1(@mui/system@7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0)': dependencies: '@babel/runtime': 7.27.6 - '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0))(@types/react@19.1.6)(react@19.1.0) - '@mui/utils': 7.1.1(@types/react@19.1.6)(react@19.1.0) + '@mui/system': 7.1.1(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@emotion/styled@11.14.0(@emotion/react@11.14.0(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0))(@types/react@19.1.8)(react@19.1.0) + '@mui/utils': 7.1.1(@types/react@19.1.8)(react@19.1.0) react: 19.1.0 transitivePeerDependencies: - '@types/react' @@ -4193,7 +4193,7 @@ snapshots: '@popperjs/core@2.11.8': {} - '@rolldown/pluginutils@1.0.0-beta.9': {} + '@rolldown/pluginutils@1.0.0-beta.11': {} '@rollup/pluginutils@5.1.4(rollup@4.40.2)': dependencies: @@ -4263,54 +4263,54 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.40.2': optional: true - '@svgr/babel-plugin-add-jsx-attribute@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-add-jsx-attribute@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-remove-jsx-attribute@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-remove-jsx-attribute@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-replace-jsx-attribute-value@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-replace-jsx-attribute-value@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-svg-dynamic-title@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-svg-dynamic-title@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-svg-em-dimensions@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-svg-em-dimensions@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-transform-react-native-svg@8.1.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-transform-react-native-svg@8.1.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-plugin-transform-svg-component@8.0.0(@babel/core@7.27.1)': + '@svgr/babel-plugin-transform-svg-component@8.0.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 + '@babel/core': 7.27.4 - '@svgr/babel-preset@8.1.0(@babel/core@7.27.1)': + '@svgr/babel-preset@8.1.0(@babel/core@7.27.4)': dependencies: - '@babel/core': 7.27.1 - '@svgr/babel-plugin-add-jsx-attribute': 8.0.0(@babel/core@7.27.1) - '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/core@7.27.1) - '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/core@7.27.1) - '@svgr/babel-plugin-replace-jsx-attribute-value': 8.0.0(@babel/core@7.27.1) - '@svgr/babel-plugin-svg-dynamic-title': 8.0.0(@babel/core@7.27.1) - '@svgr/babel-plugin-svg-em-dimensions': 8.0.0(@babel/core@7.27.1) - '@svgr/babel-plugin-transform-react-native-svg': 8.1.0(@babel/core@7.27.1) - '@svgr/babel-plugin-transform-svg-component': 8.0.0(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@svgr/babel-plugin-add-jsx-attribute': 8.0.0(@babel/core@7.27.4) + '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/core@7.27.4) + '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/core@7.27.4) + '@svgr/babel-plugin-replace-jsx-attribute-value': 8.0.0(@babel/core@7.27.4) + '@svgr/babel-plugin-svg-dynamic-title': 8.0.0(@babel/core@7.27.4) + '@svgr/babel-plugin-svg-em-dimensions': 8.0.0(@babel/core@7.27.4) + '@svgr/babel-plugin-transform-react-native-svg': 8.1.0(@babel/core@7.27.4) + '@svgr/babel-plugin-transform-svg-component': 8.0.0(@babel/core@7.27.4) '@svgr/core@8.1.0(typescript@5.8.3)': dependencies: - '@babel/core': 7.27.1 - '@svgr/babel-preset': 8.1.0(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@svgr/babel-preset': 8.1.0(@babel/core@7.27.4) camelcase: 6.3.0 cosmiconfig: 8.3.6(typescript@5.8.3) snake-case: 3.0.4 @@ -4320,13 +4320,13 @@ snapshots: '@svgr/hast-util-to-babel-ast@8.0.0': dependencies: - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 entities: 4.5.0 '@svgr/plugin-jsx@8.1.0(@svgr/core@8.1.0(typescript@5.8.3))': dependencies: - '@babel/core': 7.27.1 - '@svgr/babel-preset': 8.1.0(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@svgr/babel-preset': 8.1.0(@babel/core@7.27.4) '@svgr/core': 8.1.0(typescript@5.8.3) '@svgr/hast-util-to-babel-ast': 8.0.0 svg-parser: 2.0.4 @@ -4420,24 +4420,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.27.2 - '@babel/types': 7.27.1 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 '@types/babel__generator': 7.27.0 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.7 '@types/babel__generator@7.27.0': dependencies: - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.27.2 - '@babel/types': 7.27.1 + '@babel/parser': 7.27.5 + '@babel/types': 7.27.6 '@types/babel__traverse@7.20.7': dependencies: - '@babel/types': 7.27.1 + '@babel/types': 7.27.6 '@types/d3-path@3.1.1': {} @@ -4481,15 +4481,15 @@ snapshots: '@types/prop-types@15.7.14': {} - '@types/react-dom@19.1.6(@types/react@19.1.6)': + '@types/react-dom@19.1.6(@types/react@19.1.8)': dependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 - '@types/react-transition-group@4.4.12(@types/react@19.1.6)': + '@types/react-transition-group@4.4.12(@types/react@19.1.8)': dependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 - '@types/react@19.1.6': + '@types/react@19.1.8': dependencies: csstype: 3.1.3 @@ -4499,30 +4499,30 @@ snapshots: '@ungap/structured-clone@1.3.0': {} - '@vitejs/plugin-legacy@6.1.1(terser@5.41.0)(vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1))': + '@vitejs/plugin-legacy@6.1.1(terser@5.42.0)(vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1))': dependencies: - '@babel/core': 7.27.1 - '@babel/preset-env': 7.27.2(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/preset-env': 7.27.2(@babel/core@7.27.4) browserslist: 4.24.5 browserslist-to-esbuild: 2.1.1(browserslist@4.24.5) core-js: 3.42.0 magic-string: 0.30.17 regenerator-runtime: 0.14.1 systemjs: 6.15.1 - terser: 5.41.0 - vite: 6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1) + terser: 5.42.0 + vite: 6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.5.1(vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1))': + '@vitejs/plugin-react@4.5.2(vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1))': dependencies: - '@babel/core': 7.27.1 - '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.27.1) - '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.27.1) - '@rolldown/pluginutils': 1.0.0-beta.9 + '@babel/core': 7.27.4 + '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.27.4) + '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.27.4) + '@rolldown/pluginutils': 1.0.0-beta.11 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 - vite: 6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1) + vite: 6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1) transitivePeerDependencies: - supports-color @@ -4573,27 +4573,27 @@ snapshots: cosmiconfig: 7.1.0 resolve: 1.22.10 - babel-plugin-polyfill-corejs2@0.4.13(@babel/core@7.27.1): + babel-plugin-polyfill-corejs2@0.4.13(@babel/core@7.27.4): dependencies: '@babel/compat-data': 7.27.2 - '@babel/core': 7.27.1 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.4) semver: 6.3.1 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.11.1(@babel/core@7.27.1): + babel-plugin-polyfill-corejs3@0.11.1(@babel/core@7.27.4): dependencies: - '@babel/core': 7.27.1 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.4) core-js-compat: 3.42.0 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.4(@babel/core@7.27.1): + babel-plugin-polyfill-regenerator@0.6.4(@babel/core@7.27.4): dependencies: - '@babel/core': 7.27.1 - '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.1) + '@babel/core': 7.27.4 + '@babel/helper-define-polyfill-provider': 0.6.4(@babel/core@7.27.4) transitivePeerDependencies: - supports-color @@ -4922,7 +4922,7 @@ snapshots: dependencies: fetch-blob: 3.2.0 - foxact@0.2.45(react@19.1.0): + foxact@0.2.49(react@19.1.0): dependencies: client-only: 0.0.1 server-only: 0.0.1 @@ -5574,11 +5574,11 @@ snapshots: react-is@19.1.0: {} - react-markdown@10.1.0(@types/react@19.1.6)(react@19.1.0): + react-markdown@10.1.0(@types/react@19.1.8)(react@19.1.0): dependencies: '@types/hast': 3.0.4 '@types/mdast': 4.0.4 - '@types/react': 19.1.6 + '@types/react': 19.1.8 devlop: 1.1.0 hast-util-to-jsx-runtime: 2.3.6 html-url-attributes: 3.0.1 @@ -5710,7 +5710,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.40.2 fsevents: 2.3.3 - sass@1.89.1: + sass@1.89.2: dependencies: chokidar: 4.0.3 immutable: 5.1.2 @@ -5816,7 +5816,7 @@ snapshots: mkdirp: 3.0.1 yallist: 5.0.0 - terser@5.41.0: + terser@5.42.0: dependencies: '@jridgewell/source-map': 0.3.6 acorn: 8.14.1 @@ -5928,18 +5928,18 @@ snapshots: dependencies: monaco-editor: 0.52.2 - vite-plugin-svgr@4.3.0(rollup@4.40.2)(typescript@5.8.3)(vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1)): + vite-plugin-svgr@4.3.0(rollup@4.40.2)(typescript@5.8.3)(vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1)): dependencies: '@rollup/pluginutils': 5.1.4(rollup@4.40.2) '@svgr/core': 8.1.0(typescript@5.8.3) '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.8.3)) - vite: 6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1) + vite: 6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1) transitivePeerDependencies: - rollup - supports-color - typescript - vite@6.3.5(sass@1.89.1)(terser@5.41.0)(yaml@2.7.1): + vite@6.3.5(sass@1.89.2)(terser@5.42.0)(yaml@2.7.1): dependencies: esbuild: 0.25.4 fdir: 6.4.4(picomatch@4.0.2) @@ -5949,8 +5949,8 @@ snapshots: tinyglobby: 0.2.13 optionalDependencies: fsevents: 2.3.3 - sass: 1.89.1 - terser: 5.41.0 + sass: 1.89.2 + terser: 5.42.0 yaml: 2.7.1 void-elements@3.1.0: {} @@ -5996,9 +5996,9 @@ snapshots: yaml@2.7.1: {} - zustand@5.0.5(@types/react@19.1.6)(react@19.1.0)(use-sync-external-store@1.5.0(react@19.1.0)): + zustand@5.0.5(@types/react@19.1.8)(react@19.1.0)(use-sync-external-store@1.5.0(react@19.1.0)): optionalDependencies: - '@types/react': 19.1.6 + '@types/react': 19.1.8 react: 19.1.0 use-sync-external-store: 1.5.0(react@19.1.0) diff --git a/clash-verge-rev/scripts/release-version.mjs b/clash-verge-rev/scripts/release-version.mjs index 13314265ae..0bff85aed8 100644 --- a/clash-verge-rev/scripts/release-version.mjs +++ b/clash-verge-rev/scripts/release-version.mjs @@ -28,19 +28,35 @@ import fs from "fs/promises"; import path from "path"; import { program } from "commander"; +import { execSync } from "child_process"; /** - * 生成短时间戳(格式:YYMMDDHHMM) + * 获取当前 git 短 commit hash * @returns {string} */ -function generateShortTimestamp() { +function getGitShortCommit() { + try { + return execSync("git rev-parse --short HEAD").toString().trim(); + } catch (e) { + console.warn("[WARN]: Failed to get git short commit, fallback to 'nogit'"); + return "nogit"; + } +} + +/** + * 生成短时间戳(格式:YYMMDD)或带 commit(格式:YYMMDD.cc39b27) + * @param {boolean} withCommit 是否带 commit + * @returns {string} + */ +function generateShortTimestamp(withCommit = false) { const now = new Date(); - const year = String(now.getFullYear()).slice(-2); const month = String(now.getMonth() + 1).padStart(2, "0"); const day = String(now.getDate()).padStart(2, "0"); - const hours = String(now.getHours()).padStart(2, "0"); - const minutes = String(now.getMinutes()).padStart(2, "0"); - return `${year}${month}${day}${hours}${minutes}`; + if (withCommit) { + const gitShort = getGitShortCommit(); + return `${month}${day}.${gitShort}`; + } + return `${month}${day}`; } /** @@ -205,8 +221,8 @@ async function main(versionArg) { const baseVersion = getBaseVersion(currentVersion); if (versionArg.toLowerCase() === "autobuild") { - const timestamp = generateShortTimestamp(); - newVersion = `${baseVersion}+autobuild.${timestamp}`; + // 格式: 2.3.0+autobuild.250613.cc39b27 + newVersion = `${baseVersion}+autobuild.${generateShortTimestamp(true)}`; } else { newVersion = `${baseVersion}-${versionArg.toLowerCase()}`; } diff --git a/clash-verge-rev/src-tauri/Cargo.lock b/clash-verge-rev/src-tauri/Cargo.lock index 9db3b6f0c8..e79f7877b5 100644 --- a/clash-verge-rev/src-tauri/Cargo.lock +++ b/clash-verge-rev/src-tauri/Cargo.lock @@ -2926,7 +2926,7 @@ dependencies = [ "httpdate", "itoa 1.0.15", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.10", "tokio", "tower-service", "tracing", @@ -5739,9 +5739,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.19" +version = "0.12.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2f8e5513d63f2e5b386eb5106dc67eaf3f84e95258e210489136b8b92ad6119" +checksum = "eabf4c97d9130e2bf606614eb937e86edac8292eaa6f422f995d7e8de1eb1813" dependencies = [ "base64 0.22.1", "bytes", @@ -5758,12 +5758,10 @@ dependencies = [ "hyper-rustls", "hyper-tls", "hyper-util", - "ipnet", "js-sys", "log", "mime", "native-tls", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", diff --git a/clash-verge-rev/src-tauri/Cargo.toml b/clash-verge-rev/src-tauri/Cargo.toml index be32876341..d9c7d18bda 100755 --- a/clash-verge-rev/src-tauri/Cargo.toml +++ b/clash-verge-rev/src-tauri/Cargo.toml @@ -42,7 +42,7 @@ tokio = { version = "1.45.1", features = [ "sync", ] } serde = { version = "1.0.219", features = ["derive"] } -reqwest = { version = "0.12.19", features = ["json", "rustls-tls", "cookies"] } +reqwest = { version = "0.12.20", features = ["json", "rustls-tls", "cookies"] } regex = "1.11.1" sysproxy = { git = "https://github.com/clash-verge-rev/sysproxy-rs" } image = "0.25.6" diff --git a/clash-verge-rev/src-tauri/src/config/clash.rs b/clash-verge-rev/src-tauri/src/config/clash.rs index 5dbefdfdcc..2379b298d9 100644 --- a/clash-verge-rev/src-tauri/src/config/clash.rs +++ b/clash-verge-rev/src-tauri/src/config/clash.rs @@ -63,6 +63,8 @@ impl IClashTemp { vec![ "tauri://localhost", "http://tauri.localhost", + // Only enable this in dev mode + #[cfg(feature = "verge-dev")] "http://localhost:3000", "https://yacd.metacubex.one", "https://metacubex.github.io", @@ -103,6 +105,8 @@ impl IClashTemp { vec![ "tauri://localhost", "http://tauri.localhost", + // Only enable this in dev mode + #[cfg(feature = "verge-dev")] "http://localhost:3000", "https://yacd.metacubex.one", "https://metacubex.github.io", diff --git a/clash-verge-rev/src-tauri/src/core/hotkey.rs b/clash-verge-rev/src-tauri/src/core/hotkey.rs index aafaca35e3..b356ecde2d 100755 --- a/clash-verge-rev/src-tauri/src/core/hotkey.rs +++ b/clash-verge-rev/src-tauri/src/core/hotkey.rs @@ -153,30 +153,61 @@ impl Hotkey { "=== Hotkey Dashboard Window Operation Start ===" ); - // 使用 spawn_blocking 来确保在正确的线程上执行 - AsyncHandler::spawn_blocking(|| { - logging!(debug, Type::Hotkey, "Toggle dashboard window visibility"); + // 使用异步操作避免阻塞 + AsyncHandler::spawn(move || async move { + logging!( + debug, + Type::Hotkey, + true, + "Toggle dashboard window visibility" + ); // 检查窗口是否存在 if let Some(window) = handle::Handle::global().get_window() { - // 如果窗口可见,则隐藏它 - if window.is_visible().unwrap_or(false) { - logging!(info, Type::Window, "Window is visible, hiding it"); - let _ = window.hide(); - } else { - // 如果窗口不可见,则显示它 - logging!(info, Type::Window, "Window is hidden, showing it"); - if window.is_minimized().unwrap_or(false) { - let _ = window.unminimize(); + // 如果窗口可见,则隐藏 + match window.is_visible() { + Ok(visible) => { + if visible { + logging!( + info, + Type::Window, + true, + "Window is visible, hiding it" + ); + let _ = window.hide(); + } else { + // 如果窗口不可见,则显示 + logging!( + info, + Type::Window, + true, + "Window is hidden, showing it" + ); + if window.is_minimized().unwrap_or(false) { + let _ = window.unminimize(); + } + let _ = window.show(); + let _ = window.set_focus(); + } + } + Err(e) => { + logging!( + warn, + Type::Window, + true, + "Failed to check window visibility: {}", + e + ); + let _ = window.show(); + let _ = window.set_focus(); } - let _ = window.show(); - let _ = window.set_focus(); } } else { // 如果窗口不存在,创建一个新窗口 logging!( info, Type::Window, + true, "Window does not exist, creating a new one" ); resolve::create_window(true); diff --git a/clash-verge-rev/src-tauri/src/enhance/script.rs b/clash-verge-rev/src-tauri/src/enhance/script.rs index 98919794af..40789f07aa 100644 --- a/clash-verge-rev/src-tauri/src/enhance/script.rs +++ b/clash-verge-rev/src-tauri/src/enhance/script.rs @@ -33,37 +33,50 @@ pub fn use_script( } let _ = context.eval(Source::from_bytes( r#"var console = Object.freeze({ - log(data){__verge_log__("log",JSON.stringify(data))}, - info(data){__verge_log__("info",JSON.stringify(data))}, - error(data){__verge_log__("error",JSON.stringify(data))}, - debug(data){__verge_log__("debug",JSON.stringify(data))}, + log(data){__verge_log__("log",JSON.stringify(data, null, 2))}, + info(data){__verge_log__("info",JSON.stringify(data, null, 2))}, + error(data){__verge_log__("error",JSON.stringify(data, null, 2))}, + debug(data){__verge_log__("debug",JSON.stringify(data, null, 2))}, + warn(data){__verge_log__("warn",JSON.stringify(data, null, 2))}, + table(data){__verge_log__("table",JSON.stringify(data, null, 2))}, });"#, )); let config = use_lowercase(config.clone()); let config_str = serde_json::to_string(&config)?; + // 处理 name 参数中的特殊字符 + let safe_name = escape_js_string(&name); + let code = format!( r#"try{{ {script}; - JSON.stringify(main({config_str},'{name}')||'') + JSON.stringify(main({config_str},'{safe_name}')||'') }} catch(err) {{ `__error_flag__ ${{err.toString()}}` }}"# ); + if let Ok(result) = context.eval(Source::from_bytes(code.as_str())) { if !result.is_string() { anyhow::bail!("main function should return object"); } let result = result.to_string(&mut context).unwrap(); let result = result.to_std_string().unwrap(); - if result.starts_with("__error_flag__") { - anyhow::bail!(result[15..].to_owned()); + + // 处理 JS 执行结果中的特殊字符 + let unescaped_result = unescape_js_string(&result); + + if unescaped_result.starts_with("__error_flag__") { + anyhow::bail!(unescaped_result[15..].to_owned()); } - if result == "\"\"" { + if unescaped_result == "\"\"" { anyhow::bail!("main function should return object"); } - let res: Result = Ok(serde_json::from_str::(result.as_str())?); + + // 安全地解析 JSON 结果 + let res: Result = parse_json_safely(&unescaped_result); + let mut out = outputs.lock().unwrap(); match res { Ok(config) => Ok((use_lowercase(config), out.to_vec())), @@ -77,6 +90,74 @@ pub fn use_script( } } +// 解析 JSON 字符串,处理可能的转义字符 +fn parse_json_safely(json_str: &str) -> Result { + // 移除可能的引号包裹 + let json_str = if json_str.starts_with('"') && json_str.ends_with('"') { + &json_str[1..json_str.len() - 1] + } else { + json_str + }; + + // 处理可能的 JSON 字符串中的转义字符 + let json_str = json_str.replace("\\\"", "\""); + + Ok(serde_json::from_str::(&json_str)?) +} + +// 转义 JS 字符串中的特殊字符 +fn escape_js_string(s: &str) -> String { + let mut result = String::with_capacity(s.len()); + for c in s.chars() { + match c { + '\'' => result.push_str("\\'"), + '"' => result.push_str("\\\""), + '\\' => result.push_str("\\\\"), + '\n' => result.push_str("\\n"), + '\r' => result.push_str("\\r"), + '\t' => result.push_str("\\t"), + '\0' => result.push_str("\\0"), + _ => result.push(c), + } + } + result +} + +// 反转义 JS 字符串中的特殊字符 +fn unescape_js_string(s: &str) -> String { + let mut result = String::with_capacity(s.len()); + let mut chars = s.chars(); + + while let Some(c) = chars.next() { + if c == '\\' { + match chars.next() { + Some('n') => result.push('\n'), + Some('r') => result.push('\r'), + Some('t') => result.push('\t'), + Some('0') => result.push('\0'), + Some('\\') => result.push('\\'), + Some('\'') => result.push('\''), + Some('"') => result.push('"'), + Some('u') => { + // 处理转义序列 + let hex = chars.by_ref().take(4).collect::(); + if let Ok(codepoint) = u32::from_str_radix(&hex, 16) { + if let Some(ch) = char::from_u32(codepoint) { + result.push(ch); + } + } + } + Some(other) => result.push(other), + None => break, + } + } else { + result.push(c); + } + } + + result +} + #[test] fn test_script() { let script = r#" @@ -111,3 +192,25 @@ fn test_script() { dbg!(results); assert!(box_yaml_config_size < yaml_config_size); } + +// 测试特殊字符转义功能 +#[test] +fn test_escape_unescape() { + let test_string = r#"Hello "World"!\nThis is a test with \u00A9 copyright symbol."#; + let escaped = escape_js_string(test_string); + let unescaped = unescape_js_string(&escaped); + + assert_eq!(test_string, unescaped); + + let json_str = r#"{"key":"value","nested":{"key":"value"}}"#; + let parsed = parse_json_safely(json_str).unwrap(); + + assert!(parsed.contains_key("key")); + assert!(parsed.contains_key("nested")); + + let quoted_json_str = r#""{"key":"value","nested":{"key":"value"}}""#; + let parsed_quoted = parse_json_safely(quoted_json_str).unwrap(); + + assert!(parsed_quoted.contains_key("key")); + assert!(parsed_quoted.contains_key("nested")); +} diff --git a/clash-verge-rev/src-tauri/src/feat/window.rs b/clash-verge-rev/src-tauri/src/feat/window.rs index 835410a9c0..0b15f8aee2 100644 --- a/clash-verge-rev/src-tauri/src/feat/window.rs +++ b/clash-verge-rev/src-tauri/src/feat/window.rs @@ -49,8 +49,9 @@ pub fn open_or_close_dashboard() { } } -/// 优化的应用退出函数 +/// 异步优化的应用退出函数 pub fn quit() { + use crate::process::AsyncHandler; log::debug!(target: "app", "启动退出流程"); // 获取应用句柄并设置退出标志 @@ -60,54 +61,191 @@ pub fn quit() { // 优先关闭窗口,提供立即反馈 if let Some(window) = handle::Handle::global().get_window() { let _ = window.hide(); + log::info!(target: "app", "窗口已隐藏"); } - // 在单独线程中处理资源清理,避免阻塞主线程 - std::thread::spawn(move || { - let cleanup_result = clean(); - app_handle.exit(match cleanup_result { - true => 0, - false => 1, - }); + // 使用异步任务处理资源清理,避免阻塞 + AsyncHandler::spawn(move || async move { + log::info!(target: "app", "开始异步清理资源"); + let cleanup_result = clean_async().await; + + log::info!(target: "app", "资源清理完成,退出代码: {}", if cleanup_result { 0 } else { 1 }); + app_handle.exit(if cleanup_result { 0 } else { 1 }); }); } -pub fn clean() -> bool { +async fn clean_async() -> bool { use tokio::time::{timeout, Duration}; - let rt = tokio::runtime::Runtime::new().unwrap(); - let cleanup_result = rt.block_on(async { - // 1. 处理TUN模式 - let tun_success = if Config::verge().data().enable_tun_mode.unwrap_or(false) { + + log::info!(target: "app", "开始执行异步清理操作..."); + + // 1. 处理TUN模式 + let tun_task = async { + if Config::verge().data().enable_tun_mode.unwrap_or(false) { let disable_tun = serde_json::json!({ "tun": { "enable": false } }); - timeout( - Duration::from_secs(1), + match timeout( + Duration::from_secs(2), MihomoManager::global().patch_configs(disable_tun), ) .await - .is_ok() + { + Ok(_) => { + log::info!(target: "app", "TUN模式已禁用"); + true + } + Err(_) => { + log::warn!(target: "app", "禁用TUN模式超时"); + false + } + } } else { true - }; + } + }; - // 2. 顺序执行关键清理 - let proxy_res = timeout( - Duration::from_secs(1), + // 2. 系统代理重置 + let proxy_task = async { + match timeout( + Duration::from_secs(3), sysopt::Sysopt::global().reset_sysproxy(), ) - .await; + .await + { + Ok(_) => { + log::info!(target: "app", "系统代理已重置"); + true + } + Err(_) => { + log::warn!(target: "app", "重置系统代理超时"); + false + } + } + }; - let core_res = timeout(Duration::from_secs(1), CoreManager::global().stop_core()).await; + // 3. 核心服务停止 + let core_task = async { + match timeout(Duration::from_secs(3), CoreManager::global().stop_core()).await { + Ok(_) => { + log::info!(target: "app", "核心服务已停止"); + true + } + Err(_) => { + log::warn!(target: "app", "停止核心服务超时"); + false + } + } + }; - // 3. 平台特定清理 + // 4. DNS恢复(仅macOS) + #[cfg(target_os = "macos")] + let dns_task = async { + match timeout(Duration::from_millis(1000), resolve::restore_public_dns()).await { + Ok(_) => { + log::info!(target: "app", "DNS设置已恢复"); + true + } + Err(_) => { + log::warn!(target: "app", "恢复DNS设置超时"); + false + } + } + }; + + // 并行执行所有清理任务 + let (tun_success, proxy_success, core_success) = tokio::join!(tun_task, proxy_task, core_task); + + #[cfg(target_os = "macos")] + let dns_success = dns_task.await; + #[cfg(not(target_os = "macos"))] + let dns_success = true; + + let all_success = tun_success && proxy_success && core_success && dns_success; + + log::info!( + target: "app", + "异步清理操作完成 - TUN: {}, 代理: {}, 核心: {}, DNS: {}, 总体: {}", + tun_success, proxy_success, core_success, dns_success, all_success + ); + + all_success +} + +pub fn clean() -> bool { + use tokio::time::{timeout, Duration}; + + // 使用异步处理 + let rt = tokio::runtime::Runtime::new().unwrap(); + let cleanup_result = rt.block_on(async { + log::info!(target: "app", "开始执行清理操作..."); + + // 1. 处理TUN模式 - 并行执行,减少等待时间 + let tun_task = async { + if Config::verge().data().enable_tun_mode.unwrap_or(false) { + let disable_tun = serde_json::json!({ + "tun": { + "enable": false + } + }); + timeout( + Duration::from_secs(2), + MihomoManager::global().patch_configs(disable_tun), + ) + .await + .is_ok() + } else { + true + } + }; + + // 2. 系统代理重置 + let proxy_task = async { + timeout( + Duration::from_secs(2), + sysopt::Sysopt::global().reset_sysproxy(), + ) + .await + .is_ok() + }; + + // 3. 核心服务停止 + let core_task = async { + timeout(Duration::from_secs(2), CoreManager::global().stop_core()) + .await + .is_ok() + }; + + // 4. DNS恢复(仅macOS) #[cfg(target_os = "macos")] - let _dns_res = timeout(Duration::from_millis(500), resolve::restore_public_dns()).await; + let dns_task = async { + timeout(Duration::from_millis(800), resolve::restore_public_dns()) + .await + .is_ok() + }; - tun_success && proxy_res.is_ok() && core_res.is_ok() + // 并行执行所有清理任务,提高效率 + let (tun_success, proxy_success, core_success) = + tokio::join!(tun_task, proxy_task, core_task); + + #[cfg(target_os = "macos")] + let dns_success = dns_task.await; + #[cfg(not(target_os = "macos"))] + let dns_success = true; + + let all_success = tun_success && proxy_success && core_success && dns_success; + + log::info!( + target: "app", + "清理操作完成 - TUN: {}, 代理: {}, 核心: {}, DNS: {}, 总体: {}", + tun_success, proxy_success, core_success, dns_success, all_success + ); + + all_success }); + cleanup_result } diff --git a/clash-verge-rev/src-tauri/src/lib.rs b/clash-verge-rev/src-tauri/src/lib.rs index 942de6b866..6bb7f53f08 100644 --- a/clash-verge-rev/src-tauri/src/lib.rs +++ b/clash-verge-rev/src-tauri/src/lib.rs @@ -90,17 +90,20 @@ pub fn run() { let _ = utils::dirs::init_portable_flag(); - // 单例检测 - let app_exists: bool = AsyncHandler::block_on(move || async move { + // 异步单例检测 + AsyncHandler::spawn(move || async move { logging!(info, Type::Setup, true, "开始检查单例实例..."); match timeout(Duration::from_secs(3), server::check_singleton()).await { Ok(result) => { if result.is_err() { logging!(info, Type::Setup, true, "检测到已有应用实例运行"); - true + if let Some(app_handle) = AppHandleManager::global().get() { + let _ = app_handle.exit(0); + } else { + std::process::exit(0); + } } else { logging!(info, Type::Setup, true, "未检测到其他应用实例"); - false } } Err(_) => { @@ -110,13 +113,9 @@ pub fn run() { true, "单例检查超时,假定没有其他实例运行" ); - false } } }); - if app_exists { - return; - } #[cfg(target_os = "linux")] std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1"); diff --git a/clash-verge-rev/src-tauri/src/module/lightweight.rs b/clash-verge-rev/src-tauri/src/module/lightweight.rs index 0723ecacc0..93a03135e7 100644 --- a/clash-verge-rev/src-tauri/src/module/lightweight.rs +++ b/clash-verge-rev/src-tauri/src/module/lightweight.rs @@ -25,7 +25,7 @@ where let app_handle = handle::Handle::global().app_handle().unwrap(); let state = app_handle.state::>(); let mut guard = state.lock().unwrap(); - f(&mut *guard) + f(&mut guard) } pub fn run_once_auto_lightweight() { @@ -54,12 +54,12 @@ pub fn auto_lightweight_mode_init() { let _ = app_handle.state::>(); let is_silent_start = { Config::verge().data().enable_silent_start }.unwrap_or(false); let enable_auto = { Config::verge().data().enable_auto_light_weight_mode }.unwrap_or(false); - if enable_auto && is_silent_start { + if enable_auto && !is_silent_start { logging!( info, Type::Lightweight, true, - "Add timer listener when creating window in silent start mode" + "Add timer listener when creating window normally" ); set_lightweight_mode(true); enable_auto_light_weight_mode(); diff --git a/clash-verge-rev/src-tauri/src/process/async_handler.rs b/clash-verge-rev/src-tauri/src/process/async_handler.rs index 104e75c7f9..c5a809d4e5 100644 --- a/clash-verge-rev/src-tauri/src/process/async_handler.rs +++ b/clash-verge-rev/src-tauri/src/process/async_handler.rs @@ -11,20 +11,4 @@ impl AsyncHandler { { async_runtime::spawn(f()) } - - pub fn spawn_blocking(f: F) -> JoinHandle - where - F: FnOnce() -> R + Send + 'static, - R: Send + 'static, - { - async_runtime::spawn_blocking(f) - } - - pub fn block_on(f: F) -> R - where - F: FnOnce() -> Fut, - Fut: Future, - { - async_runtime::block_on(f()) - } } diff --git a/clash-verge-rev/src-tauri/src/state/lightweight.rs b/clash-verge-rev/src-tauri/src/state/lightweight.rs index 3f8db1f669..da9609848d 100644 --- a/clash-verge-rev/src-tauri/src/state/lightweight.rs +++ b/clash-verge-rev/src-tauri/src/state/lightweight.rs @@ -1,17 +1,18 @@ -use std::sync::Once; +use std::sync::{Arc, Once, OnceLock}; use crate::{logging, utils::logging::Type}; +#[derive(Clone)] pub struct LightWeightState { #[allow(unused)] - once: Once, + once: Arc, pub is_lightweight: bool, } impl LightWeightState { pub fn new() -> Self { Self { - once: Once::new(), + once: Arc::new(Once::new()), is_lightweight: false, } } @@ -37,6 +38,7 @@ impl LightWeightState { impl Default for LightWeightState { fn default() -> Self { - Self::new() + static INSTANCE: OnceLock = OnceLock::new(); + INSTANCE.get_or_init(LightWeightState::new).clone() } } diff --git a/clash-verge-rev/src-tauri/src/utils/resolve.rs b/clash-verge-rev/src-tauri/src/utils/resolve.rs index 2d9ae87bd0..576279d70e 100644 --- a/clash-verge-rev/src-tauri/src/utils/resolve.rs +++ b/clash-verge-rev/src-tauri/src/utils/resolve.rs @@ -142,7 +142,8 @@ pub async fn find_unused_port() -> Result { /// 异步方式处理启动后的额外任务 pub async fn resolve_setup_async(app_handle: &AppHandle) { - logging!(info, Type::Setup, true, "执行异步设置任务..."); + let start_time = std::time::Instant::now(); + logging!(info, Type::Setup, true, "开始执行异步设置任务..."); if VERSION.get().is_none() { let version = app_handle.package_info().version.to_string(); @@ -230,7 +231,25 @@ pub async fn resolve_setup_async(app_handle: &AppHandle) { logging!(trace, Type::System, true, "初始化热键..."); logging_error!(Type::System, true, hotkey::Hotkey::global().init()); - logging!(info, Type::Setup, true, "异步设置任务完成"); + let elapsed = start_time.elapsed(); + logging!( + info, + Type::Setup, + true, + "异步设置任务完成,耗时: {:?}", + elapsed + ); + + // 如果初始化时间过长,记录警告 + if elapsed.as_secs() > 10 { + logging!( + warn, + Type::Setup, + true, + "异步设置任务耗时较长({:?})", + elapsed + ); + } } /// reset system proxy (异步) @@ -263,6 +282,17 @@ pub fn create_window(is_show: bool) -> bool { is_show ); + if !is_show { + logging!( + info, + Type::Window, + true, + "Not to create window when starting in silent mode" + ); + handle::Handle::notify_startup_completed(); + return false; + } + if let Some(app_handle) = handle::Handle::global().app_handle() { if let Some(window) = app_handle.get_webview_window("main") { logging!(info, Type::Window, true, "主窗口已存在,将显示现有窗口"); @@ -304,7 +334,49 @@ pub fn create_window(is_show: bool) -> bool { .fullscreen(false) .inner_size(DEFAULT_WIDTH as f64, DEFAULT_HEIGHT as f64) .min_inner_size(520.0, 520.0) - .visible(false) + .visible(true) // 立即显示窗口,避免用户等待 + .initialization_script(r#" + // 添加非侵入式的加载指示器 + document.addEventListener('DOMContentLoaded', function() { + // 只有在React应用还没有挂载时才显示加载指示器 + if (!document.getElementById('root') || !document.getElementById('root').hasChildNodes()) { + // 创建加载指示器,但不覆盖整个body + const loadingDiv = document.createElement('div'); + loadingDiv.id = 'initial-loading-overlay'; + loadingDiv.innerHTML = ` +
+
+
+
+
正在加载 Clash Verge...
+
+ + `; + document.body.appendChild(loadingDiv); + + // 设置定时器,如果React应用在5秒内没有挂载,移除加载指示器 + setTimeout(() => { + const overlay = document.getElementById('initial-loading-overlay'); + if (overlay) { + overlay.remove(); + } + }, 5000); + } + }); + "#) .build() { Ok(newly_created_window) => { @@ -323,72 +395,98 @@ pub fn create_window(is_show: bool) -> bool { "异步窗口任务开始 (启动已标记完成)" ); + // 先运行轻量模式检测 + lightweight::run_once_auto_lightweight(); + + // 发送启动完成事件,触发前端开始加载 + logging!( + debug, + Type::Window, + true, + "发送 verge://startup-completed 事件" + ); + handle::Handle::notify_startup_completed(); + if is_show { let window_clone = newly_created_window.clone(); - // Attempt to show and focus the window first. + // 立即显示窗口 let _ = window_clone.show(); let _ = window_clone.set_focus(); - logging!(debug, Type::Window, true, "窗口已尝试显示和聚焦"); - - lightweight::run_once_auto_lightweight(); - - tokio::time::sleep(Duration::from_millis(100)).await; // Crucial delay - - logging!( - debug, - Type::Window, - true, - "延时后,尝试发送 verge://startup-completed 事件" - ); - handle::Handle::notify_startup_completed(); + logging!(info, Type::Window, true, "窗口已立即显示"); let timeout_seconds = if crate::module::lightweight::is_in_lightweight_mode() { - 2 + 3 } else { - 5 + 8 }; logging!( info, Type::Window, true, - "等待UI就绪 (最多{}秒)...", + "开始监控UI加载状态 (最多{}秒)...", timeout_seconds ); - let wait_result = - tokio::time::timeout(Duration::from_secs(timeout_seconds), async { - while !*get_ui_ready().read() { - tokio::time::sleep(Duration::from_millis(100)).await; - } - }) - .await; + // 异步监控UI状态,不影响窗口显示 + tokio::spawn(async move { + let wait_result = + tokio::time::timeout(Duration::from_secs(timeout_seconds), async { + let mut check_count = 0; + while !*get_ui_ready().read() { + tokio::time::sleep(Duration::from_millis(100)).await; + check_count += 1; - match wait_result { - Ok(_) => { - logging!(info, Type::Window, true, "UI就绪"); + // 每2秒记录一次等待状态 + if check_count % 20 == 0 { + logging!( + debug, + Type::Window, + true, + "UI加载状态检查... ({}秒)", + check_count / 10 + ); + } + } + }) + .await; + + match wait_result { + Ok(_) => { + logging!(info, Type::Window, true, "UI已完全加载就绪"); + // 移除初始加载指示器 + if let Some(window) = handle::Handle::global().get_window() { + let _ = window.eval(r#" + const overlay = document.getElementById('initial-loading-overlay'); + if (overlay) { + overlay.style.opacity = '0'; + setTimeout(() => overlay.remove(), 300); + } + "#); + } + } + Err(_) => { + logging!( + warn, + Type::Window, + true, + "UI加载监控超时({}秒),但窗口已正常显示", + timeout_seconds + ); + *get_ui_ready().write() = true; + } } - Err(_) => { - logging!( - warn, - Type::Window, - true, - "等待UI就绪超时({}秒),强制标记就绪", - timeout_seconds - ); - *get_ui_ready().write() = true; - } - } + }); + logging!(info, Type::Window, true, "窗口显示流程完成"); } else { logging!( debug, Type::Window, true, - "is_show为false,窗口保持隐藏。尝试发送启动事件。" + "is_show为false,窗口保持隐藏状态" ); - handle::Handle::notify_startup_completed(); } }); true diff --git a/clash-verge-rev/src-tauri/src_crates/crate_mihomo_api/Cargo.toml b/clash-verge-rev/src-tauri/src_crates/crate_mihomo_api/Cargo.toml index 1691bbd69a..e179d50602 100644 --- a/clash-verge-rev/src-tauri/src_crates/crate_mihomo_api/Cargo.toml +++ b/clash-verge-rev/src-tauri/src_crates/crate_mihomo_api/Cargo.toml @@ -3,7 +3,7 @@ name = "mihomo_api" edition = "2024" [dependencies] -reqwest = { version = "0.12.19", features = ["json"] } +reqwest = { version = "0.12.20", features = ["json"] } serde = { version = "1.0.219", features = ["derive"] } serde_json = "1.0.140" tokio = { version = "1.45.1", features = ["rt", "macros", "time"] } diff --git a/clash-verge-rev/src/components/base/NoticeManager.tsx b/clash-verge-rev/src/components/base/NoticeManager.tsx index b7fedf98d5..223447a5b2 100644 --- a/clash-verge-rev/src/components/base/NoticeManager.tsx +++ b/clash-verge-rev/src/components/base/NoticeManager.tsx @@ -1,24 +1,17 @@ -import React, { useState, useEffect } from "react"; +import React, { useSyncExternalStore } from "react"; import { Snackbar, Alert, IconButton, Box } from "@mui/material"; import { CloseRounded } from "@mui/icons-material"; import { subscribeNotices, hideNotice, - NoticeItem, + getSnapshotNotices, } from "@/services/noticeService"; export const NoticeManager: React.FC = () => { - const [currentNotices, setCurrentNotices] = useState([]); - - useEffect(() => { - const unsubscribe = subscribeNotices((notices) => { - setCurrentNotices(notices); - }); - - return () => { - unsubscribe(); - }; - }, []); + const currentNotices = useSyncExternalStore( + subscribeNotices, + getSnapshotNotices, + ); const handleClose = (id: number) => { hideNotice(id); diff --git a/clash-verge-rev/src/components/setting/setting-system.tsx b/clash-verge-rev/src/components/setting/setting-system.tsx index d276af5da8..f892bc8ebf 100644 --- a/clash-verge-rev/src/components/setting/setting-system.tsx +++ b/clash-verge-rev/src/components/setting/setting-system.tsx @@ -210,12 +210,29 @@ const SettingSystem = ({ onError }: Props) => { } > onChangeData({ enable_system_proxy: e })} + onChange={(e) => { + if (autoproxy?.enable === false && sysproxy?.enable === false) { + onChangeData({ enable_system_proxy: !enable_system_proxy }); + } else { + onChangeData({ enable_system_proxy: e }); + } + }} onGuard={async (e) => { + if (autoproxy?.enable === false && sysproxy?.enable === false) { + await patchVerge({ enable_system_proxy: !enable_system_proxy }); + await updateProxyStatus(); + return; + } if (!e && verge?.auto_close_connection) { closeAllConnections(); } @@ -223,7 +240,14 @@ const SettingSystem = ({ onError }: Props) => { await updateProxyStatus(); }} > - + diff --git a/clash-verge-rev/src/main.tsx b/clash-verge-rev/src/main.tsx index 0e95524ff1..d1c3080641 100644 --- a/clash-verge-rev/src/main.tsx +++ b/clash-verge-rev/src/main.tsx @@ -48,7 +48,8 @@ const contexts = [ , ]; -createRoot(container).render( +const root = createRoot(container); +root.render( @@ -61,3 +62,12 @@ createRoot(container).render( , ); + +// 错误处理 +window.addEventListener("error", (event) => { + console.error("[main.tsx] 全局错误:", event.error); +}); + +window.addEventListener("unhandledrejection", (event) => { + console.error("[main.tsx] 未处理的Promise拒绝:", event.reason); +}); diff --git a/clash-verge-rev/src/pages/_layout.tsx b/clash-verge-rev/src/pages/_layout.tsx index 5af05e31ee..57f0730b8e 100644 --- a/clash-verge-rev/src/pages/_layout.tsx +++ b/clash-verge-rev/src/pages/_layout.tsx @@ -288,24 +288,61 @@ const Layout = () => { } }; - // 初始阶段 - 开始加载 - notifyUiStage("Loading"); + // 简化的UI初始化流程 + const initializeUI = async () => { + try { + const initialOverlay = document.getElementById( + "initial-loading-overlay", + ); + if (initialOverlay) { + initialOverlay.style.opacity = "0"; + setTimeout(() => initialOverlay.remove(), 200); + } - setTimeout(() => { - notifyUiCoreReady(); + await notifyUiStage("Loading"); - setTimeout(() => { - notifyUiResourcesLoaded(); - setTimeout(() => { - notifyUiReady(); - }, 100); - }, 100); - }, 100); + await new Promise((resolve) => setTimeout(resolve, 100)); + + console.log("[Layout] 通知后端:DomReady"); + await notifyUiCoreReady(); + + await new Promise((resolve) => { + requestAnimationFrame(() => { + requestAnimationFrame(resolve); + }); + }); + + console.log("[Layout] 通知后端:ResourcesLoaded"); + await notifyUiResourcesLoaded(); + + await new Promise((resolve) => setTimeout(resolve, 100)); + + await notifyUiReady(); + } catch (error) { + try { + await notifyUiReady(); + } catch (e) { + console.error("[Layout] 通知UI就绪失败:", e); + } + } + }; + + setTimeout(initializeUI, 50); + + const emergencyTimeout = setTimeout(() => { + const emergencyNotify = async () => { + try { + await invoke("notify_ui_ready"); + } catch (error) {} + }; + emergencyNotify(); + }, 5000); // 启动监听器 const unlistenPromise = listenStartupCompleted(); return () => { + clearTimeout(emergencyTimeout); unlistenPromise.then((unlisten) => unlisten()); }; }, []); @@ -332,12 +369,30 @@ const Layout = () => { height: "100vh", background: mode === "light" ? "#fff" : "#181a1b", transition: "background 0.2s", + display: "flex", + alignItems: "center", + justifyContent: "center", + color: mode === "light" ? "#333" : "#fff", }} - /> + > ); } - if (!routersEles) return null; + if (!routersEles) { + return ( +
+ ); + } return ( diff --git a/clash-verge-rev/src/services/noticeService.ts b/clash-verge-rev/src/services/noticeService.ts index 22ec6b1c97..f5ef04ca62 100644 --- a/clash-verge-rev/src/services/noticeService.ts +++ b/clash-verge-rev/src/services/noticeService.ts @@ -61,13 +61,15 @@ export function hideNotice(id: number) { // Subscribes a listener function to notice state changes. -export function subscribeNotices(listener: Listener): () => void { +export function subscribeNotices(listener: () => void) { listeners.add(listener); - listener([...notices]); return () => { listeners.delete(listener); }; } +export function getSnapshotNotices() { + return notices; +} // Function to clear all notices at once export function clearAllNotices() { diff --git a/lede/package/kernel/mac80211/patches/ath11k/907-wifi-ath11k-disable-coldboot-calibration-for-ipq5018.patch b/lede/package/kernel/mac80211/patches/ath11k/907-wifi-ath11k-disable-coldboot-calibration-for-ipq5018.patch new file mode 100644 index 0000000000..9e8af0aca2 --- /dev/null +++ b/lede/package/kernel/mac80211/patches/ath11k/907-wifi-ath11k-disable-coldboot-calibration-for-ipq5018.patch @@ -0,0 +1,27 @@ +From b2d16b688ce04b67f2033f90f49f4add7ebd3fe8 Mon Sep 17 00:00:00 2001 +From: George Moussalem +Date: Tue, 10 Jun 2025 14:34:37 +0400 +Subject: [PATCH] wifi: ath11k: disable coldboot calibration for ipq5018 + +Coldboot calibration does not work causes the firmware to crash during +wifi startup. So let's disable coldboot calibration until a solution is +found. + +Signed-off-by: George Moussalem +--- + drivers/net/wireless/ath/ath11k/core.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/drivers/net/wireless/ath/ath11k/core.c ++++ b/drivers/net/wireless/ath/ath11k/core.c +@@ -674,8 +674,8 @@ static struct ath11k_hw_params ath11k_hw + .supports_suspend = false, + .hal_params = &ath11k_hw_hal_params_ipq8074, + .single_pdev_only = false, +- .coldboot_cal_mm = true, +- .coldboot_cal_ftm = true, ++ .coldboot_cal_mm = false, ++ .coldboot_cal_ftm = false, + .cbcal_restart_fw = true, + .fix_l1ss = true, + .supports_dynamic_smps_6ghz = false, diff --git a/lede/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch b/lede/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch index 7faadd8590..49a3a517ee 100644 --- a/lede/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch +++ b/lede/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch @@ -71,8 +71,8 @@ Signed-off-by: George Moussalem + .rx_mac_buf_ring = false, + .vdev_start_delay = false, + .htt_peer_map_v2 = true, -+ .coldboot_cal_mm = true, -+ .coldboot_cal_ftm = true, ++ .coldboot_cal_mm = false, ++ .coldboot_cal_ftm = false, + .cbcal_restart_fw = true, + .fix_l1ss = true, + .alloc_cacheable_memory = true, @@ -105,7 +105,7 @@ Signed-off-by: George Moussalem enum ath11k_firmware_mode { --- a/drivers/net/wireless/ath/ath11k/qmi.h +++ b/drivers/net/wireless/ath/ath11k/qmi.h -@@ -22,6 +22,7 @@ +@@ -22,10 +22,11 @@ #define ATH11K_QMI_WLFW_SERVICE_INS_ID_V01_IPQ8074 0x02 #define ATH11K_QMI_WLFW_SERVICE_INS_ID_V01_QCN9074 0x07 #define ATH11K_QMI_WLFW_SERVICE_INS_ID_V01_WCN6750 0x03 @@ -113,3 +113,8 @@ Signed-off-by: George Moussalem #define ATH11K_QMI_WLANFW_MAX_TIMESTAMP_LEN_V01 32 #define ATH11K_QMI_RESP_LEN_MAX 8192 #define ATH11K_QMI_WLANFW_MAX_NUM_MEM_SEG_V01 52 +-#define ATH11K_QMI_CALDB_SIZE 0x480000 ++#define ATH11K_QMI_CALDB_SIZE 0x500000 + #define ATH11K_QMI_BDF_EXT_STR_LENGTH 0x20 + #define ATH11K_QMI_FW_MEM_REQ_SEGMENT_CNT 5 + diff --git a/mihomo/.github/workflows/trigger-cmfa-update.yml b/mihomo/.github/workflows/trigger-cmfa-update.yml index d9523a07c1..cdcaf27681 100644 --- a/mihomo/.github/workflows/trigger-cmfa-update.yml +++ b/mihomo/.github/workflows/trigger-cmfa-update.yml @@ -10,9 +10,6 @@ on: - Alpha tags: - "v*" - pull_request_target: - branches: - - Alpha jobs: # Send "core-updated" to MetaCubeX/ClashMetaForAndroid to trigger update-dependencies diff --git a/mihomo/common/atomic/enum.go b/mihomo/common/atomic/enum.go index 9b73c6d8e5..6843aee102 100644 --- a/mihomo/common/atomic/enum.go +++ b/mihomo/common/atomic/enum.go @@ -23,6 +23,19 @@ func (i *Int32Enum[T]) UnmarshalJSON(b []byte) error { return nil } +func (i *Int32Enum[T]) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Int32Enum[T]) UnmarshalYAML(unmarshal func(any) error) error { + var v T + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Int32Enum[T]) String() string { return fmt.Sprint(i.Load()) } diff --git a/mihomo/common/atomic/type.go b/mihomo/common/atomic/type.go index 71695c63be..12ae4cffae 100644 --- a/mihomo/common/atomic/type.go +++ b/mihomo/common/atomic/type.go @@ -29,6 +29,19 @@ func (i *Bool) UnmarshalJSON(b []byte) error { return nil } +func (i *Bool) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Bool) UnmarshalYAML(unmarshal func(any) error) error { + var v bool + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Bool) String() string { v := i.Load() return strconv.FormatBool(v) @@ -58,6 +71,19 @@ func (p *Pointer[T]) UnmarshalJSON(b []byte) error { return nil } +func (p *Pointer[T]) MarshalYAML() (any, error) { + return p.Load(), nil +} + +func (p *Pointer[T]) UnmarshalYAML(unmarshal func(any) error) error { + var v *T + if err := unmarshal(&v); err != nil { + return err + } + p.Store(v) + return nil +} + func (p *Pointer[T]) String() string { return fmt.Sprint(p.Load()) } @@ -84,6 +110,19 @@ func (i *Int32) UnmarshalJSON(b []byte) error { return nil } +func (i *Int32) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Int32) UnmarshalYAML(unmarshal func(any) error) error { + var v int32 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Int32) String() string { v := i.Load() return strconv.FormatInt(int64(v), 10) @@ -111,6 +150,19 @@ func (i *Int64) UnmarshalJSON(b []byte) error { return nil } +func (i *Int64) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Int64) UnmarshalYAML(unmarshal func(any) error) error { + var v int64 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Int64) String() string { v := i.Load() return strconv.FormatInt(int64(v), 10) @@ -138,6 +190,19 @@ func (i *Uint32) UnmarshalJSON(b []byte) error { return nil } +func (i *Uint32) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Uint32) UnmarshalYAML(unmarshal func(any) error) error { + var v uint32 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Uint32) String() string { v := i.Load() return strconv.FormatUint(uint64(v), 10) @@ -165,6 +230,19 @@ func (i *Uint64) UnmarshalJSON(b []byte) error { return nil } +func (i *Uint64) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Uint64) UnmarshalYAML(unmarshal func(any) error) error { + var v uint64 + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Uint64) String() string { v := i.Load() return strconv.FormatUint(uint64(v), 10) @@ -192,6 +270,19 @@ func (i *Uintptr) UnmarshalJSON(b []byte) error { return nil } +func (i *Uintptr) MarshalYAML() (any, error) { + return i.Load(), nil +} + +func (i *Uintptr) UnmarshalYAML(unmarshal func(any) error) error { + var v uintptr + if err := unmarshal(&v); err != nil { + return err + } + i.Store(v) + return nil +} + func (i *Uintptr) String() string { v := i.Load() return strconv.FormatUint(uint64(v), 10) diff --git a/mihomo/common/atomic/value.go b/mihomo/common/atomic/value.go index 0de9fade37..e63d231096 100644 --- a/mihomo/common/atomic/value.go +++ b/mihomo/common/atomic/value.go @@ -72,6 +72,19 @@ func (t *TypedValue[T]) UnmarshalJSON(b []byte) error { return nil } +func (t *TypedValue[T]) MarshalYAML() (any, error) { + return t.Load(), nil +} + +func (t *TypedValue[T]) UnmarshalYAML(unmarshal func(any) error) error { + var v T + if err := unmarshal(&v); err != nil { + return err + } + t.Store(v) + return nil +} + func NewTypedValue[T any](t T) (v TypedValue[T]) { v.Store(t) return diff --git a/mihomo/common/convert/converter.go b/mihomo/common/convert/converter.go index acf6abbccc..af1b706c46 100644 --- a/mihomo/common/convert/converter.go +++ b/mihomo/common/convert/converter.go @@ -513,6 +513,101 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) { } proxies = append(proxies, ssr) + + case "socks", "socks5", "socks5h", "http", "https": + link, err := url.Parse(line) + if err != nil { + continue + } + server := link.Hostname() + if server == "" { + continue + } + portStr := link.Port() + if portStr == "" { + continue + } + remarks := link.Fragment + if remarks == "" { + remarks = fmt.Sprintf("%s:%s", server, portStr) + } + name := uniqueName(names, remarks) + encodeStr := link.User.String() + var username, password string + if encodeStr != "" { + decodeStr := string(DecodeBase64([]byte(encodeStr))) + splitStr := strings.Split(decodeStr, ":") + + // todo: should use url.QueryUnescape ? + username = splitStr[0] + if len(splitStr) == 2 { + password = splitStr[1] + } + } + socks := make(map[string]any, 10) + socks["name"] = name + socks["type"] = func() string { + switch scheme { + case "socks", "socks5", "socks5h": + return "socks5" + case "http", "https": + return "http" + } + return scheme + }() + socks["server"] = server + socks["port"] = portStr + socks["username"] = username + socks["password"] = password + socks["skip-cert-verify"] = true + if scheme == "https" { + socks["tls"] = true + } + + proxies = append(proxies, socks) + + case "anytls": + // https://github.com/anytls/anytls-go/blob/main/docs/uri_scheme.md + link, err := url.Parse(line) + if err != nil { + continue + } + username := link.User.Username() + password, exist := link.User.Password() + if !exist { + password = username + } + query := link.Query() + server := link.Hostname() + if server == "" { + continue + } + portStr := link.Port() + if portStr == "" { + continue + } + insecure, sni := query.Get("insecure"), query.Get("sni") + insecureBool := insecure == "1" + fingerprint := query.Get("hpkp") + + remarks := link.Fragment + if remarks == "" { + remarks = fmt.Sprintf("%s:%s", server, portStr) + } + name := uniqueName(names, remarks) + anytls := make(map[string]any, 10) + anytls["name"] = name + anytls["type"] = "anytls" + anytls["server"] = server + anytls["port"] = portStr + anytls["username"] = username + anytls["password"] = password + anytls["sni"] = sni + anytls["fingerprint"] = fingerprint + anytls["skip-cert-verify"] = insecureBool + anytls["udp"] = true + + proxies = append(proxies, anytls) } } diff --git a/openwrt-packages/luci-app-lucky/lucky/Makefile b/openwrt-packages/luci-app-lucky/lucky/Makefile index 9319f55bb1..2dbcf795b3 100644 --- a/openwrt-packages/luci-app-lucky/lucky/Makefile +++ b/openwrt-packages/luci-app-lucky/lucky/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lucky -PKG_VERSION:=2.15.10 +PKG_VERSION:=2.17.8 PKG_RELEASE:=1 ifeq ($(ARCH),mipsel) diff --git a/openwrt-packages/luci-app-partexp/LICENSE b/openwrt-packages/luci-app-partexp/LICENSE new file mode 100644 index 0000000000..574c7ac3f5 --- /dev/null +++ b/openwrt-packages/luci-app-partexp/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 sirpdboy + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/openwrt-packages/luci-app-quickstart/Makefile b/openwrt-packages/luci-app-quickstart/Makefile index 59e9845900..ab2c91b94a 100644 --- a/openwrt-packages/luci-app-quickstart/Makefile +++ b/openwrt-packages/luci-app-quickstart/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart LUCI_DEPENDS:=+quickstart +luci-app-store LUCI_PKGARCH:=all -PKG_VERSION:=0.8.19-r1 +PKG_VERSION:=0.8.20-r1 # PKG_RELEASE MUST be empty for luci.mk PKG_RELEASE:= diff --git a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js index cf2171ba91..07a4f8c7ed 100644 --- a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js +++ b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/index.js @@ -1,3 +1,3 @@ -var He=Object.defineProperty,Ze=Object.defineProperties;var Je=Object.getOwnPropertyDescriptors;var ye=Object.getOwnPropertySymbols;var Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable;var de=(o,a,n)=>a in o?He(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,K=(o,a)=>{for(var n in a||(a={}))Xe.call(a,n)&&de(o,n,a[n]);if(ye)for(var n of ye(a))Ke.call(a,n)&&de(o,n,a[n]);return o},ot=(o,a)=>Ze(o,Je(a));var Qe=(o,a)=>()=>(a||o((a={exports:{}}).exports,a),a.exports);var Ot=(o,a,n)=>(de(o,typeof a!="symbol"?a+"":a,n),n);var I=(o,a,n)=>new Promise((u,l)=>{var r=x=>{try{w(n.next(x))}catch(f){l(f)}},c=x=>{try{w(n.throw(x))}catch(f){l(f)}},w=x=>x.done?u(x.value):Promise.resolve(x.value).then(r,c);w((n=n.apply(o,a)).next())});import{a as ta,c as ea,d as Gt,b as T,e as U,u as e,o as s,f as d,g as t,t as i,n as At,h as $,i as A,r as tt,j as st,k as wt,w as z,v as $t,l as aa,m as G,p as j,q as E,s as Kt,x as xt,y as Q,F as L,z as R,A as Z,B as yt,C as J,D as X,E as oa,G as zt,H as na,I as ia,J as ra,K as sa,L as da,M as la,N as ua,O as nt,T as bt,P as at,Q as ca,R as lt,S as vt,U as et,V as ut,W as jt,X as Qt,Y as ce,Z as pa,_ as fa,$ as te,a0 as ma,a1 as va,a2 as ba,a3 as ga,a4 as ha,a5 as _a,a6 as xa,a7 as ka}from"./vendor.js?v=59b33bab";var QE=Qe(St=>{const wa=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))u(l);new MutationObserver(l=>{for(const r of l)if(r.type==="childList")for(const c of r.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&u(c)}).observe(document,{childList:!0,subtree:!0});function n(l){const r={};return l.integrity&&(r.integrity=l.integrity),l.referrerpolicy&&(r.referrerPolicy=l.referrerpolicy),l.crossorigin==="use-credentials"?r.credentials="include":l.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function u(l){if(l.ep)return;l.ep=!0;const r=n(l);fetch(l.href,r)}};wa();const gt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},ya=o=>I(St,null,function*(){const a=window.vue_lang;new Date().getTime();let n={};try{const r=yield ta({url:window.vue_lang_data,method:"GET"});r.data&&(n=r.data)}catch(r){console.log(r)}const u=ea({defaultLanguage:a,mutedLanguages:["zh-cn"],translations:n,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(u),gt.language=u;const{$gettext:l}=u;window.$i18n=l;try{gt.numberFormat=new Intl.NumberFormat(a,{notation:"compact"})}catch(r){console.error("Intl.NumberFormat unsupported lang",a,r)}}),q=()=>{if(gt.language)return gt.language;throw new Error("I18N Uninitialized!")},ee=()=>({$gettext:(o,a,n)=>{if(gt.language)return gt.language.$gettext(o,a,n);throw new Error("I18N Uninitialized!")},$ngettext:(o,a,n,u,l)=>{if(gt.language)return gt.language.$ngettext(o,a,n,u,l);throw new Error("I18N Uninitialized!")}}),Wt=o=>typeof o=="number"?gt.numberFormat.format(o):"?",{$gettext:Fa,$ngettext:aC}=ee(),Ye=(o,a)=>I(St,null,function*(){return new Promise((n,u)=>I(St,null,function*(){try{const l=yield fetch(o,a);if(Math.floor(l.status/100)!=2)throw l.status+" "+l.statusText;const r=K({},l);r.data=yield l.json(),n(r)}catch(l){const r=l;u(Fa("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((r==null?void 0:r.message)||l))}}))});class pe{constructor(a){Ot(this,"config",{baseURL:"",headers:{}});Ot(this,"useRequest",a=>a);Ot(this,"useResponse",a=>a);Ot(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new pe(a)}Do(a,n){return I(this,null,function*(){return new Promise((u,l)=>I(this,null,function*(){try{const r=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${r.baseURL||""}${a}`,n.headers==null&&(n.headers={}),r.headers&&(n.headers=K({},r.headers));const w=yield fetch(a,n),x=K({},w);x.data=yield w.json(),u(this.useResponse(x))}catch(r){this.useError(r),l(r)}}))})}TEXT(a,n){return I(this,null,function*(){return new Promise((u,l)=>I(this,null,function*(){try{const r=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${r.baseURL||""}${a}`,n.headers==null&&(n.headers={}),r.headers&&(n.headers=K({},r.headers));const w=yield fetch(a,n),x=K({},w);x.data=yield w.text(),u(x)}catch(r){this.useError(r),l(r)}}))})}interceptors(){const a=this;return{requset:{use(n){a.useRequest=n}},response:{use(n,u){a.useResponse=n,u&&(a.useError=u)}}}}}const Ae=pe.create({});Ae.interceptors().requset.use(o=>o);Ae.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:Se,$ngettext:oC}=ee(),Ea="/cgi-bin/luci/istore",Ca="/cgi-bin/luci/admin";let Jt=!1;const O=(o,a)=>(o.indexOf("//")==-1&&(o=`${Ea}${o}`),Ye(o,a).then(n=>(n!=null&&n.data&&n.data.success==-1001&&n.data.error=="Forbidden"&&(Jt||(Jt=!0,alert(Se("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),n))),$a=(o,a)=>(o.indexOf("//")==-1&&(o=`${Ca}${o}`),Ye(o,a).then(n=>(n!=null&&n.data&&n.data.success==-1001&&n.data.error=="Forbidden"&&(Jt||(Jt=!0,alert(Se("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),n))),Da={Statistics:{GET(){return O("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return O("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return O("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return O("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return O("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return O("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return O("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return O("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Ba={Version:{GET(){return O("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return O("/system/check-update/",{method:"GET"})}},AutoCheckUpdate:{POST(o){return O("/system/auto-check-update/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Reboot:{POST(o){return O("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return O("/system/status/",{method:"GET"})}}},Ya={Disk:{Status:{GET(){return O("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return O("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>O("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>O("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>O("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>O("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return O("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return O("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return O("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return O("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return O("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return O("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return O("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return O("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return O("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return O("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return O("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Aa={Check:{POST(o){return O("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return O("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Sa={Pppoe:{GET(){return O("/guide/pppoe/",{method:"GET"})},POST(o){return O("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return O("/guide/dns-config/",{method:"GET"})},POST(o){return O("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return O("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return O("/guide/client-mode/",{method:"GET"})},POST(o){return O("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return O("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return O("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return O("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return O("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return O("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return O("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return O("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return O("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return O("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return O("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return O("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return O("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return O("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return O("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return O("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return O("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return O("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return O("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return O("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return O("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},za={Create:{POST(o){return O("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return O("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return O("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return O("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return O("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return O("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return O("/raid/list/",{method:"GET"})}},CreateList:{GET(){return O("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return O("/raid/autofix/",{method:"GET"})}}},Pa={Log:{GET(){return O("/smart/log/",{method:"GET"})}},List:{GET(){return O("/u/smart/list/",{method:"GET"})}},Config:{GET(){return O("/smart/config/",{method:"GET"})},POST(o){return O("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return O("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return O("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return O("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return O("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}},Ta={List:{GET(){return O("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(o){return O("/wireless/enable-iface/",{body:JSON.stringify(o),method:"POST"})}},Power:{POST(o){return O("/wireless/set-device-power/",{body:JSON.stringify(o),method:"POST"})}},Edit:{POST(o){return O("/wireless/edit-iface/",{body:JSON.stringify(o),method:"POST"})}},Setup:{POST(o){return O("/wireless/setup/",{body:JSON.stringify(o),method:"POST"})}}},Ia={getInstalled:{GET(){return $a("/store/installed/",{method:"GET"})}}};var La=Object.freeze(Object.defineProperty({__proto__:null,Network:Da,System:Ba,Nas:Ya,App:Aa,Guide:Sa,Raid:za,Smart:Pa,Quickwifi:Ta,GuidePage:Ia},Symbol.toStringTag,{value:"Module"})),P=K({},La);const ze=Gt("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});Gt("guide",{});const Pe=Gt("nas",{state:()=>({webdav:{}})}),ae=Gt("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){P.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:a}=o==null?void 0:o.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),fe=Gt("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){P.System.Version.GET().then(o=>{var a;(a=o==null?void 0:o.data)!=null&&a.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,P.System.CheckUpdate.GET().then(o=>{var a;(a=o==null?void 0:o.data)!=null&&a.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let Fe=!1;const Ma=()=>{if(Fe)return;Fe=!0;let o=!0,a=!0;const n=ae(),u=fe(),l=function(){return(!o&&document.hidden?Promise.resolve():P.System.Status.GET().then(c=>{c!=null&&c.data.result&&u.updateSystemStatus(c.data.result)})).finally(()=>{setTimeout(l,5e3),o&&(setInterval(()=>{u.incrTime()},1e3),o=!1)})},r=function(){return(!a&&document.hidden?Promise.resolve():P.Network.Status.GET().then(c=>{if(c!=null&&c.data){const{result:w}=c==null?void 0:c.data;w&&n.updateNetworkStatus(w)}})).finally(()=>{setTimeout(r,5e3),a&&(setInterval(()=>{n.incrTime()},1e3),a=!1)})};r(),n.requestDeviceList(),setTimeout(()=>{u.requestVersion(),l()},1100)};var S=(o,a)=>{const n=o.__vccOpts||o;for(const[u,l]of a)n[u]=l;return n};const Oa=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=ze(),l=U(()=>u.portitemStyle.portitem),r=U(()=>u.portitemStyle.show),c=U(()=>({bottom:`calc(100% - ${u.portitemStyle.top}px)`,left:`${u.portitemStyle.left}px`})),w=p=>{switch(p){case"full":return a("\u5168\u53CC\u5DE5");case"half":return a("\u534A\u53CC\u5DE5")}},x=p=>{u.portitemStyle.show=!0},f=p=>{u.portitemStyle.show=!1};return(p,m)=>e(r)?(s(),d("div",{key:0,class:"disk-item-tooltip",style:At(e(c)),onMouseenter:x,onMouseleave:f},[t("div",null,i(w(e(l).duplex)),1),t("div",null,i(e(a)("\u540D\u79F0\uFF1A"))+i(e(l).name||"--"),1),t("div",null,i(e(a)("MAC\uFF1A"))+i(e(l).macAddress||"--"),1),t("div",null,i(e(a)("\u63A5\u6536\uFF1A"))+i(e(l).rx_packets||"--"),1),t("div",null,i(e(a)("\u53D1\u9001\uFF1A"))+i(e(l).tx_packets||"--"),1)],36)):$("",!0)}});var Na=S(Oa,[["__scopeId","data-v-0698ba82"]]);const qa={id:"main"},Va=T({setup(o){return(a,n)=>{const u=tt("router-view");return s(),d("div",qa,[A(u),A(Na)])}}});var Ga=S(Va,[["__scopeId","data-v-9bc295c2"]]);const ja={},Ra={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"},Ua=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),Wa=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),Ha=[Ua,Wa];function Za(o,a){return s(),d("svg",Ra,Ha)}var Ja=S(ja,[["render",Za]]);const Xa={},Ka={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"},Qa=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),to=[Qa];function eo(o,a){return s(),d("svg",Ka,to)}var ao=S(Xa,[["render",eo]]);const oo={},no={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"},io=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),ro=[io];function so(o,a){return s(),d("svg",no,ro)}var lo=S(oo,[["render",so]]);const uo={},co={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"},po=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),fo=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),mo=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),vo=[po,fo,mo];function bo(o,a){return s(),d("svg",co,vo)}var go=S(uo,[["render",bo]]);const ho={},_o={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"},xo=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),ko=[xo];function wo(o,a){return s(),d("svg",_o,ko)}var yo=S(ho,[["render",wo]]);const Fo={},Eo={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"},Co=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),$o=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),Do=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),Bo=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),Yo=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Ao=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),So=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),zo=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),Po=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),To=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),Io=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),Lo=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),Mo=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),Oo=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),No=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),qo=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),Vo=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),Go=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),jo=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),Ro=[Co,$o,Do,Bo,Yo,Ao,So,zo,Po,To,Io,Lo,Mo,Oo,No,qo,Vo,Go,jo];function Uo(o,a){return s(),d("svg",Eo,Ro)}var Wo=S(Fo,[["render",Uo]]);const Ho={},Zo={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"},Jo=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),Xo=[Jo];function Ko(o,a){return s(),d("svg",Zo,Xo)}var Qo=S(Ho,[["render",Ko]]);const tn={class:"progress"},en=T({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const a=o,n=U(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(u,l)=>(s(),d("div",tn,[t("div",{class:st(["progress-value",`${o.value>50}`]),style:At({width:`${o.value}%`,backgroundColor:e(n)})},[t("span",null,i(o.text),1)],6),wt(u.$slots,"default",{},void 0,!0)]))}});var Te=S(en,[["__scopeId","data-v-733828e1"]]);const an={},on={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},nn=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),rn=[nn];function sn(o,a){return s(),d("svg",on,rn)}var dn=S(an,[["render",sn]]);const ln={},un={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},cn=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),pn=[cn];function fn(o,a){return s(),d("svg",un,pn)}var mn=S(ln,[["render",fn]]);const vn={class:"checkbox_switch"},bn={class:"checkbox_switch_on"},gn={class:"checkbox_switch_off"},hn=T({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,u=U({get:()=>n.modelValue.valueOf(),set:l=>a("update:modelValue",l)});return(l,r)=>(s(),d("label",vn,[z(t("input",{type:"checkbox","onUpdate:modelValue":r[0]||(r[0]=c=>aa(u)?u.value=c:null)},null,512),[[$t,e(u)]]),t("span",bn,[A(dn)]),t("span",gn,[A(mn)]),wt(l.$slots,"default",{},void 0,!0)]))}});var Ie=S(hn,[["__scopeId","data-v-76324716"]]);const _n={},xn={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"},kn=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),wn=[kn];function yn(o,a){return s(),d("svg",xn,wn)}var Fn=S(_n,[["render",yn]]);const En={},Cn={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"},$n=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),Dn=[$n];function Bn(o,a){return s(),d("svg",Cn,Dn)}var Yn=S(En,[["render",Bn]]);const An={};function Sn(o,a){return s(),d("article",null,[wt(o.$slots,"default",{},void 0,!0)])}var zn=S(An,[["render",Sn],["__scopeId","data-v-bd286d4e"]]);const Pn={class:"cover"},Tn={class:"thumbnail"},In=T({emits:["click"],setup(o,{emit:a}){const n=()=>{a("click")};return(u,l)=>(s(),G(zn,null,{default:j(()=>[t("a",{onClick:n},[t("div",Pn,[t("div",Tn,[wt(u.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Ln=S(In,[["__scopeId","data-v-123deb20"]]);const Mn={class:"select-editable"},On={selected:"",value:""},Nn=["value"],qn={value:"useInput"},Vn=["placeholder"],Gn=T({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=E(""),c=E(""),w=U({get:()=>n.modelValue.valueOf(),set:m=>a("update:modelValue",m)}),x=m=>{m===r.value||r.value==="useInput"&&m===c.value||(m===""||n.options.some(b=>b.key===m)?r.value=m:(c.value=m,r.value="useInput"))};Kt(()=>n.modelValue,m=>{x(m)}),xt(()=>{const m=w.value;x(m)});const f=m=>{r.value==="useInput"?w.value=c.value:w.value=r.value},p=m=>{w.value=c.value};return(m,b)=>(s(),d("label",null,[t("div",Mn,[z(t("select",{"onUpdate:modelValue":b[0]||(b[0]=h=>r.value=h),autocomplete:"off",onChange:f},[t("option",On,i(e(u)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(s(!0),d(L,null,R(o.options,(h,g)=>(s(),d("option",{value:h.key,key:g},i(h.value||h.key),9,Nn))),128)),t("option",qn,i(e(u)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[Q,r.value,void 0,{trim:!0}]]),r.value=="useInput"?z((s(),d("input",{key:0,type:"text","onUpdate:modelValue":b[1]||(b[1]=h=>c.value=h),required:"",placeholder:e(u)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:p},null,40,Vn)),[[Z,c.value,void 0,{trim:!0}]]):$("",!0)])]))}});var Ct=S(Gn,[["__scopeId","data-v-0b6f3a7d"]]);const jn={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},Rn=T({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const a=n=>{if(n==null)return;if(typeof n=="number")return n+"px";const u=n.toString();return parseInt(u)+""==u?u+"px":u};return(n,u)=>(s(),d("div",{class:"quick-loading",style:At({width:a(o.size),height:a(o.size)})},[(s(),d("svg",jn,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:At({fill:o.color})},null,4)]))],4))}});var Un=S(Rn,[["__scopeId","data-v-0ec4e762"]]);const Wn={},Hn={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":""},Zn=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),Jn=[Zn];function Xn(o,a){return s(),d("svg",Hn,Jn)}var Kn=S(Wn,[["render",Xn]]);const Qn={},ti={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},ei=yt('',1),ai=[ei];function oi(o,a){return s(),d("svg",ti,ai)}var ni=S(Qn,[["render",oi]]);const ii=o=>(J("data-v-b934e2ce"),o=o(),X(),o),ri=["href","title"],si=ii(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),di=[si],li=T({props:{type:null},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{switch(a.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(r,c)=>(s(),d("a",{href:e(l),target:"_blank",title:e(n)("\u8DF3\u8F6C\u6559\u7A0B")},di,8,ri))}});var ui=S(li,[["__scopeId","data-v-b934e2ce"]]),Le={install:o=>{o.component("icon-loading",Un),o.component("icon-success",Kn),o.component("icon-error",ni),o.component("GlHelp",ui)}};const{$gettext:Nt,$ngettext:Ht}=ee(),ci=o=>{},pi=()=>new Date().getTime(),fi=o=>{if(o<1e3)return`${o} B`;let n=1e3,u=0;for(let c=o/1e3;c>=1e3;c/=1e3)n*=1e3,u++;let l=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(n/100)).toFixed(1)+l[u]},mi=o=>{if(o==null)return 0;if(o<1e4)return o;let n=parseInt(`${o/1e4}`),u=o%1e4;return`${n}\u4E07${u}`},vi=o=>{if(o)try{var a=new Date(o),n=a.getHours(),u=a.getMinutes(),l=a.getSeconds();return n<10&&(n=`0${n}`),u<10&&(u=`0${u}`),l<10&&(l=`0${l}`),`${n}:${u}:${l}`}catch(r){}return""},bi=o=>{if(o){let a=Math.floor(o/86400),n=Math.floor(o/3600)%24,u=Math.floor(o/60)%60,l=o%60;return(a>0?Ht("%{ days }\u5929","%{ days }\u5929",a,{days:Wt(a)}):"")+Ht("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",n,{hours:Wt(n)})+Ht("%{ minutes }\u5206","%{ minutes }\u5206",u,{minutes:Wt(u)})+Ht("%{ seconds }\u79D2","%{ seconds }\u79D2",l,{seconds:Wt(l)})}},gi=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),hi=o=>o.length<3?Nt("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?Nt("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?Nt("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?Nt("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:Nt("\u975E\u6CD5\u7684\u7528\u6237\u540D"),_i=(o,a)=>{let n=!0,u=null;const l=()=>{u=null,n&&o().finally(()=>{n&&(u=setTimeout(l,a))})};return u=setTimeout(l,0),()=>{n=!1,u!=null&&clearTimeout(u)}};var xi=Object.freeze(Object.defineProperty({__proto__:null,formatDate:ci,UnixDate:pi,byteToSize:fi,numberToSum:mi,dateForm:vi,stampForm:bi,checkIsIP:gi,checkSmabaUserName:hi,easyInterval:_i},Symbol.toStringTag,{value:"Module"})),_t=K({},xi);const ki=()=>{var a;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(a=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&a.matches?"dark":"light"},wi=()=>ki()=="dark",yi={class:"flow"},Fi={class:"flow-data"},Ei={key:0},Ci={key:1},$i=T({setup(o){const{$gettext:a,$ngettext:n}=q();oa([na,ia,ra,sa,da,la]);const u=E(),l=_=>{var k;const v=(k=u.value)==null?void 0:k[_];return!v||v.startTime==0?"":p(v.startTime*1e3)+"-"+p(v.endTime*1e3)},r=U(()=>{var v;let _=[];return(v=u.value)==null||v.forEach(k=>{_.push({value:k.uploadSpeed})}),_}),c=U(()=>{var v;let _=[];return(v=u.value)==null||v.forEach(k=>{_.push({value:k.downloadSpeed})}),_}),w=U(()=>{var v;let _="";if(u.value){let k=((v=u.value)==null?void 0:v.length)||0;if(k>0){let y=u.value[k-1];_=m(y.uploadSpeed)+"/s"}}return _}),x=U(()=>{var v;let _="";if(u.value){let k=((v=u.value)==null?void 0:v.length)||0;if(k>0){let y=u.value[k-1];_=m(y.downloadSpeed)+"/s"}}return _});U(()=>{var v;let _=[];return(v=u.value)==null||v.forEach(k=>{_.push({value:k.downloadSpeed+k.uploadSpeed})}),_});const f=()=>I(this,null,function*(){var _;try{const v=yield P.Network.Statistics.GET();if(v.data&&(_=v.data.result)!=null&&_.items){const k=v.data.result.slots||10;if(v.data.result.items.lengthk?u.value=v.data.result.items.slice(k-v.data.result.items.length):u.value=v.data.result.items}}catch(v){console.log(v)}}),p=_t.dateForm,m=_t.byteToSize,b=E();let h=null;const g=_=>{const v=wi();return h=ua(_,v?"dark":"light"),h.setOption({animation:!1,backgroundColor:v?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:k=>{if(Array.isArray(k)){let y="";k.length>0&&(y=l(k[0].axisValue));for(let F=0;F${k[F].seriesName}: ${m(k[F].value)}/s`;return y.toString()}else{const y=k;return`${l(y.axisValue)}
${y.seriesName}: ${m(y.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:v?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(k,y){return`${m(k)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:r.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:v?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),h};return xt(()=>{setTimeout(()=>I(this,null,function*(){if(b.value){yield f();const _=g(b.value),v=b.value;_.resize({width:v.clientWidth,height:v.clientHeight}),window.addEventListener("resize",()=>{_.resize({width:v.clientWidth,height:v.clientHeight})});const k=()=>I(this,null,function*(){if(h!=null){if(!document.hidden){if(yield f(),h==null)return;_.setOption({series:[{name:a("\u4E0B\u8F7D"),data:c.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:r.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(k,5e3)}});setTimeout(k,5e3)}}),900)}),zt(()=>{h!=null&&(h.dispose(),h=null)}),(_,v)=>(s(),d("div",yi,[t("div",{ref_key:"el",ref:b,class:"echart"},null,512),t("div",Fi,[e(w)?(s(),d("span",Ei,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(w)),1)):$("",!0),e(x)?(s(),d("span",Ci,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(x)),1)):$("",!0)])]))}});var Di=S($i,[["__scopeId","data-v-641bc7f8"]]);const Bi={},Yi={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},Ai=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),Si=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),zi=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),Pi=[Ai,Si,zi];function Ti(o,a){return s(),d("svg",Yi,Pi)}var ht=S(Bi,[["render",Ti]]);let Zt=0;const Ii={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,Zt=window.setTimeout(o,1e3))};Zt=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,Zt!=0&&clearTimeout(Zt),this.Close())}}},oe=o=>(J("data-v-6935a479"),o=o(),X(),o),Li={key:0,class:"loading icon"},Mi=oe(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),Oi=[Mi],Ni={key:1,class:"success icon"},qi=oe(()=>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)),Vi=[qi],Gi={key:2,class:"error icon"},ji=oe(()=>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)),Ri=[ji],Ui={key:3,class:"warning icon"},Wi=oe(()=>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)),Hi=[Wi];function Zi(o,a,n,u,l,r){return s(),G(bt,{name:"el-fade-in-linear"},{default:j(()=>[l.show?(s(),d("div",{key:0,class:"toast",onClick:a[1]||(a[1]=c=>r.Stop())},[n.type=="loading"?(s(),d("div",Li,Oi)):n.type=="success"?(s(),d("div",Ni,Vi)):n.type=="error"?(s(),d("div",Gi,Ri)):n.type=="warning"?(s(),d("div",Ui,Hi)):$("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=nt(()=>{},["stop"]))},i(r.Message),1)])):$("",!0)]),_:1})}var Ji=S(Ii,[["render",Zi],["__scopeId","data-v-6935a479"]]);const Vt=new Map,Pt=o=>{const a=at(Ji,ot(K({},o),{Close:()=>{u()}})),n=document.createElement("div");document.body.append(n),a.mount(n);const u=()=>{n.remove(),Vt.get(a._uid)&&Vt.delete(a._uid)};return o.type=="loading"&&Vt.set(a._uid,{Close:u}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{u()},o==null?void 0:o.duration):setTimeout(()=>{u()},3e3)),{Close:u}},D=o=>Pt(o);D.Loading=(o,a)=>Pt({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});D.Success=o=>Pt({type:"success",message:o});D.Error=o=>Pt({type:"error",message:o,duration:0});D.Warning=o=>Pt({type:"warning",message:o});D.Message=o=>Pt({message:o});D.Clear=()=>{Vt.forEach((o,a)=>{o.Close(),Vt.delete(a)})};const{$gettext:Bt,$ngettext:nC}=ee(),ct={installApp:(o,a)=>new Promise((n,u)=>{let l=0;P.App.Install.POST({name:o}).then(()=>{const r=setTimeout(()=>{l==0&&(l=1,n(!1))},(a||60)*1e3),c=()=>{l==0&&P.App.Check.POST({name:o}).then(w=>{if(l==0&&w!=null&&w.data){const{result:x}=w.data;if((x==null?void 0:x.status)=="installed"){clearTimeout(r),l=1,n(!0);return}}}).catch(w=>{}).finally(()=>{l==0&&setTimeout(c,3e3)})};setTimeout(c,3e3)}).catch(r=>{l==0&&(l=1,u(Bt("\u5B89\u88C5\u5931\u8D25\uFF0C")+r))})}),checkAndInstallApp:(o,a,n)=>I(St,null,function*(){let u=D.Loading(Bt("\u68C0\u67E5\u4E2D..."));try{const l=yield P.App.Check.POST({name:o});if(u.Close(),l!=null&&l.data){const{result:r,error:c}=l.data;if(c)D.Warning(c);else if(r){if(r.status=="installed")return!0;if(confirm(Bt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:a}))){u=D.Loading(Bt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const w=yield ct.installApp(n||o);if(u.Close(),w)return!0;D.Error(Bt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else D.Warning(Bt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(l){return u.Close(),D.Warning(l),!1}}),installAndGo:(o,a,n,u)=>I(St,null,function*(){(yield ct.checkAndInstallApp(o,a,u))&&(location.href=n)})},Xi={},Ki={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"},Qi=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),tr=[Qi];function er(o,a){return s(),d("svg",Ki,tr)}var ar=S(Xi,[["render",er]]);const or=o=>(J("data-v-75eeccd3"),o=o(),X(),o),nr={id:"actioner"},ir={key:0,class:"action-container"},rr={class:"action-container_header"},sr=or(()=>t("div",null,null,-1)),dr={class:"title"},lr=["title"],ur={class:"action-container_body"},cr=T({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1);xt(()=>{l.value=!0,document.body.setAttribute("lock-scroll","true")}),zt(()=>{document.body.removeAttribute("lock-scroll")});const r=()=>{a.Close&&(l.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(c,w)=>(s(),d("div",nr,[t("div",{class:"bg",onClick:r}),o.type!=null?wt(c.$slots,"default",{key:0},void 0,!0):(s(),d(L,{key:1},[l.value?(s(),d("div",ir,[t("div",rr,[sr,t("div",dr,i(o.title),1),t("button",{class:"close",title:e(n)("\u5173\u95ED"),onClick:r},[A(ar)],8,lr)]),t("div",ur,[wt(c.$slots,"default",{},void 0,!0)])])):$("",!0)],64))]))}});var pr=S(cr,[["__scopeId","data-v-75eeccd3"]]);const it=T({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(a,n)=>(s(),G(pr,{Close:o.Close,type:o.type,title:o.title},{default:j(()=>[wt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),fr=["onSubmit"],mr={class:"actioner-dns_header"},vr={class:"actioner-dns_body"},br={class:"label-item"},gr={class:"label-item_key"},hr={class:"label-item_value"},_r=["disabled"],xr={value:"manual"},kr={class:"label-item"},wr={class:"label-item_key"},yr={class:"label-item_value"},Fr=["placeholder","onUpdate:modelValue"],Er={class:"label-item_key"},Cr={class:"label-item_value"},$r=["placeholder","onUpdate:modelValue"],Dr={key:1,class:"label-message"},Br={class:"actioner-dns_footer"},Yr=["disabled"],Ar={key:1,class:"actioner-dns"},Sr={class:"actioner-dns_header"},zr={class:"actioner-dns_body"},Pr={class:"config-message"},Tr={class:"actioner-dns_footer"},Ir=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=ae(),c=r.status,w=U(()=>r.status.proto!="static"),x=()=>{let _=c.dnsList||[];for(_=_.filter(v=>v);_.length<2;)_.push("");return _},f=E({interfaceName:c.defaultInterface||"",dnsProto:c.dnsProto||"manual",manualDnsIp:x()}),p=E(""),m=E(!1),b=()=>I(this,null,function*(){p.value="";let _={};switch(f.value.dnsProto){case"auto":break;case"manual":if(_.manualDnsIp=[],!f.value.manualDnsIp[0]){D.Error(n("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}_.manualDnsIp=f.value.manualDnsIp.filter(k=>k);break}_.dnsProto=f.value.dnsProto,_.interfaceName=f.value.interfaceName;const v=D.Loading(n("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.DnsConfig.POST(_);if(k!=null&&k.data){const{success:y,error:F}=k==null?void 0:k.data;F&&(p.value=F),(y==null||y==0)&&(D.Success(n("\u914D\u7F6E\u6210\u529F")),l.value=1)}}catch(k){p.value=k}v.Close()}),h=_=>{_.preventDefault(),a.Close&&a.Close()},g=_=>{location.reload()};return(_,v)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0?(s(),d("form",{key:0,class:"actioner-dns",onSubmit:nt(b,["prevent"])},[t("div",mr,[t("span",null,i(e(n)("DNS\u914D\u7F6E")),1)]),t("div",vr,[t("div",br,[t("div",gr,[t("span",null,i(e(n)("DNS\u9009\u9879")),1)]),t("div",hr,[z(t("select",{"onUpdate:modelValue":v[0]||(v[0]=k=>f.value.dnsProto=k)},[t("option",{value:"auto",disabled:!e(w)},i(e(n)("\u81EA\u52A8\u83B7\u53D6DNS")),9,_r),t("option",xr,i(e(n)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[Q,f.value.dnsProto]])])]),f.value.dnsProto=="manual"?(s(!0),d(L,{key:0},R(f.value.manualDnsIp,(k,y)=>(s(),d("div",kr,[y==0?(s(),d(L,{key:0},[t("div",wr,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",yr,[z(t("input",{type:"text",placeholder:e(n)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":F=>f.value.manualDnsIp[y]=F},null,8,Fr),[[Z,f.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(s(),d(L,{key:1},[t("div",Er,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",Cr,[z(t("input",{type:"text",placeholder:e(n)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":F=>f.value.manualDnsIp[y]=F},null,8,$r),[[Z,f.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):$("",!0),p.value?(s(),d("div",Dr,i(p.value),1)):$("",!0)]),t("div",Br,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:m.value},i(e(n)("\u786E\u8BA4")),9,Yr),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(n)("\u53D6\u6D88")),1)])],40,fr)):l.value==1?(s(),d("div",Ar,[t("div",Sr,[t("span",null,i(e(n)("DNS\u914D\u7F6E")),1)]),t("div",zr,[t("div",Pr,i(e(n)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",Tr,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},i(e(n)("\u5B8C\u6210")),1)])])):$("",!0)]),_:1},8,["Close"]))}});var Lr=S(Ir,[["__scopeId","data-v-5cff2770"]]);const Me=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Lr,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Mr=o=>(J("data-v-7f0d8217"),o=o(),X(),o),Or={class:"action"},Nr={class:"action-body"},qr=Mr(()=>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)),Vr={class:"title"},Gr={class:"info"},jr=["href"],Rr={class:"btns"},Ur=T({props:{port:Number,Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>`http://${location.hostname}:${a.port}`),r=()=>{a.Close&&(a.Close(),location.reload())};return(c,w)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",Or,[t("div",Nr,[qr,t("h2",Vr,i(e(n)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Gr,[t("span",null,i(e(n)("\u524D\u5F80")),1),t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,jr),t("span",null,i(e(n)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",Rr,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:r},i(e(n)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var Wr=S(Ur,[["__scopeId","data-v-7f0d8217"]]),Hr=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Wr,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Oe=o=>(J("data-v-02f10ac5"),o=o(),X(),o),Zr=Oe(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),Jr={class:"app-container_status-label_text"},Xr={class:"text_status"},Kr={class:"text_info"},Qr=Oe(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),ts={class:"app-container_status-label_text"},es={class:"text_info"},as=T({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=ze(),r=E(null),c=x=>{const f=x.target,{left:p,top:m}=f.getBoundingClientRect();l.portitemStyle.show=!0,l.portitemStyle.left=p,l.portitemStyle.top=m,l.portitemStyle.portitem=a.item},w=x=>{l.portitemStyle.show=!1};return(x,f)=>(s(),d("div",{class:"app-container_status-label_bg",style:At(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:r,onMouseenter:c,onMouseleave:w},[o.item.linkState=="DOWN"?(s(),d(L,{key:0},[Zr,t("div",Jr,[t("div",Xr,i(e(n)("\u5DF2\u65AD\u5F00")),1),t("div",Kr,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(s(),d(L,{key:1},[Qr,t("div",ts,[t("div",null,i(o.item.linkSpeed),1),t("div",es,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var Ne=S(as,[["__scopeId","data-v-02f10ac5"]]);const qe=o=>(J("data-v-3470ca08"),o=o(),X(),o),os=qe(()=>t("span",null,i("<"),-1)),ns=[os],is=qe(()=>t("span",null,i(">"),-1)),rs=[is],ss=T({props:{portList:{type:Array,required:!0}},setup(o){const a=E(),n=E(0),u=E(0),l=E(0),r=E(!1),c=()=>{if(l.value>=0){l.value=0;return}l.value+=100},w=()=>{if(l.value<=0-n.value+u.value){l.value=0-n.value+u.value;return}l.value-=100};return xt(()=>{ca(()=>{a.value&&(n.value=a.value.scrollWidth,u.value=a.value.clientWidth,r.value=n.value>u.value)})}),(x,f)=>(s(),d("div",{class:"app-interfaces",ref_key:"el",ref:a},[r.value?(s(),d(L,{key:0},[t("a",{class:"btn-f",onClick:c},ns),t("a",{class:"btn-r",onClick:w},rs)],64)):$("",!0),(s(!0),d(L,null,R(o.portList,(p,m)=>(s(),G(Ne,{item:p,transform:l.value},null,8,["item","transform"]))),256))],512))}});var ds=S(ss,[["__scopeId","data-v-3470ca08"]]);const ls={},us={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"},cs=yt('',1),ps=[cs];function fs(o,a){return s(),d("svg",us,ps)}var me=S(ls,[["render",fs]]);const ms=["onSubmit"],vs={class:"actioner-dns_header"},bs={class:"actioner-dns_body"},gs={class:"label-item"},hs={class:"label-item_key"},_s={class:"label-item_value"},xs={class:"item_info"},ks={class:"label-item"},ws={class:"label-item_key"},ys={class:"label-item_value"},Fs={selected:"true",value:""},Es=["value"],Cs={class:"actioner-dns_footer"},$s=["disabled"],Ds={key:1,class:"actioner-dns"},Bs={class:"actioner-dns_header"},Ys={class:"softsource_tit"},As={class:"actioner-dns_body"},Ss={class:"finished"},zs={class:"successed"},Ps={class:"btns"},Ts=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=E(""),c=E(),w=E();(()=>{P.Guide.SoftSourceList.GET().then(b=>{var h,g;if((h=b==null?void 0:b.data)!=null&&h.result){const _=(g=b==null?void 0:b.data)==null?void 0:g.result;w.value=_}}).then(()=>P.Guide.GetSoftSource.GET()).then(b=>{var h,g;if((h=b==null?void 0:b.data)!=null&&h.result){const _=b.data.result;c.value=_.softSource,(g=w.value)!=null&&g.softSourceList.find(v=>v.identity==_.softSource.identity)&&(r.value=_.softSource.identity)}})})();const f=b=>{b.preventDefault(),a.Close&&a.Close()},p=b=>{const h=D.Loading(n("\u6B63\u5728\u5207\u6362\u4E2D..."));P.Guide.SoftSource.POST({softSourceIdentity:r.value}).then(g=>{if(g!=null&&g.data){if((g.data.success||0)==0){l.value=1;return}else if(g.data.error)throw g.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(g=>{D.Error(g)}).finally(()=>h.Close())},m=b=>{b.preventDefault(),location.reload()};return(b,h)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>{var g,_;return[l.value==0?(s(),d("form",{key:0,class:"actioner-dns",onSubmit:nt(p,["prevent"])},[t("div",vs,[t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",bs,[t("div",gs,[t("div",hs,[t("span",null,i(e(n)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",_s,[t("p",xs,i((g=c.value)==null?void 0:g.name),1)])]),t("div",ks,[t("div",ws,[t("span",null,i(e(n)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",ys,[z(t("select",{name:"",id:"","onUpdate:modelValue":h[0]||(h[0]=v=>r.value=v)},[t("option",Fs,i(e(n)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(s(!0),d(L,null,R((_=w.value)==null?void 0:_.softSourceList,(v,k)=>(s(),d("option",{value:v.identity,key:k},i(v.name),9,Es))),128))],512),[[Q,r.value,void 0,{trim:!0}]])])])]),t("div",Cs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:r.value==""},i(e(n)("\u786E\u8BA4")),9,$s),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},i(e(n)("\u53D6\u6D88")),1)])],40,ms)):$("",!0),l.value==1?(s(),d("form",Ds,[t("div",Bs,[t("span",Ys,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",As,[t("div",Ss,[A(me)]),t("p",zs,i(e(n)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Ps,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:m},i(e(n)("\u786E\u5B9A")),1)])])])):$("",!0)]}),_:1},8,["Close"]))}});var Is=S(Ts,[["__scopeId","data-v-3f8f9931"]]);const Ve=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Is,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Ft=o=>(J("data-v-08006dd5"),o=o(),X(),o),Ls={class:"app-container_status-label"},Ms={class:"app-container_status-label_item",style:{"padding-right":"10px"}},Os={class:"app-container_status-container",style:{height:"100%"}},Ns={key:0,class:"app-container_status-container_body"},qs=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),Vs={class:"app-container_status-info"},Gs={class:"container_success"},js={class:"container_time"},Rs={key:1,class:"app-container_status-container_body"},Us=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ws={class:"app-container_status-info"},Hs={class:"container_failure"},Zs={class:"container_time"},Js={key:2,class:"app-container_status-container_body"},Xs=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ks={class:"app-container_status-info"},Qs={class:"container_failure"},td={class:"container_time"},ed={key:3,class:"app-container_status-container_body"},ad=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),od={class:"app-container_status-info"},nd={class:"container_failure"},id={class:"container_time"},rd={key:4,class:"app-container_status-container_body"},sd=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),dd={class:"app-container_status-info"},ld={class:"container_failure"},ud={class:"app-container_status-label_item",style:{"padding-left":"10px"}},cd={class:"app-container_status-container",style:{height:"100%"}},pd=["title"],fd={class:"DeviceBlock"},md={href:"/cgi-bin/luci/admin/status/routes"},vd={class:"app-container_status-container_body"},bd=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),gd={class:"app-container_status-info"},hd={class:"container_content"},_d={class:"devise"},xd=Ft(()=>t("em",null,null,-1)),kd={class:"app-container_status-container"},wd=["title"],yd={class:"DeviceBlock"},Fd={class:"app-container_title"},Ed={class:"app-container_status-label_block"},Cd={class:"app-container_status-label_block"},$d={class:"app-container_title"},Dd={class:"app-container_status-label_block"},Bd=Ft(()=>t("em",null,null,-1)),Yd={class:"app-container_status-container"},Ad={class:"app-container_title"},Sd=["title"],zd={class:"DeviceBlock"},Pd={class:"app-container_body"},Td=T({props:{homebox:{type:Object}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=()=>{Me()},l=()=>{Ve()},r=ae(),c=U(()=>r.status),w=U(()=>r.deviceList),x=E(!1),f=E(!1),p=E(!1),m=lt({portList:[],load:!1}),b=C=>{switch(C){case"pppoe":return a("\u62E8\u53F7\u4E0A\u7F51");case"static":return a("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return C&&C.toUpperCase()},h=C=>{switch(C){case"manual":return a("\u624B\u52A8\u914D\u7F6E");case"auto":return a("\u81EA\u52A8\u83B7\u53D6");default:return""}},g=()=>{(m.load&&document.hidden?Promise.resolve():P.Network.PortList.GET().then(C=>{if(C!=null&&C.data){const{result:B}=C==null?void 0:C.data;B&&(m.portList=B.ports||[])}})).finally(()=>{m.load=!0,setTimeout(g,1e4)})};g();const _=_t.stampForm,v=()=>{x.value=!x.value},k=()=>{f.value=!f.value},y=()=>{p.value=!p.value},F=()=>{v(),ct.installAndGo("app-meta-nlbwmon",a("\u5E26\u5BBD\u76D1\u63A7"),"/cgi-bin/luci/admin/services/nlbw")},Y=()=>I(this,null,function*(){var C,B,M;if(k(),yield ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const W=yield P.Network.Homebox.Enable.POST();(B=(C=W==null?void 0:W.data)==null?void 0:C.result)!=null&&B.port?Hr({port:W.data.result.port,setup:0}):((M=W==null?void 0:W.data)==null?void 0:M.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":D.Warning(a("\u542F\u52A8\u5931\u8D25"))}catch(W){D.Warning(a("\u542F\u52A8\u5931\u8D25"))}}),N=()=>{k(),ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return(C,B)=>{var W,V;const M=tt("router-link");return s(),d(L,null,[t("div",Ls,[t("div",Ms,[t("div",Os,[e(c)!=null?(s(),d(L,{key:0},[e(c).networkInfo=="netSuccess"?(s(),d("div",Ns,[qs,t("div",Vs,[t("span",Gs,i(e(a)("\u5DF2\u8054\u7F51")),1),t("span",js,i(e(_)(e(c).uptimeStamp)),1)])])):e(c).networkInfo=="dnsFailed"?(s(),d("div",Rs,[Us,t("div",Ws,[t("span",Hs,i(e(a)("DNS\u9519\u8BEF")),1),t("span",Zs,i(e(_)(e(c).uptimeStamp)),1),t("div",{onClick:u,class:"container_configure"},i(e(a)("DNS\u914D\u7F6E")),1)])])):e(c).networkInfo=="softSourceFailed"?(s(),d("div",Js,[Xs,t("div",Ks,[t("span",Qs,i(e(a)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1),t("span",td,i(e(_)(e(c).uptimeStamp)),1),t("div",{onClick:l,class:"container_configure"},i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])])):e(c).networkInfo=="netFailed"?(s(),d("div",ed,[ad,t("div",od,[t("span",nd,i(e(a)("\u672A\u8054\u7F51")),1),t("span",id,i(e(_)(e(c).uptimeStamp)),1)])])):(s(),d("div",rd,[sd,t("div",dd,[t("span",ld,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):$("",!0)])]),t("div",ud,[t("div",cd,[t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u8BBE\u5907\u4FE1\u606F")},[A(ht,{onClick:v})],8,pd),z(t("div",fd,[t("div",{class:"menu_background",onClick:v}),t("ul",null,[t("li",null,[t("a",md,i(e(a)("\u8BBE\u5907\u8DEF\u7531")),1)]),t("li",null,[t("a",{onClick:F},i(e(a)("\u5E26\u5BBD\u76D1\u63A7")),1)])])],512),[[vt,x.value]]),t("div",vd,[bd,t("div",gd,[t("span",hd,i(((V=(W=e(w))==null?void 0:W.devices)==null?void 0:V.length)||0),1),t("span",_d,i(e(a)("\u5DF2\u8FDE\u63A5\u8BBE\u5907")),1)])])])])]),xd,t("div",kd,[t("span",{class:"more_icon",title:e(a)("\u6D4B\u901F")},[A(ht,{onClick:k})],8,wd),z(t("div",yd,[t("div",{class:"menu_background",onClick:k}),t("ul",null,[t("li",null,[t("a",{onClick:Y},i(e(a)("\u5185\u7F51\u6D4B\u901F")),1)]),t("li",null,[t("a",{onClick:N},i(e(a)("\u5916\u7F51\u6D4B\u901F")),1)])])],512),[[vt,f.value]]),t("div",Fd,[t("span",null,i(e(a)("IP\u5730\u5740"))+"\uFF08"+i(e(c).defaultInterface)+"\uFF09",1)]),t("div",Ed,[t("span",null," IPv4: "+i(e(c).ipv4addr)+" \uFF08"+i(b(e(c).proto||""))+"\uFF09 ",1)]),t("div",Cd,[t("span",null,"IPv6: "+i(e(c).ipv6addr),1)]),t("div",$d,[t("span",null,"DNS\uFF08"+i(h(e(c).dnsProto))+"\uFF09",1)]),(s(!0),d(L,null,R(e(c).dnsList,H=>(s(),d("div",Dd,[t("span",null,i(H),1)]))),256))]),Bd,t("div",Yd,[t("div",Ad,[t("span",null,i(e(a)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F")},[A(ht,{onClick:y})],8,Sd),z(t("div",zd,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[A(M,{to:"/interfaceconfig"},{default:j(()=>[et(i(e(a)("\u7F51\u53E3\u914D\u7F6E")),1)]),_:1})])])],512),[[vt,p.value]])]),t("div",Pd,[e(m).load?(s(),G(ds,{key:0,portList:e(m).portList},null,8,["portList"])):$("",!0)])])],64)}}});var Id=S(Td,[["__scopeId","data-v-08006dd5"]]);const Ld={class:"network-container"},Md={class:"network-container_flow"},Od={class:"network-container_flow-container"},Nd={class:"network-container_status"},qd=T({setup(o){return(a,n)=>(s(),d("div",Ld,[t("div",Md,[t("div",Od,[A(Di)])]),t("div",Nd,[A(Id)])]))}});var Vd=S(qd,[["__scopeId","data-v-569bbceb"]]);const Gd={},jd={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"},Rd=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),Ud=[Rd];function Wd(o,a){return s(),d("svg",jd,Ud)}var ft=S(Gd,[["render",Wd]]);const Hd={},Zd={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Jd=yt('',1),Xd=[Jd];function Kd(o,a){return s(),d("svg",Zd,Xd)}var Ee=S(Hd,[["render",Kd]]);const Qd={},t0={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"},e0=yt('',1),a0=[e0];function o0(o,a){return s(),d("svg",t0,a0)}var n0=S(Qd,[["render",o0]]);const ve=o=>(J("data-v-d72e7026"),o=o(),X(),o),i0=["onSubmit"],r0={class:"action-header"},s0={class:"action-header_title"},d0={class:"action-body"},l0={class:"disk-info"},u0=ve(()=>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)),c0={key:0,class:"disk-info_mount-name"},p0={key:1,class:"disk-info_mount-name"},f0={key:0,class:"label-item"},m0={class:"label-item_key"},v0={class:"label-item_path"},b0={class:"label-item"},g0={class:"label-item_key"},h0={class:"label-item_value"},_0=["disabled"],x0={key:0,value:""},k0={value:"format"},w0={key:1,value:"default"},y0={class:"label-item_value"},F0={key:0,class:"msg"},E0={key:1,class:"msg"},C0={class:"action-footer"},$0=ve(()=>t("div",{class:"auto"},null,-1)),D0=["disabled"],B0=["disabled"],Y0={key:1,class:"action result"},A0={class:"action-body"},S0=ve(()=>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)),z0={class:"action-body_msg"},P0={key:0,class:"action-body_info"},T0={key:1,class:"action-body_info"},I0={class:"btns"},L0=T({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close&&a.Close()},r=F=>{F.preventDefault(),a.Cancel&&a.Cancel(),l()},c=F=>{a.Next&&a.Next(F),l()},w=E(!1),x=E(0),f=F=>{x.value=F},p=E(a.action=="nas"?"":"format"),m=E(),b=E(),h=()=>{switch(p.value){case"format":_();return;case"default":g();return;default:D.Warning(n("\u8BF7\u9009\u62E9\u9009\u9879"));return}},g=()=>{let F="";const Y=a.mount;if(Y!=null&&Y.mountPoint!=null&&(F=Y.mountPoint),F!=""){c(F);return}D.Warning(n("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},_=()=>{const F=a.disk,Y=a.mount;if(Y){const N=Y.mountPoint||Y.path;if(!confirm(n("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:N||""}))||!confirm(n("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:N||""})))return;k(Y);return}if(F){if(!confirm(n("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:F.venderModel||""}))||!confirm(n("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;v(F);return}D.Warning(n("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},v=F=>I(this,null,function*(){if(F.name==null||F.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(F.path==null||F.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}w.value=!0;const Y=D.Loading(n("\u521D\u59CB\u5316\u4E2D..."));try{const N=yield P.Nas.Disk.Init.POST({name:F.name,path:F.path});if(N!=null&&N.data){const{result:C,error:B}=N==null?void 0:N.data;B&&D.Warning(B),C&&(C.errorInfo?D.Warning(C.errorInfo):(D.Success(n("\u521D\u59CB\u5316\u6210\u529F")),C.childrens&&C.childrens.length>0&&(b.value=C.childrens[0]),m.value=C,f(1)))}}catch(N){D.Error(N)}Y.Close(),w.value=!1}),k=F=>I(this,null,function*(){if(F.path==null||F.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}w.value=!0;const Y=D.Loading(n("\u683C\u5F0F\u5316\u4E2D..."));try{const N=yield P.Nas.Disk.Partition.Format.POST({path:F.path,uuid:F.uuid,mountPoint:F.mountPoint});if(N!=null&&N.data){const{result:C,error:B}=N==null?void 0:N.data;B&&D.Warning(B),C&&(D.Success(n("\u683C\u5F0F\u5316\u6210\u529F")),b.value=C,f(1))}}catch(N){D.Error(N)}Y.Close(),w.value=!1}),y=()=>{if(b.value&&b.value.mountPoint){c(b.value.mountPoint);return}D.Warning(n("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(F,Y)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>{var N;return[x.value==0?(s(),d("form",{key:0,class:"action format",onSubmit:nt(h,["prevent"])},[t("div",r0,[t("div",s0,i(e(n)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",d0,[t("div",l0,[u0,o.mount?(s(),d("div",c0,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(s(),d("div",p0,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):$("",!0)]),o.mount?(s(),d("div",f0,[t("div",m0,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A")),1)]),t("div",v0,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):$("",!0),t("div",b0,[t("div",g0,[t("span",null,i(e(n)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",h0,[z(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=C=>p.value=C),required:"",disabled:o.action=="disk"},[o.mount!=null?(s(),d("option",x0,i(e(n)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):$("",!0),t("option",k0,i(e(n)("\u683C\u5F0F\u5316")),1),o.mount!=null?(s(),d("option",w0,i(e(n)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):$("",!0)],8,_0),[[Q,p.value]])]),t("div",y0,[p.value=="format"?(s(),d("p",F0,i(e(n)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):p.value=="default"?(s(),d("p",E0)):$("",!0)])])]),t("div",C0,[$0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button",disabled:w.value},i(e(n)("\u8FD4\u56DE")),9,D0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value},i(e(n)("\u4E0B\u4E00\u6B65")),9,B0)])],40,i0)):x.value==1?(s(),d("div",Y0,[t("div",A0,[S0,t("div",z0,i(e(n)("\u683C\u5F0F\u5316\u6210\u529F")),1),m.value?(s(),d("div",P0,[et(i(e(n)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(m.value.venderModel)+" "+i(e(n)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((N=b.value)==null?void 0:N.mountPoint),1)])):$("",!0),b.value?(s(),d("div",T0,[et(i(e(n)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(b.value.mountPoint),1)])):$("",!0),t("div",I0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(n)("\u4E0B\u4E00\u6B65"):e(n)("\u5B8C\u6210")),1)])])])):$("",!0)]}),_:1})]),_:1}))}});var M0=S(L0,[["__scopeId","data-v-d72e7026"]]),be=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(M0,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const ne=o=>(J("data-v-b5895698"),o=o(),X(),o),O0=["onSubmit"],N0=ne(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),q0={class:"action-body"},V0={class:"disk-info"},G0=ne(()=>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)),j0={key:0,class:"disk-info_mount-name"},R0={key:1,class:"disk-info_mount-name"},U0={key:0,class:"label-item"},W0={class:"label-item_key"},H0={class:"label-item_path"},Z0={class:"label-item"},J0={class:"label-item_key"},X0={class:"label-item_value"},K0={class:"action-footer"},Q0=ne(()=>t("div",{class:"auto"},null,-1)),tl=["disabled"],el=["disabled"],al={key:1,class:"action result"},ol={class:"action-body"},nl=ne(()=>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)),il={class:"action-body_msg"},rl=["innerHTML"],sl={class:"btns"},dl=T({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var _;const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close&&a.Close()},r=v=>{v.preventDefault(),a.Cancel&&a.Cancel(),l()},c=v=>{a.Next&&a.Next(v),l()},w=E(!1),x=E(0),f=E("/mnt/data_"+((_=a==null?void 0:a.mount)==null?void 0:_.name)),p=v=>{x.value=v};E(a.mount?"":"format"),E();const m=E(),b=()=>I(this,null,function*(){const v=a.mount;if(v==null){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(v.path==null||v.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(v.uuid==null||v.uuid==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}w.value=!0;const k=D.Loading(n("\u6302\u8F7D\u4E2D..."));try{const y=yield P.Nas.Disk.Partition.Mount.POST({path:v.path,uuid:v.uuid,mountPoint:f.value});if(y!=null&&y.data){const{result:F,error:Y}=y==null?void 0:y.data;Y&&D.Warning(Y),F&&(D.Success(n("\u6302\u8F7D\u6210\u529F")),m.value=F,p(1))}}catch(y){D.Error(y)}k.Close(),w.value=!1}),h=()=>{if(m.value&&m.value.mountPoint){c(m.value.mountPoint);return}D.Warning(n("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},g=()=>{};return(v,k)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>{var y,F;return[x.value==0?(s(),d("form",{key:0,class:"action format",onSubmit:nt(g,["prevent"])},[N0,t("div",q0,[t("div",V0,[G0,o.mount?(s(),d("div",j0,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(s(),d("div",R0,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):$("",!0)]),o.mount?(s(),d("div",U0,[t("div",W0,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A")),1)]),t("div",H0,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i((F=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:F.toUpperCase())+"\uFF09",1)])):$("",!0),t("div",Z0,[t("div",J0,[t("span",null,i(e(n)("\u6302\u8F7D\u70B9")),1)]),t("div",X0,[z(t("input",{type:"text","onUpdate:modelValue":k[0]||(k[0]=Y=>f.value=Y)},null,512),[[Z,f.value,void 0,{trim:!0}]])])])]),t("div",K0,[Q0,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value,onClick:b},i(e(n)("\u786E\u5B9A")),9,tl),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button",disabled:w.value},i(e(n)("\u8FD4\u56DE")),9,el)])],40,O0)):x.value==1?(s(),d("div",al,[t("div",ol,[nl,t("div",il,i(e(n)("\u6302\u8F7D\u6210\u529F")),1),m.value?(s(),d("div",{key:0,class:"action-body_info",innerHTML:e(n)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:m.value.path||"",mount:m.value.mountPoint||""},!0)},null,8,rl)):$("",!0),t("div",sl,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:h},i(o.action=="nas"?e(n)("\u5B8C\u6210"):e(n)("\u4E0B\u4E00\u6B65")),1)])])])):$("",!0)]}),_:1})]),_:1}))}});var ll=S(dl,[["__scopeId","data-v-b5895698"]]),Ge=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(ll,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const ul={class:"disk-content"},cl={class:"disk-item"},pl={class:"disk-item_name"},fl={key:0},ml={key:1},vl={key:2},bl={class:"disk_value"},gl={class:"disk-item_value"},hl={class:"value-data"},_l={key:0,class:"disk-item"},xl={class:"disk-item_name"},kl={key:0},wl=["href"],yl={key:0},Fl={class:"disk_status"},El={key:0,class:"disk_status_item"},Cl={key:0,class:"tooltip-trigger disk_tip"},$l={class:"tooltip-text tooltip-top"},Dl={class:"disk_dir_tip"},Bl={class:"disk_status_item"},Yl={key:0,class:"tooltip-trigger disk_tip"},Al={class:"tooltip-text tooltip-top"},Sl={class:"disk_dir_tip"},zl=T({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>a.part.filesystem=="No FileSystem"),r=U(()=>a.part.filesystem&&["ntfs","vfat","exfat"].indexOf(a.part.filesystem)>=0),c=U(()=>a.part.mountPoint&&a.part.isReadOnly&&a.part.filesystem!="swap"),w=U(()=>l.value||!a.part.isSystemRoot&&(c.value||r.value||!a.part.mountPoint&&a.part.filesystem=="swap")),x=function(){be({action:"disk",disk:a.disk,mount:a.part,Cancel:()=>{},Next:h=>{location.reload()}})},f=()=>{Ge({action:"nas",disk:a.disk,mount:a.part,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>I(this,null,function*(){const h=D.Loading(n("\u5904\u7406\u4E2D..."));try{const g=yield P.Nas.Disk.InitRest.POST({name:a.disk.name,path:a.disk.path});if(g!=null&&g.data){const{result:_,error:v}=g==null?void 0:g.data;v&&D.Warning(v),_&&(D.Success(n("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(g){D.Error(g)}h.Close()}),m=U(()=>a.part.filesystem=="Free Space"),b=U(()=>{const h=a.part.mountPoint?a.part.mountPoint:"";return h.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+h.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+h});return(h,g)=>{var v;const _=tt("progress-item");return s(),d("div",ul,[t("li",cl,[t("div",pl,[e(m)?(s(),d("span",fl,i(e(n)("\u672A\u5206\u533A")),1)):(s(),d("span",ml,i(o.part.name)+i(o.part.mountPoint?"":e(l)?e(n)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(n)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(s(),d("span",vl,i(e(n)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):$("",!0)]),t("div",bl,[t("div",gl,[t("div",hl,[A(_,{value:e(m)||!o.part.usage?0:o.part.usage,text:e(m)?e(n)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(n)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(m)?(s(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:p},i(e(n)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(w)?(s(),d("button",{key:1,class:"cbi-button cbi-button-apply",onClick:x},i(e(n)("\u683C\u5F0F\u5316\u5206\u533A")),1)):$("",!0)])]),!e(m)&&!e(l)?(s(),d("li",_l,[t("span",xl,[o.part.mountPoint?(s(),d(L,{key:0},[o.part.filesystem=="swap"?(s(),d("span",kl,i(e(n)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(s(),d("a",{key:1,href:e(b),target:"_blank"},i(o.part.mountPoint),9,wl))],64)):(s(),d(L,{key:1},[o.part.filesystem=="swap"?(s(),d("span",yl,i(e(n)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(s(),d("span",{key:1,class:"value-data buttondiv",onClick:f},i(e(n)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",Fl,[o.part.mountPoint&&o.part.filesystem!="swap"?(s(),d("div",El,[t("div",null,i(e(n)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(n)("\u53EA\u8BFB"):e(n)("\u8BFB\u5199")),1),e(c)?(s(),d("div",Cl,[A(ft),t("div",$l,[t("div",Dl,i(e(n)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):$("",!0)])):$("",!0),t("div",Bl,[t("div",null,i(e(n)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((v=o.part.filesystem)==null?void 0:v.toUpperCase()),1),!o.part.isSystemRoot&&e(r)?(s(),d("div",Yl,[A(ft),t("div",Al,[t("span",Sl,i(e(n)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):$("",!0)])])])):$("",!0)])}}});var Pl=S(zl,[["__scopeId","data-v-10dd00b8"]]);const Tl=o=>(J("data-v-127a3100"),o=o(),X(),o),Il={key:0,class:"action"},Ll={class:"title"},Ml={class:"app-container_info"},Ol={class:"app-container_body"},Nl={class:"action-footer"},ql=Tl(()=>t("div",{class:"auto"},null,-1)),Vl=T({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=()=>{a.Close&&a.Close()},c=w=>{w.preventDefault(),a.Cancel&&a.Cancel(),r()};return(w,x)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[l.value==0?(s(),d("div",Il,[t("h2",Ll,i(e(n)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(n)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",Ml,[t("span",null,i(e(n)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(n)("\u5BB9\u91CF")),1)]),t("div",Ol,[(s(!0),d(L,null,R(o.disk.childrens,(f,p)=>(s(),G(Pl,{key:p,part:f,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",Nl,[ql,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c,type:"button"},i(e(n)("\u8FD4\u56DE")),1)])])):$("",!0)]),_:1})]),_:1},8,["Close"]))}});var Gl=S(Vl,[["__scopeId","data-v-127a3100"]]),jl=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Gl,ot(K({},o),{Close:()=>{u()}}));n.component("progress-item",Te),n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Rl={key:0,class:"disk-item error"},Ul=["title"],Wl={class:"disk-item_value"},Hl={class:"value-data"},Zl={class:"error"},Jl={key:1,class:"disk-item"},Xl=["title"],Kl={key:0,class:"disk_value"},Ql={class:"value-data"},tu={href:"/cgi-bin/luci/admin/nas/smart"},eu={class:"error"},au={key:1,class:"disk_value"},ou={class:"disk-item_value"},nu={class:"value-data"},iu={class:"disk-item-tooltip"},ru={class:"disk_icon"},su={key:0,class:"tooltip-trigger"},du={class:"disk_tip"},lu={class:"tooltip-text tooltip-top"},uu={class:"disk_dir_tip"},cu={key:1,class:"tooltip-trigger"},pu={class:"disk_tip"},fu={class:"tooltip-text tooltip-top"},mu={class:"disk_dir_tip"},vu={key:2,class:"disk-item load"},bu=["title"],gu={class:"disk_value"},hu={class:"disk-item_value"},_u={class:"value-data"},xu={key:3,class:"disk-item load"},ku=["title"],wu={class:"disk_value"},yu={key:0,class:"disk-item_value"},Fu={class:"value-data"},Eu={class:"disk_icon"},Cu=T({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>a.disk.errorInfo?"error":a.disk.childrens==null||a.disk.childrens.length==0||a.disk.childrens.length==1&&a.disk.childrens[0].filesystem=="No FileSystem"?"load":a.disk.childrens.filter(p=>p.mountPoint).length==0?"unmounted":"success"),r=U(()=>{const p=a.disk;let m=p.name;return p.size&&(m+=`\u3010${p.size}\u3011`),p.venderModel&&(m+=`(${p.venderModel})`),m}),c=U(()=>{var m;const p=a.disk;return!p.isSystemRoot&&(((m=p.childrens)==null?void 0:m.filter(b=>b.isReadOnly&&b.filesystem!="swap").length)||0)>0}),w=()=>{be({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},x=()=>{jl({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},f=()=>{const p=a.disk,m=p.childrens||[];Ge({action:"nas",disk:p,mount:m[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(p,m)=>{var h,g,_;const b=tt("progress-item");return e(l)=="error"?(s(),d("li",Rl,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,Ul),t("div",Wl,[t("div",Hl,[t("span",Zl,i(o.disk.errorInfo),1)])])])):e(l)=="success"?(s(),d("li",Jl,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,Xl),o.disk.smartWarning&&o.smartWarning?(s(),d("div",Kl,[t("div",Ql,[t("a",tu,[t("span",eu,i(e(n)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(s(),d("div",au,[t("div",ou,[t("div",nu,[A(b,{value:o.disk.usage||0,text:`${o.disk.used}/${o.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),t("div",iu,[t("span",null,i(e(n)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",ru,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(s(),d("span",su,[t("span",du,[A(ft)]),t("div",null,[t("div",lu,[t("span",uu,i(e(n)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):$("",!0),e(c)?(s(),d("span",cu,[t("span",pu,[A(ft)]),t("div",null,[t("div",fu,[t("span",mu,i(e(n)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):$("",!0),e(c)&&((h=o.disk.childrens)==null?void 0:h.length)==1?(s(),d("span",{key:2,class:"disk_infoicon",onClick:m[0]||(m[0]=v=>w())},[A(n0)])):$("",!0),t("span",{class:"disk_infoicon",onClick:m[1]||(m[1]=v=>x())},[A(Ee)])])]))])):e(l)=="load"?(s(),d("li",vu,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,bu),t("div",gu,[t("div",hu,[t("div",_u,[t("button",{onClick:m[2]||(m[2]=v=>w())},i(e(n)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(l)=="unmounted"?(s(),d("li",xu,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,ku),t("div",wu,[((g=o.disk.childrens)==null?void 0:g.length)==1?(s(),d("div",yu,[t("div",Fu,[o.disk.childrens[0].filesystem=="swap"?(s(),d("button",{key:0,onClick:m[3]||(m[3]=v=>x())},i(e(n)("\u67E5\u770B\u8BE6\u60C5")),1)):(s(),d("button",{key:1,onClick:m[4]||(m[4]=v=>f())},i(e(n)("\u624B\u52A8\u6302\u8F7D")),1))])])):$("",!0),t("div",Eu,[(((_=o.disk.childrens)==null?void 0:_.length)||0)>1?(s(),d("span",{key:0,class:"disk_infoicon",onClick:m[5]||(m[5]=v=>x())},[A(Ee)])):$("",!0)])])])):$("",!0)}}});var le=S(Cu,[["__scopeId","data-v-0b8d992f"]]);const $u=o=>(J("data-v-5f7dc1ac"),o=o(),X(),o),Du={class:"app-container"},Bu={class:"app-container_title"},Yu={class:"disk_info"},Au={class:"app-container_tool"},Su=["title"],zu={class:"DeviceBlock"},Pu={href:"/cgi-bin/luci/admin/nas/raid"},Tu=$u(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),Iu={href:"/cgi-bin/luci/admin/system/diskman"},Lu={href:"/cgi-bin/luci/admin/system/mounts"},Mu={key:0},Ou={class:"disk_loading_icon"},Nu={class:"disk_loading_info"},qu={key:1},Vu={class:"app-container_info"},Gu={class:"app-container_body"},ju={key:2},Ru={class:"app-container_info"},Uu={class:"app-container_body"},Wu={key:3},Hu={class:"app-container_info"},Zu={class:"app-container_body"},Ju=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=E(!1),l=lt({disks:null,raidList:null}),r=()=>{P.Nas.Disk.Status.GET().then(f=>{var p;if((p=f==null?void 0:f.data)!=null&&p.result){const m=f.data.result;l.disks=m.disks||[]}})};(()=>I(this,null,function*(){try{const f=yield P.Raid.List.GET();if(f!=null&&f.data){const{success:p,error:m,result:b}=f.data;if(b&&(l.raidList=b.disks||[]),m)throw m}}catch(f){console.log(f)}}))(),r();const w=()=>{u.value=!u.value},x=()=>{ct.installAndGo("luci-app-linkease",a("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(f,p)=>{var h,g;const m=tt("GlHelp"),b=tt("icon-loading");return s(),d("div",Du,[t("ul",null,[t("li",null,[t("div",Bu,[t("span",Yu,[et(i(e(a)("\u78C1\u76D8\u4FE1\u606F"))+" ",1),A(m,{type:"disk"})]),t("div",Au,[t("div",{class:"app-container_configure",onClick:x},i(e(a)("\u6587\u4EF6\u7BA1\u7406")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F")},[A(ht,{onClick:w})],8,Su)]),z(t("div",zu,[t("div",{class:"menu_background",onClick:w}),t("ul",null,[t("li",null,[t("a",Pu,i(e(a)("RAID\u7BA1\u7406")),1)]),Tu,t("li",null,[t("a",Iu,i(e(a)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("li",null,[t("a",Lu,i(e(a)("\u6302\u8F7D\u70B9")),1)])])],512),[[vt,u.value]])])]),!e(l).disks&&!e(l).raidList?(s(),d("li",Mu,[t("div",Ou,[A(b,{size:38,color:"currentColor"}),t("span",Nu,i(e(a)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])])):$("",!0),e(l).disks?(s(),d("li",qu,[t("div",Vu,[t("span",null,i(e(a)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Gu,[(s(!0),d(L,null,R((h=e(l).disks)==null?void 0:h.filter(_=>_.isSystemRoot),(_,v)=>(s(),G(le,{key:v,disk:_},null,8,["disk"]))),128))])])):$("",!0),e(l).disks?(s(),d("li",ju,[t("div",Ru,[t("span",null,i(e(a)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",Uu,[(s(!0),d(L,null,R((g=e(l).disks)==null?void 0:g.filter(_=>!_.isSystemRoot),(_,v)=>(s(),G(le,{key:v,disk:_,smartWarning:!0},null,8,["disk"]))),128))])])):$("",!0),e(l).raidList&&e(l).raidList.length>0?(s(),d("li",Wu,[t("div",Hu,[t("span",null,i(e(a)("RAID\u8BBE\u5907")),1)]),t("div",Zu,[(s(!0),d(L,null,R(e(l).raidList,(_,v)=>(s(),G(le,{key:v,disk:_},null,8,["disk"]))),128))])])):$("",!0)])])}}});var Xu=S(Ju,[["__scopeId","data-v-5f7dc1ac"]]);const Ku={class:"app-container_samba"},Qu={key:0,class:"sambas-item"},tc={class:"sambas-item_name"},ec={class:"sambas-item_value"},ac={class:"sambas-item"},oc={class:"sambas-item_name tit"},nc={class:"sambas-item_value tit"},ic={class:"samba-item"},rc={class:"samba-item_name"},sc=["title"],dc=["href"],lc=T({props:{sambas:{type:Array}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=window.location.hostname;return(l,r)=>{var c;return s(),d("ul",Ku,[o.sambas?(s(),d("li",Qu,[t("div",tc,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ec,[t("span",null,i((c=o.sambas)!=null&&c.length?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])])):$("",!0),t("li",ac,[t("div",oc,[t("span",null,i(e(a)("\u5730\u5740")),1)]),t("div",nc,[t("span",null,i(e(a)("\u76EE\u5F55")),1)])]),(s(!0),d(L,null,R(o.sambas,w=>(s(),d("li",ic,[t("div",rc,[t("span",null,"smb://"+i(e(u))+"/"+i(w.shareName),1)]),t("div",{class:"samba-item_value",title:w.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+w.path},i(w.path),9,dc)],8,sc)]))),256))])}}});var uc=S(lc,[["__scopeId","data-v-ba3ddae2"]]);const cc={class:"webdav-item"},pc={class:"webdav-item_name"},fc={class:"webdav-item_value"},mc={key:0,class:"webdav-item"},vc={class:"webdav-item_name"},bc={class:"webdav-item_value"},gc=["href"],hc={key:1,class:"webdav-item"},_c={class:"webdav-item_name"},xc={class:"webdav-item_value"},kc=["href"],wc={key:2,class:"webdav-item"},yc={class:"webdav-item_name"},Fc={class:"webdav-item_value"},Ec=T({props:{webdav:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var r;return`http://${location.hostname}:${(r=a.webdav)==null?void 0:r.port}`});return(r,c)=>{var w,x,f,p,m,b,h;return s(),d(L,null,[t("li",cc,[t("div",pc,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",fc,[t("span",null,i((w=o.webdav)!=null&&w.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])]),(x=o.webdav)!=null&&x.path?(s(),d("li",mc,[t("div",vc,[t("span",null,i(e(n)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",bc,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.webdav)==null?void 0:f.path)},i((p=o.webdav)==null?void 0:p.path),9,gc)])])):$("",!0),(m=o.webdav)!=null&&m.port?(s(),d("li",hc,[t("div",_c,[t("span",null,i(e(n)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",xc,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,kc)])])):$("",!0),(b=o.webdav)!=null&&b.username?(s(),d("li",wc,[t("div",yc,[t("span",null,i(e(n)("\u8D26\u53F7:")),1)]),t("div",Fc,[t("span",null,i((h=o.webdav)==null?void 0:h.username),1)])])):$("",!0)],64)}}});var Cc=S(Ec,[["__scopeId","data-v-2bc5f580"]]);const ge=o=>(J("data-v-7732abe2"),o=o(),X(),o),$c={class:"disk-item"},Dc=ge(()=>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)),Bc={class:"disk-item_f"},Yc={class:"disk-item_venderModel"},Ac={class:"disk-item_used"},Sc=ge(()=>t("div",{class:"auto"},null,-1)),zc={class:"disk-item-r"},Pc={class:"disk-children"},Tc=["onClick"],Ic=ge(()=>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)),Lc={key:0},Mc={key:1},Oc=T({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var c,w;const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1);a.currDisk!=null&&((c=a.currDisk)==null?void 0:c.venderModel)==((w=a.disk)==null?void 0:w.venderModel)&&(l.value=!0);const r=x=>{l.value=!l.value,a.onDisk(x,null)};return(x,f)=>{var p;return s(),d("ul",$c,[t("li",{class:st(["disk-info",{on:o.disk.venderModel==((p=o.currDisk)==null?void 0:p.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:f[0]||(f[0]=m=>r(o.disk))},[Dc,t("div",Bc,[t("div",Yc,i(o.disk.venderModel),1),t("div",Ac,i(o.disk.used)+"/"+i(o.disk.size),1)]),Sc,t("div",zc,i(o.disk.path),1)],2),z(t("div",Pc,[(s(!0),d(L,null,R(o.disk.childrens,m=>{var b,h;return s(),d("li",{class:st(["disk-children_item",{on:m.uuid==((b=o.currMountPoint)==null?void 0:b.uuid)&&m.path==((h=o.currMountPoint)==null?void 0:h.path)}]),onClick:g=>o.onDisk(o.disk,m)},[Ic,m.mountPoint?(s(),d("span",Lc," \u3010"+i(m.filesystem)+"\u3011 "+i(m.mountPoint)+" \uFF08"+i(m.used)+"/"+i(m.total)+"\uFF09 ["+i(m.uuid)+"] ",1)):(s(),d("span",Mc," \u3010"+i(m.filesystem)+"\u3011 "+i(m.mountPoint||m.path||e(n)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(m.uuid)+"] ",1))],10,Tc)}),256))],512),[[vt,l.value]])])}}});var Ce=S(Oc,[["__scopeId","data-v-7732abe2"]]);const Nc=o=>(J("data-v-0d1b6ac8"),o=o(),X(),o),qc={class:"action list"},Vc={class:"action-header"},Gc={class:"action-header_title"},jc={class:"action-body"},Rc={class:"disk-list"},Uc={class:"action-msg"},Wc={href:"/cgi-bin/luci/admin/system/diskman"},Hc={class:"action-footer"},Zc=Nc(()=>t("div",{class:"auto"},null,-1)),Jc=T({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!0),r=lt({disks:[],raids:[]});(()=>I(this,null,function*(){const g=yield Promise.all([P.Nas.Disk.Status.GET(),P.Raid.List.GET()]);try{if(g[0]){const _=g[0];_!=null&&_.data.result&&(r.disks=(_==null?void 0:_.data.result.disks)||[])}if(g[1]){const _=g[1];_.data.result&&(r.raids=_.data.result.disks||[])}}catch(_){D.Warning(_)}}))();const w=E(),x=E(),f=(g,_)=>{w.value=g,x.value=_},p=()=>{a.Close&&a.Close()},m=()=>{a.Cancel&&a.Cancel(),p()},b=g=>{a.Next&&a.Next(g),p()},h=()=>{if(w.value==null){D.Warning(n("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(w.value.childrens!=null&&w.value.childrens.length>0&&x.value==null){D.Warning(n("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(x.value!=null&&(x.value.mountPoint==null||x.value.mountPoint=="")){D.Warning(n("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}l.value=!1,be({action:"nas",disk:w.value,mount:x.value,Cancel:()=>{l.value=!0},Next:g=>{b(g)}})};return(g,_)=>l.value?(s(),G(it,{key:0,type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",qc,[t("div",Vc,[t("div",Gc,i(e(n)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",jc,[t("div",Rc,[(s(!0),d(L,null,R(e(r).disks,v=>(s(),G(Ce,{disk:v,onDisk:f,currDisk:w.value,currMountPoint:x.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(s(!0),d(L,null,R(e(r).raids,v=>(s(),G(Ce,{disk:v,onDisk:f,currDisk:w.value,currMountPoint:x.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",Uc,[t("span",null,[et(i(e(n)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",Wc,i(e(n)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",Hc,[Zc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m,type:"button"},i(e(n)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:h,type:"button"},i(e(n)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):$("",!0)}});var Xc=S(Jc,[["__scopeId","data-v-0d1b6ac8"]]),Kc=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Xc,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Qc=o=>(J("data-v-5f6e53be"),o=o(),X(),o),t1={class:"action"},e1={class:"action-body"},a1=Qc(()=>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)),o1={class:"title"},n1={class:"info"},i1=["href"],r1={class:"btns"},s1=T({props:{Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(""),r=U(()=>`http://${location.hostname}:${l.value}`);(()=>{P.Nas.Linkease.Enable.POST().then(x=>{var f,p;(f=x==null?void 0:x.data)!=null&&f.result&&(l.value=((p=x.data.result)==null?void 0:p.port)||"")})})();const w=()=>{a.Close&&a.Close(),location.reload()};return(x,f)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",t1,[t("div",e1,[a1,t("h2",o1,i(e(n)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",n1,[t("span",null,i(e(n)("\u524D\u5F80")),1),t("a",{href:e(r),target:"_blank",rel:"noopener noreferrer"},i(e(r)),9,i1),t("span",null,i(e(n)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",r1,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},i(e(n)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var d1=S(s1,[["__scopeId","data-v-5f6e53be"]]),l1=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(d1,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const u1=o=>(J("data-v-2eafa10c"),o=o(),X(),o),c1=["onSubmit"],p1={class:"action-header"},f1={class:"action-header_title"},m1={class:"action-body"},v1={class:"label-item"},b1={class:"label-item_key"},g1={class:"label-item_value"},h1=["value"],_1={class:"label-item"},x1={class:"label-item_key"},k1={class:"label-item_value"},w1=["placeholder"],y1={class:"label-item"},F1={class:"label-item_key"},E1={class:"label-item_value"},C1={class:"action-footer"},$1=u1(()=>t("div",{class:"auto"},null,-1)),D1=["disabled"],B1=["disabled"],Y1=T({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=p=>{p.preventDefault(),a.Close&&a.Close()},r=E(!1),c=E({username:"root",password:"",rootPath:a.rootPath});(()=>I(this,null,function*(){const p=D.Loading(n("\u52A0\u8F7D\u4E2D..."));r.value=!0;try{const m=yield P.Nas.Webdav.Status.GET();if(m!=null&&m.data){const{result:b,error:h}=m.data;if(h){D.Warning(h);return}b&&(b.username&&(c.value.username=b.username),b.password&&(c.value.password=b.password))}}catch(m){D.Error(m)}r.value=!1,p.Close()}))();const x=()=>{const p=c.value;if(p.rootPath==""){D.Warning(n("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.username==""){D.Warning(n("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.password==""){D.Warning(n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}f(p)},f=p=>I(this,null,function*(){r.value=!0;const m=D.Loading(n("\u521B\u5EFA\u4E2D..."));try{const b=yield P.Nas.Webdav.Create.POST(p);if(b!=null&&b.data){const{error:h,result:g}=b.data;h&&D.Warning(h),g&&(D.Success(n("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(b){D.Error(b)}m.Close(),r.value=!1});return(p,m)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:nt(x,["prevent"])},[t("div",p1,[t("div",f1,i(e(n)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",m1,[t("div",v1,[t("div",b1,[t("span",null,i(e(n)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",g1,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,h1)])]),t("div",_1,[t("div",x1,[t("span",null,i(e(n)("\u7528\u6237\u540D")),1)]),t("div",k1,[z(t("input",{type:"text",required:"",placeholder:e(n)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[0]||(m[0]=b=>c.value.username=b)},null,8,w1),[[Z,c.value.username,void 0,{trim:!0}]])])]),t("div",y1,[t("div",F1,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),t("div",E1,[z(t("input",{type:"password","onUpdate:modelValue":m[1]||(m[1]=b=>c.value.password=b)},null,512),[[Z,c.value.password,void 0,{trim:!0}]])])])]),t("div",C1,[$1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:l,disabled:r.value},i(e(n)("\u5173\u95ED")),9,D1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:r.value},i(e(n)("\u521B\u5EFA")),9,B1)])],40,c1)]),_:1})]),_:1}))}});var A1=S(Y1,[["__scopeId","data-v-2eafa10c"]]),S1=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(A1,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const z1=o=>(J("data-v-58844394"),o=o(),X(),o),P1=["onSubmit"],T1={class:"action-header"},I1={class:"action-header_title"},L1={class:"action-body"},M1={class:"label-item"},O1={class:"label-item_key"},N1={class:"label-item_value"},q1=["value"],V1={class:"label-item"},G1={class:"label-item_key"},j1={class:"label-item_value"},R1=["placeholder"],U1={class:"label-item"},W1={class:"label-item_key"},H1={class:"label-item_value"},Z1=["placeholder"],J1={class:"label-item"},X1={class:"label-item_key"},K1={class:"label-item_value"},Q1={class:"samba-item"},t2={class:"samba-item_allow"},e2={for:"allow",class:"samba-allow"},a2={class:"samba-item_tips"},o2={class:"tooltip-trigger"},n2={class:"samba_tip"},i2={class:"samba_dir_tip"},r2={class:"action-footer"},s2=z1(()=>t("div",{class:"auto"},null,-1)),d2=["disabled"],l2=["disabled"],u2=T({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=f=>{f.preventDefault(),a.Close&&a.Close()},r=E(!1),c=E({shareName:"",username:"",password:"",rootPath:a.rootPath,allowLegacy:!1}),w=()=>{const f=c.value;if(f.rootPath==""){D.Warning(n("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.shareName==""){D.Warning(n("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.username==""){D.Warning(n("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.password==""){D.Warning(n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const p=_t.checkSmabaUserName(f.username);if(p!==!0){D.Warning(`${p}`);return}x(f)},x=f=>I(this,null,function*(){r.value=!0;const p=D.Loading(n("\u521B\u5EFA\u4E2D..."));try{const m=yield P.Nas.Samba.Create.POST(f);if(m!=null&&m.data){const{error:b,result:h}=m.data;b&&D.Warning(b),h&&(D.Success(n("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(m){D.Error(m)}p.Close(),r.value=!1});return(f,p)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:nt(w,["prevent"])},[t("div",T1,[t("div",I1,i(e(n)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",L1,[t("div",M1,[t("div",O1,[t("span",null,i(e(n)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",N1,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,q1)])]),t("div",V1,[t("div",G1,[t("span",null,i(e(n)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",j1,[z(t("input",{type:"text","onUpdate:modelValue":p[0]||(p[0]=m=>c.value.shareName=m),required:"",placeholder:e(n)("\u5171\u4EAB\u540D\u79F0")},null,8,R1),[[Z,c.value.shareName,void 0,{trim:!0}]])])]),t("div",U1,[t("div",W1,[t("span",null,i(e(n)("\u7528\u6237\u540D")),1)]),t("div",H1,[z(t("input",{type:"text",required:"",placeholder:e(n)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":p[1]||(p[1]=m=>c.value.username=m)},null,8,Z1),[[Z,c.value.username,void 0,{trim:!0}]])])]),t("div",J1,[t("div",X1,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),t("div",K1,[z(t("input",{type:"password","onUpdate:modelValue":p[2]||(p[2]=m=>c.value.password=m)},null,512),[[Z,c.value.password,void 0,{trim:!0}]])])]),t("div",Q1,[t("div",t2,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":p[3]||(p[3]=m=>c.value.allowLegacy=m)},null,512),[[$t,c.value.allowLegacy]]),t("label",e2,i(e(n)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",a2,[t("span",o2,[t("span",n2,[A(ft)]),t("span",i2,i(e(n)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",r2,[s2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:l,disabled:r.value},i(e(n)("\u5173\u95ED")),9,d2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:r.value},i(e(n)("\u521B\u5EFA")),9,l2)])],40,P1)]),_:1})]),_:1}))}});var c2=S(u2,[["__scopeId","data-v-58844394"]]),p2=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(c2,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Yt=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,f2={key:0,class:"action"},m2={class:"title"},v2={class:"desc"},b2={value:"linkease"},g2={value:"samba"},h2={value:"webdav"},_2=["innerHTML"],x2={class:"btns"},k2=["disabled"],w2=T({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!0),r=E("linkease"),c=E(!1),w=E(a.setup||0),x=()=>{a.Close&&a.Close()},f=()=>I(this,null,function*(){switch(r.value){case"webdav":yield p();break;case"samba":yield b();break;case"linkease":yield m();break}}),p=()=>I(this,null,function*(){c.value=!0,(yield ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&h(),c.value=!1}),m=()=>I(this,null,function*(){c.value=!0,(yield ct.checkAndInstallApp("linkease",n("\u6613\u6709\u4E91"),"app-meta-linkease"))&&g(),c.value=!1}),b=()=>I(this,null,function*(){c.value=!0;const k=D.Loading(n("\u914D\u7F6E\u4E2D..."));h(),k.Close(),c.value=!1}),h=()=>{c.value=!1,l.value=!1,Kc({Cancel:()=>{l.value=!0},Next:k=>{switch(r.value){case"webdav":_(k);break;case"samba":v(k);break}}})},g=()=>{l1({}),x()},_=k=>{S1({rootPath:k}),x()},v=k=>{p2({rootPath:k}),x()};return(k,y)=>l.value?(s(),G(it,{key:0,Close:o.Close,type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[w.value==0?(s(),d("div",f2,[t("h2",m2,i(e(n)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",v2,i(e(n)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":y[0]||(y[0]=F=>r.value=F)},[t("option",b2,i(e(n)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",g2,i(e(n)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",h2,i(e(n)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[Q,r.value]])])]),e(Yt)("unishare")?(s(),d("div",{key:0,class:"tips",innerHTML:e(n)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(n)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,_2)):$("",!0),t("div",x2,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:f,type:"button",disabled:c.value},i(e(n)("\u4E0B\u4E00\u6B65")),9,k2),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x,type:"button"},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0)]),_:1})]),_:1},8,["Close"])):$("",!0)}});var y2=S(w2,[["__scopeId","data-v-1d64dea6"]]),je=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(y2,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const F2={class:"app-container_linkease"},E2={class:"linkease-item"},C2={class:"linkease-item_name"},$2={class:"linkease-item_value"},D2={key:0,class:"configure"},B2={key:0,class:"linkease-item"},Y2={class:"linkease-item_name"},A2={class:"linkease-item_value"},S2=["href"],z2={href:" https://app.linkease.com/",target:"_blank"},P2=T({props:{linkease:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var c;return`http://${location.hostname}:${(c=a.linkease)==null?void 0:c.port}`}),r=()=>{je({setup:0})};return(c,w)=>{var x,f,p;return s(),d("ul",F2,[t("li",E2,[t("div",C2,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",$2,[(x=o.linkease)!=null&&x.enabel?(s(),d("span",D2,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(s(),d("span",{key:1,class:"configure enabel",onClick:w[0]||(w[0]=m=>r())},i(e(n)("\u672A\u914D\u7F6E")),1))])]),(f=o.linkease)!=null&&f.enabel?(s(),d(L,{key:0},[(p=o.linkease)!=null&&p.port?(s(),d("li",B2,[t("div",Y2,[t("span",null,i(e(n)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",A2,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,S2)])])):$("",!0)],64)):$("",!0),t("div",null,[t("a",z2,i(e(n)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var T2=S(P2,[["__scopeId","data-v-55d1fac2"]]);const I2={class:"app-container"},L2={class:"app-container_title"},M2={class:"app-container_tool"},O2=["title"],N2={class:"DeviceBlock"},q2={href:"/cgi-bin/luci/admin/services/samba4"},V2={class:"app-container_body"},G2={class:"app-container_nas-menu"},j2=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=E(!1),l=E("linkease"),r=E(),c=Pe();(()=>{P.Nas.Service.Status.GET().then(m=>{var b;if((b=m==null?void 0:m.data)!=null&&b.result){const h=m.data.result;r.value=h,h.webdav&&(c.webdav=h.webdav)}})})();const x=()=>{je({setup:0})},f=()=>{u.value=!u.value},p=()=>{f(),ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(m,b)=>{var g,_,v;const h=tt("GlHelp");return s(),d("div",I2,[t("div",L2,[t("span",null,[t("span",null,i(e(a)("\u5B58\u50A8\u670D\u52A1")),1),A(h,{type:"store"})]),t("div",M2,[t("div",{class:"app-container_configure",onClick:x},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F")},[A(ht,{onClick:f})],8,O2)]),z(t("div",N2,[t("div",{class:"menu_background",onClick:f}),t("ul",null,[t("li",null,[t("a",q2,i(e(a)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:p},i(e(a)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[vt,u.value]])]),t("div",V2,[t("ul",G2,[t("button",{onClick:b[0]||(b[0]=k=>l.value="linkease"),class:st({on:l.value=="linkease"})},i(e(a)("\u6613\u6709\u4E91")),3),t("button",{onClick:b[1]||(b[1]=k=>l.value="samba"),class:st({on:l.value=="samba"})},i(e(a)("SAMBA")),3),t("button",{onClick:b[2]||(b[2]=k=>l.value="webdav"),class:st({on:l.value=="webdav"})},i(e(a)("WEBDAV")),3)]),l.value=="samba"?(s(),G(uc,{key:0,sambas:(g=r.value)==null?void 0:g.sambas},null,8,["sambas"])):l.value=="webdav"?(s(),G(Cc,{key:1,webdav:(_=r.value)==null?void 0:_.webdav},null,8,["webdav"])):l.value=="linkease"?(s(),G(T2,{key:2,linkease:(v=r.value)==null?void 0:v.linkease},null,8,["linkease"])):$("",!0)])])}}});var R2=S(j2,[["__scopeId","data-v-1e1fa308"]]);const U2=o=>(J("data-v-3b1e9470"),o=o(),X(),o),W2={class:"app-container_docker"},H2={class:"docker-item"},Z2={class:"docker-item_name"},J2={key:0,class:"docker-item_value"},X2={class:"configure"},K2={key:1,class:"docker-item_value"},Q2={class:"input-switch"},t5=["value","disabled"],e5=U2(()=>t("em",null,null,-1)),a5=[e5],o5={key:0,class:"docker-item"},n5={class:"docker-item_name"},i5={class:"docker-item_value"},r5={class:"configure enabel"},s5={key:0},d5={class:"tooltip-trigger"},l5={class:"docker_tip"},u5={class:"tooltip-text tooltip-top"},c5={class:"docker_dir_tip"},p5=T({props:{docker:{type:Object}},setup(o){var w;const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var x;return((x=a.docker)==null?void 0:x.status)!="not installed"}),r=lt({enable:((w=a.docker)==null?void 0:w.status)=="running",disabled:!1}),c=()=>I(this,null,function*(){r.disabled=!0;try{const x=yield P.Guide.DockerSwitch.POST({enable:r.enable});if(x!=null&&x.data){const{success:f,error:p}=x.data;if(p)throw r.enable=!r.enable,p;(f||0)==0}}catch(x){D.Warning(`${x}`)}finally{r.disabled=!1}});return(x,f)=>{var p,m,b,h;return s(),d("ul",W2,[t("li",H2,[t("div",Z2,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),(p=a.docker)!=null&&p.status?(s(),d(L,{key:0},[e(l)?(s(),d("div",K2,[t("label",Q2,[z(t("input",{type:"checkbox",hidden:"",value:!e(r).enable,"onUpdate:modelValue":f[0]||(f[0]=g=>e(r).enable=g),disabled:e(r).disabled,onChange:c},null,40,t5),[[$t,e(r).enable]]),t("span",{class:st(e(r).enable?"enable":"close")},a5,2)])])):(s(),d("div",J2,[t("span",X2,i(e(n)("\u672A\u5B89\u88C5")),1)]))],64)):$("",!0)]),((m=o.docker)==null?void 0:m.status)=="running"?(s(),d("li",o5,[t("div",n5,[t("span",null,i(e(n)("Docker\u6839\u76EE\u5F55\uFF1A")),1)]),t("div",i5,[t("span",r5,i((b=o.docker)==null?void 0:b.path),1),(h=o.docker)!=null&&h.errorInfo?(s(),d("span",s5,[t("span",d5,[t("span",l5,[A(ft)]),t("div",null,[t("div",u5,[t("span",c5,i(o.docker.errorInfo),1)])])])])):$("",!0)])])):$("",!0)])}}});var f5=S(p5,[["__scopeId","data-v-3b1e9470"]]);const m5={},v5={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},b5=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),g5=[b5];function h5(o,a){return s(),d("svg",v5,g5)}var _5=S(m5,[["render",h5]]);const x5={key:0,class:"action"},k5={class:"title"},w5={class:"desc"},y5={class:"roots"},F5={class:"roots_tit"},E5={class:"root"},C5={class:"move"},$5={class:"roots_tit"},D5={key:0},B5=["onSubmit"],Y5={class:"select-editable"},A5={selected:"",value:null},S5=["value"],z5={value:"useInput"},P5=["placeholder"],T5={key:1,class:"tips"},I5={class:"tips_content"},L5={class:"tip"},M5={key:0,class:"btns"},O5={key:1,class:"btns"},N5={key:1,class:"action docker_success"},q5={class:"title"},V5={class:"finished"},G5={class:"successed"},j5={class:"btns"},R5={key:2,class:"action docker_download"},U5={class:"title"},W5={class:"finished"},H5={class:"successed"},Z5={class:"docker_moves"},J5={class:"moves change"},X5={for:"move"},K5={class:"moves"},Q5={for:"cover"},t6={class:"btns"},e6=T({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(),r=E(),c=E(0),w=E("null"),x=E(""),f=E(),p=E(!1),m=E("");(()=>{P.Nas.Disk.Status.GET().then(F=>{F!=null&&F.data.result&&(f.value=F==null?void 0:F.data.result)}),P.Guide.DockerStatus.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const N=F.data.result;l.value=N}}),P.Guide.DockerPartitionList.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const N=F.data.result;r.value=N}})})();const h=F=>{let Y=w.value;if(Y=="useInput"&&(Y=x.value),Y==null||Y=="null"||Y=="")return;const N=D.Loading(n("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));P.Guide.DockerTransfer.POST({path:Y,force:F,overwriteDir:!!m.value}).then(C=>{var B;if(C!=null&&C.data){if((C.data.success||0)==0){if((B=C.data.result)!=null&&B.emptyPathWarning){p.value=!0,c.value=2;return}c.value=1;return}else if(C.data.error)throw C.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(C=>{D.Error(C)}).finally(()=>N.Close())},g=()=>{p.value=!1,h(!1)},_=F=>{F.preventDefault(),a.Close&&a.Close()},v=F=>{F.preventDefault(),location.reload()},k=F=>{F.preventDefault(),c.value=0},y=F=>{F.preventDefault(),h(!0)};return(F,Y)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>{var N,C,B,M,W,V;return[c.value==0?(s(),d("div",x5,[t("h2",k5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",w5,i(e(n)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",y5,[t("span",F5,i(e(n)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",E5,i((N=l.value)==null?void 0:N.path),1)]),t("div",C5,[t("span",$5,i(e(n)("\u8FC1\u79FB\u5230\uFF1A")),1),(B=(C=r.value)==null?void 0:C.partitionList)!=null&&B.length?(s(),d("div",D5,[t("form",{onSubmit:nt(g,["prevent"])},[t("label",null,[t("div",Y5,[z(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=H=>w.value=H)},[t("option",A5,i(e(n)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(s(!0),d(L,null,R((M=r.value)==null?void 0:M.partitionList,(H,rt)=>(s(),d("option",{value:H,key:rt},i(H),9,S5))),128)),t("option",z5,i(e(n)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[Q,w.value,void 0,{trim:!0}]]),w.value=="useInput"?z((s(),d("input",{key:0,type:"text","onUpdate:modelValue":Y[1]||(Y[1]=H=>x.value=H),required:"",placeholder:e(n)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,P5)),[[Z,x.value,void 0,{trim:!0}]]):$("",!0)])])],40,B5)])):r.value?(s(),d("div",T5,[t("div",I5,[A(ft),t("span",L5,i(e(n)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):$("",!0)]),(V=(W=r.value)==null?void 0:W.partitionList)!=null&&V.length?(s(),d("div",M5,[t("button",{class:"cbi-button cbi-button-apply",onClick:g},i(e(n)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},i(e(n)("\u53D6\u6D88")),1)])):(s(),d("div",O5,[t("button",{class:"cbi-button cbi-button-apply",onClick:_},i(e(n)("\u786E\u5B9A")),1)]))])):c.value==1?(s(),d("div",N5,[t("h2",q5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",V5,[A(me)]),t("p",G5,i(e(n)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",j5,[t("button",{class:"cbi-button cbi-button-apply",onClick:v},i(e(n)("\u786E\u5B9A")),1)])])):c.value==2?(s(),d("div",R5,[t("h2",U5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",W5,[A(_5)]),t("p",H5,i(e(n)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",Z5,[t("div",J5,[z(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":Y[2]||(Y[2]=H=>m.value=H),value:""},null,512),[[ut,m.value]]),t("label",X5,i(e(n)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",K5,[z(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":Y[3]||(Y[3]=H=>m.value=H),value:"true"},null,512),[[ut,m.value]]),t("label",Q5,i(e(n)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",t6,[p.value?(s(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},i(e(n)("\u786E\u5B9A")),1)):$("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:k},i(e(n)("\u8FD4\u56DE")),1),p.value?$("",!0):(s(),d("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:v},i(e(n)("\u53D6\u6D88")),1))])])):$("",!0)]}),_:1},8,["Close"]))}});var a6=S(e6,[["__scopeId","data-v-919e529c"]]);const o6=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(a6,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},n6=o=>(J("data-v-fcb97952"),o=o(),X(),o),i6={class:"app-container"},r6={class:"app-container_title"},s6=n6(()=>t("span",null,"Docker",-1)),d6={key:0,class:"app-container_tool"},l6=["title"],u6={class:"DeviceBlock"},c6={href:"/cgi-bin/luci/admin/docker/overview"},p6={key:1,class:"loading_placeholder"},f6=T({props:{docker:{type:Object}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=E(!1),l=E(),r=E(!1),c=()=>{r.value=!r.value},w=()=>{o6()};return setTimeout(()=>{P.Guide.DockerStatus.GET().then(f=>{var p;if((p=f==null?void 0:f.data)!=null&&p.result){const m=f.data.result;l.value=m}}).finally(()=>{u.value=!0})},1100),(f,p)=>{var h,g;const m=tt("GlHelp"),b=tt("icon-loading");return s(),d("div",i6,[t("div",r6,[t("span",null,[s6,A(m,{type:"docker"})]),u.value?(s(),d("div",d6,[((h=l.value)==null?void 0:h.status)!="not installed"?(s(),d("div",{key:0,class:"app-container_configure",onClick:w},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1)):$("",!0),((g=l.value)==null?void 0:g.status)==="running"?(s(),d("span",{key:1,class:"more_icon",title:e(a)("Docker\u7BA1\u7406")},[A(ht,{onClick:c})],8,l6)):$("",!0)])):$("",!0),z(t("div",u6,[t("div",{class:"menu_background",onClick:c}),t("ul",null,[t("li",null,[t("a",c6,i(e(a)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[vt,r.value]])]),t("div",null,[u.value?(s(),G(f5,{key:0,docker:l.value},null,8,["docker"])):(s(),d("div",p6,[A(b,{size:50,color:"currentColor"})]))])])}}});var m6=S(f6,[["__scopeId","data-v-fcb97952"]]);const v6={class:"app-container_aria2"},b6={class:"aria2-item"},g6={class:"aria2-item_name"},h6={class:"aria2-item_value"},_6={key:0,class:"configure"},x6={key:1,class:"configure enabel"},k6={class:"aria2-item"},w6={class:"aria2-item_name"},y6={class:"aria2-item_value"},F6=["href"],E6={class:"aria2-item"},C6={class:"aria2-item_name"},$6={class:"aria2-item_value"},D6=["href"],B6={class:"aria2-item"},Y6={class:"aria2-item_name right"},A6={class:"aria2-item_value"},S6=["href"],z6={class:"use-url_app"},P6={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},T6=T({props:{aria2:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var c;return`${location.origin}${(c=a.aria2)==null?void 0:c.webPath}`}),r=U(()=>{var x,f,p;let c=(x=a.aria2)==null?void 0:x.rpcToken;c?c=encodeURIComponent(btoa(c)):c="";const w=encodeURIComponent(location.hostname);return`${location.origin}${(f=a.aria2)==null?void 0:f.webPath}/#!/settings/rpc/set/http/${w}/${(p=a.aria2)==null?void 0:p.rpcPort}/jsonrpc/${c}`});return(c,w)=>{var x,f,p,m;return s(),d("ul",v6,[t("li",b6,[t("div",g6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",h6,[((x=o.aria2)==null?void 0:x.status)=="running"?(s(),d("span",_6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),d("span",x6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((f=o.aria2)==null?void 0:f.status)=="running"?(s(),d(L,{key:0},[t("li",k6,[t("div",w6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",y6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.aria2)==null?void 0:p.downloadPath)},i((m=o.aria2)==null?void 0:m.downloadPath),9,F6)])]),t("li",E6,[t("div",C6,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",$6,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,D6)])]),t("li",B6,[t("div",Y6,[t("span",null,i(e(n)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",A6,[t("a",{href:e(r),target:"_blank",rel:"noopener noreferrer"},i(e(n)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,S6)])])],64)):$("",!0),t("div",z6,[t("a",P6,i(e(n)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var I6=S(T6,[["__scopeId","data-v-40652d1d"]]);const L6={class:"app-container_qbittorrent"},M6={class:"qbittorrent-item"},O6={class:"qbittorrent-item_name"},N6={class:"qbittorrent-item_value"},q6={key:0,class:"configure"},V6={key:1,class:"configure enabel"},G6={class:"qbittorrent-item"},j6={class:"qbittorrent-item_name"},R6={class:"qbittorrent-item_value"},U6=["href"],W6={class:"qbittorrent-item"},H6={class:"qbittorrent-item_name"},Z6={class:"qbittorrent-item_value"},J6=["href"],X6={class:"qbittorrent-item"},K6={class:"qbittorrent-item_name right"},Q6={class:"qbittorrent-item_value"},t3=T({props:{qbittorrent:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var r;return`http://${location.hostname}${(r=a.qbittorrent)==null?void 0:r.webPath}`});return(r,c)=>{var w,x,f,p;return s(),d("ul",L6,[t("li",M6,[t("div",O6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",N6,[((w=o.qbittorrent)==null?void 0:w.status)=="running"?(s(),d("span",q6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),d("span",V6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((x=o.qbittorrent)==null?void 0:x.status)=="running"?(s(),d(L,{key:0},[t("li",G6,[t("div",j6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",R6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.qbittorrent)==null?void 0:f.downloadPath)},i((p=o.qbittorrent)==null?void 0:p.downloadPath),9,U6)])]),t("li",W6,[t("div",H6,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Z6,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,J6)])]),t("li",X6,[t("div",K6,[t("span",null,i(e(n)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Q6,[t("span",null,i(e(n)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):$("",!0)])}}});var e3=S(t3,[["__scopeId","data-v-96972a5a"]]);const a3={class:"app-container_transmission"},o3={class:"transmission-item"},n3={class:"transmission-item_name"},i3={class:"transmission-item_value"},r3={key:0,class:"configure"},s3={key:1,class:"configure enabel"},d3={class:"transmission-item"},l3={class:"transmission-item_name"},u3={class:"transmission-item_value"},c3=["href"],p3={class:"transmission-item"},f3={class:"transmission-item_name"},m3={class:"transmission-item_value"},v3=["href"],b3=T({props:{transmission:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var r;return`http://${location.hostname}${(r=a.transmission)==null?void 0:r.webPath}`});return(r,c)=>{var w,x,f,p;return s(),d("ul",a3,[t("li",o3,[t("div",n3,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",i3,[((w=o.transmission)==null?void 0:w.status)=="running"?(s(),d("span",r3,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),d("span",s3,i(e(n)("\u672A\u542F\u52A8")),1))])]),((x=o.transmission)==null?void 0:x.status)=="running"?(s(),d(L,{key:0},[t("li",d3,[t("div",l3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",u3,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.transmission)==null?void 0:f.downloadPath)},i((p=o.transmission)==null?void 0:p.downloadPath),9,c3)])]),t("li",p3,[t("div",f3,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",m3,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,v3)])])],64)):$("",!0)])}}});var g3=S(b3,[["__scopeId","data-v-05c8d77a"]]);const h3={},_3={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"},x3=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),k3=[x3];function w3(o,a){return s(),d("svg",_3,k3)}var Et=S(h3,[["render",w3]]);const ie=o=>(J("data-v-7b328460"),o=o(),X(),o),y3={key:0,class:"action"},F3={class:"title"},E3={class:"load_service input_row"},C3={class:"left"},$3={class:"radios"},D3=ie(()=>t("label",{for:"Aria2"},"Aria2",-1)),B3={class:"radios"},Y3=ie(()=>t("label",{for:"qB"},"qBittorrent",-1)),A3={class:"radios"},S3=ie(()=>t("label",{for:"Tr"},"Transmission",-1)),z3=["onSubmit"],P3={class:"input_row"},T3={class:"left"},I3={class:"tooltip-trigger"},L3={class:"tooltip-text tooltip-top"},M3={class:"dowload_dir_tip"},O3={class:"myinput_wrap"},N3={class:"input_row"},q3={class:"left"},V3={class:"tooltip-trigger"},G3={class:"tooltip-text tooltip-top"},j3={class:"dowload_dir_tip"},R3={class:"myinput_wrap"},U3={class:"input_row"},W3={class:"left"},H3={class:"tooltip-trigger"},Z3={class:"tooltip-text tooltip-bottom"},J3={class:"dowload_rpc_tip"},X3=["placeholder"],K3={class:"input_row"},Q3={class:""},t8={class:"radios"},e8={for:"default"},a8={class:"radios"},o8={for:"add"},n8={class:"input_row"},i8=ie(()=>t("div",{class:"left"},null,-1)),r8={class:"myinput_wrap Tracker_input"},s8=["placeholder"],d8=["onSubmit"],l8={class:"input_row"},u8={class:"left"},c8={class:"tooltip-trigger"},p8={class:"tooltip-text tooltip-top"},f8={class:"dowload_dir_tip"},m8={class:"myinput_wrap"},v8={class:"input_row"},b8={class:"left"},g8={class:"tooltip-trigger"},h8={class:"tooltip-text tooltip-top"},_8={class:"dowload_dir_tip"},x8={class:"myinput_wrap"},k8=["onSubmit"],w8={class:"input_row"},y8={class:"left"},F8={class:"tooltip-trigger"},E8={class:"tooltip-text tooltip-top"},C8={class:"dowload_dir_tip"},$8={class:"myinput_wrap"},D8={class:"input_row"},B8={class:"left"},Y8={class:"tooltip-trigger"},A8={class:"tooltip-text tooltip-top"},S8={class:"dowload_dir_tip"},z8={class:"myinput_wrap"},P8={class:"btns"},T8={key:1,class:"action"},I8={class:"title"},L8={class:"finished"},M8={class:"successed"},O8={class:"btns"},N8=T({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(""),r=E(""),c=E(""),w=E(""),x=E("default"),f=E("Aria2"),p=E(""),m=E(""),b=E(""),h=E(""),g=E([]),_=E([]),v=E(0);xt(()=>{var V,H,rt,Tt,It,Lt,Dt,xe,ke,we;switch(a.defaultTab){case"aria2":f.value="Aria2";break;case"qbittorrent":f.value="qBittorrent";break;case"transmission":f.value="Transmission";break}g.value=a.partitionList.map(Mt=>({key:Mt})),_.value=a.partitionList.filter(Mt=>Mt.startsWith("/mnt/")).map(Mt=>Mt.replace(/(\/mnt\/[^/]+).*/,"$1")),c.value=((V=a.services.aria2)==null?void 0:V.configPath)||"";const C=((H=a.services.aria2)==null?void 0:H.downloadPath)||((rt=a.services.qbittorrent)==null?void 0:rt.downloadPath)||((Tt=a.services.transmission)==null?void 0:Tt.downloadPath);C&&(w.value=C);const B=(It=a.services.aria2)==null?void 0:It.rpcToken;B&&(l.value=B),p.value=((Lt=a.services.qbittorrent)==null?void 0:Lt.configPath)||"";const M=((Dt=a.services.qbittorrent)==null?void 0:Dt.downloadPath)||C||((xe=a.services.transmission)==null?void 0:xe.downloadPath);M&&(m.value=M),b.value=((ke=a.services.transmission)==null?void 0:ke.configPath)||"";const W=((we=a.services.transmission)==null?void 0:we.downloadPath)||C||M;W&&(h.value=W)});const k=()=>{let C=c.value,B=w.value;C==null||C==""||B==null||B==""||I(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-aria2","Aria2")){const W=D.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.Aria2Init.POST({configPath:C,downloadPath:B,rpcToken:l.value,btTracker:x.value=="add"?r.value:""}).then(V=>{var H;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((H=V.data)!=null&&H.error)throw V.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(V=>D.Error(V)).finally(()=>W.Close())}})},y=()=>{let C=p.value,B=m.value;C==null||C==""||B==null||B==""||I(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const W=D.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.qbitorrentInit.POST({configPath:C,downloadPath:B}).then(V=>{var H;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((H=V.data)!=null&&H.error)throw V.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(V=>D.Error(V)).finally(()=>W.Close())}})},F=()=>{let C=b.value,B=h.value;C==null||C==""||B==null||B==""||I(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-transmission","Transmission")){const W=D.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.transmissionInit.POST({configPath:C,downloadPath:B}).then(V=>{var H;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((H=V.data)!=null&&H.error)throw V.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(V=>D.Error(V)).finally(()=>W.Close())}})},Y=C=>{C.preventDefault(),a.Close&&a.Close()},N=C=>{C.preventDefault(),location.reload()};return(C,B)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[v.value==0?(s(),d("div",y3,[t("h2",F3,i(e(n)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",E3,[t("div",C3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",$3,[z(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":B[0]||(B[0]=M=>f.value=M),name:"download",id:"Aria2"},null,512),[[ut,f.value]]),D3]),t("div",B3,[z(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":B[1]||(B[1]=M=>f.value=M),name:"download",id:"qB"},null,512),[[ut,f.value]]),Y3]),t("div",A3,[z(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":B[2]||(B[2]=M=>f.value=M),name:"download",id:"Tr"},null,512),[[ut,f.value]]),S3])])])]),f.value=="Aria2"?(s(),d("form",{key:0,onSubmit:nt(k,["prevent"])},[t("ul",null,[t("li",null,[t("div",P3,[t("div",T3,[t("span",I3,[A(Et),t("div",null,[t("div",L3,[t("span",M3,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",O3,[A(Ct,{modelValue:c.value,"onUpdate:modelValue":B[3]||(B[3]=M=>c.value=M),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:_.value.concat("/root").map(M=>({key:M+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",N3,[t("div",q3,[t("span",V3,[A(Et),t("div",null,[t("div",G3,[t("span",j3,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",R3,[A(Ct,{modelValue:w.value,"onUpdate:modelValue":B[4]||(B[4]=M=>w.value=M),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",U3,[t("div",W3,[t("span",H3,[A(Et),t("div",null,[t("div",Z3,[t("span",J3,i(e(n)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(n)("RPC \u4EE4\u724C\uFF1A")),1)]),z(t("input",{type:"text",class:"RPC_input",placeholder:e(n)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":B[5]||(B[5]=M=>l.value=M)},null,8,X3),[[Z,l.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",K3,[t("div",Q3,[t("span",null,i(e(n)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",t8,[z(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":B[6]||(B[6]=M=>x.value=M)},null,512),[[ut,x.value]]),t("label",e8,i(e(n)("\u9ED8\u8BA4")),1)]),t("div",a8,[z(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":B[7]||(B[7]=M=>x.value=M)},null,512),[[ut,x.value]]),t("label",o8,i(e(n)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",n8,[i8,t("div",r8,[x.value=="add"?z((s(),d("textarea",{key:0,"onUpdate:modelValue":B[8]||(B[8]=M=>r.value=M),rows:"4",placeholder:e(n)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,s8)),[[Z,r.value,void 0,{trim:!0}]]):$("",!0)])])])])],40,z3)):$("",!0),f.value=="qBittorrent"?(s(),d("form",{key:1,onSubmit:nt(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",l8,[t("div",u8,[t("span",c8,[A(Et),t("div",null,[t("div",p8,[t("span",f8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",m8,[A(Ct,{modelValue:p.value,"onUpdate:modelValue":B[9]||(B[9]=M=>p.value=M),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:_.value.concat("/root").map(M=>({key:M+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",v8,[t("div",b8,[t("span",g8,[A(Et),t("div",null,[t("div",h8,[t("span",_8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",x8,[A(Ct,{modelValue:m.value,"onUpdate:modelValue":B[10]||(B[10]=M=>m.value=M),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])])])],40,d8)):$("",!0),f.value=="Transmission"?(s(),d("form",{key:2,onSubmit:nt(F,["prevent"])},[t("ul",null,[t("li",null,[t("div",w8,[t("div",y8,[t("span",F8,[A(Et),t("div",null,[t("div",E8,[t("span",C8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",$8,[A(Ct,{modelValue:b.value,"onUpdate:modelValue":B[11]||(B[11]=M=>b.value=M),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:_.value.concat("/root").map(M=>({key:M+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",D8,[t("div",B8,[t("span",Y8,[A(Et),t("div",null,[t("div",A8,[t("span",S8,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",z8,[A(Ct,{modelValue:h.value,"onUpdate:modelValue":B[12]||(B[12]=M=>h.value=M),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])])])],40,k8)):$("",!0),t("div",P8,[f.value=="Aria2"?(s(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:k},i(e(n)("\u542F\u7528")),1)):$("",!0),f.value=="qBittorrent"?(s(),d("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},i(e(n)("\u542F\u7528")),1)):$("",!0),f.value=="Transmission"?(s(),d("button",{key:2,class:"cbi-button cbi-button-apply",onClick:F},i(e(n)("\u542F\u7528")),1)):$("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(n)("\u53D6\u6D88")),1)])])):v.value==1?(s(),d("div",T8,[t("h2",I8,i(e(n)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:f.value})),1),t("div",L8,[A(me)]),t("p",M8,i(e(n)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",O8,[t("button",{class:"cbi-button cbi-button-apply",onClick:N},i(e(n)("\u786E\u5B9A")),1)])])):$("",!0)]),_:1},8,["Close"]))}});var q8=S(N8,[["__scopeId","data-v-7b328460"]]);const V8=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(q8,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},G8={class:"app-container"},j8={class:"app-container_title"},R8={class:"app-container_tool"},U8=["disabled"],W8=["title"],H8={class:"DeviceBlock"},Z8={class:"app-container_body"},J8={class:"app-container_nas-menu"},X8=T({setup(o){const{$gettext:a,$ngettext:n}=q();E(!1);const u=E("aria2"),l=E();Pe(),setTimeout(()=>{P.Guide.DownloadService.Status.GET().then(g=>{var _;if((_=g==null?void 0:g.data)!=null&&_.result){const v=g.data.result;l.value=v}})},800);const c=E(!1),w=E(!1),x=()=>{w.value=!w.value},f=()=>{P.Guide.DownloadPartition.List.GET().then(g=>{var v,k;let _=[];(k=(v=g==null?void 0:g.data)==null?void 0:v.result)!=null&&k.partitionList&&(_=g.data.result.partitionList),V8({services:l.value,partitionList:_,defaultTab:u.value})})},p=(g,_,v)=>I(this,null,function*(){x(),ct.installAndGo(g,_,v)}),m=()=>{p("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},b=()=>{p("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},h=()=>{p("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(g,_)=>{var k,y,F;const v=tt("GlHelp");return s(),d("div",G8,[t("div",j8,[t("span",null,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1")),1),A(v,{type:"download"})]),t("div",R8,[l.value?(s(),d("div",{key:0,class:"app-container_configure",onClick:f,disabled:c.value},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),9,U8)):$("",!0),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E")},[A(ht,{onClick:x})],8,W8)]),z(t("div",H8,[t("div",{class:"menu_background",onClick:x}),t("ul",null,[t("li",null,[t("a",{onClick:m},i(e(a)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:b},i(e(a)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:h},i(e(a)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[vt,w.value]])]),t("div",Z8,[t("ul",J8,[t("button",{onClick:_[0]||(_[0]=Y=>u.value="aria2"),class:st({on:u.value=="aria2"})},"Aria2",2),t("button",{onClick:_[1]||(_[1]=Y=>u.value="qbittorrent"),class:st({on:u.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:_[2]||(_[2]=Y=>u.value="transmission"),class:st({on:u.value=="transmission"})},"Transmission",2)]),u.value=="aria2"?(s(),G(I6,{key:0,aria2:(k=l.value)==null?void 0:k.aria2},null,8,["aria2"])):u.value=="qbittorrent"?(s(),G(e3,{key:1,qbittorrent:(y=l.value)==null?void 0:y.qbittorrent},null,8,["qbittorrent"])):u.value=="transmission"?(s(),G(g3,{key:2,transmission:(F=l.value)==null?void 0:F.transmission},null,8,["transmission"])):$("",!0)])])}}});var K8=S(X8,[["__scopeId","data-v-602f6713"]]);const Q8={class:"actioner-container"},tp={class:"actioner-container_header"},ep={class:"actioner-container_body"},ap={class:"label-item"},op={class:"label_info"},np={class:"label-item"},ip={class:"label_info"},rp={class:"label-item"},sp={class:"label_info"},dp={class:"label-item"},lp={class:"label_info"},up={class:"actioner-container_footer"},cp=T({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=()=>{n.onSetup()},c=E(n.active),w=()=>{switch(a("update:active",c.value),c.value){case"ddnsto":n.onSetup("ddnsto");break;case"ali":n.onSetup("ddns-ali");break;case"dnspod":n.onSetup("ddns-dnspod");break;case"oray":n.onSetup("ddns-oray");break}};return(x,f)=>(s(),d("div",Q8,[t("div",tp,[t("span",null,i(e(u)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",ep,[t("div",ap,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=p=>c.value=p),value:"ddnsto"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("DDNSTO")),1)]),t("p",op,i(e(u)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",np,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[1]||(f[1]=p=>c.value=p),value:"ali"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("\u963F\u91CC\u4E91")),1)]),t("p",ip,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",rp,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[2]||(f[2]=p=>c.value=p),value:"dnspod"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("Dnspod")),1)]),t("p",sp,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",dp,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[3]||(f[3]=p=>c.value=p),value:"oray"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("\u82B1\u751F\u58F3")),1)]),t("p",lp,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",up,[t("div",{class:"close",onClick:r},i(e(u)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:w},i(e(u)("\u4E0B\u4E00\u6B65")),1)])]))}});var pp=S(cp,[["__scopeId","data-v-46dd945e"]]);const fp=o=>(J("data-v-b760733a"),o=o(),X(),o),mp={class:"actioner-container"},vp={class:"actioner-container_body"},bp=fp(()=>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)),gp={class:"body-title"},hp={class:"body-tips"},_p={class:"body-info"},xp=["href"],kp={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},wp={class:"actioner-container_footer"},yp=T({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(l,r)=>(s(),d("div",mp,[t("div",vp,[bp,t("div",gp,i(e(a)("\u6DFB\u52A0\u6210\u529F")),1),t("p",hp,i(e(a)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",_p,[t("span",null,i(e(a)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,xp)]),t("div",null,[t("span",null,i(e(a)("\u53EF\u524D\u5F80")),1),t("a",kp,i(e(a)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(a)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",wp,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var Fp=S(yp,[["__scopeId","data-v-b760733a"]]);const Ep=o=>(J("data-v-064efd50"),o=o(),X(),o),Cp={class:"actioner-container"},$p={class:"actioner-container_header"},Dp=Ep(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),Bp={class:"actioner-container_footer"},Yp=T({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.onSetup()},r=c=>{if(c.data.auth=="ddnsto"){const w=c.data.sign,x=c.data.token;w&&x&&(removeEventListener("message",r),a.onDdnstoConfig(w,x),a.onSetup("ddnsto-run"))}};return xt(()=>{window.addEventListener("message",r)}),zt(()=>{removeEventListener("message",r)}),(c,w)=>(s(),d("div",Cp,[t("div",$p,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),Dp,t("div",Bp,[t("div",{class:"close",onClick:l},i(e(n)("\u53D6\u6D88")),1)])]))}});var Ap=S(Yp,[["__scopeId","data-v-064efd50"]]);const Sp={class:"actioner-container"},zp={class:"actioner-container_header"},Pp={class:"actioner-container_body ddnsto-bind"},Tp=["src"],Ip=T({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=U(()=>{const{domain:x,token:f,sign:p,routerId:m,netaddr:b}=n.config,h=encodeURIComponent(x),g=encodeURIComponent(b);return`https://www.kooldns.cn/bind/#/domain?domain=${h}&sign=${p}&token=${f}&routerId=${m}&netaddr=${g}`}),c=x=>{if(x.data){const{auth:f,url:p}=x.data;f==="ddnsto"&&p&&w(p)}},w=x=>I(this,null,function*(){var f;try{const p=yield P.Guide.DdnstoAddress.POST({address:x});p!=null&&p.data&&(((f=p==null?void 0:p.data)==null?void 0:f.success)||0)==0&&(a("update:domain",x),n.onSetup("ddnsto-save"))}catch(p){}});return xt(()=>{window.addEventListener("message",c)}),zt(()=>{removeEventListener("message",c)}),(x,f)=>(s(),d("div",Sp,[t("div",zp,[t("span",null,i(e(u)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Pp,[t("iframe",{src:e(r)},null,8,Tp)])]))}});var Lp=S(Ip,[["__scopeId","data-v-49c43a08"]]);const Mp=o=>(J("data-v-27f65f12"),o=o(),X(),o),Op={class:"actioner-container"},Np={class:"actioner-container_body"},qp=Mp(()=>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)),Vp={class:"body-title"},Gp={class:"body-tips"},jp={class:"body-info"},Rp=["href"],Up={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},Wp={class:"actioner-container_footer"},Hp=T({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(l,r)=>(s(),d("div",Op,[t("div",Np,[qp,t("div",Vp,i(e(a)("\u6DFB\u52A0\u6210\u529F")),1),t("p",Gp,i(e(a)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",jp,[t("span",null,i(e(a)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,Rp)]),t("div",null,[t("span",null,i(e(a)("\u53EF\u524D\u5F80")),1),t("a",Up,i(e(a)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(a)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",Wp,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var Zp=S(Hp,[["__scopeId","data-v-27f65f12"]]);const Jp={class:"actioner-container"},Xp={class:"actioner-container_header"},Kp={class:"actioner-container_body"},Qp={class:"actioner-container_footer"},t7=T({props:{onSetup:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.onSetup()},r=()=>I(this,null,function*(){if(x.value)return;x.value=!0;const p=D.Loading(n("\u5B89\u88C5\u4E2D..."));try{if(yield ct.installApp("app-meta-ddnsto",30)){a.onSetup("ddnsto-login");return}else c.value=n("\u5B89\u88C5\u5931\u8D25")}catch(m){c.value=m}finally{p.Close()}x.value=!1}),c=E(n("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),w=E(!1),x=E(!1);return(()=>I(this,null,function*(){try{const p=yield P.App.Check.POST({name:"ddnsto"});if(p!=null&&p.data){const{result:m,error:b}=p.data;if(b){c.value=b;return}if(m){if(m.status=="installed"){a.onSetup("ddnsto-login");return}m.status=="uninstalled"&&(c.value=n("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(p){c.value=p}w.value=!0}))(),(p,m)=>(s(),d("div",Jp,[t("div",Xp,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Kp,[t("span",null,i(c.value),1)]),t("div",Qp,[w.value?(s(),d(L,{key:0},[t("div",{class:"close",onClick:l},i(e(n)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:r},i(e(n)("\u786E\u5B9A")),1)],64)):$("",!0)])]))}});var e7=S(t7,[["__scopeId","data-v-210c03e8"]]);const a7={class:"actioner-container"},o7={class:"actioner-container_header"},n7={class:"actioner-container_body"},i7=T({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(n("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(p=>I(this,null,function*(){var m;try{const b=yield P.Guide.Ddnsto.POST({token:a.token});b!=null&&b.data&&(b.data.error&&(l.value=b.data.error),(((m=b==null?void 0:b.data)==null?void 0:m.success)||0)==0&&w())}catch(b){l.value=b}}))(a.token);const c=E(),w=()=>{const p=()=>I(this,null,function*(){if((yield x())===!0){f();return}c.value=window.setTimeout(p,2e3)});p()},x=()=>I(this,null,function*(){try{const p=yield P.App.Check.POST({name:"ddnsto",checkRunning:!0});if(p!=null&&p.data){p.data.error&&(l.value=p.data.error);const m=p.data.result;if((m==null?void 0:m.status)=="running")return!0}}catch(p){l.value=p}return!1});zt(()=>{c.value&&clearInterval(c.value)});const f=()=>I(this,null,function*(){var p;try{const m=yield P.Guide.DdntoConfig.GET();if(m!=null&&m.data&&(m.data.error&&(l.value=m.data.error),(((p=m==null?void 0:m.data)==null?void 0:p.success)||0)==0&&m.data.result)){const b=m.data.result;a.onDdnstoLocalConfig(b.netAddr,b.deviceId),a.onSetup("ddnsto-bind")}}catch(m){l.value=m}});return(p,m)=>(s(),d("div",a7,[t("div",o7,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",n7,i(l.value),1)]))}});var r7=S(i7,[["__scopeId","data-v-1b21487b"]]);const s7={class:"action-main"},d7=T({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const a=o,n=E("ddnsto-install"),u=x=>{x!=null?n.value=x:l()},l=()=>{a.Close&&a.Close()},r=lt({sign:"",token:"",domain:a.url,netaddr:"",routerId:""}),c=(x,f)=>{r.sign=x,r.token=f},w=(x,f)=>{r.netaddr=x,r.routerId=f};return(x,f)=>(s(),G(it,{type:1},{default:j(()=>[t("div",s7,[n.value=="ddnsto-install"?(s(),G(e7,{key:0,onSetup:u})):n.value=="ddnsto-login"?(s(),G(Ap,{key:1,onSetup:u,onDdnstoConfig:c})):n.value=="ddnsto-run"?(s(),G(r7,{key:2,onSetup:u,token:e(r).token,onDdnstoLocalConfig:w},null,8,["token"])):n.value=="ddnsto-bind"?(s(),G(Lp,{key:3,onSetup:u,config:{token:e(r).token,sign:e(r).sign,domain:e(r).domain,netaddr:e(r).netaddr,routerId:e(r).routerId},domain:e(r).domain,"onUpdate:domain":f[0]||(f[0]=p=>e(r).domain=p)},null,8,["config","domain"])):n.value=="ddnsto-save"?(s(),G(Zp,{key:4,onSetup:u,target:e(r).domain},null,8,["target"])):$("",!0)])]),_:1}))}});var l7=S(d7,[["__scopeId","data-v-7a6bd385"]]);const u7=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(l7,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},c7={class:"action"},p7={class:"action-header"},f7=["innerHTML"],m7={class:"action-footer"},v7=T({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.next&&a.next(),a.Close&&a.Close()},r=()=>{a.clear&&a.clear(),a.Close&&a.Close()},c=()=>{a.continuer&&a.continuer(),a.Close&&a.Close()};return(w,x)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[t("div",c7,[t("div",p7,i(o.title||e(n)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,f7),t("div",m7,[o.clear?(s(),d("div",{key:0,class:"clear",onClick:r},i(o.clearTitle||e(n)("\u8FD4\u56DE")),1)):$("",!0),t("div",{class:"next",onClick:l},i(o.nextTitle||e(n)("\u786E\u5B9A")),1),o.continuer?(s(),d("div",{key:1,class:"next",onClick:c},i(o.continuerTitle||e(n)("\u7EE7\u7EED\u4FDD\u5B58")),1)):$("",!0)])])]),_:1},8,["Close"]))}});var b7=S(v7,[["__scopeId","data-v-05611967"]]);const Xt=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(b7,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},g7=o=>(J("data-v-6e29e960"),o=o(),X(),o),h7={class:"actioner-container"},_7=["onSubmit"],x7={class:"actioner-container_header"},k7={key:0,class:"title_info"},w7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},y7={key:1,class:"title_info"},F7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},E7={key:2,class:"title_info"},C7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},$7={class:"label-item"},D7={class:"label-item_key"},B7={class:"label-item_value"},Y7={value:"ipv4"},A7={value:"ipv6"},S7={class:"label_tips"},z7=g7(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),P7={class:"info"},T7={class:"label-item"},I7={class:"label-item_key"},L7={class:"label-item_value"},M7={class:"label-item"},O7={class:"label-item_key"},N7={class:"label-item_value"},q7=["placeholder"],V7={class:"label-item"},G7={class:"label-item_key"},j7={class:"label-item_value"},R7=["placeholder"],U7={class:"actioner-container_footer"},W7=["disabled"],H7=T({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=E("ipv4"),c=E(n.name),w=E(""),x=E(""),f=E(""),p=E(!1),m=()=>{n.onSetup("index")},b=()=>{p.value=!0;const v=D.Loading(u("\u68C0\u6D4B\u4E2D..."));P.Network.CheckPublickNet.POST({ipVersion:r.value}).then(k=>{var y,F;if(k!=null&&k.data){if((y=k==null?void 0:k.data)!=null&&y.error){D.Warning(k==null?void 0:k.data.error);return}if((((F=k==null?void 0:k.data)==null?void 0:F.success)||0)==0){const Y=k.data.result;Y&&Y.address?_():h();return}}throw u("\u672A\u77E5\u9519\u8BEF")}).catch(k=>{D.Error(k)}).finally(()=>{v.Close(),p.value=!1})},h=()=>{Xt({title:u("\u6E29\u99A8\u63D0\u793A"),nextTitle:u("\u4F7F\u7528DDNSTO"),continuerTitle:u("\u7EE7\u7EED\u4FDD\u5B58"),content:u("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){g()},continuer(){_()},clear(){}})},g=()=>{n.onSetup("ddnsto")},_=()=>{p.value=!0;const v=D.Loading(u("\u914D\u7F6E\u4E2D..."));P.Guide.PostDdns.POST({ipVersion:r.value,serviceName:c.value,domain:w.value,userName:x.value,password:f.value}).then(k=>{if(k!=null&&k.data){const{error:y,scope:F,success:Y}=k.data;if(y=="-100"&&F=="guide.ddns"){Xt({title:u("\u6E29\u99A8\u63D0\u793A"),content:u("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){D.Warning(y);return}if((Y||0)==0){a("update:target",w.value),n.onSetup("ddns-success");return}}throw u("\u672A\u77E5\u9519\u8BEF")}).catch(k=>{D.Error(k)}).finally(()=>{v.Close(),p.value=!1})};return(v,k)=>(s(),d("div",h7,[t("form",{class:"actioner-dns",onSubmit:nt(b,["prevent"])},[t("div",x7,[t("span",null,i(e(u)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:st(["actioner-container_body",o.name])},[o.name=="ali"?(s(),d("div",k7,[t("p",null,i(e(u)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",w7,i(e(u)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(s(),d("div",y7,[t("p",null,i(e(u)("dnspod")),1),t("span",null,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",F7,i(e(u)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(s(),d("div",E7,[t("p",null,i(e(u)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",C7,i(e(u)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):$("",!0),t("div",$7,[t("div",D7,[t("span",null,i(e(u)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",B7,[z(t("select",{name:"",id:"","onUpdate:modelValue":k[0]||(k[0]=y=>r.value=y)},[t("option",Y7,i(e(u)("IPv4\u5730\u5740")),1),t("option",A7,i(e(u)("IPv6\u5730\u5740")),1)],512),[[Q,r.value]])]),t("div",S7,[z7,t("span",P7,i(e(u)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",T7,[t("div",I7,[t("span",null,i(e(u)("\u57DF\u540D\uFF1A")),1)]),t("div",L7,[z(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":k[1]||(k[1]=y=>w.value=y),required:""},null,512),[[Z,w.value,void 0,{trim:!0}]])])]),t("div",M7,[t("div",O7,[t("span",null,i(e(u)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",N7,[z(t("input",{type:"text","onUpdate:modelValue":k[2]||(k[2]=y=>x.value=y),placeholder:e(u)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,q7),[[Z,x.value,void 0,{trim:!0}]])])]),t("div",V7,[t("div",G7,[t("span",null,i(e(u)("\u5BC6\u7801\uFF1A")),1)]),t("div",j7,[z(t("input",{type:"password","onUpdate:modelValue":k[3]||(k[3]=y=>f.value=y),placeholder:e(u)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,R7),[[Z,f.value,void 0,{trim:!0}]])])])],2),t("div",U7,[t("div",{class:"close",onClick:m,type:"button"},i(e(u)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:p.value},i(e(u)("\u4FDD\u5B58")),9,W7)])],40,_7)]))}});var ue=S(H7,[["__scopeId","data-v-6e29e960"]]);const Z7={class:"action-main"},J7=T({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const a=o,n=E(""),u=E("index"),l=x=>{if(x!=null){if(x=="ddnsto"){r();return}u.value=x}else c()},r=()=>{c(),u7({url:a.url})},c=()=>{a.Close&&a.Close()},w=E("ddnsto");return(x,f)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[t("div",Z7,[u.value=="index"?(s(),G(pp,{key:0,onSetup:l,active:w.value,"onUpdate:active":f[0]||(f[0]=p=>w.value=p)},null,8,["active"])):u.value=="ddns-ali"?(s(),G(ue,{key:1,onSetup:l,target:n.value,"onUpdate:target":f[1]||(f[1]=p=>n.value=p),name:"ali"},null,8,["target"])):u.value=="ddns-dnspod"?(s(),G(ue,{key:2,onSetup:l,target:n.value,"onUpdate:target":f[2]||(f[2]=p=>n.value=p),name:"dnspod"},null,8,["target"])):u.value=="ddns-oray"?(s(),G(ue,{key:3,onSetup:l,target:n.value,"onUpdate:target":f[3]||(f[3]=p=>n.value=p),name:"oray"},null,8,["target"])):u.value=="ddns-success"?(s(),G(Fp,{key:4,onSetup:l,target:n.value},null,8,["target"])):$("",!0)])]),_:1},8,["Close"]))}});var X7=S(J7,[["__scopeId","data-v-6f1d92d9"]]);const K7=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(X7,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},Rt=o=>(J("data-v-1532b758"),o=o(),X(),o),Q7={class:"app-container"},t4={class:"app-container_title"},e4={class:"app-container_tool"},a4={class:"app-container_domain"},o4={class:"domain-item"},n4=Rt(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO: ")],-1)),i4={class:"domain-item_value"},r4=["href","title"],s4={key:1,class:"configure"},d4={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},l4={key:0,class:"domain-item"},u4=Rt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4: ")],-1)),c4={class:"domain-item_value"},p4={key:0},f4=["href"],m4={key:2,href:"/cgi-bin/luci/admin/services/ddns"},v4=Rt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),b4=[v4],g4={key:1,class:"domain-item"},h4=Rt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6: ")],-1)),_4={class:"domain-item_value"},x4={key:0},k4=["href"],w4={key:2,href:"/cgi-bin/luci/admin/services/ddns"},y4=Rt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),F4=[y4],E4=T({setup(o){const{$gettext:a,$ngettext:n}=q();let u=!1,l;const r=E({}),c=function(){!u||(document.hidden?Promise.resolve():P.Guide.GetDdns.GET().then(p=>{var m;p!=null&&p.data&&(((m=p==null?void 0:p.data)==null?void 0:m.success)||0)==0&&p.data.result&&(r.value=p.data.result)})).then(()=>{!u||(l=window.setTimeout(c,3e3))})};xt(()=>{u=!0,l=window.setTimeout(c,1100)}),zt(()=>{l!==void 0&&window.clearTimeout(l),u=!1});const w=()=>{K7({url:r.value.ddnstoDomain})},x=U(()=>{const p=r.value.ipv4Domain;return!p||p=="Stopped"||p=="Disabled"?p:`http://${p}`}),f=U(()=>{const p=r.value.ipv6Domain;return!p||p=="Stopped"||p=="Disabled"?p:`http://${p}`});return(p,m)=>{var h,g,_,v;const b=tt("GlHelp");return s(),d("div",Q7,[t("div",t4,[t("span",null,[t("span",null,i(e(a)("\u8FDC\u7A0B\u57DF\u540D")),1),A(b,{type:"ddns"})]),t("div",e4,[t("div",{class:"app-container_configure",onClick:w},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1)])]),t("ul",a4,[t("li",o4,[n4,t("div",i4,[(h=r.value)!=null&&h.ddnstoDomain?(s(),d("a",{key:0,class:"configure",href:(g=r.value)==null?void 0:g.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(_=r.value)==null?void 0:_.ddnstoDomain},i((v=r.value)==null?void 0:v.ddnstoDomain),9,r4)):(s(),d("span",s4,i(e(a)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("a",d4,i(e(a)("\u63A7\u5236\u53F0")),1)])]),e(x)?(s(),d("li",l4,[u4,t("div",c4,[e(x)=="Stopped"||e(x)=="Disabled"?(s(),d("span",p4,i(e(x)),1)):(s(),d("a",{key:1,class:"configure",href:e(x),target:"_blank",rel:"noopener noreferrer"},i(e(x)),9,f4)),e(x)?(s(),d("a",m4,b4)):$("",!0)])])):$("",!0),e(f)?(s(),d("li",g4,[h4,t("div",_4,[e(f)=="Stopped"||e(f)=="Disabled"?(s(),d("span",x4,i(e(f)),1)):(s(),d("a",{key:1,class:"configure",href:e(f),target:"_blank",rel:"noopener noreferrer"},i(e(f)),9,k4)),e(f)?(s(),d("a",w4,F4)):$("",!0)])])):$("",!0)])])}}});var C4=S(E4,[["__scopeId","data-v-1532b758"]]);const $4={class:"nas-container"},D4={class:"nas-container_card"},B4={class:"nas-container_card"},Y4={key:0,class:"nas-container_card"},A4={class:"nas-container_card"},S4={class:"nas-container_card"},z4=T({setup(o){return(a,n)=>(s(),d("div",$4,[t("div",D4,[A(Xu)]),t("div",B4,[A(R2)]),e(Yt)("dockerd")?(s(),d("div",Y4,[A(m6)])):$("",!0),t("div",A4,[A(K8)]),t("div",S4,[A(C4)])]))}});var P4=S(z4,[["__scopeId","data-v-66cc4e33"]]);const T4={class:"app-container"},I4={class:"app-container_title"},L4=["title"],M4={class:"DeviceBlock"},O4={href:"/cgi-bin/luci/admin/system/flash"},N4={href:"/cgi-bin/luci/admin/store/pages/maintance"},q4={class:"item-label"},V4={class:"item-label_key"},G4={class:"item-label_value"},j4={class:"item-label"},R4={class:"item-label_key"},U4={class:"item-label_value"},W4={class:"item-label"},H4={class:"item-label_key"},Z4={class:"item-label_value"},J4={class:"item-label"},X4={class:"item-label_key"},K4={class:"item-label_value"},Q4={class:"item-label"},tf={class:"item-label_key"},ef={class:"item-label_value"},af={class:"item-label"},of={class:"item-label_key"},nf={class:"item-label_value"},rf={class:"item-label"},sf={class:"item-label_key"},df={class:"item-label_value"},lf={class:"item-label"},uf={class:"item-label_key"},cf={class:"item-label_value"},pf=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=fe(),l=U(()=>u.version),r=U(()=>u.systemStatus),c=E(!1),w=U(()=>{var h;return((h=r.value)==null?void 0:h.cpuUsage)||0}),x=U(()=>{var h;return((h=r.value)==null?void 0:h.cpuTemperature)||0}),f=U(()=>{var g;const h=((g=r.value)==null?void 0:g.memAvailablePercentage)||100;return 100-h}),p=_t.stampForm;xt(()=>{});const m=()=>{c.value=!c.value},b=()=>{m(),ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(h,g)=>{var v,k,y,F,Y;const _=tt("progress-item");return s(),d("div",T4,[t("div",I4,[t("span",null,i(e(a)("\u7CFB\u7EDF\u4FE1\u606F")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F")},[A(ht,{onClick:m})],8,L4),z(t("div",M4,[t("div",{class:"menu_background",onClick:m}),t("ul",null,[t("li",null,[t("a",{onClick:b},i(e(a)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("li",null,[t("a",O4,i(e(a)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("li",null,[t("a",N4,i(e(a)("\u63D2\u4EF6\u5907\u4EFD")),1)])])],512),[[vt,c.value]])]),t("div",q4,[t("div",V4,[t("span",null,i(e(a)("CPU\u6E29\u5EA6")),1)]),t("div",G4,[A(_,{value:e(x)/1.5,text:`${e(x)}\u2103`},null,8,["value","text"])])]),t("div",j4,[t("div",R4,[t("span",null,i(e(a)("CPU\u4F7F\u7528\u7387")),1)]),t("div",U4,[A(_,{value:e(w),text:`${e(w)}%`},null,8,["value","text"])])]),t("div",W4,[t("div",H4,[t("span",null,i(e(a)("\u5185\u5B58\u4F7F\u7528\u7387")),1)]),t("div",Z4,[A(_,{value:e(f),text:`${e(f)}%`},null,8,["value","text"])])]),t("div",J4,[t("div",X4,[t("span",null,i(e(a)("\u8BBE\u5907\u578B\u53F7")),1)]),t("div",K4,[t("span",null,i((v=e(l))==null?void 0:v.model),1)])]),t("div",Q4,[t("div",tf,[t("span",null,i(e(a)("\u56FA\u4EF6\u7248\u672C")),1)]),t("div",ef,[t("span",null,i((k=e(l))==null?void 0:k.firmwareVersion),1)])]),t("div",af,[t("div",of,[t("span",null,i(e(a)("\u5185\u6838\u7248\u672C")),1)]),t("div",nf,[t("span",null,i((y=e(l))==null?void 0:y.kernelVersion),1)])]),t("div",rf,[t("div",sf,[t("span",null,i(e(a)("\u5DF2\u542F\u52A8")),1)]),t("div",df,[t("span",null,i(e(p)((F=e(r))==null?void 0:F.uptime)),1)])]),t("div",lf,[t("div",uf,[t("span",null,i(e(a)("\u7CFB\u7EDF\u65F6\u95F4")),1)]),t("div",cf,[t("span",null,i((Y=e(r))==null?void 0:Y.localtime),1)])])])}}});var ff=S(pf,[["__scopeId","data-v-b8dfe98c"]]);const Re=/\d+\.\d+\.\d+\.\d+/,mf=o=>Re.test(o)&&jt.IPv4.isValid(o),kt=o=>{const a=jt.IPv4.parse(o).toByteArray();return a[0]<<24|a[1]<<16|a[2]<<8|a[3]},$e=o=>jt.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),vf=o=>{if(!Re.test(o)||!jt.IPv4.isIPv4(o))return!1;let a=0,n=kt(o);for(let u=31;u>=0&&(n&1<{let l=kt(o)&kt(a),r=kt(n),c=kt(u),x=~kt(a);return rl+1&&c{let n=kt(a),u=kt(o)&n,l=~n,r;return l>=105?(r=u|l-5,u=u|100):l>=3?(r=u|l-1,u=u|2):(u=u|1,r=u),[$e(u),$e(r)]},hf=o=>jt.IPv4.subnetMaskFromPrefixLength(o).toString();var mt={isValidMask:vf,isValidIPv4:mf,isValidMaskRange:bf,calcMaskRange:gf,prefixToMask:hf};const he=o=>(J("data-v-22104807"),o=o(),X(),o),_f=["onSubmit"],xf={class:"actioner-dns_header"},kf={class:"actioner-dns_body"},wf={class:"label-item"},yf={class:"label-item_key"},Ff={class:"label-item_value"},Ef={class:"label-item"},Cf={class:"label-item_key"},$f={class:"label-item_value"},Df={key:0,class:"chose_dhcp"},Bf={key:0,class:"dhcp_info"},Yf={key:1,class:"dhcp_info"},Af={class:"label-item"},Sf={class:"label-item_key"},zf={class:"label-item_value"},Pf={class:"label-item"},Tf={class:"label-item_key"},If={class:"label-item_value"},Lf={class:"actioner-dns_footer"},Mf=["disabled"],Of={key:1,class:"actioner-dns"},Nf={class:"actioner-dns_header"},qf={class:"actioner-dns_body"},Vf={key:0,class:"setting_status"},Gf=he(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),jf={class:"config-message"},Rf=["href"],Uf={key:1,class:"setting_status"},Wf=he(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),Hf={class:"config-message"},Zf={key:2,class:"setting_status"},Jf=he(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),Xf={class:"config-message"},Kf=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const c=E(!1);E(!0),E(!1);const w=E(""),x=E(2),f=E(!1),p=E("timeout");let m=!0;(()=>{P.Guide.GetLan.GET().then(k=>{k.data.result&&(f.value=k.data.result.enableDhcp||!1,k.data.result.enableDhcp=!1,r.value=k.data.result,k.data.result.lanIp!==location.hostname&&(m=!1))})})();const h=()=>{const k=r.value;if(!mt.isValidIPv4(k.lanIp)){D.Warning(n("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!mt.isValidMask(k.netMask)){D.Warning(n("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=mt.calcMaskRange(k.lanIp,k.netMask);k.dhcpStart=y[0],k.dhcpEnd=y[1],r.value=k},g=()=>{const k=r.value;if(!mt.isValidIPv4(k.lanIp)){D.Warning(n("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!mt.isValidMask(k.netMask)){D.Warning(n("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(k.enableDhcp&&!(mt.isValidIPv4(k.dhcpStart)&&mt.isValidIPv4(k.dhcpEnd)&&mt.isValidMaskRange(k.lanIp,k.netMask,k.dhcpStart,k.dhcpEnd))){D.Warning(n("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=D.Loading(n("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let F=0;const Y=C=>{p.value=C,l.value=1,F=1,y.Close()},N=()=>{const C=new Date().getTime()+3e4,B=m?location.protocol+"//"+k.lanIp+(location.port?":"+location.port:""):location.origin,M=B+"/luci-static/resources/icons/loading.gif",W=()=>{F==0&&(new Date().getTime()>C?Y("timeout"):window.setTimeout(H,2e3))},V=()=>{F==0&&(w.value=B+location.pathname,Y("success"),window.setTimeout(()=>{x.value=1},1e3),window.setTimeout(()=>{location.href=w.value},2e3))},H=()=>{if(F!=0)return;console.log("check online ",M);const rt=new Image;rt.onload=V,rt.onerror=W,rt.src=M};window.setTimeout(H,5e3)};P.Guide.LanIp.POST(k).then(C=>{var B;if(C!=null&&C.data){if((C.data.success||0)==0)return;if((B=C.data)!=null&&B.error)throw C.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(C=>{F==0&&(Y("fail"),D.Error(C))}),N(),window.setTimeout(()=>{F==0&&Y("timeout")},3e4)},_=k=>{k.preventDefault(),a.Close&&a.Close()},v=k=>{location.reload()};return(k,y)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0?(s(),d("form",{key:0,class:"actioner-dns",onSubmit:nt(g,["prevent"])},[t("div",xf,[t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",kf,[t("div",wf,[t("div",yf,[t("span",null,i(e(n)("IPv4\u5730\u5740")),1)]),t("div",Ff,[z(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=F=>r.value.lanIp=F),onChange:h},null,544),[[Z,r.value.lanIp,void 0,{trim:!0}]])])]),t("div",Ef,[t("div",Cf,[t("span",null,i(e(n)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",$f,[z(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=F=>r.value.netMask=F),onChange:h},null,544),[[Z,r.value.netMask,void 0,{trim:!0}]])])]),f.value?(s(),d("div",Df,[A(Ie,{modelValue:r.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=F=>r.value.enableDhcp=F)},{default:j(()=>[r.value.enableDhcp?(s(),d("span",Bf,i(e(n)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(s(),d("span",Yf,i(e(n)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):$("",!0),r.value.enableDhcp?(s(),d(L,{key:1},[t("div",Af,[t("div",Sf,[t("span",null,i(e(n)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",zf,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=F=>r.value.dhcpStart=F)},null,512),[[Z,r.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",Pf,[t("div",Tf,[t("span",null,i(e(n)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",If,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=F=>r.value.dhcpEnd=F)},null,512),[[Z,r.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):$("",!0)]),t("div",Lf,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},i(e(n)("\u786E\u8BA4")),9,Mf),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u53D6\u6D88")),1)])],40,_f)):l.value==1?(s(),d("div",Of,[t("div",Nf,[t("span",null,i(e(n)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",qf,[p.value=="success"?(s(),d("div",Vf,[Gf,t("div",jf,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:w.value,class:"NewAdress"},i(e(n)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+x.value})),9,Rf)])):p.value=="fail"?(s(),d("div",Uf,[Wf,t("div",Hf,i(e(n)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(n)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},i(e(n)("\u6211\u77E5\u9053\u4E86")),1)])):p.value=="timeout"?(s(),d("div",Zf,[Jf,t("div",Xf,i(e(n)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(n)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},i(e(n)("\u5237\u65B0\u9875\u9762")),1)])):$("",!0)])])):$("",!0)]),_:1},8,["Close"]))}});var Qf=S(Kf,[["__scopeId","data-v-22104807"]]);const tm=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Qf,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},em={key:0,class:"actioner-dns"},am={class:"actioner-dns_header"},om={class:"actioner-dns_body"},nm={class:"sandbox_info"},im={key:0,class:"disk_loading_icon"},rm={class:"disk_loading_info"},sm={key:1,class:"disk_tips"},dm={class:"label-item"},lm={class:"label-item_key"},um={class:"label-item_value"},cm={value:""},pm=["value"],fm={class:"label-item"},mm={class:"label-item_key"},vm={class:"label-item_value"},bm={selected:"true",value:""},gm=["value","disabled"],hm={class:"sandbox_tips"},_m={class:"sandbox_info timeout"},xm={class:"sandbox_roboot_tips"},km={class:"sandbox_roboot_refresh"},wm={key:0,class:"actioner-dns_footer"},ym=["disabled"],Fm={key:1,class:"actioner-tips"},Em={class:"actioner-tips_header"},Cm={class:"actioner-tips_body"},$m={class:"sandbox_info"},Dm={class:"actioner-tips_footer"},Bm={key:2,class:"actioner-tips"},Ym={class:"actioner-tips_header"},Am={class:"actioner-tips_body"},Sm={class:"sandbox_info"},zm={class:"actioner-tips_footer"},Pm=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0);E("disk");const r=E(""),c=E(3),w=E(""),x=E([]),f=E(""),p=E(null);(()=>{P.Nas.SandboxDisks.GET().then(F=>{var Y;if(F!=null&&F.data&&(Y=F.data)!=null&&Y.result){p.value=F.data.result;return}throw n("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(F=>{r.value=F,l.value=3})})();const b=()=>P.System.Reboot.POST({name:w.value,path:f.value}).then(F=>{var Y;if(!(F!=null&&F.data&&(((Y=F==null?void 0:F.data)==null?void 0:Y.success)||0)==0))throw n("\u672A\u77E5\u9519\u8BEF")}),h=F=>{var Y,N;f.value="",x.value=w.value&&((N=(Y=p.value)==null?void 0:Y.disks.find(C=>C.path==w.value))==null?void 0:N.childrens)||[]},g=()=>{c.value>0&&(c.value-=1,window.setTimeout(g,1e3))},_=F=>{F.preventDefault(),a.Close&&a.Close()},v=()=>{new Promise((F,Y)=>{const N="/luci-static/resources/icons/loading.gif",C=()=>{window.setTimeout(B,2e3)},B=()=>{const M=new Image;M.onload=F,M.onerror=C,M.src=N};window.setTimeout(B,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},k=F=>{const Y=D.Loading(n("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));P.Nas.Sandbox.POST({path:f.value}).then(N=>{var C;if(N!=null&&N.data){if((N.data.success||0)==0)return l.value=2,window.setTimeout(g,1e3),b();if((C=N.data)!=null&&C.error)throw N.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).then(v).catch(N=>D.Warning(N)).finally(()=>Y.Close())},y=()=>{l.value=0};return(F,Y)=>{const N=tt("icon-loading");return s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0||l.value==2?(s(),d("div",em,[t("div",am,[t("span",null,i(e(n)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",om,[t("p",nm,i(e(n)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),l.value==0?(s(),d(L,{key:0},[p.value?$("",!0):(s(),d("div",im,[A(N,{size:38,color:"currentColor"}),t("span",rm,i(e(n)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),p.value&&p.value.disks.length==0?(s(),d("div",sm,[A(ft),t("span",null,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):$("",!0),p.value&&p.value.disks.length>0?(s(),d(L,{key:2},[t("div",dm,[t("div",lm,[t("span",null,i(e(n)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",um,[z(t("select",{name:"",id:"",onChange:h,"onUpdate:modelValue":Y[0]||(Y[0]=C=>w.value=C)},[t("option",cm,i(e(n)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(s(!0),d(L,null,R(p.value.disks,(C,B)=>(s(),d("option",{value:C.path,key:B},i(C.venderModel)+"\uFF08"+i(C.size)+"\uFF09 ",9,pm))),128))],544),[[Q,w.value]])])]),t("div",fm,[t("div",mm,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",vm,[z(t("select",{name:"",id:"","onUpdate:modelValue":Y[1]||(Y[1]=C=>f.value=C)},[t("option",bm,i(e(n)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(s(!0),d(L,null,R(x.value,(C,B)=>(s(),d("option",{value:C.path,key:B,disabled:C.sizeInt<(1<<30)*1||C.isSystemRoot},i(C.name)+"\uFF08"+i(C.filesystem||e(n)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i(C.total),9,gm))),128))],512),[[Q,f.value]])])]),t("div",hm,[A(ft),t("span",null,i(e(n)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):$("",!0)],64)):$("",!0),l.value==2?(s(),d(L,{key:1},[t("p",_m,[et(i(e(n)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(c.value)+"s\uFF09",1)]),t("p",xm,[et(i(e(n)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",km,i(e(n)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):$("",!0)]),l.value==0?(s(),d("div",wm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!f.value,onClick:Y[2]||(Y[2]=C=>l.value=1)},i(e(n)("\u5F00\u542F\u6C99\u7BB1")),9,ym),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u53D6\u6D88")),1)])):$("",!0)])):$("",!0),l.value==1?(s(),d("div",Fm,[t("div",Em,[t("span",null,i(e(n)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",Cm,[t("p",$m,i(e(n)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",Dm,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:k},i(e(n)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0),l.value==3?(s(),d("div",Bm,[t("div",Ym,[t("span",null,i(e(n)("\u9519\u8BEF")),1)]),t("div",Am,[t("p",Sm,i(r.value),1)]),t("div",zm,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0)]),_:1},8,["Close"])}}});var Tm=S(Pm,[["__scopeId","data-v-2b57eea5"]]);const Im=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Tm,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Lm={key:0,class:"actioner-dns"},Mm={class:"actioner-dns_header"},Om={class:"actioner-dns_body"},Nm={class:"sandbox_info"},qm={class:"sandbox_environment"},Vm={class:"sandbox_environment_info"},Gm={class:"sandbox_environment_reboot"},jm=["innerHTML"],Rm={class:"actioner-dns_footer"},Um=["disabled"],Wm=["disabled"],Hm=["disabled"],Zm=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=E(!1),c=()=>{new Promise((m,b)=>{const h="/luci-static/resources/icons/loading.gif",g=()=>{window.setTimeout(_,2e3)},_=()=>{const v=new Image;v.onload=m,v.onerror=g,v.src=h};window.setTimeout(_,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},w=()=>{r.value=!0;const m=D.Loading(n("\u63D0\u4EA4\u4E2D..."));P.Nas.SandboxCommit.POST().then(b=>{var h,g;if(b!=null&&b.data)if((((h=b==null?void 0:b.data)==null?void 0:h.success)||0)==0){D.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(g=b==null?void 0:b.data)!=null&&g.error&&alert(b.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{D.Error(b),r.value=!1}).finally(()=>m.Close())},x=()=>{r.value=!0;const m=D.Loading(n("\u91CD\u7F6E\u4E2D..."));P.Nas.SandboxReset.POST().then(b=>{var h,g;if(b!=null&&b.data)if((((h=b==null?void 0:b.data)==null?void 0:h.success)||0)==0){D.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(g=b==null?void 0:b.data)!=null&&g.error&&alert(b.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{D.Error(b),r.value=!1}).finally(()=>m.Close())},f=()=>{if(!confirm(n("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;r.value=!0;const m=D.Loading(n("\u6267\u884C\u4E2D..."));P.Nas.SandboxExit.POST().then(b=>{var h,g;if(b!=null&&b.data)if((((h=b==null?void 0:b.data)==null?void 0:h.success)||0)==0){D.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(g=b==null?void 0:b.data)!=null&&g.error&&alert(b.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{D.Error(b),r.value=!1}).finally(()=>m.Close())},p=m=>{m.preventDefault(),a.Close&&a.Close()};return(m,b)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0?(s(),d("div",Lm,[t("div",Mm,[t("span",null,i(e(n)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Om,[t("p",Nm,i(e(n)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",qm,[t("p",null,i(e(n)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(n)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(n)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(n)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",Vm,[et(i(e(n)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",Gm,i(e(n)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(n)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,jm)])]),t("div",Rm,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w,disabled:r.value},i(e(n)("\u63D0\u4EA4")),9,Um),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:x,disabled:r.value},i(e(n)("\u91CD\u7F6E")),9,Wm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:f,disabled:r.value},i(e(n)("\u9000\u51FA")),9,Hm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0)]),_:1},8,["Close"]))}});var Jm=S(Zm,[["__scopeId","data-v-9573dc70"]]);const Xm=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Jm,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Km={class:"nav-container"},Qm=["onClick"],t9={key:1,class:"btn_styles color3 app-update-button-combind"},e9={class:"app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},a9={class:"app-update-button-text"},o9={key:0,style:{display:"inline-block"}},n9={key:1},i9=["title"],r9={class:"app-update-button-menu"},s9={class:"app-update-menu-item"},d9={key:0,class:"app-update-menu-item-loading"},l9=["disabled"],u9={key:0,style:{display:"inline-block"}},c9=T({setup(o){var F,Y;const{$gettext:a,$ngettext:n}=q(),u=E(!0);(Y=(F=window.quickstart_configs)==null?void 0:F.update)!=null&&Y.disable&&(u.value=!1);const l=E(!1),r=E(u.value),c=E(!1),w=fe(),x=ae(),f=U(()=>x.status);E(!1),E(!0);const p=E(),m=()=>{Me()};Kt(r,N=>{c.value=!0,P.System.AutoCheckUpdate.POST({enable:N}).catch(C=>{D.Warning(C)}).finally(()=>{c.value=!1})});const b=()=>{Im()},h=()=>{Xm()},g=()=>{alert(a("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},_=()=>{tm()},v=()=>{Ve()},k=()=>{var N,C,B,M;window.open(`${(C=(N=window.quickstart_configs)==null?void 0:N.ttyd)!=null&&C.ssl?"https":"http"}://${window.location.hostname}:${((M=(B=window.quickstart_configs)==null?void 0:B.ttyd)==null?void 0:M.port)||7681}/`,"_blank")},y=()=>{l.value=!l.value};return u.value&&setTimeout(()=>{w.requestCheckUpdate()},1100),Yt("sandbox")&&P.Nas.GetSandbox.GET().then(C=>{var B,M,W;C!=null&&C.data&&((((B=C==null?void 0:C.data)==null?void 0:B.success)||0)==0?(M=C==null?void 0:C.data)!=null&&M.result&&(p.value=C.data.result):(W=C==null?void 0:C.data)!=null&&W.error&&alert(C.data.error))}).catch(C=>D.Warning(C)),(N,C)=>{var V,H,rt,Tt,It,Lt;const B=tt("router-link"),M=tt("icon-loading"),W=tt("switch-box");return s(),d("div",Km,[A(B,{to:"/network",custom:""},{default:j(({navigate:Dt})=>[t("button",{class:"btn_styles color1",onClick:Dt},i(e(a)("\u7F51\u7EDC\u5411\u5BFC")),9,Qm)]),_:1}),e(Yt)("ttyd")?(s(),d("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:k},i(e(a)("\u7EC8\u7AEF")),1)):$("",!0),e(Yt)("ota")?(s(),d("button",t9,[t("div",e9,[t("div",a9,[et(i(e(a)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),u.value&&e(w).checkUpdate==null?(s(),d("span",o9,[A(M,{size:"0.8em",color:"currentColor"})])):$("",!0),(V=e(w).checkUpdate)!=null&&V.needUpdate?(s(),d("i",n9)):$("",!0)])]),t("span",{class:"app-update-button-more",onClick:y,title:e(a)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[A(ht)],8,i9),z(t("div",r9,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[A(W,{modelValue:r.value,"onUpdate:modelValue":C[0]||(C[0]=Dt=>r.value=Dt)},{default:j(()=>[t("span",s9,i(e(a)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),c.value?(s(),d("span",d9,[A(M,{size:"1em",color:"currentColor"})])):$("",!0)])])],512),[[vt,l.value]])])):$("",!0),t("button",{class:"btn_styles color4",onClick:_},i(e(a)("\u5185\u7F51\u914D\u7F6E")),1),t("button",{class:"btn_styles color5",onClick:m,disabled:!((H=e(f))!=null&&H.proto)},[et(i(e(a)("DNS\u914D\u7F6E"))+" ",1),(rt=e(f))!=null&&rt.proto?$("",!0):(s(),d("span",u9,[A(M,{size:"0.8em",color:"currentColor"})]))],8,l9),t("button",{class:"btn_styles color1",onClick:v},i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1),e(Yt)("sandbox")?(s(),d(L,{key:2},[((Tt=p.value)==null?void 0:Tt.status)=="unsupport"?(s(),d("button",{key:0,class:"btn_styles color2",onClick:g},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),1)):((It=p.value)==null?void 0:It.status)=="stopped"?(s(),d("button",{key:1,class:"btn_styles color3",onClick:b},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),1)):((Lt=p.value)==null?void 0:Lt.status)=="running"?(s(),d("button",{key:2,class:"btn_styles color4",onClick:h},i(e(a)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)):$("",!0)],64)):$("",!0)])}}});var p9=S(c9,[["__scopeId","data-v-30c0acb2"]]);const _e=o=>(J("data-v-82d61772"),o=o(),X(),o),f9={id:"page"},m9={style:{height:"48px","text-align":"right"}},v9={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},b9=_e(()=>t("em",null,null,-1)),g9=_e(()=>t("em",null,null,-1)),h9=_e(()=>t("em",null,null,-1)),_9=T({setup(o){Ma();const{$gettext:a,$ngettext:n}=q(),u=E(0),l=E(localStorage.getItem("firstOpen")||!1),r=()=>I(this,null,function*(){try{const c=yield P.GuidePage.getInstalled.GET();c!=null&&c.data&&(u.value=c.data.length||0,l.value?l.value=!1:u.value==0&&(l.value=!0))}catch(c){console.log(c)}});return l.value?l.value=!1:r(),(c,w)=>(s(),d("div",f9,[t("div",m9,[t("a",v9,i(e(a)("iStoreOS\u5B98\u7F51")),1)]),A(Vd),b9,A(p9),A(P4),g9,A(ff),h9]))}});var x9=S(_9,[["__scopeId","data-v-82d61772"]]);const k9={};function w9(o,a){const n=tt("router-view");return s(),G(n)}var y9=S(k9,[["render",w9]]);const F9={},E9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},C9=yt('',2),$9=[C9];function D9(o,a){return s(),d("svg",E9,$9)}var B9=S(F9,[["render",D9]]);const Y9={},A9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},S9=yt('',2),z9=[S9];function P9(o,a){return s(),d("svg",A9,z9)}var T9=S(Y9,[["render",P9]]);const I9={},L9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M9=yt('',2),O9=[M9];function N9(o,a){return s(),d("svg",L9,O9)}var q9=S(I9,[["render",N9]]);const V9={id:"page"},G9={class:"title"},j9={class:"desc"},R9={class:"network-containers"},U9={class:"network-container_item"},W9={class:"cover"},H9={class:"thumbnail"},Z9={class:"network-container_item"},J9={class:"cover"},X9={class:"thumbnail"},K9={class:"network-container_item"},Q9={class:"cover"},tv={class:"thumbnail"},ev=["innerHTML"],av=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=a("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+a("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(l,r)=>{const c=tt("router-link");return s(),d("div",V9,[t("div",G9,i(e(a)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",j9,i(e(a)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",R9,[t("div",U9,[A(c,{to:"/network/pppoe"},{default:j(()=>[t("div",W9,[t("div",H9,[A(T9),t("span",null,i(e(a)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",Z9,[A(c,{to:"/network/dhcp"},{default:j(()=>[t("div",J9,[t("div",X9,[A(B9),t("span",null,i(e(a)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",K9,[A(c,{to:"/network/gateway"},{default:j(()=>[t("div",Q9,[t("div",tv,[A(q9),t("span",null,i(e(a)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(u)},null,8,ev)])}}});var ov=S(av,[["__scopeId","data-v-52c03678"]]);const nv={key:0,id:"page"},iv={class:"title"},rv={class:"desc"},sv={class:"network-message"},dv=["innerHTML"],lv=["onSubmit"],uv={class:"label-key"},cv=["placeholder","disabled"],pv={class:"label-key"},fv=["placeholder","disabled"],mv={key:0,class:"chose_dhcp"},vv={class:"dhcp_info"},bv={key:1,class:"msg"},gv={class:"btns"},hv=["disabled"],_v=["onClick"],xv={key:1,id:"page"},kv={class:"title"},wv={class:"btns"},yv=["onClick"],Fv=["onClick"],Ev=T({setup(o){const{$gettext:a,$ngettext:n}=q(),l=Qt().query.type,r=a("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+a("\u94FE\u63A5")+""},!0),c=E(0),w=E({}),x=E(""),f=E(!1),p=E(0),m=E(!1);(()=>I(this,null,function*(){var g,_;f.value=!0;try{const v=yield Promise.all([P.Guide.Pppoe.GET(),P.Guide.GetLan.GET()]);if(v[0].data){const{success:k,error:y,result:F}=v[0].data;F&&(F.enableLanDhcp=!1,w.value=F),k==-1011&&(f.value=!0,p.value=k)}(g=v[1].data)!=null&&g.result&&(((_=v[1].data)==null?void 0:_.result).enableDhcp||(m.value=!0,w.value.enableLanDhcp=!0))}catch(v){x.value=v}p.value==0&&(f.value=!1)}))();const h=()=>I(this,null,function*(){const g=w.value.account||"",_=w.value.password||"";if(g==""){x.value=a("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(_==""){x.value=a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}f.value=!0;const v=D.Loading(a("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.Pppoe.POST({account:g,password:_});if(k!=null&&k.data){const{error:y,success:F}=k.data;y&&(x.value=y),(F==null||F==0)&&(D.Success(a("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(k){x.value=k}f.value=!1,v.Close()});return(g,_)=>{const v=tt("switch-box"),k=tt("router-link");return c.value==0?(s(),d("div",nv,[t("h2",iv,i(e(a)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",rv,i(e(a)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",sv,[p.value==-1011?(s(),d("li",{key:0,innerHTML:e(r)},null,8,dv)):$("",!0)]),t("form",{onSubmit:nt(h,["prevent"])},[t("label",null,[t("div",uv,[t("span",null,i(e(a)("\u5BBD\u5E26\u8D26\u53F7")),1)]),z(t("input",{type:"text","onUpdate:modelValue":_[0]||(_[0]=y=>w.value.account=y),placeholder:e(a)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:f.value},null,8,cv),[[Z,w.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",pv,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),z(t("input",{type:"password","onUpdate:modelValue":_[1]||(_[1]=y=>w.value.password=y),placeholder:e(a)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:f.value},null,8,fv),[[Z,w.value.password,void 0,{trim:!0}]])]),m.value?(s(),d("div",mv,[A(v,{modelValue:w.value.enableLanDhcp,"onUpdate:modelValue":_[2]||(_[2]=y=>w.value.enableLanDhcp=y)},{default:j(()=>[t("span",vv,i(e(a)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):$("",!0),x.value?(s(),d("div",bv,i(x.value),1)):$("",!0),t("div",gv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:f.value},i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),9,hv),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u8FD4\u56DE")),9,_v)]),_:1},8,["to"])])],40,lv)])):c.value==1?(s(),d("div",xv,[t("h2",kv,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("div",wv,[A(k,{to:"/",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,yv)]),_:1}),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u8FD4\u56DE")),9,Fv)]),_:1},8,["to"])])])):$("",!0)}}});var Cv=S(Ev,[["__scopeId","data-v-e187efe4"]]);const $v={key:0,id:"page"},Dv={class:"title"},Bv={class:"desc"},Yv={class:"network-message"},Av=["innerHTML"],Sv=["onSubmit"],zv={class:"label-key"},Pv={value:"dhcp"},Tv={value:"static"},Iv={class:"label-key"},Lv=["placeholder","disabled"],Mv={key:0,class:"msg"},Ov={class:"label-key"},Nv=["placeholder","disabled"],qv={key:1,class:"msg"},Vv={class:"label-key"},Gv=["placeholder","disabled"],jv={class:"label-key"},Rv=["disabled"],Uv={value:"manual"},Wv={class:"label-key"},Hv=["onUpdate:modelValue","placeholder","disabled"],Zv={class:"label-key"},Jv=["placeholder","disabled"],Xv={class:"label-key"},Kv=["placeholder","disabled"],Qv={key:2,class:"chose_dhcp"},tb={class:"dhcp_info"},eb={key:3,class:"msgs"},ab={class:"btns"},ob=["disabled"],nb=["onClick"],ib={key:1,id:"page"},rb={class:"title"},sb={class:"btns"},db=["onClick"],lb=["onClick"],ub=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=a("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+a("\u94FE\u63A5")+""},!0),l=E(0),r=E({}),c=E(""),w=E(""),x=E(""),f=E(!1),p=E(""),m=E(""),b=E(0),h=_t.checkIsIP,g=E(!1),v=Qt().query.type;(()=>I(this,null,function*(){var C,B;f.value=!0;try{const M=yield Promise.all([P.Guide.ClientModel.GET(),P.Guide.GetLan.GET()]);if(M[0]){const W=M[0];if(W.data){const{success:V,error:H,result:rt}=W.data;rt&&(rt.wanProto!="dhcp"&&rt.wanProto!="static"&&(rt.wanProto="dhcp",rt.dnsProto="auto"),rt.enableLanDhcp=!1,r.value=rt),V==-1011&&(b.value=V,f.value=!0)}}(C=M[1].data)!=null&&C.result&&(((B=M[1].data)==null?void 0:B.result).enableDhcp||(g.value=!0,r.value.enableLanDhcp=!0))}catch(M){c.value=M}b.value==0&&(f.value=!1)}))();const y=C=>{C.target.value=="static"?((r.value.staticIp==null||r.value.staticIp=="")&&(r.value.staticIp="192.168.1.100"),(r.value.subnetMask==null||r.value.subnetMask=="")&&(r.value.subnetMask="255.255.255.0"),r.value.dnsProto=="auto"&&setTimeout(()=>r.value.dnsProto="manual",0)):r.value.dnsProto=="manual"&&setTimeout(()=>r.value.dnsProto="auto",0)},F=C=>{const B=C.target;if(B.value==""){p.value="";return}h(B.value)?p.value="":p.value=a("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},Y=C=>{const B=C.target;if(B.value==""){m.value="";return}h(B.value)?m.value="":m.value=a("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},N=()=>I(this,null,function*(){const C={};switch(r.value.wanProto){case"dhcp":break;case"static":C.staticIp=r.value.staticIp,C.subnetMask=r.value.subnetMask,C.gateway=r.value.gateway||"";break}switch(r.value.dnsProto){case"auto":break;case"manual":C.manualDnsIp=[],r.value.manualDnsIp!=null&&r.value.manualDnsIp.length>0?C.manualDnsIp=r.value.manualDnsIp:(C.manualDnsIp.push(w.value),x.value&&C.manualDnsIp.push(x.value));break}C.dnsProto=r.value.dnsProto,C.wanProto=r.value.wanProto,C.enableLanDhcp=r.value.enableLanDhcp;const B=D.Loading(a("\u914D\u7F6E\u4E2D...."));f.value=!0;try{const M=yield P.Guide.ClientModel.POST(C);if(M!=null&&M.data){const{success:W,error:V}=M==null?void 0:M.data;V&&(c.value=V),(W==null||W==0)&&(D.Success(a("\u914D\u7F6E\u6210\u529F")),l.value=1)}}catch(M){c.value=M}f.value=!1,B.Close()});return(C,B)=>{const M=tt("switch-box"),W=tt("router-link");return l.value==0?(s(),d("div",$v,[t("h2",Dv,i(e(a)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",Bv,i(e(a)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",Yv,[b.value==-1011?(s(),d("li",{key:0,innerHTML:e(u)},null,8,Av)):$("",!0)]),t("form",{onSubmit:nt(N,["prevent"])},[t("label",null,[t("div",zv,[t("span",null,i(e(a)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),z(t("select",{"onUpdate:modelValue":B[0]||(B[0]=V=>r.value.wanProto=V),onInput:y},[t("option",Pv,i(e(a)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",Tv,i(e(a)("\u9759\u6001IP\u5730\u5740")),1)],544),[[Q,r.value.wanProto]])]),r.value.wanProto=="static"?(s(),d(L,{key:0},[t("label",null,[t("div",Iv,[t("span",null,i(e(a)("IP\u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[1]||(B[1]=V=>r.value.staticIp=V),placeholder:e(a)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:f.value,onInput:F},null,40,Lv),[[Z,r.value.staticIp,void 0,{trim:!0}]])]),p.value?(s(),d("p",Mv,i(p.value),1)):$("",!0),t("label",null,[t("div",Ov,[t("span",null,i(e(a)("\u5B50\u7F51\u63A9\u7801")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[2]||(B[2]=V=>r.value.subnetMask=V),placeholder:e(a)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:f.value,onInput:Y},null,40,Nv),[[Z,r.value.subnetMask,void 0,{trim:!0}]])]),m.value?(s(),d("p",qv,i(m.value),1)):$("",!0),t("label",null,[t("div",Vv,[t("span",null,i(e(a)("\u7F51\u5173\u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[3]||(B[3]=V=>r.value.gateway=V),placeholder:e(a)("\u7F51\u5173\u5730\u5740"),required:"",disabled:f.value},null,8,Gv),[[Z,r.value.gateway,void 0,{trim:!0}]])])],64)):$("",!0),t("label",null,[t("div",jv,[t("span",null,i(e(a)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),z(t("select",{"onUpdate:modelValue":B[4]||(B[4]=V=>r.value.dnsProto=V)},[t("option",{value:"auto",disabled:r.value.wanProto=="static"},i(e(a)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,Rv),t("option",Uv,i(e(a)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[Q,r.value.dnsProto]])]),r.value.dnsProto=="manual"?(s(),d(L,{key:1},[r.value.manualDnsIp!=null&&r.value.manualDnsIp.length>0?(s(!0),d(L,{key:0},R(r.value.manualDnsIp,(V,H)=>(s(),d("label",null,[t("div",Wv,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),z(t("input",{type:"text","onUpdate:modelValue":rt=>r.value.manualDnsIp[H]=rt,placeholder:e(a)("DNS\u670D\u52A1\u5668"),required:"",disabled:f.value},null,8,Hv),[[Z,r.value.manualDnsIp[H],void 0,{trim:!0}]])]))),256)):(s(),d(L,{key:1},[t("label",null,[t("div",Zv,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[5]||(B[5]=V=>w.value=V),placeholder:e(a)("DNS\u670D\u52A1\u5668"),required:"",disabled:f.value},null,8,Jv),[[Z,w.value,void 0,{trim:!0}]])]),t("label",null,[t("div",Xv,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),z(t("input",{type:"text","onUpdate:modelValue":B[6]||(B[6]=V=>x.value=V),placeholder:e(a)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:f.value},null,8,Kv),[[Z,x.value,void 0,{trim:!0}]])])],64))],64)):$("",!0),g.value?(s(),d("div",Qv,[A(M,{modelValue:r.value.enableLanDhcp,"onUpdate:modelValue":B[7]||(B[7]=V=>r.value.enableLanDhcp=V)},{default:j(()=>[t("span",tb,i(e(a)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):$("",!0),c.value?(s(),d("div",eb,i(c.value),1)):$("",!0),t("div",ab,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:f.value},i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),9,ob),A(W,{to:e(v)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(a)("\u8FD4\u56DE")),9,nb)]),_:1},8,["to"])])],40,Sv)])):l.value==1?(s(),d("div",ib,[t("h2",rb,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("div",sb,[A(W,{to:"/",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:V},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,db)]),_:1}),A(W,{to:e(v)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(a)("\u8FD4\u56DE")),9,lb)]),_:1},8,["to"])])])):$("",!0)}}});var cb=S(ub,[["__scopeId","data-v-5eefd6ee"]]);const pb=o=>(J("data-v-3d6d1dea"),o=o(),X(),o),fb={key:0,id:"page"},mb={class:"title"},vb=pb(()=>t("br",null,null,-1)),bb={class:"btns"},gb=["onClick"],hb={key:1,id:"page"},_b={class:"title"},xb={class:"desc"},kb=["onSubmit"],wb={class:"label-key"},yb={class:"label-value"},Fb={class:"label-key"},Eb=["placeholder"],Cb={class:"label-key"},$b=["placeholder"],Db={class:"label-key"},Bb=["placeholder"],Yb={class:"label-key"},Ab=["placeholder"],Sb={key:0,class:"msgs"},zb={class:"switch_inline"},Pb={key:0,class:"switch_info"},Tb={key:1,class:"switch_info"},Ib={class:"switch_inline"},Lb={class:"switch_info"},Mb={class:"switch_inline"},Ob={class:"switch_info"},Nb={class:"btns"},qb={class:"cbi-button cbi-button-apply app-btn app-next"},Vb=["onClick"],Gb={key:2,id:"page"},jb={class:"title"},Rb={class:"desc"},Ub={class:"btns"},Wb={key:3,id:"page"},Hb={class:"title"},Zb=["disabled"],Jb={style:{"text-align":"left"}},Xb={class:"btns"},Kb=["disabled"],Qb=["onClick"],tg=T({setup(o){const{$gettext:a,$ngettext:n}=q(),l=Qt().query.type,r=E(0),c=E(""),w=E(!1),x=U(()=>{var _,v,k;return!(((_=p.value)==null?void 0:_.ipv4addr)&&((v=p.value)==null?void 0:v.ipv4mask)&&((k=p.value)==null?void 0:k.gateway))}),f=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),p=E(),m=()=>{w.value=!0,P.Network.Status.GET().then(_=>{if(_!=null&&_.data){const{result:v}=_==null?void 0:_.data;v&&(p.value=v)}}).finally(()=>{w.value=!1})},b=_=>{var v,k,y,F,Y;_&&(f.value.staticLanIp=((v=p.value)==null?void 0:v.ipv4addr)||"",f.value.subnetMask=((k=p.value)==null?void 0:k.ipv4mask)&&mt.prefixToMask(p.value.ipv4mask)||"",f.value.gateway=((y=p.value)==null?void 0:y.gateway)||"",f.value.staticDnsIp=((F=p.value)==null?void 0:F.dnsList)&&((Y=p.value)==null?void 0:Y.dnsList[0])||"223.5.5.5"),r.value=1},h=_=>{window.location.href=location.protocol+"//"+f.value.staticLanIp+(location.port?":"+location.port:"")},g=()=>I(this,null,function*(){const _=f.value,v=D.Loading(a("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.GatewayRouter.POST(_);if(k!=null&&k.data){const{success:y,error:F}=k==null?void 0:k.data;if(F&&(c.value=F),y==null||y==0){setTimeout(()=>{r.value=2,v.Close()},5e3);return}}}catch(k){c.value=k}v.Close()});return(_,v)=>{var F,Y,N,C;const k=tt("router-link"),y=tt("switch-box");return r.value==0?(s(),d("div",fb,[t("h2",mb,i(e(a)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[et(i(e(a)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(a)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),vb,t("p",null,i(e(a)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(a)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(a)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",bb,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:v[0]||(v[0]=B=>r.value=3)},i(e(a)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:v[1]||(v[1]=B=>b(!1))},i(e(a)("\u624B\u52A8\u914D\u7F6E...")),1),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(a)("\u8FD4\u56DE")),9,gb)]),_:1},8,["to"])])])):r.value==1?(s(),d("div",hb,[t("h2",_b,i(e(a)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",xb,i(e(a)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:nt(g,["prevent"])},[t("label",null,[t("div",wb,[t("span",null,i(e(a)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",yb,[t("select",{disabled:"",style:At({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(a)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",Fb,[t("span",null,i(e(a)("IP \u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[2]||(v[2]=B=>f.value.staticLanIp=B),placeholder:e(a)("IP\u5730\u5740"),required:""},null,8,Eb),[[Z,f.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",Cb,[t("span",null,i(e(a)("\u5B50\u7F51\u63A9\u7801")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[3]||(v[3]=B=>f.value.subnetMask=B),placeholder:e(a)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,$b),[[Z,f.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",Db,[t("span",null,i(e(a)("\u7F51\u5173\u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[4]||(v[4]=B=>f.value.gateway=B),placeholder:e(a)("\u7F51\u5173\u5730\u5740"),required:""},null,8,Bb),[[Z,f.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",Yb,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[5]||(v[5]=B=>f.value.staticDnsIp=B),placeholder:e(a)("223.5.5.5"),required:""},null,8,Ab),[[Z,f.value.staticDnsIp,void 0,{trim:!0}]])]),c.value?(s(),d("div",Sb,i(c.value),1)):$("",!0),t("div",zb,[A(y,{modelValue:f.value.enableDhcp,"onUpdate:modelValue":v[6]||(v[6]=B=>f.value.enableDhcp=B)},{default:j(()=>[f.value.enableDhcp?(s(),d("span",Pb,i(e(a)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(s(),d("span",Tb,i(e(a)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",Ib,[A(y,{modelValue:f.value.dhcp6c,"onUpdate:modelValue":v[7]||(v[7]=B=>f.value.dhcp6c=B)},{default:j(()=>[t("span",Lb,i(e(a)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Mb,[A(y,{modelValue:f.value.enableNat,"onUpdate:modelValue":v[8]||(v[8]=B=>f.value.enableNat=B)},{default:j(()=>[t("span",Ob,i(e(a)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Nb,[t("button",qb,i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),1),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(a)("\u8FD4\u56DE")),9,Vb)]),_:1},8,["to"])])],40,kb)])):r.value==2?(s(),d("div",Gb,[t("h2",jb,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Rb,i(e(a)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Ub,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:h},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):r.value==3?(s(),d("div",Wb,[t("h2",Hb,i(e(a)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(a)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),et(" "+i(e(a)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:st(["cbi-button cbi-button-neutral",e(x)?"cbi-button-neutral":"cbi-button-success"]),disabled:w.value,onClick:m},[et(i(e(a)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",Jb,[t("ul",null,[t("li",null,i(e(a)("IP \u5730\u5740: "))+i((F=p.value)==null?void 0:F.ipv4addr),1),t("li",null,i(e(a)("\u5B50\u7F51\u63A9\u7801: "))+i(((Y=p.value)==null?void 0:Y.ipv4mask)&&e(mt).prefixToMask(p.value.ipv4mask)),1),t("li",null,i(e(a)("\u7F51\u5173\u5730\u5740: "))+i((N=p.value)==null?void 0:N.gateway),1),t("li",null,i(e(a)("DNS\u670D\u52A1\u5668: "))+i(((C=p.value)==null?void 0:C.dnsList)&&p.value.dnsList[0]||(e(x)?"":e(a)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Zb),et(" "+i(e(a)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Xb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(x),onClick:v[9]||(v[9]=B=>b(!0))},i(e(a)("\u81EA\u52A8\u586B\u5199..."))+i(e(x)?e(a)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,Kb),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(a)("\u8FD4\u56DE")),9,Qb)]),_:1},8,["to"])])])):$("",!0)}}});var eg=S(tg,[["__scopeId","data-v-3d6d1dea"]]);const ag={class:"actioner-container"},og={class:"actioner-container_header"},ng={class:"actioner-container_body"},ig={class:"label-item"},rg={class:"label-item_key"},sg={class:"label-item_value"},dg=["value"],lg={class:"label-item_tips"},ug={class:"label-item"},cg={class:"label-item_key"},pg={key:0,class:"label-item_value"},fg={class:"msg-warning"},mg={key:1,class:"label-item_value"},vg=["value"],bg={key:1,class:"msg-warning"},gg={class:"label-item_tips"},hg={class:"actioner-container_footer"},_g=["disabled"],xg=["disabled"],kg={key:1,class:"actioner-container_body setup-loading"},wg={class:"actioner-container_body setup-error"},yg={class:"actioner-container_footer"},Fg=["disabled"],Eg={class:"actioner-container_body setup-success"},Cg={class:"body-title"},$g={class:"actioner-container_footer"},Dg=T({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=E("init"),w=E(""),x=[{name:"jbod",title:n("JBOD (\u7EBF\u6027)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:n("RAID 0 (\u6761\u5E26)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:n("RAID 1 (\u955C\u50CF)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:n("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:n("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:n("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],f=E("raid5"),p=E([]),m=k=>{let y="";return x.forEach(F=>{F.name===k&&(y=F.info)}),y},b=E(!1),h=lt({loading:!1,members:[]}),g=k=>{};(()=>I(this,null,function*(){h.loading=!0;try{const k=yield P.Raid.CreateList.GET();if(k!=null&&k.data){const{success:y,error:F,result:Y}=k.data;if(Y&&(h.members=Y.members||[]),F)throw F}}catch(k){console.log(k)}finally{h.loading=!1}}))();const v=()=>I(this,null,function*(){const k=x.filter(F=>F.name===f.value)[0],y=p.value;if(!k){D.Warning(n("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){D.Warning(n("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(k.select>y.length){D.Warning(n("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+k.select}));return}if(!!confirm(n("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:k.name}))&&!!confirm(n("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:k.name}))){b.value=!0,c.value="loading";try{const F=yield P.Raid.Create.POST({level:k.name,devicePaths:y});if(F.data){const{success:Y,error:N,result:C}=F.data;if(N)throw N;(Y||0)==0&&(c.value="success",r())}}catch(F){w.value=F,c.value="error"}finally{b.value=!1}}});return(k,y)=>{const F=tt("icon-loading"),Y=tt("icon-error"),N=tt("icon-success");return s(),d("div",ag,[t("div",og,[t("span",null,i(e(n)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),c.value=="init"?(s(),d(L,{key:0},[t("div",ng,[t("p",null,i(e(n)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",ig,[t("div",rg,[t("span",null,i(e(n)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",sg,[z(t("select",{"onUpdate:modelValue":y[0]||(y[0]=C=>f.value=C),onChange:g},[(s(),d(L,null,R(x,C=>t("option",{value:C.name},i(C.title),9,dg)),64))],544),[[Q,f.value]])]),t("div",lg,[A(ft),et(" "+i(m(f.value)),1)])]),t("div",ug,[t("div",cg,[t("span",null,i(e(n)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(h).loading?(s(),d("div",pg,[t("span",fg,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),d("div",mg,[e(h).members.length>0?(s(!0),d(L,{key:0},R(e(h).members,C=>(s(),d("label",null,[z(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=B=>p.value=B),value:C.path},null,8,vg),[[$t,p.value]]),et(" \u3010"+i(C.model)+"\u3011"+i(C.name)+" "+i(C.path)+" ["+i(C.sizeStr)+"] ",1)]))),256)):(s(),d("span",bg,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",gg,[A(ft),et(" "+i(e(n)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",hg,[t("div",{class:"close",onClick:l,disabled:b.value},i(e(n)("\u53D6\u6D88")),9,_g),t("div",{class:"next",onClick:v,disabled:b.value},i(e(n)("\u521B\u5EFA")),9,xg)])],64)):c.value=="loading"?(s(),d("div",kg,[A(F,{size:60,color:"#666"}),t("span",null,i(e(n)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):c.value=="error"?(s(),d(L,{key:2},[t("div",wg,[A(Y),t("span",null,i(w.value),1)]),t("div",yg,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1),t("div",{class:"next",onClick:v,disabled:b.value},i(e(n)("\u91CD\u65B0\u521B\u5EFA")),9,Fg)])],64)):c.value=="success"?(s(),d(L,{key:3},[t("div",Eg,[A(N),t("div",Cg,i(e(n)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",$g,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])],64)):$("",!0)])}}});var Bg=S(Dg,[["__scopeId","data-v-7cf2dd18"]]);const Yg={class:"actioner-container"},Ag={class:"actioner-container_body"},Sg=["value"],zg={class:"actioner-container_footer"},Pg=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=E("");return(()=>{P.Raid.Detail.POST({path:a.raid.path}).then(w=>{if(w.data){const{result:x,error:f}=w.data;f?r.value=f:r.value=(x==null?void 0:x.detail)||""}}).catch(w=>{r.value=w.message})})(),(w,x)=>(s(),d("div",Yg,[t("div",Ag,[t("textarea",{value:r.value},null,8,Sg)]),t("div",zg,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var Tg=S(Pg,[["__scopeId","data-v-0ef06e27"]]);const Ig={class:"actioner-container"},Lg={class:"actioner-container_header"},Mg={class:"actioner-container_body"},Og={class:"label-item"},Ng={class:"label-item_key"},qg={class:"label-item_value"},Vg={disabled:""},Gg={class:"label-item"},jg={class:"label-item_key"},Rg={key:0,class:"label-item_value"},Ug={class:"msg-warning"},Wg={key:1,class:"label-item_value"},Hg=["value"],Zg={key:1,class:"msg-warning"},Jg={class:"actioner-container_footer"},Xg=["disabled"],Kg=["disabled"],Qg=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=()=>I(this,null,function*(){const m=f.value;if(m==""){D.Warning(n("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}x.value=!0;const b=D.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const h=yield P.Raid.Add.POST({path:a.raid.path,memberPath:m});if(h.data){const{error:g,success:_}=h.data;if(g)throw g;(_||0)==0&&(D.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),l())}}catch(h){D.Error(`${h}`)}finally{x.value=!1,b.Close()}}),w=lt({loading:!1,members:[]}),x=E(!1),f=E("");return(()=>I(this,null,function*(){w.loading=!0,x.value=!0;try{const m=yield P.Raid.CreateList.GET();if(m!=null&&m.data){const{success:b,error:h,result:g}=m.data;if(g&&(w.members=g.members||[]),h)throw h}}catch(m){console.log(m)}finally{x.value=!1,w.loading=!1}}))(),(m,b)=>(s(),d("div",Ig,[t("div",Lg,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u4FEE\u6539")),1)]),t("div",Mg,[t("div",Og,[t("div",Ng,i(e(n)("\u8BBE\u5907")),1),t("div",qg,[t("select",Vg,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Gg,[t("div",jg,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(w).loading?(s(),d("div",Rg,[t("span",Ug,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),d("div",Wg,[e(w).members.length>0?(s(!0),d(L,{key:0},R(e(w).members,h=>(s(),d("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=g=>f.value=g),value:h.path},null,8,Hg),[[ut,f.value]]),et(" \u3010"+i(h.model)+"\u3011"+i(h.name)+" "+i(h.path)+" ["+i(h.sizeStr)+"] ",1)]))),256)):(s(),d("span",Zg,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",Jg,[t("div",{class:"close",onClick:l,disabled:x.value},i(e(n)("\u53D6\u6D88")),9,Xg),t("div",{class:"next",onClick:c,disabled:x.value},i(e(n)("\u4FDD\u5B58")),9,Kg)])]))}});var th=S(Qg,[["__scopeId","data-v-593445fb"]]);const eh={class:"actioner-container"},ah={class:"actioner-container_header"},oh={class:"actioner-container_body"},nh={class:"label-item"},ih={class:"label-item_key"},rh={class:"label-item_value"},sh={disabled:""},dh={class:"label-item"},lh={class:"label-item_key"},uh={class:"label-item_value"},ch=["value"],ph={class:"actioner-container_footer"},fh=["disabled"],mh=["disabled"],vh=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=()=>I(this,null,function*(){const f=x.value;if(f==""){D.Warning(n("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}w.value=!0;const p=D.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const m=yield P.Raid.Remove.POST({path:a.raid.path,memberPath:f});if(m.data){const{error:b,success:h}=m.data;if(b)throw b;(h||0)==0&&(D.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),l())}}catch(m){D.Error(`${m}`)}finally{w.value=!1,p.Close()}}),w=E(!1),x=E("");return(f,p)=>(s(),d("div",eh,[t("div",ah,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u79FB\u9664")),1)]),t("div",oh,[t("div",nh,[t("div",ih,i(e(n)("\u8BBE\u5907")),1),t("div",rh,[t("select",sh,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",dh,[t("div",lh,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",uh,[(s(!0),d(L,null,R(o.raid.members,m=>(s(),d("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":p[0]||(p[0]=b=>x.value=b),value:m},null,8,ch),[[ut,x.value]]),et(" "+i(m),1)]))),256))])])]),t("div",ph,[t("div",{class:"close",onClick:l,disabled:w.value},i(e(n)("\u53D6\u6D88")),9,fh),t("div",{class:"next",onClick:c,disabled:w.value},i(e(n)("\u4FDD\u5B58")),9,mh)])]))}});var bh=S(vh,[["__scopeId","data-v-77aa4121"]]);const gh={class:"actioner-container"},hh={class:"actioner-container_header"},_h={class:"actioner-container_body"},xh={class:"label-item"},kh={class:"label-item_key"},wh={class:"label-item_value"},yh={disabled:""},Fh={class:"label-item"},Eh={class:"label-item_key"},Ch={key:0,class:"label-item_value"},$h={class:"msg-warning"},Dh={key:1,class:"label-item_value"},Bh=["value"],Yh={key:1,class:"msg-warning"},Ah={class:"actioner-container_footer"},Sh=["disabled"],zh=["disabled"],Ph=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=()=>I(this,null,function*(){const m=f.value;if(m==""){D.Warning(n("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}x.value=!0;const b=D.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const h=yield P.Raid.Recover.POST({path:a.raid.path,memberPath:m});if(h.data){const{error:g,success:_}=h.data;if(g)throw g;(_||0)==0&&(D.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),l())}}catch(h){D.Error(`${h}`)}finally{x.value=!1,b.Close()}}),w=lt({loading:!1,members:[]}),x=E(!1),f=E("");return(()=>I(this,null,function*(){w.loading=!0,x.value=!0;try{const m=yield P.Raid.CreateList.GET();if(m!=null&&m.data){const{success:b,error:h,result:g}=m.data;if(g&&(w.members=g.members||[]),h)throw h}}catch(m){console.log(m)}finally{x.value=!1,w.loading=!1}}))(),(m,b)=>(s(),d("div",gh,[t("div",hh,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u6062\u590D")),1)]),t("div",_h,[t("div",xh,[t("div",kh,i(e(n)("\u8BBE\u5907")),1),t("div",wh,[t("select",yh,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Fh,[t("div",Eh,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(w).loading?(s(),d("div",Ch,[t("span",$h,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),d("div",Dh,[e(w).members.length>0?(s(!0),d(L,{key:0},R(e(w).members,h=>(s(),d("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=g=>f.value=g),value:h.path},null,8,Bh),[[ut,f.value]]),et(" \u3010"+i(h.model)+"\u3011"+i(h.name)+" "+i(h.path)+" ["+i(h.sizeStr)+"] ",1)]))),256)):(s(),d("span",Yh,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",Ah,[t("div",{class:"close",onClick:l,disabled:x.value},i(e(n)("\u53D6\u6D88")),9,Sh),t("div",{class:"next",onClick:c,disabled:x.value},i(e(n)("\u4FDD\u5B58")),9,zh)])]))}});var Th=S(Ph,[["__scopeId","data-v-a924400c"]]);const Ih={class:"action-main"},Lh=T({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(a,n)=>(s(),G(it,{type:2},{default:j(()=>[t("div",Ih,[o.setup=="create"?(s(),G(Bg,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(s(),G(Tg,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(s(),G(th,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(s(),G(bh,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(s(),G(Th,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):$("",!0)])]),_:1}))}});var Mh=S(Lh,[["__scopeId","data-v-6ef94d02"]]);const qt=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Mh,ot(K({},o),{Close:()=>{u()}}));n.use(Le),n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},Ue=o=>(J("data-v-e68d5bbe"),o=o(),X(),o),Oh={id:"page"},Nh={name:"content"},qh={class:"cbi-map-descr"},Vh={style:{color:"#f5365b","margin-top":"10px"}},Gh={style:{color:"#f5365b","margin-top":"10px"}},jh={class:"btns"},Rh=["disabled"],Uh={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Wh={class:"table cbi-section-table"},Hh={style:{}},Zh={class:"tr cbi-section-table-titles anonymous"},Jh={class:"th cbi-section-table-cell","data-widget":"value"},Xh={class:"th cbi-section-table-cell","data-widget":"value"},Kh={class:"th cbi-section-table-cell","data-widget":"value"},Qh={class:"th cbi-section-table-cell","data-widget":"value"},t_={class:"th cbi-section-table-cell","data-widget":"value"},e_={class:"th cbi-section-table-cell","data-widget":"value"},a_={class:"th cbi-section-table-cell","data-widget":"value"},o_={class:"th cbi-section-table-cell","data-widget":"value"},n_={class:"tr cbi-section-table-row"},i_={class:"td cbi-value-field"},r_={class:"td cbi-value-field"},s_=["title"],d_={class:"item-status"},l_={key:0,class:"item-status item-status-detail"},u_={class:"td cbi-value-field"},c_={class:"td cbi-value-field"},p_={class:"td cbi-value-field"},f_=Ue(()=>t("br",null,null,-1)),m_={class:"td cbi-value-field"},v_=Ue(()=>t("br",null,null,-1)),b_={key:1,href:"/cgi-bin/luci/admin/quickstart/"},g_={class:"td cbi-section-table-cell nowrap cbi-section-actions"},h_=["title","disabled","onClick"],__=["title","disabled","onClick"],x_=["title","onClick"],k_=["title","onClick"],w_=["title","onClick"],y_=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=lt({disksList:[]}),l=()=>I(this,null,function*(){try{const v=yield P.Raid.List.GET();if(v!=null&&v.data){const{success:k,error:y,result:F}=v.data;if(F&&(u.disksList=F.disks||[]),y)throw y}}catch(v){console.log(v)}}),r=_t.easyInterval(l,5e3);ce(()=>{r()});const c=v=>{switch(v.level){case"raid0":case"jbod":return!0}return v.status.indexOf("degraded")!=-1||v.status.indexOf("resyncing(")!=-1},w=v=>{let k=[];return v.childrens&&v.childrens.forEach(y=>{y.mountPoint&&k.push(`${y.name}(${y.mountPoint})`)}),k},x=()=>I(this,null,function*(){qt({setup:"create",success:()=>{l()}})}),f=v=>{qt({setup:"info",raid:v})},p=v=>I(this,null,function*(){if(v.childrens&&v.childrens.length>0&&v.childrens.filter(F=>F.mountPoint).length>0){Xt({content:a("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:a("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:a("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(a("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:v.name}))||!confirm(a("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:v.name})))return;const k=D.Loading(a("\u5220\u9664\u4E2D..."));try{const y=yield P.Raid.Delete.POST({path:v.path,members:v.members});if(y.data){const{success:F,error:Y}=y.data;if(Y)throw Y;(F||0)==0&&(D.Success(a("\u5220\u9664\u6210\u529F")),l())}}catch(y){D.Error(`${y}`)}finally{k.Close()}}),m=v=>{qt({setup:"edit",raid:v,success:()=>{l()}})},b=v=>{qt({setup:"remove",raid:v,success:()=>{l()}})},h=v=>{qt({setup:"recover",raid:v,success:()=>{l()}})},g=E(!1),_=()=>{Xt({content:a("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:a("\u786E\u5B9A"),next:()=>I(this,null,function*(){g.value=!0;const v=D.Loading(a("\u626B\u63CF\u4E2D..."));try{const k=yield P.Raid.Autofix.GET();if(k.data){const{error:y,success:F}=k.data;if(y)throw y;(F||0)==0&&(D.Success(a("\u6062\u590D\u5B8C\u6210")),l())}}catch(k){D.Error(`${k}`)}finally{v.Close(),g.value=!1}}),clearTitle:a("\u53D6\u6D88"),clear:()=>{}})};return(v,k)=>(s(),d("div",Oh,[t("h2",Nh,i(e(a)("RAID\u7BA1\u7406")),1),t("div",qh,[t("p",null,i(e(a)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",Vh," * "+i(e(a)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",Gh," * "+i(e(a)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",jh,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:k[0]||(k[0]=y=>x())},i(e(a)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:k[1]||(k[1]=y=>_()),disabled:g.value},i(e(a)("\u626B\u63CF\u6062\u590DRAID")),9,Rh)]),t("div",null,[t("div",Uh,[t("table",Wh,[t("tbody",Hh,[t("tr",Zh,[t("th",Jh,i(e(a)("\u540D\u79F0")),1),t("th",Xh,i(e(a)("\u8BBE\u5907")),1),t("th",Kh,i(e(a)("\u72B6\u6001")),1),t("th",Qh,i(e(a)("\u7EA7\u522B")),1),t("th",t_,i(e(a)("\u5BB9\u91CF")),1),t("th",e_,i(e(a)("\u6210\u5458")),1),t("th",a_,i(e(a)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",o_,i(e(a)("\u64CD\u4F5C")),1)]),(s(!0),d(L,null,R(e(u).disksList,y=>(s(),d("tr",n_,[t("td",i_,[t("b",null,i(y.name),1)]),t("td",r_,[t("b",null,i(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",d_,i(y.status),1),y.rebuildStatus?(s(),d("b",l_," \u2026 ")):$("",!0)],8,s_),t("td",u_,[t("b",null,i(y.level),1)]),t("td",c_,[t("b",null,i(y.size),1)]),t("td",p_,[(s(!0),d(L,null,R(y.members,F=>(s(),d("b",null,[et(i(F)+" ",1),f_]))),256))]),t("td",m_,[w(y).length>0?(s(!0),d(L,{key:0},R(w(y),F=>(s(),d("b",null,[et(i(F)+" ",1),v_]))),256)):(s(),d("a",b_,i(e(a)("\u53BB\u6302\u8F7D")),1))]),t("td",g_,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u6269\u5145"),disabled:c(y),onClick:F=>m(y)},i(e(a)("\u6269\u5145")),9,h_),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u79FB\u9664"),disabled:c(y),onClick:F=>b(y)},i(e(a)("\u79FB\u9664")),9,__),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u6062\u590D"),onClick:F=>h(y)},i(e(a)("\u6062\u590D")),9,x_),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:F=>f(y)},i(e(a)("\u8BE6\u60C5")),9,k_),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:F=>p(y)},i(e(a)("\u5220\u9664")),9,w_)])]))),256))])])])])]))}});var F_=S(y_,[["__scopeId","data-v-e68d5bbe"]]);const E_=o=>(J("data-v-16dd0913"),o=o(),X(),o),C_={id:"page"},$_=E_(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),D_={class:"cbi-map-descr"},B_={class:"tabs"},Y_=["href","onClick"],A_=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=[{to:"/smart",name:a("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:a("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:a("\u67E5\u770B\u65E5\u5FD7")}],l=E(!1),r=lt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),c=f=>{const{global:p,devices:m,tasks:b}=f;p&&(r.global.enable=p.enable||!1,r.global.powermode=p.powermode||"never"),r.devices=m||[],r.tasks=b||[]};(()=>I(this,null,function*(){try{const f=yield P.Smart.Config.GET();if(f.data){const{result:p}=f.data;p&&c(p)}}catch(f){}finally{l.value=!0}}))();const x=f=>I(this,null,function*(){const p=D.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const m=yield P.Smart.Config.POST(f);if(m.data){console.log(m.data);const{success:b,error:h,result:g}=m.data;if(h)throw h;(b||0)==0&&(D.Success(a("\u4FDD\u5B58\u6210\u529F")),g&&c(g))}}catch(m){D.Error(`${m}`)}finally{p.Close()}});return(f,p)=>{const m=tt("router-link"),b=tt("router-view");return s(),d("div",C_,[$_,t("div",D_,[t("p",null,i(e(a)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(a)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(a)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(a)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",B_,[(s(),d(L,null,R(u,h=>A(m,{to:h.to,custom:"",key:h.to},{default:j(({route:g,href:_,navigate:v,isActive:k,isExactActive:y})=>[t("li",{class:st({"active cbi-tab":k&&y})},[t("a",{href:_,onClick:v},i(h.name),9,Y_)],2)]),_:2},1032,["to"])),64))]),l.value?(s(),G(b,{key:0,name:"default"},{default:j(({Component:h,route:g})=>[(s(),G(pa,null,{default:j(()=>[(s(),G(fa(h),{key:g.path,config:e(r),saveData:x},null,8,["config"]))]),_:2},1024))]),_:1})):$("",!0)])}}});var S_=S(A_,[["__scopeId","data-v-16dd0913"]]);const z_={class:"action-main"},P_=T({setup(o){return(a,n)=>(s(),G(it,{type:2},{default:j(()=>[t("div",z_,[wt(a.$slots,"default",{},void 0,!0)])]),_:3}))}});var re=S(P_,[["__scopeId","data-v-742230ae"]]);const T_={class:"actioner-container"},I_={class:"actioner-container_header"},L_={class:"actioner-container_body"},M_={class:"cbi-value"},O_={class:"cbi-value-title"},N_={class:"cbi-value-field"},q_={class:"cbi-value-description"},V_={class:"cbi-value"},G_={class:"cbi-value-title"},j_={class:"cbi-value-field"},R_={class:"cbi-checkbox"},U_={value:-1},W_={value:0},H_=["value"],Z_={class:"cbi-value-description"},J_={class:"cbi-value"},X_={class:"cbi-value-title"},K_={class:"cbi-value-field"},Q_={class:"cbi-checkbox"},tx={value:-1},ex={value:0},ax=["value"],ox={class:"cbi-value-description"},nx={class:"actioner-container_footer"},ix=["disabled"],rx=["disabled"],sx=T({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var x,f,p;const a=o,{$gettext:n,$ngettext:u}=q();console.log(a.device);const l=E(!1),r=lt({tmpDiff:((x=a.device)==null?void 0:x.tmpDiff)||0,tmpMax:((f=a.device)==null?void 0:f.tmpMax)||0,devicePath:((p=a.device)==null?void 0:p.devicePath)||""}),c=()=>{l.value=!0,a.close()},w=()=>I(this,null,function*(){l.value=!0;try{yield a.next({tmpDiff:r.tmpDiff,tmpMax:r.tmpMax,devicePath:r.devicePath}),l.value=!1,c()}catch(m){}});return(m,b)=>(s(),G(re,null,{default:j(()=>[t("div",T_,[t("div",I_,[t("span",null," S.M.A.R.T. \xBB "+i(e(n)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",L_,[t("div",M_,[t("label",O_,i(e(n)("\u78C1\u76D8")),1),t("div",N_,[t("div",q_,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",V_,[t("label",G_,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",j_,[t("div",R_,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[0]||(b[0]=h=>e(r).tmpDiff=h)},[t("option",U_,i(e(n)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",W_,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(20,h=>t("option",{value:h},i(h)+"\xB0C",9,H_)),64))],512),[[Q,e(r).tmpDiff,void 0,{number:!0}]])]),t("div",Z_,i(e(n)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",J_,[t("label",X_,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",K_,[t("div",Q_,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[1]||(b[1]=h=>e(r).tmpMax=h)},[t("option",tx,i(e(n)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",ex,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(20,h=>t("option",{value:h*5},i(h*5)+"\xB0C",9,ax)),64))],512),[[Q,e(r).tmpMax,void 0,{number:!0}]])]),t("div",ox,i(e(n)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",nx,[t("button",{class:"close",onClick:c,disabled:l.value},i(e(n)("\u53D6\u6D88")),9,ix),t("button",{class:"next",onClick:w,disabled:l.value},i(e(n)("\u4FDD\u5B58")),9,rx)])])]),_:1}))}}),dx={class:"actioner-container"},lx={class:"actioner-container_header"},ux={class:"actioner-container_body"},cx={class:"cbi-value"},px={class:"cbi-value-title"},fx={class:"cbi-value-field"},mx={class:"cbi-checkbox"},vx={value:""},bx=["value"],gx={class:"cbi-value"},hx={class:"cbi-value-title"},_x={class:"cbi-value-field"},xx={class:"cbi-checkbox"},kx={value:"short"},wx={value:"long"},yx={value:"conveyance"},Fx={value:"offline"},Ex={class:"cbi-value"},Cx={class:"cbi-value-title"},$x={class:"cbi-value-field"},Dx={class:"cbi-checkbox"},Bx=t("option",{value:"*"},"*",-1),Yx=["value"],Ax={class:"cbi-value-description"},Sx={class:"cbi-value"},zx={class:"cbi-value-title"},Px={class:"cbi-value-field"},Tx={class:"cbi-checkbox"},Ix=t("option",{value:"*"},"*",-1),Lx=["value"],Mx={class:"cbi-value-description"},Ox={class:"cbi-value"},Nx={class:"cbi-value-title"},qx={class:"cbi-value-field"},Vx={class:"cbi-checkbox"},Gx=t("option",{value:"*"},"*",-1),jx=["value"],Rx={class:"cbi-value-description"},Ux={class:"actioner-container_footer"},Wx=["disabled"],Hx=["disabled"],Zx=T({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=lt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),c=E([]);(()=>I(this,null,function*(){try{const p=yield P.Smart.List.GET();if(p.data){const{result:m,error:b}=p.data;m&&m.disks&&(c.value=m.disks)}}catch(p){}}))();const x=()=>{l.value=!0,a.close()},f=()=>I(this,null,function*(){if(r.devicePath==""){D.Warning(n("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}l.value=!0;try{yield a.next(r),x()}catch(p){}finally{l.value=!1}});return(p,m)=>(s(),G(re,null,{default:j(()=>[t("div",dx,[t("div",lx,[t("span",null,i(e(n)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",ux,[t("div",cx,[t("label",px,i(e(n)("\u78C1\u76D8")),1),t("div",fx,[t("div",mx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[0]||(m[0]=b=>e(r).devicePath=b)},[t("option",vx,i(e(n)("\u9009\u62E9\u78C1\u76D8")),1),(s(!0),d(L,null,R(c.value,b=>(s(),d("option",{value:b.path},i(b.model)+" [ "+i(b.path)+"\uFF0C"+i(b.sizeStr)+" ] ",9,bx))),256))],512),[[Q,e(r).devicePath,void 0,{trim:!0}]])])])]),t("div",gx,[t("label",hx,i(e(n)("\u7C7B\u578B")),1),t("div",_x,[t("div",xx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[1]||(m[1]=b=>e(r).type=b)},[t("option",kx,i(e(n)("\u77ED\u6682\u81EA\u68C0")),1),t("option",wx,i(e(n)("\u957F\u65F6\u81EA\u68C0")),1),t("option",yx,i(e(n)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",Fx,i(e(n)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[Q,e(r).type,void 0,{trim:!0}]])])])]),t("div",Ex,[t("label",Cx,i(e(n)("\u5C0F\u65F6")),1),t("div",$x,[t("div",Dx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[2]||(m[2]=b=>e(r).hour=b)},[Bx,(s(),d(L,null,R(24,(b,h)=>t("option",{value:`${h}`},i(h),9,Yx)),64))],512),[[Q,e(r).hour,void 0,{trim:!0}]])]),t("div",Ax,i(e(n)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",Sx,[t("label",zx,i(e(n)("\u5929")),1),t("div",Px,[t("div",Tx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[3]||(m[3]=b=>e(r).dayPerMonth=b)},[Ix,(s(),d(L,null,R(31,b=>t("option",{value:`${b}`},i(b),9,Lx)),64))],512),[[Q,e(r).dayPerMonth,void 0,{trim:!0}]])]),t("div",Mx,i(e(n)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",Ox,[t("label",Nx,i(e(n)("\u6708")),1),t("div",qx,[t("div",Vx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[4]||(m[4]=b=>e(r).month=b)},[Gx,(s(),d(L,null,R(12,(b,h)=>t("option",{value:`${b}`},i(b),9,jx)),64))],512),[[Q,e(r).month,void 0,{trim:!0}]])]),t("div",Rx,i(e(n)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",Ux,[t("button",{class:"close",onClick:x,disabled:l.value},i(e(n)("\u53D6\u6D88")),9,Wx),t("button",{class:"next",onClick:f,disabled:l.value},i(e(n)("\u4FDD\u5B58")),9,Hx)])])]),_:1}))}}),Jx={class:"actioner-container"},Xx={class:"actioner-container_header"},Kx={class:"actioner-container_body"},Qx=["value"],tk={class:"actioner-container_footer"},ek=["disabled"],ak=["disabled"],ok=T({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=E(""),c=E(""),w=E(""),x=()=>I(this,null,function*(){r.value+=".";try{const b=yield P.Smart.Test.Result.POST({type:"selftest",devicePath:a.task.devicePath||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(w.value=h.result),g&&(w.value=g)}}catch(b){b&&(w.value=b)}}),f=_t.easyInterval(x,5e3);ce(()=>{f()});const p=()=>{l.value=!0,f(),a.close()},m=()=>I(this,null,function*(){l.value=!0;try{const b=yield P.Smart.Test.POST({type:a.task.type||"short",devicePath:a.task.devicePath||""});if(b.data){const{success:h,error:g,result:_}=b.data;g&&(c.value=g),_&&_.result&&(c.value=_.result)}}catch(b){c.value=b}finally{}});return(b,h)=>(s(),G(re,null,{default:j(()=>[t("div",Jx,[t("div",Xx,[t("span",null,i(e(n)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",Kx,[t("textarea",{value:c.value+` +var He=Object.defineProperty,Ze=Object.defineProperties;var Je=Object.getOwnPropertyDescriptors;var ye=Object.getOwnPropertySymbols;var Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable;var de=(o,a,n)=>a in o?He(o,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[a]=n,K=(o,a)=>{for(var n in a||(a={}))Xe.call(a,n)&&de(o,n,a[n]);if(ye)for(var n of ye(a))Ke.call(a,n)&&de(o,n,a[n]);return o},ot=(o,a)=>Ze(o,Je(a));var Qe=(o,a)=>()=>(a||o((a={exports:{}}).exports,a),a.exports);var Ot=(o,a,n)=>(de(o,typeof a!="symbol"?a+"":a,n),n);var I=(o,a,n)=>new Promise((u,l)=>{var r=x=>{try{w(n.next(x))}catch(f){l(f)}},c=x=>{try{w(n.throw(x))}catch(f){l(f)}},w=x=>x.done?u(x.value):Promise.resolve(x.value).then(r,c);w((n=n.apply(o,a)).next())});import{a as ta,c as ea,d as Gt,b as T,e as U,u as e,o as s,f as d,g as t,t as i,n as At,h as $,i as A,r as tt,j as st,k as wt,w as z,v as $t,l as aa,m as G,p as j,q as E,s as Kt,x as xt,y as Q,F as L,z as R,A as Z,B as yt,C as J,D as X,E as oa,G as zt,H as na,I as ia,J as ra,K as sa,L as da,M as la,N as ua,O as nt,T as bt,P as at,Q as ca,R as lt,S as vt,U as et,V as ut,W as jt,X as Qt,Y as ce,Z as pa,_ as fa,$ as te,a0 as ma,a1 as va,a2 as ba,a3 as ga,a4 as ha,a5 as _a,a6 as xa,a7 as ka}from"./vendor.js?v=59b33bab";var QE=Qe(St=>{const wa=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))u(l);new MutationObserver(l=>{for(const r of l)if(r.type==="childList")for(const c of r.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&u(c)}).observe(document,{childList:!0,subtree:!0});function n(l){const r={};return l.integrity&&(r.integrity=l.integrity),l.referrerpolicy&&(r.referrerPolicy=l.referrerpolicy),l.crossorigin==="use-credentials"?r.credentials="include":l.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function u(l){if(l.ep)return;l.ep=!0;const r=n(l);fetch(l.href,r)}};wa();const gt={language:void 0,numberFormat:new Intl.NumberFormat("en",{notation:"compact"})},ya=o=>I(St,null,function*(){const a=window.vue_lang;new Date().getTime();let n={};try{const r=yield ta({url:window.vue_lang_data,method:"GET"});r.data&&(n=r.data)}catch(r){console.log(r)}const u=ea({defaultLanguage:a,mutedLanguages:["zh-cn"],translations:n,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});o.use(u),gt.language=u;const{$gettext:l}=u;window.$i18n=l;try{gt.numberFormat=new Intl.NumberFormat(a,{notation:"compact"})}catch(r){console.error("Intl.NumberFormat unsupported lang",a,r)}}),q=()=>{if(gt.language)return gt.language;throw new Error("I18N Uninitialized!")},ee=()=>({$gettext:(o,a,n)=>{if(gt.language)return gt.language.$gettext(o,a,n);throw new Error("I18N Uninitialized!")},$ngettext:(o,a,n,u,l)=>{if(gt.language)return gt.language.$ngettext(o,a,n,u,l);throw new Error("I18N Uninitialized!")}}),Wt=o=>typeof o=="number"?gt.numberFormat.format(o):"?",{$gettext:Fa,$ngettext:aC}=ee(),Ye=(o,a)=>I(St,null,function*(){return new Promise((n,u)=>I(St,null,function*(){try{const l=yield fetch(o,a);if(Math.floor(l.status/100)!=2)throw l.status+" "+l.statusText;const r=K({},l);r.data=yield l.json(),n(r)}catch(l){const r=l;u(Fa("\u7F51\u7EDC\u5F02\u5E38\uFF1A")+((r==null?void 0:r.message)||l))}}))});class pe{constructor(a){Ot(this,"config",{baseURL:"",headers:{}});Ot(this,"useRequest",a=>a);Ot(this,"useResponse",a=>a);Ot(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new pe(a)}Do(a,n){return I(this,null,function*(){return new Promise((u,l)=>I(this,null,function*(){try{const r=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${r.baseURL||""}${a}`,n.headers==null&&(n.headers={}),r.headers&&(n.headers=K({},r.headers));const w=yield fetch(a,n),x=K({},w);x.data=yield w.json(),u(this.useResponse(x))}catch(r){this.useError(r),l(r)}}))})}TEXT(a,n){return I(this,null,function*(){return new Promise((u,l)=>I(this,null,function*(){try{const r=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${r.baseURL||""}${a}`,n.headers==null&&(n.headers={}),r.headers&&(n.headers=K({},r.headers));const w=yield fetch(a,n),x=K({},w);x.data=yield w.text(),u(x)}catch(r){this.useError(r),l(r)}}))})}interceptors(){const a=this;return{requset:{use(n){a.useRequest=n}},response:{use(n,u){a.useResponse=n,u&&(a.useError=u)}}}}}const Ae=pe.create({});Ae.interceptors().requset.use(o=>o);Ae.interceptors().response.use(o=>(o.data&&o.data.success==null&&o.data.success==0,o));const{$gettext:Se,$ngettext:oC}=ee(),Ea="/cgi-bin/luci/istore",Ca="/cgi-bin/luci/admin";let Jt=!1;const O=(o,a)=>(o.indexOf("//")==-1&&(o=`${Ea}${o}`),Ye(o,a).then(n=>(n!=null&&n.data&&n.data.success==-1001&&n.data.error=="Forbidden"&&(Jt||(Jt=!0,alert(Se("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),n))),$a=(o,a)=>(o.indexOf("//")==-1&&(o=`${Ca}${o}`),Ye(o,a).then(n=>(n!=null&&n.data&&n.data.success==-1001&&n.data.error=="Forbidden"&&(Jt||(Jt=!0,alert(Se("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55")),location.reload())),n))),Da={Statistics:{GET(){return O("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return O("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return O("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return O("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(o){return O("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetInterfaceConfig:{GET(){return O("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(o){return O("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},PortList:{GET(){return O("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Ba={Version:{GET(){return O("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return O("/system/check-update/",{method:"GET"})}},AutoCheckUpdate:{POST(o){return O("/system/auto-check-update/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Reboot:{POST(o){return O("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return O("/system/status/",{method:"GET"})}}},Ya={Disk:{Status:{GET(){return O("/nas/disk/status/",{method:"GET"})}},Erase:{POST(o){return O("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Init:{POST:o=>O("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},InitRest:{POST:o=>O("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Partition:{Format:{POST:o=>O("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Mount:{POST:o=>O("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Service:{Status:{GET(){return O("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(o){return O("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Webdav:{Create:{POST(o){return O("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Status:{GET(){return O("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return O("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(o){return O("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSandbox:{GET(){return O("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return O("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return O("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return O("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return O("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Aa={Check:{POST(o){return O("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Install:{POST(o){return O("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Sa={Pppoe:{GET(){return O("/guide/pppoe/",{method:"GET"})},POST(o){return O("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DnsConfig:{GET(){return O("/guide/dns-config/",{method:"GET"})},POST(o){return O("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DhcpClient:{POST(o){return O("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},ClientModel:{GET(){return O("/guide/client-mode/",{method:"GET"})},POST(o){return O("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GatewayRouter:{POST(o){return O("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerStatus:{GET(){return O("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return O("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(o){return O("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DockerSwitch:{POST(o){return O("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DownloadService:{Status:{GET(){return O("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return O("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(o){return O("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},qbitorrentInit:{POST(o){return O("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},transmissionInit:{POST(o){return O("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetLan:{GET(){return O("/guide/lan/",{method:"GET"})}},LanIp:{POST(o){return O("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},SoftSource:{POST(o){return O("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetSoftSource:{GET(){return O("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return O("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(o){return O("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},GetDdns:{GET(){return O("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(o){return O("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},DdntoConfig:{GET(){return O("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(o){return O("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},za={Create:{POST(o){return O("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Delete:{POST(o){return O("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Add:{POST(o){return O("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Remove:{POST(o){return O("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Recover:{POST(o){return O("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Detail:{POST(o){return O("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},List:{GET(){return O("/raid/list/",{method:"GET"})}},CreateList:{GET(){return O("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return O("/raid/autofix/",{method:"GET"})}}},Pa={Log:{GET(){return O("/smart/log/",{method:"GET"})}},List:{GET(){return O("/u/smart/list/",{method:"GET"})}},Config:{GET(){return O("/smart/config/",{method:"GET"})},POST(o){return O("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}},Test:{POST(o){return O("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})},Result:{POST(o){return O("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Attribute:{Result:{POST(o){return O("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}},Extend:{Result:{POST(o){return O("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(o)})}}}},Ta={List:{GET(){return O("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(o){return O("/wireless/enable-iface/",{body:JSON.stringify(o),method:"POST"})}},Power:{POST(o){return O("/wireless/set-device-power/",{body:JSON.stringify(o),method:"POST"})}},Edit:{POST(o){return O("/wireless/edit-iface/",{body:JSON.stringify(o),method:"POST"})}},Setup:{POST(o){return O("/wireless/setup/",{body:JSON.stringify(o),method:"POST"})}}},Ia={getInstalled:{GET(){return $a("/store/installed/",{method:"GET"})}}};var La=Object.freeze(Object.defineProperty({__proto__:null,Network:Da,System:Ba,Nas:Ya,App:Aa,Guide:Sa,Raid:za,Smart:Pa,Quickwifi:Ta,GuidePage:Ia},Symbol.toStringTag,{value:"Module"})),P=K({},La);const ze=Gt("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});Gt("guide",{});const Pe=Gt("nas",{state:()=>({webdav:{}})}),ae=Gt("network",{state:()=>({status:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(o){this.status=o},requestDeviceList(){P.Network.Device.List.GET().then(o=>{if(o!=null&&o.data){const{result:a}=o==null?void 0:o.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),fe=Gt("system",{state:()=>({version:{},checkUpdate:null,updateChecked:!1,systemStatus:{}}),getters:{},actions:{incrTime(){var o;(o=this.systemStatus)!=null&&o.uptime&&this.systemStatus.uptime++},requestVersion(){P.System.Version.GET().then(o=>{var a;(a=o==null?void 0:o.data)!=null&&a.result&&(this.version=o.data.result)})},requestCheckUpdate(){this.updateChecked||(this.updateChecked=!0,P.System.CheckUpdate.GET().then(o=>{var a;(a=o==null?void 0:o.data)!=null&&a.result&&(this.checkUpdate=o.data.result)}).finally(()=>{this.checkUpdate==null&&(this.checkUpdate={needUpdate:!1,msg:"skip"})}))},updateSystemStatus(o){this.systemStatus=o}}});let Fe=!1;const Ma=()=>{if(Fe)return;Fe=!0;let o=!0,a=!0;const n=ae(),u=fe(),l=function(){return(!o&&document.hidden?Promise.resolve():P.System.Status.GET().then(c=>{c!=null&&c.data.result&&u.updateSystemStatus(c.data.result)})).finally(()=>{setTimeout(l,5e3),o&&(setInterval(()=>{u.incrTime()},1e3),o=!1)})},r=function(){return(!a&&document.hidden?Promise.resolve():P.Network.Status.GET().then(c=>{if(c!=null&&c.data){const{result:w}=c==null?void 0:c.data;w&&n.updateNetworkStatus(w)}})).finally(()=>{setTimeout(r,5e3),a&&(setInterval(()=>{n.incrTime()},1e3),a=!1)})};r(),n.requestDeviceList(),setTimeout(()=>{u.requestVersion(),l()},1100)};var S=(o,a)=>{const n=o.__vccOpts||o;for(const[u,l]of a)n[u]=l;return n};const Oa=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=ze(),l=U(()=>u.portitemStyle.portitem),r=U(()=>u.portitemStyle.show),c=U(()=>({bottom:`calc(100% - ${u.portitemStyle.top}px)`,left:`${u.portitemStyle.left}px`})),w=p=>{switch(p){case"full":return a("\u5168\u53CC\u5DE5");case"half":return a("\u534A\u53CC\u5DE5")}},x=p=>{u.portitemStyle.show=!0},f=p=>{u.portitemStyle.show=!1};return(p,m)=>e(r)?(s(),d("div",{key:0,class:"disk-item-tooltip",style:At(e(c)),onMouseenter:x,onMouseleave:f},[t("div",null,i(w(e(l).duplex)),1),t("div",null,i(e(a)("\u540D\u79F0\uFF1A"))+i(e(l).name||"--"),1),t("div",null,i(e(a)("MAC\uFF1A"))+i(e(l).macAddress||"--"),1),t("div",null,i(e(a)("\u63A5\u6536\uFF1A"))+i(e(l).rx_packets||"--"),1),t("div",null,i(e(a)("\u53D1\u9001\uFF1A"))+i(e(l).tx_packets||"--"),1)],36)):$("",!0)}});var Na=S(Oa,[["__scopeId","data-v-0698ba82"]]);const qa={id:"main"},Va=T({setup(o){return(a,n)=>{const u=tt("router-view");return s(),d("div",qa,[A(u),A(Na)])}}});var Ga=S(Va,[["__scopeId","data-v-9bc295c2"]]);const ja={},Ra={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"},Ua=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),Wa=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),Ha=[Ua,Wa];function Za(o,a){return s(),d("svg",Ra,Ha)}var Ja=S(ja,[["render",Za]]);const Xa={},Ka={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"},Qa=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),to=[Qa];function eo(o,a){return s(),d("svg",Ka,to)}var ao=S(Xa,[["render",eo]]);const oo={},no={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"},io=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),ro=[io];function so(o,a){return s(),d("svg",no,ro)}var lo=S(oo,[["render",so]]);const uo={},co={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"},po=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),fo=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),mo=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),vo=[po,fo,mo];function bo(o,a){return s(),d("svg",co,vo)}var go=S(uo,[["render",bo]]);const ho={},_o={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"},xo=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),ko=[xo];function wo(o,a){return s(),d("svg",_o,ko)}var yo=S(ho,[["render",wo]]);const Fo={},Eo={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"},Co=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),$o=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),Do=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),Bo=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),Yo=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Ao=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),So=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),zo=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),Po=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),To=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),Io=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),Lo=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),Mo=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),Oo=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),No=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),qo=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),Vo=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),Go=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),jo=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),Ro=[Co,$o,Do,Bo,Yo,Ao,So,zo,Po,To,Io,Lo,Mo,Oo,No,qo,Vo,Go,jo];function Uo(o,a){return s(),d("svg",Eo,Ro)}var Wo=S(Fo,[["render",Uo]]);const Ho={},Zo={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"},Jo=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),Xo=[Jo];function Ko(o,a){return s(),d("svg",Zo,Xo)}var Qo=S(Ho,[["render",Ko]]);const tn={class:"progress"},en=T({props:{value:{type:Number,required:!0},text:{type:String}},setup(o){const a=o,n=U(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(u,l)=>(s(),d("div",tn,[t("div",{class:st(["progress-value",`${o.value>50}`]),style:At({width:`${o.value}%`,backgroundColor:e(n)})},[t("span",null,i(o.text),1)],6),wt(u.$slots,"default",{},void 0,!0)]))}});var Te=S(en,[["__scopeId","data-v-733828e1"]]);const an={},on={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},nn=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),rn=[nn];function sn(o,a){return s(),d("svg",on,rn)}var dn=S(an,[["render",sn]]);const ln={},un={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},cn=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),pn=[cn];function fn(o,a){return s(),d("svg",un,pn)}var mn=S(ln,[["render",fn]]);const vn={class:"checkbox_switch"},bn={class:"checkbox_switch_on"},gn={class:"checkbox_switch_off"},hn=T({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,u=U({get:()=>n.modelValue.valueOf(),set:l=>a("update:modelValue",l)});return(l,r)=>(s(),d("label",vn,[z(t("input",{type:"checkbox","onUpdate:modelValue":r[0]||(r[0]=c=>aa(u)?u.value=c:null)},null,512),[[$t,e(u)]]),t("span",bn,[A(dn)]),t("span",gn,[A(mn)]),wt(l.$slots,"default",{},void 0,!0)]))}});var Ie=S(hn,[["__scopeId","data-v-76324716"]]);const _n={},xn={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"},kn=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),wn=[kn];function yn(o,a){return s(),d("svg",xn,wn)}var Fn=S(_n,[["render",yn]]);const En={},Cn={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"},$n=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),Dn=[$n];function Bn(o,a){return s(),d("svg",Cn,Dn)}var Yn=S(En,[["render",Bn]]);const An={};function Sn(o,a){return s(),d("article",null,[wt(o.$slots,"default",{},void 0,!0)])}var zn=S(An,[["render",Sn],["__scopeId","data-v-bd286d4e"]]);const Pn={class:"cover"},Tn={class:"thumbnail"},In=T({emits:["click"],setup(o,{emit:a}){const n=()=>{a("click")};return(u,l)=>(s(),G(zn,null,{default:j(()=>[t("a",{onClick:n},[t("div",Pn,[t("div",Tn,[wt(u.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Ln=S(In,[["__scopeId","data-v-123deb20"]]);const Mn={class:"select-editable"},On={selected:"",value:""},Nn=["value"],qn={value:"useInput"},Vn=["placeholder"],Gn=T({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=E(""),c=E(""),w=U({get:()=>n.modelValue.valueOf(),set:m=>a("update:modelValue",m)}),x=m=>{m===r.value||r.value==="useInput"&&m===c.value||(m===""||n.options.some(b=>b.key===m)?r.value=m:(c.value=m,r.value="useInput"))};Kt(()=>n.modelValue,m=>{x(m)}),xt(()=>{const m=w.value;x(m)});const f=m=>{r.value==="useInput"?w.value=c.value:w.value=r.value},p=m=>{w.value=c.value};return(m,b)=>(s(),d("label",null,[t("div",Mn,[z(t("select",{"onUpdate:modelValue":b[0]||(b[0]=h=>r.value=h),autocomplete:"off",onChange:f},[t("option",On,i(e(u)("\u8BF7\u9009\u62E9%{title}",{title:o.title})),1),(s(!0),d(L,null,R(o.options,(h,g)=>(s(),d("option",{value:h.key,key:g},i(h.value||h.key),9,Nn))),128)),t("option",qn,i(e(u)("- -\u81EA\u5B9A\u4E49- -")),1)],544),[[Q,r.value,void 0,{trim:!0}]]),r.value=="useInput"?z((s(),d("input",{key:0,type:"text","onUpdate:modelValue":b[1]||(b[1]=h=>c.value=h),required:"",placeholder:e(u)("\u8BF7\u8F93\u5165%{title}",{title:o.title}),onChange:p},null,40,Vn)),[[Z,c.value,void 0,{trim:!0}]]):$("",!0)])]))}});var Ct=S(Gn,[["__scopeId","data-v-0b6f3a7d"]]);const jn={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},Rn=T({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(o){const a=n=>{if(n==null)return;if(typeof n=="number")return n+"px";const u=n.toString();return parseInt(u)+""==u?u+"px":u};return(n,u)=>(s(),d("div",{class:"quick-loading",style:At({width:a(o.size),height:a(o.size)})},[(s(),d("svg",jn,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:At({fill:o.color})},null,4)]))],4))}});var Un=S(Rn,[["__scopeId","data-v-0ec4e762"]]);const Wn={},Hn={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":""},Zn=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),Jn=[Zn];function Xn(o,a){return s(),d("svg",Hn,Jn)}var Kn=S(Wn,[["render",Xn]]);const Qn={},ti={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},ei=yt('',1),ai=[ei];function oi(o,a){return s(),d("svg",ti,ai)}var ni=S(Qn,[["render",oi]]);const ii=o=>(J("data-v-b934e2ce"),o=o(),X(),o),ri=["href","title"],si=ii(()=>t("svg",{t:"1684144670421",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4343"},[t("path",{d:"M512 74.666667c241.066667 0 437.333333 196.266667 437.333333 437.333333S753.066667 949.333333 512 949.333333 74.666667 753.066667 74.666667 512 270.933333 74.666667 512 74.666667zM512 704c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666666 42.666667-19.2 42.666667-42.666666-19.2-42.666667-42.666667-42.666667z m0-458.666667c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 2.133333 0 6.4-2.133334 10.666667-6.4 14.933333-19.2 32-40.533333 51.2-10.666667 10.666667-21.333333 19.2-34.133333 27.733333-2.133333 2.133333-6.4 4.266667-8.533334 6.4l-6.4 4.266667c-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v108.8c2.133333 17.066667 14.933333 29.866667 32 29.866667h2.133333c17.066667-2.133333 29.866667-14.933333 29.866667-32v-89.6l12.8-10.666667c10.666667-8.533333 19.2-17.066667 29.866667-25.6 27.733333-25.6 46.933333-49.066667 57.6-74.666667 4.266667-10.666667 6.4-23.466667 6.4-34.133333 0-76.8-61.866667-138.666667-138.666667-138.666667z",fill:"#666666","p-id":"4344"})],-1)),di=[si],li=T({props:{type:null},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{switch(a.type){case"disk":return"https://www.linkease.com/rd/8myYAEVA/";case"store":return"https://www.linkease.com/rd/1F58VUTT/";case"docker":return"https://www.linkease.com/rd/2Q28MDtf/";case"download":return"https://www.linkease.com/rd/1tJo1KX-/";case"ddns":return"https://www.linkease.com/rd/3yFiX5-X/";case"network-interface":return"https://www.linkease.com/rd/3ca51a3G/"}});return(r,c)=>(s(),d("a",{href:e(l),target:"_blank",title:e(n)("\u8DF3\u8F6C\u6559\u7A0B")},di,8,ri))}});var ui=S(li,[["__scopeId","data-v-b934e2ce"]]),Le={install:o=>{o.component("icon-loading",Un),o.component("icon-success",Kn),o.component("icon-error",ni),o.component("GlHelp",ui)}};const{$gettext:Nt,$ngettext:Ht}=ee(),ci=o=>{},pi=()=>new Date().getTime(),fi=o=>{if(o<1e3)return`${o} B`;let n=1e3,u=0;for(let c=o/1e3;c>=1e3;c/=1e3)n*=1e3,u++;let l=[" KB"," MB"," GB"," TB"," PB"," EB"];return(o/100/(n/100)).toFixed(1)+l[u]},mi=o=>{if(o==null)return 0;if(o<1e4)return o;let n=parseInt(`${o/1e4}`),u=o%1e4;return`${n}\u4E07${u}`},vi=o=>{if(o)try{var a=new Date(o),n=a.getHours(),u=a.getMinutes(),l=a.getSeconds();return n<10&&(n=`0${n}`),u<10&&(u=`0${u}`),l<10&&(l=`0${l}`),`${n}:${u}:${l}`}catch(r){}return""},bi=o=>{if(o){let a=Math.floor(o/86400),n=Math.floor(o/3600)%24,u=Math.floor(o/60)%60,l=o%60;return(a>0?Ht("%{ days }\u5929","%{ days }\u5929",a,{days:Wt(a)}):"")+Ht("%{ hours }\u5C0F\u65F6","%{ hours }\u5C0F\u65F6",n,{hours:Wt(n)})+Ht("%{ minutes }\u5206","%{ minutes }\u5206",u,{minutes:Wt(u)})+Ht("%{ seconds }\u79D2","%{ seconds }\u79D2",l,{seconds:Wt(l)})}},gi=o=>/^\d+\.\d+\.\d+\.\d+$/.test(o),hi=o=>o.length<3?Nt("\u7528\u6237\u540D\u592A\u77ED"):o.toLowerCase()!=o?Nt("\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199"):new RegExp("^\\d").exec(o)?Nt("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934"):new RegExp("^_").exec(o)?Nt("\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934"):new RegExp("^[a-z0-9_]+$").exec(o)?!0:Nt("\u975E\u6CD5\u7684\u7528\u6237\u540D"),_i=(o,a)=>{let n=!0,u=null;const l=()=>{u=null,n&&o().finally(()=>{n&&(u=setTimeout(l,a))})};return u=setTimeout(l,0),()=>{n=!1,u!=null&&clearTimeout(u)}};var xi=Object.freeze(Object.defineProperty({__proto__:null,formatDate:ci,UnixDate:pi,byteToSize:fi,numberToSum:mi,dateForm:vi,stampForm:bi,checkIsIP:gi,checkSmabaUserName:hi,easyInterval:_i},Symbol.toStringTag,{value:"Module"})),_t=K({},xi);const ki=()=>{var a;const o=document.body.getAttribute("theme");if(o)switch(o){case"dark":case"light":return o}return(a=window.matchMedia("(prefers-color-scheme: dark)"))!=null&&a.matches?"dark":"light"},wi=()=>ki()=="dark",yi={class:"flow"},Fi={class:"flow-data"},Ei={key:0},Ci={key:1},$i=T({setup(o){const{$gettext:a,$ngettext:n}=q();oa([na,ia,ra,sa,da,la]);const u=E(),l=_=>{var k;const v=(k=u.value)==null?void 0:k[_];return!v||v.startTime==0?"":p(v.startTime*1e3)+"-"+p(v.endTime*1e3)},r=U(()=>{var v;let _=[];return(v=u.value)==null||v.forEach(k=>{_.push({value:k.uploadSpeed})}),_}),c=U(()=>{var v;let _=[];return(v=u.value)==null||v.forEach(k=>{_.push({value:k.downloadSpeed})}),_}),w=U(()=>{var v;let _="";if(u.value){let k=((v=u.value)==null?void 0:v.length)||0;if(k>0){let y=u.value[k-1];_=m(y.uploadSpeed)+"/s"}}return _}),x=U(()=>{var v;let _="";if(u.value){let k=((v=u.value)==null?void 0:v.length)||0;if(k>0){let y=u.value[k-1];_=m(y.downloadSpeed)+"/s"}}return _});U(()=>{var v;let _=[];return(v=u.value)==null||v.forEach(k=>{_.push({value:k.downloadSpeed+k.uploadSpeed})}),_});const f=()=>I(this,null,function*(){var _;try{const v=yield P.Network.Statistics.GET();if(v.data&&(_=v.data.result)!=null&&_.items){const k=v.data.result.slots||10;if(v.data.result.items.lengthk?u.value=v.data.result.items.slice(k-v.data.result.items.length):u.value=v.data.result.items}}catch(v){console.log(v)}}),p=_t.dateForm,m=_t.byteToSize,b=E();let h=null;const g=_=>{const v=wi();return h=ua(_,v?"dark":"light"),h.setOption({animation:!1,backgroundColor:v?"#88888822":"#fff",color:["transparent","transparent"],tooltip:{trigger:"axis",formatter:k=>{if(Array.isArray(k)){let y="";k.length>0&&(y=l(k[0].axisValue));for(let F=0;F${k[F].seriesName}: ${m(k[F].value)}/s`;return y.toString()}else{const y=k;return`${l(y.axisValue)}
${y.seriesName}: ${m(y.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:a("\u6D41\u91CF\u7EDF\u8BA1"),textStyle:{fontSize:12,color:v?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(k,y){return`${m(k)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:a("\u4E0B\u8F7D"),data:c.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:a("\u4E0A\u4F20"),data:r.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:a("\u4E0A\u4F20"),itemStyle:{color:"rgb(85, 58, 254)"}},{name:a("\u4E0B\u8F7D"),itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:v?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),h};return xt(()=>{setTimeout(()=>I(this,null,function*(){if(b.value){yield f();const _=g(b.value),v=b.value;_.resize({width:v.clientWidth,height:v.clientHeight}),window.addEventListener("resize",()=>{_.resize({width:v.clientWidth,height:v.clientHeight})});const k=()=>I(this,null,function*(){if(h!=null){if(!document.hidden){if(yield f(),h==null)return;_.setOption({series:[{name:a("\u4E0B\u8F7D"),data:c.value,type:"line",areaStyle:{},smooth:!0},{name:a("\u4E0A\u4F20"),data:r.value,type:"line",areaStyle:{},smooth:!0}]})}setTimeout(k,5e3)}});setTimeout(k,5e3)}}),900)}),zt(()=>{h!=null&&(h.dispose(),h=null)}),(_,v)=>(s(),d("div",yi,[t("div",{ref_key:"el",ref:b,class:"echart"},null,512),t("div",Fi,[e(w)?(s(),d("span",Ei,i(e(a)("\u4E0A\u4F20:"))+" "+i(e(w)),1)):$("",!0),e(x)?(s(),d("span",Ci,i(e(a)("\u4E0B\u8F7D:"))+" "+i(e(x)),1)):$("",!0)])]))}});var Di=S($i,[["__scopeId","data-v-641bc7f8"]]);const Bi={},Yi={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},Ai=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),Si=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),zi=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),Pi=[Ai,Si,zi];function Ti(o,a){return s(),d("svg",Yi,Pi)}var ht=S(Bi,[["render",Ti]]);let Zt=0;const Ii={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const o=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,Zt=window.setTimeout(o,1e3))};Zt=window.setTimeout(o,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,Zt!=0&&clearTimeout(Zt),this.Close())}}},oe=o=>(J("data-v-6935a479"),o=o(),X(),o),Li={key:0,class:"loading icon"},Mi=oe(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),Oi=[Mi],Ni={key:1,class:"success icon"},qi=oe(()=>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)),Vi=[qi],Gi={key:2,class:"error icon"},ji=oe(()=>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)),Ri=[ji],Ui={key:3,class:"warning icon"},Wi=oe(()=>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)),Hi=[Wi];function Zi(o,a,n,u,l,r){return s(),G(bt,{name:"el-fade-in-linear"},{default:j(()=>[l.show?(s(),d("div",{key:0,class:"toast",onClick:a[1]||(a[1]=c=>r.Stop())},[n.type=="loading"?(s(),d("div",Li,Oi)):n.type=="success"?(s(),d("div",Ni,Vi)):n.type=="error"?(s(),d("div",Gi,Ri)):n.type=="warning"?(s(),d("div",Ui,Hi)):$("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=nt(()=>{},["stop"]))},i(r.Message),1)])):$("",!0)]),_:1})}var Ji=S(Ii,[["render",Zi],["__scopeId","data-v-6935a479"]]);const Vt=new Map,Pt=o=>{const a=at(Ji,ot(K({},o),{Close:()=>{u()}})),n=document.createElement("div");document.body.append(n),a.mount(n);const u=()=>{n.remove(),Vt.get(a._uid)&&Vt.delete(a._uid)};return o.type=="loading"&&Vt.set(a._uid,{Close:u}),(o==null?void 0:o.duration)==0||((o==null?void 0:o.duration)>0?setTimeout(()=>{u()},o==null?void 0:o.duration):setTimeout(()=>{u()},3e3)),{Close:u}},D=o=>Pt(o);D.Loading=(o,a)=>Pt({type:"loading",message:o||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});D.Success=o=>Pt({type:"success",message:o});D.Error=o=>Pt({type:"error",message:o,duration:0});D.Warning=o=>Pt({type:"warning",message:o});D.Message=o=>Pt({message:o});D.Clear=()=>{Vt.forEach((o,a)=>{o.Close(),Vt.delete(a)})};const{$gettext:Bt,$ngettext:nC}=ee(),ct={installApp:(o,a)=>new Promise((n,u)=>{let l=0;P.App.Install.POST({name:o}).then(()=>{const r=setTimeout(()=>{l==0&&(l=1,n(!1))},(a||60)*1e3),c=()=>{l==0&&P.App.Check.POST({name:o}).then(w=>{if(l==0&&w!=null&&w.data){const{result:x}=w.data;if((x==null?void 0:x.status)=="installed"){clearTimeout(r),l=1,n(!0);return}}}).catch(w=>{}).finally(()=>{l==0&&setTimeout(c,3e3)})};setTimeout(c,3e3)}).catch(r=>{l==0&&(l=1,u(Bt("\u5B89\u88C5\u5931\u8D25\uFF0C")+r))})}),checkAndInstallApp:(o,a,n)=>I(St,null,function*(){let u=D.Loading(Bt("\u68C0\u67E5\u4E2D..."));try{const l=yield P.App.Check.POST({name:o});if(u.Close(),l!=null&&l.data){const{result:r,error:c}=l.data;if(c)D.Warning(c);else if(r){if(r.status=="installed")return!0;if(confirm(Bt("\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 %{name} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F",{name:a}))){u=D.Loading(Bt("\u6B63\u5728\u5B89\u88C5\u4E2D..."));const w=yield ct.installApp(n||o);if(u.Close(),w)return!0;D.Error(Bt("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5"))}}else D.Warning(Bt("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25"))}return!1}catch(l){return u.Close(),D.Warning(l),!1}}),installAndGo:(o,a,n,u)=>I(St,null,function*(){(yield ct.checkAndInstallApp(o,a,u))&&(location.href=n)})},Xi={},Ki={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"},Qi=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),tr=[Qi];function er(o,a){return s(),d("svg",Ki,tr)}var ar=S(Xi,[["render",er]]);const or=o=>(J("data-v-75eeccd3"),o=o(),X(),o),nr={id:"actioner"},ir={key:0,class:"action-container"},rr={class:"action-container_header"},sr=or(()=>t("div",null,null,-1)),dr={class:"title"},lr=["title"],ur={class:"action-container_body"},cr=T({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1);xt(()=>{l.value=!0,document.body.setAttribute("lock-scroll","true")}),zt(()=>{document.body.removeAttribute("lock-scroll")});const r=()=>{a.Close&&(l.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(c,w)=>(s(),d("div",nr,[t("div",{class:"bg",onClick:r}),o.type!=null?wt(c.$slots,"default",{key:0},void 0,!0):(s(),d(L,{key:1},[l.value?(s(),d("div",ir,[t("div",rr,[sr,t("div",dr,i(o.title),1),t("button",{class:"close",title:e(n)("\u5173\u95ED"),onClick:r},[A(ar)],8,lr)]),t("div",ur,[wt(c.$slots,"default",{},void 0,!0)])])):$("",!0)],64))]))}});var pr=S(cr,[["__scopeId","data-v-75eeccd3"]]);const it=T({props:{Close:{type:Function},type:{type:Number},title:String},setup(o){return(a,n)=>(s(),G(pr,{Close:o.Close,type:o.type,title:o.title},{default:j(()=>[wt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),fr=["onSubmit"],mr={class:"actioner-dns_header"},vr={class:"actioner-dns_body"},br={class:"label-item"},gr={class:"label-item_key"},hr={class:"label-item_value"},_r=["disabled"],xr={value:"manual"},kr={class:"label-item"},wr={class:"label-item_key"},yr={class:"label-item_value"},Fr=["placeholder","onUpdate:modelValue"],Er={class:"label-item_key"},Cr={class:"label-item_value"},$r=["placeholder","onUpdate:modelValue"],Dr={key:1,class:"label-message"},Br={class:"actioner-dns_footer"},Yr=["disabled"],Ar={key:1,class:"actioner-dns"},Sr={class:"actioner-dns_header"},zr={class:"actioner-dns_body"},Pr={class:"config-message"},Tr={class:"actioner-dns_footer"},Ir=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=ae(),c=r.status,w=U(()=>r.status.proto!="static"),x=()=>{let _=c.dnsList||[];for(_=_.filter(v=>v);_.length<2;)_.push("");return _},f=E({interfaceName:c.defaultInterface||"",dnsProto:c.dnsProto||"manual",manualDnsIp:x()}),p=E(""),m=E(!1),b=()=>I(this,null,function*(){p.value="";let _={};switch(f.value.dnsProto){case"auto":break;case"manual":if(_.manualDnsIp=[],!f.value.manualDnsIp[0]){D.Error(n("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS"));return}_.manualDnsIp=f.value.manualDnsIp.filter(k=>k);break}_.dnsProto=f.value.dnsProto,_.interfaceName=f.value.interfaceName;const v=D.Loading(n("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.DnsConfig.POST(_);if(k!=null&&k.data){const{success:y,error:F}=k==null?void 0:k.data;F&&(p.value=F),(y==null||y==0)&&(D.Success(n("\u914D\u7F6E\u6210\u529F")),l.value=1)}}catch(k){p.value=k}v.Close()}),h=_=>{_.preventDefault(),a.Close&&a.Close()},g=_=>{location.reload()};return(_,v)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0?(s(),d("form",{key:0,class:"actioner-dns",onSubmit:nt(b,["prevent"])},[t("div",mr,[t("span",null,i(e(n)("DNS\u914D\u7F6E")),1)]),t("div",vr,[t("div",br,[t("div",gr,[t("span",null,i(e(n)("DNS\u9009\u9879")),1)]),t("div",hr,[z(t("select",{"onUpdate:modelValue":v[0]||(v[0]=k=>f.value.dnsProto=k)},[t("option",{value:"auto",disabled:!e(w)},i(e(n)("\u81EA\u52A8\u83B7\u53D6DNS")),9,_r),t("option",xr,i(e(n)("\u81EA\u5B9A\u4E49DNS")),1)],512),[[Q,f.value.dnsProto]])])]),f.value.dnsProto=="manual"?(s(!0),d(L,{key:0},R(f.value.manualDnsIp,(k,y)=>(s(),d("div",kr,[y==0?(s(),d(L,{key:0},[t("div",wr,[t("span",null,i(e(n)("DNS\u670D\u52A1\u5668\u5730\u5740")),1)]),t("div",yr,[z(t("input",{type:"text",placeholder:e(n)("\u8BF7\u8F93\u5165DNS\u5730\u5740"),required:"","onUpdate:modelValue":F=>f.value.manualDnsIp[y]=F},null,8,Fr),[[Z,f.value.manualDnsIp[y],void 0,{trim:!0}]])])],64)):(s(),d(L,{key:1},[t("div",Er,i(e(n)("\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740")),1),t("div",Cr,[z(t("input",{type:"text",placeholder:e(n)("\u5907\u7528DNS\u5730\u5740"),"onUpdate:modelValue":F=>f.value.manualDnsIp[y]=F},null,8,$r),[[Z,f.value.manualDnsIp[y],void 0,{trim:!0}]])])],64))]))),256)):$("",!0),p.value?(s(),d("div",Dr,i(p.value),1)):$("",!0)]),t("div",Br,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:m.value},i(e(n)("\u786E\u8BA4")),9,Yr),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:h},i(e(n)("\u53D6\u6D88")),1)])],40,fr)):l.value==1?(s(),d("div",Ar,[t("div",Sr,[t("span",null,i(e(n)("DNS\u914D\u7F6E")),1)]),t("div",zr,[t("div",Pr,i(e(n)("DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")),1)]),t("div",Tr,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},i(e(n)("\u5B8C\u6210")),1)])])):$("",!0)]),_:1},8,["Close"]))}});var Lr=S(Ir,[["__scopeId","data-v-5cff2770"]]);const Me=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Lr,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Mr=o=>(J("data-v-7f0d8217"),o=o(),X(),o),Or={class:"action"},Nr={class:"action-body"},qr=Mr(()=>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)),Vr={class:"title"},Gr={class:"info"},jr=["href"],Rr={class:"btns"},Ur=T({props:{port:Number,Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>`http://${location.hostname}:${a.port}`),r=()=>{a.Close&&(a.Close(),location.reload())};return(c,w)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",Or,[t("div",Nr,[qr,t("h2",Vr,i(e(n)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",Gr,[t("span",null,i(e(n)("\u524D\u5F80")),1),t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,jr),t("span",null,i(e(n)("\u8FDB\u884C\u6D4B\u901F")),1)]),t("div",Rr,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:r},i(e(n)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var Wr=S(Ur,[["__scopeId","data-v-7f0d8217"]]),Hr=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Wr,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Oe=o=>(J("data-v-02f10ac5"),o=o(),X(),o),Zr=Oe(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),Jr={class:"app-container_status-label_text"},Xr={class:"text_status"},Kr={class:"text_info"},Qr=Oe(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),ts={class:"app-container_status-label_text"},es={class:"text_info"},as=T({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=ze(),r=E(null),c=x=>{const f=x.target,{left:p,top:m}=f.getBoundingClientRect();l.portitemStyle.show=!0,l.portitemStyle.left=p,l.portitemStyle.top=m,l.portitemStyle.portitem=a.item},w=x=>{l.portitemStyle.show=!1};return(x,f)=>(s(),d("div",{class:"app-container_status-label_bg",style:At(`transform: translateX(${o.transform}px);`),ref_key:"el",ref:r,onMouseenter:c,onMouseleave:w},[o.item.linkState=="DOWN"?(s(),d(L,{key:0},[Zr,t("div",Jr,[t("div",Xr,i(e(n)("\u5DF2\u65AD\u5F00")),1),t("div",Kr,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(s(),d(L,{key:1},[Qr,t("div",ts,[t("div",null,i(o.item.linkSpeed),1),t("div",es,i(o.item.name)+" "+i(o.item.interfaceNames?`(${o.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var Ne=S(as,[["__scopeId","data-v-02f10ac5"]]);const qe=o=>(J("data-v-3470ca08"),o=o(),X(),o),os=qe(()=>t("span",null,i("<"),-1)),ns=[os],is=qe(()=>t("span",null,i(">"),-1)),rs=[is],ss=T({props:{portList:{type:Array,required:!0}},setup(o){const a=E(),n=E(0),u=E(0),l=E(0),r=E(!1),c=()=>{if(l.value>=0){l.value=0;return}l.value+=100},w=()=>{if(l.value<=0-n.value+u.value){l.value=0-n.value+u.value;return}l.value-=100};return xt(()=>{ca(()=>{a.value&&(n.value=a.value.scrollWidth,u.value=a.value.clientWidth,r.value=n.value>u.value)})}),(x,f)=>(s(),d("div",{class:"app-interfaces",ref_key:"el",ref:a},[r.value?(s(),d(L,{key:0},[t("a",{class:"btn-f",onClick:c},ns),t("a",{class:"btn-r",onClick:w},rs)],64)):$("",!0),(s(!0),d(L,null,R(o.portList,(p,m)=>(s(),G(Ne,{item:p,transform:l.value},null,8,["item","transform"]))),256))],512))}});var ds=S(ss,[["__scopeId","data-v-3470ca08"]]);const ls={},us={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"},cs=yt('',1),ps=[cs];function fs(o,a){return s(),d("svg",us,ps)}var me=S(ls,[["render",fs]]);const ms=["onSubmit"],vs={class:"actioner-dns_header"},bs={class:"actioner-dns_body"},gs={class:"label-item"},hs={class:"label-item_key"},_s={class:"label-item_value"},xs={class:"item_info"},ks={class:"label-item"},ws={class:"label-item_key"},ys={class:"label-item_value"},Fs={selected:"true",value:""},Es=["value"],Cs={class:"actioner-dns_footer"},$s=["disabled"],Ds={key:1,class:"actioner-dns"},Bs={class:"actioner-dns_header"},Ys={class:"softsource_tit"},As={class:"actioner-dns_body"},Ss={class:"finished"},zs={class:"successed"},Ps={class:"btns"},Ts=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=E(""),c=E(),w=E();(()=>{P.Guide.SoftSourceList.GET().then(b=>{var h,g;if((h=b==null?void 0:b.data)!=null&&h.result){const _=(g=b==null?void 0:b.data)==null?void 0:g.result;w.value=_}}).then(()=>P.Guide.GetSoftSource.GET()).then(b=>{var h,g;if((h=b==null?void 0:b.data)!=null&&h.result){const _=b.data.result;c.value=_.softSource,(g=w.value)!=null&&g.softSourceList.find(v=>v.identity==_.softSource.identity)&&(r.value=_.softSource.identity)}})})();const f=b=>{b.preventDefault(),a.Close&&a.Close()},p=b=>{const h=D.Loading(n("\u6B63\u5728\u5207\u6362\u4E2D..."));P.Guide.SoftSource.POST({softSourceIdentity:r.value}).then(g=>{if(g!=null&&g.data){if((g.data.success||0)==0){l.value=1;return}else if(g.data.error)throw g.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(g=>{D.Error(g)}).finally(()=>h.Close())},m=b=>{b.preventDefault(),location.reload()};return(b,h)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>{var g,_;return[l.value==0?(s(),d("form",{key:0,class:"actioner-dns",onSubmit:nt(p,["prevent"])},[t("div",vs,[t("span",null,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",bs,[t("div",gs,[t("div",hs,[t("span",null,i(e(n)("\u5F53\u524D\u8F6F\u4EF6\u6E90")),1)]),t("div",_s,[t("p",xs,i((g=c.value)==null?void 0:g.name),1)])]),t("div",ks,[t("div",ws,[t("span",null,i(e(n)("\u5207\u6362\u8F6F\u4EF6\u6E90")),1)]),t("div",ys,[z(t("select",{name:"",id:"","onUpdate:modelValue":h[0]||(h[0]=v=>r.value=v)},[t("option",Fs,i(e(n)("\u8BF7\u9009\u62E9\u8F6F\u4EF6\u6E90")),1),(s(!0),d(L,null,R((_=w.value)==null?void 0:_.softSourceList,(v,k)=>(s(),d("option",{value:v.identity,key:k},i(v.name),9,Es))),128))],512),[[Q,r.value,void 0,{trim:!0}]])])])]),t("div",Cs,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:r.value==""},i(e(n)("\u786E\u8BA4")),9,$s),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},i(e(n)("\u53D6\u6D88")),1)])],40,ms)):$("",!0),l.value==1?(s(),d("form",Ds,[t("div",Bs,[t("span",Ys,i(e(n)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)]),t("div",As,[t("div",Ss,[A(me)]),t("p",zs,i(e(n)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Ps,[t("button",{class:"cbi-button cbi-button-apply softsource_successed",onClick:m},i(e(n)("\u786E\u5B9A")),1)])])])):$("",!0)]}),_:1},8,["Close"]))}});var Is=S(Ts,[["__scopeId","data-v-3f8f9931"]]);const Ve=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Is,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Ft=o=>(J("data-v-08006dd5"),o=o(),X(),o),Ls={class:"app-container_status-label"},Ms={class:"app-container_status-label_item",style:{"padding-right":"10px"}},Os={class:"app-container_status-container",style:{height:"100%"}},Ns={key:0,class:"app-container_status-container_body"},qs=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-connected",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0779329313",fill:"#553AFE"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#553AFE"}),t("path",{d:"M8,15 L13.2546984,20.2546984 C13.6452227,20.6452227 14.2783876,20.6452227 14.6689119,20.2546984 C14.6813066,20.2423037 14.6933732,20.2295853 14.7050993,20.2165563 L23,11 L23,11",id:"Path-3",stroke:"#FFFFFF","stroke-width":"2","stroke-linecap":"round"})])])])],-1)),Vs={class:"app-container_status-info"},Gs={class:"container_success"},js={class:"container_time"},Rs={key:1,class:"app-container_status-container_body"},Us=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ws={class:"app-container_status-info"},Hs={class:"container_failure"},Zs={class:"container_time"},Js={key:2,class:"app-container_status-container_body"},Xs=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),Ks={class:"app-container_status-info"},Qs={class:"container_failure"},td={class:"container_time"},ed={key:3,class:"app-container_status-container_body"},ad=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#FAAD14","fill-rule":"nonzero"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#FAAD14","fill-rule":"nonzero"}),t("path",{d:"M15,6 C15.8284271,6 16.5,6.67157288 16.5,7.5 L16.5,18.5 C16.5,19.3284271 15.8284271,20 15,20 C14.1715729,20 13.5,19.3284271 13.5,18.5 L13.5,7.5 C13.5,6.67157288 14.1715729,6 15,6 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"}),t("path",{d:"M15,25 C14.171875,25 13.5,24.328125 13.5,23.5 C13.5,22.671875 14.171875,22 15,22 C15.828125,22 16.5,22.671875 16.5,23.5 C16.5,24.328125 15.828125,25 15,25 Z",id:"\u8DEF\u5F84",fill:"#FFFFFF"})])])])],-1)),od={class:"app-container_status-info"},nd={class:"container_failure"},id={class:"container_time"},rd={key:4,class:"app-container_status-container_body"},sd=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_internet-launching",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.08",fill:"#3ED4AB"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#3ED4AB"}),t("path",{d:"M11.5738525,15.0233901 C11.5738525,14.8431935 11.5023882,14.6703653 11.3750746,14.5429471 C11.2477609,14.4155288 11.0750745,14.3439644 10.8950258,14.3440059 L7.67882684,14.3440059 C7.49875102,14.3439644 7.326041,14.4155503 7.19872281,14.5430024 C7.07140462,14.6704545 6.99991721,14.8433228 7.00000007,15.0235465 C7.00000007,15.2037431 7.0714644,15.3765713 7.19877809,15.5039895 C7.32609178,15.6314078 7.4987781,15.7029722 7.67882684,15.7029307 L10.8950258,15.7029307 C11.0750745,15.7029722 11.2477609,15.6314078 11.3750746,15.5039895 C11.5023882,15.3765713 11.5738525,15.2037431 11.5738525,15.0235465 L11.5738525,15.0233901 Z M22.3211553,14.3440059 L19.1049564,14.3440059 C18.9248806,14.3439644 18.7521705,14.4155503 18.6248524,14.5430024 C18.4975342,14.6704545 18.4260468,14.8433228 18.4261296,15.0235465 C18.4261296,15.2037431 18.4975939,15.3765713 18.6249076,15.5039895 C18.7522213,15.6314078 18.9249076,15.7029722 19.1049564,15.7029307 L22.3211553,15.7029307 C22.5012041,15.7029722 22.6738904,15.6314078 22.8012041,15.5039895 C22.9285178,15.3765713 22.9999911,15.2037431 22.9999911,15.0235465 C23.0019042,14.6481319 22.6962619,14.3440059 22.3211553,14.3440059 Z M15.0075079,18.6494887 C14.8274565,18.6494887 14.6547678,18.7210138 14.5274536,18.8484354 C14.4001395,18.9758571 14.3286356,19.1486892 14.3286812,19.3288885 L14.3286812,22.3206158 C14.3286398,22.5008124 14.4001455,22.6736405 14.5274592,22.8010588 C14.6547729,22.928477 14.8274592,23 15.0075079,23 C15.1875567,23 15.360243,22.928477 15.4875567,22.8010588 C15.6148704,22.6736405 15.6863761,22.5008124 15.6863348,22.3206158 L15.6863348,19.3308123 C15.6866114,18.9551699 15.3828413,18.6502825 15.0075079,18.6494887 Z M15.0075079,7 C14.8274592,7 14.6547729,7.07152297 14.5274592,7.19894122 C14.4001455,7.32635946 14.3286398,7.49918761 14.3286812,7.67938422 L14.3286812,10.8982245 C14.3286398,11.0784212 14.4001455,11.2512493 14.5274592,11.3786675 C14.6547729,11.5060858 14.8274592,11.5776088 15.0075079,11.5776088 C15.1875567,11.5776088 15.360243,11.5060858 15.4875567,11.3786675 C15.6148704,11.2512493 15.6863761,11.0784212 15.6863346,10.8982245 L15.6863346,7.67938422 C15.6863761,7.49918761 15.6148704,7.32635946 15.4875567,7.19894122 C15.360243,7.07152297 15.1875567,7 15.0075079,7 Z M11.6020132,17.4145291 L9.32916742,19.6892415 C9.06467707,19.9548666 9.06467707,20.3845576 9.32916742,20.6501827 C9.45618492,20.7780764 9.62906847,20.8497648 9.80924376,20.8492554 C9.98367775,20.8492554 10.1560177,20.783579 10.2893201,20.6501827 L12.5637599,18.3738593 C12.8282503,18.1082342 12.8282503,17.6785432 12.5637599,17.4129181 C12.2975184,17.147886 11.8671244,17.1486768 11.601857,17.4146855 L11.6020132,17.4145291 Z M17.8766048,12.7750942 C18.0510388,12.7750942 18.2236912,12.7094361 18.3566811,12.5760242 L20.6314491,10.29956 C20.8959395,10.0339349 20.8959395,9.6042439 20.6314491,9.3386188 C20.366042,9.07391123 19.9367036,9.07391123 19.6712965,9.3386188 L17.3966847,11.6133312 C17.1321944,11.8789563 17.1321944,12.3086474 17.3966847,12.5742725 C17.5235351,12.7026276 17.6963754,12.7749288 17.8767611,12.7750942 L17.8766048,12.7750942 Z M18.5349595,17.572293 C18.2695524,17.3075854 17.8402139,17.3075854 17.5748068,17.572293 C17.3103165,17.8379181 17.3103165,18.2676091 17.5748068,18.5332342 L19.6882679,20.6501827 C19.8152854,20.7780764 19.988169,20.8497648 20.1683442,20.8492554 C20.342747,20.8492554 20.5152744,20.783579 20.6484206,20.6501827 C20.9129109,20.3845576 20.9129109,19.9548666 20.6484206,19.6892415 L18.5349595,17.5722773 L18.5349595,17.572293 Z M10.2891638,9.35734026 C10.0237567,9.09263269 9.59441827,9.09263269 9.32901114,9.35734026 C9.06452079,9.62296536 9.06452079,10.0526564 9.32901114,10.3182815 L11.6037635,12.594902 C11.7308042,12.7227441 11.9036849,12.7943806 12.0838399,12.7938344 C12.2582738,12.7938344 12.43077,12.7281576 12.5639162,12.594902 C12.8284065,12.3292769 12.8284065,11.8995859 12.5639162,11.6339608 L10.2891638,9.3573559 L10.2891638,9.35734026 Z",id:"Shape",fill:"#FFFFFF"})])])])],-1)),dd={class:"app-container_status-info"},ld={class:"container_failure"},ud={class:"app-container_status-label_item",style:{"padding-left":"10px"}},cd={class:"app-container_status-container",style:{height:"100%"}},pd=["title"],fd={class:"DeviceBlock"},md={href:"/cgi-bin/luci/admin/status/routes"},vd={class:"app-container_status-container_body"},bd=Ft(()=>t("svg",{width:"50px",height:"50px",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_device-number",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"wancheng","fill-rule":"nonzero"},[t("path",{d:"M0,25 C0,33.9316396 4.76497292,42.1848151 12.5,46.6506351 C20.2350269,51.116455 29.7649731,51.116455 37.5,46.6506351 C45.2350271,42.1848151 50,33.9316396 50,25 C50,11.1928812 38.8071187,0 25,0 C11.1928813,0 0,11.1928812 0,25 Z",id:"Path","fill-opacity":"0.0804503114",fill:"#03C5FC"}),t("g",{id:"Group-2",transform:"translate(10.000000, 10.000000)"},[t("path",{d:"M0,15 C0,20.3589838 2.85898375,25.3108891 7.5,27.990381 C12.1410161,30.669873 17.8589839,30.669873 22.5,27.990381 C27.1410162,25.3108891 30,20.3589838 30,15 C30,6.7157287 23.2842712,0 15,0 C6.71572875,0 0,6.7157287 0,15 Z",id:"Path",fill:"#03C5FC"}),t("g",{id:"kehuduanIP",transform:"translate(5.000000, 7.000000)",fill:"#FFFFFF"},[t("path",{d:"M8.3164557,11.2822134 L2.39240506,11.2822134 C2.25316456,11.2822134 2.13924051,11.1683794 2.13924051,11.029249 L2.13924051,1.39130435 C2.13924051,1.25217391 2.25316456,1.13833992 2.39240506,1.13833992 L16.6075949,1.13833992 C16.7468354,1.13833992 16.8607595,1.25217391 16.8607595,1.39130435 L16.8607595,3.51620553 C17.2658228,3.5541502 17.6582278,3.69328063 18,3.9083004 L18,1.39130435 C18,0.619762846 17.3797468,0 16.6075949,0 L2.39240506,0 C1.62025316,0 1,0.619762846 1,1.39130435 L1,11.029249 C1,11.8007905 1.62025316,12.4205534 2.39240506,12.4205534 L7.15189873,12.4205534 L7.15189873,14.2798419 L6.40506329,14.2798419 C5.93670886,14.2798419 5.5443038,14.6592885 5.5443038,15.1399209 C5.5443038,15.6079051 5.92405063,16 6.40506329,16 L8.79746835,16 C8.48101266,15.5699605 8.3164557,15.0513834 8.3164557,14.5201581 L8.3164557,11.2822134 Z",id:"Path"}),t("path",{d:"M12.4062969,15.2371365 L12.4062969,14.0436242 L10.0074963,14.0436242 L10.0074963,6.39038031 C10.0074963,6.23042506 10.1394303,6.10738255 10.2833583,6.10738255 L15.6446777,6.10738255 C15.8005997,6.10738255 15.9205397,6.24272931 15.9205397,6.39038031 L15.9205397,8.77740492 L16.3283358,8.77740492 C16.5682159,8.77740492 16.7961019,8.85123043 17,8.97427293 L17,6.39038031 C17,5.62751678 16.3883058,5 15.6446777,5 L10.3313343,5 C9.58770615,5.0246085 9,5.63982103 9,6.39038031 L9,14.6465324 C9.02398801,15.3847875 9.61169415,15.9753915 10.3313343,16 L12.6581709,16 C12.5022489,15.7785235 12.4182909,15.50783 12.4062969,15.2371365 C12.4062969,15.2248322 12.4062969,15.2371365 12.4062969,15.2371365 L12.4062969,15.2371365 Z",id:"Path"}),t("path",{d:"M17.1515152,10 L13.8484848,10 C13.3787879,10 13,10.2857143 13,10.64 L13,15.36 C13,15.7142857 13.3787879,16 13.8484848,16 L17.1515152,16 C17.6212121,16 18,15.7142857 18,15.36 L18,10.64 C18,10.2857143 17.6212121,10 17.1515152,10 Z M14.0151515,10.7657143 L16.9848485,10.7657143 L16.9848485,14.8457143 L14.0151515,14.8457143 L14.0151515,10.7657143 L14.0151515,10.7657143 Z M15.4545455,15.6914286 C15.2575758,15.6914286 15.1060606,15.5657143 15.1060606,15.4285714 C15.1060606,15.28 15.2727273,15.1657143 15.469697,15.1657143 C15.6666667,15.1657143 15.8181818,15.2914286 15.8181818,15.44 C15.8181818,15.5085714 15.7727273,15.5885714 15.6969697,15.6342857 C15.6363636,15.68 15.5454545,15.7028571 15.4545455,15.6914286 C15.4545455,15.7028571 15.4545455,15.6914286 15.4545455,15.6914286 L15.4545455,15.6914286 Z",id:"Shape"})])])])])],-1)),gd={class:"app-container_status-info"},hd={class:"container_content"},_d={class:"devise"},xd=Ft(()=>t("em",null,null,-1)),kd={class:"app-container_status-container"},wd=["title"],yd={class:"DeviceBlock"},Fd={class:"app-container_title"},Ed={class:"app-container_status-label_block"},Cd={class:"app-container_status-label_block"},$d={class:"app-container_title"},Dd={class:"app-container_status-label_block"},Bd=Ft(()=>t("em",null,null,-1)),Yd={class:"app-container_status-container"},Ad={class:"app-container_title"},Sd=["title"],zd={class:"DeviceBlock"},Pd={class:"app-container_body"},Td=T({props:{homebox:{type:Object}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=()=>{Me()},l=()=>{Ve()},r=ae(),c=U(()=>r.status),w=U(()=>r.deviceList),x=E(!1),f=E(!1),p=E(!1),m=lt({portList:[],load:!1}),b=C=>{switch(C){case"pppoe":return a("\u62E8\u53F7\u4E0A\u7F51");case"static":return a("\u9759\u6001\u7F51\u7EDC");case"dhcp":return"DHCP"}return C&&C.toUpperCase()},h=C=>{switch(C){case"manual":return a("\u624B\u52A8\u914D\u7F6E");case"auto":return a("\u81EA\u52A8\u83B7\u53D6");default:return""}},g=()=>{(m.load&&document.hidden?Promise.resolve():P.Network.PortList.GET().then(C=>{if(C!=null&&C.data){const{result:B}=C==null?void 0:C.data;B&&(m.portList=B.ports||[])}})).finally(()=>{m.load=!0,setTimeout(g,1e4)})};g();const _=_t.stampForm,v=()=>{x.value=!x.value},k=()=>{f.value=!f.value},y=()=>{p.value=!p.value},F=()=>{v(),ct.installAndGo("app-meta-nlbwmon",a("\u5E26\u5BBD\u76D1\u63A7"),"/cgi-bin/luci/admin/services/nlbw")},Y=()=>I(this,null,function*(){var C,B,M;if(k(),yield ct.checkAndInstallApp("app-meta-homebox","Homebox"))try{const W=yield P.Network.Homebox.Enable.POST();(B=(C=W==null?void 0:W.data)==null?void 0:C.result)!=null&&B.port?Hr({port:W.data.result.port,setup:0}):((M=W==null?void 0:W.data)==null?void 0:M.success)==0?location.href="/cgi-bin/luci/admin/services/homebox":D.Warning(a("\u542F\u52A8\u5931\u8D25"))}catch(W){D.Warning(a("\u542F\u52A8\u5931\u8D25"))}}),N=()=>{k(),ct.installAndGo("app-meta-systools","SysTools","/cgi-bin/luci/admin/system/systools/pages")};return(C,B)=>{var W,V;const M=tt("router-link");return s(),d(L,null,[t("div",Ls,[t("div",Ms,[t("div",Os,[e(c)!=null?(s(),d(L,{key:0},[e(c).networkInfo=="netSuccess"?(s(),d("div",Ns,[qs,t("div",Vs,[t("span",Gs,i(e(a)("\u5DF2\u8054\u7F51")),1),t("span",js,i(e(_)(e(c).uptimeStamp)),1)])])):e(c).networkInfo=="dnsFailed"?(s(),d("div",Rs,[Us,t("div",Ws,[t("span",Hs,i(e(a)("DNS\u9519\u8BEF")),1),t("span",Zs,i(e(_)(e(c).uptimeStamp)),1),t("div",{onClick:u,class:"container_configure"},i(e(a)("DNS\u914D\u7F6E")),1)])])):e(c).networkInfo=="softSourceFailed"?(s(),d("div",Js,[Xs,t("div",Ks,[t("span",Qs,i(e(a)("\u8F6F\u4EF6\u6E90\u9519\u8BEF")),1),t("span",td,i(e(_)(e(c).uptimeStamp)),1),t("div",{onClick:l,class:"container_configure"},i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1)])])):e(c).networkInfo=="netFailed"?(s(),d("div",ed,[ad,t("div",od,[t("span",nd,i(e(a)("\u672A\u8054\u7F51")),1),t("span",id,i(e(_)(e(c).uptimeStamp)),1)])])):(s(),d("div",rd,[sd,t("div",dd,[t("span",ld,i(e(a)("\u68C0\u6D4B\u4E2D...")),1)])]))],64)):$("",!0)])]),t("div",ud,[t("div",cd,[t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u8BBE\u5907\u4FE1\u606F")},[A(ht,{onClick:v})],8,pd),z(t("div",fd,[t("div",{class:"menu_background",onClick:v}),t("ul",null,[t("li",null,[t("a",md,i(e(a)("\u8BBE\u5907\u8DEF\u7531")),1)]),t("li",null,[t("a",{onClick:F},i(e(a)("\u5E26\u5BBD\u76D1\u63A7")),1)])])],512),[[vt,x.value]]),t("div",vd,[bd,t("div",gd,[t("span",hd,i(((V=(W=e(w))==null?void 0:W.devices)==null?void 0:V.length)||0),1),t("span",_d,i(e(a)("\u5DF2\u8FDE\u63A5\u8BBE\u5907")),1)])])])])]),xd,t("div",kd,[t("span",{class:"more_icon",title:e(a)("\u6D4B\u901F")},[A(ht,{onClick:k})],8,wd),z(t("div",yd,[t("div",{class:"menu_background",onClick:k}),t("ul",null,[t("li",null,[t("a",{onClick:Y},i(e(a)("\u5185\u7F51\u6D4B\u901F")),1)]),t("li",null,[t("a",{onClick:N},i(e(a)("\u5916\u7F51\u6D4B\u901F")),1)])])],512),[[vt,f.value]]),t("div",Fd,[t("span",null,i(e(a)("IP\u5730\u5740"))+"\uFF08"+i(e(c).defaultInterface)+"\uFF09",1)]),t("div",Ed,[t("span",null," IPv4: "+i(e(c).ipv4addr)+" \uFF08"+i(b(e(c).proto||""))+"\uFF09 ",1)]),t("div",Cd,[t("span",null,"IPv6: "+i(e(c).ipv6addr),1)]),t("div",$d,[t("span",null,"DNS\uFF08"+i(h(e(c).dnsProto))+"\uFF09",1)]),(s(!0),d(L,null,R(e(c).dnsList,H=>(s(),d("div",Dd,[t("span",null,i(H),1)]))),256))]),Bd,t("div",Yd,[t("div",Ad,[t("span",null,i(e(a)("\u7F51\u7EDC\u63A5\u53E3\u72B6\u6001")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u7F51\u7EDC\u63A5\u53E3\u4FE1\u606F")},[A(ht,{onClick:y})],8,Sd),z(t("div",zd,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[A(M,{to:"/interfaceconfig"},{default:j(()=>[et(i(e(a)("\u7F51\u53E3\u914D\u7F6E")),1)]),_:1})])])],512),[[vt,p.value]])]),t("div",Pd,[e(m).load?(s(),G(ds,{key:0,portList:e(m).portList},null,8,["portList"])):$("",!0)])])],64)}}});var Id=S(Td,[["__scopeId","data-v-08006dd5"]]);const Ld={class:"network-container"},Md={class:"network-container_flow"},Od={class:"network-container_flow-container"},Nd={class:"network-container_status"},qd=T({setup(o){return(a,n)=>(s(),d("div",Ld,[t("div",Md,[t("div",Od,[A(Di)])]),t("div",Nd,[A(Id)])]))}});var Vd=S(qd,[["__scopeId","data-v-569bbceb"]]);const Gd={},jd={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"},Rd=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),Ud=[Rd];function Wd(o,a){return s(),d("svg",jd,Ud)}var ft=S(Gd,[["render",Wd]]);const Hd={},Zd={width:"18px",height:"18px",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Jd=yt('',1),Xd=[Jd];function Kd(o,a){return s(),d("svg",Zd,Xd)}var Ee=S(Hd,[["render",Kd]]);const Qd={},t0={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"},e0=yt('',1),a0=[e0];function o0(o,a){return s(),d("svg",t0,a0)}var n0=S(Qd,[["render",o0]]);const ve=o=>(J("data-v-d72e7026"),o=o(),X(),o),i0=["onSubmit"],r0={class:"action-header"},s0={class:"action-header_title"},d0={class:"action-body"},l0={class:"disk-info"},u0=ve(()=>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)),c0={key:0,class:"disk-info_mount-name"},p0={key:1,class:"disk-info_mount-name"},f0={key:0,class:"label-item"},m0={class:"label-item_key"},v0={class:"label-item_path"},b0={class:"label-item"},g0={class:"label-item_key"},h0={class:"label-item_value"},_0=["disabled"],x0={key:0,value:""},k0={value:"format"},w0={key:1,value:"default"},y0={class:"label-item_value"},F0={key:0,class:"msg"},E0={key:1,class:"msg"},C0={class:"action-footer"},$0=ve(()=>t("div",{class:"auto"},null,-1)),D0=["disabled"],B0=["disabled"],Y0={key:1,class:"action result"},A0={class:"action-body"},S0=ve(()=>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)),z0={class:"action-body_msg"},P0={key:0,class:"action-body_info"},T0={key:1,class:"action-body_info"},I0={class:"btns"},L0=T({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close&&a.Close()},r=F=>{F.preventDefault(),a.Cancel&&a.Cancel(),l()},c=F=>{a.Next&&a.Next(F),l()},w=E(!1),x=E(0),f=F=>{x.value=F},p=E(a.action=="nas"?"":"format"),m=E(),b=E(),h=()=>{switch(p.value){case"format":_();return;case"default":g();return;default:D.Warning(n("\u8BF7\u9009\u62E9\u9009\u9879"));return}},g=()=>{let F="";const Y=a.mount;if(Y!=null&&Y.mountPoint!=null&&(F=Y.mountPoint),F!=""){c(F);return}D.Warning(n("\u65E0\u6CD5\u8BC6\u522B\u8DEF\u5F84"))},_=()=>{const F=a.disk,Y=a.mount;if(Y){const N=Y.mountPoint||Y.path;if(!confirm(n("\u8B66\u544A\uFF1A\u683C\u5F0F\u5316\u4F1A\u6E05\u7A7A %{partname} \u5206\u533A\u6570\u636E\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{partname:N||""}))||!confirm(n("\u662F\u5426\u786E\u5B9A\u683C\u5F0F\u5316 %{partname}?",{partname:N||""})))return;k(Y);return}if(F){if(!confirm(n("\u8B66\u544A\uFF1A\u8BE5\u64CD\u4F5C\u5C06\u521D\u59CB\u5316 %{model} \u786C\u76D8\u5E76\u521B\u5EFA\u5206\u533A\uFF0C\u8BF7\u4F60\u8C28\u614E\u64CD\u4F5C",{model:F.venderModel||""}))||!confirm(n("\u662F\u5426\u786E\u5B9A\u521D\u59CB\u5316?")))return;v(F);return}D.Warning(n("\u65E0\u6CD5\u8BC6\u522B\u6570\u636E"))},v=F=>I(this,null,function*(){if(F.name==null||F.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u540D\u79F0"));return}if(F.path==null||F.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u8BBE\u5907\u8DEF\u5F84"));return}w.value=!0;const Y=D.Loading(n("\u521D\u59CB\u5316\u4E2D..."));try{const N=yield P.Nas.Disk.Init.POST({name:F.name,path:F.path});if(N!=null&&N.data){const{result:C,error:B}=N==null?void 0:N.data;B&&D.Warning(B),C&&(C.errorInfo?D.Warning(C.errorInfo):(D.Success(n("\u521D\u59CB\u5316\u6210\u529F")),C.childrens&&C.childrens.length>0&&(b.value=C.childrens[0]),m.value=C,f(1)))}}catch(N){D.Error(N)}Y.Close(),w.value=!1}),k=F=>I(this,null,function*(){if(F.path==null||F.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}w.value=!0;const Y=D.Loading(n("\u683C\u5F0F\u5316\u4E2D..."));try{const N=yield P.Nas.Disk.Partition.Format.POST({path:F.path,uuid:F.uuid,mountPoint:F.mountPoint});if(N!=null&&N.data){const{result:C,error:B}=N==null?void 0:N.data;B&&D.Warning(B),C&&(D.Success(n("\u683C\u5F0F\u5316\u6210\u529F")),b.value=C,f(1))}}catch(N){D.Error(N)}Y.Close(),w.value=!1}),y=()=>{if(b.value&&b.value.mountPoint){c(b.value.mountPoint);return}D.Warning(n("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))};return(F,Y)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>{var N;return[x.value==0?(s(),d("form",{key:0,class:"action format",onSubmit:nt(h,["prevent"])},[t("div",r0,[t("div",s0,i(e(n)("\u786C\u76D8\u914D\u7F6E")),1)]),t("div",d0,[t("div",l0,[u0,o.mount?(s(),d("div",c0,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint||o.mount.path),1)])):o.disk?(s(),d("div",p0,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):$("",!0)]),o.mount?(s(),d("div",f0,[t("div",m0,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A")),1)]),t("div",v0,i(o.mount.mountPoint||o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF09",1)])):$("",!0),t("div",b0,[t("div",g0,[t("span",null,i(e(n)("\u683C\u5F0F\u5316\u9009\u9879")),1)]),t("div",h0,[z(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=C=>p.value=C),required:"",disabled:o.action=="disk"},[o.mount!=null?(s(),d("option",x0,i(e(n)("\u8BF7\u9009\u62E9\u9009\u9879")),1)):$("",!0),t("option",k0,i(e(n)("\u683C\u5F0F\u5316")),1),o.mount!=null?(s(),d("option",w0,i(e(n)("\u4E0D\u683C\u5F0F\u5316,\u4F7F\u7528\u539F\u6587\u4EF6\u7CFB\u7EDF")),1)):$("",!0)],8,_0),[[Q,p.value]])]),t("div",y0,[p.value=="format"?(s(),d("p",F0,i(e(n)("\u683C\u5F0F\u5316\u4E3AEXT4\u6587\u4EF6\u7CFB\u7EDF")),1)):p.value=="default"?(s(),d("p",E0)):$("",!0)])])]),t("div",C0,[$0,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button",disabled:w.value},i(e(n)("\u8FD4\u56DE")),9,D0),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value},i(e(n)("\u4E0B\u4E00\u6B65")),9,B0)])],40,i0)):x.value==1?(s(),d("div",Y0,[t("div",A0,[S0,t("div",z0,i(e(n)("\u683C\u5F0F\u5316\u6210\u529F")),1),m.value?(s(),d("div",P0,[et(i(e(n)("\u5DF2\u7ECF\u6210\u529F\u683C\u5F0F\u5316\u78C1\u76D8"))+" "+i(m.value.venderModel)+" "+i(e(n)("\u5E76\u6302\u8F7D\u5230"))+" ",1),t("a",null,i((N=b.value)==null?void 0:N.mountPoint),1)])):$("",!0),b.value?(s(),d("div",T0,[et(i(e(n)("\u5DF2\u7ECF\u6210\u529F\u521D\u59CB\u5316\u5206\u533A"))+" ",1),t("a",null,i(b.value.mountPoint),1)])):$("",!0),t("div",I0,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:y},i(o.action=="nas"?e(n)("\u4E0B\u4E00\u6B65"):e(n)("\u5B8C\u6210")),1)])])])):$("",!0)]}),_:1})]),_:1}))}});var M0=S(L0,[["__scopeId","data-v-d72e7026"]]),be=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(M0,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const ne=o=>(J("data-v-b5895698"),o=o(),X(),o),O0=["onSubmit"],N0=ne(()=>t("div",{class:"action-header"},[t("div",{class:"action-header_title"})],-1)),q0={class:"action-body"},V0={class:"disk-info"},G0=ne(()=>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)),j0={key:0,class:"disk-info_mount-name"},R0={key:1,class:"disk-info_mount-name"},U0={key:0,class:"label-item"},W0={class:"label-item_key"},H0={class:"label-item_path"},Z0={class:"label-item"},J0={class:"label-item_key"},X0={class:"label-item_value"},K0={class:"action-footer"},Q0=ne(()=>t("div",{class:"auto"},null,-1)),tl=["disabled"],el=["disabled"],al={key:1,class:"action result"},ol={class:"action-body"},nl=ne(()=>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)),il={class:"action-body_msg"},rl=["innerHTML"],sl={class:"btns"},dl=T({props:{action:String,disk:{type:Object,required:!0},mount:{type:Object},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){var _;const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close&&a.Close()},r=v=>{v.preventDefault(),a.Cancel&&a.Cancel(),l()},c=v=>{a.Next&&a.Next(v),l()},w=E(!1),x=E(0),f=E("/mnt/data_"+((_=a==null?void 0:a.mount)==null?void 0:_.name)),p=v=>{x.value=v};E(a.mount?"":"format"),E();const m=E(),b=()=>I(this,null,function*(){const v=a.mount;if(v==null){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A"));return}if(v.path==null||v.path==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533A\u8DEF\u5F84"));return}if(v.uuid==null||v.uuid==""){D.Warning(n("\u83B7\u53D6\u4E0D\u5230\u5206\u533AID"));return}w.value=!0;const k=D.Loading(n("\u6302\u8F7D\u4E2D..."));try{const y=yield P.Nas.Disk.Partition.Mount.POST({path:v.path,uuid:v.uuid,mountPoint:f.value});if(y!=null&&y.data){const{result:F,error:Y}=y==null?void 0:y.data;Y&&D.Warning(Y),F&&(D.Success(n("\u6302\u8F7D\u6210\u529F")),m.value=F,p(1))}}catch(y){D.Error(y)}k.Close(),w.value=!1}),h=()=>{if(m.value&&m.value.mountPoint){c(m.value.mountPoint);return}D.Warning(n("\u8BFB\u53D6\u7ED3\u679C\u5931\u8D25"))},g=()=>{};return(v,k)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>{var y,F;return[x.value==0?(s(),d("form",{key:0,class:"action format",onSubmit:nt(g,["prevent"])},[N0,t("div",q0,[t("div",V0,[G0,o.mount?(s(),d("div",j0,[t("span",null,"\u3010"+i(o.mount.total)+"\u3011",1),t("span",null,i(o.mount.mountPoint),1)])):o.disk?(s(),d("div",R0,[t("span",null,"\u3010"+i(o.disk.size)+"\u3011",1),t("span",null,i(o.disk.venderModel),1)])):$("",!0)]),o.mount?(s(),d("div",U0,[t("div",W0,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A")),1)]),t("div",H0,i(o.mount.path)+"\uFF08"+i(o.mount.total)+"\uFF0C"+i((F=(y=o.mount)==null?void 0:y.filesystem)==null?void 0:F.toUpperCase())+"\uFF09",1)])):$("",!0),t("div",Z0,[t("div",J0,[t("span",null,i(e(n)("\u6302\u8F7D\u70B9")),1)]),t("div",X0,[z(t("input",{type:"text","onUpdate:modelValue":k[0]||(k[0]=Y=>f.value=Y)},null,512),[[Z,f.value,void 0,{trim:!0}]])])])]),t("div",K0,[Q0,t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:w.value,onClick:b},i(e(n)("\u786E\u5B9A")),9,tl),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:r,type:"button",disabled:w.value},i(e(n)("\u8FD4\u56DE")),9,el)])],40,O0)):x.value==1?(s(),d("div",al,[t("div",ol,[nl,t("div",il,i(e(n)("\u6302\u8F7D\u6210\u529F")),1),m.value?(s(),d("div",{key:0,class:"action-body_info",innerHTML:e(n)("\u5DF2\u6210\u529F\u5C06\u5206\u533A %{dev} \u6302\u8F7D\u5230 %{mount}",{dev:m.value.path||"",mount:m.value.mountPoint||""},!0)},null,8,rl)):$("",!0),t("div",sl,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",type:"button",onClick:h},i(o.action=="nas"?e(n)("\u5B8C\u6210"):e(n)("\u4E0B\u4E00\u6B65")),1)])])])):$("",!0)]}),_:1})]),_:1}))}});var ll=S(dl,[["__scopeId","data-v-b5895698"]]),Ge=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(ll,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const ul={class:"disk-content"},cl={class:"disk-item"},pl={class:"disk-item_name"},fl={key:0},ml={key:1},vl={key:2},bl={class:"disk_value"},gl={class:"disk-item_value"},hl={class:"value-data"},_l={key:0,class:"disk-item"},xl={class:"disk-item_name"},kl={key:0},wl=["href"],yl={key:0},Fl={class:"disk_status"},El={key:0,class:"disk_status_item"},Cl={key:0,class:"tooltip-trigger disk_tip"},$l={class:"tooltip-text tooltip-top"},Dl={class:"disk_dir_tip"},Bl={class:"disk_status_item"},Yl={key:0,class:"tooltip-trigger disk_tip"},Al={class:"tooltip-text tooltip-top"},Sl={class:"disk_dir_tip"},zl=T({props:{part:{type:Object,required:!0},disk:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>a.part.filesystem=="No FileSystem"),r=U(()=>a.part.filesystem&&["ntfs","vfat","exfat"].indexOf(a.part.filesystem)>=0),c=U(()=>a.part.mountPoint&&a.part.isReadOnly&&a.part.filesystem!="swap"),w=U(()=>l.value||!a.part.isSystemRoot&&(c.value||r.value||!a.part.mountPoint&&a.part.filesystem=="swap")),x=function(){be({action:"disk",disk:a.disk,mount:a.part,Cancel:()=>{},Next:h=>{location.reload()}})},f=()=>{Ge({action:"nas",disk:a.disk,mount:a.part,Cancel:()=>{},Next:()=>{location.reload()}})},p=()=>I(this,null,function*(){const h=D.Loading(n("\u5904\u7406\u4E2D..."));try{const g=yield P.Nas.Disk.InitRest.POST({name:a.disk.name,path:a.disk.path});if(g!=null&&g.data){const{result:_,error:v}=g==null?void 0:g.data;v&&D.Warning(v),_&&(D.Success(n("\u6302\u8F7D\u6210\u529F")),location.reload())}}catch(g){D.Error(g)}h.Close()}),m=U(()=>a.part.filesystem=="Free Space"),b=U(()=>{const h=a.part.mountPoint?a.part.mountPoint:"";return h.indexOf("/mnt/")==0?"/cgi-bin/luci/admin/services/linkease/file/?path=/"+h.substring(5):"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+h});return(h,g)=>{var v;const _=tt("progress-item");return s(),d("div",ul,[t("li",cl,[t("div",pl,[e(m)?(s(),d("span",fl,i(e(n)("\u672A\u5206\u533A")),1)):(s(),d("span",ml,i(o.part.name)+i(o.part.mountPoint?"":e(l)?e(n)("\uFF08\u672A\u683C\u5F0F\u5316\uFF09"):e(n)("\uFF08\u672A\u6302\u8F7D\uFF09")),1)),o.part.isSystemRoot?(s(),d("span",vl,i(e(n)("\uFF08\u7CFB\u7EDF\u5206\u533A\uFF09")),1)):$("",!0)]),t("div",bl,[t("div",gl,[t("div",hl,[A(_,{value:e(m)||!o.part.usage?0:o.part.usage,text:e(m)?e(n)("\u672A\u5206\u533A\uFF08%{total}\uFF09",{total:o.part.total||""}):(o.part.mountPoint&&o.part.filesystem!="swap"?o.part.used:e(n)("\u672A\u77E5"))+"/"+(o.part.total||""),style:{backgroundColor:"#767676"}},null,8,["value","text"])])]),e(m)?(s(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:p},i(e(n)("\u5206\u533A\u5E76\u683C\u5F0F\u5316")),1)):e(w)?(s(),d("button",{key:1,class:"cbi-button cbi-button-apply",onClick:x},i(e(n)("\u683C\u5F0F\u5316\u5206\u533A")),1)):$("",!0)])]),!e(m)&&!e(l)?(s(),d("li",_l,[t("span",xl,[o.part.mountPoint?(s(),d(L,{key:0},[o.part.filesystem=="swap"?(s(),d("span",kl,i(e(n)("\u5DF2\u6302\u8F7D\u4E3A\u4EA4\u6362\u533A")),1)):(s(),d("a",{key:1,href:e(b),target:"_blank"},i(o.part.mountPoint),9,wl))],64)):(s(),d(L,{key:1},[o.part.filesystem=="swap"?(s(),d("span",yl,i(e(n)("\u4E0D\u652F\u6301\u6302\u8F7D")),1)):(s(),d("span",{key:1,class:"value-data buttondiv",onClick:f},i(e(n)("\u624B\u52A8\u6302\u8F7D")),1))],64))]),t("div",Fl,[o.part.mountPoint&&o.part.filesystem!="swap"?(s(),d("div",El,[t("div",null,i(e(n)("\u53EF\u8BFB\u5199\u72B6\u6001\uFF1A"))+i(o.part.isReadOnly?e(n)("\u53EA\u8BFB"):e(n)("\u8BFB\u5199")),1),e(c)?(s(),d("div",Cl,[A(ft),t("div",$l,[t("div",Dl,i(e(n)("\u6B64\u5206\u533A\u4E3A\u53EA\u8BFB\u72B6\u6001\uFF0C\u53EF\u80FD\u65E0\u6CD5\u5199\u5165\u6570\u636E")),1)])])):$("",!0)])):$("",!0),t("div",Bl,[t("div",null,i(e(n)("\u6587\u4EF6\u7CFB\u7EDF\uFF1A"))+i((v=o.part.filesystem)==null?void 0:v.toUpperCase()),1),!o.part.isSystemRoot&&e(r)?(s(),d("div",Yl,[A(ft),t("div",Al,[t("span",Sl,i(e(n)("\u6B64\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u652F\u6301Docker\u7B49\u5E94\u7528\u6570\u636E\uFF0C\u5EFA\u8BAE\u683C\u5F0F\u5316\u6210EXT4\u6587\u4EF6\u7CFB\u7EDF")),1)])])):$("",!0)])])])):$("",!0)])}}});var Pl=S(zl,[["__scopeId","data-v-10dd00b8"]]);const Tl=o=>(J("data-v-127a3100"),o=o(),X(),o),Il={key:0,class:"action"},Ll={class:"title"},Ml={class:"app-container_info"},Ol={class:"app-container_body"},Nl={class:"action-footer"},ql=Tl(()=>t("div",{class:"auto"},null,-1)),Vl=T({props:{disk:{type:Object,required:!0},Close:{type:Function},Cancel:{type:Function},Next:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=()=>{a.Close&&a.Close()},c=w=>{w.preventDefault(),a.Cancel&&a.Cancel(),r()};return(w,x)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[l.value==0?(s(),d("div",Il,[t("h2",Ll,i(e(n)("\u5206\u533A\u4FE1\u606F"))+" - "+i((o.disk.name||"?")+(o.disk.isSystemRoot?e(n)("\uFF08\u7CFB\u7EDF\u76D8\uFF09"):"")),1),t("ul",null,[t("li",null,[t("div",Ml,[t("span",null,i(e(n)("\u5206\u533A / \u6302\u8F7D\u70B9")),1),t("span",null,i(e(n)("\u5BB9\u91CF")),1)]),t("div",Ol,[(s(!0),d(L,null,R(o.disk.childrens,(f,p)=>(s(),G(Pl,{key:p,part:f,disk:o.disk},null,8,["part","disk"]))),128))])])]),t("div",Nl,[ql,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:c,type:"button"},i(e(n)("\u8FD4\u56DE")),1)])])):$("",!0)]),_:1})]),_:1},8,["Close"]))}});var Gl=S(Vl,[["__scopeId","data-v-127a3100"]]),jl=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Gl,ot(K({},o),{Close:()=>{u()}}));n.component("progress-item",Te),n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Rl={key:0,class:"disk-item error"},Ul=["title"],Wl={class:"disk-item_value"},Hl={class:"value-data"},Zl={class:"error"},Jl={key:1,class:"disk-item"},Xl=["title"],Kl={key:0,class:"disk_value"},Ql={class:"value-data"},tu={href:"/cgi-bin/luci/admin/nas/smart"},eu={class:"error"},au={key:1,class:"disk_value"},ou={class:"disk-item_value"},nu={class:"value-data"},iu={class:"disk-item-tooltip"},ru={class:"disk_icon"},su={key:0,class:"tooltip-trigger"},du={class:"disk_tip"},lu={class:"tooltip-text tooltip-top"},uu={class:"disk_dir_tip"},cu={key:1,class:"tooltip-trigger"},pu={class:"disk_tip"},fu={class:"tooltip-text tooltip-top"},mu={class:"disk_dir_tip"},vu={key:2,class:"disk-item load"},bu=["title"],gu={class:"disk_value"},hu={class:"disk-item_value"},_u={class:"value-data"},xu={key:3,class:"disk-item load"},ku=["title"],wu={class:"disk_value"},yu={key:0,class:"disk-item_value"},Fu={class:"value-data"},Eu={class:"disk_icon"},Cu=T({props:{disk:{type:Object,required:!0},smartWarning:{type:Boolean}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>a.disk.errorInfo?"error":a.disk.childrens==null||a.disk.childrens.length==0||a.disk.childrens.length==1&&a.disk.childrens[0].filesystem=="No FileSystem"?"load":a.disk.childrens.filter(p=>p.mountPoint).length==0?"unmounted":"success"),r=U(()=>{const p=a.disk;let m=p.name;return p.size&&(m+=`\u3010${p.size}\u3011`),p.venderModel&&(m+=`(${p.venderModel})`),m}),c=U(()=>{var m;const p=a.disk;return!p.isSystemRoot&&(((m=p.childrens)==null?void 0:m.filter(b=>b.isReadOnly&&b.filesystem!="swap").length)||0)>0}),w=()=>{be({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},x=()=>{jl({action:"disk",disk:a.disk,Cancel:()=>{},Next:()=>{location.reload()}})},f=()=>{const p=a.disk,m=p.childrens||[];Ge({action:"nas",disk:p,mount:m[0],Cancel:()=>{},Next:()=>{location.reload()}})};return(p,m)=>{var h,g,_;const b=tt("progress-item");return e(l)=="error"?(s(),d("li",Rl,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,Ul),t("div",Wl,[t("div",Hl,[t("span",Zl,i(o.disk.errorInfo),1)])])])):e(l)=="success"?(s(),d("li",Jl,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,Xl),o.disk.smartWarning&&o.smartWarning?(s(),d("div",Kl,[t("div",Ql,[t("a",tu,[t("span",eu,i(e(n)("S.M.A.R.T\u5F02\u5E38")),1)])])])):(s(),d("div",au,[t("div",ou,[t("div",nu,[A(b,{value:o.disk.usage||0,text:`${o.disk.used}/${o.disk.total}`,style:{backgroundColor:"#767676"}},null,8,["value","text"])]),t("div",iu,[t("span",null,i(e(n)("\u4EC5\u7EDF\u8BA1\u5DF2\u6302\u8F7D\u5206\u533A")),1)])]),t("div",ru,[o.disk.isDockerRoot&&o.disk.isSystemRoot&&o.disk.usage&&o.disk.usage>=90?(s(),d("span",su,[t("span",du,[A(ft)]),t("div",null,[t("div",lu,[t("span",uu,i(e(n)("\u60A8\u7684\u7CFB\u7EDF\u7A7A\u95F4\u5DF2\u4E0D\u8DB3\uFF0C\u68C0\u6D4B\u5230\u60A8\u7684Docker\u6839\u76EE\u5F55\u4F4D\u4E8E\u7CFB\u7EDF\u6839\u76EE\u5F55\u4E0A\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF0C\u5EFA\u8BAE\u4F7F\u7528Docker\u8FC1\u79FB\u5411\u5BFC\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\u4E0A\u3002")),1)])])])):$("",!0),e(c)?(s(),d("span",cu,[t("span",pu,[A(ft)]),t("div",null,[t("div",fu,[t("span",mu,i(e(n)("\u5206\u533A\u5B58\u5728\u5F02\u5E38\uFF0C\u70B9\u51FB\u5206\u533A\u5217\u8868\u67E5\u770B\u9519\u8BEF")),1)])])])):$("",!0),e(c)&&((h=o.disk.childrens)==null?void 0:h.length)==1?(s(),d("span",{key:2,class:"disk_infoicon",onClick:m[0]||(m[0]=v=>w())},[A(n0)])):$("",!0),t("span",{class:"disk_infoicon",onClick:m[1]||(m[1]=v=>x())},[A(Ee)])])]))])):e(l)=="load"?(s(),d("li",vu,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,bu),t("div",gu,[t("div",hu,[t("div",_u,[t("button",{onClick:m[2]||(m[2]=v=>w())},i(e(n)("\u683C\u5F0F\u5316\u5E76\u6302\u8F7D")),1)])])])])):e(l)=="unmounted"?(s(),d("li",xu,[t("div",{class:"disk-item_name",title:e(r)},[t("span",null,i(e(r)),1)],8,ku),t("div",wu,[((g=o.disk.childrens)==null?void 0:g.length)==1?(s(),d("div",yu,[t("div",Fu,[o.disk.childrens[0].filesystem=="swap"?(s(),d("button",{key:0,onClick:m[3]||(m[3]=v=>x())},i(e(n)("\u67E5\u770B\u8BE6\u60C5")),1)):(s(),d("button",{key:1,onClick:m[4]||(m[4]=v=>f())},i(e(n)("\u624B\u52A8\u6302\u8F7D")),1))])])):$("",!0),t("div",Eu,[(((_=o.disk.childrens)==null?void 0:_.length)||0)>1?(s(),d("span",{key:0,class:"disk_infoicon",onClick:m[5]||(m[5]=v=>x())},[A(Ee)])):$("",!0)])])])):$("",!0)}}});var le=S(Cu,[["__scopeId","data-v-0b8d992f"]]);const $u=o=>(J("data-v-5f7dc1ac"),o=o(),X(),o),Du={class:"app-container"},Bu={class:"app-container_title"},Yu={class:"disk_info"},Au={class:"app-container_tool"},Su=["title"],zu={class:"DeviceBlock"},Pu={href:"/cgi-bin/luci/admin/nas/raid"},Tu=$u(()=>t("li",null,[t("a",{href:"/cgi-bin/luci/admin/nas/smart"},"S.M.A.R.T.")],-1)),Iu={href:"/cgi-bin/luci/admin/system/diskman"},Lu={href:"/cgi-bin/luci/admin/system/mounts"},Mu={key:0},Ou={class:"disk_loading_icon"},Nu={class:"disk_loading_info"},qu={key:1},Vu={class:"app-container_info"},Gu={class:"app-container_body"},ju={key:2},Ru={class:"app-container_info"},Uu={class:"app-container_body"},Wu={key:3},Hu={class:"app-container_info"},Zu={class:"app-container_body"},Ju=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=E(!1),l=lt({disks:null,raidList:null}),r=()=>{P.Nas.Disk.Status.GET().then(f=>{var p;if((p=f==null?void 0:f.data)!=null&&p.result){const m=f.data.result;l.disks=m.disks||[]}})};(()=>I(this,null,function*(){try{const f=yield P.Raid.List.GET();if(f!=null&&f.data){const{success:p,error:m,result:b}=f.data;if(b&&(l.raidList=b.disks||[]),m)throw m}}catch(f){console.log(f)}}))(),r();const w=()=>{u.value=!u.value},x=()=>{ct.installAndGo("luci-app-linkease",a("\u6613\u6709\u4E91"),"/cgi-bin/luci/admin/services/linkease/file/","app-meta-linkease")};return(f,p)=>{var h,g;const m=tt("GlHelp"),b=tt("icon-loading");return s(),d("div",Du,[t("ul",null,[t("li",null,[t("div",Bu,[t("span",Yu,[et(i(e(a)("\u78C1\u76D8\u4FE1\u606F"))+" ",1),A(m,{type:"disk"})]),t("div",Au,[t("div",{class:"app-container_configure",onClick:x},i(e(a)("\u6587\u4EF6\u7BA1\u7406")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u78C1\u76D8\u7BA1\u7406\u4FE1\u606F")},[A(ht,{onClick:w})],8,Su)]),z(t("div",zu,[t("div",{class:"menu_background",onClick:w}),t("ul",null,[t("li",null,[t("a",Pu,i(e(a)("RAID\u7BA1\u7406")),1)]),Tu,t("li",null,[t("a",Iu,i(e(a)("\u78C1\u76D8\u7BA1\u7406")),1)]),t("li",null,[t("a",Lu,i(e(a)("\u6302\u8F7D\u70B9")),1)])])],512),[[vt,u.value]])])]),!e(l).disks&&!e(l).raidList?(s(),d("li",Mu,[t("div",Ou,[A(b,{size:38,color:"currentColor"}),t("span",Nu,i(e(a)("\u6B63\u5728\u83B7\u53D6\u78C1\u76D8\u4FE1\u606F...")),1)])])):$("",!0),e(l).disks?(s(),d("li",qu,[t("div",Vu,[t("span",null,i(e(a)("\u7CFB\u7EDF\u6839\u76EE\u5F55")),1)]),t("div",Gu,[(s(!0),d(L,null,R((h=e(l).disks)==null?void 0:h.filter(_=>_.isSystemRoot),(_,v)=>(s(),G(le,{key:v,disk:_},null,8,["disk"]))),128))])])):$("",!0),e(l).disks?(s(),d("li",ju,[t("div",Ru,[t("span",null,i(e(a)("\u5DF2\u6302\u8F7D\u78C1\u76D8")),1)]),t("div",Uu,[(s(!0),d(L,null,R((g=e(l).disks)==null?void 0:g.filter(_=>!_.isSystemRoot),(_,v)=>(s(),G(le,{key:v,disk:_,smartWarning:!0},null,8,["disk"]))),128))])])):$("",!0),e(l).raidList&&e(l).raidList.length>0?(s(),d("li",Wu,[t("div",Hu,[t("span",null,i(e(a)("RAID\u8BBE\u5907")),1)]),t("div",Zu,[(s(!0),d(L,null,R(e(l).raidList,(_,v)=>(s(),G(le,{key:v,disk:_},null,8,["disk"]))),128))])])):$("",!0)])])}}});var Xu=S(Ju,[["__scopeId","data-v-5f7dc1ac"]]);const Ku={class:"app-container_samba"},Qu={key:0,class:"sambas-item"},tc={class:"sambas-item_name"},ec={class:"sambas-item_value"},ac={class:"sambas-item"},oc={class:"sambas-item_name tit"},nc={class:"sambas-item_value tit"},ic={class:"samba-item"},rc={class:"samba-item_name"},sc=["title"],dc=["href"],lc=T({props:{sambas:{type:Array}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=window.location.hostname;return(l,r)=>{var c;return s(),d("ul",Ku,[o.sambas?(s(),d("li",Qu,[t("div",tc,[t("span",null,i(e(a)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",ec,[t("span",null,i((c=o.sambas)!=null&&c.length?e(a)("\u5DF2\u542F\u7528"):e(a)("\u672A\u542F\u7528")),1)])])):$("",!0),t("li",ac,[t("div",oc,[t("span",null,i(e(a)("\u5730\u5740")),1)]),t("div",nc,[t("span",null,i(e(a)("\u76EE\u5F55")),1)])]),(s(!0),d(L,null,R(o.sambas,w=>(s(),d("li",ic,[t("div",rc,[t("span",null,"smb://"+i(e(u))+"/"+i(w.shareName),1)]),t("div",{class:"samba-item_value",title:w.path},[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+w.path},i(w.path),9,dc)],8,sc)]))),256))])}}});var uc=S(lc,[["__scopeId","data-v-ba3ddae2"]]);const cc={class:"webdav-item"},pc={class:"webdav-item_name"},fc={class:"webdav-item_value"},mc={key:0,class:"webdav-item"},vc={class:"webdav-item_name"},bc={class:"webdav-item_value"},gc=["href"],hc={key:1,class:"webdav-item"},_c={class:"webdav-item_name"},xc={class:"webdav-item_value"},kc=["href"],wc={key:2,class:"webdav-item"},yc={class:"webdav-item_name"},Fc={class:"webdav-item_value"},Ec=T({props:{webdav:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var r;return`http://${location.hostname}:${(r=a.webdav)==null?void 0:r.port}`});return(r,c)=>{var w,x,f,p,m,b,h;return s(),d(L,null,[t("li",cc,[t("div",pc,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",fc,[t("span",null,i((w=o.webdav)!=null&&w.path?e(n)("\u5DF2\u542F\u7528"):e(n)("\u672A\u542F\u7528")),1)])]),(x=o.webdav)!=null&&x.path?(s(),d("li",mc,[t("div",vc,[t("span",null,i(e(n)("\u6302\u8F7D\u8DEF\u5F84:")),1)]),t("div",bc,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.webdav)==null?void 0:f.path)},i((p=o.webdav)==null?void 0:p.path),9,gc)])])):$("",!0),(m=o.webdav)!=null&&m.port?(s(),d("li",hc,[t("div",_c,[t("span",null,i(e(n)("\u670D\u52A1\u8DEF\u5F84:")),1)]),t("div",xc,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,kc)])])):$("",!0),(b=o.webdav)!=null&&b.username?(s(),d("li",wc,[t("div",yc,[t("span",null,i(e(n)("\u8D26\u53F7:")),1)]),t("div",Fc,[t("span",null,i((h=o.webdav)==null?void 0:h.username),1)])])):$("",!0)],64)}}});var Cc=S(Ec,[["__scopeId","data-v-2bc5f580"]]);const ge=o=>(J("data-v-7732abe2"),o=o(),X(),o),$c={class:"disk-item"},Dc=ge(()=>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)),Bc={class:"disk-item_f"},Yc={class:"disk-item_venderModel"},Ac={class:"disk-item_used"},Sc=ge(()=>t("div",{class:"auto"},null,-1)),zc={class:"disk-item-r"},Pc={class:"disk-children"},Tc=["onClick"],Ic=ge(()=>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)),Lc={key:0},Mc={key:1},Oc=T({props:{disk:{type:Object,required:!0},currDisk:{type:Object},currMountPoint:{type:Object},onDisk:{type:Function,required:!0}},setup(o){var c,w;const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1);a.currDisk!=null&&((c=a.currDisk)==null?void 0:c.venderModel)==((w=a.disk)==null?void 0:w.venderModel)&&(l.value=!0);const r=x=>{l.value=!l.value,a.onDisk(x,null)};return(x,f)=>{var p;return s(),d("ul",$c,[t("li",{class:st(["disk-info",{on:o.disk.venderModel==((p=o.currDisk)==null?void 0:p.venderModel),nopoint:o.disk.childrens==null||o.disk.childrens.length==0}]),onClick:f[0]||(f[0]=m=>r(o.disk))},[Dc,t("div",Bc,[t("div",Yc,i(o.disk.venderModel),1),t("div",Ac,i(o.disk.used)+"/"+i(o.disk.size),1)]),Sc,t("div",zc,i(o.disk.path),1)],2),z(t("div",Pc,[(s(!0),d(L,null,R(o.disk.childrens,m=>{var b,h;return s(),d("li",{class:st(["disk-children_item",{on:m.uuid==((b=o.currMountPoint)==null?void 0:b.uuid)&&m.path==((h=o.currMountPoint)==null?void 0:h.path)}]),onClick:g=>o.onDisk(o.disk,m)},[Ic,m.mountPoint?(s(),d("span",Lc," \u3010"+i(m.filesystem)+"\u3011 "+i(m.mountPoint)+" \uFF08"+i(m.used)+"/"+i(m.total)+"\uFF09 ["+i(m.uuid)+"] ",1)):(s(),d("span",Mc," \u3010"+i(m.filesystem)+"\u3011 "+i(m.mountPoint||m.path||e(n)("\u672A\u6302\u8F7D\u78C1\u76D8"))+" ["+i(m.uuid)+"] ",1))],10,Tc)}),256))],512),[[vt,l.value]])])}}});var Ce=S(Oc,[["__scopeId","data-v-7732abe2"]]);const Nc=o=>(J("data-v-0d1b6ac8"),o=o(),X(),o),qc={class:"action list"},Vc={class:"action-header"},Gc={class:"action-header_title"},jc={class:"action-body"},Rc={class:"disk-list"},Uc={class:"action-msg"},Wc={href:"/cgi-bin/luci/admin/system/diskman"},Hc={class:"action-footer"},Zc=Nc(()=>t("div",{class:"auto"},null,-1)),Jc=T({props:{Cancel:{type:Function},Next:{type:Function},Close:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!0),r=lt({disks:[],raids:[]});(()=>I(this,null,function*(){const g=yield Promise.all([P.Nas.Disk.Status.GET(),P.Raid.List.GET()]);try{if(g[0]){const _=g[0];_!=null&&_.data.result&&(r.disks=(_==null?void 0:_.data.result.disks)||[])}if(g[1]){const _=g[1];_.data.result&&(r.raids=_.data.result.disks||[])}}catch(_){D.Warning(_)}}))();const w=E(),x=E(),f=(g,_)=>{w.value=g,x.value=_},p=()=>{a.Close&&a.Close()},m=()=>{a.Cancel&&a.Cancel(),p()},b=g=>{a.Next&&a.Next(g),p()},h=()=>{if(w.value==null){D.Warning(n("\u8BF7\u9009\u62E9\u76EE\u6807\u786C\u76D8"));return}if(w.value.childrens!=null&&w.value.childrens.length>0&&x.value==null){D.Warning(n("\u8BF7\u9009\u62E9\u786C\u76D8\u5206\u533A"));return}if(x.value!=null&&(x.value.mountPoint==null||x.value.mountPoint=="")){D.Warning(n("\u8BE5\u5206\u533A\u5C1A\u672A\u6302\u8F7D\uFF0C\u8BF7\u5148\u53BB\u6302\u8F7D"));return}l.value=!1,be({action:"nas",disk:w.value,mount:x.value,Cancel:()=>{l.value=!0},Next:g=>{b(g)}})};return(g,_)=>l.value?(s(),G(it,{key:0,type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",qc,[t("div",Vc,[t("div",Gc,i(e(n)("\u8BF7\u9009\u62E9\u4E00\u4E2A\u786C\u76D8\u6216\u5206\u533A")),1)]),t("div",jc,[t("div",Rc,[(s(!0),d(L,null,R(e(r).disks,v=>(s(),G(Ce,{disk:v,onDisk:f,currDisk:w.value,currMountPoint:x.value},null,8,["disk","currDisk","currMountPoint"]))),256)),(s(!0),d(L,null,R(e(r).raids,v=>(s(),G(Ce,{disk:v,onDisk:f,currDisk:w.value,currMountPoint:x.value},null,8,["disk","currDisk","currMountPoint"]))),256))])]),t("div",Uc,[t("span",null,[et(i(e(n)("\u60F3\u8981\u66F4\u7CBE\u786E\u7684\u914D\u7F6E\uFF1F\u8BF7\u524D\u5F80"))+" ",1),t("a",Wc,i(e(n)("\u9AD8\u7EA7\u8BBE\u7F6E")),1)])]),t("div",Hc,[Zc,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:m,type:"button"},i(e(n)("\u8FD4\u56DE")),1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:h,type:"button"},i(e(n)("\u4E0B\u4E00\u6B65")),1)])])]),_:1})]),_:1})):$("",!0)}});var Xc=S(Jc,[["__scopeId","data-v-0d1b6ac8"]]),Kc=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Xc,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Qc=o=>(J("data-v-5f6e53be"),o=o(),X(),o),t1={class:"action"},e1={class:"action-body"},a1=Qc(()=>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)),o1={class:"title"},n1={class:"info"},i1=["href"],r1={class:"btns"},s1=T({props:{Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(""),r=U(()=>`http://${location.hostname}:${l.value}`);(()=>{P.Nas.Linkease.Enable.POST().then(x=>{var f,p;(f=x==null?void 0:x.data)!=null&&f.result&&(l.value=((p=x.data.result)==null?void 0:p.port)||"")})})();const w=()=>{a.Close&&a.Close(),location.reload()};return(x,f)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("div",t1,[t("div",e1,[a1,t("h2",o1,i(e(n)("\u670D\u52A1\u5DF2\u542F\u52A8")),1),t("div",n1,[t("span",null,i(e(n)("\u524D\u5F80")),1),t("a",{href:e(r),target:"_blank",rel:"noopener noreferrer"},i(e(r)),9,i1),t("span",null,i(e(n)("\u7EE7\u7EED\u914D\u7F6E")),1)]),t("div",r1,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:w},i(e(n)("\u5173\u95ED")),1)])])])]),_:1})]),_:1}))}});var d1=S(s1,[["__scopeId","data-v-5f6e53be"]]),l1=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(d1,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const u1=o=>(J("data-v-2eafa10c"),o=o(),X(),o),c1=["onSubmit"],p1={class:"action-header"},f1={class:"action-header_title"},m1={class:"action-body"},v1={class:"label-item"},b1={class:"label-item_key"},g1={class:"label-item_value"},h1=["value"],_1={class:"label-item"},x1={class:"label-item_key"},k1={class:"label-item_value"},w1=["placeholder"],y1={class:"label-item"},F1={class:"label-item_key"},E1={class:"label-item_value"},C1={class:"action-footer"},$1=u1(()=>t("div",{class:"auto"},null,-1)),D1=["disabled"],B1=["disabled"],Y1=T({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=p=>{p.preventDefault(),a.Close&&a.Close()},r=E(!1),c=E({username:"root",password:"",rootPath:a.rootPath});(()=>I(this,null,function*(){const p=D.Loading(n("\u52A0\u8F7D\u4E2D..."));r.value=!0;try{const m=yield P.Nas.Webdav.Status.GET();if(m!=null&&m.data){const{result:b,error:h}=m.data;if(h){D.Warning(h);return}b&&(b.username&&(c.value.username=b.username),b.password&&(c.value.password=b.password))}}catch(m){D.Error(m)}r.value=!1,p.Close()}))();const x=()=>{const p=c.value;if(p.rootPath==""){D.Warning(n("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.username==""){D.Warning(n("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(p.password==""){D.Warning(n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}f(p)},f=p=>I(this,null,function*(){r.value=!0;const m=D.Loading(n("\u521B\u5EFA\u4E2D..."));try{const b=yield P.Nas.Webdav.Create.POST(p);if(b!=null&&b.data){const{error:h,result:g}=b.data;h&&D.Warning(h),g&&(D.Success(n("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(b){D.Error(b)}m.Close(),r.value=!1});return(p,m)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:nt(x,["prevent"])},[t("div",p1,[t("div",f1,i(e(n)("Webdav\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",m1,[t("div",v1,[t("div",b1,[t("span",null,i(e(n)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",g1,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,h1)])]),t("div",_1,[t("div",x1,[t("span",null,i(e(n)("\u7528\u6237\u540D")),1)]),t("div",k1,[z(t("input",{type:"text",required:"",placeholder:e(n)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":m[0]||(m[0]=b=>c.value.username=b)},null,8,w1),[[Z,c.value.username,void 0,{trim:!0}]])])]),t("div",y1,[t("div",F1,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),t("div",E1,[z(t("input",{type:"password","onUpdate:modelValue":m[1]||(m[1]=b=>c.value.password=b)},null,512),[[Z,c.value.password,void 0,{trim:!0}]])])])]),t("div",C1,[$1,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:l,disabled:r.value},i(e(n)("\u5173\u95ED")),9,D1),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:r.value},i(e(n)("\u521B\u5EFA")),9,B1)])],40,c1)]),_:1})]),_:1}))}});var A1=S(Y1,[["__scopeId","data-v-2eafa10c"]]),S1=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(A1,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const z1=o=>(J("data-v-58844394"),o=o(),X(),o),P1=["onSubmit"],T1={class:"action-header"},I1={class:"action-header_title"},L1={class:"action-body"},M1={class:"label-item"},O1={class:"label-item_key"},N1={class:"label-item_value"},q1=["value"],V1={class:"label-item"},G1={class:"label-item_key"},j1={class:"label-item_value"},R1=["placeholder"],U1={class:"label-item"},W1={class:"label-item_key"},H1={class:"label-item_value"},Z1=["placeholder"],J1={class:"label-item"},X1={class:"label-item_key"},K1={class:"label-item_value"},Q1={class:"samba-item"},t2={class:"samba-item_allow"},e2={for:"allow",class:"samba-allow"},a2={class:"samba-item_tips"},o2={class:"tooltip-trigger"},n2={class:"samba_tip"},i2={class:"samba_dir_tip"},r2={class:"action-footer"},s2=z1(()=>t("div",{class:"auto"},null,-1)),d2=["disabled"],l2=["disabled"],u2=T({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=f=>{f.preventDefault(),a.Close&&a.Close()},r=E(!1),c=E({shareName:"",username:"",password:"",rootPath:a.rootPath,allowLegacy:!1}),w=()=>{const f=c.value;if(f.rootPath==""){D.Warning(n("\u5171\u4EAB\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.shareName==""){D.Warning(n("\u5171\u4EAB\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.username==""){D.Warning(n("\u7528\u6237\u540D\u4E0D\u80FD\u4E3A\u7A7A"));return}if(f.password==""){D.Warning(n("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A"));return}const p=_t.checkSmabaUserName(f.username);if(p!==!0){D.Warning(`${p}`);return}x(f)},x=f=>I(this,null,function*(){r.value=!0;const p=D.Loading(n("\u521B\u5EFA\u4E2D..."));try{const m=yield P.Nas.Samba.Create.POST(f);if(m!=null&&m.data){const{error:b,result:h}=m.data;b&&D.Warning(b),h&&(D.Success(n("\u521B\u5EFA\u6210\u529F")),window.setTimeout(()=>{location.reload()},1e3))}}catch(m){D.Error(m)}p.Close(),r.value=!1});return(f,p)=>(s(),G(it,{type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[t("form",{class:"action",onSubmit:nt(w,["prevent"])},[t("div",T1,[t("div",I1,i(e(n)("Samba\u5171\u4EAB\u914D\u7F6E")),1)]),t("div",L1,[t("div",M1,[t("div",O1,[t("span",null,i(e(n)("\u670D\u52A1\u76EE\u5F55\u8DEF\u5F84")),1)]),t("div",N1,[t("input",{type:"text",value:c.value.rootPath,disabled:"",required:"",style:{backgroundColor:"#eee"}},null,8,q1)])]),t("div",V1,[t("div",G1,[t("span",null,i(e(n)("\u5171\u4EAB\u540D\uFF08\u5EFA\u8BAE\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\uFF09")),1)]),t("div",j1,[z(t("input",{type:"text","onUpdate:modelValue":p[0]||(p[0]=m=>c.value.shareName=m),required:"",placeholder:e(n)("\u5171\u4EAB\u540D\u79F0")},null,8,R1),[[Z,c.value.shareName,void 0,{trim:!0}]])])]),t("div",U1,[t("div",W1,[t("span",null,i(e(n)("\u7528\u6237\u540D")),1)]),t("div",H1,[z(t("input",{type:"text",required:"",placeholder:e(n)("\u8D26\u53F7\u7528\u6237\u540D"),"onUpdate:modelValue":p[1]||(p[1]=m=>c.value.username=m)},null,8,Z1),[[Z,c.value.username,void 0,{trim:!0}]])])]),t("div",J1,[t("div",X1,[t("span",null,i(e(n)("\u5BC6\u7801")),1)]),t("div",K1,[z(t("input",{type:"password","onUpdate:modelValue":p[2]||(p[2]=m=>c.value.password=m)},null,512),[[Z,c.value.password,void 0,{trim:!0}]])])]),t("div",Q1,[t("div",t2,[z(t("input",{type:"checkbox",id:"allow","onUpdate:modelValue":p[3]||(p[3]=m=>c.value.allowLegacy=m)},null,512),[[$t,c.value.allowLegacy]]),t("label",e2,i(e(n)("\u5141\u8BB8\u65E7\u534F\u8BAE\u4E0E\u8EAB\u4EFD\u9A8C\u8BC1(\u4E0D\u5B89\u5168)")),1)]),t("div",a2,[t("span",o2,[t("span",n2,[A(ft)]),t("span",i2,i(e(n)("\u517C\u5BB9\u4E00\u4E9B\u7535\u89C6\u6216\u8005\u7535\u89C6\u76D2\u5B50")),1)])])])]),t("div",r2,[s2,t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:l,disabled:r.value},i(e(n)("\u5173\u95ED")),9,d2),t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:r.value},i(e(n)("\u521B\u5EFA")),9,l2)])],40,P1)]),_:1})]),_:1}))}});var c2=S(u2,[["__scopeId","data-v-58844394"]]),p2=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(c2,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const Yt=o=>!Array.isArray(window.quickstart_features)||window.quickstart_features.indexOf(o)!=-1,f2={key:0,class:"action"},m2={class:"title"},v2={class:"desc"},b2={value:"linkease"},g2={value:"samba"},h2={value:"webdav"},_2=["innerHTML"],x2={class:"btns"},k2=["disabled"],w2=T({props:{setup:Number,Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!0),r=E("linkease"),c=E(!1),w=E(a.setup||0),x=()=>{a.Close&&a.Close()},f=()=>I(this,null,function*(){switch(r.value){case"webdav":yield p();break;case"samba":yield b();break;case"linkease":yield m();break}}),p=()=>I(this,null,function*(){c.value=!0,(yield ct.checkAndInstallApp("app-meta-gowebdav","GoWebdav"))&&h(),c.value=!1}),m=()=>I(this,null,function*(){c.value=!0,(yield ct.checkAndInstallApp("linkease",n("\u6613\u6709\u4E91"),"app-meta-linkease"))&&g(),c.value=!1}),b=()=>I(this,null,function*(){c.value=!0;const k=D.Loading(n("\u914D\u7F6E\u4E2D..."));h(),k.Close(),c.value=!1}),h=()=>{c.value=!1,l.value=!1,Kc({Cancel:()=>{l.value=!0},Next:k=>{switch(r.value){case"webdav":_(k);break;case"samba":v(k);break}}})},g=()=>{l1({}),x()},_=k=>{S1({rootPath:k}),x()},v=k=>{p2({rootPath:k}),x()};return(k,y)=>l.value?(s(),G(it,{key:0,Close:o.Close,type:1},{default:j(()=>[A(bt,{name:"rotate",mode:"out-in"},{default:j(()=>[w.value==0?(s(),d("div",f2,[t("h2",m2,i(e(n)("\u6B22\u8FCE\u4F7F\u7528 NAS \u914D\u7F6E\u5411\u5BFC")),1),t("h3",v2,i(e(n)("\u8BF7\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u7684NAS\u670D\u52A1")),1),t("form",null,[t("label",null,[z(t("select",{"onUpdate:modelValue":y[0]||(y[0]=F=>r.value=F)},[t("option",b2,i(e(n)("\u8DE8\u8BBE\u5907\u5171\u4EAB\uFF08\u6613\u6709\u4E91\uFF09")),1),t("option",g2,i(e(n)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08Samba\uFF09")),1),t("option",h2,i(e(n)("\u5C40\u57DF\u7F51\u6587\u4EF6\u5171\u4EAB\uFF08WebDAV\uFF09")),1)],512),[[Q,r.value]])])]),e(Yt)("unishare")?(s(),d("div",{key:0,class:"tips",innerHTML:e(n)("\u5982\u9700\u5BF9 Samba \u6216 WebDAV \u8FDB\u884C\u66F4\u7EC6\u81F4\u7684\u6743\u9650\u63A7\u5236\uFF0C\u8BF7\u4F7F\u7528\u201C%{unishare}\u201D",{unishare:''+e(n)("\u7EDF\u4E00\u6587\u4EF6\u5171\u4EAB")+""},!0)},null,8,_2)):$("",!0),t("div",x2,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:f,type:"button",disabled:c.value},i(e(n)("\u4E0B\u4E00\u6B65")),9,k2),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x,type:"button"},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0)]),_:1})]),_:1},8,["Close"])):$("",!0)}});var y2=S(w2,[["__scopeId","data-v-1d64dea6"]]),je=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(y2,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}};const F2={class:"app-container_linkease"},E2={class:"linkease-item"},C2={class:"linkease-item_name"},$2={class:"linkease-item_value"},D2={key:0,class:"configure"},B2={key:0,class:"linkease-item"},Y2={class:"linkease-item_name"},A2={class:"linkease-item_value"},S2=["href"],z2={href:" https://app.linkease.com/",target:"_blank"},P2=T({props:{linkease:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var c;return`http://${location.hostname}:${(c=a.linkease)==null?void 0:c.port}`}),r=()=>{je({setup:0})};return(c,w)=>{var x,f,p;return s(),d("ul",F2,[t("li",E2,[t("div",C2,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",$2,[(x=o.linkease)!=null&&x.enabel?(s(),d("span",D2,i(e(n)("\u5DF2\u914D\u7F6E")),1)):(s(),d("span",{key:1,class:"configure enabel",onClick:w[0]||(w[0]=m=>r())},i(e(n)("\u672A\u914D\u7F6E")),1))])]),(f=o.linkease)!=null&&f.enabel?(s(),d(L,{key:0},[(p=o.linkease)!=null&&p.port?(s(),d("li",B2,[t("div",Y2,[t("span",null,i(e(n)("\u670D\u52A1\u5730\u5740:")),1)]),t("div",A2,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,S2)])])):$("",!0)],64)):$("",!0),t("div",null,[t("a",z2,i(e(n)("\u4E0B\u8F7D\u6613\u6709\u4E91\u5BA2\u6237\u7AEF\uFF0C\u968F\u65F6\u968F\u5730\u76F8\u518C\u5907\u4EFD\u3001\u8FDC\u7A0B\u8BBF\u95EE")),1)])])}}});var T2=S(P2,[["__scopeId","data-v-55d1fac2"]]);const I2={class:"app-container"},L2={class:"app-container_title"},M2={class:"app-container_tool"},O2=["title"],N2={class:"DeviceBlock"},q2={href:"/cgi-bin/luci/admin/services/samba4"},V2={class:"app-container_body"},G2={class:"app-container_nas-menu"},j2=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=E(!1),l=E("linkease"),r=E(),c=Pe();(()=>{P.Nas.Service.Status.GET().then(m=>{var b;if((b=m==null?void 0:m.data)!=null&&b.result){const h=m.data.result;r.value=h,h.webdav&&(c.webdav=h.webdav)}})})();const x=()=>{je({setup:0})},f=()=>{u.value=!u.value},p=()=>{f(),ct.installAndGo("app-meta-gowebdav","GoWebDAV","/cgi-bin/luci/admin/nas/gowebdav")};return(m,b)=>{var g,_,v;const h=tt("GlHelp");return s(),d("div",I2,[t("div",L2,[t("span",null,[t("span",null,i(e(a)("\u5B58\u50A8\u670D\u52A1")),1),A(h,{type:"store"})]),t("div",M2,[t("div",{class:"app-container_configure",onClick:x},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u5B58\u50A8\u670D\u52A1\u4FE1\u606F")},[A(ht,{onClick:f})],8,O2)]),z(t("div",N2,[t("div",{class:"menu_background",onClick:f}),t("ul",null,[t("li",null,[t("a",q2,i(e(a)("SAMBA\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:p},i(e(a)("WebDAV\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[vt,u.value]])]),t("div",V2,[t("ul",G2,[t("button",{onClick:b[0]||(b[0]=k=>l.value="linkease"),class:st({on:l.value=="linkease"})},i(e(a)("\u6613\u6709\u4E91")),3),t("button",{onClick:b[1]||(b[1]=k=>l.value="samba"),class:st({on:l.value=="samba"})},i(e(a)("SAMBA")),3),t("button",{onClick:b[2]||(b[2]=k=>l.value="webdav"),class:st({on:l.value=="webdav"})},i(e(a)("WEBDAV")),3)]),l.value=="samba"?(s(),G(uc,{key:0,sambas:(g=r.value)==null?void 0:g.sambas},null,8,["sambas"])):l.value=="webdav"?(s(),G(Cc,{key:1,webdav:(_=r.value)==null?void 0:_.webdav},null,8,["webdav"])):l.value=="linkease"?(s(),G(T2,{key:2,linkease:(v=r.value)==null?void 0:v.linkease},null,8,["linkease"])):$("",!0)])])}}});var R2=S(j2,[["__scopeId","data-v-1e1fa308"]]);const U2=o=>(J("data-v-3b1e9470"),o=o(),X(),o),W2={class:"app-container_docker"},H2={class:"docker-item"},Z2={class:"docker-item_name"},J2={key:0,class:"docker-item_value"},X2={class:"configure"},K2={key:1,class:"docker-item_value"},Q2={class:"input-switch"},t5=["value","disabled"],e5=U2(()=>t("em",null,null,-1)),a5=[e5],o5={key:0,class:"docker-item"},n5={class:"docker-item_name"},i5={class:"docker-item_value"},r5={class:"configure enabel"},s5={key:0},d5={class:"tooltip-trigger"},l5={class:"docker_tip"},u5={class:"tooltip-text tooltip-top"},c5={class:"docker_dir_tip"},p5=T({props:{docker:{type:Object}},setup(o){var w;const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var x;return((x=a.docker)==null?void 0:x.status)!="not installed"}),r=lt({enable:((w=a.docker)==null?void 0:w.status)=="running",disabled:!1}),c=()=>I(this,null,function*(){r.disabled=!0;try{const x=yield P.Guide.DockerSwitch.POST({enable:r.enable});if(x!=null&&x.data){const{success:f,error:p}=x.data;if(p)throw r.enable=!r.enable,p;(f||0)==0}}catch(x){D.Warning(`${x}`)}finally{r.disabled=!1}});return(x,f)=>{var p,m,b,h;return s(),d("ul",W2,[t("li",H2,[t("div",Z2,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),(p=a.docker)!=null&&p.status?(s(),d(L,{key:0},[e(l)?(s(),d("div",K2,[t("label",Q2,[z(t("input",{type:"checkbox",hidden:"",value:!e(r).enable,"onUpdate:modelValue":f[0]||(f[0]=g=>e(r).enable=g),disabled:e(r).disabled,onChange:c},null,40,t5),[[$t,e(r).enable]]),t("span",{class:st(e(r).enable?"enable":"close")},a5,2)])])):(s(),d("div",J2,[t("span",X2,i(e(n)("\u672A\u5B89\u88C5")),1)]))],64)):$("",!0)]),((m=o.docker)==null?void 0:m.status)=="running"?(s(),d("li",o5,[t("div",n5,[t("span",null,i(e(n)("Docker\u6839\u76EE\u5F55\uFF1A")),1)]),t("div",i5,[t("span",r5,i((b=o.docker)==null?void 0:b.path),1),(h=o.docker)!=null&&h.errorInfo?(s(),d("span",s5,[t("span",d5,[t("span",l5,[A(ft)]),t("div",null,[t("div",u5,[t("span",c5,i(o.docker.errorInfo),1)])])])])):$("",!0)])])):$("",!0)])}}});var f5=S(p5,[["__scopeId","data-v-3b1e9470"]]);const m5={},v5={width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},b5=t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])],-1),g5=[b5];function h5(o,a){return s(),d("svg",v5,g5)}var _5=S(m5,[["render",h5]]);const x5={key:0,class:"action"},k5={class:"title"},w5={class:"desc"},y5={class:"roots"},F5={class:"roots_tit"},E5={class:"root"},C5={class:"move"},$5={class:"roots_tit"},D5={key:0},B5=["onSubmit"],Y5={class:"select-editable"},A5={selected:"",value:null},S5=["value"],z5={value:"useInput"},P5=["placeholder"],T5={key:1,class:"tips"},I5={class:"tips_content"},L5={class:"tip"},M5={key:0,class:"btns"},O5={key:1,class:"btns"},N5={key:1,class:"action docker_success"},q5={class:"title"},V5={class:"finished"},G5={class:"successed"},j5={class:"btns"},R5={key:2,class:"action docker_download"},U5={class:"title"},W5={class:"finished"},H5={class:"successed"},Z5={class:"docker_moves"},J5={class:"moves change"},X5={for:"move"},K5={class:"moves"},Q5={for:"cover"},t6={class:"btns"},e6=T({props:{rootPath:{type:String,required:!0},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(),r=E(),c=E(0),w=E("null"),x=E(""),f=E(),p=E(!1),m=E("");(()=>{P.Nas.Disk.Status.GET().then(F=>{F!=null&&F.data.result&&(f.value=F==null?void 0:F.data.result)}),P.Guide.DockerStatus.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const N=F.data.result;l.value=N}}),P.Guide.DockerPartitionList.GET().then(F=>{var Y;if((Y=F==null?void 0:F.data)!=null&&Y.result){const N=F.data.result;r.value=N}})})();const h=F=>{let Y=w.value;if(Y=="useInput"&&(Y=x.value),Y==null||Y=="null"||Y=="")return;const N=D.Loading(n("\u6B63\u5728\u8FC1\u79FB\u4E2D..."));P.Guide.DockerTransfer.POST({path:Y,force:F,overwriteDir:!!m.value}).then(C=>{var B;if(C!=null&&C.data){if((C.data.success||0)==0){if((B=C.data.result)!=null&&B.emptyPathWarning){p.value=!0,c.value=2;return}c.value=1;return}else if(C.data.error)throw C.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(C=>{D.Error(C)}).finally(()=>N.Close())},g=()=>{p.value=!1,h(!1)},_=F=>{F.preventDefault(),a.Close&&a.Close()},v=F=>{F.preventDefault(),location.reload()},k=F=>{F.preventDefault(),c.value=0},y=F=>{F.preventDefault(),h(!0)};return(F,Y)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>{var N,C,B,M,W,V;return[c.value==0?(s(),d("div",x5,[t("h2",k5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("p",w5,i(e(n)("\u5F53\u7CFB\u7EDF\u6839\u76EE\u5F55\u7A7A\u95F4\u4E0D\u8DB3\u65F6\uFF0C\u53EF\u5C06Docker\u6839\u76EE\u5F55\u8FC1\u79FB\u5230\u5916\u7F6E\u786C\u76D8\uFF0C\u4EE5\u4FDD\u8BC1\u7CFB\u7EDF\u7684\u6B63\u5E38\u8FD0\u884C\uFF08\u76EE\u6807\u5206\u533A\u4E0D\u652F\u6301NTFS\uFF0CFAT\u7B49\u6587\u4EF6\u7CFB\u7EDF\uFF09")),1),t("div",y5,[t("span",F5,i(e(n)("Docker\u6839\u76EE\u5F55\uFF1A")),1),t("span",E5,i((N=l.value)==null?void 0:N.path),1)]),t("div",C5,[t("span",$5,i(e(n)("\u8FC1\u79FB\u5230\uFF1A")),1),(B=(C=r.value)==null?void 0:C.partitionList)!=null&&B.length?(s(),d("div",D5,[t("form",{onSubmit:nt(g,["prevent"])},[t("label",null,[t("div",Y5,[z(t("select",{"onUpdate:modelValue":Y[0]||(Y[0]=H=>w.value=H)},[t("option",A5,i(e(n)("\u8BF7\u9009\u62E9\u8FC1\u79FB\u8DEF\u5F84")),1),(s(!0),d(L,null,R((M=r.value)==null?void 0:M.partitionList,(H,rt)=>(s(),d("option",{value:H,key:rt},i(H),9,S5))),128)),t("option",z5,i(e(n)("- -\u81EA\u5B9A\u4E49- -")),1)],512),[[Q,w.value,void 0,{trim:!0}]]),w.value=="useInput"?z((s(),d("input",{key:0,type:"text","onUpdate:modelValue":Y[1]||(Y[1]=H=>x.value=H),required:"",placeholder:e(n)("\u8BF7\u8F93\u5165\u8FC1\u79FB\u8DEF\u5F84")},null,8,P5)),[[Z,x.value,void 0,{trim:!0}]]):$("",!0)])])],40,B5)])):r.value?(s(),d("div",T5,[t("div",I5,[A(ft),t("span",L5,i(e(n)("\u68C0\u6D4B\u5230\u60A8\u8FD8\u6CA1\u6709\u6302\u8F7D\u5916\u7F6E\u786C\u76D8\u6216\u5206\u533A\u5C0F\u4E8E8GB\uFF0C\u9700\u8981\u60A8\u63A5\u4E0A\u786C\u76D8\u5E76\u683C\u5F0F\u5316\u6216\u624B\u52A8\u6302\u8F7D\u786C\u76D8\u540E\uFF0C\u518D\u6267\u884CDocker\u8FC1\u79FB\u5411\u5BFC\uFF0C\u5C06Docker\u8FC1\u79FB\u5230\u76EE\u6807\u786C\u76D8\u3002")),1)])])):$("",!0)]),(V=(W=r.value)==null?void 0:W.partitionList)!=null&&V.length?(s(),d("div",M5,[t("button",{class:"cbi-button cbi-button-apply",onClick:g},i(e(n)("\u786E\u5B9A")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:_},i(e(n)("\u53D6\u6D88")),1)])):(s(),d("div",O5,[t("button",{class:"cbi-button cbi-button-apply",onClick:_},i(e(n)("\u786E\u5B9A")),1)]))])):c.value==1?(s(),d("div",N5,[t("h2",q5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",V5,[A(me)]),t("p",G5,i(e(n)("\u8FC1\u79FB\u6210\u529F\uFF01")),1),t("div",j5,[t("button",{class:"cbi-button cbi-button-apply",onClick:v},i(e(n)("\u786E\u5B9A")),1)])])):c.value==2?(s(),d("div",R5,[t("h2",U5,i(e(n)("Docker\u8FC1\u79FB\u5411\u5BFC")),1),t("div",W5,[A(_5)]),t("p",H5,i(e(n)("\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0D\u4E3A\u7A7A")),1),t("div",Z5,[t("div",J5,[z(t("input",{type:"radio",id:"move",name:"moves","onUpdate:modelValue":Y[2]||(Y[2]=H=>m.value=H),value:""},null,512),[[ut,m.value]]),t("label",X5,i(e(n)("\u66F4\u6362\u76EE\u5F55\uFF08\u4E0D\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u4EC5\u5C06Docker\u76EE\u5F55\u4FEE\u6539\u4E3A\u76EE\u6807\u8DEF\u5F84\uFF09")),1)]),t("div",K5,[z(t("input",{type:"radio",id:"cover",name:"moves","onUpdate:modelValue":Y[3]||(Y[3]=H=>m.value=H),value:"true"},null,512),[[ut,m.value]]),t("label",Q5,i(e(n)("\u8986\u76D6\u8FC1\u79FB\uFF08\u8986\u76D6\u76EE\u6807\u8DEF\u5F84\uFF0C\u7EE7\u7EED\u8FC1\u79FB\u4F1A\u6E05\u7A7A\u8BE5\u76EE\u6807\u8DEF\u5F84\u4E0B\u7684\u6587\u4EF6\uFF09")),1)])]),t("div",t6,[p.value?(s(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:y},i(e(n)("\u786E\u5B9A")),1)):$("",!0),t("button",{class:"cbi-button cbi-button-apply",onClick:k},i(e(n)("\u8FD4\u56DE")),1),p.value?$("",!0):(s(),d("button",{key:1,class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:v},i(e(n)("\u53D6\u6D88")),1))])])):$("",!0)]}),_:1},8,["Close"]))}});var a6=S(e6,[["__scopeId","data-v-919e529c"]]);const o6=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(a6,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},n6=o=>(J("data-v-fcb97952"),o=o(),X(),o),i6={class:"app-container"},r6={class:"app-container_title"},s6=n6(()=>t("span",null,"Docker",-1)),d6={key:0,class:"app-container_tool"},l6=["title"],u6={class:"DeviceBlock"},c6={href:"/cgi-bin/luci/admin/docker/overview"},p6={key:1,class:"loading_placeholder"},f6=T({props:{docker:{type:Object}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=E(!1),l=E(),r=E(!1),c=()=>{r.value=!r.value},w=()=>{o6()};return setTimeout(()=>{P.Guide.DockerStatus.GET().then(f=>{var p;if((p=f==null?void 0:f.data)!=null&&p.result){const m=f.data.result;l.value=m}}).finally(()=>{u.value=!0})},1100),(f,p)=>{var h,g;const m=tt("GlHelp"),b=tt("icon-loading");return s(),d("div",i6,[t("div",r6,[t("span",null,[s6,A(m,{type:"docker"})]),u.value?(s(),d("div",d6,[((h=l.value)==null?void 0:h.status)!="not installed"?(s(),d("div",{key:0,class:"app-container_configure",onClick:w},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1)):$("",!0),((g=l.value)==null?void 0:g.status)==="running"?(s(),d("span",{key:1,class:"more_icon",title:e(a)("Docker\u7BA1\u7406")},[A(ht,{onClick:c})],8,l6)):$("",!0)])):$("",!0),z(t("div",u6,[t("div",{class:"menu_background",onClick:c}),t("ul",null,[t("li",null,[t("a",c6,i(e(a)("Docker\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[vt,r.value]])]),t("div",null,[u.value?(s(),G(f5,{key:0,docker:l.value},null,8,["docker"])):(s(),d("div",p6,[A(b,{size:50,color:"currentColor"})]))])])}}});var m6=S(f6,[["__scopeId","data-v-fcb97952"]]);const v6={class:"app-container_aria2"},b6={class:"aria2-item"},g6={class:"aria2-item_name"},h6={class:"aria2-item_value"},_6={key:0,class:"configure"},x6={key:1,class:"configure enabel"},k6={class:"aria2-item"},w6={class:"aria2-item_name"},y6={class:"aria2-item_value"},F6=["href"],E6={class:"aria2-item"},C6={class:"aria2-item_name"},$6={class:"aria2-item_value"},D6=["href"],B6={class:"aria2-item"},Y6={class:"aria2-item_name right"},A6={class:"aria2-item_value"},S6=["href"],z6={class:"use-url_app"},P6={href:"https://doc.linkease.com/zh/guide/linkease_app/tutorial.html#%E8%BF%9C%E7%A8%8B%E4%B8%8B%E8%BD%BD",target:"_blank"},T6=T({props:{aria2:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var c;return`${location.origin}${(c=a.aria2)==null?void 0:c.webPath}`}),r=U(()=>{var x,f,p;let c=(x=a.aria2)==null?void 0:x.rpcToken;c?c=encodeURIComponent(btoa(c)):c="";const w=encodeURIComponent(location.hostname);return`${location.origin}${(f=a.aria2)==null?void 0:f.webPath}/#!/settings/rpc/set/http/${w}/${(p=a.aria2)==null?void 0:p.rpcPort}/jsonrpc/${c}`});return(c,w)=>{var x,f,p,m;return s(),d("ul",v6,[t("li",b6,[t("div",g6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",h6,[((x=o.aria2)==null?void 0:x.status)=="running"?(s(),d("span",_6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),d("span",x6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((f=o.aria2)==null?void 0:f.status)=="running"?(s(),d(L,{key:0},[t("li",k6,[t("div",w6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",y6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((p=o.aria2)==null?void 0:p.downloadPath)},i((m=o.aria2)==null?void 0:m.downloadPath),9,F6)])]),t("li",E6,[t("div",C6,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",$6,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,D6)])]),t("li",B6,[t("div",Y6,[t("span",null,i(e(n)("\u8BA4\u8BC1\u5931\u8D25\uFF1F")),1)]),t("div",A6,[t("a",{href:e(r),target:"_blank",rel:"noopener noreferrer"},i(e(n)("\u70B9\u6B64\u81EA\u52A8\u914D\u7F6E AriaNg")),9,S6)])])],64)):$("",!0),t("div",z6,[t("a",P6,i(e(n)("\u4F7F\u7528\u6613\u6709\u4E91APP\uFF0C\u968F\u65F6\u968F\u5730\u8FDC\u7A0B\u4E0B\u8F7D")),1)])])}}});var I6=S(T6,[["__scopeId","data-v-40652d1d"]]);const L6={class:"app-container_qbittorrent"},M6={class:"qbittorrent-item"},O6={class:"qbittorrent-item_name"},N6={class:"qbittorrent-item_value"},q6={key:0,class:"configure"},V6={key:1,class:"configure enabel"},G6={class:"qbittorrent-item"},j6={class:"qbittorrent-item_name"},R6={class:"qbittorrent-item_value"},U6=["href"],W6={class:"qbittorrent-item"},H6={class:"qbittorrent-item_name"},Z6={class:"qbittorrent-item_value"},J6=["href"],X6={class:"qbittorrent-item"},K6={class:"qbittorrent-item_name right"},Q6={class:"qbittorrent-item_value"},t3=T({props:{qbittorrent:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var r;return`http://${location.hostname}${(r=a.qbittorrent)==null?void 0:r.webPath}`});return(r,c)=>{var w,x,f,p;return s(),d("ul",L6,[t("li",M6,[t("div",O6,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",N6,[((w=o.qbittorrent)==null?void 0:w.status)=="running"?(s(),d("span",q6,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),d("span",V6,i(e(n)("\u672A\u542F\u52A8")),1))])]),((x=o.qbittorrent)==null?void 0:x.status)=="running"?(s(),d(L,{key:0},[t("li",G6,[t("div",j6,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",R6,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.qbittorrent)==null?void 0:f.downloadPath)},i((p=o.qbittorrent)==null?void 0:p.downloadPath),9,U6)])]),t("li",W6,[t("div",H6,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",Z6,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,J6)])]),t("li",X6,[t("div",K6,[t("span",null,i(e(n)("\u9ED8\u8BA4\u7528\u6237\u540D\uFF1A"))+"admin",1)]),t("div",Q6,[t("span",null,i(e(n)("\u9ED8\u8BA4\u5BC6\u7801\uFF1A"))+"adminadmin",1)])])],64)):$("",!0)])}}});var e3=S(t3,[["__scopeId","data-v-96972a5a"]]);const a3={class:"app-container_transmission"},o3={class:"transmission-item"},n3={class:"transmission-item_name"},i3={class:"transmission-item_value"},r3={key:0,class:"configure"},s3={key:1,class:"configure enabel"},d3={class:"transmission-item"},l3={class:"transmission-item_name"},u3={class:"transmission-item_value"},c3=["href"],p3={class:"transmission-item"},f3={class:"transmission-item_name"},m3={class:"transmission-item_value"},v3=["href"],b3=T({props:{transmission:{type:Object}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=U(()=>{var r;return`http://${location.hostname}${(r=a.transmission)==null?void 0:r.webPath}`});return(r,c)=>{var w,x,f,p;return s(),d("ul",a3,[t("li",o3,[t("div",n3,[t("span",null,i(e(n)("\u5F53\u524D\u72B6\u6001:")),1)]),t("div",i3,[((w=o.transmission)==null?void 0:w.status)=="running"?(s(),d("span",r3,i(e(n)("\u5DF2\u542F\u52A8")),1)):(s(),d("span",s3,i(e(n)("\u672A\u542F\u52A8")),1))])]),((x=o.transmission)==null?void 0:x.status)=="running"?(s(),d(L,{key:0},[t("li",d3,[t("div",l3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55:")),1)]),t("div",u3,[t("a",{target:"_blank",href:"/cgi-bin/luci/admin/services/linkease/file/?path=/root"+((f=o.transmission)==null?void 0:f.downloadPath)},i((p=o.transmission)==null?void 0:p.downloadPath),9,c3)])]),t("li",p3,[t("div",f3,[t("span",null,i(e(n)("\u7F51\u7EDC\u5730\u5740:")),1)]),t("div",m3,[t("a",{href:e(l),target:"_blank",rel:"noopener noreferrer"},i(e(l)),9,v3)])])],64)):$("",!0)])}}});var g3=S(b3,[["__scopeId","data-v-05c8d77a"]]);const h3={},_3={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"},x3=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),k3=[x3];function w3(o,a){return s(),d("svg",_3,k3)}var Et=S(h3,[["render",w3]]);const ie=o=>(J("data-v-7b328460"),o=o(),X(),o),y3={key:0,class:"action"},F3={class:"title"},E3={class:"load_service input_row"},C3={class:"left"},$3={class:"radios"},D3=ie(()=>t("label",{for:"Aria2"},"Aria2",-1)),B3={class:"radios"},Y3=ie(()=>t("label",{for:"qB"},"qBittorrent",-1)),A3={class:"radios"},S3=ie(()=>t("label",{for:"Tr"},"Transmission",-1)),z3=["onSubmit"],P3={class:"input_row"},T3={class:"left"},I3={class:"tooltip-trigger"},L3={class:"tooltip-text tooltip-top"},M3={class:"dowload_dir_tip"},O3={class:"myinput_wrap"},N3={class:"input_row"},q3={class:"left"},V3={class:"tooltip-trigger"},G3={class:"tooltip-text tooltip-top"},j3={class:"dowload_dir_tip"},R3={class:"myinput_wrap"},U3={class:"input_row"},W3={class:"left"},H3={class:"tooltip-trigger"},Z3={class:"tooltip-text tooltip-bottom"},J3={class:"dowload_rpc_tip"},X3=["placeholder"],K3={class:"input_row"},Q3={class:""},tp={class:"radios"},ep={for:"default"},ap={class:"radios"},op={for:"add"},np={class:"input_row"},ip=ie(()=>t("div",{class:"left"},null,-1)),rp={class:"myinput_wrap Tracker_input"},sp=["placeholder"],dp=["onSubmit"],lp={class:"input_row"},up={class:"left"},cp={class:"tooltip-trigger"},pp={class:"tooltip-text tooltip-top"},fp={class:"dowload_dir_tip"},mp={class:"myinput_wrap"},vp={class:"input_row"},bp={class:"left"},gp={class:"tooltip-trigger"},hp={class:"tooltip-text tooltip-top"},_p={class:"dowload_dir_tip"},xp={class:"myinput_wrap"},kp=["onSubmit"],wp={class:"input_row"},yp={class:"left"},Fp={class:"tooltip-trigger"},Ep={class:"tooltip-text tooltip-top"},Cp={class:"dowload_dir_tip"},$p={class:"myinput_wrap"},Dp={class:"input_row"},Bp={class:"left"},Yp={class:"tooltip-trigger"},Ap={class:"tooltip-text tooltip-top"},Sp={class:"dowload_dir_tip"},zp={class:"myinput_wrap"},Pp={class:"btns"},Tp={key:1,class:"action"},Ip={class:"title"},Lp={class:"finished"},Mp={class:"successed"},Op={class:"btns"},Np=T({props:{services:{type:Object,required:!0},partitionList:{type:Array,required:!0},defaultTab:{type:String,required:!1},Close:Function},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(""),r=E(""),c=E(""),w=E(""),x=E("default"),f=E("Aria2"),p=E(""),m=E(""),b=E(""),h=E(""),g=E([]),_=E([]),v=E(0);xt(()=>{var V,H,rt,Tt,It,Lt,Dt,xe,ke,we;switch(a.defaultTab){case"aria2":f.value="Aria2";break;case"qbittorrent":f.value="qBittorrent";break;case"transmission":f.value="Transmission";break}g.value=a.partitionList.map(Mt=>({key:Mt})),_.value=a.partitionList.filter(Mt=>Mt.startsWith("/mnt/")).map(Mt=>Mt.replace(/(\/mnt\/[^/]+).*/,"$1")),c.value=((V=a.services.aria2)==null?void 0:V.configPath)||"";const C=((H=a.services.aria2)==null?void 0:H.downloadPath)||((rt=a.services.qbittorrent)==null?void 0:rt.downloadPath)||((Tt=a.services.transmission)==null?void 0:Tt.downloadPath);C&&(w.value=C);const B=(It=a.services.aria2)==null?void 0:It.rpcToken;B&&(l.value=B),p.value=((Lt=a.services.qbittorrent)==null?void 0:Lt.configPath)||"";const M=((Dt=a.services.qbittorrent)==null?void 0:Dt.downloadPath)||C||((xe=a.services.transmission)==null?void 0:xe.downloadPath);M&&(m.value=M),b.value=((ke=a.services.transmission)==null?void 0:ke.configPath)||"";const W=((we=a.services.transmission)==null?void 0:we.downloadPath)||C||M;W&&(h.value=W)});const k=()=>{let C=c.value,B=w.value;C==null||C==""||B==null||B==""||I(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-aria2","Aria2")){const W=D.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.Aria2Init.POST({configPath:C,downloadPath:B,rpcToken:l.value,btTracker:x.value=="add"?r.value:""}).then(V=>{var H;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((H=V.data)!=null&&H.error)throw V.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(V=>D.Error(V)).finally(()=>W.Close())}})},y=()=>{let C=p.value,B=m.value;C==null||C==""||B==null||B==""||I(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-qbittorrent","qBittorrent")){const W=D.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.qbitorrentInit.POST({configPath:C,downloadPath:B}).then(V=>{var H;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((H=V.data)!=null&&H.error)throw V.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(V=>D.Error(V)).finally(()=>W.Close())}})},F=()=>{let C=b.value,B=h.value;C==null||C==""||B==null||B==""||I(this,null,function*(){if(yield ct.checkAndInstallApp("app-meta-transmission","Transmission")){const W=D.Loading(n("\u914D\u7F6E\u4E2D..."));P.Guide.transmissionInit.POST({configPath:C,downloadPath:B}).then(V=>{var H;if(V!=null&&V.data){if((V.data.success||0)==0){v.value=1;return}else if((H=V.data)!=null&&H.error)throw V.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(V=>D.Error(V)).finally(()=>W.Close())}})},Y=C=>{C.preventDefault(),a.Close&&a.Close()},N=C=>{C.preventDefault(),location.reload()};return(C,B)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[v.value==0?(s(),d("div",y3,[t("h2",F3,i(e(n)("\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC")),1),t("ul",null,[t("li",null,[t("div",E3,[t("div",C3,[t("span",null,i(e(n)("\u4E0B\u8F7D\u670D\u52A1\uFF1A")),1)]),t("div",$3,[z(t("input",{type:"radio",value:"Aria2","onUpdate:modelValue":B[0]||(B[0]=M=>f.value=M),name:"download",id:"Aria2"},null,512),[[ut,f.value]]),D3]),t("div",B3,[z(t("input",{type:"radio",value:"qBittorrent","onUpdate:modelValue":B[1]||(B[1]=M=>f.value=M),name:"download",id:"qB"},null,512),[[ut,f.value]]),Y3]),t("div",A3,[z(t("input",{type:"radio",value:"Transmission","onUpdate:modelValue":B[2]||(B[2]=M=>f.value=M),name:"download",id:"Tr"},null,512),[[ut,f.value]]),S3])])])]),f.value=="Aria2"?(s(),d("form",{key:0,onSubmit:nt(k,["prevent"])},[t("ul",null,[t("li",null,[t("div",P3,[t("div",T3,[t("span",I3,[A(Et),t("div",null,[t("div",L3,[t("span",M3,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/aria2\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",O3,[A(Ct,{modelValue:c.value,"onUpdate:modelValue":B[3]||(B[3]=M=>c.value=M),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:_.value.concat("/root").map(M=>({key:M+"/Configs/aria2"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",N3,[t("div",q3,[t("span",V3,[A(Et),t("div",null,[t("div",G3,[t("span",j3,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",R3,[A(Ct,{modelValue:w.value,"onUpdate:modelValue":B[4]||(B[4]=M=>w.value=M),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",U3,[t("div",W3,[t("span",H3,[A(Et),t("div",null,[t("div",Z3,[t("span",J3,i(e(n)("\u7528\u4E8E\u8FDC\u7A0B\u8BBF\u95EE\u7684\u4EE4\u724C\u3002")),1)])])]),t("span",null,i(e(n)("RPC \u4EE4\u724C\uFF1A")),1)]),z(t("input",{type:"text",class:"RPC_input",placeholder:e(n)("\u8BF7\u8F93\u5165RPC\u4EE4\u724C"),"onUpdate:modelValue":B[5]||(B[5]=M=>l.value=M)},null,8,X3),[[Z,l.value,void 0,{trim:!0}]])])]),t("li",null,[t("div",K3,[t("div",Q3,[t("span",null,i(e(n)("\u9644\u52A0\u7684 BT Tracker\uFF1A")),1)]),t("div",tp,[z(t("input",{type:"radio",value:"default",name:"BT",id:"default","onUpdate:modelValue":B[6]||(B[6]=M=>x.value=M)},null,512),[[ut,x.value]]),t("label",ep,i(e(n)("\u9ED8\u8BA4")),1)]),t("div",ap,[z(t("input",{type:"radio",value:"add",name:"BT",id:"add","onUpdate:modelValue":B[7]||(B[7]=M=>x.value=M)},null,512),[[ut,x.value]]),t("label",op,i(e(n)("\u81EA\u5DF1\u6DFB\u52A0")),1)])])]),t("li",null,[t("div",np,[ip,t("div",rp,[x.value=="add"?z((s(),d("textarea",{key:0,"onUpdate:modelValue":B[8]||(B[8]=M=>r.value=M),rows:"4",placeholder:e(n)("\u8BF7\u8F93\u5165BT Tracker\u670D\u52A1\u5668\u5730\u5740\uFF0C\u591A\u4E2A\u5730\u5740\u4F7F\u7528\u6362\u884C\u6216\u8005\u82F1\u6587\u9017\u53F7\u5206\u9694")},null,8,sp)),[[Z,r.value,void 0,{trim:!0}]]):$("",!0)])])])])],40,z3)):$("",!0),f.value=="qBittorrent"?(s(),d("form",{key:1,onSubmit:nt(y,["prevent"])},[t("ul",null,[t("li",null,[t("div",lp,[t("div",up,[t("span",cp,[A(Et),t("div",null,[t("div",pp,[t("span",fp,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/qb\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",mp,[A(Ct,{modelValue:p.value,"onUpdate:modelValue":B[9]||(B[9]=M=>p.value=M),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:_.value.concat("/root").map(M=>({key:M+"/Configs/qb"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",vp,[t("div",bp,[t("span",gp,[A(Et),t("div",null,[t("div",hp,[t("span",_p,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",xp,[A(Ct,{modelValue:m.value,"onUpdate:modelValue":B[10]||(B[10]=M=>m.value=M),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])])])],40,dp)):$("",!0),f.value=="Transmission"?(s(),d("form",{key:2,onSubmit:nt(F,["prevent"])},[t("ul",null,[t("li",null,[t("div",wp,[t("div",yp,[t("span",Fp,[A(Et),t("div",null,[t("div",Ep,[t("span",Cp,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u914D\u7F6E\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/Configs/tr\uFF1B\u8BF7\u52FF\u4F7F\u7528 /tmp \u6216 /var \uFF0C\u4EE5\u514D\u91CD\u542F\u4EE5\u540E\u4EFB\u52A1\u4E22\u5931")),1)])])]),t("span",null,i(e(n)("\u914D\u7F6E\u76EE\u5F55\uFF1A")),1)]),t("div",$p,[A(Ct,{modelValue:b.value,"onUpdate:modelValue":B[11]||(B[11]=M=>b.value=M),modelModifiers:{trim:!0},title:e(n)("\u914D\u7F6E\u76EE\u5F55"),options:_.value.concat("/root").map(M=>({key:M+"/Configs/transmission"}))},null,8,["modelValue","title","options"])])])]),t("li",null,[t("div",Dp,[t("div",Bp,[t("span",Yp,[A(Et),t("div",null,[t("div",Ap,[t("span",Sp,i(e(n)("\u7528\u4E8E\u653E\u7F6E\u4E0B\u8F7D\u6587\u4EF6\u7684\u76EE\u5F55\u3002\u4F8B\u5982\uFF1A/mnt/sda1/download")),1)])])]),t("span",null,i(e(n)("\u4E0B\u8F7D\u76EE\u5F55\uFF1A")),1)]),t("div",zp,[A(Ct,{modelValue:h.value,"onUpdate:modelValue":B[12]||(B[12]=M=>h.value=M),modelModifiers:{trim:!0},title:e(n)("\u4E0B\u8F7D\u76EE\u5F55"),options:g.value},null,8,["modelValue","title","options"])])])])])],40,kp)):$("",!0),t("div",Pp,[f.value=="Aria2"?(s(),d("button",{key:0,class:"cbi-button cbi-button-apply",onClick:k},i(e(n)("\u542F\u7528")),1)):$("",!0),f.value=="qBittorrent"?(s(),d("button",{key:1,class:"cbi-button cbi-button-apply",onClick:y},i(e(n)("\u542F\u7528")),1)):$("",!0),f.value=="Transmission"?(s(),d("button",{key:2,class:"cbi-button cbi-button-apply",onClick:F},i(e(n)("\u542F\u7528")),1)):$("",!0),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:Y},i(e(n)("\u53D6\u6D88")),1)])])):v.value==1?(s(),d("div",Tp,[t("h2",Ip,i(e(n)("%{status}\u4E0B\u8F7D\u670D\u52A1\u914D\u7F6E\u5411\u5BFC",{status:f.value})),1),t("div",Lp,[A(me)]),t("p",Mp,i(e(n)("\u914D\u7F6E\u6210\u529F\uFF01")),1),t("div",Op,[t("button",{class:"cbi-button cbi-button-apply",onClick:N},i(e(n)("\u786E\u5B9A")),1)])])):$("",!0)]),_:1},8,["Close"]))}});var qp=S(Np,[["__scopeId","data-v-7b328460"]]);const Vp=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(qp,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},Gp={class:"app-container"},jp={class:"app-container_title"},Rp={class:"app-container_tool"},Up=["disabled"],Wp=["title"],Hp={class:"DeviceBlock"},Zp={class:"app-container_body"},Jp={class:"app-container_nas-menu"},Xp=T({setup(o){const{$gettext:a,$ngettext:n}=q();E(!1);const u=E("aria2"),l=E();Pe(),setTimeout(()=>{P.Guide.DownloadService.Status.GET().then(g=>{var _;if((_=g==null?void 0:g.data)!=null&&_.result){const v=g.data.result;l.value=v}})},800);const c=E(!1),w=E(!1),x=()=>{w.value=!w.value},f=()=>{P.Guide.DownloadPartition.List.GET().then(g=>{var v,k;let _=[];(k=(v=g==null?void 0:g.data)==null?void 0:v.result)!=null&&k.partitionList&&(_=g.data.result.partitionList),Vp({services:l.value,partitionList:_,defaultTab:u.value})})},p=(g,_,v)=>I(this,null,function*(){x(),ct.installAndGo(g,_,v)}),m=()=>{p("app-meta-aria2","Aria2","/cgi-bin/luci/admin/services/aria2")},b=()=>{p("app-meta-qbittorrent","qBittorrent","/cgi-bin/luci/admin/nas/qBittorrent")},h=()=>{p("app-meta-transmission","Transmission","/cgi-bin/luci/admin/services/transmission")};return(g,_)=>{var k,y,F;const v=tt("GlHelp");return s(),d("div",Gp,[t("div",jp,[t("span",null,[t("span",null,i(e(a)("\u4E0B\u8F7D\u670D\u52A1")),1),A(v,{type:"download"})]),t("div",Rp,[l.value?(s(),d("div",{key:0,class:"app-container_configure",onClick:f,disabled:c.value},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),9,Up)):$("",!0),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u9AD8\u7EA7\u914D\u7F6E")},[A(ht,{onClick:x})],8,Wp)]),z(t("div",Hp,[t("div",{class:"menu_background",onClick:x}),t("ul",null,[t("li",null,[t("a",{onClick:m},i(e(a)("Aria2\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:b},i(e(a)("qBittorrent\u9AD8\u7EA7\u914D\u7F6E")),1)]),t("li",null,[t("a",{onClick:h},i(e(a)("Transmission\u9AD8\u7EA7\u914D\u7F6E")),1)])])],512),[[vt,w.value]])]),t("div",Zp,[t("ul",Jp,[t("button",{onClick:_[0]||(_[0]=Y=>u.value="aria2"),class:st({on:u.value=="aria2"})},"Aria2",2),t("button",{onClick:_[1]||(_[1]=Y=>u.value="qbittorrent"),class:st({on:u.value=="qbittorrent"})},"qBittorrent",2),t("button",{onClick:_[2]||(_[2]=Y=>u.value="transmission"),class:st({on:u.value=="transmission"})},"Transmission",2)]),u.value=="aria2"?(s(),G(I6,{key:0,aria2:(k=l.value)==null?void 0:k.aria2},null,8,["aria2"])):u.value=="qbittorrent"?(s(),G(e3,{key:1,qbittorrent:(y=l.value)==null?void 0:y.qbittorrent},null,8,["qbittorrent"])):u.value=="transmission"?(s(),G(g3,{key:2,transmission:(F=l.value)==null?void 0:F.transmission},null,8,["transmission"])):$("",!0)])])}}});var Kp=S(Xp,[["__scopeId","data-v-602f6713"]]);const Qp={class:"actioner-container"},t8={class:"actioner-container_header"},e8={class:"actioner-container_body"},a8={class:"label-item"},o8={class:"label_info"},n8={class:"label-item"},i8={class:"label_info"},r8={class:"label-item"},s8={class:"label_info"},d8={class:"label-item"},l8={class:"label_info"},u8={class:"actioner-container_footer"},c8=T({props:{onSetup:{type:Function,required:!0},active:{type:String,default:"ddnsto"}},emits:["update:active"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=()=>{n.onSetup()},c=E(n.active),w=()=>{switch(a("update:active",c.value),c.value){case"ddnsto":n.onSetup("ddnsto");break;case"ali":n.onSetup("ddns-ali");break;case"dnspod":n.onSetup("ddns-dnspod");break;case"oray":n.onSetup("ddns-oray");break}};return(x,f)=>(s(),d("div",Qp,[t("div",t8,[t("span",null,i(e(u)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",e8,[t("div",a8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[0]||(f[0]=p=>c.value=p),value:"ddnsto"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("DDNSTO")),1)]),t("p",o8,i(e(u)("DDNSTO \u662F\u4E00\u4E2A\u4E0D\u9700\u8981\u516C\u7F51IP\u4E5F\u53EF\u4EE5\u5728\u5916\u7F51\u8BBF\u95EE\u7684\u7A7F\u900F\u57DF\u540D\u670D\u52A1\uFF0C\u4E00\u4E2A\u6D4F\u89C8\u5668\u641E\u5B9A\u5185\u7F51\u7A7F\u900F\uFF0C\u8FDC\u7A0B\u8BBF\u95EEOpenwrt\u3001\u8FDC\u7A0B\u7EC8\u7AEF\u3001\u8FDC\u7A0B\u684C\u9762...")),1)]),t("div",n8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[1]||(f[1]=p=>c.value=p),value:"ali"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("\u963F\u91CC\u4E91")),1)]),t("p",i8,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",r8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[2]||(f[2]=p=>c.value=p),value:"dnspod"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("Dnspod")),1)]),t("p",s8,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)]),t("div",d8,[t("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":f[3]||(f[3]=p=>c.value=p),value:"oray"},null,512),[[ut,c.value]]),t("span",null,i(e(u)("\u82B1\u751F\u58F3")),1)]),t("p",l8,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1)])]),t("div",u8,[t("div",{class:"close",onClick:r},i(e(u)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:w},i(e(u)("\u4E0B\u4E00\u6B65")),1)])]))}});var p8=S(c8,[["__scopeId","data-v-46dd945e"]]);const f8=o=>(J("data-v-b760733a"),o=o(),X(),o),m8={class:"actioner-container"},v8={class:"actioner-container_body"},b8=f8(()=>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)),g8={class:"body-title"},h8={class:"body-tips"},_8={class:"body-info"},x8=["href"],k8={href:"/cgi-bin/luci/admin/services/ddns",target:"_blank"},w8={class:"actioner-container_footer"},y8=T({props:{target:{type:String,required:!0},onSetup:{type:Function,required:!0}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(l,r)=>(s(),d("div",m8,[t("div",v8,[b8,t("div",g8,i(e(a)("\u6DFB\u52A0\u6210\u529F")),1),t("p",h8,i(e(a)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",_8,[t("span",null,i(e(a)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,x8)]),t("div",null,[t("span",null,i(e(a)("\u53EF\u524D\u5F80")),1),t("a",k8,i(e(a)("\u670D\u52A1-\u52A8\u6001DNS")),1),t("span",null,i(e(a)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",w8,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var F8=S(y8,[["__scopeId","data-v-b760733a"]]);const E8=o=>(J("data-v-064efd50"),o=o(),X(),o),C8={class:"actioner-container"},$8={class:"actioner-container_header"},D8=E8(()=>t("div",{class:"actioner-container_body ddnsto-login"},[t("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),B8={class:"actioner-container_footer"},Y8=T({props:{onSetup:{type:Function,required:!0},onDdnstoConfig:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.onSetup()},r=c=>{if(c.data.auth=="ddnsto"){const w=c.data.sign,x=c.data.token;w&&x&&(removeEventListener("message",r),a.onDdnstoConfig(w,x),a.onSetup("ddnsto-run"))}};return xt(()=>{window.addEventListener("message",r)}),zt(()=>{removeEventListener("message",r)}),(c,w)=>(s(),d("div",C8,[t("div",$8,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),D8,t("div",B8,[t("div",{class:"close",onClick:l},i(e(n)("\u53D6\u6D88")),1)])]))}});var A8=S(Y8,[["__scopeId","data-v-064efd50"]]);const S8={class:"actioner-container"},z8={class:"actioner-container_header"},P8={class:"actioner-container_body ddnsto-bind"},T8=["src"],I8=T({props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0},domain:{type:String,required:!0}},emits:["update:domain"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=U(()=>{const{domain:x,token:f,sign:p,routerId:m,netaddr:b}=n.config,h=encodeURIComponent(x),g=encodeURIComponent(b);return`https://www.kooldns.cn/bind/#/domain?domain=${h}&sign=${p}&token=${f}&routerId=${m}&netaddr=${g}`}),c=x=>{if(x.data){const{auth:f,url:p}=x.data;f==="ddnsto"&&p&&w(p)}},w=x=>I(this,null,function*(){var f;try{const p=yield P.Guide.DdnstoAddress.POST({address:x});p!=null&&p.data&&(((f=p==null?void 0:p.data)==null?void 0:f.success)||0)==0&&(a("update:domain",x),n.onSetup("ddnsto-save"))}catch(p){}});return xt(()=>{window.addEventListener("message",c)}),zt(()=>{removeEventListener("message",c)}),(x,f)=>(s(),d("div",S8,[t("div",z8,[t("span",null,i(e(u)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",P8,[t("iframe",{src:e(r)},null,8,T8)])]))}});var L8=S(I8,[["__scopeId","data-v-49c43a08"]]);const M8=o=>(J("data-v-27f65f12"),o=o(),X(),o),O8={class:"actioner-container"},N8={class:"actioner-container_body"},q8=M8(()=>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)),V8={class:"body-title"},G8={class:"body-tips"},j8={class:"body-info"},R8=["href"],U8={href:"https://www.ddnsto.com/app/#/devices",target:"_blank"},W8={class:"actioner-container_footer"},H8=T({props:{onSetup:{type:Function,required:!0},target:{type:String,required:!0}},setup(o){const{$gettext:a,$ngettext:n}=q(),u=()=>{localStorage.setItem("firstOpen",JSON.stringify(!0)),location.reload()};return(l,r)=>(s(),d("div",O8,[t("div",N8,[q8,t("div",V8,i(e(a)("\u6DFB\u52A0\u6210\u529F")),1),t("p",G8,i(e(a)("\u8BF7\u7A0D\u7B491\u5206\u949F\u751F\u6548\u540E\u518D\u4F7F\u7528\u3002")),1),t("div",j8,[t("span",null,i(e(a)("\u8BBF\u95EE\u5730\u5740\uFF1A")),1),t("a",{href:o.target,target:"_blank",rel:"noopener noreferrer"},i(o.target),9,R8)]),t("div",null,[t("span",null,i(e(a)("\u53EF\u524D\u5F80")),1),t("a",U8,i(e(a)("DDNSTO\u63A7\u5236\u53F0")),1),t("span",null,i(e(a)("\u67E5\u770B\u66F4\u591A\u8BE6\u60C5")),1)])]),t("div",W8,[t("div",{class:"close",onClick:u},i(e(a)("\u5173\u95ED")),1)])]))}});var Z8=S(H8,[["__scopeId","data-v-27f65f12"]]);const J8={class:"actioner-container"},X8={class:"actioner-container_header"},K8={class:"actioner-container_body"},Q8={class:"actioner-container_footer"},t7=T({props:{onSetup:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.onSetup()},r=()=>I(this,null,function*(){if(x.value)return;x.value=!0;const p=D.Loading(n("\u5B89\u88C5\u4E2D..."));try{if(yield ct.installApp("app-meta-ddnsto",30)){a.onSetup("ddnsto-login");return}else c.value=n("\u5B89\u88C5\u5931\u8D25")}catch(m){c.value=m}finally{p.Close()}x.value=!1}),c=E(n("\u6B63\u5728\u68C0\u6D4B\u4E2D...")),w=E(!1),x=E(!1);return(()=>I(this,null,function*(){try{const p=yield P.App.Check.POST({name:"ddnsto"});if(p!=null&&p.data){const{result:m,error:b}=p.data;if(b){c.value=b;return}if(m){if(m.status=="installed"){a.onSetup("ddnsto-login");return}m.status=="uninstalled"&&(c.value=n("\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u5F00\u59CB\u5B89\u88C5"))}}}catch(p){c.value=p}w.value=!0}))(),(p,m)=>(s(),d("div",J8,[t("div",X8,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",K8,[t("span",null,i(c.value),1)]),t("div",Q8,[w.value?(s(),d(L,{key:0},[t("div",{class:"close",onClick:l},i(e(n)("\u53D6\u6D88")),1),t("div",{class:"next",onClick:r},i(e(n)("\u786E\u5B9A")),1)],64)):$("",!0)])]))}});var e7=S(t7,[["__scopeId","data-v-210c03e8"]]);const a7={class:"actioner-container"},o7={class:"actioner-container_header"},n7={class:"actioner-container_body"},i7=T({props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},onDdnstoLocalConfig:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(n("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8..."));(p=>I(this,null,function*(){var m;try{const b=yield P.Guide.Ddnsto.POST({token:a.token});b!=null&&b.data&&(b.data.error&&(l.value=b.data.error),(((m=b==null?void 0:b.data)==null?void 0:m.success)||0)==0&&w())}catch(b){l.value=b}}))(a.token);const c=E(),w=()=>{const p=()=>I(this,null,function*(){if((yield x())===!0){f();return}c.value=window.setTimeout(p,2e3)});p()},x=()=>I(this,null,function*(){try{const p=yield P.App.Check.POST({name:"ddnsto",checkRunning:!0});if(p!=null&&p.data){p.data.error&&(l.value=p.data.error);const m=p.data.result;if((m==null?void 0:m.status)=="running")return!0}}catch(p){l.value=p}return!1});zt(()=>{c.value&&clearInterval(c.value)});const f=()=>I(this,null,function*(){var p;try{const m=yield P.Guide.DdntoConfig.GET();if(m!=null&&m.data&&(m.data.error&&(l.value=m.data.error),(((p=m==null?void 0:m.data)==null?void 0:p.success)||0)==0&&m.data.result)){const b=m.data.result;a.onDdnstoLocalConfig(b.netAddr,b.deviceId),a.onSetup("ddnsto-bind")}}catch(m){l.value=m}});return(p,m)=>(s(),d("div",a7,[t("div",o7,[t("span",null,i(e(n)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",n7,i(l.value),1)]))}});var r7=S(i7,[["__scopeId","data-v-1b21487b"]]);const s7={class:"action-main"},d7=T({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const a=o,n=E("ddnsto-install"),u=x=>{x!=null?n.value=x:l()},l=()=>{a.Close&&a.Close()},r=lt({sign:"",token:"",domain:a.url,netaddr:"",routerId:""}),c=(x,f)=>{r.sign=x,r.token=f},w=(x,f)=>{r.netaddr=x,r.routerId=f};return(x,f)=>(s(),G(it,{type:1},{default:j(()=>[t("div",s7,[n.value=="ddnsto-install"?(s(),G(e7,{key:0,onSetup:u})):n.value=="ddnsto-login"?(s(),G(A8,{key:1,onSetup:u,onDdnstoConfig:c})):n.value=="ddnsto-run"?(s(),G(r7,{key:2,onSetup:u,token:e(r).token,onDdnstoLocalConfig:w},null,8,["token"])):n.value=="ddnsto-bind"?(s(),G(L8,{key:3,onSetup:u,config:{token:e(r).token,sign:e(r).sign,domain:e(r).domain,netaddr:e(r).netaddr,routerId:e(r).routerId},domain:e(r).domain,"onUpdate:domain":f[0]||(f[0]=p=>e(r).domain=p)},null,8,["config","domain"])):n.value=="ddnsto-save"?(s(),G(Z8,{key:4,onSetup:u,target:e(r).domain},null,8,["target"])):$("",!0)])]),_:1}))}});var l7=S(d7,[["__scopeId","data-v-7a6bd385"]]);const u7=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(l7,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},c7={class:"action"},p7={class:"action-header"},f7=["innerHTML"],m7={class:"action-footer"},v7=T({props:{Close:Function,next:{type:Function},clear:{type:Function},continuer:{type:Function},nextTitle:{type:String},clearTitle:{type:String},continuerTitle:{type:String},title:{type:String},content:{type:String}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.next&&a.next(),a.Close&&a.Close()},r=()=>{a.clear&&a.clear(),a.Close&&a.Close()},c=()=>{a.continuer&&a.continuer(),a.Close&&a.Close()};return(w,x)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[t("div",c7,[t("div",p7,i(o.title||e(n)("\u63D0\u793A")),1),t("div",{class:"action-body",innerHTML:o.content},null,8,f7),t("div",m7,[o.clear?(s(),d("div",{key:0,class:"clear",onClick:r},i(o.clearTitle||e(n)("\u8FD4\u56DE")),1)):$("",!0),t("div",{class:"next",onClick:l},i(o.nextTitle||e(n)("\u786E\u5B9A")),1),o.continuer?(s(),d("div",{key:1,class:"next",onClick:c},i(o.continuerTitle||e(n)("\u7EE7\u7EED\u4FDD\u5B58")),1)):$("",!0)])])]),_:1},8,["Close"]))}});var b7=S(v7,[["__scopeId","data-v-05611967"]]);const Xt=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(b7,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},g7=o=>(J("data-v-6e29e960"),o=o(),X(),o),h7={class:"actioner-container"},_7=["onSubmit"],x7={class:"actioner-container_header"},k7={key:0,class:"title_info"},w7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},y7={key:1,class:"title_info"},F7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},E7={key:2,class:"title_info"},C7={href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},$7={class:"label-item"},D7={class:"label-item_key"},B7={class:"label-item_value"},Y7={value:"ipv4"},A7={value:"ipv6"},S7={class:"label_tips"},z7=g7(()=>t("svg",{width:"14px",height:"14px",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_alert",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"14",height:"14"}),t("path",{d:"M7,0.875 C3.61757813,0.875 0.875,3.61757813 0.875,7 C0.875,10.3824219 3.61757813,13.125 7,13.125 C10.3824219,13.125 13.125,10.3824219 13.125,7 C13.125,3.61757813 10.3824219,0.875 7,0.875 Z M6.5625,4.046875 C6.5625,3.98671875 6.61171875,3.9375 6.671875,3.9375 L7.328125,3.9375 C7.38828125,3.9375 7.4375,3.98671875 7.4375,4.046875 L7.4375,7.765625 C7.4375,7.82578125 7.38828125,7.875 7.328125,7.875 L6.671875,7.875 C6.61171875,7.875 6.5625,7.82578125 6.5625,7.765625 L6.5625,4.046875 Z M7,10.0625 C6.63769531,10.0625 6.34375,9.76855469 6.34375,9.40625 C6.34375,9.04394531 6.63769531,8.75 7,8.75 C7.36230469,8.75 7.65625,9.04394531 7.65625,9.40625 C7.65625,9.76855469 7.36230469,10.0625 7,10.0625 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])],-1)),P7={class:"info"},T7={class:"label-item"},I7={class:"label-item_key"},L7={class:"label-item_value"},M7={class:"label-item"},O7={class:"label-item_key"},N7={class:"label-item_value"},q7=["placeholder"],V7={class:"label-item"},G7={class:"label-item_key"},j7={class:"label-item_value"},R7=["placeholder"],U7={class:"actioner-container_footer"},W7=["disabled"],H7=T({props:{name:{type:String,default:"ali"},onSetup:{type:Function,required:!0},target:{type:String,required:!0}},emits:["update:target"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=E("ipv4"),c=E(n.name),w=E(""),x=E(""),f=E(""),p=E(!1),m=()=>{n.onSetup("index")},b=()=>{p.value=!0;const v=D.Loading(u("\u68C0\u6D4B\u4E2D..."));P.Network.CheckPublickNet.POST({ipVersion:r.value}).then(k=>{var y,F;if(k!=null&&k.data){if((y=k==null?void 0:k.data)!=null&&y.error){D.Warning(k==null?void 0:k.data.error);return}if((((F=k==null?void 0:k.data)==null?void 0:F.success)||0)==0){const Y=k.data.result;Y&&Y.address?_():h();return}}throw u("\u672A\u77E5\u9519\u8BEF")}).catch(k=>{D.Error(k)}).finally(()=>{v.Close(),p.value=!1})},h=()=>{Xt({title:u("\u6E29\u99A8\u63D0\u793A"),nextTitle:u("\u4F7F\u7528DDNSTO"),continuerTitle:u("\u7EE7\u7EED\u4FDD\u5B58"),content:u("\u68C0\u6D4B\u5230\u60A8\u7684wan\u53E3\u6CA1\u6709\u516C\u7F51IP\u6216\u8005IPv6\u5730\u5740\uFF0C\u53EF\u4EE5\u4F7F\u7528DDNSTO\u914D\u7F6E\u8FDC\u7A0B\u57DF\u540D\u8BBF\u95EE"),next(){g()},continuer(){_()},clear(){}})},g=()=>{n.onSetup("ddnsto")},_=()=>{p.value=!0;const v=D.Loading(u("\u914D\u7F6E\u4E2D..."));P.Guide.PostDdns.POST({ipVersion:r.value,serviceName:c.value,domain:w.value,userName:x.value,password:f.value}).then(k=>{if(k!=null&&k.data){const{error:y,scope:F,success:Y}=k.data;if(y=="-100"&&F=="guide.ddns"){Xt({title:u("\u6E29\u99A8\u63D0\u793A"),content:u("\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED"),next(){}});return}if(y){D.Warning(y);return}if((Y||0)==0){a("update:target",w.value),n.onSetup("ddns-success");return}}throw u("\u672A\u77E5\u9519\u8BEF")}).catch(k=>{D.Error(k)}).finally(()=>{v.Close(),p.value=!1})};return(v,k)=>(s(),d("div",h7,[t("form",{class:"actioner-dns",onSubmit:nt(b,["prevent"])},[t("div",x7,[t("span",null,i(e(u)("\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",{class:st(["actioner-container_body",o.name])},[o.name=="ali"?(s(),d("div",k7,[t("p",null,i(e(u)("\u963F\u91CC\u4E91")),1),t("span",null,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",w7,i(e(u)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="dnspod"?(s(),d("div",y7,[t("p",null,i(e(u)("dnspod")),1),t("span",null,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",F7,i(e(u)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):o.name=="oray"?(s(),d("div",E7,[t("p",null,i(e(u)("\u82B1\u751F\u58F3")),1),t("span",null,i(e(u)("\u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D")),1),t("a",C7,i(e(u)("\u67E5\u770B\u6559\u7A0B"))+">>",1)])):$("",!0),t("div",$7,[t("div",D7,[t("span",null,i(e(u)("IP\u5730\u5740\u7248\u672C\uFF1A")),1)]),t("div",B7,[z(t("select",{name:"",id:"","onUpdate:modelValue":k[0]||(k[0]=y=>r.value=y)},[t("option",Y7,i(e(u)("IPv4\u5730\u5740")),1),t("option",A7,i(e(u)("IPv6\u5730\u5740")),1)],512),[[Q,r.value]])]),t("div",S7,[z7,t("span",P7,i(e(u)("\u8BBE\u5B9A\u54EA\u4E00\u4E2A IP \u5730\u5740\uFF08IPv4 \u6216 IPv6\uFF09\u4F1A\u88AB\u53D1\u9001\u7ED9 DDNS \u63D0\u4F9B\u5546")),1)])]),t("div",T7,[t("div",I7,[t("span",null,i(e(u)("\u57DF\u540D\uFF1A")),1)]),t("div",L7,[z(t("input",{type:"text",placeholder:"myhost.example.com","onUpdate:modelValue":k[1]||(k[1]=y=>w.value=y),required:""},null,512),[[Z,w.value,void 0,{trim:!0}]])])]),t("div",M7,[t("div",O7,[t("span",null,i(e(u)("\u7528\u6237\u540D\uFF1A")),1)]),t("div",N7,[z(t("input",{type:"text","onUpdate:modelValue":k[2]||(k[2]=y=>x.value=y),placeholder:e(u)("\u8BF7\u8F93\u5165\u7528\u6237\u540D"),required:""},null,8,q7),[[Z,x.value,void 0,{trim:!0}]])])]),t("div",V7,[t("div",G7,[t("span",null,i(e(u)("\u5BC6\u7801\uFF1A")),1)]),t("div",j7,[z(t("input",{type:"password","onUpdate:modelValue":k[3]||(k[3]=y=>f.value=y),placeholder:e(u)("\u8BF7\u8F93\u5165\u5BC6\u7801"),required:""},null,8,R7),[[Z,f.value,void 0,{trim:!0}]])])])],2),t("div",U7,[t("div",{class:"close",onClick:m,type:"button"},i(e(u)("\u8FD4\u56DE")),1),t("button",{class:"next save",type:"submit",disabled:p.value},i(e(u)("\u4FDD\u5B58")),9,W7)])],40,_7)]))}});var ue=S(H7,[["__scopeId","data-v-6e29e960"]]);const Z7={class:"action-main"},J7=T({props:{Close:{type:Function,required:!0},url:{type:String,required:!0}},setup(o){const a=o,n=E(""),u=E("index"),l=x=>{if(x!=null){if(x=="ddnsto"){r();return}u.value=x}else c()},r=()=>{c(),u7({url:a.url})},c=()=>{a.Close&&a.Close()},w=E("ddnsto");return(x,f)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[t("div",Z7,[u.value=="index"?(s(),G(p8,{key:0,onSetup:l,active:w.value,"onUpdate:active":f[0]||(f[0]=p=>w.value=p)},null,8,["active"])):u.value=="ddns-ali"?(s(),G(ue,{key:1,onSetup:l,target:n.value,"onUpdate:target":f[1]||(f[1]=p=>n.value=p),name:"ali"},null,8,["target"])):u.value=="ddns-dnspod"?(s(),G(ue,{key:2,onSetup:l,target:n.value,"onUpdate:target":f[2]||(f[2]=p=>n.value=p),name:"dnspod"},null,8,["target"])):u.value=="ddns-oray"?(s(),G(ue,{key:3,onSetup:l,target:n.value,"onUpdate:target":f[3]||(f[3]=p=>n.value=p),name:"oray"},null,8,["target"])):u.value=="ddns-success"?(s(),G(F8,{key:4,onSetup:l,target:n.value},null,8,["target"])):$("",!0)])]),_:1},8,["Close"]))}});var X7=S(J7,[["__scopeId","data-v-6f1d92d9"]]);const K7=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(X7,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},Rt=o=>(J("data-v-1532b758"),o=o(),X(),o),Q7={class:"app-container"},t4={class:"app-container_title"},e4={class:"app-container_tool"},a4={class:"app-container_domain"},o4={class:"domain-item"},n4=Rt(()=>t("div",{class:"domain-item_name"},[t("span",null,"DDNSTO: ")],-1)),i4={class:"domain-item_value"},r4=["href","title"],s4={key:1,class:"configure"},d4={class:"item_btn",href:"https://www.kooldns.cn/app/#/devices",target:"_blank"},l4={key:0,class:"domain-item"},u4=Rt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv4: ")],-1)),c4={class:"domain-item_value"},p4={key:0},f4=["href"],m4={key:2,href:"/cgi-bin/luci/admin/services/ddns"},v4=Rt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),b4=[v4],g4={key:1,class:"domain-item"},h4=Rt(()=>t("div",{class:"domain-item_name"},[t("span",null,"myddns_ipv6: ")],-1)),_4={class:"domain-item_value"},x4={key:0},k4=["href"],w4={key:2,href:"/cgi-bin/luci/admin/services/ddns"},y4=Rt(()=>t("svg",{t:"1653625385794",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4476",width:"28",height:"28"},[t("path",{d:"M145.83060282785186 873.7309800675556h650.2280809434073c24.411293468444445 0 44.384169832296294-19.97287636385185 44.38416861866666-44.384169832296294V500.90395784533337c0-13.315251313777777-8.876834209185184-22.19208430933333-22.19208430933333-22.19208430933333s-22.19208430933333 8.876834209185184-22.19208430933333 22.19208430933333v326.22364444444446H145.83060282785186V179.1187305054815h616.9399532657777c13.315251313777777 0 22.19208430933333-8.876834209185184 22.19208552296296-22.19208552296296s-8.876834209185184-22.19208430933333-22.19208552296296-22.19208430933333H145.83060282785186c-24.411293468444445 0-44.384169832296294 19.97287636385185-44.38416861866666 44.384169832296294v650.2280797297777c0 24.411293468444445 19.97287636385185 44.384169832296294 44.38416861866666 44.384169832296294z",fill:"#666","p-id":"4477"}),t("path",{d:"M887.0462301677038 203.53002276029633l-488.225862087111 488.2258633007407c-8.876834209185184 8.876834209185184-8.876834209185184 22.19208430933333 0 31.06891851851852 4.438417104592592 4.438417104592592 11.096042154666666 6.657625050074073 15.53445925925926 6.657625050074073s11.096042154666666-2.2192079454814815 15.53445925925926-6.657625050074073l490.4450712462222-490.4450712462222c8.876834209185184-8.876834209185184 8.876834209185184-22.19208430933333 0-31.06891851851852s-24.411293468444445-6.657625050074073-33.288127677629625 2.2192079454814815z",fill:"#666","p-id":"4478"})],-1)),F4=[y4],E4=T({setup(o){const{$gettext:a,$ngettext:n}=q();let u=!1,l;const r=E({}),c=function(){!u||(document.hidden?Promise.resolve():P.Guide.GetDdns.GET().then(p=>{var m;p!=null&&p.data&&(((m=p==null?void 0:p.data)==null?void 0:m.success)||0)==0&&p.data.result&&(r.value=p.data.result)})).then(()=>{!u||(l=window.setTimeout(c,3e3))})};xt(()=>{u=!0,l=window.setTimeout(c,1100)}),zt(()=>{l!==void 0&&window.clearTimeout(l),u=!1});const w=()=>{K7({url:r.value.ddnstoDomain})},x=U(()=>{const p=r.value.ipv4Domain;return!p||p=="Stopped"||p=="Disabled"?p:`http://${p}`}),f=U(()=>{const p=r.value.ipv6Domain;return!p||p=="Stopped"||p=="Disabled"?p:`http://${p}`});return(p,m)=>{var h,g,_,v;const b=tt("GlHelp");return s(),d("div",Q7,[t("div",t4,[t("span",null,[t("span",null,i(e(a)("\u8FDC\u7A0B\u57DF\u540D")),1),A(b,{type:"ddns"})]),t("div",e4,[t("div",{class:"app-container_configure",onClick:w},i(e(a)("\u5FEB\u901F\u914D\u7F6E")),1)])]),t("ul",a4,[t("li",o4,[n4,t("div",i4,[(h=r.value)!=null&&h.ddnstoDomain?(s(),d("a",{key:0,class:"configure",href:(g=r.value)==null?void 0:g.ddnstoDomain,target:"_blank",rel:"noopener noreferrer",title:(_=r.value)==null?void 0:_.ddnstoDomain},i((v=r.value)==null?void 0:v.ddnstoDomain),9,r4)):(s(),d("span",s4,i(e(a)("\u672A\u5B89\u88C5\u6216\u672A\u914D\u7F6E")),1)),t("a",d4,i(e(a)("\u63A7\u5236\u53F0")),1)])]),e(x)?(s(),d("li",l4,[u4,t("div",c4,[e(x)=="Stopped"||e(x)=="Disabled"?(s(),d("span",p4,i(e(x)),1)):(s(),d("a",{key:1,class:"configure",href:e(x),target:"_blank",rel:"noopener noreferrer"},i(e(x)),9,f4)),e(x)?(s(),d("a",m4,b4)):$("",!0)])])):$("",!0),e(f)?(s(),d("li",g4,[h4,t("div",_4,[e(f)=="Stopped"||e(f)=="Disabled"?(s(),d("span",x4,i(e(f)),1)):(s(),d("a",{key:1,class:"configure",href:e(f),target:"_blank",rel:"noopener noreferrer"},i(e(f)),9,k4)),e(f)?(s(),d("a",w4,F4)):$("",!0)])])):$("",!0)])])}}});var C4=S(E4,[["__scopeId","data-v-1532b758"]]);const $4={class:"nas-container"},D4={class:"nas-container_card"},B4={class:"nas-container_card"},Y4={key:0,class:"nas-container_card"},A4={class:"nas-container_card"},S4={class:"nas-container_card"},z4=T({setup(o){return(a,n)=>(s(),d("div",$4,[t("div",D4,[A(Xu)]),t("div",B4,[A(R2)]),e(Yt)("dockerd")?(s(),d("div",Y4,[A(m6)])):$("",!0),t("div",A4,[A(Kp)]),t("div",S4,[A(C4)])]))}});var P4=S(z4,[["__scopeId","data-v-66cc4e33"]]);const T4={class:"app-container"},I4={class:"app-container_title"},L4=["title"],M4={class:"DeviceBlock"},O4={href:"/cgi-bin/luci/admin/system/flash"},N4={href:"/cgi-bin/luci/admin/store/pages/maintance"},q4={class:"item-label"},V4={class:"item-label_key"},G4={class:"item-label_value"},j4={class:"item-label"},R4={class:"item-label_key"},U4={class:"item-label_value"},W4={class:"item-label"},H4={class:"item-label_key"},Z4={class:"item-label_value"},J4={class:"item-label"},X4={class:"item-label_key"},K4={class:"item-label_value"},Q4={class:"item-label"},tf={class:"item-label_key"},ef={class:"item-label_value"},af={class:"item-label"},of={class:"item-label_key"},nf={class:"item-label_value"},rf={class:"item-label"},sf={class:"item-label_key"},df={class:"item-label_value"},lf={class:"item-label"},uf={class:"item-label_key"},cf={class:"item-label_value"},pf=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=fe(),l=U(()=>u.version),r=U(()=>u.systemStatus),c=E(!1),w=U(()=>{var h;return((h=r.value)==null?void 0:h.cpuUsage)||0}),x=U(()=>{var h;return((h=r.value)==null?void 0:h.cpuTemperature)||0}),f=U(()=>{var g;const h=((g=r.value)==null?void 0:g.memAvailablePercentage)||100;return 100-h}),p=_t.stampForm;xt(()=>{});const m=()=>{c.value=!c.value},b=()=>{m(),ct.installAndGo("app-meta-netdata","NetData","/cgi-bin/luci/admin/status/netdata")};return(h,g)=>{var v,k,y,F,Y;const _=tt("progress-item");return s(),d("div",T4,[t("div",I4,[t("span",null,i(e(a)("\u7CFB\u7EDF\u4FE1\u606F")),1),t("span",{class:"more_icon",title:e(a)("\u67E5\u770B\u7CFB\u7EDF\u4FE1\u606F")},[A(ht,{onClick:m})],8,L4),z(t("div",M4,[t("div",{class:"menu_background",onClick:m}),t("ul",null,[t("li",null,[t("a",{onClick:b},i(e(a)("\u7CFB\u7EDF\u76D1\u63A7")),1)]),t("li",null,[t("a",O4,i(e(a)("\u5907\u4EFD\u5347\u7EA7")),1)]),t("li",null,[t("a",N4,i(e(a)("\u63D2\u4EF6\u5907\u4EFD")),1)])])],512),[[vt,c.value]])]),t("div",q4,[t("div",V4,[t("span",null,i(e(a)("CPU\u6E29\u5EA6")),1)]),t("div",G4,[A(_,{value:e(x)/1.5,text:`${e(x)}\u2103`},null,8,["value","text"])])]),t("div",j4,[t("div",R4,[t("span",null,i(e(a)("CPU\u4F7F\u7528\u7387")),1)]),t("div",U4,[A(_,{value:e(w),text:`${e(w)}%`},null,8,["value","text"])])]),t("div",W4,[t("div",H4,[t("span",null,i(e(a)("\u5185\u5B58\u4F7F\u7528\u7387")),1)]),t("div",Z4,[A(_,{value:e(f),text:`${e(f)}%`},null,8,["value","text"])])]),t("div",J4,[t("div",X4,[t("span",null,i(e(a)("\u8BBE\u5907\u578B\u53F7")),1)]),t("div",K4,[t("span",null,i((v=e(l))==null?void 0:v.model),1)])]),t("div",Q4,[t("div",tf,[t("span",null,i(e(a)("\u56FA\u4EF6\u7248\u672C")),1)]),t("div",ef,[t("span",null,i((k=e(l))==null?void 0:k.firmwareVersion),1)])]),t("div",af,[t("div",of,[t("span",null,i(e(a)("\u5185\u6838\u7248\u672C")),1)]),t("div",nf,[t("span",null,i((y=e(l))==null?void 0:y.kernelVersion),1)])]),t("div",rf,[t("div",sf,[t("span",null,i(e(a)("\u5DF2\u542F\u52A8")),1)]),t("div",df,[t("span",null,i(e(p)((F=e(r))==null?void 0:F.uptime)),1)])]),t("div",lf,[t("div",uf,[t("span",null,i(e(a)("\u7CFB\u7EDF\u65F6\u95F4")),1)]),t("div",cf,[t("span",null,i((Y=e(r))==null?void 0:Y.localtime),1)])])])}}});var ff=S(pf,[["__scopeId","data-v-b8dfe98c"]]);const Re=/\d+\.\d+\.\d+\.\d+/,mf=o=>Re.test(o)&&jt.IPv4.isValid(o),kt=o=>{const a=jt.IPv4.parse(o).toByteArray();return a[0]<<24|a[1]<<16|a[2]<<8|a[3]},$e=o=>jt.fromByteArray([o>>24&255,o>>16&255,o>>8&255,o&255]).toString(),vf=o=>{if(!Re.test(o)||!jt.IPv4.isIPv4(o))return!1;let a=0,n=kt(o);for(let u=31;u>=0&&(n&1<{let l=kt(o)&kt(a),r=kt(n),c=kt(u),x=~kt(a);return rl+1&&c{let n=kt(a),u=kt(o)&n,l=~n,r;return l>=105?(r=u|l-5,u=u|100):l>=3?(r=u|l-1,u=u|2):(u=u|1,r=u),[$e(u),$e(r)]},hf=o=>jt.IPv4.subnetMaskFromPrefixLength(o).toString();var mt={isValidMask:vf,isValidIPv4:mf,isValidMaskRange:bf,calcMaskRange:gf,prefixToMask:hf};const he=o=>(J("data-v-22104807"),o=o(),X(),o),_f=["onSubmit"],xf={class:"actioner-dns_header"},kf={class:"actioner-dns_body"},wf={class:"label-item"},yf={class:"label-item_key"},Ff={class:"label-item_value"},Ef={class:"label-item"},Cf={class:"label-item_key"},$f={class:"label-item_value"},Df={key:0,class:"chose_dhcp"},Bf={key:0,class:"dhcp_info"},Yf={key:1,class:"dhcp_info"},Af={class:"label-item"},Sf={class:"label-item_key"},zf={class:"label-item_value"},Pf={class:"label-item"},Tf={class:"label-item_key"},If={class:"label-item_value"},Lf={class:"actioner-dns_footer"},Mf=["disabled"],Of={key:1,class:"actioner-dns"},Nf={class:"actioner-dns_header"},qf={class:"actioner-dns_body"},Vf={key:0,class:"setting_status"},Gf=he(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),jf={class:"config-message"},Rf=["href"],Uf={key:1,class:"setting_status"},Wf=he(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),Hf={class:"config-message"},Zf={key:2,class:"setting_status"},Jf=he(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),Xf={class:"config-message"},Kf=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=E({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});E("");const c=E(!1);E(!0),E(!1);const w=E(""),x=E(2),f=E(!1),p=E("timeout");let m=!0;(()=>{P.Guide.GetLan.GET().then(k=>{k.data.result&&(f.value=k.data.result.enableDhcp||!1,k.data.result.enableDhcp=!1,r.value=k.data.result,k.data.result.lanIp!==location.hostname&&(m=!1))})})();const h=()=>{const k=r.value;if(!mt.isValidIPv4(k.lanIp)){D.Warning(n("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!mt.isValidMask(k.netMask)){D.Warning(n("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}const y=mt.calcMaskRange(k.lanIp,k.netMask);k.dhcpStart=y[0],k.dhcpEnd=y[1],r.value=k},g=()=>{const k=r.value;if(!mt.isValidIPv4(k.lanIp)){D.Warning(n("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF"));return}if(!mt.isValidMask(k.netMask)){D.Warning(n("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF"));return}if(k.enableDhcp&&!(mt.isValidIPv4(k.dhcpStart)&&mt.isValidIPv4(k.dhcpEnd)&&mt.isValidMaskRange(k.lanIp,k.netMask,k.dhcpStart,k.dhcpEnd))){D.Warning(n("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4"));return}const y=D.Loading(n("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49"),30);let F=0;const Y=C=>{p.value=C,l.value=1,F=1,y.Close()},N=()=>{const C=new Date().getTime()+3e4,B=m?location.protocol+"//"+k.lanIp+(location.port?":"+location.port:""):location.origin,M=B+"/luci-static/resources/icons/loading.gif",W=()=>{F==0&&(new Date().getTime()>C?Y("timeout"):window.setTimeout(H,2e3))},V=()=>{F==0&&(w.value=B+location.pathname,Y("success"),window.setTimeout(()=>{x.value=1},1e3),window.setTimeout(()=>{location.href=w.value},2e3))},H=()=>{if(F!=0)return;console.log("check online ",M);const rt=new Image;rt.onload=V,rt.onerror=W,rt.src=M};window.setTimeout(H,5e3)};P.Guide.LanIp.POST(k).then(C=>{var B;if(C!=null&&C.data){if((C.data.success||0)==0)return;if((B=C.data)!=null&&B.error)throw C.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).catch(C=>{F==0&&(Y("fail"),D.Error(C))}),N(),window.setTimeout(()=>{F==0&&Y("timeout")},3e4)},_=k=>{k.preventDefault(),a.Close&&a.Close()},v=k=>{location.reload()};return(k,y)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0?(s(),d("form",{key:0,class:"actioner-dns",onSubmit:nt(g,["prevent"])},[t("div",xf,[t("span",null,i(e(n)("\u5185\u7F51\u914D\u7F6E")),1)]),t("div",kf,[t("div",wf,[t("div",yf,[t("span",null,i(e(n)("IPv4\u5730\u5740")),1)]),t("div",Ff,[z(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":y[0]||(y[0]=F=>r.value.lanIp=F),onChange:h},null,544),[[Z,r.value.lanIp,void 0,{trim:!0}]])])]),t("div",Ef,[t("div",Cf,[t("span",null,i(e(n)("IPv4\u5B50\u7F51\u63A9\u7801")),1)]),t("div",$f,[z(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":y[1]||(y[1]=F=>r.value.netMask=F),onChange:h},null,544),[[Z,r.value.netMask,void 0,{trim:!0}]])])]),f.value?(s(),d("div",Df,[A(Ie,{modelValue:r.value.enableDhcp,"onUpdate:modelValue":y[2]||(y[2]=F=>r.value.enableDhcp=F)},{default:j(()=>[r.value.enableDhcp?(s(),d("span",Bf,i(e(n)("\u4FEE\u6539DHCP\u670D\u52A1")),1)):(s(),d("span",Yf,i(e(n)("\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E")),1))]),_:1},8,["modelValue"])])):$("",!0),r.value.enableDhcp?(s(),d(L,{key:1},[t("div",Af,[t("div",Sf,[t("span",null,i(e(n)("IP\u6C60\u8D77\u59CB\u5730\u5740")),1)]),t("div",zf,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[3]||(y[3]=F=>r.value.dhcpStart=F)},null,512),[[Z,r.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",Pf,[t("div",Tf,[t("span",null,i(e(n)("IP\u6C60\u7ED3\u675F\u5730\u5740")),1)]),t("div",If,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":y[4]||(y[4]=F=>r.value.dhcpEnd=F)},null,512),[[Z,r.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):$("",!0)]),t("div",Lf,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:c.value},i(e(n)("\u786E\u8BA4")),9,Mf),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u53D6\u6D88")),1)])],40,_f)):l.value==1?(s(),d("div",Of,[t("div",Nf,[t("span",null,i(e(n)("\u66F4\u6362\u914D\u7F6E")),1)]),t("div",qf,[p.value=="success"?(s(),d("div",Vf,[Gf,t("div",jf,i(e(n)("\u914D\u7F6E\u6210\u529F")),1),t("a",{href:w.value,class:"NewAdress"},i(e(n)("%{ countdown }s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",{countdown:""+x.value})),9,Rf)])):p.value=="fail"?(s(),d("div",Uf,[Wf,t("div",Hf,i(e(n)("\u914D\u7F6E\u5931\u8D25")),1),t("p",null,i(e(n)("\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},i(e(n)("\u6211\u77E5\u9053\u4E86")),1)])):p.value=="timeout"?(s(),d("div",Zf,[Jf,t("div",Xf,i(e(n)("\u914D\u7F6E\u8D85\u65F6")),1),t("p",null,i(e(n)("\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002")),1),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:v},i(e(n)("\u5237\u65B0\u9875\u9762")),1)])):$("",!0)])])):$("",!0)]),_:1},8,["Close"]))}});var Qf=S(Kf,[["__scopeId","data-v-22104807"]]);const tm=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Qf,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},em={key:0,class:"actioner-dns"},am={class:"actioner-dns_header"},om={class:"actioner-dns_body"},nm={class:"sandbox_info"},im={key:0,class:"disk_loading_icon"},rm={class:"disk_loading_info"},sm={key:1,class:"disk_tips"},dm={class:"label-item"},lm={class:"label-item_key"},um={class:"label-item_value"},cm={value:""},pm=["value"],fm={class:"label-item"},mm={class:"label-item_key"},vm={class:"label-item_value"},bm={selected:"true",value:""},gm=["value","disabled"],hm={class:"sandbox_tips"},_m={class:"sandbox_info timeout"},xm={class:"sandbox_roboot_tips"},km={class:"sandbox_roboot_refresh"},wm={key:0,class:"actioner-dns_footer"},ym=["disabled"],Fm={key:1,class:"actioner-tips"},Em={class:"actioner-tips_header"},Cm={class:"actioner-tips_body"},$m={class:"sandbox_info"},Dm={class:"actioner-tips_footer"},Bm={key:2,class:"actioner-tips"},Ym={class:"actioner-tips_header"},Am={class:"actioner-tips_body"},Sm={class:"sandbox_info"},zm={class:"actioner-tips_footer"},Pm=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0);E("disk");const r=E(""),c=E(3),w=E(""),x=E([]),f=E(""),p=E(null);(()=>{P.Nas.SandboxDisks.GET().then(F=>{var Y;if(F!=null&&F.data&&(Y=F.data)!=null&&Y.result){p.value=F.data.result;return}throw n("\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25")}).catch(F=>{r.value=F,l.value=3})})();const b=()=>P.System.Reboot.POST({name:w.value,path:f.value}).then(F=>{var Y;if(!(F!=null&&F.data&&(((Y=F==null?void 0:F.data)==null?void 0:Y.success)||0)==0))throw n("\u672A\u77E5\u9519\u8BEF")}),h=F=>{var Y,N;f.value="",x.value=w.value&&((N=(Y=p.value)==null?void 0:Y.disks.find(C=>C.path==w.value))==null?void 0:N.childrens)||[]},g=()=>{c.value>0&&(c.value-=1,window.setTimeout(g,1e3))},_=F=>{F.preventDefault(),a.Close&&a.Close()},v=()=>{new Promise((F,Y)=>{const N="/luci-static/resources/icons/loading.gif",C=()=>{window.setTimeout(B,2e3)},B=()=>{const M=new Image;M.onload=F,M.onerror=C,M.src=N};window.setTimeout(B,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},k=F=>{const Y=D.Loading(n("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D..."));P.Nas.Sandbox.POST({path:f.value}).then(N=>{var C;if(N!=null&&N.data){if((N.data.success||0)==0)return l.value=2,window.setTimeout(g,1e3),b();if((C=N.data)!=null&&C.error)throw N.data.error}throw n("\u672A\u77E5\u9519\u8BEF")}).then(v).catch(N=>D.Warning(N)).finally(()=>Y.Close())},y=()=>{l.value=0};return(F,Y)=>{const N=tt("icon-loading");return s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0||l.value==2?(s(),d("div",em,[t("div",am,[t("span",null,i(e(n)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",om,[t("p",nm,i(e(n)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),l.value==0?(s(),d(L,{key:0},[p.value?$("",!0):(s(),d("div",im,[A(N,{size:38,color:"currentColor"}),t("span",rm,i(e(n)("\u6B63\u5728\u52A0\u8F7D\u4E2D...")),1)])),p.value&&p.value.disks.length==0?(s(),d("div",sm,[A(ft),t("span",null,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378")),1)])):$("",!0),p.value&&p.value.disks.length>0?(s(),d(L,{key:2},[t("div",dm,[t("div",lm,[t("span",null,i(e(n)("\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")),1)]),t("div",um,[z(t("select",{name:"",id:"",onChange:h,"onUpdate:modelValue":Y[0]||(Y[0]=C=>w.value=C)},[t("option",cm,i(e(n)("\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8")),1),(s(!0),d(L,null,R(p.value.disks,(C,B)=>(s(),d("option",{value:C.path,key:B},i(C.venderModel)+"\uFF08"+i(C.size)+"\uFF09 ",9,pm))),128))],544),[[Q,w.value]])])]),t("div",fm,[t("div",mm,[t("span",null,i(e(n)("\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")),1)]),t("div",vm,[z(t("select",{name:"",id:"","onUpdate:modelValue":Y[1]||(Y[1]=C=>f.value=C)},[t("option",bm,i(e(n)("\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A")),1),(s(!0),d(L,null,R(x.value,(C,B)=>(s(),d("option",{value:C.path,key:B,disabled:C.sizeInt<(1<<30)*1||C.isSystemRoot},i(C.name)+"\uFF08"+i(C.filesystem||e(n)("\u672A\u683C\u5F0F\u5316"))+"\uFF09"+i(C.total),9,gm))),128))],512),[[Q,f.value]])])]),t("div",hm,[A(ft),t("span",null,i(e(n)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E")),1)])],64)):$("",!0)],64)):$("",!0),l.value==2?(s(),d(L,{key:1},[t("p",_m,[et(i(e(n)("\u5373\u5C06\u91CD\u542F\u8BBE\u5907"))+" ",1),t("span",null,"\uFF08"+i(c.value)+"s\uFF09",1)]),t("p",xm,[et(i(e(n)("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E")),1),t("span",km,i(e(n)("\u8BF7\u5237\u65B0\u754C\u9762")),1)])],64)):$("",!0)]),l.value==0?(s(),d("div",wm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!f.value,onClick:Y[2]||(Y[2]=C=>l.value=1)},i(e(n)("\u5F00\u542F\u6C99\u7BB1")),9,ym),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:_},i(e(n)("\u53D6\u6D88")),1)])):$("",!0)])):$("",!0),l.value==1?(s(),d("div",Fm,[t("div",Em,[t("span",null,i(e(n)("\u6E29\u99A8\u63D0\u793A")),1)]),t("div",Cm,[t("p",$m,i(e(n)("\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")),1)]),t("div",Dm,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:k},i(e(n)("\u7EE7\u7EED")),1),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0),l.value==3?(s(),d("div",Bm,[t("div",Ym,[t("span",null,i(e(n)("\u9519\u8BEF")),1)]),t("div",Am,[t("p",Sm,i(r.value),1)]),t("div",zm,[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0)]),_:1},8,["Close"])}}});var Tm=S(Pm,[["__scopeId","data-v-2b57eea5"]]);const Im=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Tm,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Lm={key:0,class:"actioner-dns"},Mm={class:"actioner-dns_header"},Om={class:"actioner-dns_body"},Nm={class:"sandbox_info"},qm={class:"sandbox_environment"},Vm={class:"sandbox_environment_info"},Gm={class:"sandbox_environment_reboot"},jm=["innerHTML"],Rm={class:"actioner-dns_footer"},Um=["disabled"],Wm=["disabled"],Hm=["disabled"],Zm=T({props:{Close:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(0),r=E(!1),c=()=>{new Promise((m,b)=>{const h="/luci-static/resources/icons/loading.gif",g=()=>{window.setTimeout(_,2e3)},_=()=>{const v=new Image;v.onload=m,v.onerror=g,v.src=h};window.setTimeout(_,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},w=()=>{r.value=!0;const m=D.Loading(n("\u63D0\u4EA4\u4E2D..."));P.Nas.SandboxCommit.POST().then(b=>{var h,g;if(b!=null&&b.data)if((((h=b==null?void 0:b.data)==null?void 0:h.success)||0)==0){D.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D..."));return}else(g=b==null?void 0:b.data)!=null&&g.error&&alert(b.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{D.Error(b),r.value=!1}).finally(()=>m.Close())},x=()=>{r.value=!0;const m=D.Loading(n("\u91CD\u7F6E\u4E2D..."));P.Nas.SandboxReset.POST().then(b=>{var h,g;if(b!=null&&b.data)if((((h=b==null?void 0:b.data)==null?void 0:h.success)||0)==0){D.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(g=b==null?void 0:b.data)!=null&&g.error&&alert(b.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{D.Error(b),r.value=!1}).finally(()=>m.Close())},f=()=>{if(!confirm(n("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A")))return;r.value=!0;const m=D.Loading(n("\u6267\u884C\u4E2D..."));P.Nas.SandboxExit.POST().then(b=>{var h,g;if(b!=null&&b.data)if((((h=b==null?void 0:b.data)==null?void 0:h.success)||0)==0){D.Loading(n("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740"));return}else(g=b==null?void 0:b.data)!=null&&g.error&&alert(b.data.error);throw n("\u672A\u77E5\u9519\u8BEF")}).then(c).catch(b=>{D.Error(b),r.value=!1}).finally(()=>m.Close())},p=m=>{m.preventDefault(),a.Close&&a.Close()};return(m,b)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[l.value==0?(s(),d("div",Lm,[t("div",Mm,[t("span",null,i(e(n)("\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")),1)]),t("div",Om,[t("p",Nm,i(e(n)("\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E")),1),t("div",qm,[t("p",null,i(e(n)("\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A")),1),t("p",null,i(e(n)("1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883")),1),t("p",null,i(e(n)("2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001")),1),t("p",null,i(e(n)("3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")),1)]),t("div",Vm,[et(i(e(n)("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981")),1),t("span",Gm,i(e(n)("\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740")),1),t("p",{class:"sandbox_environment_tex",innerHTML:e(n)("\u5982\u9700\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002
\u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548",{},!0)},null,8,jm)])]),t("div",Rm,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:w,disabled:r.value},i(e(n)("\u63D0\u4EA4")),9,Um),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:x,disabled:r.value},i(e(n)("\u91CD\u7F6E")),9,Wm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:f,disabled:r.value},i(e(n)("\u9000\u51FA")),9,Hm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:p},i(e(n)("\u53D6\u6D88")),1)])])):$("",!0)]),_:1},8,["Close"]))}});var Jm=S(Zm,[["__scopeId","data-v-9573dc70"]]);const Xm=()=>{const o=document.createElement("div");document.body.appendChild(o);const a=at(Jm,{Close:()=>{n()}});a.mount(o);const n=()=>{a.unmount(),o.remove()};return{Close:n}},Km={class:"nav-container"},Qm=["onClick"],t9={key:1,class:"btn_styles color3 app-update-button-combind"},e9={class:"app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},a9={class:"app-update-button-text"},o9={key:0,style:{display:"inline-block"}},n9={key:1},i9=["title"],r9={class:"app-update-button-menu"},s9={class:"app-update-menu-item"},d9={key:0,class:"app-update-menu-item-loading"},l9=["disabled"],u9={key:0,style:{display:"inline-block"}},c9=T({setup(o){var F,Y;const{$gettext:a,$ngettext:n}=q(),u=E(!0);(Y=(F=window.quickstart_configs)==null?void 0:F.update)!=null&&Y.disable&&(u.value=!1);const l=E(!1),r=E(u.value),c=E(!1),w=fe(),x=ae(),f=U(()=>x.status);E(!1),E(!0);const p=E(),m=()=>{Me()};Kt(r,N=>{c.value=!0,P.System.AutoCheckUpdate.POST({enable:N}).catch(C=>{D.Warning(C)}).finally(()=>{c.value=!1})});const b=()=>{Im()},h=()=>{Xm()},g=()=>{alert(a("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F"))},_=()=>{tm()},v=()=>{Ve()},k=()=>{var N,C,B,M;window.open(`${(C=(N=window.quickstart_configs)==null?void 0:N.ttyd)!=null&&C.ssl?"https":"http"}://${window.location.hostname}:${((M=(B=window.quickstart_configs)==null?void 0:B.ttyd)==null?void 0:M.port)||7681}/`,"_blank")},y=()=>{l.value=!l.value};return u.value&&setTimeout(()=>{w.requestCheckUpdate()},1100),Yt("sandbox")&&P.Nas.GetSandbox.GET().then(C=>{var B,M,W;C!=null&&C.data&&((((B=C==null?void 0:C.data)==null?void 0:B.success)||0)==0?(M=C==null?void 0:C.data)!=null&&M.result&&(p.value=C.data.result):(W=C==null?void 0:C.data)!=null&&W.error&&alert(C.data.error))}).catch(C=>D.Warning(C)),(N,C)=>{var V,H,rt,Tt,It,Lt;const B=tt("router-link"),M=tt("icon-loading"),W=tt("switch-box");return s(),d("div",Km,[A(B,{to:"/network",custom:""},{default:j(({navigate:Dt})=>[t("button",{class:"btn_styles color1",onClick:Dt},i(e(a)("\u7F51\u7EDC\u5411\u5BFC")),9,Qm)]),_:1}),e(Yt)("ttyd")?(s(),d("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:k},i(e(a)("\u7EC8\u7AEF")),1)):$("",!0),e(Yt)("ota")?(s(),d("button",t9,[t("div",e9,[t("div",a9,[et(i(e(a)("\u56FA\u4EF6\u66F4\u65B0"))+" ",1),u.value&&e(w).checkUpdate==null?(s(),d("span",o9,[A(M,{size:"0.8em",color:"currentColor"})])):$("",!0),(V=e(w).checkUpdate)!=null&&V.needUpdate?(s(),d("i",n9)):$("",!0)])]),t("span",{class:"app-update-button-more",onClick:y,title:e(a)("\u56FA\u4EF6\u66F4\u65B0\u9009\u9879")},[A(ht)],8,i9),z(t("div",r9,[t("div",{class:"menu_background",onClick:y}),t("ul",null,[t("li",null,[A(W,{modelValue:r.value,"onUpdate:modelValue":C[0]||(C[0]=Dt=>r.value=Dt)},{default:j(()=>[t("span",s9,i(e(a)("\u81EA\u52A8\u68C0\u67E5\u66F4\u65B0")),1)]),_:1},8,["modelValue"]),c.value?(s(),d("span",d9,[A(M,{size:"1em",color:"currentColor"})])):$("",!0)])])],512),[[vt,l.value]])])):$("",!0),t("button",{class:"btn_styles color4",onClick:_},i(e(a)("\u5185\u7F51\u914D\u7F6E")),1),t("button",{class:"btn_styles color5",onClick:m,disabled:!((H=e(f))!=null&&H.proto)},[et(i(e(a)("DNS\u914D\u7F6E"))+" ",1),(rt=e(f))!=null&&rt.proto?$("",!0):(s(),d("span",u9,[A(M,{size:"0.8em",color:"currentColor"})]))],8,l9),t("button",{class:"btn_styles color1",onClick:v},i(e(a)("\u8F6F\u4EF6\u6E90\u914D\u7F6E")),1),e(Yt)("sandbox")?(s(),d(L,{key:2},[((Tt=p.value)==null?void 0:Tt.status)=="unsupport"?(s(),d("button",{key:0,class:"btn_styles color2",onClick:g},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),1)):((It=p.value)==null?void 0:It.status)=="stopped"?(s(),d("button",{key:1,class:"btn_styles color3",onClick:b},i(e(a)("\u5F00\u542F\u6C99\u7BB1")),1)):((Lt=p.value)==null?void 0:Lt.status)=="running"?(s(),d("button",{key:2,class:"btn_styles color4",onClick:h},i(e(a)("\u6C99\u7BB1\u5DF2\u5F00\u542F")),1)):$("",!0)],64)):$("",!0)])}}});var p9=S(c9,[["__scopeId","data-v-30c0acb2"]]);const _e=o=>(J("data-v-82d61772"),o=o(),X(),o),f9={id:"page"},m9={style:{height:"48px","text-align":"right"}},v9={onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},b9=_e(()=>t("em",null,null,-1)),g9=_e(()=>t("em",null,null,-1)),h9=_e(()=>t("em",null,null,-1)),_9=T({setup(o){Ma();const{$gettext:a,$ngettext:n}=q(),u=E(0),l=E(localStorage.getItem("firstOpen")||!1),r=()=>I(this,null,function*(){try{const c=yield P.GuidePage.getInstalled.GET();c!=null&&c.data&&(u.value=c.data.length||0,l.value?l.value=!1:u.value==0&&(l.value=!0))}catch(c){console.log(c)}});return l.value?l.value=!1:r(),(c,w)=>(s(),d("div",f9,[t("div",m9,[t("a",v9,i(e(a)("iStoreOS\u5B98\u7F51")),1)]),A(Vd),b9,A(p9),A(P4),g9,A(ff),h9]))}});var x9=S(_9,[["__scopeId","data-v-82d61772"]]);const k9={};function w9(o,a){const n=tt("router-view");return s(),G(n)}var y9=S(k9,[["render",w9]]);const F9={},E9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},C9=yt('',2),$9=[C9];function D9(o,a){return s(),d("svg",E9,$9)}var B9=S(F9,[["render",D9]]);const Y9={},A9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},S9=yt('',2),z9=[S9];function P9(o,a){return s(),d("svg",A9,z9)}var T9=S(Y9,[["render",P9]]);const I9={},L9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M9=yt('',2),O9=[M9];function N9(o,a){return s(),d("svg",L9,O9)}var q9=S(I9,[["render",N9]]);const V9={id:"page"},G9={class:"title"},j9={class:"desc"},R9={class:"network-containers"},U9={class:"network-container_item"},W9={class:"cover"},H9={class:"thumbnail"},Z9={class:"network-container_item"},J9={class:"cover"},X9={class:"thumbnail"},K9={class:"network-container_item"},Q9={class:"cover"},tv={class:"thumbnail"},ev=["innerHTML"],av=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=a("\u6CA1\u627E\u5230\u60F3\u8981\u7684\u914D\u7F6E\uFF1F\u8BF7\u4F7F\u7528%{link}",{link:''+a("\u9AD8\u7EA7\u6A21\u5F0F")+""},!0);return(l,r)=>{const c=tt("router-link");return s(),d("div",V9,[t("div",G9,i(e(a)("\u6B22\u8FCE\u4F7F\u7528\u7F51\u7EDC\u914D\u7F6E\u5411\u5BFC")),1),t("div",j9,i(e(a)("\u9009\u62E9\u4E00\u79CD\u8FDE\u63A5\u65B9\u5F0F\u4EE5\u5F00\u59CB")),1),t("div",R9,[t("div",U9,[A(c,{to:"/network/pppoe"},{default:j(()=>[t("div",W9,[t("div",H9,[A(T9),t("span",null,i(e(a)("\u5BBD\u5E26\u62E8\u53F7\u8FDE\u63A5")),1)])])]),_:1})]),t("div",Z9,[A(c,{to:"/network/dhcp"},{default:j(()=>[t("div",J9,[t("div",X9,[A(B9),t("span",null,i(e(a)("\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668")),1)])])]),_:1})]),t("div",K9,[A(c,{to:"/network/gateway"},{default:j(()=>[t("div",Q9,[t("div",tv,[A(q9),t("span",null,i(e(a)("\u914D\u7F6E\u4E3A\u65C1\u8DEF\u7531")),1)])])]),_:1})])]),t("div",{class:"info",innerHTML:e(u)},null,8,ev)])}}});var ov=S(av,[["__scopeId","data-v-52c03678"]]);const nv={key:0,id:"page"},iv={class:"title"},rv={class:"desc"},sv={class:"network-message"},dv=["innerHTML"],lv=["onSubmit"],uv={class:"label-key"},cv=["placeholder","disabled"],pv={class:"label-key"},fv=["placeholder","disabled"],mv={key:0,class:"chose_dhcp"},vv={class:"dhcp_info"},bv={key:1,class:"msg"},gv={class:"btns"},hv=["disabled"],_v=["onClick"],xv={key:1,id:"page"},kv={class:"title"},wv={class:"btns"},yv=["onClick"],Fv=["onClick"],Ev=T({setup(o){const{$gettext:a,$ngettext:n}=q(),l=Qt().query.type,r=a("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+a("\u94FE\u63A5")+""},!0),c=E(0),w=E({}),x=E(""),f=E(!1),p=E(0),m=E(!1);(()=>I(this,null,function*(){var g,_;f.value=!0;try{const v=yield Promise.all([P.Guide.Pppoe.GET(),P.Guide.GetLan.GET()]);if(v[0].data){const{success:k,error:y,result:F}=v[0].data;F&&(F.enableLanDhcp=!1,w.value=F),k==-1011&&(f.value=!0,p.value=k)}(g=v[1].data)!=null&&g.result&&(((_=v[1].data)==null?void 0:_.result).enableDhcp||(m.value=!0,w.value.enableLanDhcp=!0))}catch(v){x.value=v}p.value==0&&(f.value=!1)}))();const h=()=>I(this,null,function*(){const g=w.value.account||"",_=w.value.password||"";if(g==""){x.value=a("\u8D26\u53F7\u4E0D\u80FD\u4E3A\u7A7A");return}if(_==""){x.value=a("\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A");return}f.value=!0;const v=D.Loading(a("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.Pppoe.POST({account:g,password:_});if(k!=null&&k.data){const{error:y,success:F}=k.data;y&&(x.value=y),(F==null||F==0)&&(D.Success(a("\u914D\u7F6E\u6210\u529F")),c.value=1)}}catch(k){x.value=k}f.value=!1,v.Close()});return(g,_)=>{const v=tt("switch-box"),k=tt("router-link");return c.value==0?(s(),d("div",nv,[t("h2",iv,i(e(a)("\u914D\u7F6E\u5BBD\u5E26\u8D26\u53F7")),1),t("h3",rv,i(e(a)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u8DEF\u7531 WAN \u53E3\u8FDE\u63A5\u5230\u5149\u732B")),1),t("div",sv,[p.value==-1011?(s(),d("li",{key:0,innerHTML:e(r)},null,8,dv)):$("",!0)]),t("form",{onSubmit:nt(h,["prevent"])},[t("label",null,[t("div",uv,[t("span",null,i(e(a)("\u5BBD\u5E26\u8D26\u53F7")),1)]),z(t("input",{type:"text","onUpdate:modelValue":_[0]||(_[0]=y=>w.value.account=y),placeholder:e(a)("\u5BBD\u5E26\u8D26\u53F7"),required:"",disabled:f.value},null,8,cv),[[Z,w.value.account,void 0,{trim:!0}]])]),t("label",null,[t("div",pv,[t("span",null,i(e(a)("\u5BC6\u7801")),1)]),z(t("input",{type:"password","onUpdate:modelValue":_[1]||(_[1]=y=>w.value.password=y),placeholder:e(a)("\u5BBD\u5E26\u5BC6\u7801"),required:"",disabled:f.value},null,8,fv),[[Z,w.value.password,void 0,{trim:!0}]])]),m.value?(s(),d("div",mv,[A(v,{modelValue:w.value.enableLanDhcp,"onUpdate:modelValue":_[2]||(_[2]=y=>w.value.enableLanDhcp=y)},{default:j(()=>[t("span",vv,i(e(a)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):$("",!0),x.value?(s(),d("div",bv,i(x.value),1)):$("",!0),t("div",gv,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:f.value},i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),9,hv),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u8FD4\u56DE")),9,_v)]),_:1},8,["to"])])],40,lv)])):c.value==1?(s(),d("div",xv,[t("h2",kv,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("div",wv,[A(k,{to:"/",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:y},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,yv)]),_:1}),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:y})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:y},i(e(a)("\u8FD4\u56DE")),9,Fv)]),_:1},8,["to"])])])):$("",!0)}}});var Cv=S(Ev,[["__scopeId","data-v-e187efe4"]]);const $v={key:0,id:"page"},Dv={class:"title"},Bv={class:"desc"},Yv={class:"network-message"},Av=["innerHTML"],Sv=["onSubmit"],zv={class:"label-key"},Pv={value:"dhcp"},Tv={value:"static"},Iv={class:"label-key"},Lv=["placeholder","disabled"],Mv={key:0,class:"msg"},Ov={class:"label-key"},Nv=["placeholder","disabled"],qv={key:1,class:"msg"},Vv={class:"label-key"},Gv=["placeholder","disabled"],jv={class:"label-key"},Rv=["disabled"],Uv={value:"manual"},Wv={class:"label-key"},Hv=["onUpdate:modelValue","placeholder","disabled"],Zv={class:"label-key"},Jv=["placeholder","disabled"],Xv={class:"label-key"},Kv=["placeholder","disabled"],Qv={key:2,class:"chose_dhcp"},tb={class:"dhcp_info"},eb={key:3,class:"msgs"},ab={class:"btns"},ob=["disabled"],nb=["onClick"],ib={key:1,id:"page"},rb={class:"title"},sb={class:"btns"},db=["onClick"],lb=["onClick"],ub=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=a("\u7531\u4E8E\u60A8\u7684\u8BBE\u5907\u6CA1\u6709 WAN \u53E3\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u8BBE\u7F6E\u5411\u5BFC\uFF0C\u5177\u4F53\u8BF7\u770B%{link}",{link:''+a("\u94FE\u63A5")+""},!0),l=E(0),r=E({}),c=E(""),w=E(""),x=E(""),f=E(!1),p=E(""),m=E(""),b=E(0),h=_t.checkIsIP,g=E(!1),v=Qt().query.type;(()=>I(this,null,function*(){var C,B;f.value=!0;try{const M=yield Promise.all([P.Guide.ClientModel.GET(),P.Guide.GetLan.GET()]);if(M[0]){const W=M[0];if(W.data){const{success:V,error:H,result:rt}=W.data;rt&&(rt.wanProto!="dhcp"&&rt.wanProto!="static"&&(rt.wanProto="dhcp",rt.dnsProto="auto"),rt.enableLanDhcp=!1,r.value=rt),V==-1011&&(b.value=V,f.value=!0)}}(C=M[1].data)!=null&&C.result&&(((B=M[1].data)==null?void 0:B.result).enableDhcp||(g.value=!0,r.value.enableLanDhcp=!0))}catch(M){c.value=M}b.value==0&&(f.value=!1)}))();const y=C=>{C.target.value=="static"?((r.value.staticIp==null||r.value.staticIp=="")&&(r.value.staticIp="192.168.1.100"),(r.value.subnetMask==null||r.value.subnetMask=="")&&(r.value.subnetMask="255.255.255.0"),r.value.dnsProto=="auto"&&setTimeout(()=>r.value.dnsProto="manual",0)):r.value.dnsProto=="manual"&&setTimeout(()=>r.value.dnsProto="auto",0)},F=C=>{const B=C.target;if(B.value==""){p.value="";return}h(B.value)?p.value="":p.value=a("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684IP\u5730\u5740")},Y=C=>{const B=C.target;if(B.value==""){m.value="";return}h(B.value)?m.value="":m.value=a("\u8BF7\u8F93\u5165\u5408\u6CD5\u7684\u5730\u5740")},N=()=>I(this,null,function*(){const C={};switch(r.value.wanProto){case"dhcp":break;case"static":C.staticIp=r.value.staticIp,C.subnetMask=r.value.subnetMask,C.gateway=r.value.gateway||"";break}switch(r.value.dnsProto){case"auto":break;case"manual":C.manualDnsIp=[],r.value.manualDnsIp!=null&&r.value.manualDnsIp.length>0?C.manualDnsIp=r.value.manualDnsIp:(C.manualDnsIp.push(w.value),x.value&&C.manualDnsIp.push(x.value));break}C.dnsProto=r.value.dnsProto,C.wanProto=r.value.wanProto,C.enableLanDhcp=r.value.enableLanDhcp;const B=D.Loading(a("\u914D\u7F6E\u4E2D...."));f.value=!0;try{const M=yield P.Guide.ClientModel.POST(C);if(M!=null&&M.data){const{success:W,error:V}=M==null?void 0:M.data;V&&(c.value=V),(W==null||W==0)&&(D.Success(a("\u914D\u7F6E\u6210\u529F")),l.value=1)}}catch(M){c.value=M}f.value=!1,B.Close()});return(C,B)=>{const M=tt("switch-box"),W=tt("router-link");return l.value==0?(s(),d("div",$v,[t("h2",Dv,i(e(a)("\u914D\u7F6E\u4E92\u8054\u7F51")),1),t("h3",Bv,i(e(a)("\u8BF7\u786E\u4FDD\u60A8\u5DF2\u5C06\u672C\u8BBE\u5907 WAN \u53E3\u8FDE\u63A5\u5230\u4E0A\u7EA7\u8DEF\u7531\u5668\u5C40\u57DF\u7F51\uFF08 LAN \uFF09\u63A5\u53E3")),1),t("div",Yv,[b.value==-1011?(s(),d("li",{key:0,innerHTML:e(u)},null,8,Av)):$("",!0)]),t("form",{onSubmit:nt(N,["prevent"])},[t("label",null,[t("div",zv,[t("span",null,i(e(a)("WAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),z(t("select",{"onUpdate:modelValue":B[0]||(B[0]=V=>r.value.wanProto=V),onInput:y},[t("option",Pv,i(e(a)("\u81EA\u52A8\u83B7\u53D6IP\u5730\u5740\uFF08DHCP\uFF09")),1),t("option",Tv,i(e(a)("\u9759\u6001IP\u5730\u5740")),1)],544),[[Q,r.value.wanProto]])]),r.value.wanProto=="static"?(s(),d(L,{key:0},[t("label",null,[t("div",Iv,[t("span",null,i(e(a)("IP\u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[1]||(B[1]=V=>r.value.staticIp=V),placeholder:e(a)("\u9759\u6001IP\u5730\u5740"),required:"",disabled:f.value,onInput:F},null,40,Lv),[[Z,r.value.staticIp,void 0,{trim:!0}]])]),p.value?(s(),d("p",Mv,i(p.value),1)):$("",!0),t("label",null,[t("div",Ov,[t("span",null,i(e(a)("\u5B50\u7F51\u63A9\u7801")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[2]||(B[2]=V=>r.value.subnetMask=V),placeholder:e(a)("\u5B50\u7F51\u63A9\u7801"),required:"",disabled:f.value,onInput:Y},null,40,Nv),[[Z,r.value.subnetMask,void 0,{trim:!0}]])]),m.value?(s(),d("p",qv,i(m.value),1)):$("",!0),t("label",null,[t("div",Vv,[t("span",null,i(e(a)("\u7F51\u5173\u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[3]||(B[3]=V=>r.value.gateway=V),placeholder:e(a)("\u7F51\u5173\u5730\u5740"),required:"",disabled:f.value},null,8,Gv),[[Z,r.value.gateway,void 0,{trim:!0}]])])],64)):$("",!0),t("label",null,[t("div",jv,[t("span",null,i(e(a)("DNS \u914D\u7F6E\u65B9\u5F0F")),1)]),z(t("select",{"onUpdate:modelValue":B[4]||(B[4]=V=>r.value.dnsProto=V)},[t("option",{value:"auto",disabled:r.value.wanProto=="static"},i(e(a)("\u81EA\u52A8\u83B7\u53D6\uFF08DHCP\uFF09")),9,Rv),t("option",Uv,i(e(a)("\u624B\u5DE5\u914D\u7F6E")),1)],512),[[Q,r.value.dnsProto]])]),r.value.dnsProto=="manual"?(s(),d(L,{key:1},[r.value.manualDnsIp!=null&&r.value.manualDnsIp.length>0?(s(!0),d(L,{key:0},R(r.value.manualDnsIp,(V,H)=>(s(),d("label",null,[t("div",Wv,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),z(t("input",{type:"text","onUpdate:modelValue":rt=>r.value.manualDnsIp[H]=rt,placeholder:e(a)("DNS\u670D\u52A1\u5668"),required:"",disabled:f.value},null,8,Hv),[[Z,r.value.manualDnsIp[H],void 0,{trim:!0}]])]))),256)):(s(),d(L,{key:1},[t("label",null,[t("div",Zv,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),z(t("input",{type:"text","onUpdate:modelValue":B[5]||(B[5]=V=>w.value=V),placeholder:e(a)("DNS\u670D\u52A1\u5668"),required:"",disabled:f.value},null,8,Jv),[[Z,w.value,void 0,{trim:!0}]])]),t("label",null,[t("div",Xv,i(e(a)("\u5907\u7528DNS\u670D\u52A1\u5668")),1),z(t("input",{type:"text","onUpdate:modelValue":B[6]||(B[6]=V=>x.value=V),placeholder:e(a)("\u5907\u7528DNS\u670D\u52A1\u5668"),disabled:f.value},null,8,Kv),[[Z,x.value,void 0,{trim:!0}]])])],64))],64)):$("",!0),g.value?(s(),d("div",Qv,[A(M,{modelValue:r.value.enableLanDhcp,"onUpdate:modelValue":B[7]||(B[7]=V=>r.value.enableLanDhcp=V)},{default:j(()=>[t("span",tb,i(e(a)("\u542F\u7528LAN\u53E3DHCP\u670D\u52A1\uFF08\u7528\u4E8E\u4ECE\u65C1\u8DEF\u7531\u6A21\u5F0F\u6062\u590D\u6210\u9ED8\u8BA4\u72B6\u6001\uFF09")),1)]),_:1},8,["modelValue"])])):$("",!0),c.value?(s(),d("div",eb,i(c.value),1)):$("",!0),t("div",ab,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:f.value},i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),9,ob),A(W,{to:e(v)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(a)("\u8FD4\u56DE")),9,nb)]),_:1},8,["to"])])],40,Sv)])):l.value==1?(s(),d("div",ib,[t("h2",rb,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("div",sb,[A(W,{to:"/",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:V},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),9,db)]),_:1}),A(W,{to:e(v)=="index"?"/":"/network",custom:""},{default:j(({navigate:V})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:V},i(e(a)("\u8FD4\u56DE")),9,lb)]),_:1},8,["to"])])])):$("",!0)}}});var cb=S(ub,[["__scopeId","data-v-5eefd6ee"]]);const pb=o=>(J("data-v-3d6d1dea"),o=o(),X(),o),fb={key:0,id:"page"},mb={class:"title"},vb=pb(()=>t("br",null,null,-1)),bb={class:"btns"},gb=["onClick"],hb={key:1,id:"page"},_b={class:"title"},xb={class:"desc"},kb=["onSubmit"],wb={class:"label-key"},yb={class:"label-value"},Fb={class:"label-key"},Eb=["placeholder"],Cb={class:"label-key"},$b=["placeholder"],Db={class:"label-key"},Bb=["placeholder"],Yb={class:"label-key"},Ab=["placeholder"],Sb={key:0,class:"msgs"},zb={class:"switch_inline"},Pb={key:0,class:"switch_info"},Tb={key:1,class:"switch_info"},Ib={class:"switch_inline"},Lb={class:"switch_info"},Mb={class:"switch_inline"},Ob={class:"switch_info"},Nb={class:"btns"},qb={class:"cbi-button cbi-button-apply app-btn app-next"},Vb=["onClick"],Gb={key:2,id:"page"},jb={class:"title"},Rb={class:"desc"},Ub={class:"btns"},Wb={key:3,id:"page"},Hb={class:"title"},Zb=["disabled"],Jb={style:{"text-align":"left"}},Xb={class:"btns"},Kb=["disabled"],Qb=["onClick"],tg=T({setup(o){const{$gettext:a,$ngettext:n}=q(),l=Qt().query.type,r=E(0),c=E(""),w=E(!1),x=U(()=>{var _,v,k;return!(((_=p.value)==null?void 0:_.ipv4addr)&&((v=p.value)==null?void 0:v.ipv4mask)&&((k=p.value)==null?void 0:k.gateway))}),f=E({subnetMask:"255.255.255.0",staticDnsIp:"223.5.5.5",staticLanIp:"",gateway:"",enableDhcp:!0,dhcp6c:!1,enableNat:!1}),p=E(),m=()=>{w.value=!0,P.Network.Status.GET().then(_=>{if(_!=null&&_.data){const{result:v}=_==null?void 0:_.data;v&&(p.value=v)}}).finally(()=>{w.value=!1})},b=_=>{var v,k,y,F,Y;_&&(f.value.staticLanIp=((v=p.value)==null?void 0:v.ipv4addr)||"",f.value.subnetMask=((k=p.value)==null?void 0:k.ipv4mask)&&mt.prefixToMask(p.value.ipv4mask)||"",f.value.gateway=((y=p.value)==null?void 0:y.gateway)||"",f.value.staticDnsIp=((F=p.value)==null?void 0:F.dnsList)&&((Y=p.value)==null?void 0:Y.dnsList[0])||"223.5.5.5"),r.value=1},h=_=>{window.location.href=location.protocol+"//"+f.value.staticLanIp+(location.port?":"+location.port:"")},g=()=>I(this,null,function*(){const _=f.value,v=D.Loading(a("\u914D\u7F6E\u4E2D..."));try{const k=yield P.Guide.GatewayRouter.POST(_);if(k!=null&&k.data){const{success:y,error:F}=k==null?void 0:k.data;if(F&&(c.value=F),y==null||y==0){setTimeout(()=>{r.value=2,v.Close()},5e3);return}}}catch(k){c.value=k}v.Close()});return(_,v)=>{var F,Y,N,C;const k=tt("router-link"),y=tt("switch-box");return r.value==0?(s(),d("div",fb,[t("h2",mb,i(e(a)("\u65C1\u8DEF\u7531\u914D\u7F6E\u524D\u7684\u51C6\u5907\u5DE5\u4F5C")),1),t("code",null,[et(i(e(a)("\u65C1\u8DEF\u7531\u6A21\u5F0F\uFF0C\u4E5F\u53EB\u5355\u81C2\u8DEF\u7531\u6A21\u5F0F\u3002"))+" ",1),t("p",null,i(e(a)("\u60A8\u53EF\u4EE5\u7528\u4E0A\u4E00\u7EA7\u8DEF\u7531\uFF08\u4E3B\u8DEF\u7531\uFF09\u62E8\u53F7\uFF0C\u7136\u540E\u7528\u672C\u8DEF\u7531\u6765\u5B9E\u73B0\u4E00\u4E9B\u9AD8\u7EA7\u529F\u80FD\u3002")),1),vb,t("p",null,i(e(a)("\u672C\u5411\u5BFC\u652F\u6301\u81EA\u52A8\u6216\u624B\u52A8\u914D\u7F6E\uFF1A")),1),t("p",null,i(e(a)("\u70B9\u51FB\u201C\u81EA\u52A8\u914D\u7F6E\u201D\u6309\u94AE\u5F00\u59CB\u81EA\u52A8\u914D\u7F6E\u5411\u5BFC\uFF1B")),1),t("p",null,i(e(a)("\u624B\u52A8\u914D\u7F6E\u5219\u9700\u81EA\u884C\u83B7\u53D6\u4E3B\u8DEF\u7531\u5668\u7684IP\u5730\u5740\uFF08\u4F8B\u5982 192.168.2.1 \uFF09\u548C\u5B50\u7F51\u63A9\u7801\uFF0C\u8BB0\u5F55\u4EE5\u5907\u540E\u7EED\u586B\u5199\uFF0C\u70B9\u51FB\u201C\u624B\u52A8\u914D\u7F6E\u201D\u6309\u94AE\uFF0C\u5207\u6362\u5230\u53C2\u6570\u914D\u7F6E\u9875\uFF0C\u6309\u5B9E\u9645\u60C5\u51B5\u81EA\u884C\u586B\u5199\u3002")),1)]),t("div",bb,[t("button",{class:"cbi-button cbi-button-success app-btn app-next",onClick:v[0]||(v[0]=B=>r.value=3)},i(e(a)("\u81EA\u52A8\u914D\u7F6E...")),1),t("button",{class:"cbi-button cbi-button-neutral app-btn app-next",onClick:v[1]||(v[1]=B=>b(!1))},i(e(a)("\u624B\u52A8\u914D\u7F6E...")),1),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(a)("\u8FD4\u56DE")),9,gb)]),_:1},8,["to"])])])):r.value==1?(s(),d("div",hb,[t("h2",_b,i(e(a)("\u914D\u7F6E\u65C1\u8DEF\u7531\u7F51\u7EDC")),1),t("h3",xb,i(e(a)("\u73B0\u5728\uFF0C\u8BF7\u4F60\u914D\u7F6E\u65C1\u8DEF\u7531\u4FE1\u606F")),1),t("form",{onSubmit:nt(g,["prevent"])},[t("label",null,[t("div",wb,[t("span",null,i(e(a)("LAN \u63A5\u53E3\u914D\u7F6E\u65B9\u5F0F")),1)]),t("div",yb,[t("select",{disabled:"",style:At({backgroundColor:"rgba(215, 215, 215, 1)",color:"#333"})},[t("option",null,i(e(a)("\u65C1\u8DEF\u7531\u6A21\u5F0F\u4EC5\u652F\u6301\u9759\u6001IP\u5730\u5740")),1)],4)])]),t("label",null,[t("div",Fb,[t("span",null,i(e(a)("IP \u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[2]||(v[2]=B=>f.value.staticLanIp=B),placeholder:e(a)("IP\u5730\u5740"),required:""},null,8,Eb),[[Z,f.value.staticLanIp,void 0,{trim:!0}]])]),t("label",null,[t("div",Cb,[t("span",null,i(e(a)("\u5B50\u7F51\u63A9\u7801")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[3]||(v[3]=B=>f.value.subnetMask=B),placeholder:e(a)("\u5B50\u7F51\u63A9\u7801"),required:""},null,8,$b),[[Z,f.value.subnetMask,void 0,{trim:!0}]])]),t("label",null,[t("div",Db,[t("span",null,i(e(a)("\u7F51\u5173\u5730\u5740")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[4]||(v[4]=B=>f.value.gateway=B),placeholder:e(a)("\u7F51\u5173\u5730\u5740"),required:""},null,8,Bb),[[Z,f.value.gateway,void 0,{trim:!0}]])]),t("label",null,[t("div",Yb,[t("span",null,i(e(a)("DNS\u670D\u52A1\u5668")),1)]),z(t("input",{type:"text","onUpdate:modelValue":v[5]||(v[5]=B=>f.value.staticDnsIp=B),placeholder:e(a)("223.5.5.5"),required:""},null,8,Ab),[[Z,f.value.staticDnsIp,void 0,{trim:!0}]])]),c.value?(s(),d("div",Sb,i(c.value),1)):$("",!0),t("div",zb,[A(y,{modelValue:f.value.enableDhcp,"onUpdate:modelValue":v[6]||(v[6]=B=>f.value.enableDhcp=B)},{default:j(()=>[f.value.enableDhcp?(s(),d("span",Pb,i(e(a)("\u63D0\u4F9B DHCPv4 \u670D\u52A1\uFF08\u9700\u8981\u5173\u95ED\u4E3B\u8DEF\u7531 DHCP \u670D\u52A1\uFF09")),1)):(s(),d("span",Tb,i(e(a)("\u63D0\u4F9B DHCPv4 \u670D\u52A1")),1))]),_:1},8,["modelValue"])]),t("div",Ib,[A(y,{modelValue:f.value.dhcp6c,"onUpdate:modelValue":v[7]||(v[7]=B=>f.value.dhcp6c=B)},{default:j(()=>[t("span",Lb,i(e(a)("\u81EA\u52A8\u83B7\u53D6 IPV6\uFF08\u5373\u5F00\u542F DHCPv6 \u5BA2\u6237\u7AEF\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Mb,[A(y,{modelValue:f.value.enableNat,"onUpdate:modelValue":v[8]||(v[8]=B=>f.value.enableNat=B)},{default:j(()=>[t("span",Ob,i(e(a)("\u5F00\u542F NAT\uFF08\u53EF\u4FEE\u590D\u67D0\u4E9B\u65E0\u7EBF\u70ED\u70B9\u4E0D\u80FD\u8BBF\u95EE\u5916\u7F51\u95EE\u9898\uFF09")),1)]),_:1},8,["modelValue"])]),t("div",Nb,[t("button",qb,i(e(a)("\u4FDD\u5B58\u914D\u7F6E")),1),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(a)("\u8FD4\u56DE")),9,Vb)]),_:1},8,["to"])])],40,kb)])):r.value==2?(s(),d("div",Gb,[t("h2",jb,i(e(a)("\u914D\u7F6E\u6210\u529F")),1),t("h3",Rb,i(e(a)("\u73B0\u5728\uFF0C\u5C06\u672C\u8DEF\u7531WAN\u53E3\u65AD\u5F00\uFF0C\u5C06\u5176\u4E2D\u4E00\u4E2ALAN\u53E3\u4E0E\u4E3B\u8DEF\u7531\u8FDE\u63A5\uFF0C\u5E76\u5C06\u5F53\u524D\u6D4F\u89C8\u5668\u8BBE\u5907\u8FDE\u63A5\u5230\u4E3B\u8DEF\u7531\u3002\u70B9\u51FB\u201C\u8FDB\u5165\u63A7\u5236\u53F0\u201D\u6D4F\u89C8\u5668\u5C06\u8DF3\u8F6C\u5230\u65B0\u7684\u8DEF\u7531IP")),1),t("div",Ub,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",onClick:h},i(e(a)("\u8FDB\u5165\u63A7\u5236\u53F0")),1)])])):r.value==3?(s(),d("div",Wb,[t("h2",Hb,i(e(a)("\u65C1\u8DEF\u7531\u81EA\u52A8\u914D\u7F6E")),1),t("code",null,i(e(a)("\u9996\u5148\u786E\u8BA4\u4E3B\u8DEF\u7531\u5F00\u542F\u4E86 DHCP \u670D\u52A1\uFF0C\u786E\u8BA4\u672C\u8DEF\u7531 WAN \u53E3\u662F DHCP \u5BA2\u6237\u7AEF\u6A21\u5F0F\uFF08\u9ED8\u8BA4\u5373\u662F\uFF0C\u5982\u679C\u4E0D\u662F\u53EF\u4F7F\u7528\u201C\u8FDE\u63A5\u73B0\u6709\u8DEF\u7531\u5668\u201D\u5411\u5BFC\u6539\u6210 DHCP \u5BA2\u6237\u7AEF\uFF09\uFF0C\u7136\u540E\u5C06\u672C\u8DEF\u7531 WAN \u53E3\u4E0E\u4E3B\u8DEF\u7531\u7684 LAN \u8FDE\u63A5\uFF0C\u4EE5\u81EA\u52A8\u83B7\u53D6\u914D\u7F6E\u3002")),1),et(" "+i(e(a)("1. \u6EE1\u8DB3\u4E0A\u8FF0\u6761\u4EF6\u4EE5\u540E\uFF0C\u70B9\u51FB\u201C\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\u201D\u4EE5\u5237\u65B0\u5F53\u524D\u8FDE\u63A5\u4FE1\u606F\uFF0C\u6210\u529F\u4EE5\u540E\uFF0C\u201C\u81EA\u52A8\u586B\u5199\u201D\u6309\u94AE\u5C06\u88AB\u6FC0\u6D3B\u3002(\u5931\u8D25\u53EF\u518D\u6B21\u70B9\u51FB)"))+" ",1),t("button",{class:st(["cbi-button cbi-button-neutral",e(x)?"cbi-button-neutral":"cbi-button-success"]),disabled:w.value,onClick:m},[et(i(e(a)("\u5F53\u524D IPv4 \u4E0A\u6E38\u4FE1\u606F\uFF08\u70B9\u6B64\u5237\u65B0\uFF09"))+" ",1),t("p",Jb,[t("ul",null,[t("li",null,i(e(a)("IP \u5730\u5740: "))+i((F=p.value)==null?void 0:F.ipv4addr),1),t("li",null,i(e(a)("\u5B50\u7F51\u63A9\u7801: "))+i(((Y=p.value)==null?void 0:Y.ipv4mask)&&e(mt).prefixToMask(p.value.ipv4mask)),1),t("li",null,i(e(a)("\u7F51\u5173\u5730\u5740: "))+i((N=p.value)==null?void 0:N.gateway),1),t("li",null,i(e(a)("DNS\u670D\u52A1\u5668: "))+i(((C=p.value)==null?void 0:C.dnsList)&&p.value.dnsList[0]||(e(x)?"":e(a)("\uFF08\u65E0DNS\u670D\u52A1\u5668\uFF0C\u8BF7\u4E4B\u540E\u81EA\u884C\u586B\u5199\u516C\u5171DNS\u670D\u52A1\u5668\uFF0C\u4F8B\u5982 223.5.5.5\uFF09"))),1)])])],10,Zb),et(" "+i(e(a)("2. \u70B9\u51FB\u201C\u81EA\u52A8\u586B\u5199\u201D\uFF0C\u5C06\u5207\u6362\u5230\u53C2\u6570\u9875\u5E76\u81EA\u52A8\u586B\u5199\u3002\u6B64\u65F6\u4F9D\u7136\u53EF\u4EE5\u81EA\u884C\u8C03\u6574\u53C2\u6570\u3002"))+" ",1),t("div",Xb,[t("button",{class:"cbi-button cbi-button-apply app-btn app-next",disabled:e(x),onClick:v[9]||(v[9]=B=>b(!0))},i(e(a)("\u81EA\u52A8\u586B\u5199..."))+i(e(x)?e(a)("\uFF08\u8BF7\u5148\u83B7\u53D6IPv4\u4E0A\u6E38\u4FE1\u606F\uFF09"):""),9,Kb),A(k,{to:e(l)=="index"?"/":"/network",custom:""},{default:j(({navigate:B})=>[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:B},i(e(a)("\u8FD4\u56DE")),9,Qb)]),_:1},8,["to"])])])):$("",!0)}}});var eg=S(tg,[["__scopeId","data-v-3d6d1dea"]]);const ag={class:"actioner-container"},og={class:"actioner-container_header"},ng={class:"actioner-container_body"},ig={class:"label-item"},rg={class:"label-item_key"},sg={class:"label-item_value"},dg=["value"],lg={class:"label-item_tips"},ug={class:"label-item"},cg={class:"label-item_key"},pg={key:0,class:"label-item_value"},fg={class:"msg-warning"},mg={key:1,class:"label-item_value"},vg=["value"],bg={key:1,class:"msg-warning"},gg={class:"label-item_tips"},hg={class:"actioner-container_footer"},_g=["disabled"],xg=["disabled"],kg={key:1,class:"actioner-container_body setup-loading"},wg={class:"actioner-container_body setup-error"},yg={class:"actioner-container_footer"},Fg=["disabled"],Eg={class:"actioner-container_body setup-success"},Cg={class:"body-title"},$g={class:"actioner-container_footer"},Dg=T({props:{Close:{type:Function,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=E("init"),w=E(""),x=[{name:"jbod",title:n("JBOD (\u7EBF\u6027)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u5C06\u591A\u4E2A\u786C\u76D8\u5408\u5E76\u4E3A\u5355\u4E2A\u5B58\u50A8\u7A7A\u95F4\uFF0C\u5176\u5BB9\u91CF\u7B49\u4E8E\u6240\u6709\u786C\u76D8\u5BB9\u91CF\u7684\u603B\u548C\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid0",title:n("RAID 0 (\u6761\u5E26)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u201C\u533A\u5757\u5EF6\u5C55\u201D\u529F\u80FD\u662F\u5C06\u6570\u636E\u5206\u6210\u591A\u4E2A\u5757\uFF0C\u5E76\u5C06\u6570\u636E\u5757\u5206\u6563\u5230\u7EC4\u6210\u7684\u591A\u4E2A\u786C\u76D8\u4E0A\u4EE5\u63D0\u9AD8\u6027\u80FD\u7684\u8FC7\u7A0B\u3002\u4E0D\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid1",title:n("RAID 1 (\u955C\u50CF)"),info:n("\u81F3\u5C11\u9700\u89812\u5757\u786C\u76D8\uFF0C\u540C\u65F6\u5411\u6240\u6709\u786C\u76D8\u5199\u5165\u76F8\u540C\u7684\u6570\u636E\u3002\u63D0\u4F9B\u6570\u636E\u5197\u4F59\u3002"),select:2},{name:"raid5",title:"RAID 5 ",info:n("\u81F3\u5C11\u9700\u89813\u5757\u786C\u76D8\uFF0C\u6267\u884C\u6BB5\u843D\u5206\u5757\u5EF6\u5C55\uFF0C\u5E76\u5BF9\u5206\u5E03\u5230\u6240\u6709\u7EC4\u6210\u786C\u76D8\u4E0A\u7684\u6570\u636E\u6267\u884C\u5947\u5076\u6821\u9A8C\uFF0C\u4ECE\u800C\u63D0\u4F9B\u6BD4 RAID 1 \u66F4\u6709\u6548\u7684\u6570\u636E\u5197\u4F59\u3002"),select:3},{name:"raid6",title:"RAID 6 ",info:n("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u6267\u884C\u4E24\u4E2A\u5C42\u7EA7\u7684\u6570\u636E\u5947\u5076\u6821\u9A8C\u4EE5\u5B58\u50A8\u7B49\u4E8E 2 \u4E2A\u786C\u76D8\u5BB9\u91CF\u7684\u5197\u4F59\u6570\u636E\uFF0C\u63D0\u4F9B\u6BD4 RAID 5 \u66F4\u5927\u7A0B\u5EA6\u7684\u6570\u636E\u5197\u4F59\u3002"),select:4},{name:"raid10",title:"RAID 10",info:n("\u81F3\u5C11\u9700\u89814\u5757\u786C\u76D8\uFF0C\u63D0\u4F9B RAID 0 \u7684\u6027\u80FD\u548C RAID 1 \u7684\u6570\u636E\u4FDD\u62A4\u7EA7\u522B\uFF0C\u5C06\u786C\u76D8\u7EC4\u5408\u8FDB\u955C\u50CF\u6570\u636E\u7684\u7531\u4E24\u4E2A\u786C\u76D8\u7EC4\u6210\u7684\u7EC4\u3002"),select:4}],f=E("raid5"),p=E([]),m=k=>{let y="";return x.forEach(F=>{F.name===k&&(y=F.info)}),y},b=E(!1),h=lt({loading:!1,members:[]}),g=k=>{};(()=>I(this,null,function*(){h.loading=!0;try{const k=yield P.Raid.CreateList.GET();if(k!=null&&k.data){const{success:y,error:F,result:Y}=k.data;if(Y&&(h.members=Y.members||[]),F)throw F}}catch(k){console.log(k)}finally{h.loading=!1}}))();const v=()=>I(this,null,function*(){const k=x.filter(F=>F.name===f.value)[0],y=p.value;if(!k){D.Warning(n("\u8BF7\u9009\u62E9raid\u7C7B\u578B"));return}if(y.length==0){D.Warning(n("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}if(k.select>y.length){D.Warning(n("\u8BF7\u9009\u62E9\u81F3\u5C11%{min}\u5757\u78C1\u76D8",{min:""+k.select}));return}if(!!confirm(n("\u662F\u5426\u7ACB\u5373\u521B\u5EFA %{name}\uFF1F\u9009\u62E9\u7684\u786C\u76D8\u6240\u6709\u5206\u533A\u5C06\u4F1A\u88AB\u6E05\u9664\uFF0C\u6B64\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u786C\u76D8\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002",{name:k.name}))&&!!confirm(n("\u786E\u5B9A\u521B\u5EFA %{name}\uFF1F\u8BE5\u64CD\u4F5C\u4E0D\u53EF\u9006,\u8BF7\u8C28\u614E\u64CD\u4F5C",{name:k.name}))){b.value=!0,c.value="loading";try{const F=yield P.Raid.Create.POST({level:k.name,devicePaths:y});if(F.data){const{success:Y,error:N,result:C}=F.data;if(N)throw N;(Y||0)==0&&(c.value="success",r())}}catch(F){w.value=F,c.value="error"}finally{b.value=!1}}});return(k,y)=>{const F=tt("icon-loading"),Y=tt("icon-error"),N=tt("icon-success");return s(),d("div",ag,[t("div",og,[t("span",null,i(e(n)("RAID\u521B\u5EFA\u5411\u5BFC")),1)]),c.value=="init"?(s(),d(L,{key:0},[t("div",ng,[t("p",null,i(e(n)("RAID\u78C1\u76D8\u9635\u5217\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("div",ig,[t("div",rg,[t("span",null,i(e(n)("RAID\u7EA7\u522B\uFF1A")),1)]),t("div",sg,[z(t("select",{"onUpdate:modelValue":y[0]||(y[0]=C=>f.value=C),onChange:g},[(s(),d(L,null,R(x,C=>t("option",{value:C.name},i(C.title),9,dg)),64))],544),[[Q,f.value]])]),t("div",lg,[A(ft),et(" "+i(m(f.value)),1)])]),t("div",ug,[t("div",cg,[t("span",null,i(e(n)("\u78C1\u76D8\u9635\u5217\u6210\u5458\uFF1A")),1)]),e(h).loading?(s(),d("div",pg,[t("span",fg,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),d("div",mg,[e(h).members.length>0?(s(!0),d(L,{key:0},R(e(h).members,C=>(s(),d("label",null,[z(t("input",{type:"checkbox","onUpdate:modelValue":y[1]||(y[1]=B=>p.value=B),value:C.path},null,8,vg),[[$t,p.value]]),et(" \u3010"+i(C.model)+"\u3011"+i(C.name)+" "+i(C.path)+" ["+i(C.sizeStr)+"] ",1)]))),256)):(s(),d("span",bg,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))])),t("div",gg,[A(ft),et(" "+i(e(n)("\u9009\u62E9\u5C06\u8981\u7528\u4E8E\u521B\u5EFA RAID \u7684\u786C\u76D8\uFF0C\u901A\u8FC7 USB \u63A5\u5165\u7684\u8BBE\u5907\u4E0D\u4F1A\u5728\u5217\u8868\u4E2D\u663E\u793A\uFF08USB\u63A5\u5165\u4E0D\u7A33\u5B9A\uFF09\u3002")),1)])])]),t("div",hg,[t("div",{class:"close",onClick:l,disabled:b.value},i(e(n)("\u53D6\u6D88")),9,_g),t("div",{class:"next",onClick:v,disabled:b.value},i(e(n)("\u521B\u5EFA")),9,xg)])],64)):c.value=="loading"?(s(),d("div",kg,[A(F,{size:60,color:"#666"}),t("span",null,i(e(n)("\u6B63\u5728\u521B\u5EFA\u4E2D...")),1)])):c.value=="error"?(s(),d(L,{key:2},[t("div",wg,[A(Y),t("span",null,i(w.value),1)]),t("div",yg,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1),t("div",{class:"next",onClick:v,disabled:b.value},i(e(n)("\u91CD\u65B0\u521B\u5EFA")),9,Fg)])],64)):c.value=="success"?(s(),d(L,{key:3},[t("div",Eg,[A(N),t("div",Cg,i(e(n)("\u521B\u5EFA\u6210\u529F")),1)]),t("div",$g,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])],64)):$("",!0)])}}});var Bg=S(Dg,[["__scopeId","data-v-7cf2dd18"]]);const Yg={class:"actioner-container"},Ag={class:"actioner-container_body"},Sg=["value"],zg={class:"actioner-container_footer"},Pg=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=E("");return(()=>{P.Raid.Detail.POST({path:a.raid.path}).then(w=>{if(w.data){const{result:x,error:f}=w.data;f?r.value=f:r.value=(x==null?void 0:x.detail)||""}}).catch(w=>{r.value=w.message})})(),(w,x)=>(s(),d("div",Yg,[t("div",Ag,[t("textarea",{value:r.value},null,8,Sg)]),t("div",zg,[t("div",{class:"close",onClick:l},i(e(n)("\u5173\u95ED")),1)])]))}});var Tg=S(Pg,[["__scopeId","data-v-0ef06e27"]]);const Ig={class:"actioner-container"},Lg={class:"actioner-container_header"},Mg={class:"actioner-container_body"},Og={class:"label-item"},Ng={class:"label-item_key"},qg={class:"label-item_value"},Vg={disabled:""},Gg={class:"label-item"},jg={class:"label-item_key"},Rg={key:0,class:"label-item_value"},Ug={class:"msg-warning"},Wg={key:1,class:"label-item_value"},Hg=["value"],Zg={key:1,class:"msg-warning"},Jg={class:"actioner-container_footer"},Xg=["disabled"],Kg=["disabled"],Qg=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=()=>I(this,null,function*(){const m=f.value;if(m==""){D.Warning(n("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}x.value=!0;const b=D.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const h=yield P.Raid.Add.POST({path:a.raid.path,memberPath:m});if(h.data){const{error:g,success:_}=h.data;if(g)throw g;(_||0)==0&&(D.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),l())}}catch(h){D.Error(`${h}`)}finally{x.value=!1,b.Close()}}),w=lt({loading:!1,members:[]}),x=E(!1),f=E("");return(()=>I(this,null,function*(){w.loading=!0,x.value=!0;try{const m=yield P.Raid.CreateList.GET();if(m!=null&&m.data){const{success:b,error:h,result:g}=m.data;if(g&&(w.members=g.members||[]),h)throw h}}catch(m){console.log(m)}finally{x.value=!1,w.loading=!1}}))(),(m,b)=>(s(),d("div",Ig,[t("div",Lg,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u4FEE\u6539")),1)]),t("div",Mg,[t("div",Og,[t("div",Ng,i(e(n)("\u8BBE\u5907")),1),t("div",qg,[t("select",Vg,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Gg,[t("div",jg,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u88AB\u6DFB\u52A0\u5230RAID\u7684\u786C\u76D8\uFF09\uFF1A")),1),e(w).loading?(s(),d("div",Rg,[t("span",Ug,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),d("div",Wg,[e(w).members.length>0?(s(!0),d(L,{key:0},R(e(w).members,h=>(s(),d("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=g=>f.value=g),value:h.path},null,8,Hg),[[ut,f.value]]),et(" \u3010"+i(h.model)+"\u3011"+i(h.name)+" "+i(h.path)+" ["+i(h.sizeStr)+"] ",1)]))),256)):(s(),d("span",Zg,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",Jg,[t("div",{class:"close",onClick:l,disabled:x.value},i(e(n)("\u53D6\u6D88")),9,Xg),t("div",{class:"next",onClick:c,disabled:x.value},i(e(n)("\u4FDD\u5B58")),9,Kg)])]))}});var th=S(Qg,[["__scopeId","data-v-593445fb"]]);const eh={class:"actioner-container"},ah={class:"actioner-container_header"},oh={class:"actioner-container_body"},nh={class:"label-item"},ih={class:"label-item_key"},rh={class:"label-item_value"},sh={disabled:""},dh={class:"label-item"},lh={class:"label-item_key"},uh={class:"label-item_value"},ch=["value"],ph={class:"actioner-container_footer"},fh=["disabled"],mh=["disabled"],vh=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=()=>I(this,null,function*(){const f=x.value;if(f==""){D.Warning(n("\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u786C\u76D8"));return}w.value=!0;const p=D.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const m=yield P.Raid.Remove.POST({path:a.raid.path,memberPath:f});if(m.data){const{error:b,success:h}=m.data;if(b)throw b;(h||0)==0&&(D.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),l())}}catch(m){D.Error(`${m}`)}finally{w.value=!1,p.Close()}}),w=E(!1),x=E("");return(f,p)=>(s(),d("div",eh,[t("div",ah,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u79FB\u9664")),1)]),t("div",oh,[t("div",nh,[t("div",ih,i(e(n)("\u8BBE\u5907")),1),t("div",rh,[t("select",sh,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",dh,[t("div",lh,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u8981\u4ECERAID\u9635\u5217\u4E2D\u5220\u9664\u7684\u786C\u76D8\uFF09\uFF1A")),1),t("div",uh,[(s(!0),d(L,null,R(o.raid.members,m=>(s(),d("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":p[0]||(p[0]=b=>x.value=b),value:m},null,8,ch),[[ut,x.value]]),et(" "+i(m),1)]))),256))])])]),t("div",ph,[t("div",{class:"close",onClick:l,disabled:w.value},i(e(n)("\u53D6\u6D88")),9,fh),t("div",{class:"next",onClick:c,disabled:w.value},i(e(n)("\u4FDD\u5B58")),9,mh)])]))}});var bh=S(vh,[["__scopeId","data-v-77aa4121"]]);const gh={class:"actioner-container"},hh={class:"actioner-container_header"},_h={class:"actioner-container_body"},xh={class:"label-item"},kh={class:"label-item_key"},wh={class:"label-item_value"},yh={disabled:""},Fh={class:"label-item"},Eh={class:"label-item_key"},Ch={key:0,class:"label-item_value"},$h={class:"msg-warning"},Dh={key:1,class:"label-item_value"},Bh=["value"],Yh={key:1,class:"msg-warning"},Ah={class:"actioner-container_footer"},Sh=["disabled"],zh=["disabled"],Ph=T({props:{Close:{type:Function,required:!0},raid:{type:Object,required:!0},success:{type:Function}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=()=>{a.Close()},r=()=>{a.success&&a.success()},c=()=>I(this,null,function*(){const m=f.value;if(m==""){D.Warning(n("\u8BF7\u9009\u62E9\u8981\u6DFB\u52A0\u7684\u786C\u76D8"));return}x.value=!0;const b=D.Loading(n("\u4FDD\u5B58\u4E2D..."));try{const h=yield P.Raid.Recover.POST({path:a.raid.path,memberPath:m});if(h.data){const{error:g,success:_}=h.data;if(g)throw g;(_||0)==0&&(D.Success(n("\u4FDD\u5B58\u6210\u529F")),r(),l())}}catch(h){D.Error(`${h}`)}finally{x.value=!1,b.Close()}}),w=lt({loading:!1,members:[]}),x=E(!1),f=E("");return(()=>I(this,null,function*(){w.loading=!0,x.value=!0;try{const m=yield P.Raid.CreateList.GET();if(m!=null&&m.data){const{success:b,error:h,result:g}=m.data;if(g&&(w.members=g.members||[]),h)throw h}}catch(m){console.log(m)}finally{x.value=!1,w.loading=!1}}))(),(m,b)=>(s(),d("div",gh,[t("div",hh,[t("span",null,"RAID - "+i(o.raid.name)+" "+i(e(n)("\u6062\u590D")),1)]),t("div",_h,[t("div",xh,[t("div",kh,i(e(n)("\u8BBE\u5907")),1),t("div",wh,[t("select",yh,[t("option",null,i(o.raid.name)+"_"+i(o.raid.venderModel)+" ("+i(o.raid.path)+"\uFF0C"+i(o.raid.level)+"\uFF0C"+i(o.raid.size)+") ",1)])])]),t("div",Fh,[t("div",Eh,i(e(n)("\u9009\u62E9\u786C\u76D8\uFF08\u9009\u62E9\u7A7A\u95F2\u7684\u786C\u76D8\u6062\u590DRAID\u8BBE\u5907\uFF09\uFF1A")),1),e(w).loading?(s(),d("div",Ch,[t("span",$h,i(e(n)("\u68C0\u6D4B\u4E2D...")),1)])):(s(),d("div",Dh,[e(w).members.length>0?(s(!0),d(L,{key:0},R(e(w).members,h=>(s(),d("label",null,[z(t("input",{type:"radio","onUpdate:modelValue":b[0]||(b[0]=g=>f.value=g),value:h.path},null,8,Bh),[[ut,f.value]]),et(" \u3010"+i(h.model)+"\u3011"+i(h.name)+" "+i(h.path)+" ["+i(h.sizeStr)+"] ",1)]))),256)):(s(),d("span",Yh,i(e(n)("\u68C0\u6D4B\u4E0D\u5230\u53EF\u7528\u78C1\u76D8\u9635\u5217\u6210\u5458")),1))]))])]),t("div",Ah,[t("div",{class:"close",onClick:l,disabled:x.value},i(e(n)("\u53D6\u6D88")),9,Sh),t("div",{class:"next",onClick:c,disabled:x.value},i(e(n)("\u4FDD\u5B58")),9,zh)])]))}});var Th=S(Ph,[["__scopeId","data-v-a924400c"]]);const Ih={class:"action-main"},Lh=T({props:{Close:{type:Function,required:!0},setup:{type:String,default:"create"},raid:{type:Object},success:{type:Function}},setup(o){return(a,n)=>(s(),G(it,{type:2},{default:j(()=>[t("div",Ih,[o.setup=="create"?(s(),G(Bg,{key:0,Close:o.Close},null,8,["Close"])):o.setup=="info"&&o.raid!=null?(s(),G(Tg,{key:1,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="edit"&&o.raid!=null?(s(),G(th,{key:2,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="remove"&&o.raid!=null?(s(),G(bh,{key:3,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):o.setup=="recover"&&o.raid!=null?(s(),G(Th,{key:4,Close:o.Close,raid:o.raid,success:o.success},null,8,["Close","raid","success"])):$("",!0)])]),_:1}))}});var Mh=S(Lh,[["__scopeId","data-v-6ef94d02"]]);const qt=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(Mh,ot(K({},o),{Close:()=>{u()}}));n.use(Le),n.mount(a);const u=()=>{n.unmount(),a.remove()};return{Close:u}},Ue=o=>(J("data-v-e68d5bbe"),o=o(),X(),o),Oh={id:"page"},Nh={name:"content"},qh={class:"cbi-map-descr"},Vh={style:{color:"#f5365b","margin-top":"10px"}},Gh={style:{color:"#f5365b","margin-top":"10px"}},jh={class:"btns"},Rh=["disabled"],Uh={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Wh={class:"table cbi-section-table"},Hh={style:{}},Zh={class:"tr cbi-section-table-titles anonymous"},Jh={class:"th cbi-section-table-cell","data-widget":"value"},Xh={class:"th cbi-section-table-cell","data-widget":"value"},Kh={class:"th cbi-section-table-cell","data-widget":"value"},Qh={class:"th cbi-section-table-cell","data-widget":"value"},t_={class:"th cbi-section-table-cell","data-widget":"value"},e_={class:"th cbi-section-table-cell","data-widget":"value"},a_={class:"th cbi-section-table-cell","data-widget":"value"},o_={class:"th cbi-section-table-cell","data-widget":"value"},n_={class:"tr cbi-section-table-row"},i_={class:"td cbi-value-field"},r_={class:"td cbi-value-field"},s_=["title"],d_={class:"item-status"},l_={key:0,class:"item-status item-status-detail"},u_={class:"td cbi-value-field"},c_={class:"td cbi-value-field"},p_={class:"td cbi-value-field"},f_=Ue(()=>t("br",null,null,-1)),m_={class:"td cbi-value-field"},v_=Ue(()=>t("br",null,null,-1)),b_={key:1,href:"/cgi-bin/luci/admin/quickstart/"},g_={class:"td cbi-section-table-cell nowrap cbi-section-actions"},h_=["title","disabled","onClick"],__=["title","disabled","onClick"],x_=["title","onClick"],k_=["title","onClick"],w_=["title","onClick"],y_=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=lt({disksList:[]}),l=()=>I(this,null,function*(){try{const v=yield P.Raid.List.GET();if(v!=null&&v.data){const{success:k,error:y,result:F}=v.data;if(F&&(u.disksList=F.disks||[]),y)throw y}}catch(v){console.log(v)}}),r=_t.easyInterval(l,5e3);ce(()=>{r()});const c=v=>{switch(v.level){case"raid0":case"jbod":return!0}return v.status.indexOf("degraded")!=-1||v.status.indexOf("resyncing(")!=-1},w=v=>{let k=[];return v.childrens&&v.childrens.forEach(y=>{y.mountPoint&&k.push(`${y.name}(${y.mountPoint})`)}),k},x=()=>I(this,null,function*(){qt({setup:"create",success:()=>{l()}})}),f=v=>{qt({setup:"info",raid:v})},p=v=>I(this,null,function*(){if(v.childrens&&v.childrens.length>0&&v.childrens.filter(F=>F.mountPoint).length>0){Xt({content:a("\u5220\u9664 RAID \u8BBE\u5907\u4E4B\u524D\u8BF7\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF"),nextTitle:a("\u53BB\u5378\u8F7D"),next:()=>{location.href="/cgi-bin/luci/admin/system/mounts"},clearTitle:a("\u53D6\u6D88"),clear:()=>{}});return}if(!confirm(a("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u8BE5\u78C1\u76D8\u9635\u5217\u5417\uFF1F\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002\u5220\u9664\u6210\u529F\u540E\uFF0C\u5982\u9700\u53E6\u5916\u7EC4RAID\uFF0C\u5EFA\u8BAE\u7A0D\u7B49\u51E0\u5206\u949F\u540E\u518D\u8BD5\u3002",{name:v.name}))||!confirm(a("\u786E\u5B9A\u8981\u5220\u9664 %{name} \u5417?",{name:v.name})))return;const k=D.Loading(a("\u5220\u9664\u4E2D..."));try{const y=yield P.Raid.Delete.POST({path:v.path,members:v.members});if(y.data){const{success:F,error:Y}=y.data;if(Y)throw Y;(F||0)==0&&(D.Success(a("\u5220\u9664\u6210\u529F")),l())}}catch(y){D.Error(`${y}`)}finally{k.Close()}}),m=v=>{qt({setup:"edit",raid:v,success:()=>{l()}})},b=v=>{qt({setup:"remove",raid:v,success:()=>{l()}})},h=v=>{qt({setup:"recover",raid:v,success:()=>{l()}})},g=E(!1),_=()=>{Xt({content:a("\u5C06\u626B\u63CF\u78C1\u76D8\u91CC RAID \u7684\u78C1\u76D8\u9635\u5217\u914D\u7F6E\u5E76\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u6062\u590D RAID \u78C1\u76D8\u9635\u5217\u5417\uFF1F"),nextTitle:a("\u786E\u5B9A"),next:()=>I(this,null,function*(){g.value=!0;const v=D.Loading(a("\u626B\u63CF\u4E2D..."));try{const k=yield P.Raid.Autofix.GET();if(k.data){const{error:y,success:F}=k.data;if(y)throw y;(F||0)==0&&(D.Success(a("\u6062\u590D\u5B8C\u6210")),l())}}catch(k){D.Error(`${k}`)}finally{v.Close(),g.value=!1}}),clearTitle:a("\u53D6\u6D88"),clear:()=>{}})};return(v,k)=>(s(),d("div",Oh,[t("h2",Nh,i(e(a)("RAID\u7BA1\u7406")),1),t("div",qh,[t("p",null,i(e(a)("RAID \uFF08 Redundant Array of Independent Disks \uFF09\u5373\u72EC\u7ACB\u78C1\u76D8\u5197\u4F59\u9635\u5217\uFF0C\u7B80\u79F0\u4E3A\u300C\u78C1\u76D8\u9635\u5217\u300D\uFF0C\u5C31\u662F\u7528\u591A\u4E2A\u72EC\u7ACB\u7684\u78C1\u76D8\u7EC4\u6210\u5728\u4E00\u8D77\u5F62\u6210\u4E00\u4E2A\u5927\u7684\u78C1\u76D8\u7CFB\u7EDF\uFF0C\u4ECE\u800C\u5B9E\u73B0\u6BD4\u5355\u5757\u78C1\u76D8\u66F4\u597D\u7684\u5B58\u50A8\u6027\u80FD\u548C\u66F4\u9AD8\u7684\u53EF\u9760\u6027\u3002")),1),t("p",Vh," * "+i(e(a)("RAID\u529F\u80FD\u6B63\u5728\u516C\u6D4B\u4E2D\uFF0C\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u5982\u9020\u6210\u6570\u636E\u4E22\u5931\u7B49\u95EE\u9898\uFF0C\u6982\u4E0D\u8D1F\u8D23\uFF0C\u8BF7\u8C28\u614E\u4F7F\u7528\u3002")),1),t("p",Gh," * "+i(e(a)("\u5982\u679C\u7531\u4E8E\u7CFB\u7EDF\u91CD\u7F6E\u6216\u91CD\u542F\u5BFC\u81F4\u7684RAID\u8BBE\u5907\u4E22\u5931\u53EF\u4EE5\u5C1D\u8BD5\u901A\u8FC7\u4E0B\u65B9'\u626B\u63CF\u6062\u590DRAID'\u6309\u94AE\u6062\u590D")),1)]),t("div",jh,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:k[0]||(k[0]=y=>x())},i(e(a)("\u521B\u5EFARAID")),1),t("button",{class:"btn cbi-button cbi-button-apply",onClick:k[1]||(k[1]=y=>_()),disabled:g.value},i(e(a)("\u626B\u63CF\u6062\u590DRAID")),9,Rh)]),t("div",null,[t("div",Uh,[t("table",Wh,[t("tbody",Hh,[t("tr",Zh,[t("th",Jh,i(e(a)("\u540D\u79F0")),1),t("th",Xh,i(e(a)("\u8BBE\u5907")),1),t("th",Kh,i(e(a)("\u72B6\u6001")),1),t("th",Qh,i(e(a)("\u7EA7\u522B")),1),t("th",t_,i(e(a)("\u5BB9\u91CF")),1),t("th",e_,i(e(a)("\u6210\u5458")),1),t("th",a_,i(e(a)("\u6302\u8F7D\u4FE1\u606F")),1),t("th",o_,i(e(a)("\u64CD\u4F5C")),1)]),(s(!0),d(L,null,R(e(u).disksList,y=>(s(),d("tr",n_,[t("td",i_,[t("b",null,i(y.name),1)]),t("td",r_,[t("b",null,i(y.path),1)]),t("td",{class:"td cbi-value-field",title:y.status+(y.rebuildStatus||"")},[t("b",d_,i(y.status),1),y.rebuildStatus?(s(),d("b",l_," \u2026 ")):$("",!0)],8,s_),t("td",u_,[t("b",null,i(y.level),1)]),t("td",c_,[t("b",null,i(y.size),1)]),t("td",p_,[(s(!0),d(L,null,R(y.members,F=>(s(),d("b",null,[et(i(F)+" ",1),f_]))),256))]),t("td",m_,[w(y).length>0?(s(!0),d(L,{key:0},R(w(y),F=>(s(),d("b",null,[et(i(F)+" ",1),v_]))),256)):(s(),d("a",b_,i(e(a)("\u53BB\u6302\u8F7D")),1))]),t("td",g_,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u6269\u5145"),disabled:c(y),onClick:F=>m(y)},i(e(a)("\u6269\u5145")),9,h_),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u79FB\u9664"),disabled:c(y),onClick:F=>b(y)},i(e(a)("\u79FB\u9664")),9,__),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u6062\u590D"),onClick:F=>h(y)},i(e(a)("\u6062\u590D")),9,x_),t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u8BE6\u60C5"),onClick:F=>f(y)},i(e(a)("\u8BE6\u60C5")),9,k_),t("button",{class:"cbi-button cbi-button-remove",title:e(a)("\u5982\u679C\u60A8\u5728RAID\u78C1\u76D8\u9635\u5217\u4E2D\u521B\u5EFA\u4E86\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u5148\u5378\u8F7D\u6587\u4EF6\u7CFB\u7EDF\uFF0C\u540E\u5220\u9664\u6587\u4EF6\u7CFB\u7EDF\u5220\u9664\u64CD\u4F5C\u53EF\u80FD\u4F1A\u5BFC\u81F4\u6570\u636E\u4E22\u5931\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\u3002"),onClick:F=>p(y)},i(e(a)("\u5220\u9664")),9,w_)])]))),256))])])])])]))}});var F_=S(y_,[["__scopeId","data-v-e68d5bbe"]]);const E_=o=>(J("data-v-16dd0913"),o=o(),X(),o),C_={id:"page"},$_=E_(()=>t("h2",{name:"content"},"S.M.A.R.T.",-1)),D_={class:"cbi-map-descr"},B_={class:"tabs"},Y_=["href","onClick"],A_=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=[{to:"/smart",name:a("\u5E38\u89C4\u8BBE\u7F6E")},{to:"/smart/task",name:a("\u8BA1\u5212\u4EFB\u52A1")},{to:"/smart/log",name:a("\u67E5\u770B\u65E5\u5FD7")}],l=E(!1),r=lt({global:{enable:!1,powermode:"never",tmpDiff:0,tmpMax:0},devices:[],tasks:[]}),c=f=>{const{global:p,devices:m,tasks:b}=f;p&&(r.global.enable=p.enable||!1,r.global.powermode=p.powermode||"never"),r.devices=m||[],r.tasks=b||[]};(()=>I(this,null,function*(){try{const f=yield P.Smart.Config.GET();if(f.data){const{result:p}=f.data;p&&c(p)}}catch(f){}finally{l.value=!0}}))();const x=f=>I(this,null,function*(){const p=D.Loading(a("\u4FDD\u5B58\u4E2D..."));try{const m=yield P.Smart.Config.POST(f);if(m.data){console.log(m.data);const{success:b,error:h,result:g}=m.data;if(h)throw h;(b||0)==0&&(D.Success(a("\u4FDD\u5B58\u6210\u529F")),g&&c(g))}}catch(m){D.Error(`${m}`)}finally{p.Close()}});return(f,p)=>{const m=tt("router-link"),b=tt("router-view");return s(),d("div",C_,[$_,t("div",D_,[t("p",null,i(e(a)("S.M.A.R.T.\uFF0C\u5168\u79F0\u4E3A\u201CSelf-Monitoring Analysis and Reporting Technology\u201D\uFF0C\u5373\u201C\u81EA\u6211\u76D1\u6D4B\u3001\u5206\u6790\u53CA\u62A5\u544A\u6280\u672F\u201D\uFF0C")),1),t("p",null,i(e(a)("\u662F\u4E00\u79CD\u81EA\u52A8\u7684\u786C\u76D8\u72B6\u6001\u68C0\u6D4B\u4E0E\u9884\u8B66\u7CFB\u7EDF\u548C\u89C4\u8303\u3002\u901A\u8FC7\u5728\u786C\u76D8\u786C\u4EF6\u5185\u7684\u68C0\u6D4B\u6307\u4EE4\u5BF9\u786C\u76D8\u7684\u786C\u4EF6\u5982\u78C1\u5934\u3001\u76D8\u7247\u3001\u9A6C\u8FBE\u3001")),1),t("p",null,i(e(a)("\u7535\u8DEF\u7684\u8FD0\u884C\u60C5\u51B5\u8FDB\u884C\u76D1\u63A7\u3001\u8BB0\u5F55\u5E76\u4E0E\u5382\u5546\u6240\u8BBE\u5B9A\u7684\u9884\u8BBE\u5B89\u5168\u503C\u8FDB\u884C\u6BD4\u8F83\uFF0C\u82E5\u76D1\u63A7\u60C5\u51B5\u5C06\u8981\u6216\u5DF2\u8D85\u51FA\u9884\u8BBE\u5B89\u5168\u503C\u7684\u5B89\u5168\u8303\u56F4\uFF0C")),1),t("p",null,i(e(a)("\u5C31\u53EF\u4EE5\u901A\u8FC7\u4E3B\u673A\u7684\u76D1\u63A7\u786C\u4EF6\u6216\u8F6F\u4EF6\u81EA\u52A8\u5411\u7528\u6237\u4F5C\u51FA\u8B66\u544A\u5E76\u8FDB\u884C\u8F7B\u5FAE\u7684\u81EA\u52A8\u4FEE\u590D\uFF0C\u4EE5\u63D0\u524D\u4FDD\u969C\u786C\u76D8\u6570\u636E\u7684\u5B89\u5168\u3002")),1)]),t("ul",B_,[(s(),d(L,null,R(u,h=>A(m,{to:h.to,custom:"",key:h.to},{default:j(({route:g,href:_,navigate:v,isActive:k,isExactActive:y})=>[t("li",{class:st({"active cbi-tab":k&&y})},[t("a",{href:_,onClick:v},i(h.name),9,Y_)],2)]),_:2},1032,["to"])),64))]),l.value?(s(),G(b,{key:0,name:"default"},{default:j(({Component:h,route:g})=>[(s(),G(pa,null,{default:j(()=>[(s(),G(fa(h),{key:g.path,config:e(r),saveData:x},null,8,["config"]))]),_:2},1024))]),_:1})):$("",!0)])}}});var S_=S(A_,[["__scopeId","data-v-16dd0913"]]);const z_={class:"action-main"},P_=T({setup(o){return(a,n)=>(s(),G(it,{type:2},{default:j(()=>[t("div",z_,[wt(a.$slots,"default",{},void 0,!0)])]),_:3}))}});var re=S(P_,[["__scopeId","data-v-742230ae"]]);const T_={class:"actioner-container"},I_={class:"actioner-container_header"},L_={class:"actioner-container_body"},M_={class:"cbi-value"},O_={class:"cbi-value-title"},N_={class:"cbi-value-field"},q_={class:"cbi-value-description"},V_={class:"cbi-value"},G_={class:"cbi-value-title"},j_={class:"cbi-value-field"},R_={class:"cbi-checkbox"},U_={value:-1},W_={value:0},H_=["value"],Z_={class:"cbi-value-description"},J_={class:"cbi-value"},X_={class:"cbi-value-title"},K_={class:"cbi-value-field"},Q_={class:"cbi-checkbox"},tx={value:-1},ex={value:0},ax=["value"],ox={class:"cbi-value-description"},nx={class:"actioner-container_footer"},ix=["disabled"],rx=["disabled"],sx=T({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0},device:{type:Object},next:{type:Function,required:!0}},setup(o){var x,f,p;const a=o,{$gettext:n,$ngettext:u}=q();console.log(a.device);const l=E(!1),r=lt({tmpDiff:((x=a.device)==null?void 0:x.tmpDiff)||0,tmpMax:((f=a.device)==null?void 0:f.tmpMax)||0,devicePath:((p=a.device)==null?void 0:p.devicePath)||""}),c=()=>{l.value=!0,a.close()},w=()=>I(this,null,function*(){l.value=!0;try{yield a.next({tmpDiff:r.tmpDiff,tmpMax:r.tmpMax,devicePath:r.devicePath}),l.value=!1,c()}catch(m){}});return(m,b)=>(s(),G(re,null,{default:j(()=>[t("div",T_,[t("div",I_,[t("span",null," S.M.A.R.T. \xBB "+i(e(n)("\u8BBE\u5907"))+" \xBB "+i(o.disk.path),1)]),t("div",L_,[t("div",M_,[t("label",O_,i(e(n)("\u78C1\u76D8")),1),t("div",N_,[t("div",q_,i(o.disk.model)+" [ "+i(o.disk.path)+"\uFF0C"+i(o.disk.sizeStr)+" ] ",1)])]),t("div",V_,[t("label",G_,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",j_,[t("div",R_,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[0]||(b[0]=h=>e(r).tmpDiff=h)},[t("option",U_,i(e(n)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",W_,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(20,h=>t("option",{value:h},i(h)+"\xB0C",9,H_)),64))],512),[[Q,e(r).tmpDiff,void 0,{number:!0}]])]),t("div",Z_,i(e(n)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",J_,[t("label",X_,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",K_,[t("div",Q_,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":b[1]||(b[1]=h=>e(r).tmpMax=h)},[t("option",tx,i(e(n)("\u4F7F\u7528\u5168\u5C40\u914D\u7F6E")),1),t("option",ex,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(20,h=>t("option",{value:h*5},i(h*5)+"\xB0C",9,ax)),64))],512),[[Q,e(r).tmpMax,void 0,{number:!0}]])]),t("div",ox,i(e(n)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",nx,[t("button",{class:"close",onClick:c,disabled:l.value},i(e(n)("\u53D6\u6D88")),9,ix),t("button",{class:"next",onClick:w,disabled:l.value},i(e(n)("\u4FDD\u5B58")),9,rx)])])]),_:1}))}}),dx={class:"actioner-container"},lx={class:"actioner-container_header"},ux={class:"actioner-container_body"},cx={class:"cbi-value"},px={class:"cbi-value-title"},fx={class:"cbi-value-field"},mx={class:"cbi-checkbox"},vx={value:""},bx=["value"],gx={class:"cbi-value"},hx={class:"cbi-value-title"},_x={class:"cbi-value-field"},xx={class:"cbi-checkbox"},kx={value:"short"},wx={value:"long"},yx={value:"conveyance"},Fx={value:"offline"},Ex={class:"cbi-value"},Cx={class:"cbi-value-title"},$x={class:"cbi-value-field"},Dx={class:"cbi-checkbox"},Bx=t("option",{value:"*"},"*",-1),Yx=["value"],Ax={class:"cbi-value-description"},Sx={class:"cbi-value"},zx={class:"cbi-value-title"},Px={class:"cbi-value-field"},Tx={class:"cbi-checkbox"},Ix=t("option",{value:"*"},"*",-1),Lx=["value"],Mx={class:"cbi-value-description"},Ox={class:"cbi-value"},Nx={class:"cbi-value-title"},qx={class:"cbi-value-field"},Vx={class:"cbi-checkbox"},Gx=t("option",{value:"*"},"*",-1),jx=["value"],Rx={class:"cbi-value-description"},Ux={class:"actioner-container_footer"},Wx=["disabled"],Hx=["disabled"],Zx=T({props:{close:{type:Function,required:!0},config:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=lt({type:"short",devicePath:"",month:"*",dayPerMonth:"*",hour:"*"}),c=E([]);(()=>I(this,null,function*(){try{const p=yield P.Smart.List.GET();if(p.data){const{result:m,error:b}=p.data;m&&m.disks&&(c.value=m.disks)}}catch(p){}}))();const x=()=>{l.value=!0,a.close()},f=()=>I(this,null,function*(){if(r.devicePath==""){D.Warning(n("\u8BF7\u9009\u62E9\u78C1\u76D8"));return}l.value=!0;try{yield a.next(r),x()}catch(p){}finally{l.value=!1}});return(p,m)=>(s(),G(re,null,{default:j(()=>[t("div",dx,[t("div",lx,[t("span",null,i(e(n)("\u521B\u5EFA\u8BA1\u5212\u4EFB\u52A1")),1)]),t("div",ux,[t("div",cx,[t("label",px,i(e(n)("\u78C1\u76D8")),1),t("div",fx,[t("div",mx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[0]||(m[0]=b=>e(r).devicePath=b)},[t("option",vx,i(e(n)("\u9009\u62E9\u78C1\u76D8")),1),(s(!0),d(L,null,R(c.value,b=>(s(),d("option",{value:b.path},i(b.model)+" [ "+i(b.path)+"\uFF0C"+i(b.sizeStr)+" ] ",9,bx))),256))],512),[[Q,e(r).devicePath,void 0,{trim:!0}]])])])]),t("div",gx,[t("label",hx,i(e(n)("\u7C7B\u578B")),1),t("div",_x,[t("div",xx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[1]||(m[1]=b=>e(r).type=b)},[t("option",kx,i(e(n)("\u77ED\u6682\u81EA\u68C0")),1),t("option",wx,i(e(n)("\u957F\u65F6\u81EA\u68C0")),1),t("option",yx,i(e(n)("\u4F20\u8F93\u65F6\u81EA\u68C0")),1),t("option",Fx,i(e(n)("\u79BB\u7EBF\u65F6\u81EA\u68C0")),1)],512),[[Q,e(r).type,void 0,{trim:!0}]])])])]),t("div",Ex,[t("label",Cx,i(e(n)("\u5C0F\u65F6")),1),t("div",$x,[t("div",Dx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[2]||(m[2]=b=>e(r).hour=b)},[Bx,(s(),d(L,null,R(24,(b,h)=>t("option",{value:`${h}`},i(h),9,Yx)),64))],512),[[Q,e(r).hour,void 0,{trim:!0}]])]),t("div",Ax,i(e(n)("* \u8868\u793A\u6BCF\u5C0F\u65F6")),1)])]),t("div",Sx,[t("label",zx,i(e(n)("\u5929")),1),t("div",Px,[t("div",Tx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[3]||(m[3]=b=>e(r).dayPerMonth=b)},[Ix,(s(),d(L,null,R(31,b=>t("option",{value:`${b}`},i(b),9,Lx)),64))],512),[[Q,e(r).dayPerMonth,void 0,{trim:!0}]])]),t("div",Mx,i(e(n)("* \u8868\u793A\u6BCF\u5929")),1)])]),t("div",Ox,[t("label",Nx,i(e(n)("\u6708")),1),t("div",qx,[t("div",Vx,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":m[4]||(m[4]=b=>e(r).month=b)},[Gx,(s(),d(L,null,R(12,(b,h)=>t("option",{value:`${b}`},i(b),9,jx)),64))],512),[[Q,e(r).month,void 0,{trim:!0}]])]),t("div",Rx,i(e(n)("* \u8868\u793A\u6BCF\u6708")),1)])])]),t("div",Ux,[t("button",{class:"close",onClick:x,disabled:l.value},i(e(n)("\u53D6\u6D88")),9,Wx),t("button",{class:"next",onClick:f,disabled:l.value},i(e(n)("\u4FDD\u5B58")),9,Hx)])])]),_:1}))}}),Jx={class:"actioner-container"},Xx={class:"actioner-container_header"},Kx={class:"actioner-container_body"},Qx=["value"],tk={class:"actioner-container_footer"},ek=["disabled"],ak=["disabled"],ok=T({props:{close:{type:Function,required:!0},task:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=E(""),c=E(""),w=E(""),x=()=>I(this,null,function*(){r.value+=".";try{const b=yield P.Smart.Test.Result.POST({type:"selftest",devicePath:a.task.devicePath||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(w.value=h.result),g&&(w.value=g)}}catch(b){b&&(w.value=b)}}),f=_t.easyInterval(x,5e3);ce(()=>{f()});const p=()=>{l.value=!0,f(),a.close()},m=()=>I(this,null,function*(){l.value=!0;try{const b=yield P.Smart.Test.POST({type:a.task.type||"short",devicePath:a.task.devicePath||""});if(b.data){const{success:h,error:g,result:_}=b.data;g&&(c.value=g),_&&_.result&&(c.value=_.result)}}catch(b){c.value=b}finally{}});return(b,h)=>(s(),G(re,null,{default:j(()=>[t("div",Jx,[t("div",Xx,[t("span",null,i(e(n)("\u8FD0\u884C\u8C03\u8BD5")),1)]),t("div",Kx,[t("textarea",{value:c.value+` `+w.value+` -`+r.value,disabled:""},null,8,Qx)]),t("div",tk,[t("div",{class:"close",onClick:p,disabled:l.value},i(e(n)("\u5173\u95ED")),9,ek),l.value?$("",!0):(s(),d("div",{key:0,class:"next",onClick:m,disabled:l.value},i(e(n)("\u8FD0\u884C")),9,ak))])])]),_:1}))}});var nk=S(ok,[["__scopeId","data-v-70c3aae0"]]);const ik={class:"actioner-container"},rk={class:"actioner-container_header"},sk={class:"tabs"},dk={class:"actioner-container_body"},lk={key:0,class:"table"},uk={class:"tr"},ck={class:"td left"},pk={class:"td left"},fk={class:"tr"},mk={class:"td left"},vk={class:"td left"},bk={class:"tr"},gk={class:"td left"},hk={class:"td left"},_k=["value"],xk=["value"],kk=["value"],wk={class:"actioner-container_footer"},yk=["disabled"],Fk=T({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=E("info"),c=b=>{switch(r.value=b,b){case"info":break;case"attribute":p();break;case"log":f();break;case"extend":m();break}},w=()=>{l.value=!0,a.close()},x=lt({log:"",attribute:"",extend:""}),f=()=>I(this,null,function*(){try{const b=yield P.Smart.Test.Result.POST({type:"selftest",devicePath:a.disk.path||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(x.log=h.result),g&&(x.log=g)}}catch(b){x.log=b}}),p=()=>I(this,null,function*(){try{const b=yield P.Smart.Attribute.Result.POST({devicePath:a.disk.path||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(x.attribute=h.result),g&&(x.attribute=g)}}catch(b){x.attribute=b}}),m=()=>I(this,null,function*(){try{const b=yield P.Smart.Extend.Result.POST({devicePath:a.disk.path||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(x.extend=h.result),g&&(x.extend=g)}}catch(b){x.extend=b}});return(b,h)=>(s(),G(re,null,{default:j(()=>[t("div",ik,[t("div",rk,[t("ul",sk,[t("li",{class:st({"active cbi-tab":r.value=="info"}),onClick:h[0]||(h[0]=g=>c("info"))},[t("a",null,i(e(n)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:st({"active cbi-tab":r.value=="attribute"}),onClick:h[1]||(h[1]=g=>c("attribute"))},[t("a",null,i(e(n)("\u5C5E\u6027")),1)],2),t("li",{class:st({"active cbi-tab":r.value=="log"}),onClick:h[2]||(h[2]=g=>c("log"))},[t("a",null,i(e(n)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:st({"active cbi-tab":r.value=="extend"}),onClick:h[3]||(h[3]=g=>c("extend"))},[t("a",null,i(e(n)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",dk,[r.value=="info"?(s(),d("table",lk,[t("tr",uk,[t("td",ck,i(e(n)("\u8BBE\u5907")),1),t("td",pk,i(o.disk.path),1)]),t("tr",fk,[t("td",mk,i(e(n)("\u578B\u53F7")),1),t("td",vk,i(o.disk.model),1)]),t("tr",bk,[t("td",gk,i(e(n)("\u5E8F\u53F7")),1),t("td",hk,i(o.disk.serial),1)])])):r.value=="attribute"?(s(),d("textarea",{key:1,disabled:"",value:e(x).attribute},null,8,_k)):r.value=="log"?(s(),d("textarea",{key:2,disabled:"",value:e(x).log},null,8,xk)):r.value=="extend"?(s(),d("textarea",{key:3,disabled:"",value:e(x).extend},null,8,kk)):$("",!0)]),t("div",wk,[t("div",{class:"close",onClick:w,disabled:l.value},i(e(n)("\u5173\u95ED")),9,yk)])])]),_:1}))}});var Ek=S(Fk,[["__scopeId","data-v-313197ee"]]);const Ck=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(sx,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},$k=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(Zx,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},Dk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(nk,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},Bk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(Ek,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},Yk={class:"cbi-section"},Ak={class:"cbi-value"},Sk={class:"cbi-value-title"},zk={class:"cbi-value-field"},Pk={class:"cbi-checkbox"},Tk=["value"],Ik={class:"cbi-value"},Lk={class:"cbi-value-title"},Mk={class:"cbi-value-field"},Ok={class:"cbi-checkbox"},Nk={value:"never"},qk={value:"sleep"},Vk={value:"standby"},Gk={value:"idle"},jk={class:"cbi-value-description"},Rk=t("br",null,null,-1),Uk=t("br",null,null,-1),Wk=t("br",null,null,-1),Hk=t("br",null,null,-1),Zk={class:"cbi-value"},Jk={class:"cbi-value-title"},Xk={class:"cbi-value-field"},Kk={class:"cbi-checkbox"},Qk={value:0},tw=["value"],ew={class:"cbi-value-description"},aw={class:"cbi-value"},ow={class:"cbi-value-title"},nw={class:"cbi-value-field"},iw={class:"cbi-checkbox"},rw={value:0},sw=["value"],dw={class:"cbi-value-description"},lw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},uw={class:"table cbi-section-table"},cw={class:"tr cbi-section-table-titles anonymous"},pw={class:"th cbi-section-table-cell","data-widget":"value"},fw={class:"th cbi-section-table-cell","data-widget":"value"},mw={class:"th cbi-section-table-cell","data-widget":"value"},vw={class:"th cbi-section-table-cell","data-widget":"value"},bw={class:"th cbi-section-table-cell","data-widget":"value"},gw={class:"th cbi-section-table-cell","data-widget":"value"},hw={class:"th cbi-section-table-cell","data-widget":"value"},_w={class:"th cbi-section-table-cell","data-widget":"value"},xw={class:"tr cbi-section-table-row"},kw={class:"td cbi-value-field"},ww={class:"td cbi-value-field"},yw={class:"td cbi-value-field"},Fw={class:"td cbi-value-field"},Ew={class:"td cbi-value-field"},Cw={class:"td cbi-value-field"},$w={class:"td cbi-value-field"},Dw={class:"td cbi-value-field"},Bw=["title","onClick"],Yw=["title","onClick"],Aw={class:"cbi-page-actions control-group"},Sw=["value"],zw=T({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=lt(a.config),r=()=>{l.global.tmpDiff=a.config.global.tmpDiff||0,l.global.tmpMax=a.config.global.tmpMax||0,l.global.enable=a.config.global.enable||!1,l.global.powermode=a.config.global.powermode||"never",l.devices=a.config.devices||[],l.tasks=a.config.tasks||[]},c=E([]),w=()=>I(this,null,function*(){try{const b=yield P.Smart.List.GET();if(b.data){const{result:h,error:g}=b.data;h&&h.disks&&(c.value=h.disks||[])}}catch(b){}}),x=_t.easyInterval(w,5e3);ce(()=>{x()});const f=()=>I(this,null,function*(){yield a.saveData({global:l.global,devices:a.config.devices,tasks:a.config.tasks}),r()}),p=b=>{Bk({disk:b})},m=(b,h)=>I(this,null,function*(){let g=null,_=-1;if(l.devices){for(let v=0;vI(this,null,function*(){v.tmpDiff==-1&&(v.tmpDiff=l.global.tmpDiff),v.tmpMax==-1&&(v.tmpMax=l.global.tmpMax),v.devicePath==""&&(v.devicePath=b.path);let k=[...l.devices];_>=0&&(k[_]=v);const y=new Map;k.forEach(F=>{F.devicePath!=null&&y.set(F.devicePath,null)});for(let F=0;F(s(),d(L,null,[t("fieldset",Yk,[t("div",Ak,[t("label",Sk,i(e(n)("\u542F\u7528")),1),t("div",zk,[t("div",Pk,[z(t("input",{type:"checkbox","onUpdate:modelValue":h[0]||(h[0]=g=>e(l).global.enable=g),value:!e(l).global.enable},null,8,Tk),[[$t,e(l).global.enable]])])])]),t("div",Ik,[t("label",Lk,i(e(n)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",Mk,[t("div",Ok,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[1]||(h[1]=g=>e(l).global.powermode=g)},[t("option",Nk,i(e(n)("\u603B\u662F")),1),t("option",qk,i(e(n)("\u7761\u7720")),1),t("option",Vk,i(e(n)("\u5F85\u673A")),1),t("option",Gk,i(e(n)("\u95F2\u7F6E")),1)],512),[[Q,e(l).global.powermode,void 0,{trim:!0}]])]),t("div",jk,[t("span",null,i(e(n)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),Rk,t("span",null,"* "+i(e(n)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),Uk,t("span",null,"* "+i(e(n)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),Wk,t("span",null,"* "+i(e(n)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),Hk,t("span",null,"* "+i(e(n)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",Zk,[t("label",Jk,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",Xk,[t("div",Kk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[2]||(h[2]=g=>e(l).global.tmpDiff=g)},[t("option",Qk,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(15,g=>t("option",{value:g},i(g)+"\xB0C",9,tw)),64))],512),[[Q,e(l).global.tmpDiff,void 0,{number:!0}]])]),t("div",ew,i(e(n)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",aw,[t("label",ow,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",nw,[t("div",iw,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[3]||(h[3]=g=>e(l).global.tmpMax=g)},[t("option",rw,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(20,g=>t("option",{value:g*5},i(g*5)+"\xB0C",9,sw)),64))],512),[[Q,e(l).global.tmpMax,void 0,{number:!0}]])]),t("div",dw,i(e(n)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",lw,[t("table",uw,[t("thead",null,[t("tr",cw,[t("th",pw,i(e(n)("\u8BBE\u5907")),1),t("th",fw,i(e(n)("\u578B\u53F7")),1),t("th",mw,i(e(n)("\u5E8F\u53F7")),1),t("th",vw,i(e(n)("\u5BB9\u91CF")),1),t("th",bw,i(e(n)("\u6E29\u5EA6")),1),t("th",gw,i(e(n)("\u72B6\u6001")),1),t("th",hw,i(e(n)("\u5065\u5EB7")),1),t("th",_w,i(e(n)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(s(!0),d(L,null,R(c.value,(g,_)=>(s(),d("tr",xw,[t("td",kw,[t("b",null,i(g.path),1)]),t("td",ww,[t("b",null,i(g.model),1)]),t("td",yw,[t("b",null,i(g.serial),1)]),t("td",Fw,[t("b",null,i(g.sizeStr),1)]),t("td",Ew,[t("b",null,i(g.temp),1)]),t("td",Cw,[t("b",null,i(g.status),1)]),t("td",$w,[t("b",null,i(g.health),1)]),t("td",Dw,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:v=>m(g)},i(e(n)("\u7F16\u8F91")),9,Bw),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:v=>p(g)},i(e(n)("\u8BE6\u60C5")),9,Yw)])]))),256))])])]),t("span",Aw,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:f},null,8,Sw)])],64))}}),Pw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Tw={class:"table cbi-section-table"},Iw={class:"tr cbi-section-table-titles anonymous"},Lw={class:"th cbi-section-table-cell","data-widget":"value"},Mw={class:"th cbi-section-table-cell","data-widget":"value"},Ow={class:"th cbi-section-table-cell","data-widget":"value"},Nw={class:"th cbi-section-table-cell","data-widget":"value"},qw={class:"tr cbi-section-table-row"},Vw={class:"td cbi-value-field"},Gw={class:"td cbi-value-field"},jw={class:"td cbi-value-field"},Rw={class:"td cbi-value-field"},Uw=["title","onClick"],Ww=["title","onClick"],Hw=T({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=lt(a.config),r=f=>{switch(f){case"short":return n("\u77ED\u6682\u81EA\u68C0");case"long":return n("\u957F\u65F6\u81EA\u68C0");case"conveyance":return n("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return n("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return n("\u672A\u77E5")}},c=()=>{$k({config:a.config,disks:[],next:f=>I(this,null,function*(){yield a.saveData({tasks:[...l.tasks,f],global:a.config.global,devices:a.config.devices}),l.tasks=a.config.tasks||[]})})},w=f=>I(this,null,function*(){const p=[...l.tasks];p.splice(f,1),yield a.saveData({tasks:p,global:a.config.global,devices:a.config.devices}),l.tasks=a.config.tasks||[]}),x=f=>{Dk({task:f})};return(f,p)=>(s(),d(L,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:p[0]||(p[0]=m=>c())},i(e(n)("\u65B0\u5EFA")),1),t("div",Pw,[t("table",Tw,[t("thead",null,[t("tr",Iw,[t("th",Lw,i(e(n)("\u8BBE\u5907")),1),t("th",Mw,i(e(n)("\u7C7B\u578B")),1),t("th",Ow,i(e(n)("\u8C03\u5EA6")),1),t("th",Nw,i(e(n)("\u529F\u80FD")),1)])]),t("tbody",null,[(s(!0),d(L,null,R(e(l).tasks,(m,b)=>(s(),d("tr",qw,[t("td",Vw,[t("b",null,i(m.devicePath),1)]),t("td",Gw,[t("b",null,i(r(m.type)),1)]),t("td",jw,[t("b",null,i(m.month)+"/"+i(m.dayPerMonth)+"/"+i(m.hour),1)]),t("td",Rw,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8C03\u8BD5"),onClick:h=>x(m)},i(e(n)("\u9884\u89C8")),9,Uw),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5220\u9664"),onClick:h=>w(b)},i(e(n)("\u5220\u9664")),9,Ww)])]))),256))])])])],64))}}),Zw={class:"cbi-section"},Jw=["value"],Xw=T({setup(o){return I(this,null,function*(){let a,n;const u=E(""),l=()=>I(this,null,function*(){try{const r=yield P.Smart.Log.GET();if(r.data){const{result:c,error:w}=r.data;c&&c.result&&(u.value=c.result),w&&(u.value=w)}}catch(r){u.value=r}});return[a,n]=ma(()=>l()),yield a,n(),(r,c)=>(s(),d("fieldset",Zw,[t("textarea",{value:u.value,disabled:""},null,8,Jw)]))})}});var Kw=S(Xw,[["__scopeId","data-v-76197cba"]]);const Qw={},ty={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},ey=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),ay=[ey];function oy(o,a){return s(),d("svg",ty,ay)}var De=S(Qw,[["render",oy]]);const ny=["onSubmit"],iy={class:"actioner-dns_header"},ry={key:0},sy={key:1},dy={class:"actioner-dns_body"},ly={class:"label-item"},uy={class:"label-item_key"},cy={class:"label-item_value"},py={class:"label-item"},fy={class:"label-item_key"},my={class:"label-item_value"},vy={value:"dhcp"},by={key:0,value:"pppoe"},gy={value:"static"},hy={class:"actioner-dns_footer"},_y=["disabled"],xy=T({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=E(a.inface),c=()=>I(this,null,function*(){D.Loading(n("\u914D\u7F6E\u4E2D...")).Close(),a.next(r.value),w()}),w=()=>{a.Close&&a.Close()};return(x,f)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[t("form",{class:"actioner-dns",onSubmit:nt(c,["prevent"])},[t("div",iy,[o.name=="wan"?(s(),d("span",ry,i(o.e=="edit"?e(n)("\u7F16\u8F91WAN"):e(n)("\u6DFB\u52A0WAN")),1)):(s(),d("span",sy,i(o.e=="edit"?e(n)("\u7F16\u8F91LAN"):e(n)("\u6DFB\u52A0LAN")),1))]),t("div",dy,[t("div",ly,[t("div",uy,[t("span",null,i(e(n)("\u540D\u79F0")),1)]),t("div",cy,[t("span",null,i(r.value.name.toLocaleUpperCase()),1)])]),t("div",py,[t("div",fy,[t("span",null,i(e(n)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",my,[z(t("select",{"onUpdate:modelValue":f[0]||(f[0]=p=>r.value.proto=p)},[t("option",vy,i(e(n)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(s(),d("option",by,"PPPoE")):$("",!0),t("option",gy,i(e(n)("\u9759\u6001\u5730\u5740")),1)],512),[[Q,r.value.proto]])])])]),t("div",hy,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:l.value},i(e(n)("\u4FDD\u5B58")),9,_y),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},i(e(n)("\u53D6\u6D88")),1)])],40,ny)]),_:1},8,["Close"]))}});var ky=S(xy,[["__scopeId","data-v-c88486ac"]]);const Be=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(ky,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()}},pt=o=>(J("data-v-afd1f5d2"),o=o(),X(),o),wy={id:"page"},yy={name:"content"},Fy={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Ey={class:"table cbi-section-table"},Cy={width:"200"},$y=pt(()=>t("col",null,null,-1)),Dy=pt(()=>t("col",null,null,-1)),By=pt(()=>t("col",{width:"200"},null,-1)),Yy={class:"tr cbi-section-table-cell"},Ay={class:"th cbi-section-table-cell interface-device","data-widget":"value"},Sy={class:"interface-device-flex"},zy=pt(()=>t("th",{style:{width:"10px"}},null,-1)),Py=pt(()=>t("th",{style:{width:"32px"}},null,-1)),Ty=pt(()=>t("th",null,null,-1)),Iy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ly={class:"td cbi-value-field interface-device info"},My=["name","value","onUpdate:modelValue","onInput"],Oy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ny={class:"td cbi-value-field"},qy={class:"td cbi-value-field btns"},Vy=["title","onClick"],Gy=["onClick"],jy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ry={class:"td cbi-value-field"},Uy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Wy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Hy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Zy={class:"td cbi-value-field interface-device info","data-widget":"value"},Jy=["name","value","onUpdate:modelValue","onInput"],Xy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ky={class:"td cbi-value-field"},Qy={class:"td cbi-value-field btns"},tF=["title","onClick"],eF=["onClick"],aF={class:"tr cbi-section-table-row cbi-rowstyle-1"},oF={class:"td cbi-value-field"},nF=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),iF=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),rF={class:"cbi-page-actions control-group"},sF=["value","disabled"],dF=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=lt({devices:[],interfaces:[]}),l=E(!1),r=lt({lan:[],wan:[]});(()=>{P.Network.GetInterfaceConfig.GET().then(h=>{if(h.data){const{result:g}=h.data;if(g){u.devices=g.devices||[],u.interfaces=g.interfaces||[];for(let _=0;_{h=="wan"?r.wan.splice(g,1):h=="lan"&&r.lan.splice(g,1)},x=(h,g)=>{if(g==null){let _=h=="wan"?r.wan.length:r.lan.length;_==6&&h=="wan"&&_++,Be({e:"add",name:h,inface:{name:h+`${_}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:h},next:v=>{h=="wan"?r.wan.push(v):r.lan.push(v),D.Message(a("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Be({e:"edit",name:h,inface:h=="wan"?r.wan[g]:r.lan[g],next:_=>{h=="wan"?r.wan[g]=_:r.lan[g]=_}})},f=(h,g)=>h?h.indexOf(g):-1,p=(h,g)=>{const v=h.target.value;for(let y=0;y{const v=h.target.value;for(let k=0;kI(this,null,function*(){l.value=!0;const h=[];for(let _=0;_(s(),d("div",wy,[t("h2",yy,i(e(a)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",null,[t("div",Fy,[t("table",Ey,[t("colgroup",null,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("col",Cy))),256)),$y,Dy,By]),t("thead",null,[t("tr",Yy,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("th",Ay,[t("div",Sy,[A(Ne,{item:_},null,8,["item"])])]))),256)),zy,Py,Ty])]),t("tbody",null,[(s(!0),d(L,null,R(e(r).lan,(_,v)=>(s(),d("tr",Iy,[(s(!0),d(L,null,R(e(u).devices,k=>(s(),d("td",Ly,[z(t("input",{type:"checkbox",name:k.name,value:k.name,"onUpdate:modelValue":y=>_.deviceNames=y,onInput:y=>p(y,v)},null,40,My),[[$t,_.deviceNames]])]))),256)),Oy,t("td",Ny,[t("b",null,i(_.name),1)]),t("td",qy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:k=>x("lan",v)},i(e(a)("\u7F16\u8F91")),9,Vy),v!=0?(s(),d("button",{key:0,class:"cbi-button cbi-button-remove",onClick:k=>w("lan",v)},i(e(a)("\u5220\u9664")),9,Gy)):$("",!0)])]))),256)),t("tr",jy,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("td",Ry))),256)),Uy,Wy,t("td",{class:"td cbi-value-field btns",onClick:g[0]||(g[0]=_=>x("lan"))},[A(De,{class:"icon"})])]),(s(!0),d(L,null,R(e(r).wan,(_,v)=>(s(),d("tr",Hy,[(s(!0),d(L,null,R(e(u).devices,k=>(s(),d("td",Zy,[z(t("input",{type:"checkbox",name:k.name,value:k.name,"onUpdate:modelValue":y=>_.deviceNames=y,onInput:y=>m(y,v)},null,40,Jy),[[$t,_.deviceNames]])]))),256)),Xy,t("td",Ky,[t("b",null,i(_.name),1)]),t("td",Qy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:k=>x("wan",v)},i(e(a)("\u7F16\u8F91")),9,tF),v!=0?(s(),d("button",{key:0,class:"cbi-button cbi-button-remove",onClick:k=>w("wan",v)},i(e(a)("\u5220\u9664")),9,eF)):$("",!0)])]))),256)),t("tr",aF,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("td",oF))),256)),nF,iF,t("td",{class:"td cbi-value-field btns",onClick:g[1]||(g[1]=_=>x("wan"))},[A(De,{class:"icon"})])])])])]),t("div",rF,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:b,disabled:l.value},null,8,sF)])])]))}});var lF=S(dF,[["__scopeId","data-v-afd1f5d2"]]);const Ut=o=>(J("data-v-758b2882"),o=o(),X(),o),uF=["onSubmit"],cF={class:"form-item"},pF={class:"label-name"},fF={class:"label-value switch_label"},mF={class:"label-flex pc-radio"},vF=["disabled"],bF=["disabled"],gF=Ut(()=>t("div",{class:"switch-button"},null,-1)),hF=[gF],_F={key:0,class:"form-item"},xF={class:"label-name"},kF={class:"label-value"},wF=["disabled"],yF={value:100},FF={value:70},EF={value:50},CF={value:30},$F={key:0,class:"select-arrow"},DF={class:"form-item"},BF={class:"label-name"},YF={class:"label-value"},AF=["disabled","placeholder"],SF={class:"form-item"},zF={class:"label-name"},PF={class:"label-value"},TF=["disabled"],IF=["value"],LF={key:0,class:"select-arrow"},MF={class:"form-item"},OF={class:"label-name"},NF={class:"label-value"},qF=["type","disabled","placeholder"],VF={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},GF=Ut(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),jF=[GF],RF={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},UF=Ut(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),WF=[UF],HF={class:"form-item"},ZF={class:"label-name"},JF={class:"label-value"},XF=["disabled"],KF={value:!1},QF={value:!0},tE={key:0,class:"select-arrow"},eE={key:1,class:"form-item"},aE={class:"label-name"},oE={class:"label-value"},nE=["disabled"],iE=["value"],rE={key:0,class:"select-arrow"},sE={key:2,class:"form-item"},dE={class:"label-name"},lE={class:"label-value"},uE=["disabled"],cE=Ut(()=>t("option",{value:"20"},"20 MHz",-1)),pE=Ut(()=>t("option",{value:"40"},"40 MHz",-1)),fE={key:0,value:"auto"},mE={key:1,value:"80"},vE={key:2,value:"160"},bE={key:0,class:"select-arrow"},gE={key:3,class:"form-item"},hE={class:"label-name"},_E={class:"label-value"},xE=["disabled"],kE={value:0},wE=["value"],yE=["disabled"],FE={value:0},EE=yt('',12),CE={key:2,class:"select-arrow"},$E={class:"label-btns"},DE=["disabled"],BE=T({props:{data:null},emits:["getData"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=E(Object.assign({},n.data)),c=va("disabled"),w=E(!0),x=()=>{c.value||(r.value.disabled=!r.value.disabled)};Kt(()=>r.value.disabled,h=>{p()});const f=()=>I(this,null,function*(){if(r.value.txpower===n.data.txpower)return;const h=D.Loading("\u914D\u7F6E\u4E2D...");try{const{data:g}=yield P.Quickwifi.Power.POST({device:r.value.device||"",txpower:r.value.txpower||0}),{error:_,success:v}=g;if(_)throw _;(v==null||v==0)&&D.Success("\u914D\u7F6E\u5B8C\u6210")}catch(g){throw D.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),g}finally{h.Close()}}),p=()=>I(this,null,function*(){const h=D.Loading("\u914D\u7F6E\u4E2D...");try{const{data:g}=yield P.Quickwifi.Switch.POST({ifaceName:r.value.ifaceName||"",enable:!r.value.disabled}),{error:_,success:v}=g;if(_)throw _;(v==null||v==0)&&D.Success("\u914D\u7F6E\u5B8C\u6210")}catch(g){throw console.error("\u8BF7\u6C42\u51FA\u9519:",g),D.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),g}finally{h.Close()}}),m=()=>I(this,null,function*(){const h=K({},r.value);delete h.encryptSelects,delete h.hwmodeSelects,delete h.disabled,delete h.txpower;const{data:g}=yield P.Quickwifi.Edit.POST(h),{error:_,success:v}=g;if(_)throw _;(v==null||v==0)&&D.Success("\u914D\u7F6E\u5B8C\u6210")}),b=()=>I(this,null,function*(){if(c.value)return;c.value=!0;const h=D.Loading("\u914D\u7F6E\u4E2D...");try{yield m(),yield a("getData")}catch(g){const _=D.Error(`${g}`);setTimeout(()=>{_.Close()},2e3)}finally{h.Close(),c.value=!1}});return(h,g)=>(s(),d("form",{class:"form-container",onSubmit:nt(b,["prevent"])},[t("div",cF,[t("div",pF,[t("span",null,i(e(u)("\u542F\u7528Wi-Fi")),1)]),t("div",fF,[t("div",mF,[t("label",null,[z(t("input",{type:"radio",value:!1,"onUpdate:modelValue":g[0]||(g[0]=_=>r.value.disabled=_),disabled:e(c)},null,8,vF),[[ut,r.value.disabled]]),et(" "+i(e(u)("\u5F00\u542F")),1)]),t("label",null,[z(t("input",{type:"radio",value:!0,"onUpdate:modelValue":g[1]||(g[1]=_=>r.value.disabled=_),disabled:e(c)},null,8,bF),[[ut,r.value.disabled]]),et(" "+i(e(u)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:x},[t("div",{class:st(["switch-core",{"is-checked":!r.value.disabled,"is-disabled":e(c)}])},hF,2)])])]),r.value.isGuest?$("",!0):(s(),d("div",_F,[t("div",xF,[t("span",null,i(e(u)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",kF,[z(t("select",{"onUpdate:modelValue":g[2]||(g[2]=_=>r.value.txpower=_),disabled:e(c),onChange:f},[t("option",yF,i(e(u)("\u6700\u5927")),1),t("option",FF,i(e(u)("\u9AD8")),1),t("option",EF,i(e(u)("\u4E2D")),1),t("option",CF,i(e(u)("\u4F4E")),1)],40,wF),[[Q,r.value.txpower]]),e(c)?$("",!0):(s(),d("div",$F))])])),t("div",DF,[t("div",BF,[t("span",null,i(e(u)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",YF,[z(t("input",{"onUpdate:modelValue":g[3]||(g[3]=_=>r.value.ssid=_),disabled:e(c),placeholder:e(u)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,AF),[[Z,r.value.ssid]])])]),t("div",SF,[t("div",zF,[t("span",null,i(e(u)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",PF,[z(t("select",{"onUpdate:modelValue":g[4]||(g[4]=_=>r.value.encryption=_),disabled:e(c)},[(s(!0),d(L,null,R(r.value.encryptSelects,_=>(s(),d("option",{value:_},i(_),9,IF))),256))],8,TF),[[Q,r.value.encryption]]),e(c)?$("",!0):(s(),d("div",LF))])]),t("div",MF,[t("div",OF,[t("span",null,i(e(u)("Wi-Fi \u5BC6\u7801")),1)]),t("div",NF,[z(t("input",{"onUpdate:modelValue":g[5]||(g[5]=_=>r.value.key=_),class:"password_input",type:w.value?"password":"",disabled:e(c),placeholder:e(u)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,qF),[[ba,r.value.key]]),e(c)?$("",!0):(s(),d("div",{key:0,onClick:g[6]||(g[6]=_=>w.value=!w.value)},[w.value?(s(),d("svg",VF,jF)):(s(),d("svg",RF,WF))]))])]),t("div",HF,[t("div",ZF,[t("span",null,i(e(u)("SSID \u53EF\u89C1\u6027")),1)]),t("div",JF,[z(t("select",{"onUpdate:modelValue":g[7]||(g[7]=_=>r.value.hidden=_),disabled:e(c)},[t("option",KF,i(e(u)("\u663E\u793A")),1),t("option",QF,i(e(u)("\u9690\u85CF")),1)],8,XF),[[Q,r.value.hidden]]),e(c)?$("",!0):(s(),d("div",tE))])]),r.value.isGuest?$("",!0):(s(),d("div",eE,[t("div",aE,[t("span",null,i(e(u)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",oE,[z(t("select",{"onUpdate:modelValue":g[8]||(g[8]=_=>r.value.hwmode=_),disabled:e(c)},[(s(!0),d(L,null,R(r.value.hwmodeSelects,_=>(s(),d("option",{value:_},i(_),9,iE))),256))],8,nE),[[Q,r.value.hwmode]]),e(c)?$("",!0):(s(),d("div",rE))])])),r.value.isGuest?$("",!0):(s(),d("div",sE,[t("div",dE,[t("span",null,i(e(u)("\u9891\u5BBD")),1)]),t("div",lE,[z(t("select",{"onUpdate:modelValue":g[9]||(g[9]=_=>r.value.htmode=_),disabled:e(c)},[cE,pE,r.value.band==="2g"?(s(),d("option",fE," 20/40 MHz ")):$("",!0),r.value.band==="5g"?(s(),d("option",mE," 80 MHz ")):$("",!0),r.value.band==="5g"?(s(),d("option",vE," 160 MHz ")):$("",!0)],8,uE),[[Q,r.value.htmode]]),e(c)?$("",!0):(s(),d("div",bE))])])),r.value.isGuest?$("",!0):(s(),d("div",gE,[t("div",hE,[t("span",null,i(e(u)("\u4FE1\u9053")),1)]),t("div",_E,[r.value.band==="2g"?z((s(),d("select",{key:0,"onUpdate:modelValue":g[10]||(g[10]=_=>r.value.channel=_),disabled:e(c)},[t("option",kE,i(e(u)("\u81EA\u52A8")),1),(s(),d(L,null,R(13,_=>t("option",{value:_},i(_),9,wE)),64))],8,xE)),[[Q,r.value.channel,void 0,{number:!0}]]):$("",!0),r.value.band==="5g"?z((s(),d("select",{key:1,"onUpdate:modelValue":g[11]||(g[11]=_=>r.value.channel=_),disabled:e(c)},[t("option",FE,i(e(u)("\u81EA\u52A8")),1),EE],8,yE)),[[Q,r.value.channel,void 0,{number:!0}]]):$("",!0),e(c)?$("",!0):(s(),d("div",CE))])])),t("div",$E,[t("button",{class:"btn primary-btn",disabled:e(c),onClick:b},i(e(u)("\u4FDD\u5B58\u914D\u7F6E")),9,DE)])],40,uF))}});var YE=S(BE,[["__scopeId","data-v-758b2882"]]);const se=o=>(J("data-v-f03b36d8"),o=o(),X(),o),AE={id:"page",class:"page-container"},SE={class:"mobile-tags-container"},zE={class:"tags-wrapper"},PE={class:"tags-scroll"},TE=["onClick"],IE={class:"more-btn-wrapper"},LE=se(()=>t("div",{class:"fade-overlay"},null,-1)),ME=se(()=>t("div",{class:"line"},null,-1)),OE=se(()=>t("div",{class:"line"},null,-1)),NE=se(()=>t("div",{class:"line"},null,-1)),qE=[ME,OE,NE],VE={class:"page-flex"},GE={class:"page-sidebar"},jE=["onClick"],RE={class:"page-main"},UE={class:"popup-content"},WE={class:"popup-tags"},HE=["onClick"],ZE={class:"popup-footer"},JE=T({setup(o){var _;const{$gettext:a}=q(),n=E(!1);ga("disabled",n);const u=E([]),l=Qt(),r=ha(),c=E(String((_=l==null?void 0:l.query)==null?void 0:_.tab)),w=E(!1),x=v=>{var k;return v.band==="2g"?"2.4G":(k=v.band)==null?void 0:k.toUpperCase()},f=v=>v.isGuest?v.band+"_Guest":v.band,p=v=>{n.value||(c.value=f(v),w.value=!1,c.value!==l.query.tab&&r.push({query:{tab:c.value}}))},m=E(),b=v=>{n.value||(m.value=f(v))},h=()=>{w.value=!1,m.value!==l.query.tab&&r.push({query:{tab:m.value}})};Kt(()=>w.value,v=>{v?m.value=c.value:c.value=m.value});const g=()=>I(this,null,function*(){try{const{data:v}=yield P.Quickwifi.List.GET(),{error:k,result:y}=v;if(k)throw k;y!=null&&y.ifaces&&(u.value=y.ifaces.map(Y=>ot(K({},Y),{hidden:Y.hidden||!1,disabled:Y.disabled||!1,isGuest:Y.isGuest||!1,channel:Y.channel||0,txpower:Y.txpower||0,ifaceIndex:Y.ifaceIndex||0})));let F=!1;for(let Y=0;Y0&&p(u.value[0])}catch(v){console.log(v)}});return g(),(v,k)=>(s(),d("div",AE,[t("div",SE,[t("div",zE,[t("div",PE,[(s(!0),d(L,null,R(u.value,y=>(s(),d("div",{key:f(y),class:st(c.value===f(y)?"tag-item active":"tag-item"),onClick:nt(F=>p(y),["stop"])},i(x(y))+" "+i(y.isGuest?` ${e(a)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,TE))),128))]),t("div",IE,[LE,t("div",{class:"more-btn",onClick:k[0]||(k[0]=y=>w.value=!0)},qE)])])]),t("div",VE,[t("div",GE,[(s(!0),d(L,null,R(u.value,y=>(s(),d("div",{key:f(y),class:st(c.value===f(y)?"item activeItem":"item"),onClick:nt(F=>p(y),["stop"])},i(x(y))+" "+i(y.isGuest?` ${e(a)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,jE))),128))]),t("div",RE,[(s(!0),d(L,null,R(u.value,y=>(s(),d(L,{key:f(y)},[c.value===f(y)?(s(),G(YE,{key:0,data:y,onGetData:g},null,8,["data"])):$("",!0)],64))),128))])]),w.value?(s(),d("div",{key:0,class:"popup-overlay",onClick:k[2]||(k[2]=nt(y=>w.value=!1,["self"]))},[t("div",UE,[t("div",WE,[(s(!0),d(L,null,R(u.value,y=>(s(),d("div",{key:f(y),class:st(m.value===f(y)?"popup-tag-item active":"popup-tag-item"),onClick:nt(F=>b(y),["stop"])},i(x(y))+" "+i(y.isGuest?` ${e(a)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,HE))),128))]),t("div",ZE,[t("button",{class:"cancel-btn",onClick:k[1]||(k[1]=y=>w.value=!1)},i(e(a)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:h},i(e(a)("\u786E\u5B9A")),1)])])])):$("",!0)]))}});var XE=S(JE,[["__scopeId","data-v-f03b36d8"]]);const KE=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",We=_a({history:xa(KE()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:x9},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:y9,children:[{path:"",component:ov},{path:"pppoe",component:Cv},{path:"dhcp",component:cb},{path:"gateway",component:eg}]},{path:"/quickwifi",component:XE},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:F_},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:S_,children:[{path:"",component:zw},{path:"task",component:Hw},{path:"log",component:Kw}]},{path:"/interfaceconfig",component:lF}]});We.beforeEach((o,a)=>(o.meta.title,!0));const dt=at(Ga);dt.component("svg-menu",Ja);dt.component("svg-system",ao);dt.component("svg-download",lo);dt.component("svg-store",go);dt.component("svg-info",yo);dt.component("svg-disk",Wo);dt.component("svg-nav",Qo);dt.component("progress-item",Te);dt.component("svg-view-show",Fn);dt.component("svg-view-hidden",Yn);dt.component("article-item",Ln);dt.component("switch-box",Ie);dt.component("editable-select",Ct);dt.use(Le);dt.use(We);dt.use(ka());ya(dt).finally(()=>dt.mount("#app"))});export default QE(); +`+r.value,disabled:""},null,8,Qx)]),t("div",tk,[t("div",{class:"close",onClick:p,disabled:l.value},i(e(n)("\u5173\u95ED")),9,ek),l.value?$("",!0):(s(),d("div",{key:0,class:"next",onClick:m,disabled:l.value},i(e(n)("\u8FD0\u884C")),9,ak))])])]),_:1}))}});var nk=S(ok,[["__scopeId","data-v-70c3aae0"]]);const ik={class:"actioner-container"},rk={class:"actioner-container_header"},sk={class:"tabs"},dk={class:"actioner-container_body"},lk={key:0,class:"table"},uk={class:"tr"},ck={class:"td left"},pk={class:"td left"},fk={class:"tr"},mk={class:"td left"},vk={class:"td left"},bk={class:"tr"},gk={class:"td left"},hk={class:"td left"},_k=["value"],xk=["value"],kk=["value"],wk={class:"actioner-container_footer"},yk=["disabled"],Fk=T({props:{close:{type:Function,required:!0},disk:{type:Object,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=E("info"),c=b=>{switch(r.value=b,b){case"info":break;case"attribute":p();break;case"log":f();break;case"extend":m();break}},w=()=>{l.value=!0,a.close()},x=lt({log:"",attribute:"",extend:""}),f=()=>I(this,null,function*(){try{const b=yield P.Smart.Test.Result.POST({type:"selftest",devicePath:a.disk.path||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(x.log=h.result),g&&(x.log=g)}}catch(b){x.log=b}}),p=()=>I(this,null,function*(){try{const b=yield P.Smart.Attribute.Result.POST({devicePath:a.disk.path||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(x.attribute=h.result),g&&(x.attribute=g)}}catch(b){x.attribute=b}}),m=()=>I(this,null,function*(){try{const b=yield P.Smart.Extend.Result.POST({devicePath:a.disk.path||""});if(b.data){const{result:h,error:g}=b.data;h&&h.result&&(x.extend=h.result),g&&(x.extend=g)}}catch(b){x.extend=b}});return(b,h)=>(s(),G(re,null,{default:j(()=>[t("div",ik,[t("div",rk,[t("ul",sk,[t("li",{class:st({"active cbi-tab":r.value=="info"}),onClick:h[0]||(h[0]=g=>c("info"))},[t("a",null,i(e(n)("\u8BBE\u5907\u4FE1\u606F")),1)],2),t("li",{class:st({"active cbi-tab":r.value=="attribute"}),onClick:h[1]||(h[1]=g=>c("attribute"))},[t("a",null,i(e(n)("\u5C5E\u6027")),1)],2),t("li",{class:st({"active cbi-tab":r.value=="log"}),onClick:h[2]||(h[2]=g=>c("log"))},[t("a",null,i(e(n)("\u81EA\u68C0\u65E5\u5FD7")),1)],2),t("li",{class:st({"active cbi-tab":r.value=="extend"}),onClick:h[3]||(h[3]=g=>c("extend"))},[t("a",null,i(e(n)("\u6269\u5C55\u4FE1\u606F")),1)],2)])]),t("div",dk,[r.value=="info"?(s(),d("table",lk,[t("tr",uk,[t("td",ck,i(e(n)("\u8BBE\u5907")),1),t("td",pk,i(o.disk.path),1)]),t("tr",fk,[t("td",mk,i(e(n)("\u578B\u53F7")),1),t("td",vk,i(o.disk.model),1)]),t("tr",bk,[t("td",gk,i(e(n)("\u5E8F\u53F7")),1),t("td",hk,i(o.disk.serial),1)])])):r.value=="attribute"?(s(),d("textarea",{key:1,disabled:"",value:e(x).attribute},null,8,_k)):r.value=="log"?(s(),d("textarea",{key:2,disabled:"",value:e(x).log},null,8,xk)):r.value=="extend"?(s(),d("textarea",{key:3,disabled:"",value:e(x).extend},null,8,kk)):$("",!0)]),t("div",wk,[t("div",{class:"close",onClick:w,disabled:l.value},i(e(n)("\u5173\u95ED")),9,yk)])])]),_:1}))}});var Ek=S(Fk,[["__scopeId","data-v-313197ee"]]);const Ck=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(sx,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},$k=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(Zx,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},Dk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(nk,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},Bk=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=A(Ek,ot(K({},o),{close:()=>{u()}})),u=()=>{a.remove()};te(n,a)},Yk={class:"cbi-section"},Ak={class:"cbi-value"},Sk={class:"cbi-value-title"},zk={class:"cbi-value-field"},Pk={class:"cbi-checkbox"},Tk=["value"],Ik={class:"cbi-value"},Lk={class:"cbi-value-title"},Mk={class:"cbi-value-field"},Ok={class:"cbi-checkbox"},Nk={value:"never"},qk={value:"sleep"},Vk={value:"standby"},Gk={value:"idle"},jk={class:"cbi-value-description"},Rk=t("br",null,null,-1),Uk=t("br",null,null,-1),Wk=t("br",null,null,-1),Hk=t("br",null,null,-1),Zk={class:"cbi-value"},Jk={class:"cbi-value-title"},Xk={class:"cbi-value-field"},Kk={class:"cbi-checkbox"},Qk={value:0},tw=["value"],ew={class:"cbi-value-description"},aw={class:"cbi-value"},ow={class:"cbi-value-title"},nw={class:"cbi-value-field"},iw={class:"cbi-checkbox"},rw={value:0},sw=["value"],dw={class:"cbi-value-description"},lw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},uw={class:"table cbi-section-table"},cw={class:"tr cbi-section-table-titles anonymous"},pw={class:"th cbi-section-table-cell","data-widget":"value"},fw={class:"th cbi-section-table-cell","data-widget":"value"},mw={class:"th cbi-section-table-cell","data-widget":"value"},vw={class:"th cbi-section-table-cell","data-widget":"value"},bw={class:"th cbi-section-table-cell","data-widget":"value"},gw={class:"th cbi-section-table-cell","data-widget":"value"},hw={class:"th cbi-section-table-cell","data-widget":"value"},_w={class:"th cbi-section-table-cell","data-widget":"value"},xw={class:"tr cbi-section-table-row"},kw={class:"td cbi-value-field"},ww={class:"td cbi-value-field"},yw={class:"td cbi-value-field"},Fw={class:"td cbi-value-field"},Ew={class:"td cbi-value-field"},Cw={class:"td cbi-value-field"},$w={class:"td cbi-value-field"},Dw={class:"td cbi-value-field"},Bw=["title","onClick"],Yw=["title","onClick"],Aw={class:"cbi-page-actions control-group"},Sw=["value"],zw=T({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=lt(a.config),r=()=>{l.global.tmpDiff=a.config.global.tmpDiff||0,l.global.tmpMax=a.config.global.tmpMax||0,l.global.enable=a.config.global.enable||!1,l.global.powermode=a.config.global.powermode||"never",l.devices=a.config.devices||[],l.tasks=a.config.tasks||[]},c=E([]),w=()=>I(this,null,function*(){try{const b=yield P.Smart.List.GET();if(b.data){const{result:h,error:g}=b.data;h&&h.disks&&(c.value=h.disks||[])}}catch(b){}}),x=_t.easyInterval(w,5e3);ce(()=>{x()});const f=()=>I(this,null,function*(){yield a.saveData({global:l.global,devices:a.config.devices,tasks:a.config.tasks}),r()}),p=b=>{Bk({disk:b})},m=(b,h)=>I(this,null,function*(){let g=null,_=-1;if(l.devices){for(let v=0;vI(this,null,function*(){v.tmpDiff==-1&&(v.tmpDiff=l.global.tmpDiff),v.tmpMax==-1&&(v.tmpMax=l.global.tmpMax),v.devicePath==""&&(v.devicePath=b.path);let k=[...l.devices];_>=0&&(k[_]=v);const y=new Map;k.forEach(F=>{F.devicePath!=null&&y.set(F.devicePath,null)});for(let F=0;F(s(),d(L,null,[t("fieldset",Yk,[t("div",Ak,[t("label",Sk,i(e(n)("\u542F\u7528")),1),t("div",zk,[t("div",Pk,[z(t("input",{type:"checkbox","onUpdate:modelValue":h[0]||(h[0]=g=>e(l).global.enable=g),value:!e(l).global.enable},null,8,Tk),[[$t,e(l).global.enable]])])])]),t("div",Ik,[t("label",Lk,i(e(n)("\u7535\u6E90\u6A21\u5F0F")),1),t("div",Mk,[t("div",Ok,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[1]||(h[1]=g=>e(l).global.powermode=g)},[t("option",Nk,i(e(n)("\u603B\u662F")),1),t("option",qk,i(e(n)("\u7761\u7720")),1),t("option",Vk,i(e(n)("\u5F85\u673A")),1),t("option",Gk,i(e(n)("\u95F2\u7F6E")),1)],512),[[Q,e(l).global.powermode,void 0,{trim:!0}]])]),t("div",jk,[t("span",null,i(e(n)("\u6D4B\u8BD5\u65F6\u78C1\u76D8\u4F1A\u8F6C\u52A8\uFF0C\u8BF7\u9009\u62E9\u5408\u9002\u7684\u6A21\u5F0F\u6765\u63A7\u5236\u78C1\u76D8\u8F6C\u52A8\u3002")),1),Rk,t("span",null,"* "+i(e(n)("\u603B\u662F-\u65E0\u8BBA\u662F\u4EC0\u4E48\u529F\u8017\u6A21\u5F0F\u4E0B\u90FD\u6D4B\u8BD5(\u68C0\u67E5)\u78C1\u76D8\uFF0C\u5F53\u68C0\u67E5\u65F6\uFF0C\u8FD9\u53EF\u80FD\u4F1A\u4F7F\u505C\u8F6C\u7684\u78C1\u76D8\u5F00\u59CB\u8F6C\u52A8\u3002")),1),Uk,t("span",null,"* "+i(e(n)("\u7761\u7720-\u5904\u4E8E\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002")),1),Wk,t("span",null,"* "+i(e(n)("\u5F85\u673A-\u5904\u4E8E\u5F85\u673A\u548C\u7761\u7720\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\u3002\u6B64\u6A21\u5F0F\u4E0B\u78C1\u76D8\u4E00\u822C\u4E0D\u65CB\u8F6C\uFF0C\u5982\u679C\u4F60\u4E0D\u60F3\u6BCF\u6B21\u68C0\u67E5\u90FD\u8F6C\u52A8\u78C1\u76D8\uFF0C\u90A3\u4E48\u8FD9\u4E2A\u6A21\u5F0F\u6BD4\u8F83\u9002\u5408\u3002")),1),Hk,t("span",null,"* "+i(e(n)("\u95F2\u7F6E-\u5904\u4E8E\u5F85\u673A\u3001\u7761\u7720\u3001\u95F2\u7F6E\u6A21\u5F0F\u4E0B\u4E0D\u68C0\u67E5\u8BBE\u5907\uFF0C\u5728\u95F2\u7F6E\u72B6\u6001\u4E0B\uFF0C\u5927\u591A\u6570\u78C1\u76D8\u8FD8\u5728\u8F6C\u52A8\uFF0C\u6240\u4EE5\u8FD9\u53EF\u80FD\u4E0D\u9002\u5408\u4F60\u3002")),1)])])]),t("div",Zk,[t("label",Jk,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u5DEE\u5F02\uFF09")),1),t("div",Xk,[t("div",Kk,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[2]||(h[2]=g=>e(l).global.tmpDiff=g)},[t("option",Qk,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(15,g=>t("option",{value:g},i(g)+"\xB0C",9,tw)),64))],512),[[Q,e(l).global.tmpDiff,void 0,{number:!0}]])]),t("div",ew,i(e(n)("\u81EA\u4E0A\u6B21\u62A5\u544A\u4EE5\u6765\u6E29\u5EA6\u53D8\u5316\u81F3\u5C11 N \u5EA6\uFF0C\u5219\u9700\u62A5\u544A.")),1)])]),t("div",aw,[t("label",ow,i(e(n)("\u6E29\u5EA6\u76D1\u6D4B\uFF08\u6700\u5927\uFF09")),1),t("div",nw,[t("div",iw,[z(t("select",{class:"cbi-input-select","onUpdate:modelValue":h[3]||(h[3]=g=>e(l).global.tmpMax=g)},[t("option",rw,i(e(n)("\u7981\u7528")),1),(s(),d(L,null,R(20,g=>t("option",{value:g*5},i(g*5)+"\xB0C",9,sw)),64))],512),[[Q,e(l).global.tmpMax,void 0,{number:!0}]])]),t("div",dw,i(e(n)("\u5982\u679C\u6E29\u5EA6\u5927\u4E8E\u6216\u7B49\u4E8E N \u6444\u6C0F\u5EA6\u5219\u62A5\u544A.")),1)])])]),t("div",lw,[t("table",uw,[t("thead",null,[t("tr",cw,[t("th",pw,i(e(n)("\u8BBE\u5907")),1),t("th",fw,i(e(n)("\u578B\u53F7")),1),t("th",mw,i(e(n)("\u5E8F\u53F7")),1),t("th",vw,i(e(n)("\u5BB9\u91CF")),1),t("th",bw,i(e(n)("\u6E29\u5EA6")),1),t("th",gw,i(e(n)("\u72B6\u6001")),1),t("th",hw,i(e(n)("\u5065\u5EB7")),1),t("th",_w,i(e(n)("\u64CD\u4F5C")),1)])]),t("tbody",null,[(s(!0),d(L,null,R(c.value,(g,_)=>(s(),d("tr",xw,[t("td",kw,[t("b",null,i(g.path),1)]),t("td",ww,[t("b",null,i(g.model),1)]),t("td",yw,[t("b",null,i(g.serial),1)]),t("td",Fw,[t("b",null,i(g.sizeStr),1)]),t("td",Ew,[t("b",null,i(g.temp),1)]),t("td",Cw,[t("b",null,i(g.status),1)]),t("td",$w,[t("b",null,i(g.health),1)]),t("td",Dw,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u7F16\u8F91"),onClick:v=>m(g)},i(e(n)("\u7F16\u8F91")),9,Bw),t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8BE6\u60C5"),onClick:v=>p(g)},i(e(n)("\u8BE6\u60C5")),9,Yw)])]))),256))])])]),t("span",Aw,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(n)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:f},null,8,Sw)])],64))}}),Pw={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Tw={class:"table cbi-section-table"},Iw={class:"tr cbi-section-table-titles anonymous"},Lw={class:"th cbi-section-table-cell","data-widget":"value"},Mw={class:"th cbi-section-table-cell","data-widget":"value"},Ow={class:"th cbi-section-table-cell","data-widget":"value"},Nw={class:"th cbi-section-table-cell","data-widget":"value"},qw={class:"tr cbi-section-table-row"},Vw={class:"td cbi-value-field"},Gw={class:"td cbi-value-field"},jw={class:"td cbi-value-field"},Rw={class:"td cbi-value-field"},Uw=["title","onClick"],Ww=["title","onClick"],Hw=T({props:{config:{type:Object,required:!0},saveData:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=lt(a.config),r=f=>{switch(f){case"short":return n("\u77ED\u6682\u81EA\u68C0");case"long":return n("\u957F\u65F6\u81EA\u68C0");case"conveyance":return n("\u4F20\u8F93\u65F6\u81EA\u68C0");case"offline":return n("\u79BB\u7EBF\u65F6\u81EA\u68C0");default:return n("\u672A\u77E5")}},c=()=>{$k({config:a.config,disks:[],next:f=>I(this,null,function*(){yield a.saveData({tasks:[...l.tasks,f],global:a.config.global,devices:a.config.devices}),l.tasks=a.config.tasks||[]})})},w=f=>I(this,null,function*(){const p=[...l.tasks];p.splice(f,1),yield a.saveData({tasks:p,global:a.config.global,devices:a.config.devices}),l.tasks=a.config.tasks||[]}),x=f=>{Dk({task:f})};return(f,p)=>(s(),d(L,null,[t("button",{class:"btn cbi-button cbi-button-apply",onClick:p[0]||(p[0]=m=>c())},i(e(n)("\u65B0\u5EFA")),1),t("div",Pw,[t("table",Tw,[t("thead",null,[t("tr",Iw,[t("th",Lw,i(e(n)("\u8BBE\u5907")),1),t("th",Mw,i(e(n)("\u7C7B\u578B")),1),t("th",Ow,i(e(n)("\u8C03\u5EA6")),1),t("th",Nw,i(e(n)("\u529F\u80FD")),1)])]),t("tbody",null,[(s(!0),d(L,null,R(e(l).tasks,(m,b)=>(s(),d("tr",qw,[t("td",Vw,[t("b",null,i(m.devicePath),1)]),t("td",Gw,[t("b",null,i(r(m.type)),1)]),t("td",jw,[t("b",null,i(m.month)+"/"+i(m.dayPerMonth)+"/"+i(m.hour),1)]),t("td",Rw,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(n)("\u8C03\u8BD5"),onClick:h=>x(m)},i(e(n)("\u9884\u89C8")),9,Uw),t("button",{class:"cbi-button cbi-button-remove",title:e(n)("\u5220\u9664"),onClick:h=>w(b)},i(e(n)("\u5220\u9664")),9,Ww)])]))),256))])])])],64))}}),Zw={class:"cbi-section"},Jw=["value"],Xw=T({setup(o){return I(this,null,function*(){let a,n;const u=E(""),l=()=>I(this,null,function*(){try{const r=yield P.Smart.Log.GET();if(r.data){const{result:c,error:w}=r.data;c&&c.result&&(u.value=c.result),w&&(u.value=w)}}catch(r){u.value=r}});return[a,n]=ma(()=>l()),yield a,n(),(r,c)=>(s(),d("fieldset",Zw,[t("textarea",{value:u.value,disabled:""},null,8,Jw)]))})}});var Kw=S(Xw,[["__scopeId","data-v-76197cba"]]);const Qw={},ty={t:"1659511092204",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2332","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},ey=t("path",{d:"M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z","p-id":"2333"},null,-1),ay=[ey];function oy(o,a){return s(),d("svg",ty,ay)}var De=S(Qw,[["render",oy]]);const ny=["onSubmit"],iy={class:"actioner-dns_header"},ry={key:0},sy={key:1},dy={class:"actioner-dns_body"},ly={class:"label-item"},uy={class:"label-item_key"},cy={class:"label-item_value"},py={class:"label-item"},fy={class:"label-item_key"},my={class:"label-item_value"},vy={value:"dhcp"},by={key:0,value:"pppoe"},gy={value:"static"},hy={class:"actioner-dns_footer"},_y=["disabled"],xy=T({props:{Close:{type:Function,required:!0},e:{type:String,required:!0},name:{type:String,required:!0},inface:{type:Object,required:!0},next:{type:Function,required:!0}},setup(o){const a=o,{$gettext:n,$ngettext:u}=q(),l=E(!1),r=E(a.inface),c=()=>I(this,null,function*(){D.Loading(n("\u914D\u7F6E\u4E2D...")).Close(),a.next(r.value),w()}),w=()=>{a.Close&&a.Close()};return(x,f)=>(s(),G(it,{Close:o.Close,type:1},{default:j(()=>[t("form",{class:"actioner-dns",onSubmit:nt(c,["prevent"])},[t("div",iy,[o.name=="wan"?(s(),d("span",ry,i(o.e=="edit"?e(n)("\u7F16\u8F91WAN"):e(n)("\u6DFB\u52A0WAN")),1)):(s(),d("span",sy,i(o.e=="edit"?e(n)("\u7F16\u8F91LAN"):e(n)("\u6DFB\u52A0LAN")),1))]),t("div",dy,[t("div",ly,[t("div",uy,[t("span",null,i(e(n)("\u540D\u79F0")),1)]),t("div",cy,[t("span",null,i(r.value.name.toLocaleUpperCase()),1)])]),t("div",py,[t("div",fy,[t("span",null,i(e(n)("\u534F\u8BAE\uFF08\u7F51\u7EDC\u83B7\u53D6\u65B9\u5F0F\uFF09")),1)]),t("div",my,[z(t("select",{"onUpdate:modelValue":f[0]||(f[0]=p=>r.value.proto=p)},[t("option",vy,i(e(n)("DHCP\u5BA2\u6237\u7AEF")),1),o.name=="wan"?(s(),d("option",by,"PPPoE")):$("",!0),t("option",gy,i(e(n)("\u9759\u6001\u5730\u5740")),1)],512),[[Q,r.value.proto]])])])]),t("div",hy,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:l.value},i(e(n)("\u4FDD\u5B58")),9,_y),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:w},i(e(n)("\u53D6\u6D88")),1)])],40,ny)]),_:1},8,["Close"]))}});var ky=S(xy,[["__scopeId","data-v-c88486ac"]]);const Be=o=>{const a=document.createElement("div");document.body.appendChild(a);const n=at(ky,ot(K({},o),{Close:()=>{u()}}));n.mount(a);const u=()=>{n.unmount(),a.remove()}},pt=o=>(J("data-v-afd1f5d2"),o=o(),X(),o),wy={id:"page"},yy={name:"content"},Fy={class:"cbi-section cbi-tblsection",id:"cbi-nfs-mount"},Ey={class:"table cbi-section-table"},Cy={width:"200"},$y=pt(()=>t("col",null,null,-1)),Dy=pt(()=>t("col",null,null,-1)),By=pt(()=>t("col",{width:"200"},null,-1)),Yy={class:"tr cbi-section-table-cell"},Ay={class:"th cbi-section-table-cell interface-device","data-widget":"value"},Sy={class:"interface-device-flex"},zy=pt(()=>t("th",{style:{width:"10px"}},null,-1)),Py=pt(()=>t("th",{style:{width:"32px"}},null,-1)),Ty=pt(()=>t("th",null,null,-1)),Iy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ly={class:"td cbi-value-field interface-device info"},My=["name","value","onUpdate:modelValue","onInput"],Oy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ny={class:"td cbi-value-field"},qy={class:"td cbi-value-field btns"},Vy=["title","onClick"],Gy=["onClick"],jy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Ry={class:"td cbi-value-field"},Uy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Wy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Hy={class:"tr cbi-section-table-row cbi-rowstyle-1"},Zy={class:"td cbi-value-field interface-device info","data-widget":"value"},Jy=["name","value","onUpdate:modelValue","onInput"],Xy=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),Ky={class:"td cbi-value-field"},Qy={class:"td cbi-value-field btns"},tF=["title","onClick"],eF=["onClick"],aF={class:"tr cbi-section-table-row cbi-rowstyle-1"},oF={class:"td cbi-value-field"},nF=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),iF=pt(()=>t("td",{class:"td cbi-value-field"},null,-1)),rF={class:"cbi-page-actions control-group"},sF=["value","disabled"],dF=T({setup(o){const{$gettext:a,$ngettext:n}=q(),u=lt({devices:[],interfaces:[]}),l=E(!1),r=lt({lan:[],wan:[]});(()=>{P.Network.GetInterfaceConfig.GET().then(h=>{if(h.data){const{result:g}=h.data;if(g){u.devices=g.devices||[],u.interfaces=g.interfaces||[];for(let _=0;_{h=="wan"?r.wan.splice(g,1):h=="lan"&&r.lan.splice(g,1)},x=(h,g)=>{if(g==null){let _=h=="wan"?r.wan.length:r.lan.length;_==6&&h=="wan"&&_++,Be({e:"add",name:h,inface:{name:h+`${_}`,proto:"dhcp",ipv4Addr:"",ipv6Addr:"",portName:"",deviceNames:[],ports:[],firewallType:h},next:v=>{h=="wan"?r.wan.push(v):r.lan.push(v),D.Message(a("\u8BF7\u5728\u4FDD\u5B58\u4EE5\u540E\u524D\u5F80'\u7F51\u7EDC-\u63A5\u53E3'\u9875\u9762\u914D\u7F6E\u63A5\u53E3\u8BE6\u7EC6\u53C2\u6570"))}})}else Be({e:"edit",name:h,inface:h=="wan"?r.wan[g]:r.lan[g],next:_=>{h=="wan"?r.wan[g]=_:r.lan[g]=_}})},f=(h,g)=>h?h.indexOf(g):-1,p=(h,g)=>{const v=h.target.value;for(let y=0;y{const v=h.target.value;for(let k=0;kI(this,null,function*(){l.value=!0;const h=[];for(let _=0;_(s(),d("div",wy,[t("h2",yy,i(e(a)("\u7F51\u53E3\u914D\u7F6E")),1),t("div",null,[t("div",Fy,[t("table",Ey,[t("colgroup",null,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("col",Cy))),256)),$y,Dy,By]),t("thead",null,[t("tr",Yy,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("th",Ay,[t("div",Sy,[A(Ne,{item:_},null,8,["item"])])]))),256)),zy,Py,Ty])]),t("tbody",null,[(s(!0),d(L,null,R(e(r).lan,(_,v)=>(s(),d("tr",Iy,[(s(!0),d(L,null,R(e(u).devices,k=>(s(),d("td",Ly,[z(t("input",{type:"checkbox",name:k.name,value:k.name,"onUpdate:modelValue":y=>_.deviceNames=y,onInput:y=>p(y,v)},null,40,My),[[$t,_.deviceNames]])]))),256)),Oy,t("td",Ny,[t("b",null,i(_.name),1)]),t("td",qy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:k=>x("lan",v)},i(e(a)("\u7F16\u8F91")),9,Vy),v!=0?(s(),d("button",{key:0,class:"cbi-button cbi-button-remove",onClick:k=>w("lan",v)},i(e(a)("\u5220\u9664")),9,Gy)):$("",!0)])]))),256)),t("tr",jy,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("td",Ry))),256)),Uy,Wy,t("td",{class:"td cbi-value-field btns",onClick:g[0]||(g[0]=_=>x("lan"))},[A(De,{class:"icon"})])]),(s(!0),d(L,null,R(e(r).wan,(_,v)=>(s(),d("tr",Hy,[(s(!0),d(L,null,R(e(u).devices,k=>(s(),d("td",Zy,[z(t("input",{type:"checkbox",name:k.name,value:k.name,"onUpdate:modelValue":y=>_.deviceNames=y,onInput:y=>m(y,v)},null,40,Jy),[[$t,_.deviceNames]])]))),256)),Xy,t("td",Ky,[t("b",null,i(_.name),1)]),t("td",Qy,[t("button",{class:"btn cbi-button cbi-button-apply",title:e(a)("\u7F16\u8F91"),onClick:k=>x("wan",v)},i(e(a)("\u7F16\u8F91")),9,tF),v!=0?(s(),d("button",{key:0,class:"cbi-button cbi-button-remove",onClick:k=>w("wan",v)},i(e(a)("\u5220\u9664")),9,eF)):$("",!0)])]))),256)),t("tr",aF,[(s(!0),d(L,null,R(e(u).devices,_=>(s(),d("td",oF))),256)),nF,iF,t("td",{class:"td cbi-value-field btns",onClick:g[1]||(g[1]=_=>x("wan"))},[A(De,{class:"icon"})])])])])]),t("div",rF,[t("input",{class:"btn cbi-button cbi-button-apply",type:"button",value:e(a)("\u4FDD\u5B58\u5E76\u5E94\u7528"),onClick:b,disabled:l.value},null,8,sF)])])]))}});var lF=S(dF,[["__scopeId","data-v-afd1f5d2"]]);const Ut=o=>(J("data-v-f0aa6d5e"),o=o(),X(),o),uF=["onSubmit"],cF={class:"form-item"},pF={class:"label-name"},fF={class:"label-value switch_label"},mF={class:"label-flex pc-radio"},vF=["disabled"],bF=["disabled"],gF=Ut(()=>t("div",{class:"switch-button"},null,-1)),hF=[gF],_F={key:0,class:"form-item"},xF={class:"label-name"},kF={class:"label-value"},wF=["disabled"],yF={value:100},FF={value:70},EF={value:50},CF={value:30},$F={key:0,class:"select-arrow"},DF={class:"form-item"},BF={class:"label-name"},YF={class:"label-value"},AF=["disabled","placeholder"],SF={class:"form-item"},zF={class:"label-name"},PF={class:"label-value"},TF=["disabled"],IF=["value"],LF={key:0,class:"select-arrow"},MF={class:"form-item"},OF={class:"label-name"},NF={class:"label-value"},qF=["type","disabled","placeholder"],VF={key:0,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},GF=Ut(()=>t("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5l2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"},null,-1)),jF=[GF],RF={key:1,class:"seeIcon",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},UF=Ut(()=>t("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",fill:"currentColor"},null,-1)),WF=[UF],HF={class:"form-item"},ZF={class:"label-name"},JF={class:"label-value"},XF=["disabled"],KF={value:!1},QF={value:!0},tE={key:0,class:"select-arrow"},eE={key:1,class:"form-item"},aE={class:"label-name"},oE={class:"label-value"},nE=["disabled"],iE=["value"],rE={key:0,class:"select-arrow"},sE={key:2,class:"form-item"},dE={class:"label-name"},lE={class:"label-value"},uE=["disabled"],cE=Ut(()=>t("option",{value:"20"},"20 MHz",-1)),pE=Ut(()=>t("option",{value:"40"},"40 MHz",-1)),fE={key:0,value:"auto"},mE={key:1,value:"80"},vE={key:2,value:"160"},bE={key:0,class:"select-arrow"},gE={key:3,class:"form-item"},hE={class:"label-name"},_E={class:"label-value"},xE=["disabled"],kE={value:0},wE=["value"],yE=["disabled"],FE={value:0},EE=yt('',12),CE={key:2,class:"select-arrow"},$E={class:"label-btns"},DE=["disabled"],BE=T({props:{data:null},emits:["getData"],setup(o,{emit:a}){const n=o,{$gettext:u,$ngettext:l}=q(),r=E(Object.assign({},n.data)),c=va("disabled"),w=E(!0),x=()=>{c.value||(r.value.disabled=!r.value.disabled)};Kt(()=>r.value.disabled,h=>{p()});const f=()=>I(this,null,function*(){if(r.value.txpower===n.data.txpower)return;const h=D.Loading("\u914D\u7F6E\u4E2D...");try{const{data:g}=yield P.Quickwifi.Power.POST({device:r.value.device||"",txpower:r.value.txpower||0}),{error:_,success:v}=g;if(_)throw _;(v==null||v==0)&&D.Success("\u914D\u7F6E\u5B8C\u6210")}catch(g){throw D.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),g}finally{h.Close()}}),p=()=>I(this,null,function*(){const h=D.Loading("\u914D\u7F6E\u4E2D...");try{const{data:g}=yield P.Quickwifi.Switch.POST({ifaceName:r.value.ifaceName||"",enable:!r.value.disabled}),{error:_,success:v}=g;if(_)throw _;(v==null||v==0)&&D.Success("\u914D\u7F6E\u5B8C\u6210")}catch(g){throw console.error("\u8BF7\u6C42\u51FA\u9519:",g),D.Error("\u914D\u7F6E\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),g}finally{h.Close()}}),m=()=>I(this,null,function*(){const h=K({},r.value);delete h.encryptSelects,delete h.hwmodeSelects,delete h.disabled,delete h.txpower;const{data:g}=yield P.Quickwifi.Edit.POST(h),{error:_,success:v}=g;if(_)throw _;(v==null||v==0)&&D.Success("\u914D\u7F6E\u5B8C\u6210")}),b=()=>I(this,null,function*(){if(c.value)return;c.value=!0;const h=D.Loading("\u914D\u7F6E\u4E2D...");try{yield m(),yield a("getData")}catch(g){const _=D.Error(`${g}`);setTimeout(()=>{_.Close()},2e3)}finally{h.Close(),c.value=!1}});return(h,g)=>(s(),d("form",{class:"form-container",onSubmit:nt(b,["prevent"])},[t("div",cF,[t("div",pF,[t("span",null,i(e(u)("\u542F\u7528Wi-Fi")),1)]),t("div",fF,[t("div",mF,[t("label",null,[z(t("input",{type:"radio",value:!1,"onUpdate:modelValue":g[0]||(g[0]=_=>r.value.disabled=_),disabled:e(c)},null,8,vF),[[ut,r.value.disabled]]),et(" "+i(e(u)("\u5F00\u542F")),1)]),t("label",null,[z(t("input",{type:"radio",value:!0,"onUpdate:modelValue":g[1]||(g[1]=_=>r.value.disabled=_),disabled:e(c)},null,8,bF),[[ut,r.value.disabled]]),et(" "+i(e(u)("\u5173\u95ED")),1)])]),t("div",{class:"mobile-switch",onClick:x},[t("div",{class:st(["switch-core",{"is-checked":!r.value.disabled,"is-disabled":e(c)}])},hF,2)])])]),r.value.isGuest?$("",!0):(s(),d("div",_F,[t("div",xF,[t("span",null,i(e(u)("\u53D1\u5C04\u529F\u7387")),1)]),t("div",kF,[z(t("select",{"onUpdate:modelValue":g[2]||(g[2]=_=>r.value.txpower=_),disabled:e(c),onChange:f},[t("option",yF,i(e(u)("\u6700\u5927")),1),t("option",FF,i(e(u)("\u9AD8")),1),t("option",EF,i(e(u)("\u4E2D")),1),t("option",CF,i(e(u)("\u4F4E")),1)],40,wF),[[Q,r.value.txpower]]),e(c)?$("",!0):(s(),d("div",$F))])])),t("div",DF,[t("div",BF,[t("span",null,i(e(u)("Wi-Fi\u540D\u79F0\uFF08SSID\uFF09")),1)]),t("div",YF,[z(t("input",{"onUpdate:modelValue":g[3]||(g[3]=_=>r.value.ssid=_),disabled:e(c),placeholder:e(u)("\u8BF7\u8F93\u5165WIFI\u540D\u79F0")},null,8,AF),[[Z,r.value.ssid]])])]),t("div",SF,[t("div",zF,[t("span",null,i(e(u)("Wi-Fi \u5B89\u5168\u6027")),1)]),t("div",PF,[z(t("select",{"onUpdate:modelValue":g[4]||(g[4]=_=>r.value.encryption=_),disabled:e(c)},[(s(!0),d(L,null,R(r.value.encryptSelects,_=>(s(),d("option",{value:_},i(_),9,IF))),256))],8,TF),[[Q,r.value.encryption]]),e(c)?$("",!0):(s(),d("div",LF))])]),t("div",MF,[t("div",OF,[t("span",null,i(e(u)("Wi-Fi \u5BC6\u7801")),1)]),t("div",NF,[z(t("input",{"onUpdate:modelValue":g[5]||(g[5]=_=>r.value.key=_),class:"password_input",type:w.value?"password":"",disabled:e(c),placeholder:e(u)("\u8BF7\u8F93\u5165WIFI\u5BC6\u7801")},null,8,qF),[[ba,r.value.key]]),e(c)?$("",!0):(s(),d("div",{key:0,onClick:g[6]||(g[6]=_=>w.value=!w.value)},[w.value?(s(),d("svg",VF,jF)):(s(),d("svg",RF,WF))]))])]),t("div",HF,[t("div",ZF,[t("span",null,i(e(u)("SSID \u53EF\u89C1\u6027")),1)]),t("div",JF,[z(t("select",{"onUpdate:modelValue":g[7]||(g[7]=_=>r.value.hidden=_),disabled:e(c)},[t("option",KF,i(e(u)("\u663E\u793A")),1),t("option",QF,i(e(u)("\u9690\u85CF")),1)],8,XF),[[Q,r.value.hidden]]),e(c)?$("",!0):(s(),d("div",tE))])]),r.value.isGuest?$("",!0):(s(),d("div",eE,[t("div",aE,[t("span",null,i(e(u)("\u65E0\u7EBF\u6A21\u5F0F")),1)]),t("div",oE,[z(t("select",{"onUpdate:modelValue":g[8]||(g[8]=_=>r.value.hwmode=_),disabled:e(c)},[(s(!0),d(L,null,R(r.value.hwmodeSelects,_=>(s(),d("option",{value:_},i(_),9,iE))),256))],8,nE),[[Q,r.value.hwmode]]),e(c)?$("",!0):(s(),d("div",rE))])])),r.value.isGuest?$("",!0):(s(),d("div",sE,[t("div",dE,[t("span",null,i(e(u)("\u9891\u5BBD")),1)]),t("div",lE,[z(t("select",{"onUpdate:modelValue":g[9]||(g[9]=_=>r.value.htmode=_),disabled:e(c)},[cE,pE,r.value.band==="2g"?(s(),d("option",fE," 20/40 MHz ")):$("",!0),r.value.band==="5g"?(s(),d("option",mE," 80 MHz ")):$("",!0),r.value.band==="5g"?(s(),d("option",vE," 160 MHz ")):$("",!0)],8,uE),[[Q,r.value.htmode]]),e(c)?$("",!0):(s(),d("div",bE))])])),r.value.isGuest?$("",!0):(s(),d("div",gE,[t("div",hE,[t("span",null,i(e(u)("\u4FE1\u9053")),1)]),t("div",_E,[r.value.band==="2g"?z((s(),d("select",{key:0,"onUpdate:modelValue":g[10]||(g[10]=_=>r.value.channel=_),disabled:e(c)},[t("option",kE,i(e(u)("\u81EA\u52A8")),1),(s(),d(L,null,R(13,_=>t("option",{value:_},i(_),9,wE)),64))],8,xE)),[[Q,r.value.channel,void 0,{number:!0}]]):$("",!0),r.value.band==="5g"?z((s(),d("select",{key:1,"onUpdate:modelValue":g[11]||(g[11]=_=>r.value.channel=_),disabled:e(c)},[t("option",FE,i(e(u)("\u81EA\u52A8")),1),EE],8,yE)),[[Q,r.value.channel,void 0,{number:!0}]]):$("",!0),e(c)?$("",!0):(s(),d("div",CE))])])),t("div",$E,[t("button",{class:"btn primary-btn",disabled:e(c),onClick:b},i(e(u)("\u4FDD\u5B58\u914D\u7F6E")),9,DE)])],40,uF))}});var YE=S(BE,[["__scopeId","data-v-f0aa6d5e"]]);const se=o=>(J("data-v-42d0731d"),o=o(),X(),o),AE={id:"page",class:"page-container"},SE={class:"mobile-tags-container"},zE={class:"tags-wrapper"},PE={class:"tags-scroll"},TE=["onClick"],IE={class:"more-btn-wrapper"},LE=se(()=>t("div",{class:"fade-overlay"},null,-1)),ME=se(()=>t("div",{class:"line"},null,-1)),OE=se(()=>t("div",{class:"line"},null,-1)),NE=se(()=>t("div",{class:"line"},null,-1)),qE=[ME,OE,NE],VE={class:"page-flex"},GE={class:"page-sidebar"},jE=["onClick"],RE={class:"page-main"},UE={class:"popup-content"},WE={class:"popup-tags"},HE=["onClick"],ZE={class:"popup-footer"},JE=T({setup(o){var _;const{$gettext:a}=q(),n=E(!1);ga("disabled",n);const u=E([]),l=Qt(),r=ha(),c=E(String((_=l==null?void 0:l.query)==null?void 0:_.tab)),w=E(!1),x=v=>{var k;return(k=v.band)==null?void 0:k.toUpperCase()},f=v=>v.isGuest?v.band+"_Guest":v.ssid,p=v=>{n.value||(c.value=f(v),w.value=!1,c.value!==l.query.tab&&r.push({query:{tab:c.value}}))},m=E(),b=v=>{n.value||(m.value=f(v))},h=()=>{w.value=!1,m.value!==l.query.tab&&r.push({query:{tab:m.value}})};Kt(()=>w.value,v=>{v?m.value=c.value:c.value=m.value});const g=()=>I(this,null,function*(){try{const{data:v}=yield P.Quickwifi.List.GET(),{error:k,result:y}=v;if(k)throw k;y!=null&&y.ifaces&&(u.value=y.ifaces.map(Y=>ot(K({},Y),{hidden:Y.hidden||!1,disabled:Y.disabled||!1,isGuest:Y.isGuest||!1,channel:Y.channel||0,txpower:Y.txpower||0,ifaceIndex:Y.ifaceIndex||0})));let F=!1;for(let Y=0;Y0&&p(u.value[0])}catch(v){console.log(v)}});return g(),(v,k)=>(s(),d("div",AE,[t("div",SE,[t("div",zE,[t("div",PE,[(s(!0),d(L,null,R(u.value,y=>(s(),d("div",{key:f(y),class:st(c.value===f(y)?"tag-item active":"tag-item"),onClick:nt(F=>p(y),["stop"])},i(x(y))+" "+i(y.isGuest?` ${e(a)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,TE))),128))]),t("div",IE,[LE,t("div",{class:"more-btn",onClick:k[0]||(k[0]=y=>w.value=!0)},qE)])])]),t("div",VE,[t("div",GE,[(s(!0),d(L,null,R(u.value,y=>(s(),d("div",{key:f(y),class:st(c.value===f(y)?"item activeItem":"item"),onClick:nt(F=>p(y),["stop"])},i(x(y))+" "+i(y.isGuest?` ${e(a)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,jE))),128))]),t("div",RE,[(s(!0),d(L,null,R(u.value,y=>(s(),d(L,{key:f(y)},[c.value===f(y)?(s(),G(YE,{key:0,data:y,onGetData:g},null,8,["data"])):$("",!0)],64))),128))])]),w.value?(s(),d("div",{key:0,class:"popup-overlay",onClick:k[2]||(k[2]=nt(y=>w.value=!1,["self"]))},[t("div",UE,[t("div",WE,[(s(!0),d(L,null,R(u.value,y=>(s(),d("div",{key:f(y),class:st(m.value===f(y)?"popup-tag-item active":"popup-tag-item"),onClick:nt(F=>b(y),["stop"])},i(x(y))+" "+i(y.isGuest?` ${e(a)("\u8BBF\u5BA2")}`:"")+" Wi-Fi "+i(y.ifaceIndex?`[${y.ifaceIndex}]`:""),11,HE))),128))]),t("div",ZE,[t("button",{class:"cancel-btn",onClick:k[1]||(k[1]=y=>w.value=!1)},i(e(a)("\u53D6\u6D88")),1),t("button",{class:"confirm-btn",onClick:h},i(e(a)("\u786E\u5B9A")),1)])])])):$("",!0)]))}});var XE=S(JE,[["__scopeId","data-v-42d0731d"]]);const KE=()=>window.vue_base||"/cgi-bin/luci/admin/quickstart",We=_a({history:xa(KE()),routes:[{name:"IndexPage",path:"/",meta:{title:"\u63A7\u5236\u53F0"},component:x9},{name:"NetworkPage",path:"/network",meta:{title:"\u7F51\u7EDC\u8BBE\u7F6E\u5411\u5BFC"},component:y9,children:[{path:"",component:ov},{path:"pppoe",component:Cv},{path:"dhcp",component:cb},{path:"gateway",component:eg}]},{path:"/quickwifi",component:XE},{name:"RaidPage",path:"/raid",meta:{title:"raid\u5411\u5BFC"},component:F_},{name:"SmartPage",path:"/smart",meta:{title:"smart\u68C0\u6D4B"},component:S_,children:[{path:"",component:zw},{path:"task",component:Hw},{path:"log",component:Kw}]},{path:"/interfaceconfig",component:lF}]});We.beforeEach((o,a)=>(o.meta.title,!0));const dt=at(Ga);dt.component("svg-menu",Ja);dt.component("svg-system",ao);dt.component("svg-download",lo);dt.component("svg-store",go);dt.component("svg-info",yo);dt.component("svg-disk",Wo);dt.component("svg-nav",Qo);dt.component("progress-item",Te);dt.component("svg-view-show",Fn);dt.component("svg-view-hidden",Yn);dt.component("article-item",Ln);dt.component("switch-box",Ie);dt.component("editable-select",Ct);dt.use(Le);dt.use(We);dt.use(ka());ya(dt).finally(()=>dt.mount("#app"))});export default QE(); diff --git a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css index b1a04b4a5b..e257a64d73 100644 --- a/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css +++ b/openwrt-packages/luci-app-quickstart/htdocs/luci-static/quickstart/style.css @@ -1 +1 @@ -@keyframes bganimation-0698ba82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0698ba82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0698ba82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0698ba82]{animation:rotateEnter-0698ba82 .7s;position:relative}.rotate-leave-active[data-v-0698ba82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0698ba82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-0698ba82]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-0698ba82]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-9bc295c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9bc295c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9bc295c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9bc295c2]{animation:rotateEnter-9bc295c2 .7s;position:relative}.rotate-leave-active[data-v-9bc295c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9bc295c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-9bc295c2]{width:100%}#main[data-v-9bc295c2],#main[data-v-9bc295c2] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e}@keyframes bganimation-733828e1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-733828e1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-733828e1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-733828e1]{animation:rotateEnter-733828e1 .7s;position:relative}.rotate-leave-active[data-v-733828e1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-733828e1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-733828e1]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-733828e1]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-76324716{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76324716{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76324716{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76324716]{animation:rotateEnter-76324716 .7s;position:relative}.rotate-leave-active[data-v-76324716]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76324716]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-76324716]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-76324716]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-76324716],label.checkbox_switch .checkbox_switch_off[data-v-76324716]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-76324716]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-76324716]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-76324716]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-76324716]{display:none!important}label.checkbox_switch svg[data-v-76324716]{height:1em;width:2em}article[data-v-bd286d4e]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-bd286d4e]{max-width:33.333%}}@keyframes bganimation-bd286d4e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bd286d4e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bd286d4e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bd286d4e]{animation:rotateEnter-bd286d4e .7s;position:relative}.rotate-leave-active[data-v-bd286d4e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bd286d4e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-bd286d4e]{max-width:50%}}@keyframes bganimation-123deb20{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-123deb20{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-123deb20{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-123deb20]{animation:rotateEnter-123deb20 .7s;position:relative}.rotate-leave-active[data-v-123deb20]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-123deb20]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-123deb20]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-123deb20]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-123deb20]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-123deb20]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-123deb20] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-123deb20] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-123deb20] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-123deb20]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-123deb20]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-123deb20]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-123deb20]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-123deb20]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-123deb20]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-123deb20]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-123deb20]{background-color:#439c07}@keyframes bganimation-0b6f3a7d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b6f3a7d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b6f3a7d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b6f3a7d]{animation:rotateEnter-0b6f3a7d .7s;position:relative}.rotate-leave-active[data-v-0b6f3a7d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b6f3a7d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-0b6f3a7d]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-0b6f3a7d],.select-editable input[data-v-0b6f3a7d]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-0b6f3a7d]{position:relative;width:100%}.select-editable input[data-v-0b6f3a7d]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-0b6f3a7d]:focus,.select-editable input[data-v-0b6f3a7d]:focus{outline:none;box-shadow:none}@keyframes bganimation-0ec4e762{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ec4e762{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ec4e762{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ec4e762]{animation:rotateEnter-0ec4e762 .7s;position:relative}.rotate-leave-active[data-v-0ec4e762]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ec4e762]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0ec4e762{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-0ec4e762]{animation:turn-0ec4e762 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-0ec4e762]{width:100%;height:100%}.quick-loading svg path[data-v-0ec4e762]{fill:#fff}@keyframes bganimation-b934e2ce{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b934e2ce{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b934e2ce{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b934e2ce]{animation:rotateEnter-b934e2ce .7s;position:relative}.rotate-leave-active[data-v-b934e2ce]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b934e2ce]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-b934e2ce]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-b934e2ce]{width:22px;height:22px}a:hover svg path[data-v-b934e2ce]{fill:#3688ff}@keyframes bganimation-641bc7f8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-641bc7f8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-641bc7f8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-641bc7f8]{animation:rotateEnter-641bc7f8 .7s;position:relative}.rotate-leave-active[data-v-641bc7f8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-641bc7f8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-641bc7f8]{position:relative;height:460px}.flow .echart[data-v-641bc7f8]{width:100%;height:100%}.flow .flow-data[data-v-641bc7f8]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-641bc7f8]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-641bc7f8]{height:76.6vw}}@keyframes bganimation-6935a479{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6935a479{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6935a479{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6935a479]{animation:rotateEnter-6935a479 .7s;position:relative}.rotate-leave-active[data-v-6935a479]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6935a479]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-6935a479{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-6935a479]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-6935a479]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-6935a479]{width:100%;height:100%}.toast div.icon svg path[data-v-6935a479]{fill:#fff}.toast .loading[data-v-6935a479]{animation:turn-6935a479 1s steps(12,end) infinite}.toast .message[data-v-6935a479]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-75eeccd3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-75eeccd3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-75eeccd3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-75eeccd3]{animation:rotateEnter-75eeccd3 .7s;position:relative}.rotate-leave-active[data-v-75eeccd3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-75eeccd3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-75eeccd3]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-75eeccd3]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-75eeccd3],#actioner[data-v-75eeccd3] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-75eeccd3]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-75eeccd3]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-75eeccd3]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-75eeccd3]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-75eeccd3]:hover{opacity:.9}.action-container .action-container_body[data-v-75eeccd3]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}.actioner-dns[data-v-5cff2770]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-5cff2770]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-5cff2770]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-5cff2770]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-5cff2770]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-5cff2770],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-5cff2770]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-5cff2770]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-5cff2770]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-5cff2770]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5cff2770{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5cff2770{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5cff2770{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5cff2770]{animation:rotateEnter-5cff2770 .7s;position:relative}.rotate-leave-active[data-v-5cff2770]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5cff2770]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-5cff2770]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-5cff2770]{width:100%}}.action[data-v-7f0d8217]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-7f0d8217]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-7f0d8217]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-7f0d8217]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-7f0d8217]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-7f0d8217]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-7f0d8217{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7f0d8217{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7f0d8217{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7f0d8217]{animation:rotateEnter-7f0d8217 .7s;position:relative}.rotate-leave-active[data-v-7f0d8217]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7f0d8217]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@keyframes bganimation-02f10ac5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-02f10ac5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-02f10ac5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-02f10ac5]{animation:rotateEnter-02f10ac5 .7s;position:relative}.rotate-leave-active[data-v-02f10ac5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-02f10ac5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-02f10ac5]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-02f10ac5]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-02f10ac5]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-02f10ac5]{font-weight:700;font-size:14px}@keyframes bganimation-3470ca08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3470ca08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3470ca08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3470ca08]{animation:rotateEnter-3470ca08 .7s;position:relative}.rotate-leave-active[data-v-3470ca08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3470ca08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-3470ca08]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-3470ca08]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-3470ca08]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-3470ca08]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-3470ca08]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-3470ca08]:hover{opacity:1;transition:.3s}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3f8f9931]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-3f8f9931]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-3f8f9931]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3f8f9931]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-3f8f9931]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-3f8f9931],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-3f8f9931]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-3f8f9931]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-3f8f9931]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3f8f9931]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-3f8f9931]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-3f8f9931]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-3f8f9931]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-3f8f9931]:focus,.actioner-dns .select-editable input[data-v-3f8f9931]:focus{outline:none}.actioner-dns[data-v-3f8f9931] ::placeholder{color:#999}.successed[data-v-3f8f9931]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-3f8f9931]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-3f8f9931]{text-align:center}.docker_moves .moves[data-v-3f8f9931]{margin-top:10px}.docker_moves .moves input[data-v-3f8f9931]{cursor:pointer}.docker_moves .moves label[data-v-3f8f9931]{margin-left:10px;cursor:pointer}.btns[data-v-3f8f9931]{text-align:center}.item_info[data-v-3f8f9931]{margin-left:10px}.softsource_tit[data-v-3f8f9931]{margin:0 auto}.softsource_successed[data-v-3f8f9931]{width:20%!important}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-3f8f9931]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-3f8f9931]{width:100%}}@keyframes bganimation-08006dd5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-08006dd5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-08006dd5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-08006dd5]{animation:rotateEnter-08006dd5 .7s;position:relative}.rotate-leave-active[data-v-08006dd5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-08006dd5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-08006dd5]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-08006dd5]{width:100%;background-color:var(--card-bg-color);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-08006dd5]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-08006dd5]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-08006dd5]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-08006dd5]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-08006dd5]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-08006dd5]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-08006dd5]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-08006dd5]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-08006dd5]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-08006dd5]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-08006dd5]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-08006dd5]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-08006dd5]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-08006dd5]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-08006dd5]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-08006dd5]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-08006dd5]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-08006dd5]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-08006dd5]{display:block;color:var(--app-container_status-label_block);margin:10px 0 8px}.app-container_status-container_body[data-v-08006dd5]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-08006dd5]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-08006dd5]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-08006dd5]{width:50px;height:50px}.app-container_status-container_body span[data-v-08006dd5]{width:100%;margin:5px 0}.menu_background[data-v-08006dd5]{position:fixed;inset:0}.app-container_body[data-v-08006dd5]{width:100%}.network-container[data-v-569bbceb]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-569bbceb]{border-radius:6px;overflow:hidden;position:relative;background-color:var(--flow-bg-color);box-shadow:var(--card-box-shadow)}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-569bbceb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-569bbceb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-569bbceb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-569bbceb]{animation:rotateEnter-569bbceb .7s;position:relative}.rotate-leave-active[data-v-569bbceb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-569bbceb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-569bbceb]{width:100%}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-d72e7026]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-d72e7026]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-d72e7026]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-d72e7026]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-d72e7026]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-d72e7026]{flex:auto}.action.format .disk-list[data-v-d72e7026]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-d72e7026]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-d72e7026]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-d72e7026]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-d72e7026]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-d72e7026]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-d72e7026],.action.format .label-item .label-item_value input[data-v-d72e7026]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-d72e7026]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-d72e7026]{flex:auto}.action.format p.msg[data-v-d72e7026]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-d72e7026]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-d72e7026]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-d72e7026]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-d72e7026]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-d72e7026]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-d72e7026]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-d72e7026]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-d72e7026]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-d72e7026]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-d72e7026]{color:#0000fb}.action.result .btns[data-v-d72e7026]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-d72e7026]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-d72e7026]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-d72e7026]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-d72e7026]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-d72e7026]{width:100%}}.action .action-footer button[data-v-b5895698]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b5895698]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b5895698]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b5895698]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b5895698]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b5895698]{flex:auto}.action.format .disk-list[data-v-b5895698]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b5895698]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b5895698]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b5895698]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b5895698]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b5895698]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b5895698],.action.format .label-item .label-item_value input[data-v-b5895698]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-b5895698]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-b5895698]{flex:auto}.action.format p.msg[data-v-b5895698]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b5895698]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b5895698]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b5895698]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b5895698]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-b5895698]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-b5895698]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-b5895698]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-b5895698]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-b5895698]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-b5895698]{color:#0000fb}.action.result .btns[data-v-b5895698]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-10dd00b8]{color:red}.disk-content[data-v-10dd00b8]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-10dd00b8]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-10dd00b8]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-10dd00b8]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-10dd00b8]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-10dd00b8]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-10dd00b8]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-10dd00b8]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-10dd00b8]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-10dd00b8]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-10dd00b8]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-10dd00b8]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-10dd00b8]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-10dd00b8]{display:flex;align-items:center}.disk_infoicon[data-v-10dd00b8]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-10dd00b8]{flex:none}.tooltip-trigger[data-v-10dd00b8]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-10dd00b8]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-10dd00b8]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-10dd00b8]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-10dd00b8]{visibility:visible;opacity:1}.tooltip-top[data-v-10dd00b8]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-10dd00b8]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-10dd00b8]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-10dd00b8]{display:block}.disk-content .disk_status[data-v-10dd00b8]{flex-wrap:wrap}}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-127a3100]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-127a3100]{overflow:auto}.action ul .app-container_info[data-v-127a3100]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-127a3100]{width:100%;height:100%}.action .action-footer[data-v-127a3100]{text-align:center;margin-top:46px}.action .action-footer button[data-v-127a3100]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-127a3100]{width:160%}}@media screen and (max-width: 800px){.action[data-v-127a3100]{width:138%}}@media screen and (max-width: 700px){.action[data-v-127a3100]{width:132%}}@media screen and (max-width: 600px){.action[data-v-127a3100]{width:116%}}@media screen and (max-width: 500px){.action[data-v-127a3100]{width:100%}}@media screen and (max-width: 400px){.action[data-v-127a3100]{width:90%}}@media screen and (max-width: 300px){.action[data-v-127a3100]{width:100%}}@keyframes bganimation-0b8d992f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b8d992f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b8d992f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b8d992f]{animation:rotateEnter-0b8d992f .7s;position:relative}.rotate-leave-active[data-v-0b8d992f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b8d992f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-0b8d992f]{color:red}li.disk-item[data-v-0b8d992f]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-0b8d992f]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-0b8d992f]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-0b8d992f]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-0b8d992f]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-0b8d992f]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-0b8d992f]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-0b8d992f]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-0b8d992f]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-0b8d992f]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-0b8d992f]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-0b8d992f]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-0b8d992f]{flex:none;cursor:help}.tooltip-trigger[data-v-0b8d992f]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-0b8d992f]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-0b8d992f]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-0b8d992f]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-0b8d992f]{visibility:visible;opacity:1}.tooltip-top[data-v-0b8d992f]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-0b8d992f]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-0b8d992f]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-5f7dc1ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f7dc1ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f7dc1ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f7dc1ac]{animation:rotateEnter-5f7dc1ac .7s;position:relative}.rotate-leave-active[data-v-5f7dc1ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f7dc1ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-5f7dc1ac]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-5f7dc1ac]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-5f7dc1ac]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-5f7dc1ac]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-5f7dc1ac] svg path{fill:var(--item_btn-color)}.app-container ul .app-container_title .DeviceBlock[data-v-5f7dc1ac]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-5f7dc1ac]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-5f7dc1ac]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-5f7dc1ac]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-5f7dc1ac]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-5f7dc1ac]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-5f7dc1ac]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-5f7dc1ac]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:1var --item_btn-border;border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-5f7dc1ac] svg path{fill:var(--item_btn-color)}.app-container ul .disk_loading_icon[data-v-5f7dc1ac]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-5f7dc1ac]{margin-top:5px}.refresh[data-v-5f7dc1ac]{margin-left:20px}.app-container_info[data-v-5f7dc1ac]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-5f7dc1ac]{width:100%;height:100%}.menu_background[data-v-5f7dc1ac]{position:fixed;inset:0}@keyframes bganimation-ba3ddae2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba3ddae2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ba3ddae2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ba3ddae2]{animation:rotateEnter-ba3ddae2 .7s;position:relative}.rotate-leave-active[data-v-ba3ddae2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba3ddae2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-ba3ddae2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-ba3ddae2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-ba3ddae2]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-ba3ddae2]:hover{opacity:.7}.tit[data-v-ba3ddae2]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-2bc5f580{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2bc5f580{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2bc5f580{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2bc5f580]{animation:rotateEnter-2bc5f580 .7s;position:relative}.rotate-leave-active[data-v-2bc5f580]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2bc5f580]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-2bc5f580]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-2bc5f580]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-2bc5f580]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-7732abe2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7732abe2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7732abe2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7732abe2]{animation:rotateEnter-7732abe2 .7s;position:relative}.rotate-leave-active[data-v-7732abe2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7732abe2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-7732abe2]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-7732abe2]{flex:auto}ul.disk-item .disk-item_icon[data-v-7732abe2]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-7732abe2]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-7732abe2]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-7732abe2]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-7732abe2]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-7732abe2],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-7732abe2]{width:100%}ul.disk-item li.disk-info.on[data-v-7732abe2]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-7732abe2]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-7732abe2]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-7732abe2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-7732abe2]{border-left:3px solid #ff9c08;background-color:#ecf5ff}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-0d1b6ac8]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-0d1b6ac8]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.list .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.format .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-0d1b6ac8]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-0d1b6ac8]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-0d1b6ac8]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-0d1b6ac8],.action.format .label-item .label-item_value input[data-v-0d1b6ac8]{width:100%;height:36px}.action.format .auto[data-v-0d1b6ac8]{flex:auto}.action.format p.msg[data-v-0d1b6ac8]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-0d1b6ac8]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-0d1b6ac8]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-0d1b6ac8]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-0d1b6ac8]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-0d1b6ac8]{color:#f70324}.action.result .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-0d1b6ac8]{flex:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-0d1b6ac8]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-0d1b6ac8]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-0d1b6ac8]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-0d1b6ac8]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-0d1b6ac8]{width:80%}}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-5f6e53be]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-5f6e53be]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-5f6e53be]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-5f6e53be]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-5f6e53be]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-5f6e53be]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@keyframes bganimation-2eafa10c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2eafa10c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2eafa10c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2eafa10c]{animation:rotateEnter-2eafa10c .7s;position:relative}.rotate-leave-active[data-v-2eafa10c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2eafa10c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2eafa10c]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2eafa10c]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2eafa10c]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2eafa10c]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2eafa10c]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2eafa10c]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2eafa10c]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2eafa10c],.action .action-body .label-item .label-item_value input[data-v-2eafa10c]{width:100%;height:36px}.action .action-footer[data-v-2eafa10c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2eafa10c]{flex:auto}.action .action-footer button[data-v-2eafa10c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-58844394{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58844394{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58844394{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58844394]{animation:rotateEnter-58844394 .7s;position:relative}.rotate-leave-active[data-v-58844394]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58844394]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-58844394]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-58844394]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-58844394]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-58844394]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-58844394]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-58844394]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-58844394]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-58844394]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-58844394]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-58844394],.action .action-body .label-item .label-item_value input[data-v-58844394]{width:100%;height:36px}.action .action-body .samba-item[data-v-58844394]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-58844394]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-58844394]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-58844394]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-58844394]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-58844394]{margin-left:10px}.action .action-footer[data-v-58844394]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-58844394]{flex:auto}.action .action-footer button[data-v-58844394]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-1d64dea6]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-1d64dea6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-1d64dea6]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-1d64dea6]{width:100%;display:block;padding:2rem 0}.action form label[data-v-1d64dea6]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-1d64dea6],.action form label select[data-v-1d64dea6]{width:100%;display:block;height:42px}.action .btns[data-v-1d64dea6]{width:100%;margin-top:3rem}.action .btns button[data-v-1d64dea6]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-1d64dea6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-1d64dea6]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-1d64dea6]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-1d64dea6],.action li.disk-item .disk-item_f .disk-item_used[data-v-1d64dea6]{width:100%}.action .tips[data-v-1d64dea6]{float:right;font-size:.8em}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-1d64dea6]{font-size:2em}}@keyframes bganimation-55d1fac2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-55d1fac2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-55d1fac2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-55d1fac2]{animation:rotateEnter-55d1fac2 .7s;position:relative}.rotate-leave-active[data-v-55d1fac2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-55d1fac2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-55d1fac2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-55d1fac2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-55d1fac2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-55d1fac2]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-55d1fac2]{cursor:pointer}a[data-v-55d1fac2]{text-decoration:none;color:#297ff3}@keyframes bganimation-1e1fa308{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e1fa308{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e1fa308{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e1fa308]{animation:rotateEnter-1e1fa308 .7s;position:relative}.rotate-leave-active[data-v-1e1fa308]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e1fa308]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1e1fa308]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-1e1fa308]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1e1fa308]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1e1fa308]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e1fa308]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e1fa308] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1e1fa308]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1e1fa308]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1e1fa308]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1e1fa308]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1e1fa308]:hover{background-color:#eee}.app-container .app-container_title button[data-v-1e1fa308]{margin-left:10px}.app-container .app-container_body[data-v-1e1fa308]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-1e1fa308]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-1e1fa308]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-1e1fa308],.app-container ul.app-container_nas-menu button[data-v-1e1fa308]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-1e1fa308]{position:fixed;inset:0}@keyframes bganimation-3b1e9470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b1e9470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b1e9470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b1e9470]{animation:rotateEnter-3b1e9470 .7s;position:relative}.rotate-leave-active[data-v-3b1e9470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b1e9470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-3b1e9470]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-3b1e9470]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-3b1e9470]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-3b1e9470]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-3b1e9470]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-3b1e9470]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-3b1e9470]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-3b1e9470]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-3b1e9470]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-3b1e9470]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-3b1e9470]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3b1e9470]{visibility:visible;opacity:1}.tooltip-top[data-v-3b1e9470]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-3b1e9470]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-3b1e9470]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-3b1e9470]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-3b1e9470]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-3b1e9470]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-3b1e9470]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-3b1e9470]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-3b1e9470]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-3b1e9470]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-3b1e9470]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-3b1e9470]{transform:translate(0);transition:.3s}@keyframes bganimation-919e529c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-919e529c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-919e529c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-919e529c]{animation:rotateEnter-919e529c .7s;position:relative}.rotate-leave-active[data-v-919e529c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-919e529c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-919e529c]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-919e529c]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-919e529c]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-919e529c]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-919e529c]{display:flex;justify-content:left;align-items:center}.action .change[data-v-919e529c]{width:678px}.action .desc[data-v-919e529c]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-919e529c]{width:100%;display:block}.action .tips[data-v-919e529c]{width:477px}.action .tips .tip[data-v-919e529c]{color:#faad14;padding-left:6px}.action .btns[data-v-919e529c]{width:100%;margin:104px auto 0}.action .btns button[data-v-919e529c]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-919e529c]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-919e529c]{text-align:center;font-size:14px}.action .finished[data-v-919e529c]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-919e529c]{text-align:center}.action .docker_moves .moves[data-v-919e529c]{margin-top:10px}.action .docker_moves .moves input[data-v-919e529c]{cursor:pointer}.action .docker_moves .moves label[data-v-919e529c]{margin-left:10px;cursor:pointer}.select-editable[data-v-919e529c]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-919e529c]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-919e529c]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-919e529c]:focus,.select-editable input[data-v-919e529c]:focus{outline:none}[data-v-919e529c]::placeholder{color:#999}@keyframes bganimation-919e529c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-919e529c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-919e529c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-919e529c]{animation:rotateEnter-919e529c .7s;position:relative}.rotate-leave-active[data-v-919e529c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-919e529c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-919e529c]{width:100%}.docker_download[data-v-919e529c]{width:80%}}@keyframes bganimation-fcb97952{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-fcb97952{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-fcb97952{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-fcb97952]{animation:rotateEnter-fcb97952 .7s;position:relative}.rotate-leave-active[data-v-fcb97952]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-fcb97952]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-fcb97952]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-fcb97952]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-fcb97952]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-fcb97952]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-fcb97952]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-fcb97952] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-fcb97952]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-fcb97952]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-fcb97952]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-fcb97952]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-fcb97952]:hover{background-color:#eee}.app-container button[data-v-fcb97952],.app-container .refresh[data-v-fcb97952]{margin-left:20px}.app-container .app-container_body[data-v-fcb97952]{width:100%;height:100%}.app-container .loading_placeholder[data-v-fcb97952]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-fcb97952]{position:fixed;inset:0}@keyframes bganimation-40652d1d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40652d1d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40652d1d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40652d1d]{animation:rotateEnter-40652d1d .7s;position:relative}.rotate-leave-active[data-v-40652d1d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40652d1d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-40652d1d]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-40652d1d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-40652d1d]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-40652d1d]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-40652d1d]{color:#888}.use-url_app[data-v-40652d1d]{padding-bottom:14px}.use-url_app a[data-v-40652d1d]{text-decoration:none;color:#297ff3}@keyframes bganimation-96972a5a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-96972a5a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-96972a5a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-96972a5a]{animation:rotateEnter-96972a5a .7s;position:relative}.rotate-leave-active[data-v-96972a5a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-96972a5a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-96972a5a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-96972a5a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-96972a5a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-96972a5a]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-96972a5a]{color:#888}a[data-v-96972a5a]{text-decoration:none;color:#297ff3}@keyframes bganimation-05c8d77a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05c8d77a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05c8d77a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05c8d77a]{animation:rotateEnter-05c8d77a .7s;position:relative}.rotate-leave-active[data-v-05c8d77a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05c8d77a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-05c8d77a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-05c8d77a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-05c8d77a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-05c8d77a]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-05c8d77a]{color:#888}a[data-v-05c8d77a]{text-decoration:none;color:#297ff3}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-7b328460]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-7b328460]{color:#999;font-size:14px}.action input[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-7b328460]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-7b328460]{width:100%}.action form label input[data-v-7b328460],.action form label select[data-v-7b328460]{height:100%;font-size:14px}.action .myinput_wrap[data-v-7b328460],.action .RPC_input[data-v-7b328460]{width:85%}.action .myinput_wrap textarea[data-v-7b328460]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-7b328460]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-7b328460]{margin-right:10px}.action .input_row .radios input[data-v-7b328460],.action .input_row .radios label[data-v-7b328460]{cursor:pointer}.action .Tracker label[data-v-7b328460]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-7b328460]{padding:6px 2px}.action .btns[data-v-7b328460]{width:100%;margin:42px auto 0}.action .btns button[data-v-7b328460]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-7b328460]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-7b328460]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-7b328460]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-7b328460]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-7b328460]{visibility:visible;opacity:1}.action .tooltip-top[data-v-7b328460]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-7b328460]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-7b328460]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-7b328460]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-7b328460]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-7b328460]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-7b328460]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-7b328460]{text-align:center;font-size:14px}.action .finished[data-v-7b328460]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-7b328460]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-7b328460]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-7b328460]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-7b328460]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-7b328460]:focus,.select-editable input[data-v-7b328460]:focus{outline:none}[data-v-7b328460]::placeholder{color:#999}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-7b328460]{width:100%}.action .input_row[data-v-7b328460]{display:block}.action .input_row .myinput_wrap[data-v-7b328460],.action .input_row .RPC_input[data-v-7b328460]{width:100%}}@keyframes bganimation-602f6713{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-602f6713{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-602f6713{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-602f6713]{animation:rotateEnter-602f6713 .7s;position:relative}.rotate-leave-active[data-v-602f6713]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-602f6713]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-602f6713]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-602f6713]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-602f6713]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-602f6713]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-602f6713]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-602f6713] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-602f6713]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-602f6713]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-602f6713]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-602f6713]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-602f6713]:hover{background-color:#eee}.app-container .app-container_title button[data-v-602f6713]{margin-left:10px}.app-container .app-container_body[data-v-602f6713]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-602f6713]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-602f6713]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-602f6713],.app-container ul.app-container_nas-menu button[data-v-602f6713]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-602f6713]{position:fixed;inset:0}@keyframes bganimation-46dd945e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-46dd945e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-46dd945e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-46dd945e]{animation:rotateEnter-46dd945e .7s;position:relative}.rotate-leave-active[data-v-46dd945e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-46dd945e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-46dd945e]{text-align:center;margin-bottom:20px}.label-item[data-v-46dd945e]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-46dd945e]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-46dd945e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-46dd945e]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b760733a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b760733a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b760733a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b760733a]{animation:rotateEnter-b760733a .7s;position:relative}.rotate-leave-active[data-v-b760733a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b760733a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b760733a]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b760733a]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b760733a]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b760733a]{text-align:center}.actioner-container_body .body-info[data-v-b760733a]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b760733a]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b760733a]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b760733a]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-064efd50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-064efd50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-064efd50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-064efd50]{animation:rotateEnter-064efd50 .7s;position:relative}.rotate-leave-active[data-v-064efd50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-064efd50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-064efd50]{width:100%;height:100%;border:none}@keyframes bganimation-49c43a08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-49c43a08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-49c43a08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-49c43a08]{animation:rotateEnter-49c43a08 .7s;position:relative}.rotate-leave-active[data-v-49c43a08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-49c43a08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-49c43a08]{width:100%;height:100%;border:none}@keyframes bganimation-27f65f12{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-27f65f12{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-27f65f12{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-27f65f12]{animation:rotateEnter-27f65f12 .7s;position:relative}.rotate-leave-active[data-v-27f65f12]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-27f65f12]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-27f65f12]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-27f65f12]{width:100px;height:100px}.actioner-container_body .body-title[data-v-27f65f12]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-27f65f12]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-27f65f12]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-27f65f12]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-27f65f12]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-210c03e8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-210c03e8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-210c03e8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-210c03e8]{animation:rotateEnter-210c03e8 .7s;position:relative}.rotate-leave-active[data-v-210c03e8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-210c03e8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-210c03e8]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1b21487b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1b21487b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1b21487b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1b21487b]{animation:rotateEnter-1b21487b .7s;position:relative}.rotate-leave-active[data-v-1b21487b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1b21487b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1b21487b]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-7a6bd385]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-7a6bd385] .actioner-container{width:100%}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-05611967{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05611967{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05611967{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05611967]{animation:rotateEnter-05611967 .7s;position:relative}.rotate-leave-active[data-v-05611967]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05611967]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-05611967]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-05611967]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-05611967]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-05611967]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-05611967]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-05611967]:hover{opacity:.8}.action .clear[data-v-05611967]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-05611967]:hover{opacity:.8}@keyframes bganimation-6e29e960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6e29e960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6e29e960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6e29e960]{animation:rotateEnter-6e29e960 .7s;position:relative}.rotate-leave-active[data-v-6e29e960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6e29e960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-6e29e960]{display:block;width:100%;text-align:center}.title_info p[data-v-6e29e960]{font-size:20px;margin-bottom:10px}.label-item[data-v-6e29e960]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-6e29e960]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-6e29e960]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-6e29e960]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-6e29e960]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-6e29e960],.label-item .label-item_value input[data-v-6e29e960]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-6e29e960]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-6e29e960]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-6e29e960]{margin-left:8px}.label-message[data-v-6e29e960]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6f1d92d9]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6f1d92d9] .actioner-container{width:100%}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.ali,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-1532b758{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1532b758{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1532b758{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1532b758]{animation:rotateEnter-1532b758 .7s;position:relative}.rotate-leave-active[data-v-1532b758]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1532b758]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1532b758]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-1532b758]{text-decoration:none}.app-container .app-container_title[data-v-1532b758]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1532b758]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1532b758]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1532b758]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1532b758] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1532b758]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1532b758]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1532b758]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1532b758]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1532b758]:hover{background-color:#eee}.app-container button[data-v-1532b758],.app-container .refresh[data-v-1532b758]{margin-left:20px}.app-container .app-container_body[data-v-1532b758]{width:100%;height:100%}.menu_background[data-v-1532b758]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-1532b758]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-1532b758]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-1532b758]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-1532b758]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-1532b758]{border:var(--item_btn-border);border-radius:4px;font-size:12px;padding:7px;color:var(--item_btn-color);text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-1532b758]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-1532b758]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-1532b758]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-1532b758]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-1532b758]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-1532b758]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-1532b758]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-1532b758]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-1532b758]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-1532b758]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-1532b758]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-1532b758]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-1532b758]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-66cc4e33]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-b8dfe98c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8dfe98c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8dfe98c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8dfe98c]{animation:rotateEnter-b8dfe98c .7s;position:relative}.rotate-leave-active[data-v-b8dfe98c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8dfe98c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-b8dfe98c]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-b8dfe98c]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-b8dfe98c]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-b8dfe98c]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-b8dfe98c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-b8dfe98c]:hover{background-color:#eee}.item-label[data-v-b8dfe98c]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-b8dfe98c]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-b8dfe98c]{font-size:14px;color:var(--item-label_key-span-color)}.item-label .item-label_value[data-v-b8dfe98c]{flex:1;text-align:left}.item-label .item-label_value span[data-v-b8dfe98c]{font-size:14px;color:var(--item-label_value-span-color)}.item-title span[data-v-b8dfe98c]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-b8dfe98c]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-b8dfe98c]{flex:auto}.item-flex button.app-editor[data-v-b8dfe98c]{padding:8px 1.3rem}.menu_background[data-v-b8dfe98c]{position:fixed;inset:0}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-22104807]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-22104807]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-22104807]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-22104807]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-22104807]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-22104807],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-22104807]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-22104807]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-22104807]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-22104807]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-22104807]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-22104807]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-22104807]{text-align:center}.setting_status p[data-v-22104807]{margin:10px 0}.setting_status a[data-v-22104807]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-22104807]{margin-top:10px}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-22104807]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-22104807]{width:100%}}@keyframes bganimation-2b57eea5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b57eea5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b57eea5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b57eea5]{animation:rotateEnter-2b57eea5 .7s;position:relative}.rotate-leave-active[data-v-2b57eea5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b57eea5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2b57eea5]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-2b57eea5]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-2b57eea5]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-2b57eea5]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-2b57eea5]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-2b57eea5]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-2b57eea5]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-2b57eea5]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-2b57eea5]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-2b57eea5]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-2b57eea5]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2b57eea5]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2b57eea5]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2b57eea5]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2b57eea5],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2b57eea5]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2b57eea5]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-2b57eea5]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-2b57eea5]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-2b57eea5]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-2b57eea5]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-2b57eea5]{margin-top:114px}.timeout span[data-v-2b57eea5],.sandbox_roboot_refresh[data-v-2b57eea5]{color:#5e72e4}option[data-v-2b57eea5]:disabled{background-color:#e0e0e0}@keyframes bganimation-2b57eea5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b57eea5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b57eea5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b57eea5]{animation:rotateEnter-2b57eea5 .7s;position:relative}.rotate-leave-active[data-v-2b57eea5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b57eea5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-2b57eea5]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-2b57eea5]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-2b57eea5]{min-height:42vh}.actioner-tips[data-v-2b57eea5]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-2b57eea5]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-2b57eea5]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:3px 10px}}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-9573dc70]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-9573dc70]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-9573dc70]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-9573dc70]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-9573dc70]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-9573dc70]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-9573dc70]{margin-top:114px}.timeout span[data-v-9573dc70]{color:#5e72e4}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-9573dc70]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-9573dc70]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-9573dc70]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-9573dc70]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:12px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:3px 10px}}@keyframes bganimation-30c0acb2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30c0acb2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30c0acb2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30c0acb2]{animation:rotateEnter-30c0acb2 .7s;position:relative}.rotate-leave-active[data-v-30c0acb2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30c0acb2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-30c0acb2]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-30c0acb2]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button-combind[data-v-30c0acb2]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;padding:0}.nav-container .app-update-button-combind .app-update-button[data-v-30c0acb2]{flex:auto;display:flex;align-items:center;height:100%}.nav-container .app-update-button-combind .app-update-button .app-update-button-text[data-v-30c0acb2]{flex:auto}.nav-container .app-update-button-combind .app-update-button .app-update-button-text i[data-v-30c0acb2]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .app-update-button-combind .app-update-button-more[data-v-30c0acb2]{display:inline-flex;width:28px;border-left:solid 1px;align-items:center;justify-content:center;flex-wrap:nowrap;height:100%}.nav-container .app-update-button-combind .app-update-button-more[data-v-30c0acb2] svg path{color:inherit!important;fill:currentColor}.nav-container .app-update-button-combind .app-update-button-menu[data-v-30c0acb2]{position:absolute;z-index:999;width:30%;right:0;top:100%}.nav-container .app-update-button-combind .app-update-button-menu ul[data-v-30c0acb2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.nav-container .app-update-button-combind .app-update-button-menu ul li[data-v-30c0acb2]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item[data-v-30c0acb2]{padding:5px 2px;white-space:nowrap}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item-loading[data-v-30c0acb2]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}.nav-container .cover-buttob[data-v-30c0acb2]{margin-left:0;margin-right:5px}.nav-container a[data-v-30c0acb2]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-30c0acb2]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-30c0acb2]:before{content:"\276f "}.nav-container .MoreMenu[data-v-30c0acb2]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-30c0acb2]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-30c0acb2]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-30c0acb2]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-30c0acb2]{visibility:hidden}.color1[data-v-30c0acb2]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-30c0acb2]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-30c0acb2]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-30c0acb2]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-30c0acb2]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}.menu_background[data-v-30c0acb2]{position:fixed;inset:0}@keyframes bganimation-82d61772{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-82d61772{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-82d61772{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-82d61772]{animation:rotateEnter-82d61772 .7s;position:relative}.rotate-leave-active[data-v-82d61772]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-82d61772]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-82d61772]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-82d61772] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:var(--app-container_title-color);font-size:1.5em}[data-v-82d61772] .more_icon{z-index:0}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-52c03678]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-52c03678]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-52c03678]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-52c03678]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-52c03678]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-52c03678]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-52c03678]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-52c03678]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-52c03678]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-52c03678]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-52c03678]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-52c03678]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-52c03678]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-52c03678]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-52c03678]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-52c03678]{background-color:#439c07}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-e187efe4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e187efe4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e187efe4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e187efe4]{animation:rotateEnter-e187efe4 .7s;position:relative}.rotate-leave-active[data-v-e187efe4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e187efe4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-e187efe4]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-e187efe4]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-e187efe4]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-e187efe4]{margin:.5rem 0}#page .network-message li[data-v-e187efe4]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-e187efe4]{color:red}#page .network-message li a[data-v-e187efe4]{color:#00f}#page form[data-v-e187efe4]{display:block;width:100%;margin:3rem 0}#page form label[data-v-e187efe4]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-e187efe4]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-e187efe4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-e187efe4]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-e187efe4]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-e187efe4]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-e187efe4]{margin-left:10px;user-select:none}#page .msg[data-v-e187efe4]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-e187efe4]{width:100%;margin-top:3rem}#page .btns button[data-v-e187efe4]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5eefd6ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5eefd6ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5eefd6ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5eefd6ee]{animation:rotateEnter-5eefd6ee .7s;position:relative}.rotate-leave-active[data-v-5eefd6ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5eefd6ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-5eefd6ee]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-5eefd6ee]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-5eefd6ee]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-5eefd6ee]{margin:.5rem 0}#page .network-message li[data-v-5eefd6ee]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-5eefd6ee]{color:red}#page .network-message li a[data-v-5eefd6ee]{color:#00f}#page form[data-v-5eefd6ee]{display:block;width:100%;margin:3rem 0}#page form label[data-v-5eefd6ee]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-5eefd6ee]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-5eefd6ee]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-5eefd6ee]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-5eefd6ee],#page form label select[data-v-5eefd6ee]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-5eefd6ee]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-5eefd6ee]{margin-left:10px;user-select:none}#page .msgs[data-v-5eefd6ee]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-5eefd6ee]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-5eefd6ee]{width:100%;margin-top:3rem}#page .btns button[data-v-5eefd6ee]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-3d6d1dea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3d6d1dea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3d6d1dea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3d6d1dea]{animation:rotateEnter-3d6d1dea .7s;position:relative}.rotate-leave-active[data-v-3d6d1dea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3d6d1dea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-3d6d1dea]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-3d6d1dea]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-3d6d1dea]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-3d6d1dea]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-3d6d1dea]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-3d6d1dea]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-3d6d1dea]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-3d6d1dea]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-3d6d1dea]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-3d6d1dea]{display:block;width:100%;margin:3rem 0}#page form label[data-v-3d6d1dea]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-3d6d1dea]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-3d6d1dea]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-3d6d1dea]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-3d6d1dea],#page form label select[data-v-3d6d1dea]{width:100%;display:block;height:42px}.switch_inline[data-v-3d6d1dea]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-3d6d1dea]{margin-left:10px;user-select:none}@keyframes bganimation-7cf2dd18{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7cf2dd18{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7cf2dd18{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7cf2dd18]{animation:rotateEnter-7cf2dd18 .7s;position:relative}.rotate-leave-active[data-v-7cf2dd18]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7cf2dd18]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-7cf2dd18]{line-height:22px;font-size:14px}.label-item[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7cf2dd18]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7cf2dd18]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7cf2dd18]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7cf2dd18],.label-item .label-item_value input[data-v-7cf2dd18]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7cf2dd18]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7cf2dd18]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-7cf2dd18]{top:0}.label-item .label-item_tips[data-v-7cf2dd18]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7cf2dd18]{vertical-align:top}span.msg-warning[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7cf2dd18]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7cf2dd18]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7cf2dd18]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7cf2dd18]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7cf2dd18]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ef06e27{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ef06e27{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ef06e27{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ef06e27]{animation:rotateEnter-0ef06e27 .7s;position:relative}.rotate-leave-active[data-v-0ef06e27]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ef06e27]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-0ef06e27]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-593445fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-593445fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-593445fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-593445fb]{animation:rotateEnter-593445fb .7s;position:relative}.rotate-leave-active[data-v-593445fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-593445fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-593445fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-593445fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-593445fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-593445fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-593445fb]{width:100%}.label-item .label-item_value select[data-v-593445fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-593445fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-593445fb]{top:0;margin:0}.label-item .label-item_tips[data-v-593445fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-593445fb]{vertical-align:top}span.msg-warning[data-v-593445fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-77aa4121{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77aa4121{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77aa4121{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77aa4121]{animation:rotateEnter-77aa4121 .7s;position:relative}.rotate-leave-active[data-v-77aa4121]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77aa4121]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-77aa4121]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77aa4121]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77aa4121]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77aa4121]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77aa4121]{width:100%}.label-item .label-item_value select[data-v-77aa4121]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-77aa4121]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-77aa4121]{top:0;margin:0}.label-item .label-item_tips[data-v-77aa4121]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77aa4121]{vertical-align:top}span.msg-warning[data-v-77aa4121]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-a924400c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a924400c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a924400c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a924400c]{animation:rotateEnter-a924400c .7s;position:relative}.rotate-leave-active[data-v-a924400c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a924400c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-a924400c]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-a924400c]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-a924400c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-a924400c]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-a924400c]{width:100%}.label-item .label-item_value select[data-v-a924400c]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-a924400c]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-a924400c]{top:0;margin:0}.label-item .label-item_tips[data-v-a924400c]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-a924400c]{vertical-align:top}span.msg-warning[data-v-a924400c]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6ef94d02]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6ef94d02] .actioner-container{width:100%}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-e68d5bbe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e68d5bbe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e68d5bbe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e68d5bbe]{animation:rotateEnter-e68d5bbe .7s;position:relative}.rotate-leave-active[data-v-e68d5bbe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e68d5bbe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-e68d5bbe]{margin-bottom:32px}.item-status[data-v-e68d5bbe]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-e68d5bbe]{text-decoration:underline;cursor:help}@keyframes bganimation-16dd0913{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16dd0913{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16dd0913{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16dd0913]{animation:rotateEnter-16dd0913 .7s;position:relative}.rotate-leave-active[data-v-16dd0913]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16dd0913]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-16dd0913]{margin-bottom:1rem}#page[data-v-16dd0913] .cbi-section{padding:1rem}#page[data-v-16dd0913] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-742230ae]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-742230ae] .actioner-container{width:100%}.action-main[data-v-742230ae] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-742230ae] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-742230ae] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-70c3aae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70c3aae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70c3aae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70c3aae0]{animation:rotateEnter-70c3aae0 .7s;position:relative}.rotate-leave-active[data-v-70c3aae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70c3aae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-70c3aae0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-313197ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-313197ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-313197ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-313197ee]{animation:rotateEnter-313197ee .7s;position:relative}.rotate-leave-active[data-v-313197ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-313197ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-313197ee]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-76197cba{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76197cba{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76197cba{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76197cba]{animation:rotateEnter-76197cba .7s;position:relative}.rotate-leave-active[data-v-76197cba]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76197cba]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-76197cba]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-c88486ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-c88486ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-c88486ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-c88486ac]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-c88486ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-c88486ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-c88486ac]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-c88486ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-c88486ac]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-c88486ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-c88486ac]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-c88486ac]{width:100%}}@keyframes bganimation-afd1f5d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-afd1f5d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-afd1f5d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-afd1f5d2]{animation:rotateEnter-afd1f5d2 .7s;position:relative}.rotate-leave-active[data-v-afd1f5d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-afd1f5d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-afd1f5d2]{width:48px;height:100%;cursor:pointer}.interface-device-flex[data-v-afd1f5d2]{display:flex;justify-content:center}.interface-device-flex .app-container_status-label_bg[data-v-afd1f5d2]{width:0;min-width:130px;max-width:230px;overflow-y:hidden;flex:1 0 160px}.cbi-section-table-row .td.btns[data-v-afd1f5d2]{text-align:left!important}@keyframes bganimation-758b2882{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-758b2882{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-758b2882{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-758b2882]{animation:rotateEnter-758b2882 .7s;position:relative}.rotate-leave-active[data-v-758b2882]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-758b2882]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-758b2882]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-758b2882]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-758b2882]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-758b2882]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-758b2882]{display:none;align-items:center}.switch-core[data-v-758b2882]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-758b2882]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-758b2882]{opacity:.6;cursor:not-allowed}.switch-button[data-v-758b2882]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-758b2882]{transform:translate(20px)}.switch-label[data-v-758b2882]{font-size:14px;color:#999}.switch-label.active[data-v-758b2882]{color:#409eff}form.form-container[data-v-758b2882]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-info[data-v-758b2882]{width:100%;display:block;margin-bottom:1rem;color:#f9ad1e;font-size:16px;line-height:24px;text-align:left}form.form-container .label-name[data-v-758b2882]{display:block;width:100%;margin-bottom:.5rem;color:#666}form.form-container .label-name span[data-v-758b2882]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-758b2882]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-758b2882],form.form-container .label-value select[data-v-758b2882]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:#333;font-size:14px}form.form-container .label-value input>option[data-v-758b2882],form.form-container .label-value select>option[data-v-758b2882]{color:#8898aa}form.form-container .label-value input[data-v-758b2882]:focus,form.form-container .label-value select[data-v-758b2882]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-758b2882]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-758b2882]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-758b2882],form.form-container .label-value input[type=radio][data-v-758b2882]{width:auto}form.form-container .label-value input[type=radio][data-v-758b2882]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-758b2882]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-758b2882]::placeholder{color:#666;opacity:.54;font-size:14px}form.form-container .label-value input[data-v-758b2882]:-ms-input-placeholder{color:#666;opacity:.54;font-size:14px}form.form-container .label-value input[data-v-758b2882]::-ms-input-placeholder{color:#666;opacity:.54;font-size:14px}form.form-container .label-btns[data-v-758b2882]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-758b2882]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-758b2882]{color:#f9ad1e}form.form-container .label-flex[data-v-758b2882]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-758b2882]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-758b2882]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-758b2882]{width:200px!important}.form-item .label-value[data-v-758b2882]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-758b2882]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-758b2882]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-758b2882]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-758b2882]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-758b2882]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-758b2882]:hover{opacity:.9;transition:.3}select[data-v-758b2882]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-758b2882]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-758b2882]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-758b2882]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-758b2882]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-758b2882]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-758b2882]{color:#000}form.form-container .form-item .label-value[data-v-758b2882]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-758b2882],form.form-container .form-item .label-value select[data-v-758b2882]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-758b2882]{padding-right:24px}form.form-container .form-item .label-value input[data-v-758b2882]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-758b2882]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-758b2882]{padding-right:14px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-758b2882] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-758b2882] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-758b2882]{display:flex}form.form-container .label-flex label[data-v-758b2882]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-758b2882]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-758b2882]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-758b2882]{width:20px;height:20px;right:0}.pc-radio[data-v-758b2882],.label-flex[data-v-758b2882]{display:none!important}.mobile-switch[data-v-758b2882]{display:flex;align-items:center;height:50px}.switch_label[data-v-758b2882]{display:flex;justify-content:end}.switch-core[data-v-758b2882]{width:50px;height:24px}.switch-button[data-v-758b2882]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-758b2882]{transform:translate(26px)}.select-arrow[data-v-758b2882]{position:absolute;right:0;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-f03b36d8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f03b36d8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f03b36d8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f03b36d8]{animation:rotateEnter-f03b36d8 .7s;position:relative}.rotate-leave-active[data-v-f03b36d8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f03b36d8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-f03b36d8]{width:100%;background-color:#fff;border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-f03b36d8]{display:none}.page-flex[data-v-f03b36d8]{display:flex}.page-flex .page-sidebar[data-v-f03b36d8]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-f03b36d8]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:#333;display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-f03b36d8]:hover,.page-flex .page-sidebar .item.activeItem[data-v-f03b36d8]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-f03b36d8]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-f03b36d8]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-f03b36d8]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-f03b36d8]{display:block}.page-flex .page-sidebar[data-v-f03b36d8]{display:none}.page-flex .page-main[data-v-f03b36d8]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-f03b36d8]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-f03b36d8]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-f03b36d8]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-f03b36d8]::-webkit-scrollbar{display:none}.tag-item[data-v-f03b36d8]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-f03b36d8]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-f03b36d8]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-f03b36d8]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.8) 62%,white 100%)}.more-btn[data-v-f03b36d8]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-f03b36d8]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-f03b36d8] .showSide{z-index:1!important}.popup-overlay[data-v-f03b36d8]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-f03b36d8]{width:100%;max-width:827px;background-color:#fff;border-radius:0 0 4px 4px;animation:slideDown-f03b36d8 .3s ease-out;overflow:hidden;padding-top:25px}.popup-content .popup-tag-item[data-v-f03b36d8],.popup-content .active[data-v-f03b36d8]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-f03b36d8{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-f03b36d8]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-f03b36d8]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-f03b36d8]{background-color:#5279f7;color:#fff}.popup-footer[data-v-f03b36d8]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-f03b36d8]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-f03b36d8]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-f03b36d8]{background-color:#5279f7;color:#fff;border:none}} +@keyframes bganimation-0698ba82{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0698ba82{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0698ba82{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0698ba82]{animation:rotateEnter-0698ba82 .7s;position:relative}.rotate-leave-active[data-v-0698ba82]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0698ba82]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.disk-item-tooltip[data-v-0698ba82]{position:fixed;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;font-size:1em;min-width:200px;line-height:24px}.disk-item-tooltip[data-v-0698ba82]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}#main .app-btn,#actioner .app-btn{min-height:36px}@keyframes bganimation-9bc295c2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9bc295c2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9bc295c2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9bc295c2]{animation:rotateEnter-9bc295c2 .7s;position:relative}.rotate-leave-active[data-v-9bc295c2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9bc295c2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#main[data-v-9bc295c2]{width:100%}#main[data-v-9bc295c2],#main[data-v-9bc295c2] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%)}@media (prefers-color-scheme: light){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%)}}@media (prefers-color-scheme: dark){:root{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%)}#app svg path{color:#666}#app svg circle{stroke:#666}}@media (prefers-color-scheme: no-preference){:root{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%)}}body[theme=dark]{--flow-bg-color: transparent;--flow-span-color: #cccccc;--card-bg-color: #88888822;--card-box-shadow: 0 0 .5rem 0 rgba(0, 0, 0, .35);--app-container_title-color: #cccccc;--app-container_status-label_block: #727272;--item-label_key-span-color: #cccccc;--item-label_value-span-color: #cccccc;--app-container_status-label_bg: #0000001a;--item_btn-border: 1px solid #cccccc;--item_btn-color: #cccccc;--tit-color: #cccccc;--popup-bg-color: #000;--tag-bg-color: #1e1e1e;--gradient-bg-color:linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.8) 62%, rgba(0,0,0,1) 100%)}body[theme=light]{--flow-bg-color: #fff;--flow-span-color: rgba(0, 0, 0, .6);--card-bg-color: #fff;--card-box-shadow: 0 0 10px 1px #bfbfbf24;--app-container_title-color: #1e1e1e;--app-container_status-label_block: black;--item-label_key-span-color: #333;--item-label_value-span-color: #333;--app-container_status-label_bg: #f3f3f3;--item_btn-border: 1px solid #553afb;--item_btn-color: #553afb;--tit-color: #1e1e1e;--popup-bg-color: #fff;--tag-bg-color: #f5f5f5;--gradient-bg-color:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.8) 62%, rgba(255,255,255,1) 100%)}@keyframes bganimation-733828e1{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-733828e1{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-733828e1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-733828e1]{animation:rotateEnter-733828e1 .7s;position:relative}.rotate-leave-active[data-v-733828e1]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-733828e1]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.progress[data-v-733828e1]{width:100%;display:block;position:relative;background-color:#eee;border-radius:4px;height:18px;line-height:18px;overflow:hidden}.progress .progress-value[data-v-733828e1]{transition:.5s;position:absolute;left:0;top:0;bottom:0;height:100%;text-align:center;color:#fff;vertical-align:middle;font-size:12px}@keyframes bganimation-76324716{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76324716{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76324716{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76324716]{animation:rotateEnter-76324716 .7s;position:relative}.rotate-leave-active[data-v-76324716]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76324716]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}label.checkbox_switch[data-v-76324716]{cursor:pointer;display:flex!important;align-items:center;width:initial!important}label.checkbox_switch input[type=checkbox][data-v-76324716]{height:0!important;width:0!important;opacity:0!important;margin:0!important;padding:0!important;border:none!important}label.checkbox_switch .checkbox_switch_on[data-v-76324716],label.checkbox_switch .checkbox_switch_off[data-v-76324716]{flex:none}label.checkbox_switch .checkbox_switch_on[data-v-76324716]{display:none!important}label.checkbox_switch .checkbox_switch_off[data-v-76324716]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_on[data-v-76324716]{display:inline-flex!important}label.checkbox_switch input[type=checkbox]:checked~.checkbox_switch_off[data-v-76324716]{display:none!important}label.checkbox_switch svg[data-v-76324716]{height:1em;width:2em}article[data-v-bd286d4e]{flex:0 0 100%;max-width:20%;position:relative;border-radius:4px;padding:10px}@media screen and (max-width: 1080px){article[data-v-bd286d4e]{max-width:33.333%}}@keyframes bganimation-bd286d4e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-bd286d4e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-bd286d4e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-bd286d4e]{animation:rotateEnter-bd286d4e .7s;position:relative}.rotate-leave-active[data-v-bd286d4e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-bd286d4e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 768px){article[data-v-bd286d4e]{max-width:50%}}@keyframes bganimation-123deb20{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-123deb20{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-123deb20{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-123deb20]{animation:rotateEnter-123deb20 .7s;position:relative}.rotate-leave-active[data-v-123deb20]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-123deb20]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-123deb20]{position:relative;display:block;width:100%;transition:.4s;cursor:pointer}a[data-v-123deb20]:hover{transform:scale(1.07);transition:.4s;position:relative}a:hover .cover .thumbnail[data-v-123deb20]{box-shadow:0 6px 40px #1c67f2}a .cover[data-v-123deb20]{position:relative;padding-top:130%;z-index:1}a .cover[data-v-123deb20] .thumbnail{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6px;overflow:hidden;z-index:1;background-color:#2dc8fd;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}a .cover[data-v-123deb20] .thumbnail i{display:block;font-size:100px;color:#eee}a .cover[data-v-123deb20] .thumbnail span{display:block;text-align:center;width:100%;color:#eeee;font-size:28px;margin:1rem 0}article:nth-child(9n+1) a .cover .thumbnail[data-v-123deb20]{background-color:#ff9100}article:nth-child(9n+2) a .cover .thumbnail[data-v-123deb20]{background-color:#2dc8fd}article:nth-child(9n+3) a .cover .thumbnail[data-v-123deb20]{background-color:#f66a2c}article:nth-child(9n+4) a .cover .thumbnail[data-v-123deb20]{background-color:#9b58de}article:nth-child(9n+5) a .cover .thumbnail[data-v-123deb20]{background-color:#297ff3}article:nth-child(9n+6) a .cover .thumbnail[data-v-123deb20]{background-color:#27aa8f}article:nth-child(9n+7) a .cover .thumbnail[data-v-123deb20]{background-color:#f15a4a}article:nth-child(9n+8) a .cover .thumbnail[data-v-123deb20]{background-color:#439c07}@keyframes bganimation-0b6f3a7d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b6f3a7d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b6f3a7d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b6f3a7d]{animation:rotateEnter-0b6f3a7d .7s;position:relative}.rotate-leave-active[data-v-0b6f3a7d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b6f3a7d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.select-editable[data-v-0b6f3a7d]{position:relative;line-height:1.5rem;padding:.5rem .75rem;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-0b6f3a7d],.select-editable input[data-v-0b6f3a7d]{height:100%;padding:0;border:none;margin:0}.select-editable select[data-v-0b6f3a7d]{position:relative;width:100%}.select-editable input[data-v-0b6f3a7d]{position:absolute;top:0;left:.75rem;width:88%}.select-editable select[data-v-0b6f3a7d]:focus,.select-editable input[data-v-0b6f3a7d]:focus{outline:none;box-shadow:none}@keyframes bganimation-0ec4e762{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ec4e762{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ec4e762{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ec4e762]{animation:rotateEnter-0ec4e762 .7s;position:relative}.rotate-leave-active[data-v-0ec4e762]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ec4e762]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-0ec4e762{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.quick-loading[data-v-0ec4e762]{animation:turn-0ec4e762 1s steps(12,end) infinite;margin:0!important;padding:0!important;background:none!important;display:flex!important}.quick-loading svg[data-v-0ec4e762]{width:100%;height:100%}.quick-loading svg path[data-v-0ec4e762]{fill:#fff}@keyframes bganimation-b934e2ce{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b934e2ce{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b934e2ce{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b934e2ce]{animation:rotateEnter-b934e2ce .7s;position:relative}.rotate-leave-active[data-v-b934e2ce]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b934e2ce]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}a[data-v-b934e2ce]{margin-left:4px;width:20px;vertical-align:middle}a svg[data-v-b934e2ce]{width:22px;height:22px}a:hover svg path[data-v-b934e2ce]{fill:#3688ff}@keyframes bganimation-641bc7f8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-641bc7f8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-641bc7f8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-641bc7f8]{animation:rotateEnter-641bc7f8 .7s;position:relative}.rotate-leave-active[data-v-641bc7f8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-641bc7f8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.flow[data-v-641bc7f8]{position:relative;height:460px}.flow .echart[data-v-641bc7f8]{width:100%;height:100%}.flow .flow-data[data-v-641bc7f8]{position:absolute;right:10px;top:10px}.flow .flow-data span[data-v-641bc7f8]{display:block;color:var(--flow-span-color);font-size:12px;margin-bottom:5px;font-weight:600;font-family:PingFangSC-Semibold,PingFang SC}@media screen and (max-width: 600px){.flow[data-v-641bc7f8]{height:76.6vw}}@keyframes bganimation-6935a479{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6935a479{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6935a479{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6935a479]{animation:rotateEnter-6935a479 .7s;position:relative}.rotate-leave-active[data-v-6935a479]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6935a479]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes turn-6935a479{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.toast[data-v-6935a479]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:100px;max-width:70%;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999;transition:.3s;cursor:pointer}.toast div.icon[data-v-6935a479]{width:50px;height:50px;margin:15px 0;background:none!important}.toast div.icon svg[data-v-6935a479]{width:100%;height:100%}.toast div.icon svg path[data-v-6935a479]{fill:#fff}.toast .loading[data-v-6935a479]{animation:turn-6935a479 1s steps(12,end) infinite}.toast .message[data-v-6935a479]{display:block;width:100%;flex:0 0 100%;word-wrap:break-word}[lock-scroll=true]{overflow:hidden!important;height:100vh}@keyframes bganimation-75eeccd3{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-75eeccd3{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-75eeccd3{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-75eeccd3]{animation:rotateEnter-75eeccd3 .7s;position:relative}.rotate-leave-active[data-v-75eeccd3]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-75eeccd3]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.bg[data-v-75eeccd3]{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:999}#actioner[data-v-75eeccd3]{position:fixed;z-index:1000;width:100%;height:100%;inset:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;overflow:auto}#actioner[data-v-75eeccd3],#actioner[data-v-75eeccd3] *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.action-container[data-v-75eeccd3]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:9999;inset:0;margin:auto;overflow:auto}.action-container .action-container_header[data-v-75eeccd3]{width:100%;height:36px;line-height:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 .625rem;position:absolute;top:0;left:0;right:0;border-bottom:1px solid #1e1e1e;background-color:#252526}.action-container .action-container_header .title[data-v-75eeccd3]{color:#eee;font-size:16px}.action-container .action-container_header button.close[data-v-75eeccd3]{width:36px;height:36px;margin:0;padding:10px;background:none;border:none;cursor:pointer;opacity:1}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon{width:100%;height:100%}.action-container .action-container_header button.close[data-v-75eeccd3] svg.icon path{fill:#eee}.action-container .action-container_header button.close[data-v-75eeccd3]:hover{opacity:.9}.action-container .action-container_body[data-v-75eeccd3]{width:100%;height:100%;padding-top:36px}@keyframes bganimation{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active{animation:rotateEnter .7s;position:relative}.rotate-leave-active{opacity:0;display:none;position:relative;z-index:-999}.app-container{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes dialogEnter{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes dialogLeave{0%{transform:scale(1)}to{transform:scale(0)}}.dialog-enter-active{animation:dialogEnter .3s linear forwards}.dialog-leave-active{animation:dialogLeave .3s linear forwards}.actioner-dns[data-v-5cff2770]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-5cff2770]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-5cff2770]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-5cff2770]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-5cff2770]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-5cff2770]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-5cff2770],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-5cff2770]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-5cff2770]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-5cff2770]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-5cff2770]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-5cff2770]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-5cff2770{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5cff2770{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5cff2770{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5cff2770]{animation:rotateEnter-5cff2770 .7s;position:relative}.rotate-leave-active[data-v-5cff2770]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5cff2770]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-5cff2770]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-5cff2770]{width:100%}}.action[data-v-7f0d8217]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-7f0d8217]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-7f0d8217]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-7f0d8217]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-7f0d8217]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-7f0d8217]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-7f0d8217{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7f0d8217{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7f0d8217{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7f0d8217]{animation:rotateEnter-7f0d8217 .7s;position:relative}.rotate-leave-active[data-v-7f0d8217]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7f0d8217]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-7f0d8217]{font-size:20px}}@keyframes bganimation-02f10ac5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-02f10ac5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-02f10ac5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-02f10ac5]{animation:rotateEnter-02f10ac5 .7s;position:relative}.rotate-leave-active[data-v-02f10ac5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-02f10ac5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-label_bg[data-v-02f10ac5]{flex:0 0 230px;width:230px;height:80px;display:flex;background:var(--app-container_status-label_bg);align-items:center;padding:10px;margin-right:10px;transition:.3s}.app-container_status-label_bg .app-container_status-label_text[data-v-02f10ac5]{margin-left:6px;font-size:14px;line-height:22px;text-align:left}.app-container_status-label_bg .app-container_status-label_text .text_status[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_style[data-v-02f10ac5]{margin:6px 0}.app-container_status-label_bg .app-container_status-label_text .text_style.close[data-v-02f10ac5]{color:#999}.app-container_status-label_bg .app-container_status-label_text .text_info[data-v-02f10ac5]{font-weight:700;font-size:14px}@keyframes bganimation-3470ca08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3470ca08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3470ca08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3470ca08]{animation:rotateEnter-3470ca08 .7s;position:relative}.rotate-leave-active[data-v-3470ca08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3470ca08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-interfaces[data-v-3470ca08]{width:100%;height:80px;display:flex;flex-wrap:nowrap;overflow:hidden}.app-interfaces a[data-v-3470ca08]{list-style:none;text-decoration:none}.app-interfaces a.btn-f[data-v-3470ca08]{position:absolute;width:50px;height:80px;left:0;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-f[data-v-3470ca08]:hover{opacity:1;transition:.3s}.app-interfaces a.btn-r[data-v-3470ca08]{position:absolute;right:0;width:50px;line-height:80px;text-align:center;color:#fff;font-size:26px;cursor:pointer;background-color:#00000059;opacity:0;transition:.3s;z-index:1}.app-interfaces a.btn-r[data-v-3470ca08]:hover{opacity:1;transition:.3s}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-3f8f9931]{width:800px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-3f8f9931]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-3f8f9931]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-3f8f9931]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-3f8f9931]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-3f8f9931]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-3f8f9931],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-3f8f9931]{height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-3f8f9931]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-3f8f9931]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-3f8f9931]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-3f8f9931]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-dns .select-editable[data-v-3f8f9931]{position:relative;border:solid grey 1px;width:100%}.actioner-dns .select-editable select[data-v-3f8f9931]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.actioner-dns .select-editable input[data-v-3f8f9931]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.actioner-dns .select-editable select[data-v-3f8f9931]:focus,.actioner-dns .select-editable input[data-v-3f8f9931]:focus{outline:none}.actioner-dns[data-v-3f8f9931] ::placeholder{color:#999}.successed[data-v-3f8f9931]{text-align:center;font-size:14px;margin-bottom:104px}.finished[data-v-3f8f9931]{display:flex;justify-content:center;margin:80px 80px 28px}.docker_moves[data-v-3f8f9931]{text-align:center}.docker_moves .moves[data-v-3f8f9931]{margin-top:10px}.docker_moves .moves input[data-v-3f8f9931]{cursor:pointer}.docker_moves .moves label[data-v-3f8f9931]{margin-left:10px;cursor:pointer}.btns[data-v-3f8f9931]{text-align:center}.item_info[data-v-3f8f9931]{margin-left:10px}.softsource_tit[data-v-3f8f9931]{margin:0 auto}.softsource_successed[data-v-3f8f9931]{width:20%!important}@keyframes bganimation-3f8f9931{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3f8f9931{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3f8f9931{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3f8f9931]{animation:rotateEnter-3f8f9931 .7s;position:relative}.rotate-leave-active[data-v-3f8f9931]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3f8f9931]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-3f8f9931]{min-height:34vh}}@media screen and (max-width: 860px){.actioner-dns[data-v-3f8f9931]{width:100%}}@keyframes bganimation-08006dd5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-08006dd5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-08006dd5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-08006dd5]{animation:rotateEnter-08006dd5 .7s;position:relative}.rotate-leave-active[data-v-08006dd5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-08006dd5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-08006dd5]{display:block;margin:.5rem 0;width:100%}.app-container_status-container[data-v-08006dd5]{width:100%;background-color:var(--card-bg-color);padding:10px 30px;border-radius:6px;position:relative}.app-container_status-container .more_icon[data-v-08006dd5]{position:absolute;right:22px;cursor:pointer}.app-container_status-container .more_icon svg[data-v-08006dd5]{position:relative;z-index:9999}.app-container_status-container .DeviceBlock[data-v-08006dd5]{position:absolute;z-index:999;width:60%;right:22px}.app-container_status-container .DeviceBlock ul[data-v-08006dd5]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all;margin-top:24px}.app-container_status-container .DeviceBlock ul li[data-v-08006dd5]{line-height:28px}.app-container_status-container .DeviceBlock ul li a[data-v-08006dd5]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_status-container .DeviceBlock ul li .domain[data-v-08006dd5]{cursor:pointer}.app-container_status-container .DeviceBlock ul li[data-v-08006dd5]:hover{background-color:#eee}.app-container_status-container .DeviceBlock li[data-v-08006dd5]:last-child{margin-top:5px}.app-container_status-container span.container_success[data-v-08006dd5]{display:block;font-size:15px;font-family:PingFangSC-Medium,PingFang SC}.app-container_status-container span.container_failure[data-v-08006dd5]{display:block;font-size:1.2em}.app-container_status-container .container_configure[data-v-08006dd5]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#553afe;line-height:20px;cursor:pointer}.app-container_status-container span.container_title[data-v-08006dd5]{font-size:1.25rem;color:#333;display:block}.app-container_status-container span.container_content[data-v-08006dd5]{font-size:1.25rem;color:#666}.app-container_status-container .devise[data-v-08006dd5]{display:block;font-size:12px;color:#727272}.app-container_status-container span.container_time[data-v-08006dd5]{font-size:12px;color:#727272;margin-top:3px;display:block}.app-container_status-label[data-v-08006dd5]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.app-container_status-label .app-container_status-label_item[data-v-08006dd5]{flex:0 0 50%;max-width:50%}.app-container_status-label_block[data-v-08006dd5]{display:block;color:var(--app-container_status-label_block);margin:10px 0 8px}.app-container_status-container_body[data-v-08006dd5]{width:100%;height:100%;text-align:center;display:flex;align-items:center;align-content:center}.app-container_status-container_body svg[data-v-08006dd5]{min-width:32px}.app-container_status-container_body .app-container_status-info[data-v-08006dd5]{margin-left:10px;text-align:left;margin-right:10px;min-width:57px}.app-container_status-container_body svg[data-v-08006dd5]{width:50px;height:50px}.app-container_status-container_body span[data-v-08006dd5]{width:100%;margin:5px 0}.menu_background[data-v-08006dd5]{position:fixed;inset:0}.app-container_body[data-v-08006dd5]{width:100%}.network-container[data-v-569bbceb]{width:100%;display:flex;flex-wrap:wrap}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:60%;padding-right:10px}.network-container .network-container_flow .network-container_flow-container[data-v-569bbceb]{border-radius:6px;overflow:hidden;position:relative;background-color:var(--flow-bg-color);box-shadow:var(--card-box-shadow)}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:40%;padding-left:10px;display:flex;flex-wrap:wrap}@keyframes bganimation-569bbceb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-569bbceb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-569bbceb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-569bbceb]{animation:rotateEnter-569bbceb .7s;position:relative}.rotate-leave-active[data-v-569bbceb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-569bbceb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.network-container[data-v-569bbceb]{width:100%}.network-container .network-container_flow[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-right:0}.network-container .network-container_status[data-v-569bbceb]{flex:0 0 100%;max-width:100%;padding-left:0;margin-top:1rem}}.action .action-footer button[data-v-d72e7026]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-d72e7026]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-d72e7026]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-d72e7026]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-d72e7026]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-d72e7026]{flex:auto}.action.format .disk-list[data-v-d72e7026]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-d72e7026]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-d72e7026]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-d72e7026]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-d72e7026]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-d72e7026]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-d72e7026],.action.format .label-item .label-item_value input[data-v-d72e7026]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-d72e7026]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-d72e7026]{flex:auto}.action.format p.msg[data-v-d72e7026]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-d72e7026]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-d72e7026]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-d72e7026]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-d72e7026]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-d72e7026]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-d72e7026]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-d72e7026]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-d72e7026]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-d72e7026]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-d72e7026]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-d72e7026]{color:#0000fb}.action.result .btns[data-v-d72e7026]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-d72e7026{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-d72e7026{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-d72e7026{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-d72e7026]{animation:rotateEnter-d72e7026 .7s;position:relative}.rotate-leave-active[data-v-d72e7026]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-d72e7026]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format[data-v-d72e7026]{width:168%}}@media screen and (max-width: 900px){.action.format[data-v-d72e7026]{width:146%}}@media screen and (max-width: 800px){.action.format[data-v-d72e7026]{width:136%}}@media screen and (max-width: 700px){.action.format[data-v-d72e7026]{width:116%}}@media screen and (max-width: 500px){.action.format[data-v-d72e7026]{width:100%}}.action .action-footer button[data-v-b5895698]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-b5895698]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-b5895698]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-b5895698]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-b5895698]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-b5895698]{flex:auto}.action.format .disk-list[data-v-b5895698]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-b5895698]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-b5895698]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-b5895698]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-b5895698]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-b5895698]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-b5895698],.action.format .label-item .label-item_value input[data-v-b5895698]{width:100%;height:36px}.action.format .label-item .label-item_path[data-v-b5895698]{padding:0 14px;background-color:#e5e5e5;width:100%;height:28px;line-height:28px;margin-top:10px}.action.format .auto[data-v-b5895698]{flex:auto}.action.format p.msg[data-v-b5895698]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-b5895698]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-b5895698]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-b5895698]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-b5895698]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-b5895698{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b5895698{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b5895698{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b5895698]{animation:rotateEnter-b5895698 .7s;position:relative}.rotate-leave-active[data-v-b5895698]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b5895698]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-b5895698]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-body[data-v-b5895698]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.action.result .action-body .action-body_icon[data-v-b5895698]{width:100px;height:100px}.action.result .action-body .action-body_icon svg.icon[data-v-b5895698]{width:100%;height:100%}.action.result .action-body .action-body_msg[data-v-b5895698]{font-size:2em;color:#666;text-align:center;width:100%;margin:1rem 0}.action.result .action-body .action-body_info[data-v-b5895698]{margin:1rem 0;width:100%;text-align:center;color:#666;font-size:1.2em}.action.result .action-body .action-body_info a[data-v-b5895698]{color:#0000fb}.action.result .btns[data-v-b5895698]{width:100%;text-align:center;margin:1rem 0}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-10dd00b8]{color:red}.disk-content[data-v-10dd00b8]{padding:1rem;border:1px solid #cfcfcf;margin:16px 0}.disk-content li.disk-item[data-v-10dd00b8]{width:100%;display:flex;align-items:center}.disk-content li.disk-item .disk-item_name[data-v-10dd00b8]{flex:0 0 50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.disk-content li.disk-item .value-data[data-v-10dd00b8]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%;color:#297ff3;cursor:default}.disk-content li.disk-item .value-data button[data-v-10dd00b8]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.disk-content li.disk-item .value-data button[data-v-10dd00b8]:hover{opacity:.7}.disk-content li.disk-item .value-data.buttondiv[data-v-10dd00b8]{cursor:pointer}.disk-content li.disk-item .disk_value[data-v-10dd00b8]{flex:0 0 50%;display:flex;justify-content:space-between;align-items:center}.disk-content li.disk-item .disk_value .cbi-button[data-v-10dd00b8]{margin-left:10px}.disk-content li.disk-item .disk_value .disk-item_value[data-v-10dd00b8]{flex:auto;padding-left:10px;position:relative}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}.disk-content li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-10dd00b8]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}.disk-content li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-10dd00b8]{visibility:visible;transition:.7s;opacity:1}.disk-content .disk_status[data-v-10dd00b8]{display:flex;text-align:left;padding-left:10px;font-size:12px;padding-top:6px}.disk-content .disk_status .disk_status_item[data-v-10dd00b8]{display:flex;margin-right:20px}.disk-content .disk_status .disk_status_item .disk_tip[data-v-10dd00b8]{display:flex;align-items:center}.disk_infoicon[data-v-10dd00b8]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-10dd00b8]{flex:none}.tooltip-trigger[data-v-10dd00b8]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-10dd00b8]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-10dd00b8]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-10dd00b8]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-10dd00b8]{visibility:visible;opacity:1}.tooltip-top[data-v-10dd00b8]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-10dd00b8]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-10dd00b8]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-10dd00b8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-10dd00b8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-10dd00b8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-10dd00b8]{animation:rotateEnter-10dd00b8 .7s;position:relative}.rotate-leave-active[data-v-10dd00b8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-10dd00b8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.disk-content li.disk-item .disk_value[data-v-10dd00b8]{display:block}.disk-content .disk_status[data-v-10dd00b8]{flex-wrap:wrap}}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-127a3100]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:3rem;border-radius:6px;display:flex;flex-direction:column;flex-wrap:nowrap}.action ul[data-v-127a3100]{overflow:auto}.action ul .app-container_info[data-v-127a3100]{display:flex;justify-content:space-between;max-width:56%;margin-top:18px;font-weight:600}.action ul .app-container_body[data-v-127a3100]{width:100%;height:100%}.action .action-footer[data-v-127a3100]{text-align:center;margin-top:46px}.action .action-footer button[data-v-127a3100]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-127a3100{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-127a3100{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-127a3100{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-127a3100]{animation:rotateEnter-127a3100 .7s;position:relative}.rotate-leave-active[data-v-127a3100]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-127a3100]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action[data-v-127a3100]{width:160%}}@media screen and (max-width: 800px){.action[data-v-127a3100]{width:138%}}@media screen and (max-width: 700px){.action[data-v-127a3100]{width:132%}}@media screen and (max-width: 600px){.action[data-v-127a3100]{width:116%}}@media screen and (max-width: 500px){.action[data-v-127a3100]{width:100%}}@media screen and (max-width: 400px){.action[data-v-127a3100]{width:90%}}@media screen and (max-width: 300px){.action[data-v-127a3100]{width:100%}}@keyframes bganimation-0b8d992f{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0b8d992f{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0b8d992f{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0b8d992f]{animation:rotateEnter-0b8d992f .7s;position:relative}.rotate-leave-active[data-v-0b8d992f]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0b8d992f]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.disk-item.error[data-v-0b8d992f]{color:red}li.disk-item[data-v-0b8d992f]{width:100%;display:flex;margin:1rem 0;align-items:center}li.disk-item .disk-item_name[data-v-0b8d992f]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.disk-item .disk_icon[data-v-0b8d992f]{padding-left:1rem;align-self:center;align-items:center;flex:none;display:flex}li.disk-item .disk_value[data-v-0b8d992f]{display:flex;justify-content:flex-end;width:50%}li.disk-item .disk_value .disk-item_value[data-v-0b8d992f]{flex:auto;padding-left:10px;position:relative;cursor:help}li.disk-item .disk_value .disk-item_value .value-data[data-v-0b8d992f]{width:100%;text-overflow:ellipsis;white-space:nowrap;height:100%}li.disk-item .disk_value .disk-item_value .value-data button[data-v-0b8d992f]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer;padding:0;margin:0;line-height:normal}li.disk-item .disk_value .disk-item_value .value-data button[data-v-0b8d992f]:hover{opacity:.7}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-0b8d992f]{position:absolute;background:rgba(0,0,0,.7);z-index:10111;color:#fff;padding:.5rem 1rem;left:10px;right:0;bottom:100%;margin-bottom:6px;text-align:center;font-size:1em;visibility:hidden;opacity:0}li.disk-item .disk_value .disk-item_value .disk-item-tooltip[data-v-0b8d992f]:after{content:"";position:absolute;bottom:-6px;border-color:#4c4c4c rgba(0,0,0,0) rgba(0,0,0,0);left:0;right:0;text-align:center;width:0;margin:0 auto;border-width:6px 8px 0;border-style:solid}li.disk-item .disk_value .disk-item_value:hover .disk-item-tooltip[data-v-0b8d992f]{visibility:visible;transition:.7s;opacity:1}.disk_infoicon[data-v-0b8d992f]{margin-left:10px;cursor:pointer}.tooltip-trigger[data-v-0b8d992f]{flex:none;cursor:help}.tooltip-trigger[data-v-0b8d992f]{position:relative;display:inline-block;cursor:help;margin-right:6px;margin-left:10px}.tooltip-trigger .tooltip-text[data-v-0b8d992f]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-0b8d992f]{color:#fff}.tooltip-trigger .tooltip-text .disk_dir_tip[data-v-0b8d992f]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-0b8d992f]{visibility:visible;opacity:1}.tooltip-top[data-v-0b8d992f]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.tooltip-top[data-v-0b8d992f]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-0b8d992f]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-5f7dc1ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f7dc1ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f7dc1ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f7dc1ac]{animation:rotateEnter-5f7dc1ac .7s;position:relative}.rotate-leave-active[data-v-5f7dc1ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f7dc1ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-5f7dc1ac]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%}.app-container ul[data-v-5f7dc1ac]{flex:0 0 100%;width:100%}.app-container ul .app-container_title[data-v-5f7dc1ac]{display:flex;justify-content:space-between;align-items:center}.app-container ul .app-container_title .more_icon[data-v-5f7dc1ac]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .more_icon[data-v-5f7dc1ac] svg path{fill:var(--item_btn-color)}.app-container ul .app-container_title .DeviceBlock[data-v-5f7dc1ac]{position:absolute;z-index:999;width:30%;right:22px}.app-container ul .app-container_title .DeviceBlock ul[data-v-5f7dc1ac]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container ul .app-container_title .DeviceBlock ul li[data-v-5f7dc1ac]{margin:6px 0;cursor:pointer;line-height:28px}.app-container ul .app-container_title .DeviceBlock ul li a[data-v-5f7dc1ac]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;display:block}.app-container ul .app-container_title .DeviceBlock ul li[data-v-5f7dc1ac]:hover{background-color:#eee}.app-container ul .app-container_title .app-container_tool[data-v-5f7dc1ac]{display:flex;flex-wrap:wrap;align-items:center}.app-container ul .app-container_title .app-container_tool .app-container_configure[data-v-5f7dc1ac]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-5f7dc1ac]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:1var --item_btn-border;border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container ul .app-container_title .app-container_tool .more_icon[data-v-5f7dc1ac] svg path{fill:var(--item_btn-color)}.app-container ul .disk_loading_icon[data-v-5f7dc1ac]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.app-container ul .disk_loading_icon .disk_loading_info[data-v-5f7dc1ac]{margin-top:5px}.refresh[data-v-5f7dc1ac]{margin-left:20px}.app-container_info[data-v-5f7dc1ac]{font-size:14px;font-weight:700;height:31px;line-height:52px}.app-container_body[data-v-5f7dc1ac]{width:100%;height:100%}.menu_background[data-v-5f7dc1ac]{position:fixed;inset:0}@keyframes bganimation-ba3ddae2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-ba3ddae2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-ba3ddae2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-ba3ddae2]{animation:rotateEnter-ba3ddae2 .7s;position:relative}.rotate-leave-active[data-v-ba3ddae2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-ba3ddae2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.sambas-item[data-v-ba3ddae2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.sambas-item .sambas-item_name[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.sambas-item .sambas-item_value[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item[data-v-ba3ddae2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}.app-container_samba li.samba-item .samba-item_name[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_samba li.samba-item .samba-item_value[data-v-ba3ddae2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-container_samba li.samba-item .samba-item_value button[data-v-ba3ddae2]{background:none;border:none;width:100%;text-align:right;color:#297ff3;cursor:pointer}.app-container_samba li.samba-item .samba-item_value button[data-v-ba3ddae2]:hover{opacity:.7}.tit[data-v-ba3ddae2]{color:var(--tit-color);font-weight:700;font-size:16px}@keyframes bganimation-2bc5f580{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2bc5f580{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2bc5f580{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2bc5f580]{animation:rotateEnter-2bc5f580 .7s;position:relative}.rotate-leave-active[data-v-2bc5f580]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2bc5f580]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.webdav-item[data-v-2bc5f580]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.webdav-item .webdav-item_name[data-v-2bc5f580]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.webdav-item .webdav-item_value[data-v-2bc5f580]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes bganimation-7732abe2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7732abe2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7732abe2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7732abe2]{animation:rotateEnter-7732abe2 .7s;position:relative}.rotate-leave-active[data-v-7732abe2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7732abe2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}ul.disk-item[data-v-7732abe2]{width:100%;margin-bottom:10px}ul.disk-item .auto[data-v-7732abe2]{flex:auto}ul.disk-item .disk-item_icon[data-v-7732abe2]{width:24px;height:24px;margin-right:.5rem}ul.disk-item .disk-item_icon svg[data-v-7732abe2]{width:100%;height:100%}ul.disk-item li.disk-info[data-v-7732abe2]{display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding:5px 1rem;height:50px;cursor:pointer;color:#666;font-size:12px;border-left:3px solid #89897f}ul.disk-item li.disk-info[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item li.disk-info .disk-item_icon svg path[data-v-7732abe2]{fill:#09aaff}ul.disk-item li.disk-info .disk-item_f[data-v-7732abe2]{display:flex;flex-wrap:wrap}ul.disk-item li.disk-info .disk-item_f .disk-item_venderModel[data-v-7732abe2],ul.disk-item li.disk-info .disk-item_f .disk-item_used[data-v-7732abe2]{width:100%}ul.disk-item li.disk-info.on[data-v-7732abe2]{border-left:3px solid #ff9c08}ul.disk-item li.disk-info.on.nopoint[data-v-7732abe2]{background-color:#ecf5ff}ul.disk-item .disk-children[data-v-7732abe2]{width:100%;color:#666}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]{width:100%;height:40px;line-height:40px;padding-left:2rem;font-size:12px;cursor:pointer;display:flex;flex-wrap:nowrap;align-items:center;border-left:3px solid #89897f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.disk-item .disk-children li.disk-children_item[data-v-7732abe2]:hover{background-color:#ecf5ff}ul.disk-item .disk-children li.disk-children_item span[data-v-7732abe2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}ul.disk-item .disk-children li.disk-children_item.on.on[data-v-7732abe2]{border-left:3px solid #ff9c08;background-color:#ecf5ff}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action .action-footer button[data-v-0d1b6ac8]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.list[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.list .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.list .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.list .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 176px)}.action.list .action-msg[data-v-0d1b6ac8]{width:100%;height:36px;line-height:36px;text-align:center}.action.list .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.list .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.list .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.format[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.format .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.format .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.format .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.format .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action.format .action-footer .auto[data-v-0d1b6ac8]{flex:auto}.action.format .disk-list[data-v-0d1b6ac8]{width:100%;height:100%;border:1px solid #dfe1e5;overflow:auto}.action.format .label-item[data-v-0d1b6ac8]{width:100%;margin:1rem 0}.action.format .label-item .label-item_key[data-v-0d1b6ac8]{width:100%;font-size:16px;color:#666}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action.format .label-item .label-item_key span[data-v-0d1b6ac8]:before{content:"*";color:#f56c6c;margin-right:4px}.action.format .label-item .label-item_value[data-v-0d1b6ac8]{width:100%;margin-top:5px}.action.format .label-item .label-item_value select[data-v-0d1b6ac8],.action.format .label-item .label-item_value input[data-v-0d1b6ac8]{width:100%;height:36px}.action.format .auto[data-v-0d1b6ac8]{flex:auto}.action.format p.msg[data-v-0d1b6ac8]{margin:.5rem 0;color:red}.action.format .disk-info[data-v-0d1b6ac8]{width:100%;text-align:center}.action.format .disk-info .disk-info_icon[data-v-0d1b6ac8]{width:100px;height:100px;margin:0 auto}.action.format .disk-info .disk-info_icon svg[data-v-0d1b6ac8]{width:100%;height:100%}.action.format .disk-info .disk-info_mount-name[data-v-0d1b6ac8]{margin:1rem 0;font-size:1.5em;color:#333}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action.result[data-v-0d1b6ac8]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action.result .action-header[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px}.action.result .action-header .action-header_title[data-v-0d1b6ac8]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action.result .action-body[data-v-0d1b6ac8]{width:100%;height:calc(100% - 140px);overflow:auto}.action.result .action-body .format-result[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:2em;color:#333;margin:1rem 0}.action.result .action-body .format-info[data-v-0d1b6ac8]{width:100%;text-align:center;font-size:1.3em}.action.result .action-body .format-info a[data-v-0d1b6ac8]{color:#f70324}.action.result .action-footer[data-v-0d1b6ac8]{width:100%;height:70px;line-height:70px;color:#333}.action.result .auto[data-v-0d1b6ac8]{flex:auto}@keyframes bganimation-0d1b6ac8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0d1b6ac8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0d1b6ac8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0d1b6ac8]{animation:rotateEnter-0d1b6ac8 .7s;position:relative}.rotate-leave-active[data-v-0d1b6ac8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0d1b6ac8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.list[data-v-0d1b6ac8]{width:136%}}@media screen and (max-width: 900px){.action.list[data-v-0d1b6ac8]{width:126%}}@media screen and (max-width: 800px){.action.list[data-v-0d1b6ac8]{width:112%}}@media screen and (max-width: 700px){.action.list[data-v-0d1b6ac8]{width:100%}}@media screen and (max-width: 500px){.action.list[data-v-0d1b6ac8]{width:80%}}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-5f6e53be]{width:700px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action .action-body[data-v-5f6e53be]{width:100%;text-align:center;padding:3rem 0}.action .action-body h2.title[data-v-5f6e53be]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action .action-body .info[data-v-5f6e53be]{color:#666;font-size:1.3em;margin:1rem 0}.action .action-body .btns[data-v-5f6e53be]{width:100%;margin-top:3rem}.action .action-body .btns button[data-v-5f6e53be]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5f6e53be{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5f6e53be{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5f6e53be{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5f6e53be]{animation:rotateEnter-5f6e53be .7s;position:relative}.rotate-leave-active[data-v-5f6e53be]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5f6e53be]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1000px){.action.format .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 900px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 800px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 700px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@media screen and (max-width: 500px){.action .action-body h2.title[data-v-5f6e53be]{font-size:20px}}@keyframes bganimation-2eafa10c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2eafa10c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2eafa10c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2eafa10c]{animation:rotateEnter-2eafa10c .7s;position:relative}.rotate-leave-active[data-v-2eafa10c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2eafa10c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-2eafa10c]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-2eafa10c]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-2eafa10c]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-2eafa10c]{width:100%;height:calc(100% - 140px);overflow:auto}.action .action-body .label-item[data-v-2eafa10c]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-2eafa10c]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-2eafa10c]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-2eafa10c]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-2eafa10c],.action .action-body .label-item .label-item_value input[data-v-2eafa10c]{width:100%;height:36px}.action .action-footer[data-v-2eafa10c]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center}.action .action-footer .auto[data-v-2eafa10c]{flex:auto}.action .action-footer button[data-v-2eafa10c]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-58844394{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-58844394{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-58844394{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-58844394]{animation:rotateEnter-58844394 .7s;position:relative}.rotate-leave-active[data-v-58844394]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-58844394]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-58844394]{width:700px;height:560px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:0 25px;border:1px solid #dfdfdf;border-radius:4px;background:#fff;box-shadow:0 1px 4px #0000004d}.action .action-header[data-v-58844394]{width:100%;height:70px;line-height:70px}.action .action-header .action-header_title[data-v-58844394]{margin:0;color:#333;font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-moz-user-select:none;-webkit-user-select:none;user-select:none;font-size:20px}.action .action-body[data-v-58844394]{width:100%;height:calc(100% - 140px)}.action .action-body .label-item[data-v-58844394]{width:100%;margin:1rem 0}.action .action-body .label-item .label-item_key[data-v-58844394]{width:100%;font-size:12px;color:#666}.action .action-body .label-item .label-item_key span[data-v-58844394]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action .action-body .label-item .label-item_key span[data-v-58844394]:before{content:"*";color:#f56c6c;margin-right:4px}.action .action-body .label-item .label-item_value[data-v-58844394]{width:100%;margin-top:5px}.action .action-body .label-item .label-item_value select[data-v-58844394],.action .action-body .label-item .label-item_value input[data-v-58844394]{width:100%;height:36px}.action .action-body .samba-item[data-v-58844394]{margin-top:-18px;font-size:12px}.action .action-body .samba-item .samba-item_allow[data-v-58844394]{display:flex;align-items:flex-end}.action .action-body .samba-item .samba-item_allow .samba-allow[data-v-58844394]{padding-left:10px;cursor:pointer}.action .action-body .samba-item .samba-item_tips[data-v-58844394]{margin-top:10px}.action .action-body .samba-item .samba-item_tips .tooltip-trigger[data-v-58844394]{display:flex}.action .action-body .samba-item .samba-item_tips .samba_dir_tip[data-v-58844394]{margin-left:10px}.action .action-footer[data-v-58844394]{width:100%;height:70px;line-height:70px;color:#333;display:flex;flex-wrap:wrap;align-items:center;padding-bottom:30px}.action .action-footer .auto[data-v-58844394]{flex:auto}.action .action-footer button[data-v-58844394]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-1d64dea6]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-1d64dea6]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0;text-align:center}.action h3.desc[data-v-1d64dea6]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:1rem 0;text-align:center}.action form[data-v-1d64dea6]{width:100%;display:block;padding:2rem 0}.action form label[data-v-1d64dea6]{width:100%;display:block;margin:1rem 0}.action form label input[data-v-1d64dea6],.action form label select[data-v-1d64dea6]{width:100%;display:block;height:42px}.action .btns[data-v-1d64dea6]{width:100%;margin-top:3rem}.action .btns button[data-v-1d64dea6]{display:block;width:100%!important;margin:.5rem 0}.action li.disk-item[data-v-1d64dea6]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%;padding:5px 1rem;border-bottom:1px solid #eee;cursor:pointer}.action li.disk-item[data-v-1d64dea6]:hover{background-color:#eee}.action li.disk-item .disk-item_f[data-v-1d64dea6]{display:flex;flex-wrap:wrap}.action li.disk-item .disk-item_f .disk-item_venderModel[data-v-1d64dea6],.action li.disk-item .disk-item_f .disk-item_used[data-v-1d64dea6]{width:100%}.action .tips[data-v-1d64dea6]{float:right;font-size:.8em}@keyframes bganimation-1d64dea6{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1d64dea6{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1d64dea6{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1d64dea6]{animation:rotateEnter-1d64dea6 .7s;position:relative}.rotate-leave-active[data-v-1d64dea6]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1d64dea6]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action h2.title[data-v-1d64dea6]{font-size:2em}}@keyframes bganimation-55d1fac2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-55d1fac2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-55d1fac2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-55d1fac2]{animation:rotateEnter-55d1fac2 .7s;position:relative}.rotate-leave-active[data-v-55d1fac2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-55d1fac2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.linkease-item[data-v-55d1fac2]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.linkease-item .linkease-item_name[data-v-55d1fac2]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.linkease-item .linkease-item_value[data-v-55d1fac2]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.linkease-item .linkease-item_value .configure[data-v-55d1fac2]{color:#297ff3;padding:3px}li.linkease-item .linkease-item_value .configure.enabel[data-v-55d1fac2]{cursor:pointer}a[data-v-55d1fac2]{text-decoration:none;color:#297ff3}@keyframes bganimation-1e1fa308{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1e1fa308{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1e1fa308{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1e1fa308]{animation:rotateEnter-1e1fa308 .7s;position:relative}.rotate-leave-active[data-v-1e1fa308]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1e1fa308]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1e1fa308]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-1e1fa308]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1e1fa308]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1e1fa308]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e1fa308]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1e1fa308] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1e1fa308]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1e1fa308]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1e1fa308]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1e1fa308]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1e1fa308]:hover{background-color:#eee}.app-container .app-container_title button[data-v-1e1fa308]{margin-left:10px}.app-container .app-container_body[data-v-1e1fa308]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-1e1fa308]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-1e1fa308]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-1e1fa308],.app-container ul.app-container_nas-menu button[data-v-1e1fa308]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-1e1fa308]{position:fixed;inset:0}@keyframes bganimation-3b1e9470{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3b1e9470{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3b1e9470{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3b1e9470]{animation:rotateEnter-3b1e9470 .7s;position:relative}.rotate-leave-active[data-v-3b1e9470]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3b1e9470]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.docker-item[data-v-3b1e9470]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0}li.docker-item .docker-item_name[data-v-3b1e9470]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.docker-item .docker-item_value[data-v-3b1e9470]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex}li.docker-item .docker-item_value .configure[data-v-3b1e9470]{color:#297ff3;overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_value .configure.enabel[data-v-3b1e9470]{color:#888;overflow-x:hidden;text-overflow:ellipsis}li.docker-item .docker-item_root[data-v-3b1e9470]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.docker_tip svg[data-v-3b1e9470]{vertical-align:bottom;margin-left:22px}.tooltip-trigger[data-v-3b1e9470]{position:relative;display:inline-block;cursor:help;margin-right:6px}.tooltip-trigger .tooltip-text[data-v-3b1e9470]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.tooltip-trigger .tooltip-text span[data-v-3b1e9470]{color:#fff}.tooltip-trigger .tooltip-text .docker_dir_tip[data-v-3b1e9470]{min-width:15rem;display:inline-block}.tooltip-trigger:hover .tooltip-text[data-v-3b1e9470]{visibility:visible;opacity:1}.tooltip-top[data-v-3b1e9470]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.tooltip-right[data-v-3b1e9470]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.tooltip-left[data-v-3b1e9470]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.tooltip-top[data-v-3b1e9470]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.tooltip-bottom[data-v-3b1e9470]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.input-switch[data-v-3b1e9470]{display:inline-block;cursor:pointer;position:relative}.input-switch span[data-v-3b1e9470]{display:block;position:relative;width:50px;height:20px;border-radius:10px;padding:2px}.input-switch span em[data-v-3b1e9470]{display:block;width:16px;height:16px;background-color:#fff;border-radius:10px}.input-switch span.enable[data-v-3b1e9470]{background-color:#297ff3;transition:.3s}.input-switch span.enable em[data-v-3b1e9470]{transform:translate(30px);transition:.3s}.input-switch span.close[data-v-3b1e9470]{background-color:#cecece;transition:.3s}.input-switch span.close em[data-v-3b1e9470]{transform:translate(0);transition:.3s}@keyframes bganimation-919e529c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-919e529c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-919e529c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-919e529c]{animation:rotateEnter-919e529c .7s;position:relative}.rotate-leave-active[data-v-919e529c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-919e529c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-919e529c]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;overflow:auto;padding:1rem 87px;border-radius:6px}.action h2.title[data-v-919e529c]{width:100%;display:block;color:#1e1e1e;font-size:22px;padding:0;margin:0;text-align:center}.action .roots[data-v-919e529c]{display:flex;max-width:342px;align-items:center;margin-top:32px;margin-bottom:16px}.action .roots .root[data-v-919e529c]{color:#000000d4;font-size:14px;text-align:center}.action .move[data-v-919e529c]{display:flex;justify-content:left;align-items:center}.action .change[data-v-919e529c]{width:678px}.action .desc[data-v-919e529c]{width:100%;display:block;font-size:1.2em;padding:0;margin:1rem 0;margin-top:32px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4}.action form[data-v-919e529c]{width:100%;display:block}.action .tips[data-v-919e529c]{width:477px}.action .tips .tip[data-v-919e529c]{color:#faad14;padding-left:6px}.action .btns[data-v-919e529c]{width:100%;margin:104px auto 0}.action .btns button[data-v-919e529c]{display:block;width:100%!important;margin-left:0;margin-right:0}.action .roots_tit[data-v-919e529c]{color:#000000d4;font-size:14px;font-weight:700;width:118px;text-align:right;flex:none}.action .successed[data-v-919e529c]{text-align:center;font-size:14px}.action .finished[data-v-919e529c]{display:flex;justify-content:center;margin:80px 80px 28px}.action .docker_moves[data-v-919e529c]{text-align:center}.action .docker_moves .moves[data-v-919e529c]{margin-top:10px}.action .docker_moves .moves input[data-v-919e529c]{cursor:pointer}.action .docker_moves .moves label[data-v-919e529c]{margin-left:10px;cursor:pointer}.select-editable[data-v-919e529c]{position:relative;border:solid grey 1px;width:438px;height:34px}.select-editable select[data-v-919e529c]{position:absolute;top:0;left:0;font-size:14px;border:none;width:100%;height:100%;margin:0}.select-editable input[data-v-919e529c]{position:absolute;top:0;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-919e529c]:focus,.select-editable input[data-v-919e529c]:focus{outline:none}[data-v-919e529c]::placeholder{color:#999}@keyframes bganimation-919e529c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-919e529c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-919e529c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-919e529c]{animation:rotateEnter-919e529c .7s;position:relative}.rotate-leave-active[data-v-919e529c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-919e529c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action[data-v-919e529c]{width:100%}.docker_download[data-v-919e529c]{width:80%}}@keyframes bganimation-fcb97952{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-fcb97952{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-fcb97952{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-fcb97952]{animation:rotateEnter-fcb97952 .7s;position:relative}.rotate-leave-active[data-v-fcb97952]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-fcb97952]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-fcb97952]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container .app-container_title[data-v-fcb97952]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-fcb97952]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-fcb97952]{height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;justify-content:center;align-items:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-fcb97952]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-fcb97952] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-fcb97952]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-fcb97952]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-fcb97952]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-fcb97952]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-fcb97952]:hover{background-color:#eee}.app-container button[data-v-fcb97952],.app-container .refresh[data-v-fcb97952]{margin-left:20px}.app-container .app-container_body[data-v-fcb97952]{width:100%;height:100%}.app-container .loading_placeholder[data-v-fcb97952]{display:flex;flex-direction:column;align-items:center}.menu_background[data-v-fcb97952]{position:fixed;inset:0}@keyframes bganimation-40652d1d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-40652d1d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-40652d1d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-40652d1d]{animation:rotateEnter-40652d1d .7s;position:relative}.rotate-leave-active[data-v-40652d1d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-40652d1d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.aria2-item[data-v-40652d1d]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.aria2-item .aria2-item_name[data-v-40652d1d]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.aria2-item .aria2-item_value[data-v-40652d1d]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.aria2-item .aria2-item_value .configure[data-v-40652d1d]{color:#297ff3;padding:3px}li.aria2-item .aria2-item_value .configure.enabel[data-v-40652d1d]{color:#888}.use-url_app[data-v-40652d1d]{padding-bottom:14px}.use-url_app a[data-v-40652d1d]{text-decoration:none;color:#297ff3}@keyframes bganimation-96972a5a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-96972a5a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-96972a5a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-96972a5a]{animation:rotateEnter-96972a5a .7s;position:relative}.rotate-leave-active[data-v-96972a5a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-96972a5a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.qbittorrent-item[data-v-96972a5a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.qbittorrent-item .qbittorrent-item_name[data-v-96972a5a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.qbittorrent-item .qbittorrent-item_value[data-v-96972a5a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.qbittorrent-item .qbittorrent-item_value .configure[data-v-96972a5a]{color:#297ff3;padding:3px}li.qbittorrent-item .qbittorrent-item_value .configure.enabel[data-v-96972a5a]{color:#888}a[data-v-96972a5a]{text-decoration:none;color:#297ff3}@keyframes bganimation-05c8d77a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05c8d77a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05c8d77a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05c8d77a]{animation:rotateEnter-05c8d77a .7s;position:relative}.rotate-leave-active[data-v-05c8d77a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05c8d77a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}li.transmission-item[data-v-05c8d77a]{width:100%;display:flex;flex-wrap:wrap;margin:1rem 0}li.transmission-item .transmission-item_name[data-v-05c8d77a]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}li.transmission-item .transmission-item_value[data-v-05c8d77a]{flex:0 0 100%;max-width:50%;padding-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}li.transmission-item .transmission-item_value .configure[data-v-05c8d77a]{color:#297ff3;padding:3px}li.transmission-item .transmission-item_value .configure.enabel[data-v-05c8d77a]{color:#888}a[data-v-05c8d77a]{text-decoration:none;color:#297ff3}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-7b328460]{width:860px;max-height:90%;background-color:#fff;position:relative;z-index:1000;margin:auto;padding:1rem 87px;border-radius:6px}.action p[data-v-7b328460]{color:#999;font-size:14px}.action input[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC}.action h2.title[data-v-7b328460]{width:100%;color:#1e1e1e;font-size:22px;font-family:PingFangSC-Medium,PingFang SC;padding:0;margin:0;text-align:center}.action span[data-v-7b328460]{font-size:14px;font-family:PingFangSC-Medium,PingFang SC;color:#000000d4;font-weight:700}.action form label[data-v-7b328460]{width:100%}.action form label input[data-v-7b328460],.action form label select[data-v-7b328460]{height:100%;font-size:14px}.action .myinput_wrap[data-v-7b328460],.action .RPC_input[data-v-7b328460]{width:85%}.action .myinput_wrap textarea[data-v-7b328460]{width:100%;padding:2px 3px;border:1px solid #dee2e6;border-radius:.25rem}.action .input_row[data-v-7b328460]{margin:16px 0;display:flex;justify-content:left;align-items:center}.action .input_row .radios[data-v-7b328460]{margin-right:10px}.action .input_row .radios input[data-v-7b328460],.action .input_row .radios label[data-v-7b328460]{cursor:pointer}.action .Tracker label[data-v-7b328460]{margin-right:10px;cursor:pointer}.action .Tracker_input[data-v-7b328460]{padding:6px 2px}.action .btns[data-v-7b328460]{width:100%;margin:42px auto 0}.action .btns button[data-v-7b328460]{display:block;width:100%!important;margin:.5rem 0}.action .tooltip-trigger[data-v-7b328460]{position:relative;display:inline-block;cursor:help;margin-right:6px}.action .tooltip-trigger .tooltip-text[data-v-7b328460]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.action .tooltip-trigger .tooltip-text span[data-v-7b328460]{color:#fff}.action .tooltip-trigger .tooltip-text .dowload_dir_tip[data-v-7b328460]{min-width:14rem;display:inline-block}.action .tooltip-trigger:hover .tooltip-text[data-v-7b328460]{visibility:visible;opacity:1}.action .tooltip-top[data-v-7b328460]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%)}.action .tooltip-bottom[data-v-7b328460]{top:100%;left:50%;margin-top:5px;transform:translate(-50%)}.action .tooltip-bottom .dowload_rpc_tip[data-v-7b328460]{min-width:10rem;display:inline-block}.action .tooltip-right[data-v-7b328460]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.action .tooltip-left[data-v-7b328460]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.action .tooltip-top[data-v-7b328460]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.action .tooltip-bottom[data-v-7b328460]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}.action .successed[data-v-7b328460]{text-align:center;font-size:14px}.action .finished[data-v-7b328460]{display:flex;justify-content:center;margin:80px 80px 28px}.left[data-v-7b328460]{display:flex;align-items:center;justify-content:flex-start;width:110px;flex:none}.select-editable[data-v-7b328460]{position:relative;border:1px solid #dee2e6;border-radius:.25rem;margin:.25rem .1rem}.select-editable select[data-v-7b328460]{top:0;left:0;font-size:14px;border:none;width:100%;margin:0}.select-editable input[data-v-7b328460]{position:absolute;top:-4px;left:0;width:95%;padding:1px;font-size:14px;border:none}.select-editable select[data-v-7b328460]:focus,.select-editable input[data-v-7b328460]:focus{outline:none}[data-v-7b328460]::placeholder{color:#999}@keyframes bganimation-7b328460{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7b328460{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7b328460{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7b328460]{animation:rotateEnter-7b328460 .7s;position:relative}.rotate-leave-active[data-v-7b328460]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7b328460]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 500px){.action[data-v-7b328460]{width:100%}.action .input_row[data-v-7b328460]{display:block}.action .input_row .myinput_wrap[data-v-7b328460],.action .input_row .RPC_input[data-v-7b328460]{width:100%}}@keyframes bganimation-602f6713{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-602f6713{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-602f6713{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-602f6713]{animation:rotateEnter-602f6713 .7s;position:relative}.rotate-leave-active[data-v-602f6713]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-602f6713]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-602f6713]{position:relative;display:flex;flex-wrap:wrap;width:100%;height:100%;align-content:flex-start}.app-container .app-container_title[data-v-602f6713]{width:100%;display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-602f6713]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-602f6713]{height:30px;line-height:30px;border-radius:4px 0 0 4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-602f6713]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-602f6713] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-602f6713]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-602f6713]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:15px;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-602f6713]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-602f6713]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-602f6713]:hover{background-color:#eee}.app-container .app-container_title button[data-v-602f6713]{margin-left:10px}.app-container .app-container_body[data-v-602f6713]{flex:0 0 100%;width:100%;height:66%}.app-container ul.app-container_nas-menu[data-v-602f6713]{width:100%;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;margin-top:20px}.app-container ul.app-container_nas-menu button[data-v-602f6713]{flex:0 0 100%!important;max-width:33.333%!important;height:30px;background:none;border:none!important;background-color:#eee;color:#333;cursor:pointer;margin:0!important;padding:5px 0!important;border-radius:0!important;line-height:20px;font-size:16px}.app-container ul.app-container_nas-menu button.on[data-v-602f6713],.app-container ul.app-container_nas-menu button[data-v-602f6713]:hover{color:#297ff3;background-color:#d1e2f9}.menu_background[data-v-602f6713]{position:fixed;inset:0}@keyframes bganimation-46dd945e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-46dd945e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-46dd945e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-46dd945e]{animation:rotateEnter-46dd945e .7s;position:relative}.rotate-leave-active[data-v-46dd945e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-46dd945e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}h3[data-v-46dd945e]{text-align:center;margin-bottom:20px}.label-item[data-v-46dd945e]{display:flex;align-items:center;flex-wrap:wrap;margin:1rem 0;padding:0 30px}.label-item label[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center;width:100%;height:26px;line-height:26px;cursor:pointer}.label-item label input[type=radio][data-v-46dd945e]{top:0;right:0;vertical-align:middle}.label-item label span[data-v-46dd945e]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#000000d4;display:inline-block;margin-left:10px}.label-item p.label_info[data-v-46dd945e]{color:#999;font-size:12px;padding-left:24px;line-height:20px}.label-item .label-item_key[data-v-46dd945e]{display:flex;flex-wrap:wrap;align-items:center}.label-item .label-item_key .ddnsto_serve[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between;margin-bottom:14px}.label-item .label-item_key .ddnsto_serve_item[data-v-46dd945e]{flex:0 0 100%;display:flex;justify-content:space-between}@keyframes bganimation-b760733a{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b760733a{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b760733a{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b760733a]{animation:rotateEnter-b760733a .7s;position:relative}.rotate-leave-active[data-v-b760733a]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b760733a]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-b760733a]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-b760733a]{width:100px;height:100px}.actioner-container_body .body-title[data-v-b760733a]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-tips[data-v-b760733a]{text-align:center}.actioner-container_body .body-info[data-v-b760733a]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body .body-tips[data-v-b760733a]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-b760733a]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-b760733a]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-064efd50{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-064efd50{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-064efd50{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-064efd50]{animation:rotateEnter-064efd50 .7s;position:relative}.rotate-leave-active[data-v-064efd50]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-064efd50]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-064efd50]{width:100%;height:100%;border:none}@keyframes bganimation-49c43a08{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-49c43a08{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-49c43a08{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-49c43a08]{animation:rotateEnter-49c43a08 .7s;position:relative}.rotate-leave-active[data-v-49c43a08]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-49c43a08]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}iframe[data-v-49c43a08]{width:100%;height:100%;border:none}@keyframes bganimation-27f65f12{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-27f65f12{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-27f65f12{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-27f65f12]{animation:rotateEnter-27f65f12 .7s;position:relative}.rotate-leave-active[data-v-27f65f12]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-27f65f12]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-27f65f12]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body svg.icon[data-v-27f65f12]{width:100px;height:100px}.actioner-container_body .body-title[data-v-27f65f12]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body .body-info[data-v-27f65f12]{color:#666;font-size:1.3em;margin:1rem 0;width:100%}.actioner-container_body .body-tips[data-v-27f65f12]{margin:1rem 0;display:block;width:100%}.actioner-container_body .body-btns[data-v-27f65f12]{width:100%;margin-top:3rem}.actioner-container_body .body-btns button[data-v-27f65f12]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-210c03e8{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-210c03e8{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-210c03e8{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-210c03e8]{animation:rotateEnter-210c03e8 .7s;position:relative}.rotate-leave-active[data-v-210c03e8]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-210c03e8]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-210c03e8]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-1b21487b{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1b21487b{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1b21487b{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1b21487b]{animation:rotateEnter-1b21487b .7s;position:relative}.rotate-leave-active[data-v-1b21487b]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1b21487b]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-container_body[data-v-1b21487b]{display:flex;align-items:center;justify-content:center}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-7a6bd385]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-7a6bd385] .actioner-container{width:100%}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;color:#0060ff;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-7a6bd385] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body{padding:1rem;text-align:center;width:100%;height:400px}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-7a6bd385] .actioner-container .actioner-container_body.ddnsto-bind{height:280px}@keyframes bganimation-7a6bd385{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7a6bd385{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7a6bd385{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7a6bd385]{animation:rotateEnter-7a6bd385 .7s;position:relative}.rotate-leave-active[data-v-7a6bd385]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7a6bd385]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-7a6bd385]{width:90%}}@keyframes bganimation-05611967{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-05611967{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-05611967{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-05611967]{animation:rotateEnter-05611967 .7s;position:relative}.rotate-leave-active[data-v-05611967]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-05611967]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action[data-v-05611967]{width:500px;max-height:90%;background-color:#fff;position:relative;z-index:99999;margin:auto;border-radius:4px;padding:10px 0}.action .action-header[data-v-05611967]{width:100%;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;padding-left:1rem;padding-right:1rem;text-align:left;font-size:18px;line-height:1;color:#303133}.action .action-body[data-v-05611967]{display:block;margin:2rem 0;line-height:24px;padding:0 15px;color:#606266;font-size:14px}.action .action-footer[data-v-05611967]{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action .next[data-v-05611967]{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:120px;height:32px;background:#553AFE;border-radius:2px}.action .next[data-v-05611967]:hover{opacity:.8}.action .clear[data-v-05611967]{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action .clear[data-v-05611967]:hover{opacity:.8}@keyframes bganimation-6e29e960{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6e29e960{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6e29e960{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6e29e960]{animation:rotateEnter-6e29e960 .7s;position:relative}.rotate-leave-active[data-v-6e29e960]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6e29e960]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.title_info[data-v-6e29e960]{display:block;width:100%;text-align:center}.title_info p[data-v-6e29e960]{font-size:20px;margin-bottom:10px}.label-item[data-v-6e29e960]{width:100%;margin:1rem 0}.label-item .label-item_key[data-v-6e29e960]{width:100%;font-size:12px;color:#666}.label-item .label-item_key span[data-v-6e29e960]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-6e29e960]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-6e29e960]{width:100%;margin-top:5px}.label-item .label-item_value select[data-v-6e29e960],.label-item .label-item_value input[data-v-6e29e960]{width:100%;height:36px;color:#000}.label-item .label-item_value input[data-v-6e29e960]::placeholder{color:#999;font-size:12PX}.label-item .label_tips[data-v-6e29e960]{display:flex;margin-top:6px}.label-item .label_tips .info[data-v-6e29e960]{margin-left:8px}.label-message[data-v-6e29e960]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6f1d92d9]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6f1d92d9] .actioner-container{width:100%}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body{padding:1rem;width:100%;height:400px}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body a{text-decoration:none}.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.ali,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.dnspod,.action-main[data-v-6f1d92d9] .actioner-container .actioner-container_body.oray{height:451px}@keyframes bganimation-6f1d92d9{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6f1d92d9{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6f1d92d9{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6f1d92d9]{animation:rotateEnter-6f1d92d9 .7s;position:relative}.rotate-leave-active[data-v-6f1d92d9]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6f1d92d9]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6f1d92d9]{width:90%}}@keyframes bganimation-1532b758{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-1532b758{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-1532b758{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-1532b758]{animation:rotateEnter-1532b758 .7s;position:relative}.rotate-leave-active[data-v-1532b758]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-1532b758]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container[data-v-1532b758]{position:relative;flex-wrap:wrap;width:100%;height:100%}.app-container a[data-v-1532b758]{text-decoration:none}.app-container .app-container_title[data-v-1532b758]{justify-content:space-between}.app-container .app-container_title .app-container_tool[data-v-1532b758]{display:flex;flex-wrap:wrap;align-items:center}.app-container .app-container_title .app-container_tool .app-container_configure[data-v-1532b758]{height:30px;border-radius:4px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:var(--item_btn-color);display:inline-block;padding:0 10px;border:var(--item_btn-border);cursor:pointer;display:flex;align-items:center;justify-content:center}.app-container .app-container_title .app-container_tool .more_icon[data-v-1532b758]{border-radius:0 4px 4px 0;border-right:var(--item_btn-border);border-top:var(--item_btn-border);border-bottom:var(--item_btn-border);height:30px;display:inline-block;cursor:pointer}.app-container .app-container_title .app-container_tool .more_icon[data-v-1532b758] svg path{fill:var(--item_btn-color)}.app-container .app-container_title .DeviceBlock[data-v-1532b758]{font-size:14px;top:34px;position:absolute;z-index:999;width:40%;right:22px}.app-container .app-container_title .DeviceBlock ul[data-v-1532b758]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container .app-container_title .DeviceBlock ul li[data-v-1532b758]{margin:6px 0;line-height:28px;cursor:pointer}.app-container .app-container_title .DeviceBlock ul li a[data-v-1532b758]{color:#1e1e1e;text-decoration:none;cursor:pointer;margin:0 20px;display:block}.app-container .app-container_title .DeviceBlock ul li[data-v-1532b758]:hover{background-color:#eee}.app-container button[data-v-1532b758],.app-container .refresh[data-v-1532b758]{margin-left:20px}.app-container .app-container_body[data-v-1532b758]{width:100%;height:100%}.menu_background[data-v-1532b758]{position:fixed;inset:0}.app-container_domain li.domain-item[data-v-1532b758]{width:100%;display:flex;flex-wrap:wrap;margin:1.5rem 0;align-items:center}.app-container_domain li.domain-item .domain-item_name[data-v-1532b758]{flex:0 0 100%;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:10px}.app-container_domain li.domain-item .domain-item_value[data-v-1532b758]{flex:0 0 100%;max-width:50%;padding-left:10px;float:left;display:flex;align-items:center;justify-content:space-between}.app-container_domain li.domain-item .domain-item_value .configure[data-v-1532b758]{overflow:hidden;white-space:nowrap;padding:3px;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_value .item_btn[data-v-1532b758]{border:var(--item_btn-border);border-radius:4px;font-size:12px;padding:7px;color:var(--item_btn-color);text-align:center;min-width:60px}.app-container_domain li.domain-item .domain-item_value .configure.enabel[data-v-1532b758]{color:#888;overflow-x:hidden;text-overflow:ellipsis}.app-container_domain li.domain-item .domain-item_root[data-v-1532b758]{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:16px;max-width:323px;flex:0 0 100%}.app-container_domain .domain_tip svg[data-v-1532b758]{vertical-align:bottom;margin-left:22px}.app-container_domain .tooltip-trigger[data-v-1532b758]{position:relative;display:inline-block;cursor:help;margin-right:6px}.app-container_domain .tooltip-trigger .tooltip-text[data-v-1532b758]{visibility:hidden;position:absolute;padding:.5rem 1rem;background-color:#555;color:#fff;text-align:center;border-radius:6px;z-index:1;opacity:0;transition:opacity .6s}.app-container_domain .tooltip-trigger .tooltip-text span[data-v-1532b758]{color:#fff}.app-container_domain .tooltip-trigger .tooltip-text .domain_dir_tip[data-v-1532b758]{min-width:15rem;display:inline-block}.app-container_domain .tooltip-trigger:hover .tooltip-text[data-v-1532b758]{visibility:visible;opacity:1}.app-container_domain .tooltip-top[data-v-1532b758]{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%);margin-left:12px}.app-container_domain .tooltip-right[data-v-1532b758]{top:50%;left:100%;margin-left:5px;transform:translateY(-50%)}.app-container_domain .tooltip-left[data-v-1532b758]{top:50%;right:100%;margin-right:5px;transform:translateY(-50%)}.app-container_domain .tooltip-top[data-v-1532b758]:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent}.app-container_domain .tooltip-bottom[data-v-1532b758]:after{content:"";position:absolute;bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:transparent transparent #555 transparent}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nas-container[data-v-66cc4e33]{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 49%;max-width:49%;margin-bottom:1.5vw}@keyframes bganimation-66cc4e33{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-66cc4e33{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-66cc4e33{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-66cc4e33]{animation:rotateEnter-66cc4e33 .7s;position:relative}.rotate-leave-active[data-v-66cc4e33]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-66cc4e33]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 992px){.nas-container .nas-container_card[data-v-66cc4e33]{flex:0 0 100%;max-width:100%;padding-right:0;margin-bottom:.8rem}}@keyframes bganimation-b8dfe98c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-b8dfe98c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-b8dfe98c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-b8dfe98c]{animation:rotateEnter-b8dfe98c .7s;position:relative}.rotate-leave-active[data-v-b8dfe98c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-b8dfe98c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.app-container_title .more_icon[data-v-b8dfe98c]{position:absolute;right:22px;cursor:pointer}.app-container_title .DeviceBlock[data-v-b8dfe98c]{position:absolute;z-index:999;width:10%;right:22px;margin-top:14px}.app-container_title .DeviceBlock ul[data-v-b8dfe98c]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:0;right:0;text-align:center;position:absolute;word-break:keep-all}.app-container_title .DeviceBlock ul li[data-v-b8dfe98c]{margin:6px 0;line-height:28px;cursor:pointer}.app-container_title .DeviceBlock ul li a[data-v-b8dfe98c]{color:#1e1e1e;text-decoration:none;cursor:pointer;font-size:14px;margin:0 20px;display:block}.app-container_title .DeviceBlock ul li[data-v-b8dfe98c]:hover{background-color:#eee}.item-label[data-v-b8dfe98c]{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;width:100%;margin:1rem 0}.item-label .item-label_key[data-v-b8dfe98c]{flex:0 0 100%;max-width:100px;text-align:left}.item-label .item-label_key span[data-v-b8dfe98c]{font-size:14px;color:var(--item-label_key-span-color)}.item-label .item-label_value[data-v-b8dfe98c]{flex:1;text-align:left}.item-label .item-label_value span[data-v-b8dfe98c]{font-size:14px;color:var(--item-label_value-span-color)}.item-title span[data-v-b8dfe98c]{font-size:16px;font-weight:550;color:#555}.item-flex[data-v-b8dfe98c]{width:100%;display:flex;flex-wrap:wrap}.item-flex .auto[data-v-b8dfe98c]{flex:auto}.item-flex button.app-editor[data-v-b8dfe98c]{padding:8px 1.3rem}.menu_background[data-v-b8dfe98c]{position:fixed;inset:0}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-22104807]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-22104807]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-22104807]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-22104807]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-22104807]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-22104807]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-22104807],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-22104807]{width:100%;height:36px}.actioner-dns .actioner-dns_body .chose_dhcp[data-v-22104807]{height:1em;font-size:1.3em}.actioner-dns .actioner-dns_body .chose_dhcp .dhcp_info[data-v-22104807]{margin-left:10px;user-select:none}.actioner-dns .actioner-dns_body .label-message[data-v-22104807]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-22104807]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-22104807]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-22104807]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.setting_status[data-v-22104807]{text-align:center}.setting_status p[data-v-22104807]{margin:10px 0}.setting_status a[data-v-22104807]{text-align:center;display:block;text-decoration:none}.NewAdress[data-v-22104807]{margin-top:10px}@keyframes bganimation-22104807{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-22104807{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-22104807{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-22104807]{animation:rotateEnter-22104807 .7s;position:relative}.rotate-leave-active[data-v-22104807]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-22104807]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-22104807]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-22104807]{width:100%}}@keyframes bganimation-2b57eea5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b57eea5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b57eea5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b57eea5]{animation:rotateEnter-2b57eea5 .7s;position:relative}.rotate-leave-active[data-v-2b57eea5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b57eea5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-2b57eea5]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-2b57eea5]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-2b57eea5]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_roboot_tips[data-v-2b57eea5]{margin-top:24px;text-align:center}.actioner-dns .actioner-dns_body .disk_loading_icon[data-v-2b57eea5]{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;padding:10px}.actioner-dns .actioner-dns_body .disk_loading_icon .disk_loading_info[data-v-2b57eea5]{margin-top:5px}.actioner-dns .actioner-dns_body .disk_tips[data-v-2b57eea5]{text-align:center;font-size:16px;margin-top:159px;color:#f9ad1e}.actioner-dns .actioner-dns_body .disk_tips svg[data-v-2b57eea5]{vertical-align:middle}.actioner-dns .actioner-dns_body .disk_tips span[data-v-2b57eea5]{margin-left:6px}.actioner-dns .actioner-dns_body .sandbox_info[data-v-2b57eea5]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .label-item[data-v-2b57eea5]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:100%;font-size:12px;color:#666}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2b57eea5]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-2b57eea5]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-2b57eea5]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-2b57eea5],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-2b57eea5]{width:100%;height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-2b57eea5]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .actioner-dns_body .sandbox_tips svg[data-v-2b57eea5]{vertical-align:middle}.actioner-dns .actioner-dns_body .sandbox_tips span[data-v-2b57eea5]{font-size:12px;margin-left:4px}.actioner-dns .config-message[data-v-2b57eea5]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-2b57eea5]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-2b57eea5]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-2b57eea5]{margin-top:114px}.timeout span[data-v-2b57eea5],.sandbox_roboot_refresh[data-v-2b57eea5]{color:#5e72e4}option[data-v-2b57eea5]:disabled{background-color:#e0e0e0}@keyframes bganimation-2b57eea5{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-2b57eea5{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-2b57eea5{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-2b57eea5]{animation:rotateEnter-2b57eea5 .7s;position:relative}.rotate-leave-active[data-v-2b57eea5]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-2b57eea5]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-2b57eea5]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-2b57eea5]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-2b57eea5]{min-height:42vh}.actioner-tips[data-v-2b57eea5]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-2b57eea5]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-2b57eea5]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-2b57eea5]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_footer button[data-v-2b57eea5]{width:100%!important;margin-bottom:10px}.actioner-tips .sandbox_info[data-v-2b57eea5]{padding:3px 10px}}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-9573dc70]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_header span[data-v-9573dc70]{margin:0 auto}.actioner-dns .actioner-dns_body[data-v-9573dc70]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{text-align:center;line-height:22px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70]{font-size:16px;line-height:28px;margin:20px 0}.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:16px;line-height:28px}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_reboot[data-v-9573dc70]{color:#5e72e4}.actioner-dns .actioner-dns_body .sandbox_environment_info .sandbox_environment_tex[data-v-9573dc70]{color:red;font-size:.9em}.actioner-dns .actioner-dns_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.actioner-tips[data-v-9573dc70]{width:400px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-tips .actioner-tips_header[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:62px 54px;line-height:20px}.actioner-tips .actioner-tips_footer[data-v-9573dc70]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.timeout[data-v-9573dc70]{margin-top:114px}.timeout span[data-v-9573dc70]{color:#5e72e4}@keyframes bganimation-9573dc70{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-9573dc70{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-9573dc70{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-9573dc70]{animation:rotateEnter-9573dc70 .7s;position:relative}.rotate-leave-active[data-v-9573dc70]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-9573dc70]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 900px){.actioner-dns[data-v-9573dc70]{width:100%}}@media screen and (max-width: 700px){.actioner-dns .actioner-dns_body[data-v-9573dc70]{min-height:42vh}.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px}.actioner-tips[data-v-9573dc70]{width:80%;line-height:22px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:34px 10px;font-size:10px}.actioner-tips .actioner-tips_header[data-v-9573dc70]{font-size:20px}.actioner-tips .actioner-tips_footer button[data-v-9573dc70]{width:100%!important}}@media screen and (max-width: 600px){.actioner-dns .actioner-dns_footer button[data-v-9573dc70]{width:100%!important;margin-bottom:10px;margin-left:0}}@media screen and (max-width: 500px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:228px;overflow:hidden;text-overflow:ellipsis}}@media screen and (max-width: 400px){.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-9573dc70]{width:163px;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .sandbox_info[data-v-9573dc70]{font-size:10px}.actioner-dns .actioner-dns_body .sandbox_environment[data-v-9573dc70],.actioner-dns .actioner-dns_body .sandbox_environment_info[data-v-9573dc70]{font-size:12px}.actioner-tips .sandbox_info[data-v-9573dc70]{padding:3px 10px}}@keyframes bganimation-30c0acb2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-30c0acb2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-30c0acb2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-30c0acb2]{animation:rotateEnter-30c0acb2 .7s;position:relative}.rotate-leave-active[data-v-30c0acb2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-30c0acb2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.nav-container[data-v-30c0acb2]{width:100%;margin-bottom:8px}.nav-container .btn_styles[data-v-30c0acb2]{width:132px;height:52px;border-radius:8px;margin-right:8px}.nav-container .app-update-button-combind[data-v-30c0acb2]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;padding:0}.nav-container .app-update-button-combind .app-update-button[data-v-30c0acb2]{flex:auto;display:flex;align-items:center;height:100%}.nav-container .app-update-button-combind .app-update-button .app-update-button-text[data-v-30c0acb2]{flex:auto}.nav-container .app-update-button-combind .app-update-button .app-update-button-text i[data-v-30c0acb2]{display:inline-block;padding:3px;background-color:red;border-radius:50%}.nav-container .app-update-button-combind .app-update-button-more[data-v-30c0acb2]{display:inline-flex;width:28px;border-left:solid 1px;align-items:center;justify-content:center;flex-wrap:nowrap;height:100%}.nav-container .app-update-button-combind .app-update-button-more[data-v-30c0acb2] svg path{color:inherit!important;fill:currentColor}.nav-container .app-update-button-combind .app-update-button-menu[data-v-30c0acb2]{position:absolute;z-index:999;width:30%;right:0;top:100%}.nav-container .app-update-button-combind .app-update-button-menu ul[data-v-30c0acb2]{background-color:#fff;box-shadow:0 0 10px 1px #373f6924;padding:10px 0;border-radius:6px;top:8px;right:0;text-align:center;position:absolute;word-break:keep-all}.nav-container .app-update-button-combind .app-update-button-menu ul li[data-v-30c0acb2]{cursor:pointer;font-size:16px;line-height:1em;color:#1e1e1e;padding:0 5px;position:relative}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item[data-v-30c0acb2]{padding:5px 2px;white-space:nowrap}.nav-container .app-update-button-combind .app-update-button-menu ul li .app-update-menu-item-loading[data-v-30c0acb2]{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fffc}.nav-container .cover-buttob[data-v-30c0acb2]{margin-left:0;margin-right:5px}.nav-container a[data-v-30c0acb2]{padding:12px 1rem;margin-right:1rem;margin-bottom:1rem;display:inline-block;min-width:100px;text-align:center}.nav-container a[data-v-30c0acb2]:hover{box-shadow:0 0 10px 1px #c5c5c5;transition:.3s;transform:scale(1.1)}.nav-container .app-btn-ttyd[data-v-30c0acb2]:before{content:"\276f "}.nav-container .MoreMenu[data-v-30c0acb2]{cursor:pointer;color:#297ff3;margin-left:20px;font-size:16px;font-weight:600}.nav-container[data-v-30c0acb2]{display:flex;justify-content:start;align-items:center;flex-wrap:wrap;width:100%}.nav-container button[data-v-30c0acb2]{cursor:pointer;margin-bottom:10px}.nav-container button[data-v-30c0acb2]:hover{box-shadow:0 0 2px #0000001f,0 2px 2px #0003}.update[data-v-30c0acb2]{visibility:hidden}.color1[data-v-30c0acb2]{border:1px solid #553AFE;color:#533afe;background:rgba(85,58,254,.16)}.color2[data-v-30c0acb2]{background:#2b2b2b;border:#444;color:#fff}.color3[data-v-30c0acb2]{border:1px solid #FF6A67;background:rgba(255,107,103,.16);color:#ff6a67}.color4[data-v-30c0acb2]{border:1px solid #3688FF;background:rgba(51,134,255,.16);color:#3688ff}.color5[data-v-30c0acb2]{border:1px solid #FE3ACC;background:rgba(254,58,204,.16);color:#fe3acc}.menu_background[data-v-30c0acb2]{position:fixed;inset:0}@keyframes bganimation-82d61772{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-82d61772{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-82d61772{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-82d61772]{animation:rotateEnter-82d61772 .7s;position:relative}.rotate-leave-active[data-v-82d61772]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-82d61772]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}em[data-v-82d61772]{margin:.3125rem 0;width:100%;display:block;height:1px;background-color:#eeeeee2e}[data-v-82d61772] .app-container_title{width:100%;height:34px;display:flex;flex-wrap:wrap;align-items:center;color:var(--app-container_title-color);font-size:1.5em}[data-v-82d61772] .more_icon{z-index:0}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-52c03678]{width:100%;padding:1rem;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-content:center;max-width:800px;height:100vh;overflow:overlay}#page .title[data-v-52c03678]{width:100%;display:block;text-align:center;font-size:32px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#000c;line-height:45px}#page .desc[data-v-52c03678]{width:100%;display:block;font-size:24px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#0009;line-height:33px;text-align:center;margin-top:10px}#page div.info[data-v-52c03678]{width:100%;display:block;font-size:1.6em;font-size:16px;margin-left:34px}#page .network-containers[data-v-52c03678]{width:100%;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;margin:3rem 0 1rem}#page .network-containers .network-container_item[data-v-52c03678]{flex:0 0 100%;position:relative;border-radius:4px;padding:10px;cursor:pointer;max-width:240px;width:240px;height:308px}#page .network-containers .network-container_item a[data-v-52c03678]{position:relative;display:block;width:100%}#page .network-containers .network-container_item a .cover[data-v-52c03678]{position:relative;padding-top:130%;z-index:1}#page .network-containers .network-container_item a .cover .thumbnail[data-v-52c03678]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:8px;overflow:hidden;z-index:1;display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center;background-color:#2dc8fd}#page .network-containers .network-container_item a .cover .thumbnail i[data-v-52c03678]{display:block;font-size:100px;color:#eee}#page .network-containers .network-container_item a .cover .thumbnail span[data-v-52c03678]{display:block;text-align:center;width:100%;color:#eeee;font-size:2em;line-height:1.5;font-size:22px;font-family:PingFangSC-Semibold,PingFang SC;color:#fff;line-height:40px}#page .network-containers .network-container_item:nth-child(9n+1) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(138deg,#FF6E6B 0%,#FF6966 100%)}#page .network-containers .network-container_item:nth-child(9n+2) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#37D5A9 0%,#42D8B0 100%)}#page .network-containers .network-container_item:nth-child(9n+3) a .cover .thumbnail[data-v-52c03678]{background:linear-gradient(145deg,#549AFF 0%,#2C82FF 100%)}#page .network-containers .network-container_item:nth-child(9n+4) a .cover .thumbnail[data-v-52c03678]{background-color:#9b58de}#page .network-containers .network-container_item:nth-child(9n+5) a .cover .thumbnail[data-v-52c03678]{background-color:#297ff3}#page .network-containers .network-container_item:nth-child(9n+6) a .cover .thumbnail[data-v-52c03678]{background-color:#27aa8f}#page .network-containers .network-container_item:nth-child(9n+7) a .cover .thumbnail[data-v-52c03678]{background-color:#f15a4a}#page .network-containers .network-container_item:nth-child(9n+8) a .cover .thumbnail[data-v-52c03678]{background-color:#439c07}@keyframes bganimation-52c03678{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-52c03678{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-52c03678{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-52c03678]{animation:rotateEnter-52c03678 .7s;position:relative}.rotate-leave-active[data-v-52c03678]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-52c03678]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@keyframes bganimation-e187efe4{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e187efe4{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e187efe4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e187efe4]{animation:rotateEnter-e187efe4 .7s;position:relative}.rotate-leave-active[data-v-e187efe4]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e187efe4]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-e187efe4]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-e187efe4]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-e187efe4]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-e187efe4]{margin:.5rem 0}#page .network-message li[data-v-e187efe4]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-e187efe4]{color:red}#page .network-message li a[data-v-e187efe4]{color:#00f}#page form[data-v-e187efe4]{display:block;width:100%;margin:3rem 0}#page form label[data-v-e187efe4]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-e187efe4]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-e187efe4]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-e187efe4]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-e187efe4]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-e187efe4]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-e187efe4]{margin-left:10px;user-select:none}#page .msg[data-v-e187efe4]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page .btns[data-v-e187efe4]{width:100%;margin-top:3rem}#page .btns button[data-v-e187efe4]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-5eefd6ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-5eefd6ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-5eefd6ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-5eefd6ee]{animation:rotateEnter-5eefd6ee .7s;position:relative}.rotate-leave-active[data-v-5eefd6ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-5eefd6ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-5eefd6ee]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-5eefd6ee]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-5eefd6ee]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;margin:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page .network-message[data-v-5eefd6ee]{margin:.5rem 0}#page .network-message li[data-v-5eefd6ee]{margin:.5rem 0;font-size:20px;color:#000;font-weight:550}#page .network-message li span[data-v-5eefd6ee]{color:red}#page .network-message li a[data-v-5eefd6ee]{color:#00f}#page form[data-v-5eefd6ee]{display:block;width:100%;margin:3rem 0}#page form label[data-v-5eefd6ee]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-5eefd6ee]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-5eefd6ee]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-5eefd6ee]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-5eefd6ee],#page form label select[data-v-5eefd6ee]{width:100%;display:block;height:42px}#page .chose_dhcp[data-v-5eefd6ee]{height:1em;font-size:1.3em}#page .chose_dhcp .dhcp_info[data-v-5eefd6ee]{margin-left:10px;user-select:none}#page .msgs[data-v-5eefd6ee]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-5eefd6ee]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-5eefd6ee]{width:100%;margin-top:3rem}#page .btns button[data-v-5eefd6ee]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-3d6d1dea{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-3d6d1dea{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-3d6d1dea{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-3d6d1dea]{animation:rotateEnter-3d6d1dea .7s;position:relative}.rotate-leave-active[data-v-3d6d1dea]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-3d6d1dea]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page[data-v-3d6d1dea]{width:100%;padding:1rem;margin:100px auto 0;display:flex;flex-wrap:wrap;justify-content:flex-start;max-width:600px}#page h2.title[data-v-3d6d1dea]{width:100%;display:block;color:#1e1e1e;font-size:3em;padding:0;margin:0 0 10px;text-align:left;background-color:#f4f5f7;box-shadow:none}#page h3.desc[data-v-3d6d1dea]{width:100%;display:block;color:#666;font-size:1.2em;padding:0;text-align:left;background-color:#f4f5f7;box-shadow:none}#page code[data-v-3d6d1dea]{background-color:#eee;display:block;width:100%;font-size:1.3em;padding:1rem;line-height:2;margin:2rem 0}#page div.info[data-v-3d6d1dea]{width:100%;display:block;margin:1rem 0;font-size:1.3em;text-align:left}#page .msgs[data-v-3d6d1dea]{width:100%;display:block;height:36px;line-height:36px;color:red;font-size:1.3em}#page p.msg[data-v-3d6d1dea]{width:100%;display:block;color:red;font-size:1em}#page .btns[data-v-3d6d1dea]{width:100%;display:block;margin-top:3rem}#page .btns button[data-v-3d6d1dea]{display:block;width:100%!important;margin:.5rem 0}#page form[data-v-3d6d1dea]{display:block;width:100%;margin:3rem 0}#page form label[data-v-3d6d1dea]{display:block;width:100%;margin:1rem 0}#page form label .label-key[data-v-3d6d1dea]{display:block;width:100%;font-size:1.3em;margin-bottom:.5rem}#page form label .label-key span[data-v-3d6d1dea]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#page form label .label-key span[data-v-3d6d1dea]:before{content:"*";color:#f56c6c;margin-right:4px}#page form label input[data-v-3d6d1dea],#page form label select[data-v-3d6d1dea]{width:100%;display:block;height:42px}.switch_inline[data-v-3d6d1dea]{height:1em;font-size:1.3em}.switch_inline .switch_info[data-v-3d6d1dea]{margin-left:10px;user-select:none}@keyframes bganimation-7cf2dd18{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-7cf2dd18{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-7cf2dd18{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-7cf2dd18]{animation:rotateEnter-7cf2dd18 .7s;position:relative}.rotate-leave-active[data-v-7cf2dd18]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-7cf2dd18]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}p[data-v-7cf2dd18]{line-height:22px;font-size:14px}.label-item[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-7cf2dd18]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-7cf2dd18]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-7cf2dd18]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-7cf2dd18]{width:100%;margin:10px 0}.label-item .label-item_value select[data-v-7cf2dd18],.label-item .label-item_value input[data-v-7cf2dd18]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value input[data-v-7cf2dd18]::placeholder{color:#999;font-size:12PX}.label-item .label-item_value label[data-v-7cf2dd18]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=checkbox][data-v-7cf2dd18]{top:0}.label-item .label-item_tips[data-v-7cf2dd18]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-7cf2dd18]{vertical-align:top}span.msg-warning[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}.label-message[data-v-7cf2dd18]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-container_body.setup-loading[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-loading span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.2em;margin-top:1rem;color:#666}.actioner-container_body.setup-error[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;align-content:center;text-align:center}.actioner-container_body.setup-error svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-error span[data-v-7cf2dd18]{width:100%;display:block;font-size:1.4em;color:#ff6b6b}.actioner-container_body.setup-success[data-v-7cf2dd18]{display:flex;flex-wrap:wrap;align-items:center;align-content:center;justify-content:center}.actioner-container_body.setup-success svg.icon[data-v-7cf2dd18]{width:100px;height:100px}.actioner-container_body.setup-success .body-title[data-v-7cf2dd18]{width:100%;display:block;color:#1e1e1e;font-size:2em;padding:0;margin:1rem 0;text-align:center}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{text-align:center}.actioner-container_body.setup-success .body-info[data-v-7cf2dd18]{color:#666;font-size:1.3em;margin:1rem 0;width:100%;text-align:center}.actioner-container_body.setup-success .body-info span[data-v-7cf2dd18]{display:block}.actioner-container_body.setup-success .body-tips[data-v-7cf2dd18]{margin:1rem 0;display:block;width:100%}.actioner-container_body.setup-success .body-btns[data-v-7cf2dd18]{width:100%;margin-top:3rem}.actioner-container_body.setup-success .body-btns button[data-v-7cf2dd18]{display:block;width:100%!important;margin:.5rem 0}@keyframes bganimation-0ef06e27{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-0ef06e27{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-0ef06e27{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-0ef06e27]{animation:rotateEnter-0ef06e27 .7s;position:relative}.rotate-leave-active[data-v-0ef06e27]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-0ef06e27]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-0ef06e27]{display:block;width:100%;height:100%;border:none;resize:none}@keyframes bganimation-593445fb{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-593445fb{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-593445fb{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-593445fb]{animation:rotateEnter-593445fb .7s;position:relative}.rotate-leave-active[data-v-593445fb]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-593445fb]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-593445fb]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-593445fb]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-593445fb]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-593445fb]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-593445fb]{width:100%}.label-item .label-item_value select[data-v-593445fb]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-593445fb]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-593445fb]{top:0;margin:0}.label-item .label-item_tips[data-v-593445fb]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-593445fb]{vertical-align:top}span.msg-warning[data-v-593445fb]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-77aa4121{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-77aa4121{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-77aa4121{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-77aa4121]{animation:rotateEnter-77aa4121 .7s;position:relative}.rotate-leave-active[data-v-77aa4121]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-77aa4121]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-77aa4121]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-77aa4121]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-77aa4121]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-77aa4121]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-77aa4121]{width:100%}.label-item .label-item_value select[data-v-77aa4121]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-77aa4121]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-77aa4121]{top:0;margin:0}.label-item .label-item_tips[data-v-77aa4121]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-77aa4121]{vertical-align:top}span.msg-warning[data-v-77aa4121]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-a924400c{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-a924400c{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-a924400c{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-a924400c]{animation:rotateEnter-a924400c .7s;position:relative}.rotate-leave-active[data-v-a924400c]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-a924400c]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.label-item[data-v-a924400c]{width:100%;margin:10px 0}.label-item .label-item_key[data-v-a924400c]{width:100%;font-size:14px;color:#999;margin-bottom:6px}.label-item .label-item_key span[data-v-a924400c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label-item .label-item_key span[data-v-a924400c]:before{content:"*";color:#f56c6c;margin-right:4px}.label-item .label-item_value[data-v-a924400c]{width:100%}.label-item .label-item_value select[data-v-a924400c]{width:100%;height:36px;line-height:36px;color:#000}.label-item .label-item_value label[data-v-a924400c]{width:100%;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;margin:.5rem;border-bottom:1px solid #eee;padding-bottom:10px;font-size:14px;color:#666}.label-item .label-item_value label input[type=radio][data-v-a924400c]{top:0;margin:0}.label-item .label-item_tips[data-v-a924400c]{margin-top:10px;color:#666;font-size:14px}.label-item .label-item_tips svg[data-v-a924400c]{vertical-align:top}span.msg-warning[data-v-a924400c]{width:100%;text-align:left;font-size:14px;color:red;display:block;margin:10px 0}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-6ef94d02]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-6ef94d02] .actioner-container{width:100%}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:20px;border-bottom:1px solid #eee;justify-content:center;padding:0 10px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-6ef94d02] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-6ef94d02] .actioner-container .actioner-container_body{padding:20px;width:100%;height:400px}@keyframes bganimation-6ef94d02{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-6ef94d02{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-6ef94d02{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-6ef94d02]{animation:rotateEnter-6ef94d02 .7s;position:relative}.rotate-leave-active[data-v-6ef94d02]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-6ef94d02]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-6ef94d02]{width:90%}}@keyframes bganimation-e68d5bbe{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-e68d5bbe{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-e68d5bbe{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-e68d5bbe]{animation:rotateEnter-e68d5bbe .7s;position:relative}.rotate-leave-active[data-v-e68d5bbe]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-e68d5bbe]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.cbi-map-descr[data-v-e68d5bbe]{margin-bottom:32px}.item-status[data-v-e68d5bbe]{word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.item-status-detail[data-v-e68d5bbe]{text-decoration:underline;cursor:help}@keyframes bganimation-16dd0913{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-16dd0913{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-16dd0913{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-16dd0913]{animation:rotateEnter-16dd0913 .7s;position:relative}.rotate-leave-active[data-v-16dd0913]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-16dd0913]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}#page .cbi-map-descr[data-v-16dd0913]{margin-bottom:1rem}#page[data-v-16dd0913] .cbi-section{padding:1rem}#page[data-v-16dd0913] span.cbi-page-actions.control-group{width:100%;display:block}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.action-main[data-v-742230ae]{width:680px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.action-main[data-v-742230ae] .actioner-container{width:100%}.action-main[data-v-742230ae] .actioner-container .actioner-container_header{width:100%;height:50px;line-height:50px;display:flex;flex-wrap:wrap;align-items:center;font-size:16px;border-bottom:1px solid #eee;justify-content:flex-start;padding:0 1rem;color:#525f7f}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer{width:100%;height:50px;border-top:1px solid rgba(0,0,0,.06);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:0 30px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer button{display:inline-block;width:100px!important;margin:0;margin-left:1rem;padding:0;border:none}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close{min-width:65px;font-weight:400;line-height:30px;text-align:center;cursor:pointer;height:32px;border-radius:2px;border:1px solid rgba(0,0,0,.15);font-size:14px;font-family:PingFangSC-Regular,PingFang SC;color:#000000d4;line-height:32px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next{min-width:65px;line-height:32px;text-align:center;cursor:pointer;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;margin-left:20px;width:74px;height:32px;background:#553AFE;border-radius:2px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next.save{height:32px;background:#553AFE;border-radius:2px;line-height:16px}.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .next:hover,.action-main[data-v-742230ae] .actioner-container .actioner-container_footer .close:hover{opacity:.9}.action-main[data-v-742230ae] .actioner-container .actioner-container_body{padding:20px;width:100%;min-height:400px}.action-main[data-v-742230ae] .actioner-container .actioner-container_body label.cbi-value-title{width:150px!important}@keyframes bganimation-742230ae{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-742230ae{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-742230ae{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-742230ae]{animation:rotateEnter-742230ae .7s;position:relative}.rotate-leave-active[data-v-742230ae]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-742230ae]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 800px){.action-main[data-v-742230ae]{width:90%}}@keyframes bganimation-70c3aae0{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-70c3aae0{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-70c3aae0{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-70c3aae0]{animation:rotateEnter-70c3aae0 .7s;position:relative}.rotate-leave-active[data-v-70c3aae0]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-70c3aae0]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-70c3aae0]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-313197ee{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-313197ee{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-313197ee{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-313197ee]{animation:rotateEnter-313197ee .7s;position:relative}.rotate-leave-active[data-v-313197ee]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-313197ee]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-313197ee]{display:block;width:100%;height:400px;padding:1rem;font-size:14px;resize:none;border:none;background-color:#1e1e1e;color:#fff}@keyframes bganimation-76197cba{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-76197cba{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-76197cba{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-76197cba]{animation:rotateEnter-76197cba .7s;position:relative}.rotate-leave-active[data-v-76197cba]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-76197cba]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}textarea[data-v-76197cba]{display:block;width:100%;height:500px;padding:1rem;font-size:14px;resize:none;border:1px solid #999;border-radius:3px}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.actioner-dns[data-v-c88486ac]{width:860px;background-color:#fff;position:relative;z-index:99999;margin:auto;overflow:auto}.actioner-dns .actioner-dns_header[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;padding:1rem;font-size:2em;border-bottom:1px solid #eee}.actioner-dns .actioner-dns_body[data-v-c88486ac]{padding:1rem;min-height:50vh}.actioner-dns .actioner-dns_body .label-item[data-v-c88486ac]{width:100%;margin:1rem 0}.actioner-dns .actioner-dns_body .label-item .label-item_key[data-v-c88486ac]{width:100%;font-size:16px;color:#666;margin-bottom:10px}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.actioner-dns .actioner-dns_body .label-item .label-item_key span[data-v-c88486ac]:before{content:"*";color:#f56c6c;margin-right:4px}.actioner-dns .actioner-dns_body .label-item .label-item_value[data-v-c88486ac]{width:100%;margin-top:5px}.actioner-dns .actioner-dns_body .label-item .label-item_value select[data-v-c88486ac],.actioner-dns .actioner-dns_body .label-item .label-item_value input[data-v-c88486ac]{width:100%;min-height:36px}.actioner-dns .actioner-dns_body .label-message[data-v-c88486ac]{width:100%;text-align:left;font-size:14px;color:red;text-align:center}.actioner-dns .config-message[data-v-c88486ac]{width:100%;min-height:inherit;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:2em}.actioner-dns .actioner-dns_footer[data-v-c88486ac]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:1rem;font-size:2em;border-top:1px solid #eee}.actioner-dns .actioner-dns_footer button[data-v-c88486ac]{display:inline-block;width:100px!important;margin:0;margin-left:1rem}@keyframes bganimation-c88486ac{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-c88486ac{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-c88486ac{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-c88486ac]{animation:rotateEnter-c88486ac .7s;position:relative}.rotate-leave-active[data-v-c88486ac]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-c88486ac]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}@media screen and (max-width: 1400px){.actioner-dns .actioner-dns_body[data-v-c88486ac]{min-height:34vh}}@media screen and (max-width: 800px){.actioner-dns[data-v-c88486ac]{width:100%}}@keyframes bganimation-afd1f5d2{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-afd1f5d2{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-afd1f5d2{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-afd1f5d2]{animation:rotateEnter-afd1f5d2 .7s;position:relative}.rotate-leave-active[data-v-afd1f5d2]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-afd1f5d2]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.icon[data-v-afd1f5d2]{width:48px;height:100%;cursor:pointer}.interface-device-flex[data-v-afd1f5d2]{display:flex;justify-content:center}.interface-device-flex .app-container_status-label_bg[data-v-afd1f5d2]{width:0;min-width:130px;max-width:230px;overflow-y:hidden;flex:1 0 160px}.cbi-section-table-row .td.btns[data-v-afd1f5d2]{text-align:left!important}@keyframes bganimation-f0aa6d5e{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-f0aa6d5e{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-f0aa6d5e{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-f0aa6d5e]{animation:rotateEnter-f0aa6d5e .7s;position:relative}.rotate-leave-active[data-v-f0aa6d5e]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-f0aa6d5e]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}button[data-v-f0aa6d5e]{outline:none;cursor:pointer;border:none}.pc-radio[data-v-f0aa6d5e]{display:flex;flex-wrap:wrap;align-items:center}.label-flex.pc-radio label[data-v-f0aa6d5e]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.label-flex.pc-radio input[type=radio][data-v-f0aa6d5e]{margin:0 4px 0 0;top:0}.mobile-switch[data-v-f0aa6d5e]{display:none;align-items:center}.switch-core[data-v-f0aa6d5e]{position:relative;width:50px;border:1px solid #dcdfe6;outline:none;border-radius:20px;box-sizing:border-box;background:#dcdfe6;cursor:pointer;transition:border-color .3s,background-color .3s;display:inline-block}.switch-core.is-checked[data-v-f0aa6d5e]{border-color:#409eff;background-color:#409eff}.switch-core.is-disabled[data-v-f0aa6d5e]{opacity:.6;cursor:not-allowed}.switch-button[data-v-f0aa6d5e]{position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.switch-core.is-checked .switch-button[data-v-f0aa6d5e]{transform:translate(20px)}.switch-label[data-v-f0aa6d5e]{font-size:14px;color:#999}.switch-label.active[data-v-f0aa6d5e]{color:#409eff}form.form-container[data-v-f0aa6d5e]{display:block;width:100%;padding:0 1rem;margin-top:50px}form.form-container .label-name[data-v-f0aa6d5e]{display:block;width:100%;margin-bottom:.5rem;color:var(--item-label_key-span-color)}form.form-container .label-name span[data-v-f0aa6d5e]:before{content:"*";color:#f56c6c;margin-right:4px;width:10px;display:inline-block;vertical-align:middle}form.form-container .label-value[data-v-f0aa6d5e]{display:block;width:100%;margin-bottom:1rem}form.form-container .label-value input[data-v-f0aa6d5e],form.form-container .label-value select[data-v-f0aa6d5e]{display:block;width:100%;height:42px;background:none;border:1px solid #c2c2c2;color:var(--item-label_key-span-color);font-size:14px}form.form-container .label-value input>option[data-v-f0aa6d5e],form.form-container .label-value select>option[data-v-f0aa6d5e]{color:#8898aa}form.form-container .label-value input[data-v-f0aa6d5e]:focus,form.form-container .label-value select[data-v-f0aa6d5e]:focus{transition:.2s;border:1px solid #418dfe}form.form-container .label-value select[data-v-f0aa6d5e]{border-radius:3px;padding:0 10px}form.form-container .label-value input[data-v-f0aa6d5e]{border-left:none!important;border-right:none!important;border-top:none!important;box-shadow:none!important;padding:0 10px}form.form-container .label-value input[type=checkbox][data-v-f0aa6d5e],form.form-container .label-value input[type=radio][data-v-f0aa6d5e]{width:auto}form.form-container .label-value input[type=radio][data-v-f0aa6d5e]{margin:0 4px 0 0;top:0}form.form-container .label-value input[data-v-f0aa6d5e]:disabled{background-color:#eee;border:1px solid #c2c2c2;border-radius:3px}form.form-container .label-value input[data-v-f0aa6d5e]::placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-f0aa6d5e]:-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-value input[data-v-f0aa6d5e]::-ms-input-placeholder{color:var(--item-label_value-span-color);opacity:.54;font-size:14px}form.form-container .label-btns[data-v-f0aa6d5e]{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-end}form.form-container .label-msg[data-v-f0aa6d5e]{display:block;width:100%;color:#ff3b3b;font-size:14px}form.form-container .label-msg.warning[data-v-f0aa6d5e]{color:#f9ad1e}form.form-container .label-flex[data-v-f0aa6d5e]{width:100%;display:flex;flex-wrap:wrap;align-items:center}form.form-container .label-flex label[data-v-f0aa6d5e]{width:100px;display:flex;flex-wrap:wrap;align-items:center;cursor:pointer;color:#666}.form-item[data-v-f0aa6d5e]{display:flex;align-items:center;height:55px}.form-item .label-name[data-v-f0aa6d5e]{width:200px!important}.form-item .label-value[data-v-f0aa6d5e]{width:300px!important;padding-top:10px;position:relative;display:flex!important;align-items:center}p[data-v-f0aa6d5e]{font-size:1em;color:#999;line-height:26px;text-align:left;margin-bottom:1rem}.label-btns[data-v-f0aa6d5e]{width:500px!important;margin-top:1rem}.label-btns .btn[data-v-f0aa6d5e]{width:300px!important;text-align:center;border-radius:32px}.label-btns .btn[data-v-f0aa6d5e]:hover{background:#5279f7;transition:.3}.label-btns .primary-btn[data-v-f0aa6d5e]{border:none;background:#5279f7;color:#fff;margin-bottom:10px}.label-btns .primary-btn[data-v-f0aa6d5e]:hover{opacity:.9;transition:.3}select[data-v-f0aa6d5e]:disabled{background-color:#eee!important;border:1px solid #c2c2c2!important}.seeIcon[data-v-f0aa6d5e]{width:22px;height:22px;position:absolute;cursor:pointer;z-index:1;right:6px;top:50%;transform:translateY(-50%) scale(1);transition:all .3s ease;transform-origin:center}.seeIcon[data-v-f0aa6d5e]:hover{transform:translateY(-50%) scale(1.1)}@media only screen and (max-width: 1050px){form.form-container[data-v-f0aa6d5e]{padding:0;margin-top:-16px}form.form-container .form-item[data-v-f0aa6d5e]{position:relative;height:auto;margin-bottom:0;height:50px;padding-top:6px;border-bottom:1px solid rgba(0,0,0,.16)!important}form.form-container .form-item .label-name[data-v-f0aa6d5e]{width:100%!important;margin-bottom:0;font-size:14px}form.form-container .form-item .label-name>span[data-v-f0aa6d5e]{color:var(--item-label_key-span-color)}form.form-container .form-item .label-value[data-v-f0aa6d5e]{width:100%!important;margin-bottom:0;padding-top:0}form.form-container .form-item .label-value input[data-v-f0aa6d5e],form.form-container .form-item .label-value select[data-v-f0aa6d5e]{height:40px;font-size:14px}form.form-container .form-item .label-value .password_input[data-v-f0aa6d5e]{padding-right:24px}form.form-container .form-item .label-value input[data-v-f0aa6d5e]{border:none;text-align:right;padding:0}form.form-container .form-item .label-value select[data-v-f0aa6d5e]:disabled{border:none!important}form.form-container .form-item .label-value select[data-v-f0aa6d5e]{padding-right:16px!important;border:none;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding:0;outline:none;background:transparent;text-align:right}form.form-container .form-item .label-value[data-v-f0aa6d5e] ::selection{background:transparent;color:inherit}form.form-container .form-item .label-value[data-v-f0aa6d5e] ::-moz-selection{background:transparent;color:inherit}form.form-container .label-flex[data-v-f0aa6d5e]{display:flex}form.form-container .label-flex label[data-v-f0aa6d5e]{width:100%;margin-bottom:.5rem}form.form-container .label-btns[data-v-f0aa6d5e]{width:100%!important;margin-top:1.5rem}form.form-container .label-btns .btn[data-v-f0aa6d5e]{width:100%!important;height:44px;font-size:16px}.seeIcon[data-v-f0aa6d5e]{width:20px;height:20px;right:0}.pc-radio[data-v-f0aa6d5e],.label-flex[data-v-f0aa6d5e]{display:none!important}.mobile-switch[data-v-f0aa6d5e]{display:flex;align-items:center;height:50px}.switch_label[data-v-f0aa6d5e]{display:flex;justify-content:end}.switch-core[data-v-f0aa6d5e]{width:50px;height:24px}.switch-button[data-v-f0aa6d5e]{width:20px;height:20px}.switch-core.is-checked .switch-button[data-v-f0aa6d5e]{transform:translate(26px)}.select-arrow[data-v-f0aa6d5e]{position:absolute;right:6px;top:50%!important;transform:translateY(-50%)!important;width:10px;height:10px;border-top:2px solid #606165;border-right:2px solid #606165;transform:translateY(-50%) rotate(45deg)!important;pointer-events:none}}@keyframes bganimation-42d0731d{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes rotateEnter-42d0731d{0%{transform:rotateY(180deg)}10%{transform:rotateY(198deg)}20%{transform:rotateY(216deg)}30%{transform:rotateY(234deg)}40%{transform:rotateY(252deg)}50%{transform:rotateY(270deg)}60%{transform:rotateY(288deg)}70%{transform:rotateY(306deg)}80%{transform:rotateY(324deg)}90%{transform:rotateY(342deg)}to{transform:rotateY(360deg)}}@keyframes turns-42d0731d{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.rotate-enter-active[data-v-42d0731d]{animation:rotateEnter-42d0731d .7s;position:relative}.rotate-leave-active[data-v-42d0731d]{opacity:0;display:none;position:relative;z-index:-999}.app-container[data-v-42d0731d]{width:100%;background-color:var(--card-bg-color);box-shadow:var(--card-box-shadow);padding:10px 30px;border-radius:6px;position:relative}.page-container[data-v-42d0731d]{width:100%;background-color:var(--card-bg-color);border-radius:6px;padding:3rem;margin-top:50px}.mobile-tags-container[data-v-42d0731d]{display:none}.page-flex[data-v-42d0731d]{display:flex}.page-flex .page-sidebar[data-v-42d0731d]{flex:0 0 200px;border-right:1px solid #eee}.page-flex .page-sidebar .item[data-v-42d0731d]{width:100%;height:42px;line-height:42px;font-size:16px;cursor:pointer;color:var(--item-label_key-span-color);display:block;user-select:none;position:relative;display:flex;flex-wrap:wrap;align-items:center}.page-flex .page-sidebar .item[data-v-42d0731d]:hover,.page-flex .page-sidebar .item.activeItem[data-v-42d0731d]{transition:.3s;color:#418cff}.page-flex .page-sidebar .item.activeItem[data-v-42d0731d]:before{content:"";position:absolute;left:-1rem;width:3px;height:20px;background-color:#4388ff}.page-flex .page-main[data-v-42d0731d]{flex:1;padding-left:24px}@media (max-width: 827px){.page-container[data-v-42d0731d]{padding:12px 12px 0 8px;margin-top:0}.page-flex[data-v-42d0731d]{display:block}.page-flex .page-sidebar[data-v-42d0731d]{display:none}.page-flex .page-main[data-v-42d0731d]{padding-left:0;padding-top:16px}.mobile-tags-container[data-v-42d0731d]{display:block;width:100%;margin-bottom:16px;position:relative}.tags-wrapper[data-v-42d0731d]{display:flex;align-items:center;height:40px;position:relative}.tags-scroll[data-v-42d0731d]{flex:1;display:flex;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:100%;align-items:center;white-space:nowrap;padding-right:40px}.tags-scroll[data-v-42d0731d]::-webkit-scrollbar{display:none}.tag-item[data-v-42d0731d]{flex-shrink:0;padding:7px 12px;margin-right:8px;border-radius:4px;background-color:var(--tag-bg-color);color:var(--item-label_key-span-color);font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.tag-item.active[data-v-42d0731d]{background-color:#5279f7;color:#fff}.more-btn-wrapper[data-v-42d0731d]{position:absolute;right:-6px;top:0;height:100%;width:40px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.fade-overlay[data-v-42d0731d]{position:absolute;right:0;top:50%;transform:translateY(-50%);width:100px;height:32px;background:var(--gradient-bg-color)}.more-btn[data-v-42d0731d]{width:28px;height:28px;border-radius:4px;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.more-btn .line[data-v-42d0731d]{width:14px;height:2px;background-color:#5279f7;margin:2px 0;border-radius:1px}[data-v-42d0731d] .showSide{z-index:1!important}.popup-overlay[data-v-42d0731d]{position:fixed;inset:0;background-color:#00000080;z-index:1000;display:flex;justify-content:center;align-items:flex-start}.popup-content[data-v-42d0731d]{width:100%;max-height:85vh;background-color:var(--popup-bg-color);border-radius:0 0 4px 4px;animation:slideDown-42d0731d .3s ease-out;overflow-y:auto;padding-top:25px}.popup-content .popup-tag-item[data-v-42d0731d],.popup-content .active[data-v-42d0731d]{text-align:center;padding:8px 12px 5px;width:calc((100% - 24px) / 3)}@keyframes slideDown-42d0731d{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.popup-tags[data-v-42d0731d]{padding:12px;display:flex;flex-wrap:wrap;gap:8px;max-height:70vh;overflow-y:auto}.popup-tag-item[data-v-42d0731d]{padding:7px 12px;border-radius:4px;background-color:#f5f5f5;color:#333;font-size:12px;line-height:18px;cursor:pointer;white-space:nowrap}.popup-tag-item.active[data-v-42d0731d]{background-color:#5279f7;color:#fff}.popup-footer[data-v-42d0731d]{display:flex;padding:12px;border-top:1px solid #f0f0f0}.popup-footer button[data-v-42d0731d]{flex:1;height:36px;border-radius:23px;font-size:14px;cursor:pointer}.popup-footer .cancel-btn[data-v-42d0731d]{background-color:#f5f5f5;color:#000;border:none;margin-right:12px}.popup-footer .confirm-btn[data-v-42d0731d]{background-color:#5279f7;color:#fff;border:none}} diff --git a/openwrt-packages/quickstart/Makefile b/openwrt-packages/quickstart/Makefile index 55e318250e..ef543439d9 100644 --- a/openwrt-packages/quickstart/Makefile +++ b/openwrt-packages/quickstart/Makefile @@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk PKG_ARCH_quickstart:=$(ARCH) PKG_NAME:=quickstart -PKG_VERSION:=0.10.2 +PKG_VERSION:=0.10.3 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/linkease/istore-packages/releases/download/prebuilt/ -PKG_HASH:=1362a5df6fda09cf793dcee71597c8cf1b0ab5b3ab0a95dd7600d76431d53da5 +PKG_HASH:=b6fd09b8f71a0c56758c9819102268fdf464fe70ca0d6e7f83c5e75e024dee94 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/openwrt-passwall/luci-app-passwall/luasrc/controller/passwall.lua b/openwrt-passwall/luci-app-passwall/luasrc/controller/passwall.lua index e3002c5d0a..99a7103097 100644 --- a/openwrt-passwall/luci-app-passwall/luasrc/controller/passwall.lua +++ b/openwrt-passwall/luci-app-passwall/luasrc/controller/passwall.lua @@ -81,6 +81,8 @@ function index() entry({"admin", "services", appname, "clear_all_nodes"}, call("clear_all_nodes")).leaf = true entry({"admin", "services", appname, "delete_select_nodes"}, call("delete_select_nodes")).leaf = true entry({"admin", "services", appname, "update_rules"}, call("update_rules")).leaf = true + entry({"admin", "services", appname, "subscribe_del_node"}, call("subscribe_del_node")).leaf = true + entry({"admin", "services", appname, "subscribe_del_all"}, call("subscribe_del_all")).leaf = true --[[rule_list]] entry({"admin", "services", appname, "read_rulelist"}, call("read_rulelist")).leaf = true @@ -647,3 +649,16 @@ function geo_view() http.write(i18n.translate("No results were found!")) end end + +function subscribe_del_node() + local remark = luci.http.formvalue("remark") + if remark and remark ~= "" then + luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate " .. luci.util.shellquote(remark) .. " > /dev/null 2>&1") + end + luci.http.status(200, "OK") +end + +function subscribe_del_all() + luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate > /dev/null 2>&1") + luci.http.status(200, "OK") +end diff --git a/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua b/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua index 2eaa276fd0..cc9a5dbbc5 100644 --- a/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua +++ b/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua @@ -434,7 +434,7 @@ if api.is_finded("smartdns") then o:value("https://8.8.8.8/dns-query") o:value("https://9.9.9.9/dns-query") o:value("https://208.67.222.222/dns-query") - o:value("https://dns.adguard.com/dns-query,176.103.130.130") + o:value("https://dns.adguard.com/dns-query,94.140.14.14") o:value("https://doh.libredns.gr/dns-query,116.202.176.26") o:value("https://doh.libredns.gr/ads,116.202.176.26") o:depends({ dns_shunt = "smartdns", smartdns_dns_mode = "socks" }) diff --git a/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua b/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua index 1df3decd65..fa5dc571f0 100644 --- a/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua +++ b/openwrt-passwall/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua @@ -134,11 +134,12 @@ o:value("ipv4_only", translate("IPv4 Only")) o:value("ipv6_only", translate("IPv6 Only")) ---- Subscribe Delete All -o = s:option(Button, "_stop", translate("Delete All Subscribe Node")) -o.inputstyle = "remove" -function o.write(e, e) - luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate > /dev/null 2>&1") - m.no_commit = true +o = s:option(DummyValue, "_stop", translate("Delete All Subscribe Node")) +o.rawhtml = true +function o.cfgvalue(self, section) + return string.format( + [[]], + translate("Delete All Subscribe Node")) end o = s:option(Button, "_update", translate("Manual subscription All")) @@ -202,12 +203,13 @@ o = s:option(Value, "url", translate("Subscribe URL")) o.width = "auto" o.rmempty = false -o = s:option(Button, "_remove", translate("Delete the subscribed node")) -o.inputstyle = "remove" -function o.write(t, n) - local remark = m:get(n, "remark") or "" - luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate " .. remark .. " > /dev/null 2>&1") - m.no_commit = true +o = s:option(DummyValue, "_remove", translate("Delete the subscribed node")) +o.rawhtml = true +function o.cfgvalue(self, section) + local remark = m:get(section, "remark") or "" + return string.format( + [[]], + remark, translate("Delete the subscribed node")) end o = s:option(Button, "_update", translate("Manual subscription")) @@ -218,4 +220,6 @@ function o.write(t, n) luci.http.redirect(api.url("log")) end +s:append(Template(appname .. "/node_subscribe/js")) + return m diff --git a/openwrt-passwall/luci-app-passwall/luasrc/view/passwall/node_subscribe/js.htm b/openwrt-passwall/luci-app-passwall/luasrc/view/passwall/node_subscribe/js.htm new file mode 100644 index 0000000000..1dc361c0fa --- /dev/null +++ b/openwrt-passwall/luci-app-passwall/luasrc/view/passwall/node_subscribe/js.htm @@ -0,0 +1,38 @@ +<% +local api = require "luci.passwall.api" +-%> + diff --git a/openwrt-passwall/luci-app-passwall/po/zh-cn/passwall.po b/openwrt-passwall/luci-app-passwall/po/zh-cn/passwall.po index bc0f4f9d84..c3085d1fa6 100644 --- a/openwrt-passwall/luci-app-passwall/po/zh-cn/passwall.po +++ b/openwrt-passwall/luci-app-passwall/po/zh-cn/passwall.po @@ -1084,6 +1084,9 @@ msgstr "删除所有订阅节点" msgid "Delete the subscribed node" msgstr "删除已订阅的节点" +msgid "Are you sure you want to delete all subscribed nodes?" +msgstr "您确定要删除所有已订阅的节点吗?" + msgid "Manual subscription All" msgstr "手动订阅全部" diff --git a/shadowsocks-rust/README.md b/shadowsocks-rust/README.md index 08f0832e42..2a43d3705a 100644 --- a/shadowsocks-rust/README.md +++ b/shadowsocks-rust/README.md @@ -959,19 +959,22 @@ These Ciphers require `"password"` to be a Base64 string of key that have **exac - For local servers (`sslocal`, `ssredir`, ...) - Modes: - - `[bypass_all]` - ACL runs in `BlackList` mode. Bypasses all addresses that didn't match any rules. - - `[proxy_all]` - ACL runs in `WhiteList` mode. Proxies all addresses that didn't match any rules. + - `[bypass_all]` - ACL runs in `WhiteList` mode. Bypasses all addresses except those matched any rules. + - `[proxy_all]` - ACL runs in `BlackList` mode. Proxies all addresses except those matched any rules. (default) - Rules: - `[bypass_list]` - Rules for connecting directly - `[proxy_list]` - Rules for connecting through proxies - For remote servers (`ssserver`) - Modes: - - `[reject_all]` - ACL runs in `BlackList` mode. Rejects all clients that didn't match any rules. - - `[accept_all]` - ACL runs in `WhiteList` mode. Accepts all clients that didn't match any rules. + - `[reject_all]` - ACL runs in `WhiteList` mode. Rejects all clients except those matched any rules. + - `[accept_all]` - ACL runs in `BlackList` mode. Accepts all clients except those matched any rules. (default) + - `[outbound_block_all]` - Outbound ACL runs in `WhiteList` mode. Blockes all outbound addresses except those matched any rules. + - `[outbound_allow_all]` - Outbound ACL runs in `BlackList` mode. Allows all outbound addresses except those matched any rules. (default) - Rules: - `[white_list]` - Rules for accepted clients - `[black_list]` - Rules for rejected clients - `[outbound_block_list]` - Rules for blocking outbound addresses. + - `[outbound_allow_list]` - Rules for allowing outbound addresses. ### Example diff --git a/shadowsocks-rust/crates/shadowsocks-service/src/acl/mod.rs b/shadowsocks-rust/crates/shadowsocks-service/src/acl/mod.rs index 226f744d22..92713ed253 100644 --- a/shadowsocks-rust/crates/shadowsocks-service/src/acl/mod.rs +++ b/shadowsocks-rust/crates/shadowsocks-service/src/acl/mod.rs @@ -305,8 +305,8 @@ impl ParsingRules { /// Available sections are /// /// - For local servers (`sslocal`, `ssredir`, ...) -/// * `[bypass_all]` - ACL runs in `BlackList` mode. -/// * `[proxy_all]` - ACL runs in `WhiteList` mode. +/// * `[bypass_all]` - ACL runs in `WhiteList` mode. +/// * `[proxy_all]` - ACL runs in `BlackList` mode. /// * `[bypass_list]` - Rules for connecting directly /// * `[proxy_list]` - Rules for connecting through proxies /// - For remote servers (`ssserver`) @@ -560,16 +560,27 @@ impl AccessControl { if let Some(value) = self.check_host_in_proxy_list(host) { return !value; } - if self.is_ip_empty() { + + // If mode is BlackList, host is proxied by default. If it has any resolved IPs in black_list, then it should be bypassed. + // If mode is WhiteList, host is bypassed by default. If it has any resolved IPs in white_list, then it should be proxied. + let (check_list, bypass_if_matched) = match self.mode { + Mode::BlackList => (&self.black_list, true), + Mode::WhiteList => (&self.white_list, false), + }; + + if check_list.is_ip_empty() { return !self.is_default_in_proxy_list(); } + if let Ok(vaddr) = context.dns_resolve(host, port).await { for addr in vaddr { - if !self.check_ip_in_proxy_list(&addr.ip()) { - return true; + let ip = addr.ip(); + if check_list.check_ip_matched(&ip) { + return bypass_if_matched; } } } + !self.is_default_in_proxy_list() } } @@ -607,15 +618,24 @@ impl AccessControl { // If no domain name rules matched, // we need to resolve the hostname to IP addresses - if self.is_outbound_ip_empty() { + + // If mode is BlackList, host is allowed by default. If any of its' resolved IPs in outboud_block, then it is blocked. + // If mode is WhiteList, host is blocked by default. If any of its' resolved IPs in outbound_allow, then it is allowed. + let (check_rule, block_if_matched) = match self.outbound_mode { + Mode::BlackList => (&self.outbound_block, true), + Mode::WhiteList => (&self.outbound_allow, false), + }; + + if check_rule.is_ip_empty() { // If there are no IP rules, use the default mode return self.is_outbound_default_blocked(); } if let Ok(vaddr) = context.dns_resolve(host, *port).await { for addr in vaddr { - if self.check_outbound_ip_blocked(&addr.ip()) { - return true; + let ip = addr.ip(); + if check_rule.check_ip_matched(&ip) { + return block_if_matched; } } } @@ -645,9 +665,4 @@ impl AccessControl { Mode::WhiteList => true, } } - - #[inline] - fn is_outbound_ip_empty(&self) -> bool { - self.outbound_block.is_ip_empty() && self.outbound_allow.is_ip_empty() - } } diff --git a/sing-box/common/dialer/tfo.go b/sing-box/common/dialer/tfo.go index 003f8fe961..8ea59ca62b 100644 --- a/sing-box/common/dialer/tfo.go +++ b/sing-box/common/dialer/tfo.go @@ -10,7 +10,6 @@ import ( "sync" "time" - "github.com/sagernet/sing/common" "github.com/sagernet/sing/common/bufio" M "github.com/sagernet/sing/common/metadata" N "github.com/sagernet/sing/common/network" @@ -25,7 +24,9 @@ type slowOpenConn struct { destination M.Socksaddr conn net.Conn create chan struct{} + done chan struct{} access sync.Mutex + closeOnce sync.Once err error } @@ -44,6 +45,7 @@ func DialSlowContext(dialer *tcpDialer, ctx context.Context, network string, des network: network, destination: destination, create: make(chan struct{}), + done: make(chan struct{}), }, nil } @@ -54,8 +56,8 @@ func (c *slowOpenConn) Read(b []byte) (n int, err error) { if c.err != nil { return 0, c.err } - case <-c.ctx.Done(): - return 0, c.ctx.Err() + case <-c.done: + return 0, os.ErrClosed } } return c.conn.Read(b) @@ -73,6 +75,8 @@ func (c *slowOpenConn) Write(b []byte) (n int, err error) { return 0, c.err } return c.conn.Write(b) + case <-c.done: + return 0, os.ErrClosed default: } conn, err := c.dialer.DialContext(c.ctx, c.network, c.destination.String(), b) @@ -87,7 +91,13 @@ func (c *slowOpenConn) Write(b []byte) (n int, err error) { } func (c *slowOpenConn) Close() error { - return common.Close(c.conn) + c.closeOnce.Do(func() { + close(c.done) + if c.conn != nil { + c.conn.Close() + } + }) + return nil } func (c *slowOpenConn) LocalAddr() net.Addr { @@ -152,8 +162,8 @@ func (c *slowOpenConn) WriteTo(w io.Writer) (n int64, err error) { if c.err != nil { return 0, c.err } - case <-c.ctx.Done(): - return 0, c.ctx.Err() + case <-c.done: + return 0, c.err } } return bufio.Copy(w, c.conn) diff --git a/sing-box/common/tls/ech.go b/sing-box/common/tls/ech.go index de911126e5..f4434604cc 100644 --- a/sing-box/common/tls/ech.go +++ b/sing-box/common/tls/ech.go @@ -25,7 +25,7 @@ import ( "golang.org/x/crypto/cryptobyte" ) -func parseECHClientConfig(ctx context.Context, options option.OutboundTLSOptions, tlsConfig *tls.Config) (Config, error) { +func parseECHClientConfig(ctx context.Context, clientConfig ECHCapableConfig, options option.OutboundTLSOptions) (Config, error) { var echConfig []byte if len(options.ECH.Config) > 0 { echConfig = []byte(strings.Join(options.ECH.Config, "\n")) @@ -45,12 +45,12 @@ func parseECHClientConfig(ctx context.Context, options option.OutboundTLSOptions if block == nil || block.Type != "ECH CONFIGS" || len(rest) > 0 { return nil, E.New("invalid ECH configs pem") } - tlsConfig.EncryptedClientHelloConfigList = block.Bytes - return &STDClientConfig{tlsConfig}, nil + clientConfig.SetECHConfigList(block.Bytes) + return clientConfig, nil } else { - return &STDECHClientConfig{ - STDClientConfig: STDClientConfig{tlsConfig}, - dnsRouter: service.FromContext[adapter.DNSRouter](ctx), + return &ECHClientConfig{ + ECHCapableConfig: clientConfig, + dnsRouter: service.FromContext[adapter.DNSRouter](ctx), }, nil } } @@ -102,15 +102,15 @@ func reloadECHKeys(echKeyPath string, tlsConfig *tls.Config) error { return nil } -type STDECHClientConfig struct { - STDClientConfig +type ECHClientConfig struct { + ECHCapableConfig access sync.Mutex dnsRouter adapter.DNSRouter lastTTL time.Duration lastUpdate time.Time } -func (s *STDECHClientConfig) ClientHandshake(ctx context.Context, conn net.Conn) (aTLS.Conn, error) { +func (s *ECHClientConfig) ClientHandshake(ctx context.Context, conn net.Conn) (aTLS.Conn, error) { tlsConn, err := s.fetchAndHandshake(ctx, conn) if err != nil { return nil, err @@ -122,17 +122,17 @@ func (s *STDECHClientConfig) ClientHandshake(ctx context.Context, conn net.Conn) return tlsConn, nil } -func (s *STDECHClientConfig) fetchAndHandshake(ctx context.Context, conn net.Conn) (aTLS.Conn, error) { +func (s *ECHClientConfig) fetchAndHandshake(ctx context.Context, conn net.Conn) (aTLS.Conn, error) { s.access.Lock() defer s.access.Unlock() - if len(s.config.EncryptedClientHelloConfigList) == 0 || s.lastTTL == 0 || time.Now().Sub(s.lastUpdate) > s.lastTTL { + if len(s.ECHConfigList()) == 0 || s.lastTTL == 0 || time.Now().Sub(s.lastUpdate) > s.lastTTL { message := &mDNS.Msg{ MsgHdr: mDNS.MsgHdr{ RecursionDesired: true, }, Question: []mDNS.Question{ { - Name: mDNS.Fqdn(s.config.ServerName), + Name: mDNS.Fqdn(s.ServerName()), Qtype: mDNS.TypeHTTPS, Qclass: mDNS.ClassINET, }, @@ -157,21 +157,21 @@ func (s *STDECHClientConfig) fetchAndHandshake(ctx context.Context, conn net.Con } s.lastTTL = time.Duration(rr.Header().Ttl) * time.Second s.lastUpdate = time.Now() - s.config.EncryptedClientHelloConfigList = echConfigList + s.SetECHConfigList(echConfigList) break match } } } } - if len(s.config.EncryptedClientHelloConfigList) == 0 { + if len(s.ECHConfigList()) == 0 { return nil, E.New("no ECH config found in DNS records") } } return s.Client(conn) } -func (s *STDECHClientConfig) Clone() Config { - return &STDECHClientConfig{STDClientConfig: STDClientConfig{s.config.Clone()}, dnsRouter: s.dnsRouter, lastUpdate: s.lastUpdate} +func (s *ECHClientConfig) Clone() Config { + return &ECHClientConfig{ECHCapableConfig: s.ECHCapableConfig.Clone().(ECHCapableConfig), dnsRouter: s.dnsRouter, lastUpdate: s.lastUpdate} } func UnmarshalECHKeys(raw []byte) ([]tls.EncryptedClientHelloKey, error) { diff --git a/sing-box/common/tls/ech_keygen.go b/sing-box/common/tls/ech_shared.go similarity index 97% rename from sing-box/common/tls/ech_keygen.go rename to sing-box/common/tls/ech_shared.go index b6c353ac94..f27f072771 100644 --- a/sing-box/common/tls/ech_keygen.go +++ b/sing-box/common/tls/ech_shared.go @@ -11,6 +11,12 @@ import ( "github.com/cloudflare/circl/kem" ) +type ECHCapableConfig interface { + Config + ECHConfigList() []byte + SetECHConfigList([]byte) +} + func ECHKeygenDefault(serverName string) (configPem string, keyPem string, err error) { cipherSuites := []echCipherSuite{ { diff --git a/sing-box/common/tls/ech_stub.go b/sing-box/common/tls/ech_stub.go index 8c93690c6c..3b6ffc2343 100644 --- a/sing-box/common/tls/ech_stub.go +++ b/sing-box/common/tls/ech_stub.go @@ -10,7 +10,7 @@ import ( E "github.com/sagernet/sing/common/exceptions" ) -func parseECHClientConfig(ctx context.Context, options option.OutboundTLSOptions, tlsConfig *tls.Config) (Config, error) { +func parseECHClientConfig(ctx context.Context, clientConfig ECHCapableConfig, options option.OutboundTLSOptions) (Config, error) { return nil, E.New("ECH requires go1.24, please recompile your binary.") } diff --git a/sing-box/common/tls/reality_client.go b/sing-box/common/tls/reality_client.go index 823e82857d..ca0e1e0460 100644 --- a/sing-box/common/tls/reality_client.go +++ b/sing-box/common/tls/reality_client.go @@ -74,7 +74,7 @@ func NewRealityClient(ctx context.Context, serverAddress string, options option. if decodedLen > 8 { return nil, E.New("invalid short_id") } - return &RealityClientConfig{ctx, uClient, publicKey, shortID}, nil + return &RealityClientConfig{ctx, uClient.(*UTLSClientConfig), publicKey, shortID}, nil } func (e *RealityClientConfig) ServerName() string { diff --git a/sing-box/common/tls/std_client.go b/sing-box/common/tls/std_client.go index 8e9327bf0a..0705d949d7 100644 --- a/sing-box/common/tls/std_client.go +++ b/sing-box/common/tls/std_client.go @@ -7,43 +7,60 @@ import ( "net" "os" "strings" + "time" "github.com/sagernet/sing-box/adapter" + "github.com/sagernet/sing-box/common/tlsfragment" "github.com/sagernet/sing-box/option" E "github.com/sagernet/sing/common/exceptions" "github.com/sagernet/sing/common/ntp" ) type STDClientConfig struct { - config *tls.Config + ctx context.Context + config *tls.Config + fragment bool + fragmentFallbackDelay time.Duration + recordFragment bool } -func (s *STDClientConfig) ServerName() string { - return s.config.ServerName +func (c *STDClientConfig) ServerName() string { + return c.config.ServerName } -func (s *STDClientConfig) SetServerName(serverName string) { - s.config.ServerName = serverName +func (c *STDClientConfig) SetServerName(serverName string) { + c.config.ServerName = serverName } -func (s *STDClientConfig) NextProtos() []string { - return s.config.NextProtos +func (c *STDClientConfig) NextProtos() []string { + return c.config.NextProtos } -func (s *STDClientConfig) SetNextProtos(nextProto []string) { - s.config.NextProtos = nextProto +func (c *STDClientConfig) SetNextProtos(nextProto []string) { + c.config.NextProtos = nextProto } -func (s *STDClientConfig) Config() (*STDConfig, error) { - return s.config, nil +func (c *STDClientConfig) Config() (*STDConfig, error) { + return c.config, nil } -func (s *STDClientConfig) Client(conn net.Conn) (Conn, error) { - return tls.Client(conn, s.config), nil +func (c *STDClientConfig) Client(conn net.Conn) (Conn, error) { + if c.recordFragment { + conn = tf.NewConn(conn, c.ctx, c.fragment, c.recordFragment, c.fragmentFallbackDelay) + } + return tls.Client(conn, c.config), nil } -func (s *STDClientConfig) Clone() Config { - return &STDClientConfig{s.config.Clone()} +func (c *STDClientConfig) Clone() Config { + return &STDClientConfig{c.ctx, c.config.Clone(), c.fragment, c.fragmentFallbackDelay, c.recordFragment} +} + +func (c *STDClientConfig) ECHConfigList() []byte { + return c.config.EncryptedClientHelloConfigList +} + +func (c *STDClientConfig) SetECHConfigList(EncryptedClientHelloConfigList []byte) { + c.config.EncryptedClientHelloConfigList = EncryptedClientHelloConfigList } func NewSTDClient(ctx context.Context, serverAddress string, options option.OutboundTLSOptions) (Config, error) { @@ -60,9 +77,7 @@ func NewSTDClient(ctx context.Context, serverAddress string, options option.Outb var tlsConfig tls.Config tlsConfig.Time = ntp.TimeFuncFromContext(ctx) tlsConfig.RootCAs = adapter.RootPoolFromContext(ctx) - if options.DisableSNI { - tlsConfig.ServerName = "127.0.0.1" - } else { + if !options.DisableSNI { tlsConfig.ServerName = serverName } if options.Insecure { @@ -127,8 +142,10 @@ func NewSTDClient(ctx context.Context, serverAddress string, options option.Outb } tlsConfig.RootCAs = certPool } + stdConfig := &STDClientConfig{ctx, &tlsConfig, options.Fragment, time.Duration(options.FragmentFallbackDelay), options.RecordFragment} if options.ECH != nil && options.ECH.Enabled { - return parseECHClientConfig(ctx, options, &tlsConfig) + return parseECHClientConfig(ctx, stdConfig, options) + } else { + return stdConfig, nil } - return &STDClientConfig{&tlsConfig}, nil } diff --git a/sing-box/common/tls/utls_client.go b/sing-box/common/tls/utls_client.go index 5c0de6ad48..6ed81eb4cc 100644 --- a/sing-box/common/tls/utls_client.go +++ b/sing-box/common/tls/utls_client.go @@ -8,11 +8,12 @@ import ( "crypto/x509" "math/rand" "net" - "net/netip" "os" "strings" + "time" "github.com/sagernet/sing-box/adapter" + "github.com/sagernet/sing-box/common/tlsfragment" "github.com/sagernet/sing-box/option" E "github.com/sagernet/sing/common/exceptions" "github.com/sagernet/sing/common/ntp" @@ -22,46 +23,60 @@ import ( ) type UTLSClientConfig struct { - config *utls.Config - id utls.ClientHelloID + ctx context.Context + config *utls.Config + id utls.ClientHelloID + fragment bool + fragmentFallbackDelay time.Duration + recordFragment bool } -func (e *UTLSClientConfig) ServerName() string { - return e.config.ServerName +func (c *UTLSClientConfig) ServerName() string { + return c.config.ServerName } -func (e *UTLSClientConfig) SetServerName(serverName string) { - e.config.ServerName = serverName +func (c *UTLSClientConfig) SetServerName(serverName string) { + c.config.ServerName = serverName } -func (e *UTLSClientConfig) NextProtos() []string { - return e.config.NextProtos +func (c *UTLSClientConfig) NextProtos() []string { + return c.config.NextProtos } -func (e *UTLSClientConfig) SetNextProtos(nextProto []string) { +func (c *UTLSClientConfig) SetNextProtos(nextProto []string) { if len(nextProto) == 1 && nextProto[0] == http2.NextProtoTLS { nextProto = append(nextProto, "http/1.1") } - e.config.NextProtos = nextProto + c.config.NextProtos = nextProto } -func (e *UTLSClientConfig) Config() (*STDConfig, error) { +func (c *UTLSClientConfig) Config() (*STDConfig, error) { return nil, E.New("unsupported usage for uTLS") } -func (e *UTLSClientConfig) Client(conn net.Conn) (Conn, error) { - return &utlsALPNWrapper{utlsConnWrapper{utls.UClient(conn, e.config.Clone(), e.id)}, e.config.NextProtos}, nil -} - -func (e *UTLSClientConfig) SetSessionIDGenerator(generator func(clientHello []byte, sessionID []byte) error) { - e.config.SessionIDGenerator = generator -} - -func (e *UTLSClientConfig) Clone() Config { - return &UTLSClientConfig{ - config: e.config.Clone(), - id: e.id, +func (c *UTLSClientConfig) Client(conn net.Conn) (Conn, error) { + if c.recordFragment { + conn = tf.NewConn(conn, c.ctx, c.fragment, c.recordFragment, c.fragmentFallbackDelay) } + return &utlsALPNWrapper{utlsConnWrapper{utls.UClient(conn, c.config.Clone(), c.id)}, c.config.NextProtos}, nil +} + +func (c *UTLSClientConfig) SetSessionIDGenerator(generator func(clientHello []byte, sessionID []byte) error) { + c.config.SessionIDGenerator = generator +} + +func (c *UTLSClientConfig) Clone() Config { + return &UTLSClientConfig{ + c.ctx, c.config.Clone(), c.id, c.fragment, c.fragmentFallbackDelay, c.recordFragment, + } +} + +func (c *UTLSClientConfig) ECHConfigList() []byte { + return c.config.EncryptedClientHelloConfigList +} + +func (c *UTLSClientConfig) SetECHConfigList(EncryptedClientHelloConfigList []byte) { + c.config.EncryptedClientHelloConfigList = EncryptedClientHelloConfigList } type utlsConnWrapper struct { @@ -116,14 +131,12 @@ func (c *utlsALPNWrapper) HandshakeContext(ctx context.Context) error { return c.UConn.HandshakeContext(ctx) } -func NewUTLSClient(ctx context.Context, serverAddress string, options option.OutboundTLSOptions) (*UTLSClientConfig, error) { +func NewUTLSClient(ctx context.Context, serverAddress string, options option.OutboundTLSOptions) (Config, error) { var serverName string if options.ServerName != "" { serverName = options.ServerName } else if serverAddress != "" { - if _, err := netip.ParseAddr(serverName); err != nil { - serverName = serverAddress - } + serverName = serverAddress } if serverName == "" && !options.Insecure { return nil, E.New("missing server_name or insecure=true") @@ -132,11 +145,7 @@ func NewUTLSClient(ctx context.Context, serverAddress string, options option.Out var tlsConfig utls.Config tlsConfig.Time = ntp.TimeFuncFromContext(ctx) tlsConfig.RootCAs = adapter.RootPoolFromContext(ctx) - if options.DisableSNI { - tlsConfig.ServerName = "127.0.0.1" - } else { - tlsConfig.ServerName = serverName - } + tlsConfig.ServerName = serverName if options.Insecure { tlsConfig.InsecureSkipVerify = options.Insecure } else if options.DisableSNI { @@ -192,7 +201,15 @@ func NewUTLSClient(ctx context.Context, serverAddress string, options option.Out if err != nil { return nil, err } - return &UTLSClientConfig{&tlsConfig, id}, nil + uConfig := &UTLSClientConfig{ctx, &tlsConfig, id, options.Fragment, time.Duration(options.FragmentFallbackDelay), options.RecordFragment} + if options.ECH != nil && options.ECH.Enabled { + if options.Reality != nil && options.Reality.Enabled { + return nil, E.New("Reality is conflict with ECH") + } + return parseECHClientConfig(ctx, uConfig, options) + } else { + return uConfig, nil + } } var ( @@ -220,7 +237,7 @@ func init() { func uTLSClientHelloID(name string) (utls.ClientHelloID, error) { switch name { - case "chrome_psk", "chrome_psk_shuffle", "chrome_padding_psk_shuffle", "chrome_pq": + case "chrome_psk", "chrome_psk_shuffle", "chrome_padding_psk_shuffle", "chrome_pq", "chrome_pq_psk": fallthrough case "chrome", "": return utls.HelloChrome_Auto, nil diff --git a/sing-box/common/tlsfragment/conn.go b/sing-box/common/tlsfragment/conn.go index 50baa6baae..7c2123a413 100644 --- a/sing-box/common/tlsfragment/conn.go +++ b/sing-box/common/tlsfragment/conn.go @@ -9,6 +9,7 @@ import ( "strings" "time" + C "github.com/sagernet/sing-box/constant" N "github.com/sagernet/sing/common/network" "golang.org/x/net/publicsuffix" @@ -19,16 +20,21 @@ type Conn struct { tcpConn *net.TCPConn ctx context.Context firstPacketWritten bool + splitPacket bool splitRecord bool fallbackDelay time.Duration } -func NewConn(conn net.Conn, ctx context.Context, splitRecord bool, fallbackDelay time.Duration) *Conn { +func NewConn(conn net.Conn, ctx context.Context, splitPacket bool, splitRecord bool, fallbackDelay time.Duration) *Conn { + if fallbackDelay == 0 { + fallbackDelay = C.TLSFragmentFallbackDelay + } tcpConn, _ := N.UnwrapReader(conn).(*net.TCPConn) return &Conn{ Conn: conn, tcpConn: tcpConn, ctx: ctx, + splitPacket: splitPacket, splitRecord: splitRecord, fallbackDelay: fallbackDelay, } @@ -41,7 +47,7 @@ func (c *Conn) Write(b []byte) (n int, err error) { }() serverName := indexTLSServerName(b) if serverName != nil { - if !c.splitRecord { + if c.splitPacket { if c.tcpConn != nil { err = c.tcpConn.SetNoDelay(true) if err != nil { @@ -81,33 +87,41 @@ func (c *Conn) Write(b []byte) (n int, err error) { payload = b[splitIndexes[i-1]:splitIndexes[i]] } if c.splitRecord { + if c.splitPacket { + buffer.Reset() + } payloadLen := uint16(len(payload)) buffer.Write(b[:3]) binary.Write(&buffer, binary.BigEndian, payloadLen) buffer.Write(payload) - } else if c.tcpConn != nil && i != len(splitIndexes) { - err = writeAndWaitAck(c.ctx, c.tcpConn, payload, c.fallbackDelay) - if err != nil { - return + if c.splitPacket { + payload = buffer.Bytes() } - } else { - _, err = c.Conn.Write(payload) - if err != nil { - return + } + if c.splitPacket { + if c.tcpConn != nil && i != len(splitIndexes) { + err = writeAndWaitAck(c.ctx, c.tcpConn, payload, c.fallbackDelay) + if err != nil { + return + } + } else { + _, err = c.Conn.Write(payload) + if err != nil { + return + } } } } - if c.splitRecord { + if c.splitRecord && !c.splitPacket { _, err = c.Conn.Write(buffer.Bytes()) if err != nil { return } - } else { - if c.tcpConn != nil { - err = c.tcpConn.SetNoDelay(false) - if err != nil { - return - } + } + if c.tcpConn != nil { + err = c.tcpConn.SetNoDelay(false) + if err != nil { + return } } return len(b), nil diff --git a/sing-box/common/tlsfragment/conn_test.go b/sing-box/common/tlsfragment/conn_test.go index 21e2fcb2ae..b7ade87303 100644 --- a/sing-box/common/tlsfragment/conn_test.go +++ b/sing-box/common/tlsfragment/conn_test.go @@ -15,7 +15,7 @@ func TestTLSFragment(t *testing.T) { t.Parallel() tcpConn, err := net.Dial("tcp", "1.1.1.1:443") require.NoError(t, err) - tlsConn := tls.Client(tf.NewConn(tcpConn, context.Background(), false, 0), &tls.Config{ + tlsConn := tls.Client(tf.NewConn(tcpConn, context.Background(), true, false, 0), &tls.Config{ ServerName: "www.cloudflare.com", }) require.NoError(t, tlsConn.Handshake()) @@ -25,7 +25,17 @@ func TestTLSRecordFragment(t *testing.T) { t.Parallel() tcpConn, err := net.Dial("tcp", "1.1.1.1:443") require.NoError(t, err) - tlsConn := tls.Client(tf.NewConn(tcpConn, context.Background(), true, 0), &tls.Config{ + tlsConn := tls.Client(tf.NewConn(tcpConn, context.Background(), false, true, 0), &tls.Config{ + ServerName: "www.cloudflare.com", + }) + require.NoError(t, tlsConn.Handshake()) +} + +func TestTLS2Fragment(t *testing.T) { + t.Parallel() + tcpConn, err := net.Dial("tcp", "1.1.1.1:443") + require.NoError(t, err) + tlsConn := tls.Client(tf.NewConn(tcpConn, context.Background(), true, true, 0), &tls.Config{ ServerName: "www.cloudflare.com", }) require.NoError(t, tlsConn.Handshake()) diff --git a/sing-box/docs/changelog.md b/sing-box/docs/changelog.md index 4a8dc711bc..8c72403be9 100644 --- a/sing-box/docs/changelog.md +++ b/sing-box/docs/changelog.md @@ -2,6 +2,22 @@ icon: material/alert-decagram --- +#### 1.12.0-beta.24 + +* Allow `tls_fragment` and `tls_record_fragment` to be enabled together **1** +* Also add fragment options for TLS client configuration **2** +* Fixes and improvements + +**1**: + +For debugging only, it is recommended to disable if record fragmentation works. + +See [Route Action](/configuration/route/rule_action/#tls_fragment). + +**2**: + +See [TLS](/configuration/shared/tls/). + #### 1.12.0-beta.23 * Add loopback address support for tun **1** diff --git a/sing-box/docs/configuration/route/rule_action.md b/sing-box/docs/configuration/route/rule_action.md index 1bba954253..c975af2b00 100644 --- a/sing-box/docs/configuration/route/rule_action.md +++ b/sing-box/docs/configuration/route/rule_action.md @@ -172,14 +172,12 @@ and should not be used to circumvent real censorship. Due to poor performance, try `tls_record_fragment` first, and only apply to server names known to be blocked. On Linux, Apple platforms, (administrator privileges required) Windows, -the wait time can be automatically detected, otherwise it will fall back to +the wait time can be automatically detected. Otherwise, it will fall back to waiting for a fixed time specified by `tls_fragment_fallback_delay`. In addition, if the actual wait time is less than 20ms, it will also fall back to waiting for a fixed time, because the target is considered to be local or behind a transparent proxy. -Conflict with `tls_record_fragment`. - #### tls_fragment_fallback_delay !!! question "Since sing-box 1.12.0" @@ -194,11 +192,6 @@ The fallback value used when TLS segmentation cannot automatically determine the Fragment TLS handshake into multiple TLS records to bypass firewalls. -This feature is intended to circumvent simple firewalls based on **plaintext packet matching**, -and should not be used to circumvent real censorship. - -Conflict with `tls_fragment`. - ### sniff ```json diff --git a/sing-box/docs/configuration/route/rule_action.zh.md b/sing-box/docs/configuration/route/rule_action.zh.md index e1626963fb..0081e82798 100644 --- a/sing-box/docs/configuration/route/rule_action.zh.md +++ b/sing-box/docs/configuration/route/rule_action.zh.md @@ -170,8 +170,6 @@ UDP 连接超时时间。 此外,若实际等待时间小于 20 毫秒,同样会回退至固定等待时间模式,因为此时判定目标处于本地或透明代理之后。 -与 `tls_record_fragment` 冲突。 - #### tls_fragment_fallback_delay !!! question "自 sing-box 1.12.0 起" @@ -186,10 +184,6 @@ UDP 连接超时时间。 通过分段 TLS 握手数据包到多个 TLS 记录来绕过防火墙检测。 -此功能旨在规避基于**明文数据包匹配**的简单防火墙,不应该用于规避真的审查。 - -与 `tls_fragment` 冲突。 - ### sniff ```json diff --git a/sing-box/docs/configuration/shared/tls.md b/sing-box/docs/configuration/shared/tls.md index e4d777182d..6fe74846bd 100644 --- a/sing-box/docs/configuration/shared/tls.md +++ b/sing-box/docs/configuration/shared/tls.md @@ -4,6 +4,9 @@ icon: material/alert-decagram !!! quote "Changes in sing-box 1.12.0" + :material-plus: [fragment](#fragment) + :material-plus: [fragment_fallback_delay](#fragment_fallback_delay) + :material-plus: [record_fragment](#record_fragment) :material-delete-clock: [ech.pq_signature_schemes_enabled](#pq_signature_schemes_enabled) :material-delete-clock: [ech.dynamic_record_sizing_disabled](#dynamic_record_sizing_disabled) @@ -82,6 +85,9 @@ icon: material/alert-decagram "cipher_suites": [], "certificate": "", "certificate_path": "", + "fragment": false, + "fragment_fallback_delay": "", + "record_fragment": false, "ech": { "enabled": false, "config": [], @@ -313,6 +319,44 @@ The path to ECH configuration, in PEM format. If empty, load from DNS will be attempted. +#### fragment + +!!! question "Since sing-box 1.12.0" + +==Client only== + +Fragment TLS handshakes to bypass firewalls. + +This feature is intended to circumvent simple firewalls based on **plaintext packet matching**, +and should not be used to circumvent real censorship. + +Due to poor performance, try `record_fragment` first, and only apply to server names known to be blocked. + +On Linux, Apple platforms, (administrator privileges required) Windows, +the wait time can be automatically detected. Otherwise, it will fall back to +waiting for a fixed time specified by `fragment_fallback_delay`. + +In addition, if the actual wait time is less than 20ms, it will also fall back to waiting for a fixed time, +because the target is considered to be local or behind a transparent proxy. + +#### fragment_fallback_delay + +!!! question "Since sing-box 1.12.0" + +==Client only== + +The fallback value used when TLS segmentation cannot automatically determine the wait time. + +`500ms` is used by default. + +#### record_fragment + +!!! question "Since sing-box 1.12.0" + +==Client only== + +Fragment TLS handshake into multiple TLS records to bypass firewalls. + ### ACME Fields #### domain diff --git a/sing-box/docs/configuration/shared/tls.zh.md b/sing-box/docs/configuration/shared/tls.zh.md index 1418dd5982..b85d32907f 100644 --- a/sing-box/docs/configuration/shared/tls.zh.md +++ b/sing-box/docs/configuration/shared/tls.zh.md @@ -4,6 +4,9 @@ icon: material/alert-decagram !!! quote "sing-box 1.12.0 中的更改" + :material-plus: [tls_fragment](#tls_fragment) + :material-plus: [tls_fragment_fallback_delay](#tls_fragment_fallback_delay) + :material-plus: [tls_record_fragment](#tls_record_fragment) :material-delete-clock: [ech.pq_signature_schemes_enabled](#pq_signature_schemes_enabled) :material-delete-clock: [ech.dynamic_record_sizing_disabled](#dynamic_record_sizing_disabled) @@ -82,6 +85,9 @@ icon: material/alert-decagram "cipher_suites": [], "certificate": [], "certificate_path": "", + "fragment": false, + "fragment_fallback_delay": "", + "record_fragment": false, "ech": { "enabled": false, "pq_signature_schemes_enabled": false, @@ -305,6 +311,41 @@ ECH PEM 配置路径 如果为 true,则始终使用最大可能的 TLS 记录大小。 如果为 false,则可能会调整 TLS 记录的大小以尝试改善延迟。 +#### tls_fragment + +!!! question "自 sing-box 1.12.0 起" + +==仅客户端== + +通过分段 TLS 握手数据包来绕过防火墙检测。 + +此功能旨在规避基于**明文数据包匹配**的简单防火墙,不应该用于规避真的审查。 + +由于性能不佳,请首先尝试 `tls_record_fragment`,且仅应用于已知被阻止的服务器名称。 + +在 Linux、Apple 平台和需要管理员权限的 Windows 系统上,可自动检测等待时间。 +若无法自动检测,将回退使用 `tls_fragment_fallback_delay` 指定的固定等待时间。 + +此外,若实际等待时间小于 20 毫秒,同样会回退至固定等待时间模式,因为此时判定目标处于本地或透明代理之后。 + +#### tls_fragment_fallback_delay + +!!! question "自 sing-box 1.12.0 起" + +==仅客户端== + +当 TLS 分片功能无法自动判定等待时间时使用的回退值。 + +默认使用 `500ms`。 + +#### tls_record_fragment + +==仅客户端== + +!!! question "自 sing-box 1.12.0 起" + +通过分段 TLS 握手数据包到多个 TLS 记录来绕过防火墙检测。 + ### ACME 字段 #### domain diff --git a/sing-box/option/tls.go b/sing-box/option/tls.go index 13e753060b..1c09527cf1 100644 --- a/sing-box/option/tls.go +++ b/sing-box/option/tls.go @@ -37,19 +37,22 @@ func (o *InboundTLSOptionsContainer) ReplaceInboundTLSOptions(options *InboundTL } type OutboundTLSOptions struct { - Enabled bool `json:"enabled,omitempty"` - DisableSNI bool `json:"disable_sni,omitempty"` - ServerName string `json:"server_name,omitempty"` - Insecure bool `json:"insecure,omitempty"` - ALPN badoption.Listable[string] `json:"alpn,omitempty"` - MinVersion string `json:"min_version,omitempty"` - MaxVersion string `json:"max_version,omitempty"` - CipherSuites badoption.Listable[string] `json:"cipher_suites,omitempty"` - Certificate badoption.Listable[string] `json:"certificate,omitempty"` - CertificatePath string `json:"certificate_path,omitempty"` - ECH *OutboundECHOptions `json:"ech,omitempty"` - UTLS *OutboundUTLSOptions `json:"utls,omitempty"` - Reality *OutboundRealityOptions `json:"reality,omitempty"` + Enabled bool `json:"enabled,omitempty"` + DisableSNI bool `json:"disable_sni,omitempty"` + ServerName string `json:"server_name,omitempty"` + Insecure bool `json:"insecure,omitempty"` + ALPN badoption.Listable[string] `json:"alpn,omitempty"` + MinVersion string `json:"min_version,omitempty"` + MaxVersion string `json:"max_version,omitempty"` + CipherSuites badoption.Listable[string] `json:"cipher_suites,omitempty"` + Certificate badoption.Listable[string] `json:"certificate,omitempty"` + CertificatePath string `json:"certificate_path,omitempty"` + Fragment bool `json:"fragment,omitempty"` + FragmentFallbackDelay badoption.Duration `json:"fragment_fallback_delay,omitempty"` + RecordFragment bool `json:"record_fragment,omitempty"` + ECH *OutboundECHOptions `json:"ech,omitempty"` + UTLS *OutboundUTLSOptions `json:"utls,omitempty"` + Reality *OutboundRealityOptions `json:"reality,omitempty"` } type OutboundTLSOptionsContainer struct { diff --git a/sing-box/route/conn.go b/sing-box/route/conn.go index d5f914b824..0318e98d37 100644 --- a/sing-box/route/conn.go +++ b/sing-box/route/conn.go @@ -90,14 +90,8 @@ func (m *ConnectionManager) NewConnection(ctx context.Context, this N.Dialer, co m.logger.ErrorContext(ctx, err) return } - if metadata.TLSFragment { - fallbackDelay := metadata.TLSFragmentFallbackDelay - if fallbackDelay == 0 { - fallbackDelay = C.TLSFragmentFallbackDelay - } - remoteConn = tf.NewConn(remoteConn, ctx, false, fallbackDelay) - } else if metadata.TLSRecordFragment { - remoteConn = tf.NewConn(remoteConn, ctx, true, 0) + if metadata.TLSFragment || metadata.TLSRecordFragment { + remoteConn = tf.NewConn(remoteConn, ctx, metadata.TLSFragment, metadata.TLSRecordFragment, metadata.TLSFragmentFallbackDelay) } m.access.Lock() element := m.connections.PushBack(conn) diff --git a/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js b/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js index eb2d8a66ec..86af03956f 100644 --- a/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js +++ b/small/luci-app-fchomo/htdocs/luci-static/resources/view/fchomo/client.js @@ -95,7 +95,7 @@ class DNSAddress { toString() { return this.addr + (this.params.size === 0 ? '' : '#' + - ['detour', 'h3', 'ecs', 'ecs-override'].map((k) => { + ['detour', 'h3', 'skip-cert-verify', 'ecs', 'ecs-override', 'disable-ipv4', 'disable-ipv6'].map((k) => { return this.params.has(k) ? '%s=%s'.format(k, encodeURI(this.params.get(k))) : null; }).filter(v => v).join('&') ); @@ -1358,17 +1358,15 @@ return view.extend({ // https://github.com/muink/mihomo/blob/43f21c0b412b7a8701fe7a2ea6510c5b985a53d6/config/config.go#L1211C8-L1211C14 if (value.match(/^https?:\/\//)){ this.section.getUIElement(section_id, 'h3').node.querySelector('input').disabled = null; - this.section.getUIElement(section_id, 'ecs').node.querySelector('input').disabled = null; - this.section.getUIElement(section_id, 'ecs-override').node.querySelector('input').disabled = null; } else { let UIEl = this.section.getUIElement(section_id, 'address'); - let newvalue = new DNSAddress(UIEl.getValue()).setParam('h3').setParam('ecs').setParam('ecs-override').toString(); + let newvalue = new DNSAddress(UIEl.getValue()).setParam('h3').toString(); UIEl.node.previousSibling.innerText = newvalue; UIEl.setValue(newvalue); - ['h3', 'ecs', 'ecs-override'].forEach((opt) => { + ['h3'].forEach((opt) => { let UIEl = this.section.getUIElement(section_id, opt); UIEl.setValue(''); UIEl.node.querySelector('input').disabled = 'true'; @@ -1422,6 +1420,25 @@ return view.extend({ so.write = function() {}; so.modalonly = true; + so = ss.option(form.Flag, 'skip-cert-verify', _('Skip cert verify'), + _('Donot verifying server certificate.') + + '
' + + _('This is DANGEROUS, your traffic is almost like PLAIN TEXT! Use at your own risk!')); + so.default = so.disabled; + so.load = function(section_id) { + return boolToFlag(new DNSAddress(uci.get(data[0], section_id, 'address')).parseParam('skip-cert-verify') ? true : false); + } + so.onchange = function(ev, section_id, value) { + let UIEl = this.section.getUIElement(section_id, 'address'); + + let newvalue = new DNSAddress(UIEl.getValue()).setParam('skip-cert-verify', flagToBool(value) || null).toString(); + + UIEl.node.previousSibling.innerText = newvalue; + UIEl.setValue(newvalue); + } + so.write = function() {}; + so.modalonly = true; + so = ss.option(form.Value, 'ecs', _('EDNS Client Subnet')); so.datatype = 'cidr'; so.load = function(section_id) { @@ -1455,6 +1472,38 @@ return view.extend({ so.write = function() {}; so.depends({'ecs': /.+/}); so.modalonly = true; + + so = ss.option(form.Flag, 'disable-ipv4', _('Discard A responses')); + so.default = so.disabled; + so.load = function(section_id) { + return boolToFlag(new DNSAddress(uci.get(data[0], section_id, 'address')).parseParam('disable-ipv4') ? true : false); + } + so.onchange = function(ev, section_id, value) { + let UIEl = this.section.getUIElement(section_id, 'address'); + + let newvalue = new DNSAddress(UIEl.getValue()).setParam('disable-ipv4', flagToBool(value) || null).toString(); + + UIEl.node.previousSibling.innerText = newvalue; + UIEl.setValue(newvalue); + } + so.write = function() {}; + so.modalonly = true; + + so = ss.option(form.Flag, 'disable-ipv6', _('Discard AAAA responses')); + so.default = so.disabled; + so.load = function(section_id) { + return boolToFlag(new DNSAddress(uci.get(data[0], section_id, 'address')).parseParam('disable-ipv6') ? true : false); + } + so.onchange = function(ev, section_id, value) { + let UIEl = this.section.getUIElement(section_id, 'address'); + + let newvalue = new DNSAddress(UIEl.getValue()).setParam('disable-ipv6', flagToBool(value) || null).toString(); + + UIEl.node.previousSibling.innerText = newvalue; + UIEl.setValue(newvalue); + } + so.write = function() {}; + so.modalonly = true; /* DNS server END */ /* DNS policy START */ diff --git a/small/luci-app-fchomo/root/usr/share/fchomo/firewall_post.ut b/small/luci-app-fchomo/root/usr/share/fchomo/firewall_post.ut index 66d3ddf8b8..6e5797a3e4 100644 --- a/small/luci-app-fchomo/root/usr/share/fchomo/firewall_post.ut +++ b/small/luci-app-fchomo/root/usr/share/fchomo/firewall_post.ut @@ -171,16 +171,16 @@ chain {{ inchain }} { fib daddr type { local } counter return ct direction reply counter return - ip daddr @inet4_local_addr counter return - {% if (global_ipv6 === '1'): %} - ip6 daddr @inet6_local_addr counter return - {% endif %} - ip daddr @inet4_wan_proxy_addr counter goto {{ outchain }} {% if (global_ipv6 === '1'): %} ip6 daddr @inet6_wan_proxy_addr counter goto {{ outchain }} {% endif %} + ip daddr @inet4_local_addr counter return + {% if (global_ipv6 === '1'): %} + ip6 daddr @inet6_local_addr counter return + {% endif %} + ip daddr @inet4_wan_direct_addr counter return {% if (global_ipv6 === '1'): %} ip6 daddr @inet6_wan_direct_addr counter return diff --git a/small/luci-app-nikki/Makefile b/small/luci-app-nikki/Makefile index fbf7ad7548..2aab787e32 100644 --- a/small/luci-app-nikki/Makefile +++ b/small/luci-app-nikki/Makefile @@ -1,6 +1,6 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.22.4 +PKG_VERSION:=1.23.0 LUCI_TITLE:=LuCI Support for nikki LUCI_DEPENDS:=+luci-base +nikki diff --git a/small/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js b/small/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js index 8b59c7780d..b5c25524f3 100644 --- a/small/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js +++ b/small/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js @@ -125,6 +125,9 @@ return view.extend({ o = s.option(form.Flag, 'fast_reload', _('Fast Reload')); o.rmempty = false; + o = s.option(form.Flag, 'core_only', _('Core Only')); + o.rmempty = false; + s = m.section(form.NamedSection, 'env', 'env', _('Core Environment Variable Config')); o = s.option(form.Flag, 'disable_safe_path_check', _('Disable Safe Path Check')); diff --git a/small/luci-app-nikki/po/templates/nikki.pot b/small/luci-app-nikki/po/templates/nikki.pot index 623e0b2165..cb626787d1 100644 --- a/small/luci-app-nikki/po/templates/nikki.pot +++ b/small/luci-app-nikki/po/templates/nikki.pot @@ -1,33 +1,33 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:121 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:120 msgid "API Listen" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:126 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:125 msgid "API Secret" msgstr "" #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:69 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:114 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:118 msgid "Access Control" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:162 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:167 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:168 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:173 msgid "All Port" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:138 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:137 msgid "Allow Lan" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:263 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:262 msgid "Allow Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:93 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:94 #: applications/luci-app-nikki/root/usr/share/luci/menu.d/luci-app-nikki.json:13 msgid "App Config" msgstr "" @@ -36,39 +36,39 @@ msgstr "" msgid "App Log" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:42 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:43 msgid "App Version" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:486 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:485 msgid "Append Rule" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:417 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:416 msgid "Append Rule Provider" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:473 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:472 msgid "Behavior" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:262 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:261 msgid "Block Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:155 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:161 msgid "Bypass" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:157 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:163 msgid "Bypass China Mainland IP" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:170 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:176 msgid "Bypass DSCP" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:91 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:93 msgid "CGroup" msgstr "" @@ -76,7 +76,7 @@ msgstr "" msgid "Choose File" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:98 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:99 msgid "Choose Profile" msgstr "" @@ -85,12 +85,12 @@ msgstr "" msgid "Clear Log" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:163 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:168 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:169 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:174 msgid "Commonly Used Port" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:127 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:131 msgid "Core Environment Variable Config" msgstr "" @@ -98,27 +98,31 @@ msgstr "" msgid "Core Log" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:56 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:128 +msgid "Core Only" +msgstr "" + +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:57 msgid "Core Status" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:49 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:50 msgid "Core Version" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:116 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:117 msgid "Cron Expression" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:229 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:228 msgid "DNS Config" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:231 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:230 msgid "DNS Listen" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:242 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:241 msgid "DNS Mode" msgstr "" @@ -126,27 +130,27 @@ msgstr "" msgid "Debug Log" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:508 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:507 msgid "Destination IP" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:512 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:511 msgid "Destination IP Geo" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:509 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:508 msgid "Destination Port" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:160 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:166 msgid "Destination TCP Port to Proxy" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:165 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:171 msgid "Destination UDP Port to Proxy" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:189 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:188 msgid "Device Name" msgstr "" @@ -158,38 +162,38 @@ msgstr "" #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:73 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:79 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:85 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:133 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:141 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:207 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:217 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:239 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:268 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:274 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:280 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:286 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:292 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:361 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:367 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:373 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:559 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:132 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:140 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:206 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:216 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:238 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:267 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:273 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:279 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:285 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:291 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:360 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:366 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:372 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:558 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:38 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:45 msgid "Disable" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:141 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:142 msgid "Disable ECN of quic-go" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:137 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:139 msgid "Disable GSO of quic-go" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:133 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:136 msgid "Disable Loopback Detector" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:129 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:133 msgid "Disable Safe Path Check" msgstr "" @@ -197,60 +201,60 @@ msgstr "" msgid "Disable TCP Keep Alive" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:277 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:276 msgid "DoH Prefer HTTP/3" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:309 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:504 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:308 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:503 msgid "Domain Name" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:511 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:510 msgid "Domain Name Geo" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:506 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:505 msgid "Domain Name Keyword" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:507 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:506 msgid "Domain Name Regex" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:505 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:504 msgid "Domain Name Suffix" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:169 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:168 msgid "Edit Authentications" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:223 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:222 msgid "Edit DNS Hijacks" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:255 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:254 msgid "Edit Fake-IP Filters" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:298 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:297 msgid "Edit Hosts" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:340 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:339 msgid "Edit Nameserver Policies" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:317 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:316 msgid "Edit Nameservers" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:420 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:419 msgid "Edit Rule Providers" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:489 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:488 msgid "Edit Rules" msgstr "" @@ -263,43 +267,43 @@ msgstr "" msgid "Editor" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:95 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:96 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:68 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:74 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:80 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:86 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:134 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:142 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:177 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:208 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:218 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:240 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:269 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:275 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:281 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:287 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:293 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:306 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:325 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:348 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:358 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:362 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:368 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:374 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:400 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:428 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:497 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:560 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:568 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:133 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:141 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:176 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:207 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:217 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:239 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:268 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:274 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:280 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:286 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:292 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:305 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:324 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:347 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:357 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:361 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:367 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:373 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:399 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:427 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:496 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:559 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:567 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:33 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:66 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:75 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:102 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:120 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:77 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:104 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:126 msgid "Enable" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:214 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:213 msgid "Endpoint Independent NAT" msgstr "" @@ -311,11 +315,11 @@ msgstr "" msgid "External Control Config" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:265 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:264 msgid "Fake-IP Cache" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:259 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:258 msgid "Fake-IP Filter Mode" msgstr "" @@ -323,23 +327,23 @@ msgstr "" msgid "Fake-IP Ping Hijack" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:247 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:246 msgid "Fake-IP Range" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:124 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:125 msgid "Fast Reload" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:467 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:466 msgid "File Format" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:461 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:460 msgid "File Path" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:455 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:454 msgid "File Size Limit" msgstr "" @@ -355,20 +359,20 @@ msgstr "" msgid "File for Reserved IP6" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:102 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:103 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/editor.js:33 msgid "File:" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:379 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:378 msgid "Force Sniff Domain Name" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:204 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:203 msgid "GSO" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:210 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:209 msgid "GSO Max Size" msgstr "" @@ -380,39 +384,39 @@ msgstr "" msgid "Generate & Download" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:538 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:537 msgid "GeoData Loader" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:532 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:531 msgid "GeoIP Format" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:553 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:552 msgid "GeoIP(ASN) Url" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:550 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:549 msgid "GeoIP(DAT) Url" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:547 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:546 msgid "GeoIP(MMDB) Url" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:544 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:543 msgid "GeoSite Url" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:556 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:555 msgid "GeoX Auto Update" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:530 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:529 msgid "GeoX Config" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:562 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:561 msgid "GeoX Update Interval" msgstr "" @@ -428,11 +432,11 @@ msgstr "" msgid "Grant access to nikki procedures" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:85 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:87 msgid "Group" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:144 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:143 msgid "HTTP Port" msgstr "" @@ -456,19 +460,19 @@ msgstr "" msgid "IPv6 Proxy" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:386 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:385 msgid "Ignore Sniff Domain Name" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:136 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:135 msgid "Inbound Config" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:104 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:106 msgid "Inbound Interface" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:100 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:102 msgid "LAN Proxy" msgstr "" @@ -485,7 +489,7 @@ msgstr "" msgid "Log Level" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:200 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:199 msgid "MTU" msgstr "" @@ -493,16 +497,16 @@ msgstr "" msgid "Match Process" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:351 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:514 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:350 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:513 msgid "Matcher" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:542 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:541 msgid "Memory Conservative Loader" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:152 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:151 msgid "Mixed Port" msgstr "" @@ -510,7 +514,7 @@ msgstr "" msgid "Mixin Config" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:566 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:565 msgid "Mixin File Content" msgstr "" @@ -522,12 +526,12 @@ msgstr "" msgid "Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:434 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:433 msgid "Name" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:335 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:354 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:334 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:353 msgid "Nameserver" msgstr "" @@ -540,7 +544,7 @@ msgstr "" msgid "No Resolve" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:448 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:447 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:517 msgid "Node" msgstr "" @@ -549,7 +553,7 @@ msgstr "" msgid "Not Running" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:88 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:89 msgid "Open Dashboard" msgstr "" @@ -557,55 +561,55 @@ msgstr "" msgid "Outbound Interface" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:166 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:165 msgid "Overwrite Authentication" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:220 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:219 msgid "Overwrite DNS Hijack" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:412 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:411 msgid "Overwrite Destination" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:252 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:251 msgid "Overwrite Fake-IP Filter" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:376 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:375 msgid "Overwrite Force Sniff Domain Name" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:295 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:294 msgid "Overwrite Hosts" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:383 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:382 msgid "Overwrite Ignore Sniff Domain Name" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:314 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:313 msgid "Overwrite Nameserver" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:337 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:336 msgid "Overwrite Nameserver Policy" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:390 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:389 msgid "Overwrite Sniff By Protocol" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:183 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:182 msgid "Password" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:568 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:567 msgid "Please go to the editor tab to edit the file for mixin" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:409 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:408 msgid "Port" msgstr "" @@ -613,7 +617,7 @@ msgstr "" msgid "Prefer" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:510 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:509 msgid "Process Name" msgstr "" @@ -626,12 +630,12 @@ msgstr "" msgid "Profile for Startup" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:403 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:402 msgid "Protocol" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:97 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:152 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:99 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:158 msgid "Proxy" msgstr "" @@ -653,11 +657,11 @@ msgstr "" msgid "Redirect Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:156 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:155 msgid "Redirect Port" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:68 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:69 msgid "Reload Service" msgstr "" @@ -665,11 +669,11 @@ msgstr "" msgid "Remote" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:271 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:270 msgid "Respect Rules" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:75 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:76 msgid "Restart Service" msgstr "" @@ -677,7 +681,7 @@ msgstr "" msgid "Router Proxy" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:415 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:414 msgid "Rule Config" msgstr "" @@ -689,7 +693,7 @@ msgstr "" msgid "Rule Provider:" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:503 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:502 msgid "Rule Set" msgstr "" @@ -697,15 +701,15 @@ msgstr "" msgid "Running" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:148 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:147 msgid "SOCKS Port" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:130 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:129 msgid "Save Proxy Selection" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:113 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:114 msgid "Scheduled Restart" msgstr "" @@ -714,31 +718,31 @@ msgstr "" msgid "Scroll To Bottom" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:393 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:392 msgid "Sniff By Protocol" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:370 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:369 msgid "Sniff Pure IP" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:364 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:363 msgid "Sniff Redir-Host" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:356 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:355 msgid "Sniffer Config" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:193 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:192 msgid "Stack" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:541 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:540 msgid "Standard Loader" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:109 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:110 msgid "Start Delay" msgstr "" @@ -758,7 +762,7 @@ msgstr "" msgid "Subscription Url" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:106 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:107 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/editor.js:37 msgid "Subscription:" msgstr "" @@ -784,11 +788,11 @@ msgstr "" msgid "TPROXY Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:161 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:160 msgid "TPROXY Port" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:187 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:186 msgid "TUN Config" msgstr "" @@ -797,7 +801,7 @@ msgstr "" msgid "TUN Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:121 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:122 msgid "Test Profile" msgstr "" @@ -809,9 +813,9 @@ msgstr "" msgid "Transparent Proxy with Mihomo on OpenWrt." msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:328 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:437 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:501 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:327 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:436 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:500 msgid "Type" msgstr "" @@ -819,7 +823,7 @@ msgstr "" msgid "UDP Mode" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:110 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:109 msgid "UI Name" msgstr "" @@ -827,7 +831,7 @@ msgstr "" msgid "UI Path" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:113 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:112 msgid "UI Url" msgstr "" @@ -847,44 +851,44 @@ msgstr "" #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:94 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:97 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:107 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:111 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:114 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:123 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:128 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:132 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:140 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:146 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:150 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:154 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:158 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:163 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:190 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:195 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:202 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:206 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:212 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:216 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:233 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:238 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:243 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:249 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:261 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:267 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:273 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:279 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:285 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:291 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:360 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:366 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:372 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:534 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:540 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:545 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:548 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:551 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:554 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:558 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:564 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:110 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:113 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:122 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:127 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:131 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:139 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:145 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:149 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:153 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:157 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:162 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:189 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:194 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:201 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:205 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:211 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:215 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:232 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:237 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:242 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:248 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:260 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:266 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:272 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:278 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:284 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:290 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:359 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:365 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:371 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:533 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:539 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:544 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:547 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:550 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:553 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:557 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:563 msgid "Unmodified" msgstr "" @@ -896,11 +900,11 @@ msgstr "" msgid "Update At" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:82 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:83 msgid "Update Dashboard" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:480 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:479 msgid "Update Interval" msgstr "" @@ -908,15 +912,15 @@ msgstr "" msgid "Upload Profile" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:443 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:442 msgid "Url" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:289 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:288 msgid "Use Hosts" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:283 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:282 msgid "Use System Hosts" msgstr "" @@ -924,7 +928,7 @@ msgstr "" msgid "Used" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:79 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:81 msgid "User" msgstr "" @@ -932,6 +936,6 @@ msgstr "" msgid "User Agent" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:180 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:179 msgid "Username" msgstr "" diff --git a/small/luci-app-nikki/po/zh_Hans/nikki.po b/small/luci-app-nikki/po/zh_Hans/nikki.po index 6d970f10b3..3c63948f36 100644 --- a/small/luci-app-nikki/po/zh_Hans/nikki.po +++ b/small/luci-app-nikki/po/zh_Hans/nikki.po @@ -8,33 +8,33 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:121 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:120 msgid "API Listen" msgstr "API 监听" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:126 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:125 msgid "API Secret" msgstr "API 密钥" #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:69 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:114 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:118 msgid "Access Control" msgstr "访问控制" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:162 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:167 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:168 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:173 msgid "All Port" msgstr "全部端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:138 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:137 msgid "Allow Lan" msgstr "允许局域网访问" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:263 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:262 msgid "Allow Mode" msgstr "白名单模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:93 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:94 #: applications/luci-app-nikki/root/usr/share/luci/menu.d/luci-app-nikki.json:13 msgid "App Config" msgstr "插件配置" @@ -43,39 +43,39 @@ msgstr "插件配置" msgid "App Log" msgstr "插件日志" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:42 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:43 msgid "App Version" msgstr "插件版本" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:486 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:485 msgid "Append Rule" msgstr "追加规则" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:417 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:416 msgid "Append Rule Provider" msgstr "追加规则提供者" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:473 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:472 msgid "Behavior" msgstr "行为" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:262 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:261 msgid "Block Mode" msgstr "黑名单模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:155 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:161 msgid "Bypass" msgstr "绕过" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:157 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:163 msgid "Bypass China Mainland IP" msgstr "绕过中国大陆 IP" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:170 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:176 msgid "Bypass DSCP" msgstr "绕过 DSCP" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:91 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:93 msgid "CGroup" msgstr "控制组" @@ -83,7 +83,7 @@ msgstr "控制组" msgid "Choose File" msgstr "选择文件" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:98 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:99 msgid "Choose Profile" msgstr "选择配置文件" @@ -92,12 +92,12 @@ msgstr "选择配置文件" msgid "Clear Log" msgstr "清空日志" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:163 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:168 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:169 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:174 msgid "Commonly Used Port" msgstr "常用端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:127 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:131 msgid "Core Environment Variable Config" msgstr "核心环境变量配置" @@ -105,27 +105,31 @@ msgstr "核心环境变量配置" msgid "Core Log" msgstr "核心日志" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:56 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:128 +msgid "Core Only" +msgstr "仅核心" + +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:57 msgid "Core Status" msgstr "核心状态" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:49 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:50 msgid "Core Version" msgstr "核心版本" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:116 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:117 msgid "Cron Expression" msgstr "Cron 表达式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:229 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:228 msgid "DNS Config" msgstr "DNS 配置" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:231 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:230 msgid "DNS Listen" msgstr "DNS 监听" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:242 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:241 msgid "DNS Mode" msgstr "DNS 模式" @@ -133,27 +137,27 @@ msgstr "DNS 模式" msgid "Debug Log" msgstr "调试日志" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:508 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:507 msgid "Destination IP" msgstr "目标 IP" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:512 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:511 msgid "Destination IP Geo" msgstr "目标 IP(Geo)" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:509 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:508 msgid "Destination Port" msgstr "目标端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:160 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:166 msgid "Destination TCP Port to Proxy" msgstr "要代理的 TCP 目标端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:165 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:171 msgid "Destination UDP Port to Proxy" msgstr "要代理的 UDP 目标端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:189 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:188 msgid "Device Name" msgstr "设备名称" @@ -165,38 +169,38 @@ msgstr "直连模式" #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:73 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:79 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:85 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:133 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:141 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:207 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:217 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:239 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:268 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:274 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:280 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:286 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:292 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:361 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:367 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:373 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:559 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:132 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:140 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:206 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:216 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:238 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:267 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:273 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:279 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:285 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:291 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:360 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:366 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:372 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:558 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:38 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:45 msgid "Disable" msgstr "禁用" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:141 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:142 msgid "Disable ECN of quic-go" msgstr "禁用 quic-go 的显式拥塞通知" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:137 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:139 msgid "Disable GSO of quic-go" msgstr "禁用 quic-go 的通用分段卸载" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:133 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:136 msgid "Disable Loopback Detector" msgstr "禁用回环检测" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:129 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:133 msgid "Disable Safe Path Check" msgstr "禁用安全路径检查" @@ -204,60 +208,60 @@ msgstr "禁用安全路径检查" msgid "Disable TCP Keep Alive" msgstr "禁用 TCP Keep Alive" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:277 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:276 msgid "DoH Prefer HTTP/3" msgstr "DoH 优先 HTTP/3" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:309 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:504 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:308 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:503 msgid "Domain Name" msgstr "域名" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:511 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:510 msgid "Domain Name Geo" msgstr "域名(Geo)" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:506 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:505 msgid "Domain Name Keyword" msgstr "域名(关键字)" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:507 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:506 msgid "Domain Name Regex" msgstr "域名(正则表达式)" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:505 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:504 msgid "Domain Name Suffix" msgstr "域名(后缀)" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:169 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:168 msgid "Edit Authentications" msgstr "编辑身份验证" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:223 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:222 msgid "Edit DNS Hijacks" msgstr "编辑 DNS 劫持" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:255 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:254 msgid "Edit Fake-IP Filters" msgstr "编辑 Fake-IP 过滤列表" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:298 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:297 msgid "Edit Hosts" msgstr "编辑 Hosts" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:340 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:339 msgid "Edit Nameserver Policies" msgstr "编辑 DNS 服务器查询策略" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:317 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:316 msgid "Edit Nameservers" msgstr "编辑 DNS 服务器" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:420 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:419 msgid "Edit Rule Providers" msgstr "编辑规则提供者" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:489 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:488 msgid "Edit Rules" msgstr "编辑规则" @@ -270,43 +274,43 @@ msgstr "编辑订阅" msgid "Editor" msgstr "编辑器" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:95 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:96 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:68 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:74 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:80 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:86 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:134 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:142 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:177 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:208 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:218 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:240 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:269 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:275 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:281 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:287 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:293 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:306 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:325 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:348 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:358 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:362 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:368 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:374 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:400 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:428 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:497 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:560 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:568 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:133 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:141 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:176 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:207 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:217 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:239 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:268 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:274 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:280 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:286 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:292 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:305 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:324 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:347 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:357 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:361 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:367 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:373 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:399 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:427 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:496 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:559 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:567 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:33 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:66 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:75 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:102 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:120 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:77 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:104 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:126 msgid "Enable" msgstr "启用" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:214 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:213 msgid "Endpoint Independent NAT" msgstr "独立于端点的 NAT" @@ -318,11 +322,11 @@ msgstr "到期时间" msgid "External Control Config" msgstr "外部控制配置" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:265 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:264 msgid "Fake-IP Cache" msgstr "Fake-IP 缓存" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:259 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:258 msgid "Fake-IP Filter Mode" msgstr "Fake-IP 过滤模式" @@ -330,23 +334,23 @@ msgstr "Fake-IP 过滤模式" msgid "Fake-IP Ping Hijack" msgstr "Fake-IP Ping 劫持" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:247 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:246 msgid "Fake-IP Range" msgstr "Fake-IP 范围" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:124 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:125 msgid "Fast Reload" msgstr "快速重载" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:467 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:466 msgid "File Format" msgstr "文件格式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:461 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:460 msgid "File Path" msgstr "文件路径" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:455 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:454 msgid "File Size Limit" msgstr "文件大小限制" @@ -362,20 +366,20 @@ msgstr "IPv4 保留地址" msgid "File for Reserved IP6" msgstr "IPv6 保留地址" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:102 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:103 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/editor.js:33 msgid "File:" msgstr "文件:" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:379 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:378 msgid "Force Sniff Domain Name" msgstr "强制嗅探的域名" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:204 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:203 msgid "GSO" msgstr "通用分段卸载" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:210 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:209 msgid "GSO Max Size" msgstr "分段最大长度" @@ -387,39 +391,39 @@ msgstr "全局配置" msgid "Generate & Download" msgstr "生成并下载" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:538 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:537 msgid "GeoData Loader" msgstr "GeoData 加载器" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:532 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:531 msgid "GeoIP Format" msgstr "GeoIP 格式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:553 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:552 msgid "GeoIP(ASN) Url" msgstr "GeoIP(ASN) 下载地址" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:550 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:549 msgid "GeoIP(DAT) Url" msgstr "GeoIP(DAT) 下载地址" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:547 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:546 msgid "GeoIP(MMDB) Url" msgstr "GeoIP(MMDB) 下载地址" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:544 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:543 msgid "GeoSite Url" msgstr "GeoSite 下载地址" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:556 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:555 msgid "GeoX Auto Update" msgstr "定时更新GeoX文件" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:530 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:529 msgid "GeoX Config" msgstr "GeoX 配置" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:562 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:561 msgid "GeoX Update Interval" msgstr "GeoX 文件更新间隔" @@ -435,11 +439,11 @@ msgstr "全局模式" msgid "Grant access to nikki procedures" msgstr "" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:85 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:87 msgid "Group" msgstr "用户组" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:144 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:143 msgid "HTTP Port" msgstr "HTTP 端口" @@ -463,19 +467,19 @@ msgstr "IPv6 DNS 劫持" msgid "IPv6 Proxy" msgstr "IPv6 代理" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:386 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:385 msgid "Ignore Sniff Domain Name" msgstr "忽略嗅探的域名" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:136 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:135 msgid "Inbound Config" msgstr "入站配置" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:104 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:106 msgid "Inbound Interface" msgstr "入站接口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:100 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:102 msgid "LAN Proxy" msgstr "局域网代理" @@ -492,7 +496,7 @@ msgstr "日志" msgid "Log Level" msgstr "日志级别" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:200 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:199 msgid "MTU" msgstr "最大传输单元" @@ -500,16 +504,16 @@ msgstr "最大传输单元" msgid "Match Process" msgstr "匹配进程" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:351 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:514 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:350 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:513 msgid "Matcher" msgstr "匹配" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:542 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:541 msgid "Memory Conservative Loader" msgstr "为内存受限设备优化的加载器" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:152 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:151 msgid "Mixed Port" msgstr "混合端口" @@ -517,7 +521,7 @@ msgstr "混合端口" msgid "Mixin Config" msgstr "混入配置" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:566 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:565 msgid "Mixin File Content" msgstr "混入文件内容" @@ -529,12 +533,12 @@ msgstr "混入选项" msgid "Mode" msgstr "模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:434 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:433 msgid "Name" msgstr "名称" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:335 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:354 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:334 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:353 msgid "Nameserver" msgstr "DNS 服务器" @@ -547,7 +551,7 @@ msgstr "" msgid "No Resolve" msgstr "不解析" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:448 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:447 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:517 msgid "Node" msgstr "节点" @@ -556,7 +560,7 @@ msgstr "节点" msgid "Not Running" msgstr "未在运行" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:88 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:89 msgid "Open Dashboard" msgstr "打开面板" @@ -564,55 +568,55 @@ msgstr "打开面板" msgid "Outbound Interface" msgstr "出站接口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:166 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:165 msgid "Overwrite Authentication" msgstr "覆盖身份验证" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:220 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:219 msgid "Overwrite DNS Hijack" msgstr "覆盖 DNS 劫持" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:412 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:411 msgid "Overwrite Destination" msgstr "将嗅探结果作为连接目标" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:252 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:251 msgid "Overwrite Fake-IP Filter" msgstr "覆盖 Fake-IP 过滤列表" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:376 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:375 msgid "Overwrite Force Sniff Domain Name" msgstr "覆盖强制嗅探的域名" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:295 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:294 msgid "Overwrite Hosts" msgstr "覆盖 Hosts" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:383 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:382 msgid "Overwrite Ignore Sniff Domain Name" msgstr "覆盖忽略嗅探的域名" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:314 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:313 msgid "Overwrite Nameserver" msgstr "覆盖 DNS 服务器" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:337 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:336 msgid "Overwrite Nameserver Policy" msgstr "覆盖 DNS 服务器查询策略" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:390 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:389 msgid "Overwrite Sniff By Protocol" msgstr "覆盖按协议嗅探" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:183 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:182 msgid "Password" msgstr "密码" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:568 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:567 msgid "Please go to the editor tab to edit the file for mixin" msgstr "请前往编辑器标签编辑用于混入的文件" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:409 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:408 msgid "Port" msgstr "端口" @@ -620,7 +624,7 @@ msgstr "端口" msgid "Prefer" msgstr "优先" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:510 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:509 msgid "Process Name" msgstr "进程名" @@ -633,12 +637,12 @@ msgstr "配置文件" msgid "Profile for Startup" msgstr "用于启动的配置文件" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:403 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:402 msgid "Protocol" msgstr "协议" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:97 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:152 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:99 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:158 msgid "Proxy" msgstr "代理" @@ -660,11 +664,11 @@ msgstr "随机" msgid "Redirect Mode" msgstr "Redirect 模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:156 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:155 msgid "Redirect Port" msgstr "Redirect 端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:68 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:69 msgid "Reload Service" msgstr "重载服务" @@ -672,11 +676,11 @@ msgstr "重载服务" msgid "Remote" msgstr "远程" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:271 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:270 msgid "Respect Rules" msgstr "遵循分流规则" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:75 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:76 msgid "Restart Service" msgstr "重启服务" @@ -684,7 +688,7 @@ msgstr "重启服务" msgid "Router Proxy" msgstr "路由器代理" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:415 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:414 msgid "Rule Config" msgstr "规则配置" @@ -696,7 +700,7 @@ msgstr "规则模式" msgid "Rule Provider:" msgstr "规则提供者:" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:503 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:502 msgid "Rule Set" msgstr "规则集" @@ -704,15 +708,15 @@ msgstr "规则集" msgid "Running" msgstr "运行中" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:148 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:147 msgid "SOCKS Port" msgstr "SOCKS 端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:130 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:129 msgid "Save Proxy Selection" msgstr "保存节点/策略组选择" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:113 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:114 msgid "Scheduled Restart" msgstr "定时重启" @@ -721,31 +725,31 @@ msgstr "定时重启" msgid "Scroll To Bottom" msgstr "滚动到底部" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:393 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:392 msgid "Sniff By Protocol" msgstr "按协议嗅探" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:370 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:369 msgid "Sniff Pure IP" msgstr "嗅探纯 IP 连接" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:364 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:363 msgid "Sniff Redir-Host" msgstr "嗅探 Redir-Host 流量" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:356 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:355 msgid "Sniffer Config" msgstr "嗅探器配置" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:193 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:192 msgid "Stack" msgstr "栈" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:541 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:540 msgid "Standard Loader" msgstr "标准加载器" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:109 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:110 msgid "Start Delay" msgstr "启动延迟" @@ -765,7 +769,7 @@ msgstr "订阅名称" msgid "Subscription Url" msgstr "订阅链接" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:106 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:107 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/editor.js:37 msgid "Subscription:" msgstr "订阅:" @@ -791,11 +795,11 @@ msgstr "TCP 模式" msgid "TPROXY Mode" msgstr "TPROXY 模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:161 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:160 msgid "TPROXY Port" msgstr "TPROXY 端口" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:187 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:186 msgid "TUN Config" msgstr "TUN 配置" @@ -804,7 +808,7 @@ msgstr "TUN 配置" msgid "TUN Mode" msgstr "TUN 模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:121 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:122 msgid "Test Profile" msgstr "检查配置文件" @@ -816,9 +820,9 @@ msgstr "总量" msgid "Transparent Proxy with Mihomo on OpenWrt." msgstr "在 OpenWrt 上使用 Mihomo 进行透明代理。" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:328 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:437 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:501 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:327 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:436 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:500 msgid "Type" msgstr "类型" @@ -826,7 +830,7 @@ msgstr "类型" msgid "UDP Mode" msgstr "UDP 模式" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:110 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:109 msgid "UI Name" msgstr "UI 名称" @@ -834,7 +838,7 @@ msgstr "UI 名称" msgid "UI Path" msgstr "UI 路径" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:113 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:112 msgid "UI Url" msgstr "UI 下载地址" @@ -854,44 +858,44 @@ msgstr "统一延迟" #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:94 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:97 #: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:107 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:111 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:114 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:123 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:128 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:132 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:140 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:146 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:150 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:154 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:158 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:163 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:190 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:195 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:202 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:206 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:212 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:216 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:233 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:238 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:243 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:249 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:261 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:267 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:273 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:279 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:285 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:291 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:360 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:366 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:372 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:534 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:540 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:545 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:548 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:551 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:554 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:558 -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:564 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:110 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:113 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:122 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:127 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:131 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:139 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:145 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:149 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:153 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:157 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:162 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:189 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:194 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:201 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:205 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:211 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:215 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:232 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:237 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:242 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:248 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:260 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:266 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:272 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:278 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:284 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:290 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:359 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:365 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:371 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:533 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:539 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:544 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:547 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:550 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:553 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:557 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:563 msgid "Unmodified" msgstr "不修改" @@ -903,11 +907,11 @@ msgstr "更新" msgid "Update At" msgstr "更新时间" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:82 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/app.js:83 msgid "Update Dashboard" msgstr "更新面板" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:480 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:479 msgid "Update Interval" msgstr "更新间隔" @@ -915,15 +919,15 @@ msgstr "更新间隔" msgid "Upload Profile" msgstr "上传配置文件" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:443 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:442 msgid "Url" msgstr "下载地址" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:289 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:288 msgid "Use Hosts" msgstr "使用 Hosts" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:283 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:282 msgid "Use System Hosts" msgstr "使用系统的 Hosts" @@ -931,7 +935,7 @@ msgstr "使用系统的 Hosts" msgid "Used" msgstr "已使用" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:79 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/proxy.js:81 msgid "User" msgstr "用户" @@ -939,6 +943,6 @@ msgstr "用户" msgid "User Agent" msgstr "用户代理(UA)" -#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:180 +#: applications/luci-app-nikki/htdocs/luci-static/resources/view/nikki/mixin.js:179 msgid "Username" msgstr "用户名" diff --git a/small/luci-app-passwall/luasrc/controller/passwall.lua b/small/luci-app-passwall/luasrc/controller/passwall.lua index e3002c5d0a..99a7103097 100644 --- a/small/luci-app-passwall/luasrc/controller/passwall.lua +++ b/small/luci-app-passwall/luasrc/controller/passwall.lua @@ -81,6 +81,8 @@ function index() entry({"admin", "services", appname, "clear_all_nodes"}, call("clear_all_nodes")).leaf = true entry({"admin", "services", appname, "delete_select_nodes"}, call("delete_select_nodes")).leaf = true entry({"admin", "services", appname, "update_rules"}, call("update_rules")).leaf = true + entry({"admin", "services", appname, "subscribe_del_node"}, call("subscribe_del_node")).leaf = true + entry({"admin", "services", appname, "subscribe_del_all"}, call("subscribe_del_all")).leaf = true --[[rule_list]] entry({"admin", "services", appname, "read_rulelist"}, call("read_rulelist")).leaf = true @@ -647,3 +649,16 @@ function geo_view() http.write(i18n.translate("No results were found!")) end end + +function subscribe_del_node() + local remark = luci.http.formvalue("remark") + if remark and remark ~= "" then + luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate " .. luci.util.shellquote(remark) .. " > /dev/null 2>&1") + end + luci.http.status(200, "OK") +end + +function subscribe_del_all() + luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate > /dev/null 2>&1") + luci.http.status(200, "OK") +end diff --git a/small/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua b/small/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua index 2eaa276fd0..cc9a5dbbc5 100644 --- a/small/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua +++ b/small/luci-app-passwall/luasrc/model/cbi/passwall/client/global.lua @@ -434,7 +434,7 @@ if api.is_finded("smartdns") then o:value("https://8.8.8.8/dns-query") o:value("https://9.9.9.9/dns-query") o:value("https://208.67.222.222/dns-query") - o:value("https://dns.adguard.com/dns-query,176.103.130.130") + o:value("https://dns.adguard.com/dns-query,94.140.14.14") o:value("https://doh.libredns.gr/dns-query,116.202.176.26") o:value("https://doh.libredns.gr/ads,116.202.176.26") o:depends({ dns_shunt = "smartdns", smartdns_dns_mode = "socks" }) diff --git a/small/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua b/small/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua index 1df3decd65..fa5dc571f0 100644 --- a/small/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua +++ b/small/luci-app-passwall/luasrc/model/cbi/passwall/client/node_subscribe.lua @@ -134,11 +134,12 @@ o:value("ipv4_only", translate("IPv4 Only")) o:value("ipv6_only", translate("IPv6 Only")) ---- Subscribe Delete All -o = s:option(Button, "_stop", translate("Delete All Subscribe Node")) -o.inputstyle = "remove" -function o.write(e, e) - luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate > /dev/null 2>&1") - m.no_commit = true +o = s:option(DummyValue, "_stop", translate("Delete All Subscribe Node")) +o.rawhtml = true +function o.cfgvalue(self, section) + return string.format( + [[]], + translate("Delete All Subscribe Node")) end o = s:option(Button, "_update", translate("Manual subscription All")) @@ -202,12 +203,13 @@ o = s:option(Value, "url", translate("Subscribe URL")) o.width = "auto" o.rmempty = false -o = s:option(Button, "_remove", translate("Delete the subscribed node")) -o.inputstyle = "remove" -function o.write(t, n) - local remark = m:get(n, "remark") or "" - luci.sys.call("lua /usr/share/" .. appname .. "/subscribe.lua truncate " .. remark .. " > /dev/null 2>&1") - m.no_commit = true +o = s:option(DummyValue, "_remove", translate("Delete the subscribed node")) +o.rawhtml = true +function o.cfgvalue(self, section) + local remark = m:get(section, "remark") or "" + return string.format( + [[]], + remark, translate("Delete the subscribed node")) end o = s:option(Button, "_update", translate("Manual subscription")) @@ -218,4 +220,6 @@ function o.write(t, n) luci.http.redirect(api.url("log")) end +s:append(Template(appname .. "/node_subscribe/js")) + return m diff --git a/small/luci-app-passwall/luasrc/view/passwall/node_subscribe/js.htm b/small/luci-app-passwall/luasrc/view/passwall/node_subscribe/js.htm new file mode 100644 index 0000000000..1dc361c0fa --- /dev/null +++ b/small/luci-app-passwall/luasrc/view/passwall/node_subscribe/js.htm @@ -0,0 +1,38 @@ +<% +local api = require "luci.passwall.api" +-%> + diff --git a/small/luci-app-passwall/po/zh-cn/passwall.po b/small/luci-app-passwall/po/zh-cn/passwall.po index bc0f4f9d84..c3085d1fa6 100644 --- a/small/luci-app-passwall/po/zh-cn/passwall.po +++ b/small/luci-app-passwall/po/zh-cn/passwall.po @@ -1084,6 +1084,9 @@ msgstr "删除所有订阅节点" msgid "Delete the subscribed node" msgstr "删除已订阅的节点" +msgid "Are you sure you want to delete all subscribed nodes?" +msgstr "您确定要删除所有已订阅的节点吗?" + msgid "Manual subscription All" msgstr "手动订阅全部" diff --git a/small/nikki/Makefile b/small/nikki/Makefile index 91bc87e724..4c816dd155 100644 --- a/small/nikki/Makefile +++ b/small/nikki/Makefile @@ -5,9 +5,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git -PKG_SOURCE_DATE:=2025-05-31 -PKG_SOURCE_VERSION:=71a87056367cd4fe461a4c9989aa46036d82c85c -PKG_MIRROR_HASH:=d1a7a77386a7d3cc9e0f949ae718a41b742f35630a685c75e365329607d6aed9 +PKG_SOURCE_DATE:=2025-06-12 +PKG_SOURCE_VERSION:=32d447ce99f24626265b55cdf4ce73f9bb8ec5c3 +PKG_MIRROR_HASH:=51cb25faf59277cc7f9c066dc5f2ba9ad48558736812401a728765f345918a9d PKG_LICENSE:=GPL3.0+ PKG_MAINTAINER:=Joseph Mory @@ -16,7 +16,7 @@ PKG_BUILD_DEPENDS:=golang/host PKG_BUILD_PARALLEL:=1 PKG_BUILD_FLAGS:=no-mips16 -PKG_BUILD_VERSION:=alpha-71a8705 +PKG_BUILD_VERSION:=alpha-32d447c PKG_BUILD_TIME:=$(shell date -u -Iseconds) GO_PKG:=github.com/metacubex/mihomo diff --git a/small/nikki/files/nikki.conf b/small/nikki/files/nikki.conf index 8bf40c363a..bcdf5c9635 100644 --- a/small/nikki/files/nikki.conf +++ b/small/nikki/files/nikki.conf @@ -8,6 +8,8 @@ config config 'config' option 'scheduled_restart' '0' option 'cron_expression' '0 3 * * *' option 'test_profile' '1' + option 'fast_reload' '0' + option 'core_only' '0' config proxy 'proxy' option 'enabled' '1' @@ -25,6 +27,8 @@ config proxy 'proxy' option 'bypass_china_mainland_ip' '0' option 'proxy_tcp_dport' '0-65535' option 'proxy_udp_dport' '0-65535' + option 'tun_timeout' '30' + option 'tun_inverval' '1' config subscription 'subscription' option 'name' 'default' @@ -179,3 +183,13 @@ config sniff config editor 'editor' config log 'log' + +config routing 'routing' + option 'tproxy_fw_mark' '0x80' + option 'tun_fw_mark' '0x81' + option 'tproxy_rule_pref' '1024' + option 'tun_rule_pref' '1025' + option 'tproxy_route_table' '80' + option 'tun_route_table' '81' + option 'cgroup_id' '0x12061206' + option 'cgroup_name' 'nikki' diff --git a/small/nikki/files/nikki.init b/small/nikki/files/nikki.init index 1963ffa957..af90029f02 100644 --- a/small/nikki/files/nikki.init +++ b/small/nikki/files/nikki.init @@ -44,12 +44,13 @@ start_service() { log "App" "Start." # get config ## app config - local scheduled_restart cron_expression profile test_profile fast_reload + local scheduled_restart cron_expression profile test_profile fast_reload core_only config_get_bool scheduled_restart "config" "scheduled_restart" 0 config_get cron_expression "config" "cron_expression" config_get profile "config" "profile" config_get_bool test_profile "config" "test_profile" 0 config_get_bool fast_reload "config" "fast_reload" 0 + config_get_bool core_only "config" "core_only" 0 ## mixin config ### overwrite local overwrite_authentication overwrite_tun_dns_hijack overwrite_fake_ip_filter overwrite_hosts overwrite_dns_nameserver overwrite_dns_nameserver_policy overwrite_sniffer_sniff overwrite_sniffer_force_domain_name overwrite_sniffer_ignore_domain_name @@ -104,38 +105,40 @@ start_service() { return fi # mixin - log "Mixin" "Mixin config." - if [ "$overwrite_authentication" == 1 ]; then - yq -M -i 'del(.authentication)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_tun_dns_hijack" == 1 ]; then - yq -M -i 'del(.tun.dns-hijack)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_fake_ip_filter" == 1 ]; then - yq -M -i 'del(.dns.fake-ip-filter)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_hosts" == 1 ]; then - yq -M -i 'del(.hosts)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_dns_nameserver" == 1 ]; then - yq -M -i 'del(.dns.default-nameserver) | del(.dns.proxy-server-nameserver) | del(.dns.direct-nameserver) | del(.dns.nameserver) | del(.dns.fallback) ' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_dns_nameserver_policy" == 1 ]; then - yq -M -i 'del(.dns.nameserver-policy)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_sniffer_force_domain_name" == 1 ]; then - yq -M -i 'del(.sniffer.force-domain)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_sniffer_ignore_domain_name" == 1 ]; then - yq -M -i 'del(.sniffer.skip-domain)' "$RUN_PROFILE_PATH" - fi - if [ "$overwrite_sniffer_sniff" == 1 ]; then - yq -M -i 'del(.sniffer.sniff)' "$RUN_PROFILE_PATH" - fi - if [ "$mixin_file_content" == 0 ]; then - ucode -S "$MIXIN_UC" | yq -M -p json -o yaml | yq -M -i ea '... comments="" | . as $item ireduce ({}; . * $item ) | .rules = .nikki-rules + .rules | del(.nikki-rules)' "$RUN_PROFILE_PATH" - - elif [ "$mixin_file_content" == 1 ]; then - ucode -S "$MIXIN_UC" | yq -M -p json -o yaml | yq -M -i ea '... comments="" | . as $item ireduce ({}; . * $item ) | .rules = .nikki-rules + .rules | del(.nikki-rules)' "$RUN_PROFILE_PATH" "$MIXIN_FILE_PATH" - + if [ "$core_only" == 0 ]; then + log "Mixin" "Mixin config." + if [ "$overwrite_authentication" == 1 ]; then + yq -M -i 'del(.authentication)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_tun_dns_hijack" == 1 ]; then + yq -M -i 'del(.tun.dns-hijack)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_fake_ip_filter" == 1 ]; then + yq -M -i 'del(.dns.fake-ip-filter)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_hosts" == 1 ]; then + yq -M -i 'del(.hosts)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_dns_nameserver" == 1 ]; then + yq -M -i 'del(.dns.default-nameserver) | del(.dns.proxy-server-nameserver) | del(.dns.direct-nameserver) | del(.dns.nameserver) | del(.dns.fallback) ' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_dns_nameserver_policy" == 1 ]; then + yq -M -i 'del(.dns.nameserver-policy)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_sniffer_force_domain_name" == 1 ]; then + yq -M -i 'del(.sniffer.force-domain)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_sniffer_ignore_domain_name" == 1 ]; then + yq -M -i 'del(.sniffer.skip-domain)' "$RUN_PROFILE_PATH" + fi + if [ "$overwrite_sniffer_sniff" == 1 ]; then + yq -M -i 'del(.sniffer.sniff)' "$RUN_PROFILE_PATH" + fi + if [ "$mixin_file_content" == 0 ]; then + ucode -S "$MIXIN_UC" | yq -M -p json -o yaml | yq -M -i ea '... comments="" | . as $item ireduce ({}; . * $item ) | .rules = .nikki-rules + .rules | del(.nikki-rules)' "$RUN_PROFILE_PATH" - + elif [ "$mixin_file_content" == 1 ]; then + ucode -S "$MIXIN_UC" | yq -M -p json -o yaml | yq -M -i ea '... comments="" | . as $item ireduce ({}; . * $item ) | .rules = .nikki-rules + .rules | del(.nikki-rules)' "$RUN_PROFILE_PATH" "$MIXIN_FILE_PATH" - + fi fi # test profile if [ "$test_profile" == 1 ]; then @@ -189,17 +192,32 @@ service_started() { return fi # get config + ## app config + local core_only + config_get_bool core_only "config" "core_only" 0 ## mixin ### tun local tun_device config_get tun_device "mixin" "tun_device" "nikki" ## proxy config ### general - local tcp_mode udp_mode ipv4_proxy ipv6_proxy + local tcp_mode udp_mode ipv4_proxy ipv6_proxy tun_timeout tun_interval config_get tcp_mode "proxy" "tcp_mode" config_get udp_mode "proxy" "udp_mode" config_get_bool ipv4_proxy "proxy" "ipv4_proxy" 0 config_get_bool ipv6_proxy "proxy" "ipv6_proxy" 0 + config_get tun_timeout "proxy" "tun_timeout" 30 + config_get tun_interval "proxy" "tun_interval" 1 + ## routing config + local tproxy_fw_mark tun_fw_mark tproxy_rule_pref tun_rule_pref tproxy_route_table tun_route_table cgroup_id cgroup_name + config_get tproxy_fw_mark "routing" "tproxy_fw_mark" + config_get tun_fw_mark "routing" "tun_fw_mark" + config_get tproxy_rule_pref "routing" "tproxy_rule_pref" + config_get tun_rule_pref "routing" "tun_rule_pref" + config_get tproxy_route_table "routing" "tproxy_route_table" + config_get tun_route_table "routing" "tun_route_table" + config_get cgroup_id "routing" "cgroup_id" + config_get cgroup_name "routing" "cgroup_name" # prepare config local tproxy_enable; tproxy_enable=0 if [[ "$tcp_mode" == "tproxy" || "$udp_mode" == "tproxy" ]]; then @@ -209,86 +227,86 @@ service_started() { if [[ "$tcp_mode" == "tun" || "$udp_mode" == "tun" ]]; then tun_enable=1 fi - # fix compatible with dockerd - ## cgroupfs-mount - ### when cgroupfs-mount is installed, cgroupv1 will mounted instead of cgroupv2, we need to create cgroup manually - if (mount | grep -q -w "^cgroup"); then - mkdir -p "/sys/fs/cgroup/net_cls/$CGROUP_NAME" - echo "$CGROUP_ID" > "/sys/fs/cgroup/net_cls/$CGROUP_NAME/net_cls.classid" - cat "$PID_FILE_PATH" > "/sys/fs/cgroup/net_cls/$CGROUP_NAME/cgroup.procs" - fi - ## kmod-br-netfilter - ### when kmod-br-netfilter is loaded, bridge-nf-call-iptables and bridge-nf-call-ip6tables are set to 1, we need to set them to 0 if tproxy is enabled - if [ "$tproxy_enable" == 1 ] && (lsmod | grep -q br_netfilter); then - if [ "$ipv4_proxy" == 1 ]; then - local bridge_nf_call_iptables; bridge_nf_call_iptables=$(sysctl -e -n net.bridge.bridge-nf-call-iptables) - if [ "$bridge_nf_call_iptables" == 1 ]; then - touch "$BRIDGE_NF_CALL_IPTABLES_FLAG_PATH" - sysctl -q -w net.bridge.bridge-nf-call-iptables=0 + if [ "$core_only" == 0 ]; then + # proxy + log "Proxy" "Enabled." + # wait for tun device online + if [ "$tun_enable" == 1 ]; then + log "Proxy" "Waiting for tun device online within $tun_timeout seconds..." + while [ "$tun_timeout" -gt 0 ]; do + if (ip link show dev "$tun_device" > /dev/null 2>&1); then + if [ "$(ip -json addr show dev "$tun_device" | tun_device="$tun_device" yq -M '.[] | select(.ifname = strenv(tun_device)) | .addr_info | length')" -gt 0 ]; then + log "Proxy" "TUN device is online." + break + fi + fi + tun_timeout=$((tun_timeout - tun_interval)) + sleep "$tun_interval" + done + if [ "$tun_timeout" -le 0 ]; then + log "Proxy" "Timeout, TUN device is not online." + log "App" "Exit." + return fi fi - if [ "$ipv6_proxy" == 1 ]; then - local bridge_nf_call_ip6tables; bridge_nf_call_ip6tables=$(sysctl -e -n net.bridge.bridge-nf-call-ip6tables) - if [ "$bridge_nf_call_ip6tables" == 1 ]; then - touch "$BRIDGE_NF_CALL_IP6TABLES_FLAG_PATH" - sysctl -q -w net.bridge.bridge-nf-call-ip6tables=0 - fi + # fix compatible with dockerd + ## cgroupfs-mount + ### when cgroupfs-mount is installed, cgroupv1 will mounted instead of cgroupv2, we need to create cgroup manually + if (mount | grep -q -w "^cgroup"); then + mkdir -p "/sys/fs/cgroup/net_cls/$cgroup_name" + echo "$cgroup_id" > "/sys/fs/cgroup/net_cls/$cgroup_name/net_cls.classid" + cat "$PID_FILE_PATH" > "/sys/fs/cgroup/net_cls/$cgroup_name/cgroup.procs" fi - fi - # proxy - log "Proxy" "Enabled." - # wait for tun device online - if [ "$tun_enable" == 1 ]; then - log "Proxy" "Waiting for tun device online..." - local tun_timeout; tun_timeout=15 - local tun_interval; tun_interval=1 - while [ "$tun_timeout" -gt 0 ]; do - if (ip link show dev "$tun_device" > /dev/null 2>&1); then - if [ "$(ip -json addr show dev "$tun_device" | tun_device="$tun_device" yq -M '.[] | select(.ifname = strenv(tun_device)) | .addr_info | length')" -gt 0 ]; then - log "Proxy" "Tun device is online." - break + ## kmod-br-netfilter + ### when kmod-br-netfilter is loaded, bridge-nf-call-iptables and bridge-nf-call-ip6tables are set to 1, we need to set them to 0 if tproxy is enabled + if [ "$tproxy_enable" == 1 ] && (lsmod | grep -q br_netfilter); then + if [ "$ipv4_proxy" == 1 ]; then + local bridge_nf_call_iptables; bridge_nf_call_iptables=$(sysctl -e -n net.bridge.bridge-nf-call-iptables) + if [ "$bridge_nf_call_iptables" == 1 ]; then + touch "$BRIDGE_NF_CALL_IPTABLES_FLAG_PATH" + sysctl -q -w net.bridge.bridge-nf-call-iptables=0 fi fi - tun_timeout=$((tun_timeout - tun_interval)) - sleep "$tun_interval" - done - if [ "$tun_timeout" -le 0 ]; then - log "Proxy" "Waiting timeout, tun device is not online." + if [ "$ipv6_proxy" == 1 ]; then + local bridge_nf_call_ip6tables; bridge_nf_call_ip6tables=$(sysctl -e -n net.bridge.bridge-nf-call-ip6tables) + if [ "$bridge_nf_call_ip6tables" == 1 ]; then + touch "$BRIDGE_NF_CALL_IP6TABLES_FLAG_PATH" + sysctl -q -w net.bridge.bridge-nf-call-ip6tables=0 + fi + fi + fi + # ip route and rule + if [ "$tproxy_enable" == 1 ]; then + if [ "$ipv4_proxy" == 1 ]; then + ip -4 route add local default dev lo table "$tproxy_route_table" + ip -4 rule add pref "$tproxy_rule_pref" fwmark "$tproxy_fw_mark" table "$tproxy_route_table" + fi + if [ "$ipv6_proxy" == 1 ]; then + ip -6 route add local default dev lo table "$tproxy_route_table" + ip -6 rule add pref "$tproxy_rule_pref" fwmark "$tproxy_fw_mark" table "$tproxy_route_table" + fi + fi + if [ "$tun_enable" == 1 ]; then + if [ "$ipv4_proxy" == 1 ]; then + ip -4 route add unicast default dev "$tun_device" table "$tun_route_table" + ip -4 rule add pref "$tun_rule_pref" fwmark "$tun_fw_mark" table "$tun_route_table" + fi + if [ "$ipv6_proxy" == 1 ]; then + ip -6 route add unicast default dev "$tun_device" table "$tun_route_table" + ip -6 rule add pref "$tun_rule_pref" fwmark "$tun_fw_mark" table "$tun_route_table" + fi + $FIREWALL_INCLUDE_SH + fi + # hijack + utpl -S "$HIJACK_UT" | nft -f - + # check hijack + if (nft list tables | grep -q nikki); then + log "Proxy" "Hijack successful." + else + log "Proxy" "Hijack failed." log "App" "Exit." - return fi fi - # ip route and rule - if [ "$tproxy_enable" == 1 ]; then - if [ "$ipv4_proxy" == 1 ]; then - ip -4 route add local default dev lo table "$TPROXY_ROUTE_TABLE" - ip -4 rule add pref "$TPROXY_RULE_PREF" fwmark "$TPROXY_FW_MARK" table "$TPROXY_ROUTE_TABLE" - fi - if [ "$ipv6_proxy" == 1 ]; then - ip -6 route add local default dev lo table "$TPROXY_ROUTE_TABLE" - ip -6 rule add pref "$TPROXY_RULE_PREF" fwmark "$TPROXY_FW_MARK" table "$TPROXY_ROUTE_TABLE" - fi - fi - if [ "$tun_enable" == 1 ]; then - if [ "$ipv4_proxy" == 1 ]; then - ip -4 route add unicast default dev "$tun_device" table "$TUN_ROUTE_TABLE" - ip -4 rule add pref "$TUN_RULE_PREF" fwmark "$TUN_FW_MARK" table "$TUN_ROUTE_TABLE" - fi - if [ "$ipv6_proxy" == 1 ]; then - ip -6 route add unicast default dev "$tun_device" table "$TUN_ROUTE_TABLE" - ip -6 rule add pref "$TUN_RULE_PREF" fwmark "$TUN_FW_MARK" table "$TUN_ROUTE_TABLE" - fi - $FIREWALL_INCLUDE_SH - fi - # hijack - utpl -D cgroup_name="$CGROUP_NAME" -D cgroup_id="$CGROUP_ID" -D tproxy_fw_mark="$TPROXY_FW_MARK" -D tun_fw_mark="$TUN_FW_MARK" -S "$HIJACK_UT" | nft -f - - # check hijack - if (nft list tables | grep -q nikki); then - log "Proxy" "Hijack successful." - else - log "Proxy" "Hijack failed." - log "App" "Exit." - fi } service_stopped() { @@ -307,16 +325,23 @@ service_triggers() { cleanup() { # clear log clear_log + # load config + config_load nikki + # get config + ## routing config + local tproxy_route_table tun_route_table + config_get tproxy_route_table "routing" "tproxy_route_table" + config_get tun_route_table "routing" "tun_route_table" # delete routing policy - ip -4 rule del table "$TPROXY_ROUTE_TABLE" > /dev/null 2>&1 - ip -4 rule del table "$TUN_ROUTE_TABLE" > /dev/null 2>&1 - ip -6 rule del table "$TPROXY_ROUTE_TABLE" > /dev/null 2>&1 - ip -6 rule del table "$TUN_ROUTE_TABLE" > /dev/null 2>&1 + ip -4 rule del table "$tproxy_route_table" > /dev/null 2>&1 + ip -4 rule del table "$tun_route_table" > /dev/null 2>&1 + ip -6 rule del table "$tproxy_route_table" > /dev/null 2>&1 + ip -6 rule del table "$tun_route_table" > /dev/null 2>&1 # delete routing table - ip -4 route flush table "$TPROXY_ROUTE_TABLE" > /dev/null 2>&1 - ip -4 route flush table "$TUN_ROUTE_TABLE" > /dev/null 2>&1 - ip -6 route flush table "$TPROXY_ROUTE_TABLE" > /dev/null 2>&1 - ip -6 route flush table "$TUN_ROUTE_TABLE" > /dev/null 2>&1 + ip -4 route flush table "$tproxy_route_table" > /dev/null 2>&1 + ip -4 route flush table "$tun_route_table" > /dev/null 2>&1 + ip -6 route flush table "$tproxy_route_table" > /dev/null 2>&1 + ip -6 route flush table "$tun_route_table" > /dev/null 2>&1 # delete hijack nft delete table inet nikki > /dev/null 2>&1 local handles handle diff --git a/small/nikki/files/scripts/debug.sh b/small/nikki/files/scripts/debug.sh index e8d84fe3d8..aaecb74777 100644 --- a/small/nikki/files/scripts/debug.sh +++ b/small/nikki/files/scripts/debug.sh @@ -201,12 +201,12 @@ ip rule list \`\`\` TPROXY: ` -ip route list table "$TPROXY_ROUTE_TABLE" +ip route list table "$(uci get nikki.routing.tproxy_route_table)" ` TUN: ` -ip route list table "$TUN_ROUTE_TABLE" +ip route list table "$(uci get nikki.routing.tun_route_table)" ` \`\`\` ## ip6 rule @@ -219,12 +219,12 @@ ip -6 rule list \`\`\` TPROXY: ` -ip -6 route list table "$TPROXY_ROUTE_TABLE" +ip -6 route list table "$(uci get nikki.routing.tproxy_route_table)" ` TUN: ` -ip -6 route list table "$TUN_ROUTE_TABLE" +ip -6 route list table "$(uci get nikki.routing.tun_route_table)" ` \`\`\` ## nftables diff --git a/small/nikki/files/scripts/include.sh b/small/nikki/files/scripts/include.sh index 3fc81d7d1a..502f271da1 100644 --- a/small/nikki/files/scripts/include.sh +++ b/small/nikki/files/scripts/include.sh @@ -1,15 +1,5 @@ #!/bin/sh -# routing -TPROXY_FW_MARK="0x80" -TUN_FW_MARK="0x81" -TPROXY_RULE_PREF="1024" -TUN_RULE_PREF="1025" -TPROXY_ROUTE_TABLE="80" -TUN_ROUTE_TABLE="81" -CGROUP_ID="0x12061206" -CGROUP_NAME="nikki" - # paths PROG="/usr/bin/mihomo" HOME_DIR="/etc/nikki" diff --git a/small/nikki/files/uci-defaults/migrate.sh b/small/nikki/files/uci-defaults/migrate.sh index 5f084913d3..34beb1d89d 100644 --- a/small/nikki/files/uci-defaults/migrate.sh +++ b/small/nikki/files/uci-defaults/migrate.sh @@ -110,6 +110,23 @@ proxy_transparent_proxy=$(uci -q get nikki.proxy.transparent_proxy); [ -n "$prox uci del nikki.proxy.bypass_cgroup } +# since v1.23.0 +routing=$(uci -q get nikki.routing); [ -z "$routing" ] && { + uci set nikki.routing=routing + uci set nikki.routing.tproxy_fw_mark=0x80 + uci set nikki.routing.tun_fw_mark=0x81 + uci set nikki.routing.tproxy_rule_pref=1024 + uci set nikki.routing.tun_rule_pref=1025 + uci set nikki.routing.tproxy_route_table=80 + uci set nikki.routing.tun_route_table=81 + uci set nikki.routing.cgroup_id=0x12061206 + uci set nikki.routing.cgroup_name=nikki +} + +proxy_tun_timeout=$(uci -q get nikki.proxy.tun_timeout); [ -z "$proxy_tun_timeout" ] && uci set nikki.proxy.tun_timeout=30 + +proxy_tun_interval=$(uci -q get nikki.proxy.tun_interval); [ -z "$proxy_tun_interval" ] && uci set nikki.proxy.tun_interval=1 + # commit uci commit nikki diff --git a/small/nikki/files/ucode/hijack.ut b/small/nikki/files/ucode/hijack.ut index f250a5fd13..f9461b59f2 100644 --- a/small/nikki/files/ucode/hijack.ut +++ b/small/nikki/files/ucode/hijack.ut @@ -70,6 +70,11 @@ const proxy_tcp_dport = split((uci.get('nikki', 'proxy', 'proxy_tcp_dport') ?? '0-65535'), ' '); const proxy_udp_dport = split((uci.get('nikki', 'proxy', 'proxy_udp_dport') ?? '0-65535'), ' '); + const cgroup_id = uci.get('nikki', 'routing', 'cgroup_id'); + const cgroup_name = uci.get('nikki', 'routing', 'cgroup_name'); + const tproxy_fw_mark = uci.get('nikki', 'routing', 'tproxy_fw_mark'); + const tun_fw_mark = uci.get('nikki', 'routing', 'tun_fw_mark'); + const dns_hijack_nfproto = []; if (ipv4_dns_hijack) { push(dns_hijack_nfproto, 'ipv4'); diff --git a/v2rayu/V2rayU/Uri.swift b/v2rayu/V2rayU/Uri.swift index 67d243ebe9..ced811aaa3 100644 --- a/v2rayu/V2rayU/Uri.swift +++ b/v2rayu/V2rayU/Uri.swift @@ -566,7 +566,6 @@ class TrojanUri { case "plugin": // 这里是 obfs-local 的参数: obfs-local;obfs=websocket;obfs-host={"Host":"hjfjkdkdi"};obfs-uri=tekdjjd let value = item.value as! String - print("trojan plugin:", value) // 按 ; 分割 let plugins = value.components(separatedBy: ";") for plugin in plugins { @@ -603,7 +602,6 @@ class TrojanUri { break case "obfs": let value = item.value as! String - print("trojan obfs:", value) // 这里是 ws 的 if value == "websocket" || value == "ws" { self.network = "ws" @@ -631,7 +629,7 @@ class TrojanUri { self.security = "tls" } - if self.network.isEmpty { + if self.remark.isEmpty { self.remark = (url.fragment ?? "trojan").urlDecoded() } } diff --git a/yt-dlp/test/test_InfoExtractor.py b/yt-dlp/test/test_InfoExtractor.py index bc89b2955e..e6c8d574e0 100644 --- a/yt-dlp/test/test_InfoExtractor.py +++ b/yt-dlp/test/test_InfoExtractor.py @@ -1947,6 +1947,137 @@ jwplayer("mediaplayer").setup({"abouttext":"Visit Indie DB","aboutlink":"http:\/ with self.assertWarns(DeprecationWarning): self.assertEqual(self.ie._search_nextjs_data('', None, default='{}'), {}) + def test_search_nuxt_json(self): + HTML_TMPL = '' + VALID_DATA = ''' + ["ShallowReactive",1], + {"data":2,"state":21,"once":25,"_errors":28,"_server_errors":30}, + ["ShallowReactive",3], + {"$abcdef123456":4}, + {"podcast":5,"activeEpisodeData":7}, + {"podcast":6,"seasons":14}, + {"title":10,"id":11}, + ["Reactive",8], + {"episode":9,"creators":18,"empty_list":20}, + {"title":12,"id":13,"refs":34,"empty_refs":35}, + "Series Title", + "podcast-id-01", + "Episode Title", + "episode-id-99", + [15,16,17], + 1, + 2, + 3, + [19], + "Podcast Creator", + [], + {"$ssite-config":22}, + {"env":23,"name":24,"map":26,"numbers":14}, + "production", + "podcast-website", + ["Set"], + ["Reactive",27], + ["Map"], + ["ShallowReactive",29], + {}, + ["NuxtError",31], + {"status":32,"message":33}, + 503, + "Service Unavailable", + [36,37], + [38,39], + ["Ref",40], + ["ShallowRef",41], + ["EmptyRef",42], + ["EmptyShallowRef",43], + "ref", + "shallow_ref", + "{\\"ref\\":1}", + "{\\"shallow_ref\\":2}" + ''' + PAYLOAD = { + 'data': { + '$abcdef123456': { + 'podcast': { + 'podcast': { + 'title': 'Series Title', + 'id': 'podcast-id-01', + }, + 'seasons': [1, 2, 3], + }, + 'activeEpisodeData': { + 'episode': { + 'title': 'Episode Title', + 'id': 'episode-id-99', + 'refs': ['ref', 'shallow_ref'], + 'empty_refs': [{'ref': 1}, {'shallow_ref': 2}], + }, + 'creators': ['Podcast Creator'], + 'empty_list': [], + }, + }, + }, + 'state': { + '$ssite-config': { + 'env': 'production', + 'name': 'podcast-website', + 'map': [], + 'numbers': [1, 2, 3], + }, + }, + 'once': [], + '_errors': {}, + '_server_errors': { + 'status': 503, + 'message': 'Service Unavailable', + }, + } + PARTIALLY_INVALID = [( + ''' + {"data":1}, + {"invalid_raw_list":2}, + [15,16,17] + ''', + {'data': {'invalid_raw_list': [None, None, None]}}, + ), ( + ''' + {"data":1}, + ["EmptyRef",2], + "not valid JSON" + ''', + {'data': None}, + ), ( + ''' + {"data":1}, + ["EmptyShallowRef",2], + "not valid JSON" + ''', + {'data': None}, + )] + INVALID = [ + ''' + [] + ''', + ''' + ["unsupported",1], + {"data":2}, + {} + ''', + ] + DEFAULT = object() + + self.assertEqual(self.ie._search_nuxt_json(HTML_TMPL.format(VALID_DATA), None), PAYLOAD) + self.assertEqual(self.ie._search_nuxt_json('', None, fatal=False), {}) + self.assertIs(self.ie._search_nuxt_json('', None, default=DEFAULT), DEFAULT) + + for data, expected in PARTIALLY_INVALID: + self.assertEqual( + self.ie._search_nuxt_json(HTML_TMPL.format(data), None, fatal=False), expected) + + for data in INVALID: + self.assertIs( + self.ie._search_nuxt_json(HTML_TMPL.format(data), None, default=DEFAULT), DEFAULT) + if __name__ == '__main__': unittest.main() diff --git a/yt-dlp/test/test_devalue.py b/yt-dlp/test/test_devalue.py new file mode 100644 index 0000000000..29eb89e87f --- /dev/null +++ b/yt-dlp/test/test_devalue.py @@ -0,0 +1,235 @@ +#!/usr/bin/env python3 + +# Allow direct execution +import os +import sys + +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + + +import datetime as dt +import json +import math +import re +import unittest + +from yt_dlp.utils.jslib import devalue + + +TEST_CASES_EQUALS = [{ + 'name': 'int', + 'unparsed': [-42], + 'parsed': -42, +}, { + 'name': 'str', + 'unparsed': ['woo!!!'], + 'parsed': 'woo!!!', +}, { + 'name': 'Number', + 'unparsed': [['Object', 42]], + 'parsed': 42, +}, { + 'name': 'String', + 'unparsed': [['Object', 'yar']], + 'parsed': 'yar', +}, { + 'name': 'Infinity', + 'unparsed': -4, + 'parsed': math.inf, +}, { + 'name': 'negative Infinity', + 'unparsed': -5, + 'parsed': -math.inf, +}, { + 'name': 'negative zero', + 'unparsed': -6, + 'parsed': -0.0, +}, { + 'name': 'RegExp', + 'unparsed': [['RegExp', 'regexp', 'gim']], # XXX: flags are ignored + 'parsed': re.compile('regexp'), +}, { + 'name': 'Date', + 'unparsed': [['Date', '2001-09-09T01:46:40.000Z']], + 'parsed': dt.datetime.fromtimestamp(1e9, tz=dt.timezone.utc), +}, { + 'name': 'Array', + 'unparsed': [[1, 2, 3], 'a', 'b', 'c'], + 'parsed': ['a', 'b', 'c'], +}, { + 'name': 'Array (empty)', + 'unparsed': [[]], + 'parsed': [], +}, { + 'name': 'Array (sparse)', + 'unparsed': [[-2, 1, -2], 'b'], + 'parsed': [None, 'b', None], +}, { + 'name': 'Object', + 'unparsed': [{'foo': 1, 'x-y': 2}, 'bar', 'z'], + 'parsed': {'foo': 'bar', 'x-y': 'z'}, +}, { + 'name': 'Set', + 'unparsed': [['Set', 1, 2, 3], 1, 2, 3], + 'parsed': [1, 2, 3], +}, { + 'name': 'Map', + 'unparsed': [['Map', 1, 2], 'a', 'b'], + 'parsed': [['a', 'b']], +}, { + 'name': 'BigInt', + 'unparsed': [['BigInt', '1']], + 'parsed': 1, +}, { + 'name': 'Uint8Array', + 'unparsed': [['Uint8Array', 'AQID']], + 'parsed': [1, 2, 3], +}, { + 'name': 'ArrayBuffer', + 'unparsed': [['ArrayBuffer', 'AQID']], + 'parsed': [1, 2, 3], +}, { + 'name': 'str (repetition)', + 'unparsed': [[1, 1], 'a string'], + 'parsed': ['a string', 'a string'], +}, { + 'name': 'None (repetition)', + 'unparsed': [[1, 1], None], + 'parsed': [None, None], +}, { + 'name': 'dict (repetition)', + 'unparsed': [[1, 1], {}], + 'parsed': [{}, {}], +}, { + 'name': 'Object without prototype', + 'unparsed': [['null']], + 'parsed': {}, +}, { + 'name': 'cross-realm POJO', + 'unparsed': [{}], + 'parsed': {}, +}] + +TEST_CASES_IS = [{ + 'name': 'bool', + 'unparsed': [True], + 'parsed': True, +}, { + 'name': 'Boolean', + 'unparsed': [['Object', False]], + 'parsed': False, +}, { + 'name': 'undefined', + 'unparsed': -1, + 'parsed': None, +}, { + 'name': 'null', + 'unparsed': [None], + 'parsed': None, +}, { + 'name': 'NaN', + 'unparsed': -3, + 'parsed': math.nan, +}] + +TEST_CASES_INVALID = [{ + 'name': 'empty string', + 'unparsed': '', + 'error': ValueError, + 'pattern': r'expected int or list as input', +}, { + 'name': 'hole', + 'unparsed': -2, + 'error': ValueError, + 'pattern': r'invalid integer input', +}, { + 'name': 'string', + 'unparsed': 'hello', + 'error': ValueError, + 'pattern': r'expected int or list as input', +}, { + 'name': 'number', + 'unparsed': 42, + 'error': ValueError, + 'pattern': r'invalid integer input', +}, { + 'name': 'boolean', + 'unparsed': True, + 'error': ValueError, + 'pattern': r'expected int or list as input', +}, { + 'name': 'null', + 'unparsed': None, + 'error': ValueError, + 'pattern': r'expected int or list as input', +}, { + 'name': 'object', + 'unparsed': {}, + 'error': ValueError, + 'pattern': r'expected int or list as input', +}, { + 'name': 'empty array', + 'unparsed': [], + 'error': ValueError, + 'pattern': r'expected a non-empty list as input', +}, { + 'name': 'Python negative indexing', + 'unparsed': [[1, 2, 3, 4, 5, 6, 7, -7], 1, 2, 3, 4, 5, 6, 7], + 'error': IndexError, + 'pattern': r'invalid index: -7', +}] + + +class TestDevalue(unittest.TestCase): + def test_devalue_parse_equals(self): + for tc in TEST_CASES_EQUALS: + self.assertEqual(devalue.parse(tc['unparsed']), tc['parsed'], tc['name']) + + def test_devalue_parse_is(self): + for tc in TEST_CASES_IS: + self.assertIs(devalue.parse(tc['unparsed']), tc['parsed'], tc['name']) + + def test_devalue_parse_invalid(self): + for tc in TEST_CASES_INVALID: + with self.assertRaisesRegex(tc['error'], tc['pattern'], msg=tc['name']): + devalue.parse(tc['unparsed']) + + def test_devalue_parse_cyclical(self): + name = 'Map (cyclical)' + result = devalue.parse([['Map', 1, 0], 'self']) + self.assertEqual(result[0][0], 'self', name) + self.assertIs(result, result[0][1], name) + + name = 'Set (cyclical)' + result = devalue.parse([['Set', 0, 1], 42]) + self.assertEqual(result[1], 42, name) + self.assertIs(result, result[0], name) + + result = devalue.parse([[0]]) + self.assertIs(result, result[0], 'Array (cyclical)') + + name = 'Object (cyclical)' + result = devalue.parse([{'self': 0}]) + self.assertIs(result, result['self'], name) + + name = 'Object with null prototype (cyclical)' + result = devalue.parse([['null', 'self', 0]]) + self.assertIs(result, result['self'], name) + + name = 'Objects (cyclical)' + result = devalue.parse([[1, 2], {'second': 2}, {'first': 1}]) + self.assertIs(result[0], result[1]['first'], name) + self.assertIs(result[1], result[0]['second'], name) + + def test_devalue_parse_revivers(self): + self.assertEqual( + devalue.parse([['indirect', 1], {'a': 2}, 'b'], revivers={'indirect': lambda x: x}), + {'a': 'b'}, 'revivers (indirect)') + + self.assertEqual( + devalue.parse([['parse', 1], '{"a":0}'], revivers={'parse': lambda x: json.loads(x)}), + {'a': 0}, 'revivers (parse)') + + +if __name__ == '__main__': + unittest.main() diff --git a/yt-dlp/yt_dlp/extractor/brightcove.py b/yt-dlp/yt_dlp/extractor/brightcove.py index d4ac7a0c28..c0f2f8b572 100644 --- a/yt-dlp/yt_dlp/extractor/brightcove.py +++ b/yt-dlp/yt_dlp/extractor/brightcove.py @@ -495,8 +495,6 @@ class BrightcoveLegacyIE(InfoExtractor): class BrightcoveNewBaseIE(AdobePassIE): def _parse_brightcove_metadata(self, json_data, video_id, headers={}): - title = json_data['name'].strip() - formats, subtitles = [], {} sources = json_data.get('sources') or [] for source in sources: @@ -600,16 +598,18 @@ class BrightcoveNewBaseIE(AdobePassIE): return { 'id': video_id, - 'title': title, - 'description': clean_html(json_data.get('description')), 'thumbnails': thumbnails, 'duration': duration, - 'timestamp': parse_iso8601(json_data.get('published_at')), - 'uploader_id': json_data.get('account_id'), 'formats': formats, 'subtitles': subtitles, - 'tags': json_data.get('tags', []), 'is_live': is_live, + **traverse_obj(json_data, { + 'title': ('name', {clean_html}), + 'description': ('description', {clean_html}), + 'tags': ('tags', ..., {str}, filter, all, filter), + 'timestamp': ('published_at', {parse_iso8601}), + 'uploader_id': ('account_id', {str}), + }), } @@ -645,10 +645,7 @@ class BrightcoveNewIE(BrightcoveNewBaseIE): 'uploader_id': '4036320279001', 'formats': 'mincount:39', }, - 'params': { - # m3u8 download - 'skip_download': True, - }, + 'skip': '404 Not Found', }, { # playlist stream 'url': 'https://players.brightcove.net/1752604059001/S13cJdUBz_default/index.html?playlistId=5718313430001', @@ -709,7 +706,6 @@ class BrightcoveNewIE(BrightcoveNewBaseIE): 'ext': 'mp4', 'title': 'TGD_01-032_5', 'thumbnail': r're:^https?://.*\.jpg$', - 'tags': [], 'timestamp': 1646078943, 'uploader_id': '1569565978001', 'upload_date': '20220228', @@ -721,7 +717,6 @@ class BrightcoveNewIE(BrightcoveNewBaseIE): 'ext': 'mp4', 'title': 'TGD 01-087 (Airs 05.25.22)_Segment 5', 'thumbnail': r're:^https?://.*\.jpg$', - 'tags': [], 'timestamp': 1651604591, 'uploader_id': '1569565978001', 'upload_date': '20220503', diff --git a/yt-dlp/yt_dlp/extractor/common.py b/yt-dlp/yt_dlp/extractor/common.py index 1174bd4f5e..6058f66aea 100644 --- a/yt-dlp/yt_dlp/extractor/common.py +++ b/yt-dlp/yt_dlp/extractor/common.py @@ -101,6 +101,7 @@ from ..utils import ( xpath_with_ns, ) from ..utils._utils import _request_dump_filename +from ..utils.jslib import devalue class InfoExtractor: @@ -1795,6 +1796,63 @@ class InfoExtractor: ret = self._parse_json(js, video_id, transform_source=functools.partial(js_to_json, vars=args), fatal=fatal) return traverse_obj(ret, traverse) or {} + def _resolve_nuxt_array(self, array, video_id, *, fatal=True, default=NO_DEFAULT): + """Resolves Nuxt rich JSON payload arrays""" + # Ref: https://github.com/nuxt/nuxt/commit/9e503be0f2a24f4df72a3ccab2db4d3e63511f57 + # https://github.com/nuxt/nuxt/pull/19205 + if default is not NO_DEFAULT: + fatal = False + + if not isinstance(array, list) or not array: + error_msg = 'Unable to resolve Nuxt JSON data: invalid input' + if fatal: + raise ExtractorError(error_msg, video_id=video_id) + elif default is NO_DEFAULT: + self.report_warning(error_msg, video_id=video_id) + return {} if default is NO_DEFAULT else default + + def indirect_reviver(data): + return data + + def json_reviver(data): + return json.loads(data) + + gen = devalue.parse_iter(array, revivers={ + 'NuxtError': indirect_reviver, + 'EmptyShallowRef': json_reviver, + 'EmptyRef': json_reviver, + 'ShallowRef': indirect_reviver, + 'ShallowReactive': indirect_reviver, + 'Ref': indirect_reviver, + 'Reactive': indirect_reviver, + }) + + while True: + try: + error_msg = f'Error resolving Nuxt JSON: {gen.send(None)}' + if fatal: + raise ExtractorError(error_msg, video_id=video_id) + elif default is NO_DEFAULT: + self.report_warning(error_msg, video_id=video_id, only_once=True) + else: + self.write_debug(f'{video_id}: {error_msg}', only_once=True) + except StopIteration as error: + return error.value or ({} if default is NO_DEFAULT else default) + + def _search_nuxt_json(self, webpage, video_id, *, fatal=True, default=NO_DEFAULT): + """Parses metadata from Nuxt rich JSON payloads embedded in HTML""" + passed_default = default is not NO_DEFAULT + + array = self._search_json( + r']+\bid="__NUXT_DATA__"[^>]*>', webpage, + 'Nuxt JSON data', video_id, contains_pattern=r'\[(?s:.+)\]', + fatal=fatal, default=NO_DEFAULT if not passed_default else None) + + if not array: + return default if passed_default else {} + + return self._resolve_nuxt_array(array, video_id, fatal=fatal, default=default) + @staticmethod def _hidden_inputs(html): html = re.sub(r'', '', html) diff --git a/yt-dlp/yt_dlp/extractor/hypergryph.py b/yt-dlp/yt_dlp/extractor/hypergryph.py index 1fb2e9a982..f405d14b54 100644 --- a/yt-dlp/yt_dlp/extractor/hypergryph.py +++ b/yt-dlp/yt_dlp/extractor/hypergryph.py @@ -1,32 +1,66 @@ from .common import InfoExtractor -from ..utils import js_to_json, traverse_obj +from ..utils import ( + ExtractorError, + clean_html, + url_or_none, +) +from ..utils.traversal import subs_list_to_dict, traverse_obj class MonsterSirenHypergryphMusicIE(InfoExtractor): + IE_NAME = 'monstersiren' + IE_DESC = '塞壬唱片' + _API_BASE = 'https://monster-siren.hypergryph.com/api' _VALID_URL = r'https?://monster-siren\.hypergryph\.com/music/(?P\d+)' _TESTS = [{ 'url': 'https://monster-siren.hypergryph.com/music/514562', 'info_dict': { 'id': '514562', 'ext': 'wav', - 'artists': ['塞壬唱片-MSR'], - 'album': 'Flame Shadow', 'title': 'Flame Shadow', + 'album': 'Flame Shadow', + 'artists': ['塞壬唱片-MSR'], + 'description': 'md5:19e2acfcd1b65b41b29e8079ab948053', + 'thumbnail': r're:https?://web\.hycdn\.cn/siren/pic/.+\.jpg', + }, + }, { + 'url': 'https://monster-siren.hypergryph.com/music/514518', + 'info_dict': { + 'id': '514518', + 'ext': 'wav', + 'title': 'Heavenly Me (Instrumental)', + 'album': 'Heavenly Me', + 'artists': ['塞壬唱片-MSR', 'AIYUE blessed : 理名'], + 'description': 'md5:ce790b41c932d1ad72eb791d1d8ae598', + 'thumbnail': r're:https?://web\.hycdn\.cn/siren/pic/.+\.jpg', }, }] def _real_extract(self, url): audio_id = self._match_id(url) - webpage = self._download_webpage(url, audio_id) - json_data = self._search_json( - r'window\.g_initialProps\s*=', webpage, 'data', audio_id, transform_source=js_to_json) + song = self._download_json(f'{self._API_BASE}/song/{audio_id}', audio_id) + if traverse_obj(song, 'code') != 0: + msg = traverse_obj(song, ('msg', {str}, filter)) + raise ExtractorError( + msg or 'API returned an error response', expected=bool(msg)) + + album = None + if album_id := traverse_obj(song, ('data', 'albumCid', {str})): + album = self._download_json( + f'{self._API_BASE}/album/{album_id}/detail', album_id, fatal=False) return { 'id': audio_id, - 'title': traverse_obj(json_data, ('player', 'songDetail', 'name')), - 'url': traverse_obj(json_data, ('player', 'songDetail', 'sourceUrl')), - 'ext': 'wav', 'vcodec': 'none', - 'artists': traverse_obj(json_data, ('player', 'songDetail', 'artists', ...)), - 'album': traverse_obj(json_data, ('musicPlay', 'albumDetail', 'name')), + **traverse_obj(song, ('data', { + 'title': ('name', {str}), + 'artists': ('artists', ..., {str}), + 'subtitles': ({'url': 'lyricUrl'}, all, {subs_list_to_dict(lang='en')}), + 'url': ('sourceUrl', {url_or_none}), + })), + **traverse_obj(album, ('data', { + 'album': ('name', {str}), + 'description': ('intro', {clean_html}), + 'thumbnail': ('coverUrl', {url_or_none}), + })), } diff --git a/yt-dlp/yt_dlp/utils/jslib/__init__.py b/yt-dlp/yt_dlp/utils/jslib/__init__.py new file mode 100644 index 0000000000..19df08b120 --- /dev/null +++ b/yt-dlp/yt_dlp/utils/jslib/__init__.py @@ -0,0 +1 @@ +# Utility functions for handling web input based on commonly used JavaScript libraries diff --git a/yt-dlp/yt_dlp/utils/jslib/devalue.py b/yt-dlp/yt_dlp/utils/jslib/devalue.py new file mode 100644 index 0000000000..d82880d921 --- /dev/null +++ b/yt-dlp/yt_dlp/utils/jslib/devalue.py @@ -0,0 +1,167 @@ +from __future__ import annotations + +import array +import base64 +import datetime as dt +import math +import re + +from .._utils import parse_iso8601 + +TYPE_CHECKING = False +if TYPE_CHECKING: + import collections.abc + import typing + + T = typing.TypeVar('T') + + +_ARRAY_TYPE_LOOKUP = { + 'Int8Array': 'b', + 'Uint8Array': 'B', + 'Uint8ClampedArray': 'B', + 'Int16Array': 'h', + 'Uint16Array': 'H', + 'Int32Array': 'i', + 'Uint32Array': 'I', + 'Float32Array': 'f', + 'Float64Array': 'd', + 'BigInt64Array': 'l', + 'BigUint64Array': 'L', + 'ArrayBuffer': 'B', +} + + +def parse_iter(parsed: typing.Any, /, *, revivers: dict[str, collections.abc.Callable[[list], typing.Any]] | None = None): + # based on https://github.com/Rich-Harris/devalue/blob/f3fd2aa93d79f21746555671f955a897335edb1b/src/parse.js + resolved = { + -1: None, + -2: None, + -3: math.nan, + -4: math.inf, + -5: -math.inf, + -6: -0.0, + } + + if isinstance(parsed, int) and not isinstance(parsed, bool): + if parsed not in resolved or parsed == -2: + raise ValueError('invalid integer input') + return resolved[parsed] + elif not isinstance(parsed, list): + raise ValueError('expected int or list as input') + elif not parsed: + raise ValueError('expected a non-empty list as input') + + if revivers is None: + revivers = {} + return_value = [None] + stack: list[tuple] = [(return_value, 0, 0)] + + while stack: + target, index, source = stack.pop() + if isinstance(source, tuple): + name, source, reviver = source + try: + resolved[source] = target[index] = reviver(target[index]) + except Exception as error: + yield TypeError(f'failed to parse {source} as {name!r}: {error}') + resolved[source] = target[index] = None + continue + + if source in resolved: + target[index] = resolved[source] + continue + + # guard against Python negative indexing + if source < 0: + yield IndexError(f'invalid index: {source!r}') + continue + + try: + value = parsed[source] + except IndexError as error: + yield error + continue + + if isinstance(value, list): + if value and isinstance(value[0], str): + # TODO: implement zips `strict=True` + if reviver := revivers.get(value[0]): + if value[1] == source: + # XXX: avoid infinite loop + yield IndexError(f'{value[0]!r} cannot point to itself (index: {source})') + continue + # inverse order: resolve index, revive value + stack.append((target, index, (value[0], value[1], reviver))) + stack.append((target, index, value[1])) + continue + + elif value[0] == 'Date': + try: + result = dt.datetime.fromtimestamp(parse_iso8601(value[1]), tz=dt.timezone.utc) + except Exception: + yield ValueError(f'invalid date: {value[1]!r}') + result = None + + elif value[0] == 'Set': + result = [None] * (len(value) - 1) + for offset, new_source in enumerate(value[1:]): + stack.append((result, offset, new_source)) + + elif value[0] == 'Map': + result = [] + for key, new_source in zip(*(iter(value[1:]),) * 2): + pair = [None, None] + stack.append((pair, 0, key)) + stack.append((pair, 1, new_source)) + result.append(pair) + + elif value[0] == 'RegExp': + # XXX: use jsinterp to translate regex flags + # currently ignores `value[2]` + result = re.compile(value[1]) + + elif value[0] == 'Object': + result = value[1] + + elif value[0] == 'BigInt': + result = int(value[1]) + + elif value[0] == 'null': + result = {} + for key, new_source in zip(*(iter(value[1:]),) * 2): + stack.append((result, key, new_source)) + + elif value[0] in _ARRAY_TYPE_LOOKUP: + typecode = _ARRAY_TYPE_LOOKUP[value[0]] + data = base64.b64decode(value[1]) + result = array.array(typecode, data).tolist() + + else: + yield TypeError(f'invalid type at {source}: {value[0]!r}') + result = None + else: + result = len(value) * [None] + for offset, new_source in enumerate(value): + stack.append((result, offset, new_source)) + + elif isinstance(value, dict): + result = {} + for key, new_source in value.items(): + stack.append((result, key, new_source)) + + else: + result = value + + target[index] = resolved[source] = result + + return return_value[0] + + +def parse(parsed: typing.Any, /, *, revivers: dict[str, collections.abc.Callable[[typing.Any], typing.Any]] | None = None): + generator = parse_iter(parsed, revivers=revivers) + while True: + try: + raise generator.send(None) + except StopIteration as error: + return error.value