var ka=Object.defineProperty,xa=Object.defineProperties;var wa=Object.getOwnPropertyDescriptors;var Ge=Object.getOwnPropertySymbols;var ya=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable;var xe=(e,a,o)=>a in e?ka(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,J=(e,a)=>{for(var o in a||(a={}))ya.call(a,o)&&xe(e,o,a[o]);if(Ge)for(var o of Ge(a))Fa.call(a,o)&&xe(e,o,a[o]);return e},at=(e,a)=>xa(e,wa(a));var Ea=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var Zt=(e,a,o)=>(xe(e,typeof a!="symbol"?a+"":a,o),o);var T=(e,a,o)=>new Promise((n,s)=>{var l=u=>{try{m(o.next(u))}catch(d){s(d)}},p=u=>{try{m(o.throw(u))}catch(d){s(d)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,p);m((o=o.apply(e,a)).next())});import{d as Qt,a as P,c as R,u as w,o as i,b as r,e as t,t as h,n as Vt,f as E,r as X,g as D,h as ot,i as Dt,w as z,v as Tt,j as Ca,k as M,l as V,m as y,p as $a,q as Ft,s as Q,F as L,x as j,y as W,z as O,A as N,B as It,C as Da,D as Gt,E as Ba,G as Ya,H as Aa,I as Sa,J as za,K as Pa,L as Ta,M as nt,T as xt,N as tt,O as Ia,P as it,Q as wt,R as U,S as pt,U as te,V as Fe,W as La,X as Ma,Y as ue,Z as Oa,_ as Na,$ as qa,a0 as Va}from"./vendor.js?v=c0f4c287";var eF=Ea(Kt=>{const Ga=function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const p of l.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&n(p)}).observe(document,{childList:!0,subtree:!0});function o(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerpolicy&&(l.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?l.credentials="include":s.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(s){if(s.ep)return;s.ep=!0;const l=o(s);fetch(s.href,l)}};Ga();const ja=(e,a)=>T(Kt,null,function*(){return new Promise((o,n)=>T(Kt,null,function*(){try{const s=yield fetch(e,a);if(Math.floor(s.status/100)!=2)throw s.status+" "+s.statusText;const l=J({},s);l.data=yield s.json(),o(l)}catch(s){const l=s;n("\u7F51\u7EDC\u5F02\u5E38\uFF1A"+((l==null?void 0:l.message)||s))}}))});class Ee{constructor(a){Zt(this,"config",{baseURL:"",headers:{}});Zt(this,"useRequest",a=>a);Zt(this,"useResponse",a=>a);Zt(this,"useError",a=>a);a.baseURL&&(this.config.baseURL=a.baseURL),a.headers&&(this.config.headers=a.headers)}static create(a){return new Ee(a)}Do(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const l=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${l.baseURL||""}${a}`,o.headers==null&&(o.headers={}),l.headers&&(o.headers=J({},l.headers));const m=yield fetch(a,o),u=J({},m);u.data=yield m.json(),n(this.useResponse(u))}catch(l){this.useError(l),s(l)}}))})}TEXT(a,o){return T(this,null,function*(){return new Promise((n,s)=>T(this,null,function*(){try{const l=this.useRequest({baseURL:this.config.baseURL,headers:this.config.headers});a=`${l.baseURL||""}${a}`,o.headers==null&&(o.headers={}),l.headers&&(o.headers=J({},l.headers));const m=yield fetch(a,o),u=J({},m);u.data=yield m.text(),n(u)}catch(l){this.useError(l),s(l)}}))})}interceptors(){const a=this;return{requset:{use(o){a.useRequest=o}},response:{use(o,n){a.useResponse=o,n&&(a.useError=n)}}}}}const Xe=Ee.create({});Xe.interceptors().requset.use(e=>e);Xe.interceptors().response.use(e=>(e.data&&e.data.success==null&&e.data.success==0,e));const Ra="/cgi-bin/luci/istore";let je=!1;const I=(e,a)=>(e.indexOf("//")==-1&&(e=`${Ra}${e}`),ja(e,a).then(o=>(o!=null&&o.data&&o.data.success==-1001&&o.data.error=="Forbidden"&&(je||(je=!0,alert("\u767B\u5F55\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"),location.reload())),o))),Ua={Statistics:{GET(){return I("/u/network/statistics/",{method:"GET"})}},Status:{GET(){return I("/u/network/status/",{method:"GET"})}},Device:{List:{GET(){return I("/network/device/list/",{method:"GET"})}}},Homebox:{Enable:{POST(){return I("/network/homebox/enable/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},CheckPublickNet:{POST(e){return I("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetInterfaceConfig:{GET(){return I("/network/interface/config/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},POSTInterfaceConfig:{POST(e){return I("/network/interface/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},PortList:{GET(){return I("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Wa={Version:{GET(){return I("/u/system/version/",{method:"GET"})}},CheckUpdate:{GET(){return I("/system/check-update/",{method:"GET"})}},Reboot:{POST(e){return I("/system/reboot/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/system/status/",{method:"GET"})}}},Ha={Disk:{Status:{GET(){return I("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return I("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>I("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>I("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>I("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>I("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Service:{Status:{GET(){return I("/u/nas/service/status/",{method:"GET"})}}},Samba:{Create:{POST(e){return I("/nas/samba/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Webdav:{Create:{POST(e){return I("/nas/webdav/create",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Status:{GET(){return I("/nas/webdav/status/",{method:"GET"})}}},Linkease:{Enable:{POST(){return I("/u/nas/linkease/enable",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Sandbox:{POST(e){return I("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSandbox:{GET(){return I("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return I("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return I("/u/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return I("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},SandboxExit:{POST(){return I("/nas/sandbox/exit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},Za={Check:{POST(e){return I("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return I("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Ja={Pppoe:{GET(){return I("/guide/pppoe/",{method:"GET"})},POST(e){return I("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return I("/guide/dns-config/",{method:"GET"})},POST(e){return I("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DhcpClient:{POST(e){return I("/guide/dhcp-client/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return I("/guide/client-mode/",{method:"GET"})},POST(e){return I("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return I("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return I("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return I("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return I("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerSwitch:{POST(e){return I("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DownloadService:{Status:{GET(){return I("/guide/download-service/status/",{method:"GET"})}}},DownloadPartition:{List:{GET(){return I("/guide/download/partition/list/",{method:"GET"})}}},Aria2Init:{POST(e){return I("/guide/aria2/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},qbitorrentInit:{POST(e){return I("/guide/qbittorrent/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},transmissionInit:{POST(e){return I("/guide/transmission/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetLan:{GET(){return I("/guide/lan/",{method:"GET"})}},LanIp:{POST(e){return I("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},SoftSource:{POST(e){return I("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSoftSource:{GET(){return I("/guide/soft-source/",{method:"GET"})}},SoftSourceList:{GET(){return I("/guide/soft-source/list/",{method:"GET"})}},PostDdns:{POST(e){return I("/u/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetDdns:{GET(){return I("/u/guide/ddns/",{method:"GET"})}},Ddnsto:{POST(e){return I("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DdntoConfig:{GET(){return I("/guide/ddnsto/config/",{method:"GET"})}},DdnstoAddress:{POST(e){return I("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Xa={Create:{POST(e){return I("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Delete:{POST(e){return I("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Add:{POST(e){return I("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Remove:{POST(e){return I("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Recover:{POST(e){return I("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Detail:{POST(e){return I("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},List:{GET(){return I("/raid/list/",{method:"GET"})}},CreateList:{GET(){return I("/raid/create/list/",{method:"GET"})}},Autofix:{GET(){return I("/raid/autofix/",{method:"GET"})}}},Ka={Log:{GET(){return I("/smart/log/",{method:"GET"})}},List:{GET(){return I("/u/smart/list/",{method:"GET"})}},Config:{GET(){return I("/smart/config/",{method:"GET"})},POST(e){return I("/smart/config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Test:{POST(e){return I("/u/smart/test/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Result:{POST(e){return I("/smart/test/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Attribute:{Result:{POST(e){return I("/smart/attribute/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Extend:{Result:{POST(e){return I("/smart/extend/result/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}}};var Qa=Object.freeze(Object.defineProperty({__proto__:null,Network:Ua,System:Wa,Nas:Ha,App:Za,Guide:Ja,Raid:Xa,Smart:Ka},Symbol.toStringTag,{value:"Module"})),S=J({},Qa);const Ke=Qt("app",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});Qt("guide",{});const Qe=Qt("nas",{state:()=>({webdav:{}})}),ce=Qt("network",{state:()=>({status:{},statistics:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(e){this.status=e},requestNetworkStatistics(){return T(this,null,function*(){try{const e=yield S.Network.Statistics.GET();e!=null&&e.data&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){S.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:a}=e==null?void 0:e.data;a&&(this.deviceList=a)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}}),Ce=Qt("system",{state:()=>({version:{},checkUpdate:null,systemStatus:{}}),getters:{},actions:{incrTime(){var e;(e=this.systemStatus)!=null&&e.uptime&&this.systemStatus.uptime++},requestVersion(){S.System.Version.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.version=e.data.result)})},requestCheckUpdate(){S.System.CheckUpdate.GET().then(e=>{var a;(a=e==null?void 0:e.data)!=null&&a.result&&(this.checkUpdate=e.data.result)})},updateSystemStatus(e){this.systemStatus=e}}});let Re=!1;const to=()=>{if(Re)return;Re=!0;let e=!0,a=!0;const o=ce(),n=Ce(),s=function(){return S.System.Status.GET().then(p=>{p!=null&&p.data.result&&n.updateSystemStatus(p.data.result)}).finally(()=>{setTimeout(s,5e3),e&&(setInterval(()=>{n.incrTime()},1e3),e=!1)})},l=function(){return S.Network.Status.GET().then(p=>{if(p!=null&&p.data){const{result:m}=p==null?void 0:p.data;m&&o.updateNetworkStatus(m)}}).finally(()=>{setTimeout(l,5e3),a&&(setInterval(()=>{o.incrTime()},1e3),a=!1)})};l(),o.requestDeviceList(),setTimeout(()=>{n.requestCheckUpdate(),n.requestVersion(),s()},1100)};var Y=(e,a)=>{const o=e.__vccOpts||e;for(const[n,s]of a)o[n]=s;return o};const eo=P({setup(e){const a=Ke(),o=R(()=>a.portitemStyle.portitem),n=R(()=>a.portitemStyle.show),s=R(()=>({bottom:`calc(100% - ${a.portitemStyle.top}px)`,left:`${a.portitemStyle.left}px`})),l=u=>{switch(u){case"full":return"\u5168\u53CC\u5DE5";case"half":return"\u534A\u53CC\u5DE5"}},p=u=>{a.portitemStyle.show=!0},m=u=>{a.portitemStyle.show=!1};return(u,d)=>w(n)?(i(),r("div",{key:0,class:"disk-item-tooltip",style:Vt(w(s)),onMouseenter:p,onMouseleave:m},[t("div",null,h(l(w(o).duplex)),1),t("div",null,"\u540D\u79F0\uFF1A"+h(w(o).name||"--"),1),t("div",null,"MAC\uFF1A"+h(w(o).macAddress||"--"),1),t("div",null,"\u63A5\u6536\uFF1A"+h(w(o).rx_packets||"--"),1),t("div",null,"\u53D1\u9001\uFF1A"+h(w(o).tx_packets||"--"),1)],36)):E("",!0)}});var ao=Y(eo,[["__scopeId","data-v-57f1326f"]]);const oo={id:"main"},no=P({setup(e){return(a,o)=>{const n=X("router-view");return i(),r("div",oo,[D(n),D(ao)])}}});var io=Y(no,[["__scopeId","data-v-9bc295c2"]]);const ro={},so={t:"1640593669834",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"54870",width:"128",height:"128"},uo=t("path",{d:"M148.7872 57.4464h177.152c64.9216 0 118.0672 53.1456 118.0672 118.0672v295.2192H148.7872C83.8656 470.7328 30.72 417.5872 30.72 352.5632v-177.152C30.72 110.592 83.8656 57.4464 148.7872 57.4464z m0 531.3536h295.2192v295.2192c0 64.9216-53.1456 118.0672-118.0672 118.0672h-177.152C83.8656 1001.984 30.72 948.9408 30.72 883.9168v-177.152C30.72 641.9456 83.8656 588.8 148.7872 588.8z m0 0M768.7168 559.2064L562.0736 346.7264c-23.6544-17.7152-35.4304-53.1456-35.4304-82.6368s11.776-59.0848 35.4304-82.6368L686.08 57.4464C733.2864 10.24 810.0864 10.24 851.3536 57.4464l124.0064 124.0064c23.6544 23.6544 35.4304 53.1456 35.4304 82.6368s-11.776 59.0848-35.4304 82.6368L768.7168 559.2064z m0-478.208c-17.7152 0-29.4912 5.9392-41.3696 17.7152l-123.904 124.0064c-11.776 11.776-17.7152 23.6544-17.7152 41.3696s5.9392 29.4912 17.7152 41.3696l165.2736 165.2736 165.2736-165.2736c11.776-11.776 17.7152-23.6544 17.7152-41.3696s-5.9392-29.4912-17.7152-41.3696L809.984 98.7136c-11.776-11.776-23.552-17.7152-41.2672-17.7152z m0 0","p-id":"54871"},null,-1),co=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),lo=[uo,co];function po(e,a){return i(),r("svg",so,lo)}var fo=Y(ro,[["render",po]]);const mo={},vo={t:"1640598743438",class:"icon",viewBox:"0 0 1036 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"65341",width:"128",height:"128"},bo=t("path",{d:"M984.177778 432.355556l-45.511111 0c-22.755556 0-45.511111-17.066667-51.2-39.822222l-28.444444-68.266667C847.644444 312.888889 853.333333 284.444444 870.4 267.377778l34.133333-34.133333c17.066667-17.066667 17.066667-39.822222 0-56.888889l-56.888889-56.888889c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-34.133333 34.133333C739.555556 170.666667 711.111111 176.355556 694.044444 164.977778L625.777778 136.533333c-22.755556-5.688889-39.822222-28.444444-39.822222-51.2L585.955556 39.822222c0-22.755556-17.066667-39.822222-39.822222-39.822222L472.177778 0C449.422222 0 432.355556 17.066667 432.355556 39.822222l0 45.511111c0 22.755556-17.066667 45.511111-39.822222 51.2L329.955556 164.977778C312.888889 176.355556 284.444444 170.666667 267.377778 153.6L233.244444 119.466667c-17.066667-17.066667-39.822222-17.066667-56.888889 0l-56.888889 56.888889c-17.066667 17.066667-17.066667 39.822222 0 56.888889l34.133333 34.133333C170.666667 284.444444 176.355556 312.888889 164.977778 329.955556L136.533333 398.222222C130.844444 415.288889 108.088889 432.355556 85.333333 432.355556l-45.511111 0C17.066667 432.355556 0 449.422222 0 472.177778l0 79.644444c0 22.755556 17.066667 39.822222 39.822222 39.822222l45.511111 0c22.755556 0 45.511111 17.066667 51.2 39.822222l28.444444 68.266667C176.355556 711.111111 170.666667 739.555556 153.6 756.622222l-34.133333 34.133333c-17.066667 17.066667-17.066667 39.822222 0 56.888889l56.888889 56.888889c17.066667 17.066667 39.822222 17.066667 56.888889 0l34.133333-34.133333C284.444444 853.333333 312.888889 847.644444 329.955556 859.022222L398.222222 887.466667c22.755556 5.688889 39.822222 28.444444 39.822222 51.2l0 45.511111c0 22.755556 17.066667 39.822222 39.822222 39.822222l79.644444 0c22.755556 0 39.822222-17.066667 39.822222-39.822222l0-45.511111c0-22.755556 17.066667-45.511111 39.822222-51.2l68.266667-28.444444c17.066667-11.377778 45.511111-5.688889 62.577778 11.377778l34.133333 34.133333c17.066667 17.066667 39.822222 17.066667 56.888889 0l56.888889-56.888889c17.066667-17.066667 17.066667-39.822222 0-56.888889l-34.133333-34.133333c-17.066667-17.066667-17.066667-45.511111-11.377778-62.577778l28.444444-68.266667c5.688889-22.755556 28.444444-39.822222 51.2-39.822222l45.511111 0c22.755556 0 39.822222-17.066667 39.822222-39.822222L1035.377778 472.177778C1024 449.422222 1006.933333 432.355556 984.177778 432.355556L984.177778 432.355556zM711.111111 512c0 108.088889-91.022222 199.111111-199.111111 199.111111-108.088889 0-199.111111-85.333333-199.111111-199.111111 0-108.088889 85.333333-199.111111 199.111111-199.111111C620.088889 312.888889 711.111111 403.911111 711.111111 512L711.111111 512zM711.111111 512","p-id":"65342"},null,-1),go=[bo];function _o(e,a){return i(),r("svg",vo,go)}var ho=Y(mo,[["render",_o]]);const ko={},xo={t:"1640599890701",class:"icon",viewBox:"0 0 1565 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"76947",width:"128",height:"128"},wo=t("path",{d:"M1206.477959 299.331595c-27.357038 0-53.867311 3.354494-79.465683 9.151581C1078.518669 130.792698 916.428217 0 723.365689 0 492.068443 0 304.575027 187.493416 304.575027 418.790662c0 16.055976 1.074741 31.786273 2.865975 47.386299-9.184149-0.911901-18.400865-1.40042-27.812989-1.40042C125.191018 464.743973 0 589.934991 0 744.371987c0 154.469563 125.191018 279.628013 279.595446 279.628013 59.990077 0 221.233764 0 394.527575 0l0-302.295274L496.986197 721.704726l285.457668-339.031868 285.457668 339.031868-177.136823 0 0 302.295274c139.748871 0 262.204185 0 315.71325 0 197.947713 0 358.40977-168.34349 358.40977-366.291203S1404.425673 299.331595 1206.477959 299.331595z","p-id":"76948"},null,-1),yo=[wo];function Fo(e,a){return i(),r("svg",xo,yo)}var Eo=Y(ko,[["render",Fo]]);const Co={},$o={t:"1640599792937",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"68605",width:"128",height:"128"},Do=t("path",{d:"M512 825.6c-211.2 0-377.6-57.6-377.6-128l0 0L134.4 896l0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0 0-204.8 0 0C889.6 768 723.2 825.6 512 825.6L512 825.6z","p-id":"68606"},null,-1),Bo=t("path",{d:"M512 544c-211.2 0-377.6-57.6-377.6-128l0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 416l0 0C889.6 486.4 723.2 544 512 544L512 544z","p-id":"68607"},null,-1),Yo=t("path",{d:"M889.6 128 889.6 128c0-70.4-166.4-128-377.6-128C300.8 0 134.4 57.6 134.4 128l0 0 0 0 0 204.8 0 0c6.4 70.4 172.8 128 377.6 128 204.8 0 371.2-57.6 377.6-128l0 0L889.6 128 889.6 128 889.6 128zM512 217.6c-153.6 0-281.6-44.8-281.6-96 0-51.2 128-96 281.6-96 153.6 0 281.6 44.8 281.6 96C793.6 179.2 665.6 217.6 512 217.6L512 217.6z","p-id":"68608"},null,-1),Ao=[Do,Bo,Yo];function So(e,a){return i(),r("svg",$o,Ao)}var zo=Y(Co,[["render",So]]);const Po={},To={t:"1640575557247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4211",width:"128",height:"128"},Io=t("path",{d:"M560 800l-10.464-416h-75.072L464 800h96z m-14.144-493.984c9.44-9.312 14.144-20.672 14.144-34.016 0-13.6-4.704-24.992-14.144-34.208A46.784 46.784 0 0 0 512 224c-13.12 0-24.448 4.608-33.856 13.792A45.856 45.856 0 0 0 464 272c0 13.344 4.704 24.704 14.144 34.016 9.408 9.312 20.704 13.984 33.856 13.984 13.12 0 24.448-4.672 33.856-13.984zM512 32C246.912 32 32 246.912 32 512c0 265.088 214.912 480 480 480 265.088 0 480-214.912 480-480 0-265.088-214.912-480-480-480z m0 64c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z","p-id":"4212"},null,-1),Lo=[Io];function Mo(e,a){return i(),r("svg",To,Lo)}var Oo=Y(Po,[["render",Mo]]);const No={},qo={t:"1640681742480",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"80687",width:"128",height:"128"},Vo=t("path",{d:"M899.892468 123.889088c0-44.342099-36.286708-80.620486-80.624646-80.620486H204.728017C160.385918 43.268602 124.107532 79.546988 124.107532 123.889088v802.847056c0 44.342099 36.278386 80.620486 80.620485 80.620486h614.539805c44.337938 0 80.624646-36.278386 80.624646-80.620486V123.889088z",fill:"#D0D0DB","p-id":"80688"},null,-1),Go=t("path",{d:"M169.8768 977.7772V174.930143c0-44.342099 36.278386-80.620486 80.620486-80.620485h614.539804c9.936092 0 19.426974 1.905666 28.239639 5.23434-11.525534-30.507298-40.996782-52.389169-75.398629-52.389169H203.342457c-44.342099 0-80.620486 36.278386-80.620486 80.620486v802.851217c0 34.410168 21.881871 63.873094 52.385008 75.381985A79.730065 79.730065 0 0 1 169.8768 977.7772z",fill:"#FFFFFF","p-id":"80689"},null,-1),jo=t("path",{d:"M820.657543 40.497481H206.117739c-44.342099 0-80.620486 36.278386-80.620486 80.620485v802.847057c0 44.342099 36.278386 80.620486 80.620486 80.620486h614.539804c44.337938 0 80.624646-36.278386 80.624647-80.620486V121.117966c0-44.342099-36.286708-80.620486-80.624647-80.620485z m19.60173 828.785749c0 40.846992-33.43237 74.279362-74.287684 74.279361H199.780776c-40.855313 0-74.279362-33.424048-74.279362-74.279361V129.593603c0-40.855313 33.424048-74.279362 74.279362-74.279362h566.203296c40.842831 0 74.283522 33.424048 74.283522 74.279362l-0.008321 739.689627z",fill:"#6E6E96","p-id":"80690"},null,-1),Ro=t("path",{d:"M815.106979 1024H200.567175C146.933914 1024 103.303319 980.369405 103.303319 926.736144V123.889088C103.303319 70.255827 146.933914 26.625232 200.567175 26.625232h614.539804c53.633261 0 97.268017 43.630595 97.268017 97.263856v802.847056c0 53.633261-43.634756 97.263856-97.268017 97.263856zM200.567175 59.911972C165.287391 59.911972 136.590059 88.609303 136.590059 123.889088v802.847056c0 35.279784 28.697331 63.977115 63.977116 63.977115h614.539804c35.279784 0 63.981276-28.697331 63.981276-63.977115V123.889088c0-35.279784-28.701492-63.977115-63.981276-63.977116H200.567175z",fill:"#6E6E96","p-id":"80691"},null,-1),Uo=t("path",{d:"M301.946104 941.515457h429.985632v65.841173H301.946104z",fill:"#8A8AA1","p-id":"80692"},null,-1),Wo=t("path",{d:"M731.931736 1024H301.946104a16.64337 16.64337 0 0 1-16.64337-16.64337V941.515457a16.64337 16.64337 0 0 1 16.64337-16.64337h429.985632a16.64337 16.64337 0 0 1 16.64337 16.64337v65.841173a16.64337 16.64337 0 0 1-16.64337 16.64337z m-413.342262-33.286741h396.698892v-32.554432H318.589474v32.554432z",fill:"#6E6E96","p-id":"80693"},null,-1),Ho=t("path",{d:"M337.230049 960.318304h20.804213v47.038326h-20.804213zM386.565159 960.318304h20.804213v47.038326h-20.804213zM435.891948 960.318304h20.804213v47.038326h-20.804213zM485.231219 960.318304h20.804213v47.038326h-20.804213zM534.558008 960.318304h20.804213v47.038326h-20.804213zM583.897279 960.318304h20.804213v47.038326h-20.804213zM633.224068 960.318304h20.804213v47.038326h-20.804213zM682.563339 960.318304h20.804213v47.038326h-20.804213z",fill:"#FFE599","p-id":"80694"},null,-1),Zo=t("path",{d:"M219.153659 140.794591m-26.874883 0a26.874882 26.874882 0 1 0 53.749765 0 26.874882 26.874882 0 1 0-53.749765 0Z",fill:"#ADADD1","p-id":"80695"},null,-1),Jo=t("path",{d:"M219.153659 184.312843c-23.995579 0-43.518252-19.522673-43.518253-43.518252s19.522673-43.518252 43.518253-43.518253 43.518252 19.522673 43.518252 43.518253-19.522673 43.518252-43.518252 43.518252z m0-53.749764c-5.642103 0-10.231512 4.589409-10.231512 10.231512s4.589409 10.231512 10.231512 10.231512 10.231512-4.589409 10.231511-10.231512-4.589409-10.231512-10.231511-10.231512z",fill:"#6E6E96","p-id":"80696"},null,-1),Xo=t("path",{d:"M801.28466 140.794591m-26.870721 0a26.870721 26.870721 0 1 0 53.741442 0 26.870721 26.870721 0 1 0-53.741442 0Z",fill:"#ADADD1","p-id":"80697"},null,-1),Ko=t("path",{d:"M801.28466 184.308683c-23.995579 0-43.514092-19.518512-43.514091-43.514092s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514092z m0-53.741443c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80698"},null,-1),Qo=t("path",{d:"M801.280499 905.23291m-26.870721 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80699"},null,-1),tn=t("path",{d:"M801.280499 948.747001c-23.995579 0-43.514092-19.518512-43.514091-43.514091s19.518512-43.514092 43.514091-43.514092 43.514092 19.518512 43.514092 43.514092-19.518512 43.514092-43.514092 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80700"},null,-1),en=t("path",{d:"M219.153659 905.23291m-26.870722 0a26.870721 26.870721 0 1 0 53.741443 0 26.870721 26.870721 0 1 0-53.741443 0Z",fill:"#ADADD1","p-id":"80701"},null,-1),an=t("path",{d:"M219.153659 948.747001c-23.995579 0-43.514092-19.518512-43.514092-43.514091s19.518512-43.514092 43.514092-43.514092 43.514092 19.518512 43.514091 43.514092-19.522673 43.514092-43.514091 43.514091z m0-53.741442c-5.637942 0-10.227351 4.589409-10.227351 10.227351s4.589409 10.227351 10.227351 10.227351 10.227351-4.589409 10.227351-10.227351-4.589409-10.227351-10.227351-10.227351z",fill:"#6E6E96","p-id":"80702"},null,-1),on=t("path",{d:"M520.972857 777.43263c-142.542145 0-258.508988-115.971004-258.508988-258.52147a16.64337 16.64337 0 0 1 33.28674 0c0 124.19699 101.033579 225.23473 225.222248 225.23473s225.222248-101.03774 225.222248-225.23473c0-124.188668-101.033579-225.218087-225.222248-225.218087a16.64337 16.64337 0 0 1 0-33.286741c142.542145 0 258.508988 115.966843 258.508988 258.504828 0 142.550466-115.966843 258.521471-258.508988 258.52147z",fill:"#6E6E96","p-id":"80703"},null,-1),nn=t("path",{d:"M520.968696 518.919481m-83.312551 0a83.312551 83.312551 0 1 0 166.625102 0 83.312551 83.312551 0 1 0-166.625102 0Z",fill:"#A9A9BA","p-id":"80704"},null,-1),rn=t("path",{d:"M520.968696 618.875402c-55.114521 0-99.955921-44.83724-99.955921-99.95176 0-55.118682 44.8414-99.955921 99.955921-99.955921s99.95176 44.8414 99.95176 99.955921c0 55.11036-44.83724 99.95176-99.95176 99.95176z m0-166.625101c-36.761044 0-66.669181 29.908136-66.66918 66.66918s29.908136 66.66502 66.66918 66.66502 66.66502-29.908136 66.66502-66.66502c0-36.761044-29.903976-66.669181-66.66502-66.66918z",fill:"#6E6E96","p-id":"80705"},null,-1),sn=t("path",{d:"M301.946104 941.515457h429.985632v36.977408H301.946104z",fill:"#6E6E96","p-id":"80706"},null,-1),dn=[Vo,Go,jo,Ro,Uo,Wo,Ho,Zo,Jo,Xo,Ko,Qo,tn,en,an,on,nn,rn,sn];function un(e,a){return i(),r("svg",qo,dn)}var cn=Y(No,[["render",un]]);const ln={},pn={t:"1640775712185",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2996",width:"128",height:"128"},fn=t("path",{d:"M894.185422 128.023792 129.814578 445.743994 445.99982 577.744353 571.860343 893.929596Z","p-id":"2997"},null,-1),mn=[fn];function vn(e,a){return i(),r("svg",pn,mn)}var bn=Y(ln,[["render",vn]]);const gn={class:"progress"},_n=P({props:{value:{type:Number,required:!0},text:{type:String}},setup(e){const a=e,o=R(()=>a.value>=80?"#e45e5e":a.value>=70?"#ff9800":a.value>=60?"#297ff3":a.value>0?"#53c31b":"");return(n,s)=>(i(),r("div",gn,[t("div",{class:ot(["progress-value",`${e.value>50}`]),style:Vt({width:`${e.value}%`,backgroundColor:w(o)})},[t("span",null,h(e.text),1)],6),Dt(n.$slots,"default",{},void 0,!0)]))}});var ta=Y(_n,[["__scopeId","data-v-733828e1"]]);const hn={},kn={height:"32",width:"64",t:"1649907260906",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2793","xmlns:xlink":"http://www.w3.org/1999/xlink"},xn=t("path",{d:"M764.904497 251.418146 259.086289 251.418146c-143.076626 0-259.065314 115.989711-259.065314 259.065314 0 143.077649 115.988688 259.063267 259.065314 259.063267l505.818207 0c143.074579 0 259.063267-115.985618 259.063267-259.063267C1023.967764 367.407857 907.980099 251.418146 764.904497 251.418146zM764.904497 747.164974c-130.507356 0-236.682537-106.175181-236.682537-236.682537S634.397141 273.798876 764.904497 273.798876s236.683561 106.176205 236.683561 236.683561S895.411853 747.164974 764.904497 747.164974z","p-id":"2794",fill:"#52C41A"},null,-1),wn=[xn];function yn(e,a){return i(),r("svg",kn,wn)}var Fn=Y(hn,[["render",yn]]);const En={},Cn={height:"32",width:"64",t:"1649907515643",viewBox:"-8 248 1045 537",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2971","xmlns:xlink":"http://www.w3.org/1999/xlink"},$n=t("path",{d:"M764.867148 249.793136 259.0735 249.793136c-143.070486 0-259.052011 115.984594-259.052011 259.052011 0 143.07151 115.982548 259.050987 259.052011 259.050987l505.793648 0c143.067416 0 259.050987-115.979478 259.050987-259.050987C1023.917112 365.778754 907.933541 249.793136 764.867148 249.793136zM259.0735 745.516428c-130.501216 0-236.671281-106.172111-236.671281-236.671281 0-130.501216 106.170065-236.671281 236.671281-236.671281S495.744781 378.344954 495.744781 508.84617C495.744781 639.34534 389.574716 745.516428 259.0735 745.516428z","p-id":"2972",fill:"#999"},null,-1),Dn=[$n];function Bn(e,a){return i(),r("svg",Cn,Dn)}var Yn=Y(En,[["render",Bn]]);const An={class:"checkbox_switch"},Sn={class:"checkbox_switch_on"},zn={class:"checkbox_switch_off"},Pn=P({props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=R({get:()=>o.modelValue.valueOf(),set:s=>a("update:modelValue",s)});return(s,l)=>(i(),r("label",An,[z(t("input",{type:"checkbox","onUpdate:modelValue":l[0]||(l[0]=p=>Ca(n)?n.value=p:null)},null,512),[[Tt,w(n)]]),t("span",Sn,[D(Fn)]),t("span",zn,[D(Yn)]),Dt(s.$slots,"default",{},void 0,!0)]))}});var ea=Y(Pn,[["__scopeId","data-v-2c8b6a70"]]);const Tn={},In={t:"1641369474206",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7685",width:"128",height:"128"},Ln=t("path",{d:"M757.76 637.44l-218.88 245.76c-14.72 16.64-40.32 16.64-54.4 0L265.6 637.44C244.48 613.76 261.12 576 293.12 576l437.76 0C762.24 576 779.52 613.76 757.76 637.44z","p-id":"7686"},null,-1),Mn=[Ln];function On(e,a){return i(),r("svg",In,Mn)}var Nn=Y(Tn,[["render",On]]);const qn={},Vn={t:"1641369492518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7831",width:"128",height:"128"},Gn=t("path",{d:"M758.4 385.92 539.52 140.16c-14.72-16.64-40.32-16.64-54.4 0L266.24 385.92C244.48 409.6 261.76 448 293.12 448l437.76 0C762.88 448 779.52 409.6 758.4 385.92z","p-id":"7832"},null,-1),jn=[Gn];function Rn(e,a){return i(),r("svg",Vn,jn)}var Un=Y(qn,[["render",Rn]]);const Wn={};function Hn(e,a){return i(),r("article",null,[Dt(e.$slots,"default",{},void 0,!0)])}var Zn=Y(Wn,[["render",Hn],["__scopeId","data-v-bd286d4e"]]);const Jn={class:"cover"},Xn={class:"thumbnail"},Kn=P({emits:["click"],setup(e,{emit:a}){const o=()=>{a("click")};return(n,s)=>(i(),M(Zn,null,{default:V(()=>[t("a",{onClick:o},[t("div",Jn,[t("div",Xn,[Dt(n.$slots,"default",{},void 0,!0)])])])]),_:3}))}});var Qn=Y(Kn,[["__scopeId","data-v-123deb20"]]);const ti=e=>(O("data-v-169d5b59"),e=e(),N(),e),ei={class:"select-editable"},ai={selected:"",value:""},oi=["value"],ni=ti(()=>t("option",{value:"useInput"},"- -\u81EA\u5B9A\u4E49- -",-1)),ii=["placeholder"],ri=P({props:{modelValue:{type:String,required:!0},title:{type:String,default:""},options:{type:Array,default:[]}},emits:["update:modelValue"],setup(e,{emit:a}){const o=e,n=y(""),s=y(""),l=R({get:()=>o.modelValue.valueOf(),set:d=>a("update:modelValue",d)}),p=d=>{d===n.value||n.value==="useInput"&&d===s.value||(d===""||o.options.some(c=>c.key===d)?n.value=d:(s.value=d,n.value="useInput"))};$a(()=>o.modelValue,d=>{p(d)}),Ft(()=>{const d=l.value;p(d)});const m=d=>{n.value==="useInput"?l.value=s.value:l.value=n.value},u=d=>{l.value=s.value};return(d,c)=>(i(),r("label",null,[t("div",ei,[z(t("select",{"onUpdate:modelValue":c[0]||(c[0]=f=>n.value=f),autocomplete:"off",onChange:m},[t("option",ai,"\u8BF7\u9009\u62E9"+h(e.title),1),(i(!0),r(L,null,j(e.options,(f,v)=>(i(),r("option",{value:f.key,key:v},h(f.value||f.key),9,oi))),128)),ni],544),[[Q,n.value,void 0,{trim:!0}]]),n.value=="useInput"?z((i(),r("input",{key:0,type:"text","onUpdate:modelValue":c[1]||(c[1]=f=>s.value=f),required:"",placeholder:"\u8BF7\u8F93\u5165"+e.title,onChange:u},null,40,ii)),[[W,s.value,void 0,{trim:!0}]]):E("",!0)])]))}});var Pt=Y(ri,[["__scopeId","data-v-169d5b59"]]);const si={t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},di=P({props:{size:{type:[Number,String],default:50},color:{type:String,default:"#fff"}},setup(e){const a=o=>{if(o==null)return;if(typeof o=="number")return o+"px";const n=o.toString();return parseInt(n)+""==n?n+"px":n};return(o,n)=>(i(),r("div",{class:"quick-loading",style:Vt({width:a(e.size),height:a(e.size)})},[(i(),r("svg",si,[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454",style:Vt({fill:e.color})},null,4)]))],4))}});var ui=Y(di,[["__scopeId","data-v-0ec4e762"]]);const ci={},li={t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},pi=t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""},null,-1),fi=[pi];function mi(e,a){return i(),r("svg",li,fi)}var vi=Y(ci,[["render",mi]]);const bi={},gi={width:"128",height:"128",viewBox:"0 0 50 50",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_i=It('
${_[k].seriesName}: ${d(_[k].value)}/s`;return x.toString()}else{const x=_;return`${o(x.axisValue)}
${x.seriesName}: ${d(x.value)}/s`}}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{color:["#999"]},show:!1},name:"",show:!1,nameGap:0,nameTextStyle:{height:0,lineHeight:0,padding:0}},title:{text:"\u6D41\u91CF\u7EDF\u8BA1",textStyle:{fontSize:12,color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},top:"10px",left:"10px"},yAxis:{type:"value",name:"",minInterval:1e4,interval:1e3,axisLabel:{formatter:function(_,x){return`${d(_)}/s`},color:"#fff",show:!1},nameTextStyle:{color:"#fff"},splitLine:{lineStyle:{color:["#999"]},show:!1}},series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(32, 199, 247, 1)"},{offset:1,color:"rgba(32, 199, 247, 0.1)"}],global:!1}}},{name:"\u4E0A\u4F20",data:n.value,type:"line",symbol:"none",showSymbol:!1,symbolSize:0,smooth:!0,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(85, 58, 254, 1)"},{offset:1,color:"rgba(85, 58, 254, 0.1)"}],global:!1}}}],legend:{padding:0,align:"right",top:"10px",data:[{name:"\u4E0A\u4F20",itemStyle:{color:"rgb(85, 58, 254)"}},{name:"\u4E0B\u8F7D",itemStyle:{color:"rgb(32, 199, 247)"}}],textStyle:{color:b?"#cccccc":"rgba(0, 0, 0, 0.6)"},lineStyle:{color:"#333"}},grid:{left:"2%",right:"2%",bottom:"0%",top:"10%",containLabel:!0}}),f};return Ft(()=>{setTimeout(()=>T(this,null,function*(){if(c.value){yield m();const g=v(c.value),b=c.value;g.resize({width:b.clientWidth,height:b.clientHeight}),window.addEventListener("resize",()=>{g.resize({width:b.clientWidth,height:b.clientHeight})});const _=()=>T(this,null,function*(){f!=null&&(yield m(),f!=null&&(g.setOption({series:[{name:"\u4E0B\u8F7D",data:s.value,type:"line",areaStyle:{},smooth:!0},{name:"\u4E0A\u4F20",data:n.value,type:"line",areaStyle:{},smooth:!0}]}),setTimeout(_,5e3)))});setTimeout(_,5e3)}}),900)}),Gt(()=>{f!=null&&(f.dispose(),f=null)}),(g,b)=>(i(),r("div",Ni,[t("div",{ref_key:"el",ref:c,class:"echart"},null,512),t("div",qi,[w(l)?(i(),r("span",Vi,"\u4E0A\u4F20: "+h(w(l)),1)):E("",!0),w(p)?(i(),r("span",Gi,"\u4E0B\u8F7D: "+h(w(p)),1)):E("",!0)])]))}});var Ri=Y(ji,[["__scopeId","data-v-680b6286"]]);const Ui={},Wi={t:"1649668202191",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2338","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"28px",height:"28px"},Hi=t("path",{d:"M288 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2339",fill:"#666"},null,-1),Zi=t("path",{d:"M512 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2340",fill:"#666"},null,-1),Ji=t("path",{d:"M736 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z","p-id":"2341",fill:"#666"},null,-1),Xi=[Hi,Zi,Ji];function Ki(e,a){return i(),r("svg",Wi,Xi)}var $t=Y(Ui,[["render",Ki]]);let se=0;const Qi={props:{type:String,message:String|Function,Close:Function,countdown:Number},data(){return{show:!1,remain:0}},mounted(){if(window.setTimeout(()=>{this.show=!0},0),this.countdown){this.remain=this.countdown;const e=()=>{this.show&&this.remain>0&&(this.remain=this.remain-1,se=window.setTimeout(e,1e3))};se=window.setTimeout(e,1e3)}},computed:{Message(){return this.message+(this.countdown?" "+this.remain+"s":"")}},methods:{Stop(){this.type!="loading"&&(this.show=!1,se!=0&&clearTimeout(se),this.Close())}}},le=e=>(O("data-v-6935a479"),e=e(),N(),e),tr={key:0,class:"loading icon"},er=le(()=>t("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1047 1047",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[t("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),ar=[er],or={key:1,class:"success icon"},nr=le(()=>t("svg",{t:"1632451272305",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M1001.305115 275.874141 431.461709 845.718571c-28.221762 28.221762-73.977875 28.221762-102.20066 0L22.661116 539.116591c-28.222785-28.221762-28.222785-73.979922 0-102.20066 28.221762-28.221762 73.977875-28.221762 102.20066 0l255.500115 255.502162 518.743588-518.743588c28.221762-28.221762 73.977875-28.221762 102.199637 0C1029.5279 201.89422 1029.5279 247.65238 1001.305115 275.874141z","p-id":"2205"})],-1)),ir=[nr],rr={key:2,class:"error icon"},sr=le(()=>t("svg",{t:"1632451325789",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[t("path",{d:"M823.04 840.32 524.16 540.16l296.32-294.4c12.8-12.8 12.8-33.28 0-45.44-12.8-12.8-33.28-12.8-46.08 0L478.08 494.08 184.96 200.32c-12.8-12.8-33.28-12.8-45.44 0s-12.8 33.28 0 45.44l292.48 293.76-302.72 300.8c-12.8 12.8-12.8 33.28 0 45.44 12.8 12.8 33.28 12.8 46.08 0l302.72-300.16 299.52 300.16c12.8 12.8 33.28 12.8 45.44 0C835.2 873.6 835.2 853.12 823.04 840.32z","p-id":"2205"})],-1)),dr=[sr],ur={key:3,class:"warning icon"},cr=le(()=>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)),lr=[cr];function pr(e,a,o,n,s,l){return i(),M(xt,{name:"el-fade-in-linear"},{default:V(()=>[s.show?(i(),r("div",{key:0,class:"toast",onClick:a[1]||(a[1]=p=>l.Stop())},[o.type=="loading"?(i(),r("div",tr,ar)):o.type=="success"?(i(),r("div",or,ir)):o.type=="error"?(i(),r("div",rr,dr)):o.type=="warning"?(i(),r("div",ur,lr)):E("",!0),t("div",{class:"message",onClick:a[0]||(a[0]=nt(()=>{},["stop"]))},h(l.Message),1)])):E("",!0)]),_:1})}var fr=Y(Qi,[["render",pr],["__scopeId","data-v-6935a479"]]);const Xt=new Map,jt=e=>{const a=tt(fr,at(J({},e),{Close:()=>{n()}})),o=document.createElement("div");document.body.append(o),a.mount(o);const n=()=>{o.remove(),Xt.get(a._uid)&&Xt.delete(a._uid)};return e.type=="loading"&&Xt.set(a._uid,{Close:n}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{n()},e==null?void 0:e.duration):setTimeout(()=>{n()},3e3)),{Close:n}},F=e=>jt(e);F.Loading=(e,a)=>jt({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0,countdown:a||0});F.Success=e=>jt({type:"success",message:e});F.Error=e=>jt({type:"error",message:e,duration:0});F.Warning=e=>jt({type:"warning",message:e});F.Message=e=>jt({message:e});F.Clear=()=>{Xt.forEach((e,a)=>{e.Close(),Xt.delete(a)})};const lt={installApp:(e,a)=>new Promise((o,n)=>{let s=0;S.App.Install.POST({name:e}).then(()=>{const l=setTimeout(()=>{s==0&&(s=1,o(!1))},(a||60)*1e3),p=()=>{s==0&&S.App.Check.POST({name:e}).then(m=>{if(s==0&&m!=null&&m.data){const{result:u}=m.data;if((u==null?void 0:u.status)=="installed"){clearTimeout(l),s=1,o(!0);return}}}).catch(m=>{}).finally(()=>{s==0&&setTimeout(p,3e3)})};setTimeout(p,3e3)}).catch(l=>{s==0&&(s=1,n("\u5B89\u88C5\u5931\u8D25\uFF0C"+l))})}),checkAndInstallApp:(e,a,o)=>T(Kt,null,function*(){let n=F.Loading("\u68C0\u67E5\u4E2D...");try{const s=yield S.App.Check.POST({name:e});if(n.Close(),s!=null&&s.data){const{result:l,error:p}=s.data;if(p)F.Warning(p);else if(l){if(l.status=="installed")return!0;if(confirm(`\u68C0\u6D4B\u5230\u4F60\u5C1A\u672A\u5B89\u88C5 ${a} \u63D2\u4EF6,\u662F\u5426\u5B89\u88C5\uFF1F`)){n=F.Loading("\u6B63\u5728\u5B89\u88C5\u4E2D...");const m=yield lt.installApp(o||e);if(n.Close(),m)return!0;F.Error("\u5B89\u88C5\u5931\u8D25\u6216\u8D85\u65F6\uFF0C\u8BF7\u68C0\u67E5\u8F6F\u4EF6\u6E90\u6216\u7A0D\u5019\u91CD\u8BD5")}}else F.Warning("\u68C0\u67E5\u63D2\u4EF6\u72B6\u6001\u5931\u8D25")}return!1}catch(s){return n.Close(),F.Warning(s),!1}}),installAndGo:(e,a,o,n)=>T(Kt,null,function*(){(yield lt.checkAndInstallApp(e,a,n))&&(location.href=o)})},mr={},vr={t:"1640746738262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1216",width:"128",height:"128"},br=t("path",{d:"M511.232 438.8352L112.9984 40.6016A51.2 51.2 0 0 0 40.6016 112.9984L438.784 511.232 40.6016 909.4656a51.2 51.2 0 1 0 72.3968 72.448l398.2336-398.2848 398.2336 398.2848a51.2 51.2 0 1 0 72.448-72.448l-398.2848-398.2336 398.2848-398.2336A51.2 51.2 0 0 0 909.4656 40.6016L511.232 438.784z","p-id":"1217"},null,-1),gr=[br];function _r(e,a){return i(),r("svg",vr,gr)}var hr=Y(mr,[["render",_r]]);const kr=e=>(O("data-v-428d873e"),e=e(),N(),e),xr={id:"actioner"},wr={key:0,class:"action-container"},yr={class:"action-container_header"},Fr=kr(()=>t("div",null,null,-1)),Er={class:"title"},Cr={class:"action-container_body"},$r=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){const a=e,o=y(!1);Ft(()=>{o.value=!0,document.body.setAttribute("lock-scroll","true")}),Gt(()=>{document.body.removeAttribute("lock-scroll")});const n=()=>{a.Close&&(o.value=!1,setTimeout(()=>{a.Close&&a.Close()},300))};return(s,l)=>(i(),r("div",xr,[t("div",{class:"bg",onClick:n}),e.type!=null?Dt(s.$slots,"default",{key:0},void 0,!0):(i(),r(L,{key:1},[o.value?(i(),r("div",wr,[t("div",yr,[Fr,t("div",Er,h(e.title),1),t("button",{class:"close",title:"\u5173\u95ED",onClick:n},[D(hr)])]),t("div",Cr,[Dt(s.$slots,"default",{},void 0,!0)])])):E("",!0)],64))]))}});var Dr=Y($r,[["__scopeId","data-v-428d873e"]]);const et=P({props:{Close:{type:Function},type:{type:Number},title:String},setup(e){return(a,o)=>(i(),M(Dr,{Close:e.Close,type:e.type,title:e.title},{default:V(()=>[Dt(a.$slots,"default")]),_:3},8,["Close","type","title"]))}}),Lt=e=>(O("data-v-2a4078c6"),e=e(),N(),e),Br=["onSubmit"],Yr=Lt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),Ar={class:"actioner-dns_body"},Sr={class:"label-item"},zr=Lt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u9009\u9879")],-1)),Pr={class:"label-item_value"},Tr=["disabled"],Ir=Lt(()=>t("option",{value:"manual"},"\u81EA\u5B9A\u4E49DNS",-1)),Lr={class:"label-item"},Mr=Lt(()=>t("div",{class:"label-item_key"},[t("span",null,"DNS\u670D\u52A1\u5668\u5730\u5740")],-1)),Or={class:"label-item_value"},Nr=["onUpdate:modelValue"],qr=Lt(()=>t("div",{class:"label-item_key"},"\u5907\u7528DNS\u670D\u52A1\u5668\u5730\u5740",-1)),Vr={class:"label-item_value"},Gr=["onUpdate:modelValue"],jr={key:1,class:"label-message"},Rr={class:"actioner-dns_footer"},Ur=["disabled"],Wr={key:1,class:"actioner-dns"},Hr=Lt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"DNS\u914D\u7F6E")],-1)),Zr=Lt(()=>t("div",{class:"actioner-dns_body"},[t("div",{class:"config-message"},"DNS\u914D\u7F6E\u5DF2\u4FDD\u5B58")],-1)),Jr=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=ce(),s=n.status,l=R(()=>n.status.proto!="static"),p=()=>{let g=s.dnsList||[];for(g=g.filter(b=>b);g.length<2;)g.push("");return g},m=y({interfaceName:s.defaultInterface||"",dnsProto:s.dnsProto||"manual",manualDnsIp:p()}),u=y(""),d=y(!1),c=()=>T(this,null,function*(){u.value="";let g={};switch(m.value.dnsProto){case"auto":break;case"manual":if(g.manualDnsIp=[],!m.value.manualDnsIp[0]){F.Error("\u81F3\u5C11\u9700\u8981\u586B\u5199\u4E00\u4E2ADNS");return}g.manualDnsIp=m.value.manualDnsIp.filter(_=>_);break}g.dnsProto=m.value.dnsProto,g.interfaceName=m.value.interfaceName;const b=F.Loading("\u914D\u7F6E\u4E2D...");try{const _=yield S.Guide.DnsConfig.POST(g);if(_!=null&&_.data){const{success:x,error:k}=_==null?void 0:_.data;k&&(u.value=k),(x==null||x==0)&&(F.Success("\u914D\u7F6E\u6210\u529F"),o.value=1)}}catch(_){u.value=_}b.Close()}),f=g=>{g.preventDefault(),a.Close&&a.Close()},v=g=>{location.reload()};return(g,b)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(c,["prevent"])},[Yr,t("div",Ar,[t("div",Sr,[zr,t("div",Pr,[z(t("select",{"onUpdate:modelValue":b[0]||(b[0]=_=>m.value.dnsProto=_)},[t("option",{value:"auto",disabled:!w(l)},"\u81EA\u52A8\u83B7\u53D6DNS",8,Tr),Ir],512),[[Q,m.value.dnsProto]])])]),m.value.dnsProto=="manual"?(i(!0),r(L,{key:0},j(m.value.manualDnsIp,(_,x)=>(i(),r("div",Lr,[x==0?(i(),r(L,{key:0},[Mr,t("div",Or,[z(t("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165DNS\u5730\u5740",required:"","onUpdate:modelValue":k=>m.value.manualDnsIp[x]=k},null,8,Nr),[[W,m.value.manualDnsIp[x],void 0,{trim:!0}]])])],64)):(i(),r(L,{key:1},[qr,t("div",Vr,[z(t("input",{type:"text",placeholder:"\u5907\u7528DNS\u5730\u5740","onUpdate:modelValue":k=>m.value.manualDnsIp[x]=k},null,8,Gr),[[W,m.value.manualDnsIp[x],void 0,{trim:!0}]])])],64))]))),256)):E("",!0),u.value?(i(),r("div",jr,h(u.value),1)):E("",!0)]),t("div",Rr,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:d.value},"\u786E\u8BA4",8,Ur),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:f},"\u53D6\u6D88")])],40,Br)):o.value==1?(i(),r("div",Wr,[Hr,Zr,t("div",{class:"actioner-dns_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:v},"\u5B8C\u6210")])])):E("",!0)]),_:1},8,["Close"]))}});var Xr=Y(Jr,[["__scopeId","data-v-2a4078c6"]]);const oa=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Xr,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},pe=e=>(O("data-v-0ae97e7e"),e=e(),N(),e),Kr={class:"action"},Qr={class:"action-body"},ts=pe(()=>t("div",{class:"icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128","data-v-cda444e0":""},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063","data-v-cda444e0":""})])],-1)),es=pe(()=>t("h2",{class:"title"},"\u670D\u52A1\u5DF2\u542F\u52A8",-1)),as={class:"info"},os=pe(()=>t("span",null,"\u524D\u5F80",-1)),ns=["href"],is=pe(()=>t("span",null,"\u8FDB\u884C\u6D4B\u901F",-1)),rs=P({props:{port:Number,Close:Function},setup(e){const a=e,o=R(()=>`http://${location.hostname}:${a.port}`),n=()=>{a.Close&&(a.Close(),location.reload())};return(s,l)=>(i(),M(et,{type:1},{default:V(()=>[D(xt,{name:"rotate",mode:"out-in"},{default:V(()=>[t("div",Kr,[t("div",Qr,[ts,es,t("div",as,[os,t("a",{href:w(o),target:"_blank",rel:"noopener noreferrer"},h(w(o)),9,ns),is]),t("div",{class:"btns"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",type:"button",onClick:n},"\u5173\u95ED")])])])]),_:1})]),_:1}))}});var ss=Y(rs,[["__scopeId","data-v-0ae97e7e"]]),ds=e=>{const a=document.createElement("div");document.body.appendChild(a);const o=tt(ss,at(J({},e),{Close:()=>{n()}}));o.mount(a);const n=()=>{o.unmount(),a.remove()};return{Close:n}};const $e=e=>(O("data-v-342aaca4"),e=e(),N(),e),us=$e(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:v":"https://vecta.io/nano",width:"48",height:"38",viewBox:"0 0 12.7 10.05"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(0 -286.95)"},[t("rect",{x:".21",y:"287.25",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0834 280.6)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#999",filter:"url(#A)",stroke:"#999","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0999 280.7)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.24",y:"294.55",width:"1.6",height:"1.38",ry:".11",fill:"#ccc",stroke:"#ccc","stroke-width":".22","paint-order":"normal"})])])],-1)),cs={class:"app-container_status-label_text"},ls=$e(()=>t("div",{class:"text_status"},"\u5DF2\u65AD\u5F00",-1)),ps={class:"text_info"},fs=$e(()=>t("div",{class:"app-container_status-label_iconer"},[t("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"48",height:"38",viewBox:"0 0 12.7 10.05","xmlns:v":"https://vecta.io/nano"},[t("defs",null,[t("filter",{id:"A","color-interpolation-filters":"sRGB"},[t("feColorMatrix",{result:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "}),t("feColorMatrix",{values:"0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"}),t("feColorMatrix",{in:"A",values:"2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "})]),t("path",{id:"B",d:"M80.56 75.75h3.91v22.79h-3.91z"})]),t("g",{transform:"translate(-.03 -287.07)"},[t("rect",{x:".24",y:"287.36",width:"12.33",height:"9.5",ry:".57",fill:"#e6e6e6",stroke:"#e6e6e6","stroke-linejoin":"round","stroke-width":".37","paint-order":"normal"}),t("path",{transform:"matrix(.105 0 0 .0989 -6.0532 280.72)",d:"M73.96 75.66h89.41c2.31 0 4.17 1.86 4.17 4.17v52.65h-21.74v9.41h-8.69v12.59h-36.87v-12.59h-8.69v-9.41H69.79V79.83c0-2.31 1.86-4.17 4.17-4.17z",fill:"#4d4d4d",filter:"url(#A)",stroke:"#4d4d4d","stroke-width":"2.5"}),t("g",{transform:"matrix(.1048 0 0 .1048 -6.0697 280.81)",fill:"#fff",filter:"url(#A)",stroke:"#fff"},[t("use",{"xlink:href":"#B"}),t("use",{"xlink:href":"#B",x:"73.04"}),t("use",{"xlink:href":"#B",x:"52.17"}),t("use",{"xlink:href":"#B",x:"41.74"}),t("use",{"xlink:href":"#B",x:"31.3"}),t("use",{"xlink:href":"#B",x:"20.87"}),t("use",{"xlink:href":"#B",x:"10.43"}),t("use",{"xlink:href":"#B",x:"62.61"})]),t("rect",{x:"1.27",y:"294.67",width:"1.6",height:"1.38",ry:".11",fill:"#55d400",stroke:"#55d400","stroke-width":".22","paint-order":"normal"})])])],-1)),ms={class:"app-container_status-label_text"},vs={class:"text_info"},bs=P({props:{item:{type:Object,required:!0},transform:{type:Number,default:0}},setup(e){const a=e,o=Ke(),n=y(null),s=p=>{const m=p.target,{left:u,top:d}=m.getBoundingClientRect();o.portitemStyle.show=!0,o.portitemStyle.left=u,o.portitemStyle.top=d,o.portitemStyle.portitem=a.item},l=p=>{o.portitemStyle.show=!1};return(p,m)=>(i(),r("div",{class:"app-container_status-label_bg",style:Vt(`transform: translateX(${e.transform}px);`),ref_key:"el",ref:n,onMouseenter:s,onMouseleave:l},[e.item.linkState=="DOWN"?(i(),r(L,{key:0},[us,t("div",cs,[ls,t("div",ps,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64)):(i(),r(L,{key:1},[fs,t("div",ms,[t("div",null,h(e.item.linkSpeed),1),t("div",vs,h(e.item.name)+" "+h(e.item.interfaceNames?`(${e.item.interfaceNames.join(",").toLocaleUpperCase()})`:""),1)])],64))],36))}});var na=Y(bs,[["__scopeId","data-v-342aaca4"]]);const ia=e=>(O("data-v-3470ca08"),e=e(),N(),e),gs=ia(()=>t("span",null,h("<"),-1)),_s=[gs],hs=ia(()=>t("span",null,h(">"),-1)),ks=[hs],xs=P({props:{portList:{type:Array,required:!0}},setup(e){const a=y(),o=y(0),n=y(0),s=y(0),l=y(!1),p=()=>{if(s.value>=0){s.value=0;return}s.value+=100},m=()=>{if(s.value<=0-o.value+n.value){s.value=0-o.value+n.value;return}s.value-=100};return Ft(()=>{Ia(()=>{a.value&&(o.value=a.value.scrollWidth,n.value=a.value.clientWidth,l.value=o.value>n.value)})}),(u,d)=>(i(),r("div",{class:"app-interfaces",ref_key:"el",ref:a},[l.value?(i(),r(L,{key:0},[t("a",{class:"btn-f",onClick:p},_s),t("a",{class:"btn-r",onClick:m},ks)],64)):E("",!0),(i(!0),r(L,null,j(e.portList,(c,f)=>(i(),M(na,{item:c,transform:s.value},null,8,["item","transform"]))),256))],512))}});var ws=Y(xs,[["__scopeId","data-v-3470ca08"]]);const ys={},Fs={width:"82px",height:"82px",viewBox:"0 0 82 82",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Es=It('
s+1&&p{let o=Ct(a),n=Ct(e)&o,s=~o,l;return s>=105?(l=n|s-5,n=n|100):s>=3?(l=n|s-1,n=n|2):(n=n|1,l=n),[He(n),He(l)]},bf=e=>te.IPv4.subnetMaskFromPrefixLength(e).toString();var kt={isValidMask:ff,isValidIPv4:pf,isValidMaskRange:mf,calcMaskRange:vf,prefixToMask:bf};const ft=e=>(O("data-v-9cffddcc"),e=e(),N(),e),gf=["onSubmit"],_f=ft(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u5185\u7F51\u914D\u7F6E")],-1)),hf={class:"actioner-dns_body"},kf={class:"label-item"},xf=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5730\u5740")],-1)),wf={class:"label-item_value"},yf={class:"label-item"},Ff=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IPv4\u5B50\u7F51\u63A9\u7801")],-1)),Ef={class:"label-item_value"},Cf={key:0,class:"chose_dhcp"},$f={key:0,class:"dhcp_info"},Df={key:1,class:"dhcp_info"},Bf={class:"label-item"},Yf=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u8D77\u59CB\u5730\u5740")],-1)),Af={class:"label-item_value"},Sf={class:"label-item"},zf=ft(()=>t("div",{class:"label-item_key"},[t("span",null,"IP\u6C60\u7ED3\u675F\u5730\u5740")],-1)),Pf={class:"label-item_value"},Tf={class:"actioner-dns_footer"},If=["disabled"],Lf={key:1,class:"actioner-dns"},Mf=ft(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u66F4\u6362\u914D\u7F6E")],-1)),Of={class:"actioner-dns_body"},Nf={key:0,class:"setting_status"},qf=ft(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063181211",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5062",width:"128",height:"128"},[t("path",{d:"M512 85.333333c235.648 0 426.666667 191.018667 426.666667 426.666667s-191.018667 426.666667-426.666667 426.666667S85.333333 747.648 85.333333 512 276.352 85.333333 512 85.333333z m-74.965333 550.4L346.453333 545.152a42.666667 42.666667 0 1 0-60.330666 60.330667l120.704 120.704a42.666667 42.666667 0 0 0 60.330666 0l301.653334-301.696a42.666667 42.666667 0 1 0-60.288-60.330667l-271.530667 271.488z",fill:"#52C41A","p-id":"5063"})])],-1)),Vf=ft(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u6210\u529F",-1)),Gf=["href"],jf={key:1,class:"setting_status"},Rf=ft(()=>t("div",{class:"success_icon"},[t("svg",{t:"1642063200324",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5898",width:"128",height:"128"},[t("path",{d:"M549.044706 512l166.189176-166.249412a26.383059 26.383059 0 0 0 0-36.98447 26.383059 26.383059 0 0 0-37.044706 0L512 475.015529l-166.249412-166.249411a26.383059 26.383059 0 0 0-36.98447 0 26.383059 26.383059 0 0 0 0 37.044706L475.015529 512l-166.249411 166.249412a26.383059 26.383059 0 0 0 0 36.98447 26.383059 26.383059 0 0 0 37.044706 0L512 548.984471l166.249412 166.249411a26.383059 26.383059 0 0 0 36.98447 0 26.383059 26.383059 0 0 0 0-37.044706L548.984471 512zM512 1024a512 512 0 1 1 0-1024 512 512 0 0 1 0 1024z",fill:"#E84335","p-id":"5899"})])],-1)),Uf=ft(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u5931\u8D25",-1)),Wf=ft(()=>t("p",null,"\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E",-1)),Hf={key:2,class:"setting_status"},Zf=ft(()=>t("div",{class:"success_icon"},[t("svg",{width:"128px",height:"128px",viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t("g",{id:"icon_yellow",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t("g",{id:"Icon/Warning"},[t("rect",{id:"\u77E9\u5F62",fill:"#000000","fill-rule":"nonzero",opacity:"0",x:"0",y:"0",width:"128",height:"128"}),t("path",{d:"M64,8 C33.075,8 8,33.075 8,64 C8,94.925 33.075,120 64,120 C94.925,120 120,94.925 120,64 C120,33.075 94.925,8 64,8 Z M60,37 C60,36.45 60.45,36 61,36 L67,36 C67.55,36 68,36.45 68,37 L68,71 C68,71.55 67.55,72 67,72 L61,72 C60.45,72 60,71.55 60,71 L60,37 Z M64,92 C60.6875,92 58,89.3125 58,86 C58,82.6875 60.6875,80 64,80 C67.3125,80 70,82.6875 70,86 C70,89.3125 67.3125,92 64,92 Z",id:"\u5F62\u72B6",fill:"#FAAD14"})])])])],-1)),Jf=ft(()=>t("div",{class:"config-message"},"\u914D\u7F6E\u8D85\u65F6",-1)),Xf=ft(()=>t("p",null,"\u8DEF\u7531\u5668 IP \u53EF\u80FD\u5DF2\u7ECF\u4FEE\u6539\u6210\u529F\u3002\u82E5\u5237\u65B0\u9875\u9762\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u8DEF\u7531\u5668\uFF0C\u5426\u5219\u8BF7\u5C1D\u8BD5\u91CD\u65B0\u914D\u7F6E\u3002",-1)),Kf=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y({lanIp:"",netMask:"255.255.255.0",enableDhcp:!1,dhcpStart:"",dhcpEnd:""});y("");const s=y(!1);y(!0),y(!1);const l=y(""),p=y(2),m=y(!1),u=y("timeout");let d=!0;(()=>{S.Guide.GetLan.GET().then(_=>{_.data.result&&(m.value=_.data.result.enableDhcp||!1,_.data.result.enableDhcp=!1,n.value=_.data.result,_.data.result.lanIp!==location.hostname&&(d=!1))})})();const f=()=>{const _=n.value;if(!kt.isValidIPv4(_.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!kt.isValidMask(_.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}const x=kt.calcMaskRange(_.lanIp,_.netMask);_.dhcpStart=x[0],_.dhcpEnd=x[1],n.value=_},v=()=>{const _=n.value;if(!kt.isValidIPv4(_.lanIp)){F.Warning("IPv4\u5730\u5740\u683C\u5F0F\u9519\u8BEF");return}if(!kt.isValidMask(_.netMask)){F.Warning("IPv4\u5B50\u7F51\u63A9\u7801\u683C\u5F0F\u9519\u8BEF");return}if(_.enableDhcp&&!(kt.isValidIPv4(_.dhcpStart)&&kt.isValidIPv4(_.dhcpEnd)&&kt.isValidMaskRange(_.lanIp,_.netMask,_.dhcpStart,_.dhcpEnd))){F.Warning("DHCP\u7684IP\u6C60\u683C\u5F0F\u9519\u8BEF\u6216\u8D85\u51FA\u5B50\u7F51\u8303\u56F4");return}const x=F.Loading("\u6B63\u5728\u914D\u7F6E\u2026\u8BF7\u7A0D\u7B49",30);let k=0;const C=B=>{u.value=B,o.value=1,k=1,x.Close()},A=()=>{const B=new Date().getTime()+3e4,$=d?location.protocol+"//"+_.lanIp+(location.port?":"+location.port:""):location.origin,q=$+"/luci-static/resources/icons/loading.gif",H=()=>{k==0&&(new Date().getTime()>B?C("timeout"):window.setTimeout(Z,2e3))},G=()=>{k==0&&(l.value=$+location.pathname,C("success"),window.setTimeout(()=>{p.value=1},1e3),window.setTimeout(()=>{location.href=l.value},2e3))},Z=()=>{if(k!=0)return;console.log("check online ",q);const ht=new Image;ht.onload=G,ht.onerror=H,ht.src=q};window.setTimeout(Z,5e3)};S.Guide.LanIp.POST(_).then(B=>{var $;if(B!=null&&B.data){if((B.data.success||0)==0)return;if(($=B.data)!=null&&$.error)throw B.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).catch(B=>{k==0&&(C("fail"),F.Error(B))}),A(),window.setTimeout(()=>{k==0&&C("timeout")},3e4)},g=_=>{_.preventDefault(),a.Close&&a.Close()},b=_=>{location.reload()};return(_,x)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("form",{key:0,class:"actioner-dns",onSubmit:nt(v,["prevent"])},[_f,t("div",hf,[t("div",kf,[xf,t("div",wf,[z(t("input",{type:"text",placeholder:"192.168.100.1",required:"","onUpdate:modelValue":x[0]||(x[0]=k=>n.value.lanIp=k),onChange:f},null,544),[[W,n.value.lanIp,void 0,{trim:!0}]])])]),t("div",yf,[Ff,t("div",Ef,[z(t("input",{type:"text",placeholder:"255.255.255.0",required:"","onUpdate:modelValue":x[1]||(x[1]=k=>n.value.netMask=k),onChange:f},null,544),[[W,n.value.netMask,void 0,{trim:!0}]])])]),m.value?(i(),r("div",Cf,[D(ea,{modelValue:n.value.enableDhcp,"onUpdate:modelValue":x[2]||(x[2]=k=>n.value.enableDhcp=k)},{default:V(()=>[n.value.enableDhcp?(i(),r("span",$f,"\u4FEE\u6539DHCP\u670D\u52A1")):(i(),r("span",Df,"\u4FDD\u6301DHCP\u670D\u52A1\u8BBE\u7F6E"))]),_:1},8,["modelValue"])])):E("",!0),n.value.enableDhcp?(i(),r(L,{key:1},[t("div",Bf,[Yf,t("div",Af,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":x[3]||(x[3]=k=>n.value.dhcpStart=k)},null,512),[[W,n.value.dhcpStart,void 0,{trim:!0}]])])]),t("div",Sf,[zf,t("div",Pf,[z(t("input",{type:"text",placeholder:"192.168.100.100",required:"","onUpdate:modelValue":x[4]||(x[4]=k=>n.value.dhcpEnd=k)},null,512),[[W,n.value.dhcpEnd,void 0,{trim:!0}]])])])],64)):E("",!0)]),t("div",Tf,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:s.value},"\u786E\u8BA4",8,If),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u53D6\u6D88")])],40,gf)):o.value==1?(i(),r("div",Lf,[Mf,t("div",Of,[u.value=="success"?(i(),r("div",Nf,[qf,Vf,t("a",{href:l.value,class:"NewAdress"},h(p.value)+"s\u540E \u8DF3\u8F6C\u65B0\u5730\u5740",9,Gf)])):u.value=="fail"?(i(),r("div",jf,[Rf,Uf,Wf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},"\u6211\u77E5\u9053\u4E86")])):u.value=="timeout"?(i(),r("div",Hf,[Zf,Jf,Xf,t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:b},"\u5237\u65B0\u9875\u9762")])):E("",!0)])])):E("",!0)]),_:1},8,["Close"]))}});var Qf=Y(Kf,[["__scopeId","data-v-9cffddcc"]]);const tm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Qf,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},vt=e=>(O("data-v-0384f3ac"),e=e(),N(),e),em={key:0,class:"actioner-dns"},am=vt(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),om={class:"actioner-dns_body"},nm=vt(()=>t("p",{class:"sandbox_info"},"\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4Docker\u548C\u786C\u76D8\u7684\u6570\u636E",-1)),im={key:0,class:"disk_loading_icon"},rm=vt(()=>t("span",{class:"disk_loading_info"},"\u6B63\u5728\u52A0\u8F7D\u4E2D...",-1)),sm={key:1,class:"disk_tips"},dm=vt(()=>t("span",null,"\u68C0\u6D4B\u4E0D\u5230\u6302\u8F7D\u7684\u78C1\u76D8\u4FE1\u606F\uFF0C\u8BF7\u5148\u63D2\u4E0A\u78C1\u76D8\uFF0C\u5EFA\u8BAE\u4F7F\u7528U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378",-1)),um={class:"label-item"},cm=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u78C1\u76D8\uFF08\u5EFA\u8BAE\u9009\u62E9U\u76D8\u6216\u8005\u79FB\u52A8\u786C\u76D8\uFF0C\u65B9\u4FBF\u88C5\u5378\uFF09")],-1)),lm={class:"label-item_value"},pm=vt(()=>t("option",{value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u78C1\u76D8",-1)),fm=["value"],mm={class:"label-item"},vm=vt(()=>t("div",{class:"label-item_key"},[t("span",null,"\u76EE\u6807\u5206\u533A\uFF08\u5206\u533A\u5927\u5C0F\u987B\u5927\u4E8E2G\uFF0C\u5C06\u6B64\u5206\u533A\u4F5C\u4E3A\u5916\u90E8 overlay \u4F7F\u7528\uFF09")],-1)),bm={class:"label-item_value"},gm=vt(()=>t("option",{selected:"true",value:""},"\u8BF7\u9009\u62E9\u76EE\u6807\u5206\u533A",-1)),_m=["value","disabled"],hm={class:"sandbox_tips"},km=vt(()=>t("span",null,"\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E",-1)),xm={class:"sandbox_info timeout"},wm=U("\u5373\u5C06\u91CD\u542F\u8BBE\u5907 "),ym=vt(()=>t("p",{class:"sandbox_roboot_tips"},[U("\u7B49\u5F85\u8BBE\u5907\u91CD\u542F\uFF0C\u91CD\u542F\u5B8C\u6210\u540E"),t("span",{class:"sandbox_roboot_refresh"},"\u8BF7\u5237\u65B0\u754C\u9762")],-1)),Fm={key:0,class:"actioner-dns_footer"},Em=["disabled"],Cm={key:1,class:"actioner-tips"},$m=vt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u6E29\u99A8\u63D0\u793A")],-1)),Dm=vt(()=>t("div",{class:"actioner-tips_body"},[t("p",{class:"sandbox_info"},"\u6B64\u64CD\u4F5C\u4F1A\u5C06\u4F1A\u5220\u9664\u8BE5\u5206\u533A\u5168\u90E8\u6570\u636E\uFF0C\u5E76\u683C\u5F0F\u5316\u6210EXT4\uFF0C\u968F\u540E\u81EA\u52A8\u91CD\u542F\u8FDB\u5165\u6C99\u7BB1\u6A21\u5F0F\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F")],-1)),Bm={key:2,class:"actioner-tips"},Ym=vt(()=>t("div",{class:"actioner-tips_header"},[t("span",null,"\u9519\u8BEF")],-1)),Am={class:"actioner-tips_body"},Sm={class:"sandbox_info"},zm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0);y("disk");const n=y(""),s=y(3),l=y(""),p=y([]),m=y(""),u=y(null);(()=>{S.Nas.SandboxDisks.GET().then(k=>{var C;if(k!=null&&k.data&&(C=k.data)!=null&&C.result){u.value=k.data.result;return}throw"\u52A0\u8F7D\u78C1\u76D8\u4FE1\u606F\u5931\u8D25"}).catch(k=>{n.value=k,o.value=3})})();const c=()=>S.System.Reboot.POST({name:l.value,path:m.value}).then(k=>{var C;if(!(k!=null&&k.data&&(((C=k==null?void 0:k.data)==null?void 0:C.success)||0)==0))throw"\u672A\u77E5\u9519\u8BEF"}),f=k=>{var C,A;m.value="",p.value=l.value&&((A=(C=u.value)==null?void 0:C.disks.find(B=>B.path==l.value))==null?void 0:A.childrens)||[]},v=()=>{s.value>0&&(s.value-=1,window.setTimeout(v,1e3))},g=k=>{k.preventDefault(),a.Close&&a.Close()},b=()=>{new Promise((k,C)=>{const A="/luci-static/resources/icons/loading.gif",B=()=>{window.setTimeout($,2e3)},$=()=>{const q=new Image;q.onload=k,q.onerror=B,q.src=A};window.setTimeout($,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},_=k=>{const C=F.Loading("\u914D\u7F6E\u6C99\u7BB1\u91CD\u542F\u4E2D...");S.Nas.Sandbox.POST({path:m.value}).then(A=>{var B;if(A!=null&&A.data){if((A.data.success||0)==0)return o.value=2,window.setTimeout(v,1e3),c();if((B=A.data)!=null&&B.error)throw A.data.error}throw"\u672A\u77E5\u9519\u8BEF"}).then(b).catch(A=>F.Warning(A)).finally(()=>C.Close())},x=()=>{o.value=0};return(k,C)=>{const A=X("icon-loading");return i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0||o.value==2?(i(),r("div",em,[am,t("div",om,[nm,o.value==0?(i(),r(L,{key:0},[u.value?E("",!0):(i(),r("div",im,[D(A,{size:38,color:"currentColor"}),rm])),u.value&&u.value.disks.length==0?(i(),r("div",sm,[D(gt),dm])):E("",!0),u.value&&u.value.disks.length>0?(i(),r(L,{key:2},[t("div",um,[cm,t("div",lm,[z(t("select",{name:"",id:"",onChange:f,"onUpdate:modelValue":C[0]||(C[0]=B=>l.value=B)},[pm,(i(!0),r(L,null,j(u.value.disks,(B,$)=>(i(),r("option",{value:B.path,key:$},h(B.venderModel)+"\uFF08"+h(B.size)+"\uFF09 ",9,fm))),128))],544),[[Q,l.value]])])]),t("div",mm,[vm,t("div",bm,[z(t("select",{name:"",id:"","onUpdate:modelValue":C[1]||(C[1]=B=>m.value=B)},[gm,(i(!0),r(L,null,j(p.value,(B,$)=>(i(),r("option",{value:B.path,key:$,disabled:B.sizeInt<(1<<30)*1||B.isSystemRoot},h(B.name)+"\uFF08"+h(B.filesystem||"\u672A\u683C\u5F0F\u5316")+"\uFF09"+h(B.total),9,_m))),128))],512),[[Q,m.value]])])]),t("div",hm,[D(gt),km])],64)):E("",!0)],64)):E("",!0),o.value==2?(i(),r(L,{key:1},[t("p",xm,[wm,t("span",null,"\uFF08"+h(s.value)+"s\uFF09",1)]),ym],64)):E("",!0)]),o.value==0?(i(),r("div",Fm,[t("button",{class:"cbi-button cbi-button-apply app-btn",disabled:!m.value,onClick:C[2]||(C[2]=B=>o.value=1)},"\u5F00\u542F\u6C99\u7BB1",8,Em),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:g},"\u53D6\u6D88")])):E("",!0)])):E("",!0),o.value==1?(i(),r("div",Cm,[$m,Dm,t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:_},"\u7EE7\u7EED"),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x},"\u53D6\u6D88")])])):E("",!0),o.value==3?(i(),r("div",Bm,[Ym,t("div",Am,[t("p",Sm,h(n.value),1)]),t("div",{class:"actioner-tips_footer"},[t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:x},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"])}}});var Pm=Y(zm,[["__scopeId","data-v-0384f3ac"]]);const Tm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(Pm,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},ba=e=>(O("data-v-4db2efb4"),e=e(),N(),e),Im={key:0,class:"actioner-dns"},Lm=ba(()=>t("div",{class:"actioner-dns_header"},[t("span",null,"\u6C99\u7BB1\u6A21\u5F0F\u914D\u7F6E\u5411\u5BFC")],-1)),Mm=ba(()=>t("div",{class:"actioner-dns_body"},[t("p",{class:"sandbox_info"},"\u4E00\u4E2A\u7B80\u6613\u6C99\u7BB1\uFF0C\u65B9\u4FBF\u7528\u6765\u5B9E\u9A8C\u7CFB\u7EDF\u914D\u7F6E\u548C\u7A0B\u5E8F\uFF0C\u65B9\u4FBF\u5F00\u53D1\u672A\u5B8C\u6210\u7684\u8F6F\u4EF6\uFF0C\u4F46\u4E0D\u4FDD\u62A4 Docker \u548C\u786C\u76D8\u7684\u6570\u636E"),t("div",{class:"sandbox_environment"},[t("p",null,"\u5F53\u524D\u5904\u4E8E\u6C99\u7BB1\u73AF\u5883\uFF1A"),t("p",null,"1\u3001\u70B9\u51FB\u201C\u63D0\u4EA4\u201D\u53EF\u5C06\u53D8\u66F4\u5408\u5E76\u5230\u975E\u6C99\u7BB1\u73AF\u5883"),t("p",null,"2\u3001\u70B9\u51FB\u201C\u91CD\u7F6E\u201D\u53EF\u5C06\u6C99\u7BB1\u6062\u590D\u5230\u521D\u59CB\u72B6\u6001"),t("p",null,"3\u3001\u70B9\u51FB\u201C\u9000\u51FA\u201D\u53EF\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u5E76\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E")]),t("div",{class:"sandbox_environment_info"},[U("\u4EE5\u4E0A\u64CD\u4F5C\u90FD\u5C06\u91CD\u542F\u8BBE\u5907\uFF0C\u8BBE\u5907\u91CD\u542F\u5B8C\u6210\u540E\u4F1A\u81EA\u52A8\u5237\u65B0\u9875\u9762\u3002\u5982\u679C IP \u53D8\u5316\u53EF\u80FD\u9700\u8981"),t("span",{class:"sandbox_environment_reboot"},"\u624B\u52A8\u5728\u5730\u5740\u680F\u8F93\u5165\u5730\u5740"),t("p",{class:"sandbox_environment_tex"},[U(" \u5982\u9700"),t("b",null,"\u4E34\u65F6"),U("\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\uFF0C\u8BF7\u5C06\u8BBE\u5907\u5173\u673A\u540E\u62D4\u51FA\u76F8\u5173\u78C1\u76D8\uFF0C\u542F\u52A8\u524D\u63D2\u5165\u76F8\u5173\u78C1\u76D8\u53EF\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u3002"),t("br"),U(" \u6CE8\u610F\u4E34\u65F6\u9000\u51FA\u6C99\u7BB1\u73AF\u5883\u4EE5\u540E\u5347\u7EA7\u56FA\u4EF6\u4F1A\u5BFC\u81F4\u4E4B\u524D\u7684\u6C99\u7BB1\u6570\u636E\u65E0\u6548 ")])])],-1)),Om={class:"actioner-dns_footer"},Nm=["disabled"],qm=["disabled"],Vm=["disabled"],Gm=P({props:{Close:{type:Function,required:!0}},setup(e){const a=e,o=y(0),n=y(!1),s=()=>{new Promise((d,c)=>{const f="/luci-static/resources/icons/loading.gif",v=()=>{window.setTimeout(g,2e3)},g=()=>{const b=new Image;b.onload=d,b.onerror=v,b.src=f};window.setTimeout(g,1e4)}).then(()=>{window.setTimeout(()=>{location.reload()},2e3)})},l=()=>{n.value=!0;const d=F.Loading("\u63D0\u4EA4\u4E2D...");S.Nas.SandboxCommit.POST().then(c=>{var f,v;if(c!=null&&c.data)if((((f=c==null?void 0:c.data)==null?void 0:f.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D...");return}else(v=c==null?void 0:c.data)!=null&&v.error&&alert(c.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(c=>{F.Error(c),n.value=!1}).finally(()=>d.Close())},p=()=>{n.value=!0;const d=F.Loading("\u91CD\u7F6E\u4E2D...");S.Nas.SandboxReset.POST().then(c=>{var f,v;if(c!=null&&c.data)if((((f=c==null?void 0:c.data)==null?void 0:f.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740");return}else(v=c==null?void 0:c.data)!=null&&v.error&&alert(c.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(c=>{F.Error(c),n.value=!1}).finally(()=>d.Close())},m=()=>{if(!confirm("\u786E\u5B9A\u653E\u5F03\u6C99\u7BB1\u4E2D\u7684\u6570\u636E\uFF1F\u518D\u6B21\u8FDB\u5165\u6C99\u7BB1\u9700\u8981\u91CD\u65B0\u683C\u5F0F\u5316\u76F8\u5E94\u78C1\u76D8\u5206\u533A"))return;n.value=!0;const d=F.Loading("\u6267\u884C\u4E2D...");S.Nas.SandboxExit.POST().then(c=>{var f,v;if(c!=null&&c.data)if((((f=c==null?void 0:c.data)==null?void 0:f.success)||0)==0){F.Loading("\u8BBE\u5907\u91CD\u542F\u4E2D... \u82E5\u9875\u9762\u957F\u65F6\u95F4\u672A\u5237\u65B0\u53EF\u80FD\u9700\u8981\u624B\u52A8\u586B\u5199\u5730\u5740");return}else(v=c==null?void 0:c.data)!=null&&v.error&&alert(c.data.error);throw"\u672A\u77E5\u9519\u8BEF"}).then(s).catch(c=>{F.Error(c),n.value=!1}).finally(()=>d.Close())},u=d=>{d.preventDefault(),a.Close&&a.Close()};return(d,c)=>(i(),M(et,{Close:e.Close,type:1},{default:V(()=>[o.value==0?(i(),r("div",Im,[Lm,Mm,t("div",Om,[t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:l,disabled:n.value},"\u63D0\u4EA4",8,Nm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:p,disabled:n.value},"\u91CD\u7F6E",8,qm),t("button",{class:"cbi-button cbi-button-apply app-btn",onClick:m,disabled:n.value},"\u9000\u51FA",8,Vm),t("button",{class:"cbi-button cbi-button-remove app-btn app-back",onClick:u},"\u53D6\u6D88")])])):E("",!0)]),_:1},8,["Close"]))}});var jm=Y(Gm,[["__scopeId","data-v-4db2efb4"]]);const Rm=()=>{const e=document.createElement("div");document.body.appendChild(e);const a=tt(jm,{Close:()=>{o()}});a.mount(e);const o=()=>{a.unmount(),e.remove()};return{Close:o}},Um={class:"nav-container"},Wm=["onClick"],Hm={key:1,class:"btn_styles color3 app-update-button",onclick:"window.location.href='/cgi-bin/luci/admin/system/ota'"},Zm=U(" \u56FA\u4EF6\u66F4\u65B0 "),Jm={key:0,style:{display:"inline-block"}},Xm={key:1},Km=["disabled"],Qm=U(" DNS\u914D\u7F6E "),t9={key:0,style:{display:"inline-block"}},e9=P({setup(e){const a=Ce(),o=ce(),n=R(()=>o.status);y(!1),y(!0);const s=y(),l=()=>{oa()},p=()=>{Tm()},m=()=>{Rm()},u=()=>{alert("\u8BE5\u56FA\u4EF6\u4E0D\u652F\u6301\u6C99\u7BB1\u6A21\u5F0F")},d=()=>{tm()},c=()=>{ra()},f=()=>{var v,g,b,_;window.open(`${(g=(v=window.quickstart_configs)==null?void 0:v.ttyd)!=null&&g.ssl?"https":"http"}://${window.location.hostname}:${((_=(b=window.quickstart_configs)==null?void 0:b.ttyd)==null?void 0:_.port)||7681}/`,"_blank")};return qt("sandbox")&&S.Nas.GetSandbox.GET().then(g=>{var b,_,x;g!=null&&g.data&&((((b=g==null?void 0:g.data)==null?void 0:b.success)||0)==0?(_=g==null?void 0:g.data)!=null&&_.result&&(s.value=g.data.result):(x=g==null?void 0:g.data)!=null&&x.error&&alert(g.data.error))}).catch(g=>F.Warning(g)),(v,g)=>{var x,k,C,A,B,$;const b=X("router-link"),_=X("icon-loading");return i(),r("div",Um,[D(b,{to:"/network",custom:""},{default:V(({navigate:q})=>[t("button",{class:"btn_styles color1",onClick:q},"\u7F51\u7EDC\u5411\u5BFC",8,Wm)]),_:1}),w(qt)("ttyd")?(i(),r("button",{key:0,class:"btn_styles color2 app-btn-ttyd",onClick:f},"\u7EC8\u7AEF")):E("",!0),w(qt)("ota")?(i(),r("button",Hm,[Zm,w(a).checkUpdate==null?(i(),r("span",Jm,[D(_,{size:"0.8em",color:"currentColor"})])):(x=w(a).checkUpdate)!=null&&x.needUpdate?(i(),r("i",Xm)):E("",!0)])):E("",!0),t("button",{class:"btn_styles color4",onClick:d},"\u5185\u7F51\u914D\u7F6E"),t("button",{class:"btn_styles color5",onClick:l,disabled:!((k=w(n))!=null&&k.proto)},[Qm,(C=w(n))!=null&&C.proto?E("",!0):(i(),r("span",t9,[D(_,{size:"0.8em",color:"currentColor"})]))],8,Km),t("button",{class:"btn_styles color1",onClick:c},"\u8F6F\u4EF6\u6E90\u914D\u7F6E"),w(qt)("sandbox")?(i(),r(L,{key:2},[((A=s.value)==null?void 0:A.status)=="unsupport"?(i(),r("button",{key:0,class:"btn_styles color2",onClick:u},"\u5F00\u542F\u6C99\u7BB1")):((B=s.value)==null?void 0:B.status)=="stopped"?(i(),r("button",{key:1,class:"btn_styles color3",onClick:p},"\u5F00\u542F\u6C99\u7BB1")):(($=s.value)==null?void 0:$.status)=="running"?(i(),r("button",{key:2,class:"btn_styles color4",onClick:m},"\u6C99\u7BB1\u5DF2\u5F00\u542F")):E("",!0)],64)):E("",!0)])}}});var a9=Y(e9,[["__scopeId","data-v-0d223b54"]]);const _e=e=>(O("data-v-d324f700"),e=e(),N(),e),o9={id:"page"},n9=_e(()=>t("div",{style:{height:"48px","text-align":"right"}},[t("a",{onclick:"void(0)",href:"https://www.istoreos.com/",target:"_blank",style:{"text-decoration":"none",color:"white","line-height":"1.5em"}},"iStoreOS\u5B98\u7F51")],-1)),i9=_e(()=>t("em",null,null,-1)),r9=_e(()=>t("em",null,null,-1)),s9=_e(()=>t("em",null,null,-1)),d9=P({setup(e){return to(),(a,o)=>(i(),r("div",o9,[n9,D(a0),i9,D(a9),D(A7),r9,D(lf),s9]))}});var u9=Y(d9,[["__scopeId","data-v-d324f700"]]);const c9={};function l9(e,a){const o=X("router-view");return i(),M(o)}var p9=Y(c9,[["render",l9]]);const f9={},m9={width:"136px",height:"136px",viewBox:"0 0 136 136",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},v9=It('