diff --git a/UnblockNeteaseMusic/Makefile b/UnblockNeteaseMusic/Makefile index 5a0df984..f51f2501 100644 --- a/UnblockNeteaseMusic/Makefile +++ b/UnblockNeteaseMusic/Makefile @@ -6,13 +6,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=UnblockNeteaseMusic PKG_BASE_VERSION:=0.27.0-rc.4 -PKG_RELEASE:=102 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git PKG_SOURCE_DATE:=2021-12-21 -PKG_SOURCE_VERSION:=027e0df75eda788b7de9ddf1467040b635a3e3c8 -PKG_MIRROR_HASH:=skip +PKG_SOURCE_VERSION:=54b7a60b07a85dea3b52a5d9f1ada456aba12609 +PKG_MIRROR_HASH:=1865a01021ced0a57bcb1f0d63ef72b0e517771602ad7e4026d18222713a77ac PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION)) diff --git a/adguardhome/Makefile b/adguardhome/Makefile index 6c778b92..dab5a933 100644 --- a/adguardhome/Makefile +++ b/adguardhome/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adguardhome PKG_VERSION:=0.108.0-b.5 -PKG_RELEASE:=1 +PKG_RELEASE:=53 PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=2c33ab6a92c7066a26e68b6fff0fa04d8218f054 diff --git a/adguardhome/patches/000-quic-go-1.18-fix.patch b/adguardhome/patches/000-quic-go-1.18-fix.patch new file mode 100644 index 00000000..ab6467d9 --- /dev/null +++ b/adguardhome/patches/000-quic-go-1.18-fix.patch @@ -0,0 +1,31 @@ +--- a/go.mod ++++ b/go.mod +@@ -16,7 +16,7 @@ require ( + github.com/google/renameio v1.0.1 + github.com/insomniacslk/dhcp v0.0.0-20210310193751-cfd4d47082c2 + github.com/kardianos/service v1.2.0 +- github.com/lucas-clemente/quic-go v0.24.0 ++ github.com/lucas-clemente/quic-go v0.25.0 + github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 + github.com/mdlayher/netlink v1.4.0 + github.com/mdlayher/raw v0.0.0-20210412142147-51b895745faf +--- a/go.sum ++++ b/go.sum +@@ -139,6 +139,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2 + github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= + github.com/lucas-clemente/quic-go v0.24.0 h1:ToR7SIIEdrgOhgVTHvPgdVRJfgVy+N0wQAagH7L4d5g= + github.com/lucas-clemente/quic-go v0.24.0/go.mod h1:paZuzjXCE5mj6sikVLMvqXk8lJV2AsqtJ6bDhjEfxx0= ++github.com/lucas-clemente/quic-go v0.25.0 h1:K+X9Gvd7JXsOHtU0N2icZ2Nw3rx82uBej3mP4CLgibc= ++github.com/lucas-clemente/quic-go v0.25.0/go.mod h1:YtzP8bxRVCBlO77yRanE264+fY/T2U9ZlW1AaHOsMOg= + github.com/lunixbochs/vtclean v1.0.0/go.mod h1:pHhQNgMf3btfWnGBVipUOjRYhoOsdGqdm/+2c2E2WMI= + github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= + github.com/marten-seemann/qpack v0.2.1/go.mod h1:F7Gl5L1jIgN1D11ucXefiuJS9UMVP2opoCp2jDKb7wc= +@@ -147,6 +149,8 @@ github.com/marten-seemann/qtls-go1-16 v0 + github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk= + github.com/marten-seemann/qtls-go1-17 v0.1.0 h1:P9ggrs5xtwiqXv/FHNwntmuLMNq3KaSIG93AtAZ48xk= + github.com/marten-seemann/qtls-go1-17 v0.1.0/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8= ++github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1 h1:EnzzN9fPUkUck/1CuY1FlzBaIYMoiBsdwTNmNGkwUUM= ++github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1/go.mod h1:PUhIQk19LoFt2174H4+an8TYvWOGjb/hHwphBeaDHwI= + github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= + github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 h1:lez6TS6aAau+8wXUP3G9I3TGlmPFEq2CTxBaRqY6AGE= + github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7/go.mod h1:U6ZQobyTjI/tJyq2HG+i/dfSoFUt8/aZCM+GKtmFk/Y= diff --git a/app-store-ui/src/dist/luci-static/istore/index.js b/app-store-ui/src/dist/luci-static/istore/index.js index 1732c5e8..9ed8d402 100644 --- a/app-store-ui/src/dist/luci-static/istore/index.js +++ b/app-store-ui/src/dist/luci-static/istore/index.js @@ -1,4 +1,4 @@ -var ht=Object.defineProperty,vt=Object.defineProperties;var ft=Object.getOwnPropertyDescriptors;var ot=Object.getOwnPropertySymbols;var gt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable;var st=(t,e,o)=>e in t?ht(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,K=(t,e)=>{for(var o in e||(e={}))gt.call(e,o)&&st(t,o,e[o]);if(ot)for(var o of ot(e))yt.call(e,o)&&st(t,o,e[o]);return t},X=(t,e)=>vt(t,ft(e));var bt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var $=(t,e,o)=>new Promise((n,a)=>{var l=d=>{try{c(o.next(d))}catch(m){a(m)}},s=d=>{try{c(o.throw(d))}catch(m){a(m)}},c=d=>d.done?n(d.value):Promise.resolve(d.value).then(l,s);c((o=o.apply(t,e)).next())});import{o as i,c as u,h as $t,u as F,a as w,r as x,F as P,b as Z,d as H,w as wt,p as M,e as V,f as r,t as T,g as B,n as W,i as rt,j as y,k as ct,l as kt,m as R,q as tt,s as lt,v as Ct,x as j,y as it,z as dt,A as St,B as xt,C as At,D as Lt}from"./vendor.js";var Es=bt(S=>{const Tt=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function o(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerpolicy&&(l.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?l.credentials="include":a.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(a){if(a.ep)return;a.ep=!0;const l=o(a);fetch(a.href,l)}};Tt();var f=(t,e)=>{const o=t.__vccOpts||t;for(const[n,a]of e)o[n]=a;return o};const It={},Et={class:"cbi-section"};function Pt(t,e,o,n,a,l){return i(),u("fieldset",Et)}var Bt=f(It,[["render",Pt]]);const Dt=()=>window.vue_base,Ft=t=>{if(t)return $t(t).format("YYYY-MM-DD HH:mm:ss")},Mt=()=>new Date().getTime(),Vt=t=>{if(t<1024)return""+t+"KB";let o=1024,n=0;for(let l=t/1024;l>=1024;l/=1024)o*=1024,n++;let a=["M","G","T","P","E"];return(t/100/(o/100)).toFixed(2)+a[n]},Ot=t=>{if(t==null)return 0;if(t<1e4)return t;let o=parseInt(t/1e4),n=t%1e4;return`${o}\u4E07${n}`},Ut=()=>window.token||"",Rt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.uid)||""},zt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.version)||""},Gt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.arch)||""},Kt=()=>"https://www.kooldns.cn/bind",at={all:"\u5168\u90E8",sys:"\u7CFB\u7EDF",tool:"\u5DE5\u5177",net:"\u7F51\u7EDC"},Zt=t=>at[t]?at[t]:t;var qt=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",BasePage:Dt,formatDate:Ft,UnixDate:Mt,numberToSize:Vt,numberToSum:Ot,getToken:Ut,getDeviceId:Rt,getVersion:zt,modelArch:Gt,getIframeURL:Kt,getTagValue:Zt}),I=K({},qt);const Ht={setup(){const t=F(),e=w(()=>t.state.version);return{menus:w(()=>[{to:"/installed",name:"\u5DF2\u5B89\u88C5"},{to:"/store",name:"\u5168\u90E8\u8F6F\u4EF6"},{to:"/upload",name:"\u624B\u52A8\u5B89\u88C5"},{to:"/maintance",name:"\u7EF4\u62A4",up:e.value}])}}},Wt=t=>(M("data-v-86fc2014"),t=t(),V(),t),Yt={class:"tabs menus cbi-tabmenu"},Nt=["href","onClick"],Jt={key:0},Qt=Wt(()=>r("div",{class:"auto"},null,-1));function Xt(t,e,o,n,a,l){const s=x("router-link");return i(),u("ul",Yt,[(i(!0),u(P,null,Z(n.menus,c=>(i(),H(s,{to:c.to,custom:"",key:c.to},{default:wt(({href:d,navigate:m,isActive:h})=>[r("li",{class:W(h&&"active cbi-tab")},[r("a",{href:d,onClick:m},T(c.name),9,Nt),c.up?(i(),u("span",Jt)):B("",!0)],2)]),_:2},1032,["to"]))),128)),Qt])}var jt=f(Ht,[["render",Xt],["__scopeId","data-v-86fc2014"]]);const k=rt.create({});k.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=X(K({},t.params),{token:I.getToken(),_t:I.UnixDate()}),t),t=>t);k.interceptors.response.use(t=>t,t=>t);const q=rt.create({baseURL:"https://istore.linkease.com"});q.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=X(K({},t.params),{modelArch:I.modelArch(),deviceId:I.getDeviceId(),_t:I.UnixDate()}),t),t=>t);q.interceptors.response.use(t=>t);const te=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/installed"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),ee=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/install",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ne=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/upgrade",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),oe=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/remove",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),se=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/update"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),ae=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/status",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),re=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/log"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),ce=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/upload",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),le=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/light_backup"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),ie=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/light_restore",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),de=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/get_available_backup_file_list",params:{path:t}});if(n.status==200){e(n==null?void 0:n.data);return}o(n.status);return}catch(n){o(n);return}})),ue=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/get_local_backup_dir_path"});if(o.status==200){t(o==null?void 0:o.data);return}e(o.status);return}catch(o){e(o);return}})),pe=(t,e)=>new Promise((o,n)=>$(S,null,function*(){try{const a=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/local_backup",params:{path:t,force:e}});if(a.status==200){o(a==null?void 0:a.data);return}n(a.status);return}catch(a){n(a);return}})),_e=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/local_restore",params:{path:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}}));var me=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getInstalledApp:te,installApp:ee,upgradeApp:ne,removeApp:oe,updateAppStore:se,getAppStatus:ae,getLog:re,uploadAppIPK:ce,lightBackup:le,lightRestore:ie,BackupFileList:de,localBackupdirPath:ue,localBackup:pe,localRestore:_e});const he=t=>new Promise((e,o)=>$(S,null,function*(){var n,a,l,s;try{const c=yield q({method:"GET",url:"/api/store/list",params:t});if(((n=c==null?void 0:c.data)==null?void 0:n.success)===0){e((a=c==null?void 0:c.data)==null?void 0:a.result);return}if((l=c==null?void 0:c.data)!=null&&l.message){o((s=c==null?void 0:c.data)==null?void 0:s.message);return}o("error")}catch(c){console.log(c),o(c);return}})),ve=t=>`https://istore.linkease.com${t}`,fe=()=>new Promise((t,e)=>$(S,null,function*(){var o,n,a,l;try{const s=yield q({method:"GET",url:"/api/store/tags"});if(((o=s==null?void 0:s.data)==null?void 0:o.success)===0){t((n=s==null?void 0:s.data)==null?void 0:n.result);return}if((a=s==null?void 0:s.data)!=null&&a.message){e((l=s==null?void 0:s.data)==null?void 0:l.message);return}e("error")}catch(s){e(s);return}})),ge=t=>new Promise((e,o)=>{q({method:"POST",url:"/api/store/expand",data:{appsId:t||[],deviceId:I.getDeviceId()}}).then(n=>{var a,l,s;if(((a=n.data)==null?void 0:a.success)==0&&((l=n.data)==null?void 0:l.result)){e((s=n.data)==null?void 0:s.result);return}o("not found expand")}).catch(n=>{o(n)})}),ye=t=>{q({method:"POST",url:"/api/store/download",data:{appId:t,deviceId:I.getDeviceId()}}).then(e=>{var o;((o=e.data)==null?void 0:o.success)!=0})},be=t=>new Promise((e,o)=>{q({method:"POST",url:"/api/store/star",data:{appId:t,deviceId:I.getDeviceId()}}).then(n=>{var a;if(((a=n.data)==null?void 0:a.success)==0){e(n.data);return}o("not found expand")}).catch(n=>{o(n)})});var $e=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getStoreAppList:he,getStoreAppIcon:ve,getStoreTags:fe,getAppExpandData:ge,increasingDownloadCount:ye,postStarApp:be});const we=()=>k({method:"GET",url:"/cgi-bin/luci/admin/store/check_self_upgrade"}),ke=()=>k({method:"POST",url:"/cgi-bin/luci/admin/store/do_self_upgrade"});var Ce=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",updateIstore:we,selfUpdateIstore:ke}),b=K(K(K({},me),$e),Ce);const Se={setup(){const t=F(),e=w(()=>t.state.log.action),o=w(()=>t.state.log.content),n=w(()=>t.state.log.end),a=w(()=>t.state.log.exitCode),l=y(!1),s=y(null);let c="",d=y(""),m=y("."),h="",g="";switch(e.value){case"install":c="\u6B63\u5728\u5B89\u88C5\u63D2\u4EF6",h="\u5B89\u88C5\u5B8C\u6210,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break;case"uninstall":c="\u6B63\u5728\u5378\u8F7D\u63D2\u4EF6",h="\u5378\u8F7D\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u5378\u8F7D\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upgrade":c="\u6B63\u5728\u66F4\u65B0\u63D2\u4EF6",h="\u66F4\u65B0\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u66F4\u65B0\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upload":c="\u6B63\u5728\u4E0A\u4F20\u63D2\u4EF6",h="\u79BB\u7EBF\u5B89\u88C5\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u79BB\u7EBF\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break}ct(()=>{document.body.setAttribute("lock-scroll",!0),O()}),kt(()=>{document.body.removeAttribute("lock-scroll")});const A=()=>{var v;(v=s.value)!=null&&v.scrollHeight&&(s.value.scrollTop=s.value.scrollHeight)},O=()=>{setTimeout(()=>{if(n.value){p();return}b.getLog().then(v=>{if(n.value){p();return}switch(v==null?void 0:v.code){}const G=v==null?void 0:v.stdout,U=v==null?void 0:v.stderr;(G||U)&&(d.value=`${G}${U}`),m.value=`${m.value}.`,A(),O()}).catch(v=>{d.value=`${v}`,O()})},500)},p=()=>{l.value=!0},_=()=>{location.reload()};return{logText:w(()=>l.value?a.value!==void 0&&a.value!==0?`${c} +var mt=Object.defineProperty,ht=Object.defineProperties;var ft=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var vt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable;var at=(t,e,o)=>e in t?mt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,K=(t,e)=>{for(var o in e||(e={}))vt.call(e,o)&&at(t,o,e[o]);if(st)for(var o of st(e))gt.call(e,o)&&at(t,o,e[o]);return t},j=(t,e)=>ht(t,ft(e));var bt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var $=(t,e,o)=>new Promise((n,a)=>{var l=d=>{try{c(o.next(d))}catch(m){a(m)}},s=d=>{try{c(o.throw(d))}catch(m){a(m)}},c=d=>d.done?n(d.value):Promise.resolve(d.value).then(l,s);c((o=o.apply(t,e)).next())});import{o as i,c as u,h as yt,u as B,a as w,r as x,F,b as Z,d as H,w as $t,p as R,e as z,f as r,t as T,g as P,n as W,i as ct,j as b,k as lt,l as wt,m as O,q as et,s as it,v as kt,x as tt,y as dt,z as ut,A as Ct,B as St,C as xt,D as At}from"./vendor.js";var Es=bt(S=>{const Lt=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function o(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerpolicy&&(l.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?l.credentials="include":a.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(a){if(a.ep)return;a.ep=!0;const l=o(a);fetch(a.href,l)}};Lt();var v=(t,e)=>{const o=t.__vccOpts||t;for(const[n,a]of e)o[n]=a;return o};const Tt={},It={class:"cbi-section"};function Et(t,e,o,n,a,l){return i(),u("fieldset",It)}var Pt=v(Tt,[["render",Et]]);const Dt=()=>window.vue_base,Ft=t=>{if(t)return yt(t).format("YYYY-MM-DD HH:mm:ss")},Bt=()=>new Date().getTime(),Mt=t=>{if(t<1024)return""+t+"KB";let o=1024,n=0;for(let l=t/1024;l>=1024;l/=1024)o*=1024,n++;let a=["M","G","T","P","E"];return(t/100/(o/100)).toFixed(2)+a[n]},Vt=t=>{if(t==null)return 0;if(t<1e4)return t;let o=parseInt(t/1e4),n=t%1e4;return`${o}\u4E07${n}`},Ot=()=>window.token||"",Ut=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.uid)||""},Rt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.version)||""},zt=()=>{var t;return((t=window==null?void 0:window.device_id)==null?void 0:t.arch)||""},Gt=()=>"https://www.kooldns.cn/bind",rt={all:"\u5168\u90E8",sys:"\u7CFB\u7EDF",tool:"\u5DE5\u5177",net:"\u7F51\u7EDC"},Kt=t=>rt[t]?rt[t]:t;var Zt=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",BasePage:Dt,formatDate:Ft,UnixDate:Bt,numberToSize:Mt,numberToSum:Vt,getToken:Ot,getDeviceId:Ut,getVersion:Rt,modelArch:zt,getIframeURL:Gt,getTagValue:Kt}),I=K({},Zt);const qt={setup(){const t=B(),e=w(()=>t.state.version);return{menus:w(()=>[{to:"/installed",name:"\u5DF2\u5B89\u88C5"},{to:"/store",name:"\u5168\u90E8\u8F6F\u4EF6"},{to:"/upload",name:"\u624B\u52A8\u5B89\u88C5"},{to:"/maintance",name:"\u7EF4\u62A4",up:e.value}])}}},Ht=t=>(R("data-v-1f9c0c24"),t=t(),z(),t),Wt={class:"tabs"},Yt=["href","onClick"],Nt={key:0},Jt=Ht(()=>r("div",{class:"auto"},null,-1));function Qt(t,e,o,n,a,l){const s=x("router-link");return i(),u("ul",Wt,[(i(!0),u(F,null,Z(n.menus,c=>(i(),H(s,{to:c.to,custom:"",key:c.to},{default:$t(({href:d,navigate:m,isActive:h})=>[r("li",{class:W(h&&"active cbi-tab")},[r("a",{href:d,onClick:m},T(c.name),9,Yt),c.up?(i(),u("span",Nt)):P("",!0)],2)]),_:2},1032,["to"]))),128)),Jt])}var Xt=v(qt,[["render",Qt],["__scopeId","data-v-1f9c0c24"]]);const k=ct.create({});k.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=j(K({},t.params),{token:I.getToken(),_t:I.UnixDate()}),t),t=>t);k.interceptors.response.use(t=>t,t=>t);const q=ct.create({baseURL:"https://istore.linkease.com"});q.interceptors.request.use(t=>(t.params==null&&(t.params={}),t.params=j(K({},t.params),{modelArch:I.modelArch(),deviceId:I.getDeviceId(),_t:I.UnixDate()}),t),t=>t);q.interceptors.response.use(t=>t);const jt=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/installed"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),te=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/install",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ee=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/upgrade",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ne=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/remove",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),oe=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/update"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),se=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/status",params:{package:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}})),ae=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/log"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),re=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/upload",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),ce=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/light_backup"});if(o.status==200){t(o.data);return}e(o.status);return}catch(o){e(o);return}})),le=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/light_restore",headers:{"Content-Type":"multipart/form-data"},data:t});if(n.data){e(n.data);return}}catch(n){o(n);return}o("not found soft")})),ie=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/get_available_backup_file_list",params:{path:t}});if(n.status==200){e(n==null?void 0:n.data);return}o(n.status);return}catch(n){o(n);return}})),de=()=>new Promise((t,e)=>$(S,null,function*(){try{const o=yield k({method:"GET",url:"/cgi-bin/luci/admin/store/get_local_backup_dir_path"});if(o.status==200){t(o==null?void 0:o.data);return}e(o.status);return}catch(o){e(o);return}})),ue=(t,e)=>new Promise((o,n)=>$(S,null,function*(){try{const a=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/local_backup",params:{path:t,force:e}});if(a.status==200){o(a==null?void 0:a.data);return}n(a.status);return}catch(a){n(a);return}})),pe=t=>new Promise((e,o)=>$(S,null,function*(){try{const n=yield k({method:"POST",url:"/cgi-bin/luci/admin/store/local_restore",params:{path:t}});if(n.status==200){e(n.data);return}o(n.status);return}catch(n){o(n);return}}));var _e=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getInstalledApp:jt,installApp:te,upgradeApp:ee,removeApp:ne,updateAppStore:oe,getAppStatus:se,getLog:ae,uploadAppIPK:re,lightBackup:ce,lightRestore:le,backupFileList:ie,localBackupdirPath:de,localBackup:ue,localRestore:pe});const me=t=>new Promise((e,o)=>$(S,null,function*(){var n,a,l,s;try{const c=yield q({method:"GET",url:"/api/store/list",params:t});if(((n=c==null?void 0:c.data)==null?void 0:n.success)===0){e((a=c==null?void 0:c.data)==null?void 0:a.result);return}if((l=c==null?void 0:c.data)!=null&&l.message){o((s=c==null?void 0:c.data)==null?void 0:s.message);return}o("error")}catch(c){console.log(c),o(c);return}})),he=t=>`https://istore.linkease.com${t}`,fe=()=>new Promise((t,e)=>$(S,null,function*(){var o,n,a,l;try{const s=yield q({method:"GET",url:"/api/store/tags"});if(((o=s==null?void 0:s.data)==null?void 0:o.success)===0){t((n=s==null?void 0:s.data)==null?void 0:n.result);return}if((a=s==null?void 0:s.data)!=null&&a.message){e((l=s==null?void 0:s.data)==null?void 0:l.message);return}e("error")}catch(s){e(s);return}})),ve=t=>new Promise((e,o)=>{q({method:"POST",url:"/api/store/expand",data:{appsId:t||[],deviceId:I.getDeviceId()}}).then(n=>{var a,l,s;if(((a=n.data)==null?void 0:a.success)==0&&((l=n.data)==null?void 0:l.result)){e((s=n.data)==null?void 0:s.result);return}o("not found expand")}).catch(n=>{o(n)})}),ge=t=>{q({method:"POST",url:"/api/store/download",data:{appId:t,deviceId:I.getDeviceId()}}).then(e=>{var o;((o=e.data)==null?void 0:o.success)!=0})},be=t=>new Promise((e,o)=>{q({method:"POST",url:"/api/store/star",data:{appId:t,deviceId:I.getDeviceId()}}).then(n=>{var a;if(((a=n.data)==null?void 0:a.success)==0){e(n.data);return}o("not found expand")}).catch(n=>{o(n)})});var ye=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getStoreAppList:me,getStoreAppIcon:he,getStoreTags:fe,getAppExpandData:ve,increasingDownloadCount:ge,postStarApp:be});const $e=()=>k({method:"GET",url:"/cgi-bin/luci/admin/store/check_self_upgrade"}),we=()=>k({method:"POST",url:"/cgi-bin/luci/admin/store/do_self_upgrade"});var ke=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",updateIstore:$e,selfUpdateIstore:we}),y=K(K(K({},_e),ye),ke);const Ce={setup(){const t=B(),e=w(()=>t.state.log.action),o=w(()=>t.state.log.content),n=w(()=>t.state.log.end),a=w(()=>t.state.log.exitCode),l=b(!1),s=b(null);let c="",d=b(""),m=b("."),h="",g="";switch(e.value){case"install":c="\u6B63\u5728\u5B89\u88C5\u63D2\u4EF6",h="\u5B89\u88C5\u5B8C\u6210,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break;case"uninstall":c="\u6B63\u5728\u5378\u8F7D\u63D2\u4EF6",h="\u5378\u8F7D\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u5378\u8F7D\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upgrade":c="\u6B63\u5728\u66F4\u65B0\u63D2\u4EF6",h="\u66F4\u65B0\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u66F4\u65B0\u5931\u8D25,\u9519\u8BEF\u7801";break;case"upload":c="\u6B63\u5728\u4E0A\u4F20\u63D2\u4EF6",h="\u79BB\u7EBF\u5B89\u88C5\u6210\u529F,\u8BF7\u5173\u95ED\u5F53\u524D\u7A97\u53E3",g="\u79BB\u7EBF\u5B89\u88C5\u5931\u8D25,\u9519\u8BEF\u7801";break}lt(()=>{document.body.setAttribute("lock-scroll",!0),M()}),wt(()=>{document.body.removeAttribute("lock-scroll")});const A=()=>{var f;(f=s.value)!=null&&f.scrollHeight&&(s.value.scrollTop=s.value.scrollHeight)},M=()=>{setTimeout(()=>{if(n.value){p();return}y.getLog().then(f=>{if(n.value){p();return}switch(f==null?void 0:f.code){}const G=f==null?void 0:f.stdout,V=f==null?void 0:f.stderr;(G||V)&&(d.value=`${G}${V}`),m.value=`${m.value}.`,A(),M()}).catch(f=>{d.value=`${f}`,M()})},500)},p=()=>{l.value=!0},_=()=>{location.reload()};return{logText:w(()=>l.value?a.value!==void 0&&a.value!==0?`${c} ${o.value} ${g} ${a.value} `:`${c} @@ -8,7 +8,7 @@ ${h} ${m.value} ${d.value} ${o.value} -`),Close:_,disabled:l,textDom:s}},mounted(){this.$nextTick(()=>{const t=document.querySelector("body");t.append?t.append(this.$el):t.appendChild(this.$el)})}},et=t=>(M("data-v-735db9cc"),t=t(),V(),t),xe={class:"software-log_shade"},Ae=et(()=>r("div",{class:"software-log_shade__bg"},null,-1)),Le={class:"software-log_shade__pannel"},Te=et(()=>r("div",{class:"software-log_shade__pannel-title"}," \u8F6F\u4EF6\u4E2D\u5FC3 - \u65E5\u5FD7\u8BB0\u5F55 ",-1)),Ie=et(()=>r("div",{class:"software-log_shade__pannel-now"},[r("i",null,"\xA0\xA0\xA0\xA0\u63D2\u4EF6\u5B89\u88C5/\u5378\u8F7D\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5237\u65B0\u6B64\u9875\u9762\uFF01")],-1)),Ee={class:"software-log_shade__pannel-content"},Pe=["value"],Be={key:0,class:"software-log_shade__pannel-btn"};function De(t,e,o,n,a,l){return i(),u("div",xe,[Ae,r("div",Le,[Te,Ie,r("div",Ee,[r("textarea",{ref:"textDom",cols:"63",rows:"26",wrap:"on",readonly:"readonly",autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",value:n.logText},null,8,Pe)]),n.disabled?(i(),u("div",Be,[r("button",{class:"close",onClick:e[0]||(e[0]=s=>n.Close())}," \u5173\u95ED ")])):B("",!0)])])}var Fe=f(Se,[["render",De],["__scopeId","data-v-735db9cc"]]);const Me={components:{AnnouncementComponent:Bt,TabsComponent:jt,LogComponent:Fe},setup(){const t=F();return t.dispatch("getData"),{logStatus:w(()=>t.state.log.status)}}};function Ve(t,e,o,n,a,l){const s=x("TabsComponent"),c=x("router-view"),d=x("LogComponent");return i(),u(P,null,[R(s),R(c),n.logStatus?(i(),H(d,{key:0})):B("",!0)],64)}var Oe=f(Me,[["render",Ve]]);const Ue={props:{content:String,type:String,Close:Function,keep:Boolean,html:Boolean},setup(t){const e=y(t.content),o=y(t.keep),n=y(t.html);return t.keep||setTimeout(()=>{t.Close()},2e3),{msg:e,keep:o,close:()=>{t.Close()},html:n}}},Re={class:"loading"},ze={key:1,class:"msg"},Ge=["innerHTML"];function Ke(t,e,o,n,a,l){return i(),u("div",Re,[n.keep?(i(),u("div",{key:0,class:"close",onClick:e[0]||(e[0]=(...s)=>n.close&&n.close(...s)),title:"\u5173\u95ED"},"x")):B("",!0),n.html?B("",!0):(i(),u("div",ze,T(n.msg),1)),n.html?(i(),u("div",{key:2,class:"msg",innerHTML:n.msg},null,8,Ge)):B("",!0)])}var Ze=f(Ue,[["render",Ke],["__scopeId","data-v-6cf543e1"]]);const L=t=>{let e={content:"",type:"",keep:!1,html:!1,Close:()=>{n.unmount(o),document.body.removeChild(o)}};t!=null&&(typeof t=="object"?(e.content=(t==null?void 0:t.content)||"",e.type=(t==null?void 0:t.type)||"",e.keep=(t==null?void 0:t.keep)||!1,e.html=(t==null?void 0:t.html)||!1):e.content=t);let o=document.createElement("div"),n=tt(Ze,e);document.body.append(o),n.mount(o),lt(()=>{n.unmount(o),document.body.removeChild(o)})},qe={props:{content:String,Close:Function},setup(t){return{message:t.content}}},He=t=>(M("data-v-6d7664a4"),t=t(),V(),t),We={class:"loading"},Ye=He(()=>r("div",{class:"icon"},null,-1)),Ne={class:"msg"};function Je(t,e,o,n,a,l){return i(),u("div",We,[Ye,r("div",Ne,T(n.message),1)])}var Qe=f(qe,[["render",Je],["__scopeId","data-v-6d7664a4"]]),z={props:{content:"",Close:()=>{}},Start(t){this.props={content:t||"\u52A0\u8F7D\u4E2D...",Close:()=>{e.unmount(o),document.body.removeChild(o)}};let e=tt(Qe,this.props),o=document.createElement("div");document.body.append(o),e.mount(o),lt(()=>{this.props.Close()})},Stop(){this.props.Close()}},Xe={namespaced:!0,state:{Load:!1,LocalApps:[],StoreApps:[],Expand:{},Cur:{tag:"default",sort:"default",search:"",limit:30,offset:0},LocalAppsMap:{},StoreAppsMap:{}},mutations:{setExpand(t,e){t.Expand=e},setLocalApps(t,e){t.LocalApps=e||[],e.forEach(o=>{t.LocalAppsMap[o.name]=o})},setStoreApps(t,e){t.StoreApps=e||[],e.forEach(o=>{t.StoreAppsMap[o.name]=o})},setCur(t,e){for(const o in e)Object.hasOwnProperty.call(e,o)&&(t.Cur[o]=e[o])}},getters:{Cur(t){return t.Cur},LocalApps(t){let e=[...t.LocalApps],o=t.Expand;for(let n=0;n{_.tags&&_.tags.forEach(E=>{E==n&&p.push(_)})}),e=p}let a=t.Cur.search;if(a){let p=[];e.forEach(_=>{let E=JSON.stringify(_);new RegExp(a,"i").test(E)&&p.push(_)}),e=p}let l=e.length;switch(t.Cur.sort){case"download":for(let p=0;p{o.forEach(n=>{n.installed=!0}),e("setLocalApps",o)})},getStoreApps(t,e){const{state:o,commit:n,dispatch:a}=t;let l=[];b.getStoreAppList(e).then(s=>{s.apps&&(s.apps.forEach(c=>{l.push(c.name)}),a("getStoreAppsExpand",l),n("setStoreApps",s.apps)),o.Load=!0}).catch(s=>{console.log(s)})},getStoreAppsExpand(t,e){const{commit:o}=t;b.getAppExpandData(e).then(n=>{n&&o("setExpand",n)})}}},je={namespaced:!0,state:{Tags:[],Total:0},mutations:{},getters:{Tags(t){return t.Tags},Total(t){return t.Total}},actions:{getTags(t){const{state:e,commit:o}=t;b.getStoreTags().then(n=>{e.Tags=(n==null?void 0:n.tags)||[],e.Total=(n==null?void 0:n.total)||0})}}},tn={namespaced:!0,state:{status:!1,action:"install",content:"",end:!1,exitCode:void 0},mutations:{setStatus(t,e){t.status=e.status,t.action=(e==null?void 0:e.action)||"install",t.content=(e==null?void 0:e.content)||"",t.end=(e==null?void 0:e.end)||!1,t.exitCode=void 0},setContent(t,e){t.content=e},setEnd(t,e){t.end=!0,t.exitCode=e}},getters:{},actions:{}},Y=Ct({state:{version:"",versionLoad:!1},mutations:{setVersion(t,e){t.version=e},setVersionLoad(t,e){t.versionLoad=e}},modules:{apps:Xe,tags:je,log:tn},actions:{getData(t){const{dispatch:e}=t;e("tags/getTags"),e("apps/getApps"),e("getVersion")},getVersion(t){return $(this,null,function*(){const{commit:e}=t;try{const o=yield b.updateIstore(),{code:n,msg:a}=o==null?void 0:o.data;n==200&&e("setVersion",a)}catch(o){console.log(o)}e("setVersionLoad",!0)})},istoreUpdated(t){const{commit:e}=t;e("setVersion","")}}}),C={Start(t,e){Y.commit("log/setStatus",{status:!0,action:t,content:""})},Stop(){Y.commit("log/setStatus",{status:!1,action:"install",content:""})},Add(t){Y.commit("log/setContent",t)},End(t){Y.commit("log/setEnd",t)}};const en={props:{col:{type:Object,default(){return{description:"",tags:[],entry:"",author:"",depends:[],installed:!1,hasupdate:!1,title:"",time:"",release:1,website:"",name:"",version:""}}}},setup(t,e){const o=w(()=>t.col),n=F(),a=I.formatDate,l=I.numberToSum,s=p=>{p.then(_=>{let E=_.stdout,v=_.stderr;C.Add(`${E} -${v}`),C.End(_.code)}).catch(_=>{C.Add(_),C.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(_){}})},c=p=>{C.Start("upgrade"),s(b.upgradeApp(p))},d=p=>{C.Start("install"),b.increasingDownloadCount(p),n.dispatch("apps/incrAppDownload",{name:p}),s(b.installApp(p))},m=p=>{confirm(`\u786E\u5B9A\u8981\u5378\u8F7D ${p} \u5417?`)&&(C.Start("uninstall"),s(b.removeApp(p)))},h=p=>$(this,null,function*(){z.Start();try{(yield b.postStarApp(p))&&n.dispatch("apps/incrAppStar",{name:p})}catch(_){}z.Stop()}),g=()=>{L("\u60A8\u5DF2\u7ECF\u70B9\u8D5E\u8FC7\u5566\uFF5E")},A=I.getTagValue;return{col:o,formatDate:a,numberToSum:l,upgrade:c,install:d,getAppIcon:p=>o.value.installed?`/luci-static/resources/app-icons/${p}.png`:o.value.icon?b.getStoreAppIcon(o.value.icon):`/luci-static/resources/app-icons/${p}.png`,uninstall:m,StarApp:h,StarApped:g,getTagValue:A}}},J=t=>(M("data-v-c1f37206"),t=t(),V(),t),nn={class:"app-container"},on={class:"app-info"},sn={class:"app-f"},an={class:"app-icon"},rn=["src"],cn={class:"app-tags"},ln={class:"tag"},dn=J(()=>r("span",{class:"block"},"\uFF5C",-1)),un={class:"app-r"},pn=["title"],_n={class:"app-name"},mn={class:"app-version"},hn={class:"app-as"},vn=J(()=>r("span",{style:{margin:"0 10px"}},"|",-1)),fn=["title"],gn={class:"app-author"},yn={class:"app-date"},bn={class:"app-btns"},$n=["href"],wn=J(()=>r("div",{class:"auto"},null,-1)),kn=["href"],Cn=J(()=>r("div",{class:"app-margin-left"},null,-1));function Sn(t,e,o,n,a,l){var d,m,h,g,A,O,p,_,E,v,G;const s=x("svg-star-off"),c=x("svg-star-on");return i(),u("div",nn,[r("div",on,[r("div",sn,[r("div",an,[r("img",{alt:"\u56FE\u6807\u51FA\u8D70\u5566",src:n.getAppIcon(n.col.name)},null,8,rn)]),r("div",cn,[(i(!0),u(P,null,Z(n.col.tags,U=>(i(),u(P,{key:U},[r("div",ln,[r("span",null,T(n.getTagValue(U)),1)]),dn],64))),128))])]),r("div",un,[r("div",{class:"app-title",title:n.col.name},[r("span",_n,T(n.col.title),1),r("span",mn,"v"+T(n.col.version),1)],8,pn),r("div",hn,[r("span",null,T(n.numberToSum((m=(d=n.col)==null?void 0:d.expand)==null?void 0:m.downloadCount))+" \u6B21\u4E0B\u8F7D",1),vn,r("span",null,T(n.numberToSum((g=(h=n.col)==null?void 0:h.expand)==null?void 0:g.starCount))+" \u6B21\u70B9\u8D5E",1),((A=n.col)==null?void 0:A.expand)!=null?(i(),u(P,{key:0},[(p=(O=n.col)==null?void 0:O.expand)!=null&&p.isStar?(i(),u("a",{key:0,class:"star-btn",title:"\u5DF2\u70B9\u8D5E",onClick:e[0]||(e[0]=U=>n.StarApped())},[R(s)])):(i(),u("a",{key:1,class:"star-btn",title:"\u70B9\u8D5E",onClick:e[1]||(e[1]=U=>n.StarApp(n.col.name))},[R(c)]))],64)):B("",!0)]),r("div",{class:"app-description cbi-value-description",title:n.col.description},[r("span",null,T(n.col.description||"\u6682\u65E0\u63CF\u8FF0"),1)],8,fn),r("div",gn,[r("span",null,"\u4F5C\u8005:"+T(n.col.author||"\u6682\u65E0"),1)]),r("div",yn,[r("span",null,"\u66F4\u65B0\u65E5\u671F:"+T(n.formatDate(n.col.time*1e3)||"\u6682\u65E0"),1)])])]),r("div",bn,[n.col.website?(i(),u("a",{key:0,class:"app-btn cbi-button cbi-button-apply",target:"_blank",href:n.col.website},"\u5B98\u7F51",8,$n)):B("",!0),wn,n.col.installed?(i(),u(P,{key:1},[((_=n.col)==null?void 0:_.curVersion)!=((E=n.col)==null?void 0:E.lastVersion)||((v=n.col)==null?void 0:v.curRelease)!=((G=n.col)==null?void 0:G.lastRelease)?(i(),u("a",{key:0,class:"app-btn cbi-button cbi-button-reload",onClick:e[2]||(e[2]=U=>n.upgrade(n.col.name))},"\u66F4\u65B0")):B("",!0),n.col.entry?(i(),u("a",{key:1,class:"app-btn cbi-button cbi-button-apply",href:n.col.entry},"\u6253\u5F00",8,kn)):B("",!0),Cn,r("a",{class:"app-btn cbi-button cbi-button-remove",onClick:e[3]||(e[3]=U=>n.uninstall(n.col.name))},"\u5378\u8F7D")],64)):(i(),u("a",{key:2,class:"app-btn cbi-button cbi-button-add",onClick:e[4]||(e[4]=U=>n.install(n.col.name))},"\u5B89\u88C5"))])])}var ut=f(en,[["render",Sn],["__scopeId","data-v-c1f37206"]]);const xn={components:{AppComponent:ut},setup(){const t=F();return{apps:w(()=>t.getters["apps/LocalApps"])}}},An={class:"cbi-section"},Ln={class:"containers"};function Tn(t,e,o,n,a,l){const s=x("AppComponent");return i(),u("fieldset",An,[r("div",Ln,[(i(!0),u(P,null,Z(n.apps,c=>(i(),H(s,{key:c.name,col:c},null,8,["col"]))),128))])])}var In=f(xn,[["render",Tn],["__scopeId","data-v-708cb351"]]);const En={setup(){const t=y("default"),e=F(),o=y([{key:"\u9ED8\u8BA4",value:"default"},{key:"\u6309\u4E0B\u8F7D\u6570",value:"download"},{key:"\u6309\u8BC4\u5206",value:"star"}]);return{selectSort:a=>{t.value=a,e.dispatch("apps/filterCurApps",{sort:a})},curSort:t,sorts:o}}},Pn=t=>(M("data-v-e8823026"),t=t(),V(),t),Bn={class:"sort-container"},Dn=Pn(()=>r("div",{class:"sort-title"},"\u6392\u5E8F:",-1)),Fn={class:"sort-value"},Mn=["value","onClick"];function Vn(t,e,o,n,a,l){return i(),u("div",Bn,[Dn,r("div",Fn,[(i(!0),u(P,null,Z(n.sorts,s=>(i(),u("input",{key:s.value,class:W(["cbi-button",{"cbi-button-apply":n.curSort==s.value}]),type:"button",value:s.key,onClick:c=>n.selectSort(s.value)},null,10,Mn))),128))])])}var On=f(En,[["render",Vn],["__scopeId","data-v-e8823026"]]);const Un={setup(){const t=y("default"),e=F(),o=w(()=>e.getters["tags/Tags"]),n=I.getTagValue;return{tags:o,curTag:t,selectTag:l=>{t.value=l,e.dispatch("apps/filterCurApps",{tag:l})},getTagValue:n}}},Rn=t=>(M("data-v-5b43124a"),t=t(),V(),t),zn={class:"tags-container"},Gn=Rn(()=>r("div",{class:"tags-title"}," \u6807\u7B7E: ",-1)),Kn={class:"tags-value"},Zn=["value","onClick"];function qn(t,e,o,n,a,l){return i(),u("div",zn,[Gn,r("div",Kn,[r("input",{class:W(["cbi-button",{"cbi-button-apply":n.curTag=="default"}]),type:"button",value:"\u9ED8\u8BA4",onClick:e[0]||(e[0]=s=>n.selectTag("default"))},null,2),(i(!0),u(P,null,Z(n.tags,s=>(i(),u("input",{key:s,class:W(["cbi-button",{"cbi-button-apply":n.curTag==s}]),type:"button",value:n.getTagValue(s),onClick:c=>n.selectTag(s)},null,10,Zn))),128))])])}var Hn=f(Un,[["render",qn],["__scopeId","data-v-5b43124a"]]);const Wn={setup(){const t=y(""),e=F();return{searchKey:t,submitSearch:()=>{e.dispatch("apps/filterCurApps",{search:t.value})}}}};function Yn(t,e,o,n,a,l){const s=x("svg-search");return i(),u("form",{class:"search",onSubmit:e[2]||(e[2]=dt((...c)=>n.submitSearch&&n.submitSearch(...c),["prevent"]))},[r("a",{class:"search-btn",onClick:e[0]||(e[0]=(...c)=>n.submitSearch&&n.submitSearch(...c))},[R(s)]),j(r("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD","onUpdate:modelValue":e[1]||(e[1]=c=>n.searchKey=c)},null,512),[[it,n.searchKey,void 0,{trim:!0}]])],32)}var Nn=f(Wn,[["render",Yn],["__scopeId","data-v-67adb4c4"]]);const Jn={components:{AppComponent:ut},setup(t){const e=F(),o=w(()=>e.getters["apps/StoreApps"]),n=w(()=>e.state.apps.Load);return{apps:o,load:n}}},Qn={class:"containers"},Xn={key:1,style:{margin:"10px 0","text-align":"center",width:"100%"}};function jn(t,e,o,n,a,l){const s=x("AppComponent");return i(),u("div",Qn,[n.load?(i(!0),u(P,{key:0},Z(n.apps,c=>(i(),H(s,{key:c.name,col:c},null,8,["col"]))),128)):(i(),u("span",Xn,"\u6B63\u5728\u52AA\u529B\u7684\u83B7\u53D6\u6570\u636E..."))])}var to=f(Jn,[["render",jn],["__scopeId","data-v-5d27abed"]]);const eo={name:"Store",components:{SortComponent:On,TagComponent:Hn,SearchComponent:Nn,AppsComponent:to},setup(){}},no={class:"cbi-section"};function oo(t,e,o,n,a,l){const s=x("SearchComponent"),c=x("TagComponent"),d=x("SortComponent"),m=x("AppsComponent");return i(),u("fieldset",no,[R(s),R(c),R(d),R(m)])}var so=f(eo,[["render",oo],["__scopeId","data-v-603a8f16"]]);const ao={setup(){const t=y(null),e=y(null);ct(()=>{if(t.value){const l=t.value;l.addEventListener("dragenter",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragenter")},!1),l.addEventListener("dragleave",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragleave")},!1),l.addEventListener("dragover",s=>{s.preventDefault(),s.dataTransfer.dropEffect="link"},!1),l.addEventListener("drop",s=>{console.log("drop"),s.preventDefault(),o(s)},!1)}});const o=l=>{const s=l.dataTransfer.files;if(s&&s.length>0){const c=s[0];a(c);return}},n=l=>{const s=l.target.files;if(s&&s.length>0){const c=s[0];a(c);return}},a=l=>{if(l.name.endsWith(".run")||l.name.endsWith(".ipk")){let s=new FormData;s.append(l.name,l),C.Start("upload"),b.uploadAppIPK(s).then(c=>{let d=c.stdout,m=c.stderr;C.Add(`${d} -${m}`),C.End(c.code)}).catch(c=>{C.Add(c),C.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(c){}})}};return{file:e,upl:t,uploadFile:n,sumbitUpload:a}}},nt=t=>(M("data-v-739bd664"),t=t(),V(),t),ro={class:"cbi-section"},co=nt(()=>r("div",{class:"container_msg cbi-map-descr"},[r("span",null,"\u79BB\u7EBF\u5B89\u88C5"),r("span",null,"\xB7 \u901A\u8FC7\u672C\u9875\uFF0C\u4F60\u53EF\u4EE5\u4E0A\u4F20\u63D2\u4EF6\u5305\u6765\u5B89\u88C5\u63D2\u4EF6"),r("span",null,"\xB7 \u652F\u6301 .ipk \u63D2\u4EF6\uFF0C.run \u81EA\u89E3\u538B\u683C\u5F0F")],-1)),lo={class:"flex",ref:"upl"},io={class:"upload-file"},uo=nt(()=>r("div",{class:"button"},"\u9009\u62E9\u6216\u62D6\u653E\u6587\u4EF6",-1)),po=nt(()=>r("div",{class:"auto"},null,-1));function _o(t,e,o,n,a,l){var s;return i(),u("fieldset",ro,[co,r("form",{onSubmit:e[1]||(e[1]=dt((...c)=>n.sumbitUpload&&n.sumbitUpload(...c),["prevent"]))},[r("div",lo,[r("label",io,[r("span",null,T(((s=n.file)==null?void 0:s.name)||"\u672A\u9009\u62E9\u4EFB\u4F55\u6587\u4EF6"),1),r("input",{type:"file",name:"file",accept:".ipk, .run",hidden:"",onChange:e[0]||(e[0]=(...c)=>n.uploadFile&&n.uploadFile(...c))},null,32),uo]),po],512)],32)])}var mo=f(ao,[["render",_o],["__scopeId","data-v-739bd664"]]);const ho={setup(){F();const t=w(()=>""),e=w(()=>""),o=w(()=>`${I.getIframeURL()}/#/apps?token=${e.value}&deviceId=${t.value}`);return{token:e,deviceId:t,iframeUrl:o}}},vo={class:"cbi-section"},fo={class:"webapp-container"},go=["src"];function yo(t,e,o,n,a,l){return i(),u("fieldset",vo,[r("div",fo,[r("iframe",{src:n.iframeUrl,sandbox:"allow-scripts allow-same-origin allow-popups",seamless:""},null,8,go)])])}var bo=f(ho,[["render",yo],["__scopeId","data-v-19ff0ff6"]]);const $o=St({setup(){const t=F(),e=w(()=>t.state.version),o=w(()=>t.state.versionLoad);return{updateVersion:()=>{z.Start("\u6B63\u5728\u66F4\u65B0..."),b.selfUpdateIstore().then(({data:a})=>{if(a){const{stdout:l,stderr:s,code:c}=a;if(c==0){L("\u66F4\u65B0\u6210\u529F"),t.dispatch("istoreUpdated");return}else throw s||"unknown error"}throw"unknown error"}).catch(a=>{L("\u66F4\u65B0\u5931\u8D25: "+a)}).finally(()=>{z.Stop()})},version:e,load:o}}}),pt=t=>(M("data-v-019106ba"),t=t(),V(),t),wo={class:"log-containers"},ko=pt(()=>r("div",{class:"model"},"\u7248\u672C\u7BA1\u7406",-1)),Co={key:0,class:"containers-tit"},So={key:1,class:"containers-tit"},xo={key:1},Ao=pt(()=>r("em",null,null,-1));function Lo(t,e,o,n,a,l){return i(),u(P,null,[r("div",wo,[ko,t.load?(i(),u("div",So,[t.version?(i(),u(P,{key:0},[r("span",null,"\u6700\u65B0\u7248\u672C:"+T(t.version),1),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=s=>t.updateVersion()),value:"\u70B9\u6211\u66F4\u65B0"})],64)):(i(),u("span",xo,"\u5F53\u524D\u5DF2\u7ECF\u662F\u6700\u65B0\u7248\u672C..."))])):(i(),u("div",Co,"\u6B63\u5728\u83B7\u53D6\u6700\u65B0\u7248\u672C"))]),Ao],64)}var To=f($o,[["render",Lo],["__scopeId","data-v-019106ba"]]);const Io={setup(){const t=y(""),e=y(null),o=()=>{z.Start("\u6B63\u5728\u5907\u4EFD..."),b.lightBackup().then(s=>{if(s){const{msg:c,code:d}=s;if(d==200){L({content:'\u5907\u4EFD\u5B8C\u6210\uFF0C\u70B9\u6B64\u4E0B\u8F7D

',keep:!0,html:!0});return}else throw c||"unknown error"}throw"unknown error"}).catch(s=>{L("\u5907\u4EFD\u5931\u8D25: "+s)}).finally(()=>{z.Stop()})};y(null);const n=s=>{const c=s.target.files;if(c&&c.length>0){const d=c[0];a(d);return}},a=s=>{let c=new FormData;c.append(s.name,s),C.Start("upload"),b.lightRestore(c).then(d=>{let m=d.stdout,h=d.stderr;C.Add(`${m} -${h}`),C.End(d.code)}).catch(d=>{C.Add(d),C.End(500)})};return{upl:e,stdout:t,lightBackup:o,uploadFile:n,sumbitUpload:a,triggerFile:s=>{e.value.click(s),s.preventDefault()}}}},_t=t=>(M("data-v-155b9082"),t=t(),V(),t),Eo={class:"Lightweight"},Po={class:"Lightweight-container"},Bo=_t(()=>r("div",{class:"model"},"\u5907\u4EFD\u6A21\u5F0F",-1)),Do={class:"Lightweight-container1"},Fo={class:"container1-center"},Mo=_t(()=>r("div",{class:"Lightweight-tit"},[r("span",null,"\xB7 \u8F7B\u91CF\u5907\u4EFD\u662F\u5907\u4EFD\u5DF2\u5B89\u88C5\u7684\u8F6F\u4EF6\u5217\u8868\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u662F\u4ECE\u670D\u52A1\u5668\u4E0B\u8F7D\u5DF2\u5907\u4EFD\u7684\u8F6F\u4EF6\u5217\u8868")],-1)),Vo={class:"Lightweight-backup"};function Oo(t,e,o,n,a,l){return i(),u("div",Eo,[r("div",Po,[Bo,r("div",Do,[r("div",Fo,[Mo,r("div",Vo,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=(...s)=>n.lightBackup&&n.lightBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"file",name:"file",accept:".tar, .gz",hidden:"",onChange:e[1]||(e[1]=(...s)=>n.uploadFile&&n.uploadFile(...s)),ref:"upl"},null,544),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[2]||(e[2]=(...s)=>n.triggerFile&&n.triggerFile(...s)),value:"\u6062\u590D\u5907\u4EFD"})])])])])])}var Uo=f(Io,[["render",Oo],["__scopeId","data-v-155b9082"]]);const D=y(""),Ro={setup(){const t=y(!1),e=y([]),o=y("");D.value==""&&(D.value="/root",b.localBackupdirPath().then(d=>{if(d){const{code:m,msg:h}=d;m==200&&(D.value=h)}}));const n=()=>D.value.length>1&&D.value.endsWith("/")?D.value.substring(0,D.value.length-1):D.value,a=()=>{let d=n();if(d==""){L("\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}t.value=!1,b.BackupFileList(d).then(m=>{if(m){const{code:h,msg:g}=m;if(h==200){let A=JSON.parse(g);A.length==0?(L("\u6B64\u8DEF\u5F84\u4E0B\u6CA1\u6709\u5907\u4EFD\u6587\u4EF6"),t.value=!1):(e.value=A,t.value=!0);return}throw g||"unknown error"}throw"unknown error"}).catch(m=>{L(m)})},l=()=>{let d=n();if(d==""){L("\u8DEF\u5F84\u4E0D\u80FD\u4E3A\u7A7A");return}z.Start("\u6B63\u5728\u5907\u4EFD..."),b.localBackup(d).then(m=>{if(m){const{msg:h,code:g,stderr:A}=m;if(g==0){L("\u5907\u4EFD\u6210\u529F");return}else throw g==500?h:A||"unknown error"}throw"unknown error"}).catch(m=>{L("\u5907\u4EFD\u5931\u8D25: "+m)}).finally(()=>{z.Stop()})},s=d=>D.value.endsWith("/")?D.value+d:D.value+"/"+d;return{path:D,ShowList:t,result:e,restore_file:o,BackupFileList:a,localBackup:l,localRestore:()=>{if(o.value===""){L("\u8BF7\u9009\u62E9\u8981\u6062\u590D\u7684\u5907\u4EFD\u6587\u4EF6");return}z.Start("\u6B63\u5728\u6062\u590D\u5907\u4EFD..."),b.localRestore(s(o.value)).then(d=>{if(d){const{msg:m,stderr:h,code:g}=d;if(g==0){L("\u6062\u590D\u5907\u4EFD\u6210\u529F");return}else throw m||h||"unknown error"}throw"unknown error"}).catch(d=>{L("\u6062\u590D\u5907\u4EFD\u5931\u8D25: "+d)}).finally(()=>{z.Stop()})}}}},Q=t=>(M("data-v-0e1b4382"),t=t(),V(),t),zo={class:"local"},Go={class:"local-container"},Ko=Q(()=>r("div",{class:"model"},"\u5907\u4EFD\u6A21\u5F0F",-1)),Zo={class:"local-container1"},qo={class:"container1-center"},Ho=Q(()=>r("div",{class:"local-tit"},[r("span",null,"\xB7 \u672C\u5730\u5907\u4EFD\u662F\u76F4\u63A5\u5907\u4EFD\u5DF2\u5B89\u88C5\u8F6F\u4EF6\u5230\u8BBE\u5907\u7684\u672C\u5730\u8DEF\u5F84\uFF1B"),r("span",null,"\xB7 \u4E0D\u9700\u8981\u7F51\u7EDC\uFF0C\u6062\u590D\u66F4\u5FEB")],-1)),Wo=Q(()=>r("div",{class:"local-device"},"\u5907\u4EFD\u76EE\u5F55\uFF1A",-1)),Yo={class:"local-input"},No={class:"local-btn"},Jo={key:0,class:"device-list"},Qo=Q(()=>r("div",null,"\u53EF\u7528\u5907\u4EFD\u5217\u8868\uFF1A",-1)),Xo=["value"];function jo(t,e,o,n,a,l){return i(),u("div",zo,[r("div",Go,[Ko,r("div",Zo,[r("div",qo,[Ho,Wo,r("div",Yo,[j(r("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=s=>n.path=s)},null,512),[[it,n.path,void 0,{trim:!0}]]),r("div",No,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[1]||(e[1]=(...s)=>n.localBackup&&n.localBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[2]||(e[2]=(...s)=>n.BackupFileList&&n.BackupFileList(...s)),value:"\u6062\u590D\u5907\u4EFD"})])]),n.ShowList?(i(),u("div",Jo,[Qo,j(r("select",{"onUpdate:modelValue":e[3]||(e[3]=s=>n.restore_file=s)},[(i(!0),u(P,null,Z(n.result,s=>(i(),u("option",{key:s,value:s},T(s),9,Xo))),128))],512),[[xt,n.restore_file,void 0,{trim:!0}]]),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[4]||(e[4]=(...s)=>n.localRestore&&n.localRestore(...s)),value:"\u7ACB\u5373\u6062\u590D"})])):B("",!0)])])])])}var ts=f(Ro,[["render",jo],["__scopeId","data-v-0e1b4382"]]);const es=y(2),ns={components:{update:To,lightBackup:Uo,localBackup:ts},setup(){return{setup:es}}},mt=t=>(M("data-v-1f1997c4"),t=t(),V(),t),os={class:"cbi-section"},ss={class:"container_msg cbi-map-descr"},as={class:"cbi-tabmenu"},rs=mt(()=>r("a",{onclick:"false",href:"#"},"\u8F7B\u91CF\u5907\u4EFD",-1)),cs=[rs],ls=mt(()=>r("a",{onclick:"false",href:"#"},"\u672C\u5730\u5907\u4EFD",-1)),is=[ls];function ds(t,e,o,n,a,l){const s=x("update"),c=x("lightBackup"),d=x("localBackup");return i(),u("fieldset",os,[r("div",ss,[R(s),r("ul",as,[r("li",{class:W(n.setup==2?"cbi-tab":"cbi-tab-disabled"),onClick:e[0]||(e[0]=m=>n.setup=2)},cs,2),r("li",{class:W(n.setup==3?"cbi-tab":"cbi-tab-disabled"),onClick:e[1]||(e[1]=m=>n.setup=3)},is,2)]),n.setup==2?(i(),H(c,{key:0})):B("",!0),n.setup==3?(i(),H(d,{key:1})):B("",!0)])])}var us=f(ns,[["render",ds],["__scopeId","data-v-1f1997c4"]]);const ps=At({history:Lt(I.BasePage()),routes:[{path:"/",redirect:"/installed"},{path:"/installed",name:"Installed",component:In},{path:"/store",name:"Store",component:so},{path:"/upload",name:"Upload",component:mo},{path:"/webapps",name:"Webapps",component:bo},{path:"/maintance",name:"Maintance",component:us},{path:"/:pathMatch(.*)*",name:"notfound",redirect:"/"}]}),_s={},ms={width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},hs=r("path",{d:"M14.9234958,14.5525054 L10.84453,10.4679606 C11.8849284,9.46327833 12.5294813,8.07823887 12.5294813,6.55073066 C12.5294813,3.48989918 9.94358337,1 6.76474066,1 C3.58589795,1 1,3.48989918 1,6.55073066 C1,9.61156213 3.58589795,12.1014613 6.76474066,12.1014613 C8.16008242,12.1014613 9.44067838,11.621191 10.438802,10.8242646 L14.5276502,14.9188536 C14.5814545,14.9730393 14.6533765,15 14.725573,15 C14.7942009,15 14.8625542,14.9754182 14.9158095,14.9262546 C15.025065,14.8250198 15.0283592,14.6577049 14.9234958,14.5525054 Z M6.76474066,11.5728203 C3.8886841,11.5728203 1.54902292,9.32001661 1.54902292,6.55073066 C1.54902292,3.7814447 3.8886841,1.52864101 6.76474066,1.52864101 C9.64079723,1.52864101 11.9804584,3.7814447 11.9804584,6.55073066 C11.9804584,9.32001661 9.64052272,11.5728203 6.76474066,11.5728203 Z",id:"Shape",stroke:"#FFFFFF","stroke-width":"1.3"},null,-1),vs=[hs];function fs(t,e,o,n,a,l){return i(),u("svg",ms,vs)}var gs=f(_s,[["render",fs]]);const ys={},bs={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},$s=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.81814832,10.9090654 L9.43153778,10.9090654 C9.70352269,10.9121048 9.93620458,10.7143252 9.97712277,10.4445109 L10.7297188,5.53628009 C10.7537339,5.3780602 10.7070546,5.2172762 10.602045,5.09651513 C10.4970353,4.97575406 10.3442908,4.9072007 10.1780925,4.90904784 L7.09084687,4.90904784 C6.78960329,4.90904784 6.54539711,4.66484166 6.54539711,4.36359808 L6.54539711,2.18179904 C6.54539711,1.69494967 6.22647822,1.2825878 5.78615711,1.14223013 L3.81814832,5.57024992 L3.81814832,10.9090654 Z M2.7272488,5.99994736 L1.63634928,5.99994736 C1.33510569,5.99994736 1.09089952,6.24415353 1.09089952,6.54539711 L1.09089952,10.3635454 C1.09089952,10.664789 1.33510569,10.9089952 1.63634928,10.9089952 L2.7272488,10.9089952 L2.7272488,5.99994736 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 -1.03028697e-13,11.2672762 -1.03028697e-13,10.3635454 L-1.03028697e-13,6.54539711 C-1.03028697e-13,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFFFFF","fill-rule":"nonzero"},null,-1),ws=[$s];function ks(t,e,o,n,a,l){return i(),u("svg",bs,ws)}var Cs=f(ys,[["render",ks]]);const Ss={},xs={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},As=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 0,11.2672762 0,10.3635454 L0,6.54539711 C0,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFE45A","fill-rule":"nonzero"},null,-1),Ls=[As];function Ts(t,e,o,n,a,l){return i(),u("svg",xs,Ls)}var Is=f(Ss,[["render",Ts]]);const N=tt(Oe);N.component("svg-search",gs);N.component("svg-star-on",Cs);N.component("svg-star-off",Is);N.use(ps).use(Y);N.mount("#app")});export default Es(); +`),Close:_,disabled:l,textDom:s}},mounted(){this.$nextTick(()=>{const t=document.querySelector("body");t.append?t.append(this.$el):t.appendChild(this.$el)})}},nt=t=>(R("data-v-735db9cc"),t=t(),z(),t),Se={class:"software-log_shade"},xe=nt(()=>r("div",{class:"software-log_shade__bg"},null,-1)),Ae={class:"software-log_shade__pannel"},Le=nt(()=>r("div",{class:"software-log_shade__pannel-title"}," \u8F6F\u4EF6\u4E2D\u5FC3 - \u65E5\u5FD7\u8BB0\u5F55 ",-1)),Te=nt(()=>r("div",{class:"software-log_shade__pannel-now"},[r("i",null,"\xA0\xA0\xA0\xA0\u63D2\u4EF6\u5B89\u88C5/\u5378\u8F7D\u8FC7\u7A0B\u4E2D\u8BF7\u52FF\u5237\u65B0\u6B64\u9875\u9762\uFF01")],-1)),Ie={class:"software-log_shade__pannel-content"},Ee=["value"],Pe={key:0,class:"software-log_shade__pannel-btn"};function De(t,e,o,n,a,l){return i(),u("div",Se,[xe,r("div",Ae,[Le,Te,r("div",Ie,[r("textarea",{ref:"textDom",cols:"63",rows:"26",wrap:"on",readonly:"readonly",autocomplete:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false",value:n.logText},null,8,Ee)]),n.disabled?(i(),u("div",Pe,[r("button",{class:"close",onClick:e[0]||(e[0]=s=>n.Close())}," \u5173\u95ED ")])):P("",!0)])])}var Fe=v(Ce,[["render",De],["__scopeId","data-v-735db9cc"]]);const Be={components:{AnnouncementComponent:Pt,TabsComponent:Xt,LogComponent:Fe},setup(){const t=B();return t.dispatch("getData"),{logStatus:w(()=>t.state.log.status)}}};function Me(t,e,o,n,a,l){const s=x("TabsComponent"),c=x("router-view"),d=x("LogComponent");return i(),u(F,null,[O(s),O(c),n.logStatus?(i(),H(d,{key:0})):P("",!0)],64)}var Ve=v(Be,[["render",Me]]);const Oe={props:{content:String,type:String,Close:Function,keep:Boolean,html:Boolean},setup(t){const e=b(t.content),o=b(t.keep),n=b(t.html);return t.keep||setTimeout(()=>{t.Close()},2e3),{msg:e,keep:o,close:()=>{t.Close()},html:n}}},Ue={class:"toast"},Re={key:1,class:"msg"},ze=["innerHTML"];function Ge(t,e,o,n,a,l){return i(),u("div",Ue,[n.keep?(i(),u("div",{key:0,class:"toast-close",onClick:e[0]||(e[0]=(...s)=>n.close&&n.close(...s)),title:"\u5173\u95ED"},"x")):P("",!0),n.html?P("",!0):(i(),u("div",Re,T(n.msg),1)),n.html?(i(),u("div",{key:2,class:"msg",innerHTML:n.msg},null,8,ze)):P("",!0)])}var Ke=v(Oe,[["render",Ge],["__scopeId","data-v-5ced897a"]]);const L=t=>{let e={content:"",type:"",keep:!1,html:!1,Close:()=>{n.unmount(o),document.body.removeChild(o)}};t!=null&&(typeof t=="object"?(e.content=(t==null?void 0:t.content)||"",e.type=(t==null?void 0:t.type)||"",e.keep=(t==null?void 0:t.keep)||!1,e.html=(t==null?void 0:t.html)||!1):e.content=t);let o=document.createElement("div"),n=et(Ke,e);document.body.append(o),n.mount(o),it(()=>{n.unmount(o),document.body.removeChild(o)})},Ze={props:{content:String,Close:Function},setup(t){return{message:t.content}}},qe=t=>(R("data-v-6d7664a4"),t=t(),z(),t),He={class:"loading"},We=qe(()=>r("div",{class:"icon"},null,-1)),Ye={class:"msg"};function Ne(t,e,o,n,a,l){return i(),u("div",He,[We,r("div",Ye,T(n.message),1)])}var Je=v(Ze,[["render",Ne],["__scopeId","data-v-6d7664a4"]]),U={props:{content:"",Close:()=>{}},Start(t){this.props={content:t||"\u52A0\u8F7D\u4E2D...",Close:()=>{e.unmount(o),document.body.removeChild(o)}};let e=et(Je,this.props),o=document.createElement("div");document.body.append(o),e.mount(o),it(()=>{this.props.Close()})},Stop(){this.props.Close()}},Qe={namespaced:!0,state:{Load:!1,LocalApps:[],StoreApps:[],Expand:{},Cur:{tag:"default",sort:"default",search:"",limit:30,offset:0},LocalAppsMap:{},StoreAppsMap:{}},mutations:{setExpand(t,e){t.Expand=e},setLocalApps(t,e){t.LocalApps=e||[],e.forEach(o=>{t.LocalAppsMap[o.name]=o})},setStoreApps(t,e){t.StoreApps=e||[],e.forEach(o=>{t.StoreAppsMap[o.name]=o})},setCur(t,e){for(const o in e)Object.hasOwnProperty.call(e,o)&&(t.Cur[o]=e[o])}},getters:{Cur(t){return t.Cur},LocalApps(t){let e=[...t.LocalApps],o=t.Expand;for(let n=0;n{_.tags&&_.tags.forEach(E=>{E==n&&p.push(_)})}),e=p}let a=t.Cur.search;if(a){let p=[];e.forEach(_=>{let E=JSON.stringify(_);new RegExp(a,"i").test(E)&&p.push(_)}),e=p}let l=e.length;switch(t.Cur.sort){case"download":for(let p=0;p{o.forEach(n=>{n.installed=!0}),e("setLocalApps",o)})},getStoreApps(t,e){const{state:o,commit:n,dispatch:a}=t;let l=[];y.getStoreAppList(e).then(s=>{s.apps&&(s.apps.forEach(c=>{l.push(c.name)}),a("getStoreAppsExpand",l),n("setStoreApps",s.apps)),o.Load=!0}).catch(s=>{console.log(s)})},getStoreAppsExpand(t,e){const{commit:o}=t;y.getAppExpandData(e).then(n=>{n&&o("setExpand",n)})}}},Xe={namespaced:!0,state:{Tags:[],Total:0},mutations:{},getters:{Tags(t){return t.Tags},Total(t){return t.Total}},actions:{getTags(t){const{state:e,commit:o}=t;y.getStoreTags().then(n=>{e.Tags=(n==null?void 0:n.tags)||[],e.Total=(n==null?void 0:n.total)||0})}}},je={namespaced:!0,state:{status:!1,action:"install",content:"",end:!1,exitCode:void 0},mutations:{setStatus(t,e){t.status=e.status,t.action=(e==null?void 0:e.action)||"install",t.content=(e==null?void 0:e.content)||"",t.end=(e==null?void 0:e.end)||!1,t.exitCode=void 0},setContent(t,e){t.content=e},setEnd(t,e){t.end=!0,t.exitCode=e}},getters:{},actions:{}},Y=kt({state:{version:"",versionLoad:!1},mutations:{setVersion(t,e){t.version=e},setVersionLoad(t,e){t.versionLoad=e}},modules:{apps:Qe,tags:Xe,log:je},actions:{getData(t){const{dispatch:e}=t;e("tags/getTags"),e("apps/getApps"),e("getVersion")},getVersion(t){return $(this,null,function*(){const{commit:e}=t;try{const o=yield y.updateIstore(),{code:n,msg:a}=o==null?void 0:o.data;n==200&&e("setVersion",a)}catch(o){console.log(o)}e("setVersionLoad",!0)})},istoreUpdated(t){const{commit:e}=t;e("setVersion","")}}}),C={Start(t,e){Y.commit("log/setStatus",{status:!0,action:t,content:""})},Stop(){Y.commit("log/setStatus",{status:!1,action:"install",content:""})},Add(t){Y.commit("log/setContent",t)},End(t){Y.commit("log/setEnd",t)}};const tn={props:{col:{type:Object,default(){return{description:"",tags:[],entry:"",author:"",depends:[],installed:!1,hasupdate:!1,title:"",time:"",release:1,website:"",name:"",version:""}}}},setup(t,e){const o=w(()=>t.col),n=B(),a=I.formatDate,l=I.numberToSum,s=p=>{p.then(_=>{let E=_.stdout,f=_.stderr;C.Add(`${E} +${f}`),C.End(_.code)}).catch(_=>{C.Add(_),C.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(_){}})},c=p=>{C.Start("upgrade"),s(y.upgradeApp(p))},d=p=>{C.Start("install"),y.increasingDownloadCount(p),n.dispatch("apps/incrAppDownload",{name:p}),s(y.installApp(p))},m=p=>{confirm(`\u786E\u5B9A\u8981\u5378\u8F7D ${p} \u5417?`)&&(C.Start("uninstall"),s(y.removeApp(p)))},h=p=>$(this,null,function*(){U.Start();try{(yield y.postStarApp(p))&&n.dispatch("apps/incrAppStar",{name:p})}catch(_){}U.Stop()}),g=()=>{L("\u60A8\u5DF2\u7ECF\u70B9\u8D5E\u8FC7\u5566\uFF5E")},A=I.getTagValue;return{col:o,formatDate:a,numberToSum:l,upgrade:c,install:d,getAppIcon:p=>o.value.installed?`/luci-static/resources/app-icons/${p}.png`:o.value.icon?y.getStoreAppIcon(o.value.icon):`/luci-static/resources/app-icons/${p}.png`,uninstall:m,StarApp:h,StarApped:g,getTagValue:A}}},J=t=>(R("data-v-c1f37206"),t=t(),z(),t),en={class:"app-container"},nn={class:"app-info"},on={class:"app-f"},sn={class:"app-icon"},an=["src"],rn={class:"app-tags"},cn={class:"tag"},ln=J(()=>r("span",{class:"block"},"\uFF5C",-1)),dn={class:"app-r"},un=["title"],pn={class:"app-name"},_n={class:"app-version"},mn={class:"app-as"},hn=J(()=>r("span",{style:{margin:"0 10px"}},"|",-1)),fn=["title"],vn={class:"app-author"},gn={class:"app-date"},bn={class:"app-btns"},yn=["href"],$n=J(()=>r("div",{class:"auto"},null,-1)),wn=["href"],kn=J(()=>r("div",{class:"app-margin-left"},null,-1));function Cn(t,e,o,n,a,l){var d,m,h,g,A,M,p,_,E,f,G;const s=x("svg-star-off"),c=x("svg-star-on");return i(),u("div",en,[r("div",nn,[r("div",on,[r("div",sn,[r("img",{alt:"\u56FE\u6807\u51FA\u8D70\u5566",src:n.getAppIcon(n.col.name)},null,8,an)]),r("div",rn,[(i(!0),u(F,null,Z(n.col.tags,V=>(i(),u(F,{key:V},[r("div",cn,[r("span",null,T(n.getTagValue(V)),1)]),ln],64))),128))])]),r("div",dn,[r("div",{class:"app-title",title:n.col.name},[r("span",pn,T(n.col.title),1),r("span",_n,"v"+T(n.col.version),1)],8,un),r("div",mn,[r("span",null,T(n.numberToSum((m=(d=n.col)==null?void 0:d.expand)==null?void 0:m.downloadCount))+" \u6B21\u4E0B\u8F7D",1),hn,r("span",null,T(n.numberToSum((g=(h=n.col)==null?void 0:h.expand)==null?void 0:g.starCount))+" \u6B21\u70B9\u8D5E",1),((A=n.col)==null?void 0:A.expand)!=null?(i(),u(F,{key:0},[(p=(M=n.col)==null?void 0:M.expand)!=null&&p.isStar?(i(),u("a",{key:0,class:"star-btn",title:"\u5DF2\u70B9\u8D5E",onClick:e[0]||(e[0]=V=>n.StarApped())},[O(s)])):(i(),u("a",{key:1,class:"star-btn",title:"\u70B9\u8D5E",onClick:e[1]||(e[1]=V=>n.StarApp(n.col.name))},[O(c)]))],64)):P("",!0)]),r("div",{class:"app-description cbi-value-description",title:n.col.description},[r("span",null,T(n.col.description||"\u6682\u65E0\u63CF\u8FF0"),1)],8,fn),r("div",vn,[r("span",null,"\u4F5C\u8005:"+T(n.col.author||"\u6682\u65E0"),1)]),r("div",gn,[r("span",null,"\u66F4\u65B0\u65E5\u671F:"+T(n.formatDate(n.col.time*1e3)||"\u6682\u65E0"),1)])])]),r("div",bn,[n.col.website?(i(),u("a",{key:0,class:"app-btn cbi-button cbi-button-apply",target:"_blank",href:n.col.website},"\u5B98\u7F51",8,yn)):P("",!0),$n,n.col.installed?(i(),u(F,{key:1},[((_=n.col)==null?void 0:_.curVersion)!=((E=n.col)==null?void 0:E.lastVersion)||((f=n.col)==null?void 0:f.curRelease)!=((G=n.col)==null?void 0:G.lastRelease)?(i(),u("a",{key:0,class:"app-btn cbi-button cbi-button-reload",onClick:e[2]||(e[2]=V=>n.upgrade(n.col.name))},"\u66F4\u65B0")):P("",!0),n.col.entry?(i(),u("a",{key:1,class:"app-btn cbi-button cbi-button-apply",href:n.col.entry},"\u6253\u5F00",8,wn)):P("",!0),kn,r("a",{class:"app-btn cbi-button cbi-button-remove",onClick:e[3]||(e[3]=V=>n.uninstall(n.col.name))},"\u5378\u8F7D")],64)):(i(),u("a",{key:2,class:"app-btn cbi-button cbi-button-add",onClick:e[4]||(e[4]=V=>n.install(n.col.name))},"\u5B89\u88C5"))])])}var pt=v(tn,[["render",Cn],["__scopeId","data-v-c1f37206"]]);const Sn={components:{AppComponent:pt},setup(){const t=B();return{apps:w(()=>t.getters["apps/LocalApps"])}}},xn={class:"cbi-section"},An={class:"containers"};function Ln(t,e,o,n,a,l){const s=x("AppComponent");return i(),u("fieldset",xn,[r("div",An,[(i(!0),u(F,null,Z(n.apps,c=>(i(),H(s,{key:c.name,col:c},null,8,["col"]))),128))])])}var Tn=v(Sn,[["render",Ln],["__scopeId","data-v-708cb351"]]);const In={setup(){const t=b("default"),e=B(),o=b([{key:"\u9ED8\u8BA4",value:"default"},{key:"\u6309\u4E0B\u8F7D\u6570",value:"download"},{key:"\u6309\u8BC4\u5206",value:"star"}]);return{selectSort:a=>{t.value=a,e.dispatch("apps/filterCurApps",{sort:a})},curSort:t,sorts:o}}},En=t=>(R("data-v-e8823026"),t=t(),z(),t),Pn={class:"sort-container"},Dn=En(()=>r("div",{class:"sort-title"},"\u6392\u5E8F:",-1)),Fn={class:"sort-value"},Bn=["value","onClick"];function Mn(t,e,o,n,a,l){return i(),u("div",Pn,[Dn,r("div",Fn,[(i(!0),u(F,null,Z(n.sorts,s=>(i(),u("input",{key:s.value,class:W(["cbi-button",{"cbi-button-apply":n.curSort==s.value}]),type:"button",value:s.key,onClick:c=>n.selectSort(s.value)},null,10,Bn))),128))])])}var Vn=v(In,[["render",Mn],["__scopeId","data-v-e8823026"]]);const On={setup(){const t=b("default"),e=B(),o=w(()=>e.getters["tags/Tags"]),n=I.getTagValue;return{tags:o,curTag:t,selectTag:l=>{t.value=l,e.dispatch("apps/filterCurApps",{tag:l})},getTagValue:n}}},Un=t=>(R("data-v-5b43124a"),t=t(),z(),t),Rn={class:"tags-container"},zn=Un(()=>r("div",{class:"tags-title"}," \u6807\u7B7E: ",-1)),Gn={class:"tags-value"},Kn=["value","onClick"];function Zn(t,e,o,n,a,l){return i(),u("div",Rn,[zn,r("div",Gn,[r("input",{class:W(["cbi-button",{"cbi-button-apply":n.curTag=="default"}]),type:"button",value:"\u9ED8\u8BA4",onClick:e[0]||(e[0]=s=>n.selectTag("default"))},null,2),(i(!0),u(F,null,Z(n.tags,s=>(i(),u("input",{key:s,class:W(["cbi-button",{"cbi-button-apply":n.curTag==s}]),type:"button",value:n.getTagValue(s),onClick:c=>n.selectTag(s)},null,10,Kn))),128))])])}var qn=v(On,[["render",Zn],["__scopeId","data-v-5b43124a"]]);const Hn={setup(){const t=b(""),e=B();return{searchKey:t,submitSearch:()=>{e.dispatch("apps/filterCurApps",{search:t.value})}}}};function Wn(t,e,o,n,a,l){const s=x("svg-search");return i(),u("form",{class:"search",onSubmit:e[2]||(e[2]=ut((...c)=>n.submitSearch&&n.submitSearch(...c),["prevent"]))},[r("a",{class:"search-btn",onClick:e[0]||(e[0]=(...c)=>n.submitSearch&&n.submitSearch(...c))},[O(s)]),tt(r("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5173\u952E\u8BCD","onUpdate:modelValue":e[1]||(e[1]=c=>n.searchKey=c)},null,512),[[dt,n.searchKey,void 0,{trim:!0}]])],32)}var Yn=v(Hn,[["render",Wn],["__scopeId","data-v-67adb4c4"]]);const Nn={components:{AppComponent:pt},setup(t){const e=B(),o=w(()=>e.getters["apps/StoreApps"]),n=w(()=>e.state.apps.Load);return{apps:o,load:n}}},Jn={class:"containers"},Qn={key:1,style:{margin:"10px 0","text-align":"center",width:"100%"}};function Xn(t,e,o,n,a,l){const s=x("AppComponent");return i(),u("div",Jn,[n.load?(i(!0),u(F,{key:0},Z(n.apps,c=>(i(),H(s,{key:c.name,col:c},null,8,["col"]))),128)):(i(),u("span",Qn,"\u6B63\u5728\u52AA\u529B\u7684\u83B7\u53D6\u6570\u636E..."))])}var jn=v(Nn,[["render",Xn],["__scopeId","data-v-5d27abed"]]);const to={name:"Store",components:{SortComponent:Vn,TagComponent:qn,SearchComponent:Yn,AppsComponent:jn},setup(){}},eo={class:"cbi-section"};function no(t,e,o,n,a,l){const s=x("SearchComponent"),c=x("TagComponent"),d=x("SortComponent"),m=x("AppsComponent");return i(),u("fieldset",eo,[O(s),O(c),O(d),O(m)])}var oo=v(to,[["render",no],["__scopeId","data-v-603a8f16"]]);const so={setup(){const t=b(null),e=b(null);lt(()=>{if(t.value){const l=t.value;l.addEventListener("dragenter",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragenter")},!1),l.addEventListener("dragleave",s=>{(s.fromElement===null||!l.contains(s.fromElement))&&console.log("dragleave")},!1),l.addEventListener("dragover",s=>{s.preventDefault(),s.dataTransfer.dropEffect="link"},!1),l.addEventListener("drop",s=>{console.log("drop"),s.preventDefault(),o(s)},!1)}});const o=l=>{const s=l.dataTransfer.files;if(s&&s.length>0){const c=s[0];a(c);return}},n=l=>{const s=l.target.files;if(s&&s.length>0){const c=s[0];a(c);return}},a=l=>{if(l.name.endsWith(".run")||l.name.endsWith(".ipk")){let s=new FormData;s.append(l.name,l),C.Start("upload"),y.uploadAppIPK(s).then(c=>{let d=c.stdout,m=c.stderr;C.Add(`${d} +${m}`),C.End(c.code)}).catch(c=>{C.Add(c),C.End(500)}).finally(()=>{try{window.L.ui.menu.flushCache()}catch(c){}})}};return{file:e,upl:t,uploadFile:n,sumbitUpload:a}}},ot=t=>(R("data-v-739bd664"),t=t(),z(),t),ao={class:"cbi-section"},ro=ot(()=>r("div",{class:"container_msg cbi-map-descr"},[r("span",null,"\u79BB\u7EBF\u5B89\u88C5"),r("span",null,"\xB7 \u901A\u8FC7\u672C\u9875\uFF0C\u4F60\u53EF\u4EE5\u4E0A\u4F20\u63D2\u4EF6\u5305\u6765\u5B89\u88C5\u63D2\u4EF6"),r("span",null,"\xB7 \u652F\u6301 .ipk \u63D2\u4EF6\uFF0C.run \u81EA\u89E3\u538B\u683C\u5F0F")],-1)),co={class:"flex",ref:"upl"},lo={class:"upload-file"},io=ot(()=>r("div",{class:"button"},"\u9009\u62E9\u6216\u62D6\u653E\u6587\u4EF6",-1)),uo=ot(()=>r("div",{class:"auto"},null,-1));function po(t,e,o,n,a,l){var s;return i(),u("fieldset",ao,[ro,r("form",{onSubmit:e[1]||(e[1]=ut((...c)=>n.sumbitUpload&&n.sumbitUpload(...c),["prevent"]))},[r("div",co,[r("label",lo,[r("span",null,T(((s=n.file)==null?void 0:s.name)||"\u672A\u9009\u62E9\u4EFB\u4F55\u6587\u4EF6"),1),r("input",{type:"file",name:"file",accept:".ipk, .run",hidden:"",onChange:e[0]||(e[0]=(...c)=>n.uploadFile&&n.uploadFile(...c))},null,32),io]),uo],512)],32)])}var _o=v(so,[["render",po],["__scopeId","data-v-739bd664"]]);const mo={setup(){B();const t=w(()=>""),e=w(()=>""),o=w(()=>`${I.getIframeURL()}/#/apps?token=${e.value}&deviceId=${t.value}`);return{token:e,deviceId:t,iframeUrl:o}}},ho={class:"cbi-section"},fo={class:"webapp-container"},vo=["src"];function go(t,e,o,n,a,l){return i(),u("fieldset",ho,[r("div",fo,[r("iframe",{src:n.iframeUrl,sandbox:"allow-scripts allow-same-origin allow-popups",seamless:""},null,8,vo)])])}var bo=v(mo,[["render",go],["__scopeId","data-v-19ff0ff6"]]);const yo=Ct({setup(){const t=B(),e=w(()=>t.state.version),o=w(()=>t.state.versionLoad);return{updateVersion:()=>{U.Start("\u6B63\u5728\u66F4\u65B0..."),y.selfUpdateIstore().then(({data:a})=>{if(a){const{stdout:l,stderr:s,code:c}=a;if(c==0){L("\u66F4\u65B0\u6210\u529F"),t.dispatch("istoreUpdated");return}else throw s||"unknown error"}throw"unknown error"}).catch(a=>{L("\u66F4\u65B0\u5931\u8D25: "+a)}).finally(()=>{U.Stop()})},version:e,load:o}}}),$o={class:"log-containers"},wo={key:0,class:"containers-tit"},ko={key:1,class:"containers-tit"},Co={key:1};function So(t,e,o,n,a,l){return i(),u("div",$o,[t.load?(i(),u("div",ko,[t.version?(i(),u(F,{key:0},[r("span",null,"\u6700\u65B0\u7248\u672C:"+T(t.version),1),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=s=>t.updateVersion()),value:"\u70B9\u6211\u66F4\u65B0"})],64)):(i(),u("span",Co,"\u5F53\u524D\u5DF2\u7ECF\u662F\u6700\u65B0\u7248\u672C..."))])):(i(),u("div",wo,"\u6B63\u5728\u68C0\u67E5\u6700\u65B0\u7248\u672C"))])}var xo=v(yo,[["render",So],["__scopeId","data-v-49481c33"]]);const Ao={setup(){const t=b(""),e=b(null),o=()=>{U.Start("\u6B63\u5728\u5907\u4EFD..."),y.lightBackup().then(s=>{if(s){const{msg:c,code:d}=s;if(d==200){L({content:'\u5907\u4EFD\u5B8C\u6210\uFF0C\u70B9\u6B64\u4E0B\u8F7D

',keep:!0,html:!0});return}else throw c||"unknown error"}throw"unknown error"}).catch(s=>{L("\u5907\u4EFD\u5931\u8D25: "+s)}).finally(()=>{U.Stop()})};b(null);const n=s=>{const c=s.target.files;if(c&&c.length>0){const d=c[0];a(d);return}},a=s=>{let c=new FormData;c.append(s.name,s),C.Start("upload"),y.lightRestore(c).then(d=>{let m=d.stdout,h=d.stderr;C.Add(`${m} +${h}`),C.End(d.code)}).catch(d=>{C.Add(d),C.End(500)})};return{upl:e,stdout:t,lightBackup:o,uploadFile:n,sumbitUpload:a,triggerFile:s=>{e.value.click(s),s.preventDefault()}}}},_t=t=>(R("data-v-eca17d82"),t=t(),z(),t),Lo={class:"Lightweight"},To={class:"Lightweight-container"},Io=_t(()=>r("div",{class:"model"},"\u8BF4\u660E",-1)),Eo={class:"Lightweight-container1"},Po={class:"container1-center"},Do=_t(()=>r("div",{class:"Lightweight-tit"},[r("span",null,"\xB7 \u7ACB\u5373\u5907\u4EFD\u5C06\u4E0B\u8F7DiStore\u5DF2\u5B89\u88C5\u7684\u8F6F\u4EF6\u5217\u8868\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u5907\u4EFD\u65F6\u4E0A\u4F20\u8F6F\u4EF6\u5217\u8868\u5E76\u4ECEiStore\u5B89\u88C5")],-1)),Fo={class:"Lightweight-backup"};function Bo(t,e,o,n,a,l){return i(),u("div",Lo,[r("div",To,[Io,r("div",Eo,[r("div",Po,[Do,r("div",Fo,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[0]||(e[0]=(...s)=>n.lightBackup&&n.lightBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"file",name:"file",accept:".tar, .gz",hidden:"",onChange:e[1]||(e[1]=(...s)=>n.uploadFile&&n.uploadFile(...s)),ref:"upl"},null,544),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[2]||(e[2]=(...s)=>n.triggerFile&&n.triggerFile(...s)),value:"\u6062\u590D\u5907\u4EFD"})])])])])])}var Mo=v(Ao,[["render",Bo],["__scopeId","data-v-eca17d82"]]);const D=b(""),Vo={setup(){const t=b(!1),e=b([]),o=b("");D.value==""&&(D.value="/root",y.localBackupdirPath().then(d=>{if(d){const{code:m,msg:h}=d;m==200&&(D.value=h)}}));const n=()=>D.value.length>1&&D.value.endsWith("/")?D.value.substring(0,D.value.length-1):D.value,a=()=>{let d=n();if(d==""){L("\u8BF7\u586B\u5199\u5916\u90E8\u5B58\u50A8\u76EE\u5F55");return}t.value=!1,y.backupFileList(d).then(m=>{if(m){const{code:h,msg:g}=m;if(h==200){let A=JSON.parse(g);A.length==0?(L("\u6B64\u8DEF\u5F84\u4E0B\u6CA1\u6709\u5907\u4EFD\u6587\u4EF6"),t.value=!1):(e.value=A,t.value=!0);return}throw g||"unknown error"}throw"unknown error"}).catch(m=>{L(m)})},l=()=>{let d=n();if(d==""){L("\u8BF7\u586B\u5199\u5916\u90E8\u5B58\u50A8\u76EE\u5F55");return}U.Start("\u6B63\u5728\u5907\u4EFD..."),y.localBackup(d).then(m=>{if(m){const{msg:h,code:g,stderr:A}=m;if(g==0){L("\u5907\u4EFD\u6210\u529F");return}else throw g==500?h:A||"unknown error"}throw"unknown error"}).catch(m=>{L("\u5907\u4EFD\u5931\u8D25: "+m)}).finally(()=>{U.Stop()})},s=d=>D.value.endsWith("/")?D.value+d:D.value+"/"+d;return{path:D,showList:t,result:e,restore_file:o,backupFileList:a,localBackup:l,localRestore:()=>{if(o.value===""){L("\u8BF7\u9009\u62E9\u8981\u6062\u590D\u7684\u5907\u4EFD\u6587\u4EF6");return}U.Start("\u6B63\u5728\u6062\u590D\u5907\u4EFD..."),y.localRestore(s(o.value)).then(d=>{if(d){const{msg:m,stderr:h,code:g}=d;if(g==0){L("\u6062\u590D\u5907\u4EFD\u6210\u529F");return}else throw m||h||"unknown error"}throw"unknown error"}).catch(d=>{L("\u6062\u590D\u5907\u4EFD\u5931\u8D25: "+d)}).finally(()=>{U.Stop()})}}}},Q=t=>(R("data-v-fffb7be4"),t=t(),z(),t),Oo={class:"local"},Uo={class:"local-container"},Ro=Q(()=>r("div",{class:"model"},"\u8BF4\u660E",-1)),zo={class:"local-container1"},Go={class:"container1-center"},Ko=Q(()=>r("div",{class:"local-tit"},[r("span",null,"\xB7 \u7ACB\u5373\u5907\u4EFD\u5C06\u5907\u4EFD\u5DF2\u5B89\u88C5\u8F6F\u4EF6\uFF08\u4E0D\u9650\u5B89\u88C5\u6765\u6E90\uFF09\u5230\u5916\u90E8\u5B58\u50A8\uFF1B"),r("span",null,"\xB7 \u6062\u590D\u65F6\u4E0D\u9700\u8981\u7F51\u7EDC")],-1)),Zo=Q(()=>r("div",{class:"local-device"},"\u5916\u90E8\u5B58\u50A8\u76EE\u5F55\uFF1A",-1)),qo={class:"local-input"},Ho={class:"local-btn"},Wo={key:0,class:"device-list"},Yo=Q(()=>r("div",null,"\u9009\u62E9\u5907\u4EFD\u6587\u4EF6\uFF1A",-1)),No=["value"];function Jo(t,e,o,n,a,l){return i(),u("div",Oo,[r("div",Uo,[Ro,r("div",zo,[r("div",Go,[Ko,Zo,r("div",qo,[tt(r("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=s=>n.path=s)},null,512),[[dt,n.path,void 0,{trim:!0}]]),r("div",Ho,[r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[1]||(e[1]=(...s)=>n.localBackup&&n.localBackup(...s)),value:"\u7ACB\u5373\u5907\u4EFD"}),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[2]||(e[2]=(...s)=>n.backupFileList&&n.backupFileList(...s)),value:"\u6062\u590D\u5907\u4EFD"})])]),n.showList?(i(),u("div",Wo,[Yo,tt(r("select",{"onUpdate:modelValue":e[3]||(e[3]=s=>n.restore_file=s)},[(i(!0),u(F,null,Z(n.result,s=>(i(),u("option",{key:s,value:s},T(s),9,No))),128))],512),[[St,n.restore_file,void 0,{trim:!0}]]),r("input",{type:"button",class:"app-btn cbi-button cbi-button-apply",onClick:e[4]||(e[4]=(...s)=>n.localRestore&&n.localRestore(...s)),value:"\u7ACB\u5373\u6062\u590D"})])):P("",!0)])])])])}var Qo=v(Vo,[["render",Jo],["__scopeId","data-v-fffb7be4"]]);const Xo=b(2),jo={components:{update:xo,lightBackup:Mo,localBackup:Qo},setup(){return{setup:Xo}}},X=t=>(R("data-v-ee364f80"),t=t(),z(),t),ts={class:"cbi-map"},es={class:"cbi-section"},ns=X(()=>r("span",{class:"panel-title"},"\u66F4\u65B0iStore",-1)),os={class:"cbi-section"},ss=X(()=>r("span",{class:"panel-title"},"\u8F6F\u4EF6\u5907\u4EFD",-1)),as={class:"cbi-tabmenu"},rs=X(()=>r("a",{onclick:"false",href:"#"},"\u8F7B\u91CF\u5907\u4EFD",-1)),cs=[rs],ls=X(()=>r("a",{onclick:"false",href:"#"},"\u672C\u5730\u5907\u4EFD",-1)),is=[ls];function ds(t,e,o,n,a,l){const s=x("update"),c=x("lightBackup"),d=x("localBackup");return i(),u("div",ts,[r("fieldset",es,[ns,O(s)]),r("fieldset",os,[ss,r("ul",as,[r("li",{class:W(n.setup==2?"cbi-tab":"cbi-tab-disabled"),onClick:e[0]||(e[0]=m=>n.setup=2)},cs,2),r("li",{class:W(n.setup==3?"cbi-tab":"cbi-tab-disabled"),onClick:e[1]||(e[1]=m=>n.setup=3)},is,2)]),n.setup==2?(i(),H(c,{key:0})):P("",!0),n.setup==3?(i(),H(d,{key:1})):P("",!0)])])}var us=v(jo,[["render",ds],["__scopeId","data-v-ee364f80"]]);const ps=xt({history:At(I.BasePage()),routes:[{path:"/",redirect:"/installed"},{path:"/installed",name:"Installed",component:Tn},{path:"/store",name:"Store",component:oo},{path:"/upload",name:"Upload",component:_o},{path:"/webapps",name:"Webapps",component:bo},{path:"/maintance",name:"Maintance",component:us},{path:"/:pathMatch(.*)*",name:"notfound",redirect:"/"}]}),_s={},ms={width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},hs=r("path",{d:"M14.9234958,14.5525054 L10.84453,10.4679606 C11.8849284,9.46327833 12.5294813,8.07823887 12.5294813,6.55073066 C12.5294813,3.48989918 9.94358337,1 6.76474066,1 C3.58589795,1 1,3.48989918 1,6.55073066 C1,9.61156213 3.58589795,12.1014613 6.76474066,12.1014613 C8.16008242,12.1014613 9.44067838,11.621191 10.438802,10.8242646 L14.5276502,14.9188536 C14.5814545,14.9730393 14.6533765,15 14.725573,15 C14.7942009,15 14.8625542,14.9754182 14.9158095,14.9262546 C15.025065,14.8250198 15.0283592,14.6577049 14.9234958,14.5525054 Z M6.76474066,11.5728203 C3.8886841,11.5728203 1.54902292,9.32001661 1.54902292,6.55073066 C1.54902292,3.7814447 3.8886841,1.52864101 6.76474066,1.52864101 C9.64079723,1.52864101 11.9804584,3.7814447 11.9804584,6.55073066 C11.9804584,9.32001661 9.64052272,11.5728203 6.76474066,11.5728203 Z",id:"Shape",stroke:"#FFFFFF","stroke-width":"1.3"},null,-1),fs=[hs];function vs(t,e,o,n,a,l){return i(),u("svg",ms,fs)}var gs=v(_s,[["render",vs]]);const bs={},ys={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},$s=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.81814832,10.9090654 L9.43153778,10.9090654 C9.70352269,10.9121048 9.93620458,10.7143252 9.97712277,10.4445109 L10.7297188,5.53628009 C10.7537339,5.3780602 10.7070546,5.2172762 10.602045,5.09651513 C10.4970353,4.97575406 10.3442908,4.9072007 10.1780925,4.90904784 L7.09084687,4.90904784 C6.78960329,4.90904784 6.54539711,4.66484166 6.54539711,4.36359808 L6.54539711,2.18179904 C6.54539711,1.69494967 6.22647822,1.2825878 5.78615711,1.14223013 L3.81814832,5.57024992 L3.81814832,10.9090654 Z M2.7272488,5.99994736 L1.63634928,5.99994736 C1.33510569,5.99994736 1.09089952,6.24415353 1.09089952,6.54539711 L1.09089952,10.3635454 C1.09089952,10.664789 1.33510569,10.9089952 1.63634928,10.9089952 L2.7272488,10.9089952 L2.7272488,5.99994736 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 -1.03028697e-13,11.2672762 -1.03028697e-13,10.3635454 L-1.03028697e-13,6.54539711 C-1.03028697e-13,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFFFFF","fill-rule":"nonzero"},null,-1),ws=[$s];function ks(t,e,o,n,a,l){return i(),u("svg",ys,ws)}var Cs=v(bs,[["render",ks]]);const Ss={},xs={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},As=r("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 0,11.2672762 0,10.3635454 L0,6.54539711 C0,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFE45A","fill-rule":"nonzero"},null,-1),Ls=[As];function Ts(t,e,o,n,a,l){return i(),u("svg",xs,Ls)}var Is=v(Ss,[["render",Ts]]);const N=et(Ve);N.component("svg-search",gs);N.component("svg-star-on",Cs);N.component("svg-star-off",Is);N.use(ps).use(Y);N.mount("#app")});export default Es(); diff --git a/app-store-ui/src/dist/luci-static/istore/style.css b/app-store-ui/src/dist/luci-static/istore/style.css index 751cd258..095da9b8 100644 --- a/app-store-ui/src/dist/luci-static/istore/style.css +++ b/app-store-ui/src/dist/luci-static/istore/style.css @@ -1 +1 @@ -#app *[data-v-86fc2014]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.menus[data-v-86fc2014]{display:flex;flex-wrap:wrap}.menus .auto[data-v-86fc2014]{flex:auto}li[data-v-86fc2014]{position:relative}li span[data-v-86fc2014]{position:absolute;top:5px;right:5px;padding:3px;background-color:#fd1919;border-radius:50%}#app *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}[lock-scroll=true]{overflow:hidden!important}#app *[data-v-735db9cc]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.software-log_shade[data-v-735db9cc]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:fixed;inset:0;z-index:99999}.software-log_shade .software-log_shade__bg[data-v-735db9cc]{position:fixed;inset:0;background:rgba(68,79,83,.94) none repeat scroll 0 0!important;background-position:0 0;background-size:cover;opacity:.94}.software-log_shade .software-log_shade__pannel[data-v-735db9cc]{width:800px;min-width:800px;border-radius:10px;z-index:100;box-shadow:3px 3px 10px #000;background:rgba(0,0,0,.9);padding:10px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-title[data-v-735db9cc]{text-align:center;font-size:18px;color:#9f0;padding:10px;font-weight:700}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-now i[data-v-735db9cc]{color:#fc0;font-style:normal}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content[data-v-735db9cc]{padding:10px;width:100%;text-align:center;overflow:hidden}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]{width:100%;border:0px solid #222;font-family:Lucida Console;font-size:11px;background:transparent;color:#fff;outline:none;overflow-x:hidden;resize:none;transition:.5s}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]:focus,.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]:hover{box-shadow:none;border-color:#fff0!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar{width:5px;height:5px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar-thumb{height:30px;outline:none;border:none;border-radius:1rem;background-color:#4c595c;-webkit-border-radius:1rem}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar-track-piece{background:none;-webkit-border-radius:0;border-radius:0}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn[data-v-735db9cc]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-735db9cc]{visibility:visible;min-width:88px;font-weight:bolder;text-shadow:1px 1px 0px black;border-radius:8px;height:33px;font-family:Verdana,Microsoft Yahei UI,sans-serif;font-size:12px;padding:0 .7em;width:auto;min-width:122px;margin:0 10px;cursor:pointer;background:#090a0a!important;border:1px solid #fff!important;color:#fff!important;opacity:1!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-735db9cc]:hover{opacity:.9!important}#app *[data-v-6cf543e1]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes turn-6cf543e1{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-6cf543e1]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:150px;max-width:70%;min-height:30px;padding:10px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999}.loading .icon[data-v-6cf543e1]{width:35px;height:35px;border:solid 2px transparent;border-top-color:#0060ff;border-left-color:#0060ff;border-radius:50%;animation:turn-6cf543e1 1s linear infinite}.loading .msg[data-v-6cf543e1]{color:#fff}.loading .close[data-v-6cf543e1]{cursor:pointer;padding-bottom:36px;right:-61px;position:relative;font-size:20px}#app *[data-v-6d7664a4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes load-6d7664a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-6d7664a4]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;max-width:150px;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);z-index:999999}.loading .icon[data-v-6d7664a4]{width:35px;height:35px;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:load-6d7664a4 1s linear infinite}.loading .msg[data-v-6d7664a4]{margin-top:10px;color:#fff}.app-container[data-v-c1f37206]{flex:0 0 100%;max-width:calc(50% - 20px);padding:15px;background:#88888822;border-radius:.375rem;overflow:hidden;margin:10px}.app-container .app-info[data-v-c1f37206]{display:flex;flex-wrap:wrap;width:100%;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed #999}.app-container .app-info .app-f[data-v-c1f37206]{flex:0 0 100%;max-width:150px}.app-container .app-info .app-f .app-icon[data-v-c1f37206]{width:100px;height:100px;margin:0 auto}.app-container .app-info .app-f .app-icon img[data-v-c1f37206]{max-width:100%}.app-container .app-info .app-f .app-tags[data-v-c1f37206]{width:100%;display:flex;align-items:center;padding:0 25px}.app-container .app-info .app-f .app-tags .tag[data-v-c1f37206]{font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:12px;font-size:.8125rem;white-space:nowrap;padding:.5rem}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;margin:0 2px}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]:last-child{display:none}.app-container .app-info .app-r[data-v-c1f37206]{flex:0 0 100%;max-width:calc(100% - 150px);padding:0 15px}.app-container .app-info .app-r .app-title[data-v-c1f37206]{width:100%;margin-bottom:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:26px;padding-top:12px}.app-container .app-info .app-r .app-title .app-version[data-v-c1f37206]{margin-left:10px;font-size:.8125rem}.app-container .app-info .app-r .app-as[data-v-c1f37206]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:10px}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]{padding:0;margin:0 0 0 10px;width:30px;border:none!important;cursor:pointer;background:none;box-shadow:none}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206] svg path{fill:currentColor}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]:hover svg path{filter:invert(.6)}.app-container .app-info .app-r .app-description[data-v-c1f37206]{font-size:12px;height:36px;line-height:18px;margin-bottom:10px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;padding:0}.app-container .app-info .app-r .app-description span[data-v-c1f37206]{-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box}.app-container .app-info .app-r .app-author[data-v-c1f37206],.app-container .app-info .app-r .app-date[data-v-c1f37206]{width:100%;height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-container .app-btns[data-v-c1f37206]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end}.app-container .app-btns .auto[data-v-c1f37206]{flex:auto}.app-container .app-btns .app-margin-left[data-v-c1f37206]{margin:0 5px}.app-container .app-btns .app-btn[data-v-c1f37206]{padding-top:5px;padding-bottom:5px;text-decoration:none}#app *[data-v-c1f37206]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@media screen and (max-width: 768px){.app-container[data-v-c1f37206]{max-width:100%;margin:10px 0}}#app *[data-v-708cb351]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-708cb351]{padding:15px}.cbi-section .containers[data-v-708cb351]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-e8823026]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.sort-container[data-v-e8823026]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.sort-container .sort-title[data-v-e8823026]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.sort-container .sort-value[data-v-e8823026]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.sort-container .sort-value .cbi-button[data-v-e8823026]{margin-right:5px}#app *[data-v-5b43124a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.tags-container[data-v-5b43124a]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.tags-container .tags-title[data-v-5b43124a]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.tags-container .tags-value[data-v-5b43124a]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.tags-container .tags-value .cbi-button[data-v-5b43124a]{margin-right:5px}#app *[data-v-67adb4c4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}form.search[data-v-67adb4c4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px;position:relative}form.search input[data-v-67adb4c4]{width:100%;height:36px;border-radius:19px;padding:0 40px}form.search .search-btn[data-v-67adb4c4]{position:absolute;left:20px;border:none!important;box-shadow:none!important;background:none!important;cursor:pointer;z-index:10;display:flex;flex-wrap:wrap;align-items:center;width:30px;padding:0;margin:0}form.search .search-btn[data-v-67adb4c4] svg path{stroke:currentColor}#app *[data-v-5d27abed]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.containers[data-v-5d27abed]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-603a8f16]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-603a8f16]{padding:15px}.cbi-section[data-v-603a8f16] .cbi-value{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px}#app *[data-v-739bd664]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-739bd664]{padding:15px}.cbi-section .container_msg span[data-v-739bd664]{display:block;width:100%;margin-bottom:5px}.cbi-section form[data-v-739bd664]{width:100%;margin:30px 0}.cbi-section form .flex[data-v-739bd664]{width:100%;display:flex;flex-wrap:wrap;align-items:center}.cbi-section form .flex label.upload-file[data-v-739bd664]{width:100%;height:54px;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 20px;cursor:pointer}.cbi-section form .flex label.upload-file span[data-v-739bd664]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:22px}.cbi-section form .flex label.upload-file .button[data-v-739bd664]{width:116px;height:38px;background:rgba(255,255,255,.2);border-radius:6px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.cbi-section form .flex label.upload-file input[data-v-739bd664]{visibility:hidden}.cbi-section form .flex label.upload-file[data-v-739bd664]:hover{opacity:.9}.cbi-section form button.upload-button[data-v-739bd664]{width:118px;height:36px;display:flex;align-items:center;justify-content:center;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:10px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff}.cbi-section form button.upload-button[data-v-739bd664]:hover{opacity:.9}#app *[data-v-19ff0ff6]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-19ff0ff6]{width:100%;min-height:400px;display:block;background:rgba(0,0,0,.9)}.cbi-section .webapp-container[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit}.cbi-section .webapp-container iframe[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit;border:none}#app *[data-v-019106ba]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-019106ba]{display:flex;flex-wrap:wrap}.log-containers .model[data-v-019106ba]{width:100%;flex:0 0 100%;display:block;margin-left:18px;margin-top:18px}.log-containers .containers-tit[data-v-019106ba]{margin:1rem 0;display:flex;align-items:center;align-content:center;padding-left:16px}.log-containers .containers-tit .app-btn[data-v-019106ba]{margin-left:3rem}em[data-v-019106ba]{width:100%;display:block;border-bottom:1px solid #eee;margin:1rem 0}#app *[data-v-155b9082]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.Lightweight[data-v-155b9082]{margin-top:20px;margin-left:18px}.Lightweight .Lightweight-container .model[data-v-155b9082]{margin-bottom:10px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit[data-v-155b9082]{margin-bottom:20px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit span[data-v-155b9082]{display:block;line-height:24px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup[data-v-155b9082]{display:flex}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup .app-btn[data-v-155b9082]{margin-left:14px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .upload-file[data-v-155b9082]{color:#000}input[hidden][data-v-155b9082]{display:none!important}#app *[data-v-0e1b4382]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.local[data-v-0e1b4382]{margin-top:20px}.local .local-container[data-v-0e1b4382]{margin-left:18px}.local .local-container .model[data-v-0e1b4382]{margin-bottom:10px}.local .local-container .local-container1[data-v-0e1b4382]{width:800px;height:400px}.local .local-container .local-container1 .container1-center[data-v-0e1b4382]{text-align:left}.local .local-container .local-container1 .container1-center .local-tit span[data-v-0e1b4382]{display:block;line-height:24px}.local .local-container .local-container1 .container1-center .local-device[data-v-0e1b4382]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .local-input[data-v-0e1b4382]{display:flex;align-items:center}.local .local-container .local-container1 .container1-center .local-input .app-btn[data-v-0e1b4382]{margin-left:14px}.local .local-container .local-container1 .container1-center .list[data-v-0e1b4382]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .select[data-v-0e1b4382]{flex:0 0 100%;max-width:100%}#app *[data-v-1f1997c4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-1f1997c4]{width:100%;overflow:auto;margin-top:20px}.log-containers .model[data-v-1f1997c4]{margin-top:18px;margin-bottom:10px}.log-containers .app-btn[data-v-1f1997c4]{height:30px;line-height:30px}.log-containers .tabs[data-v-1f1997c4]{padding-left:0}.log-containers textarea[data-v-1f1997c4]{font-family:Lucida Console;font-size:14px;outline:none;width:100%;margin:0;resize:none;border-radius:.8rem;padding:15px} +#app *[data-v-1f9c0c24]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}li[data-v-1f9c0c24]{position:relative}li span[data-v-1f9c0c24]{position:absolute;top:5px;right:5px;padding:3px;background-color:#fd1919;border-radius:50%}#app *{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}[lock-scroll=true]{overflow:hidden!important}#app *[data-v-735db9cc]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.software-log_shade[data-v-735db9cc]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;position:fixed;inset:0;z-index:99999}.software-log_shade .software-log_shade__bg[data-v-735db9cc]{position:fixed;inset:0;background:rgba(68,79,83,.94) none repeat scroll 0 0!important;background-position:0 0;background-size:cover;opacity:.94}.software-log_shade .software-log_shade__pannel[data-v-735db9cc]{width:800px;min-width:800px;border-radius:10px;z-index:100;box-shadow:3px 3px 10px #000;background:rgba(0,0,0,.9);padding:10px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-title[data-v-735db9cc]{text-align:center;font-size:18px;color:#9f0;padding:10px;font-weight:700}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-now i[data-v-735db9cc]{color:#fc0;font-style:normal}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content[data-v-735db9cc]{padding:10px;width:100%;text-align:center;overflow:hidden}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]{width:100%;border:0px solid #222;font-family:Lucida Console;font-size:11px;background:transparent;color:#fff;outline:none;overflow-x:hidden;resize:none;transition:.5s}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]:focus,.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]:hover{box-shadow:none;border-color:#fff0!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar{width:5px;height:5px}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar-thumb{height:30px;outline:none;border:none;border-radius:1rem;background-color:#4c595c;-webkit-border-radius:1rem}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-content textarea[data-v-735db9cc]::-webkit-scrollbar-track-piece{background:none;-webkit-border-radius:0;border-radius:0}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn[data-v-735db9cc]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-735db9cc]{visibility:visible;min-width:88px;font-weight:bolder;text-shadow:1px 1px 0px black;border-radius:8px;height:33px;font-family:Verdana,Microsoft Yahei UI,sans-serif;font-size:12px;padding:0 .7em;width:auto;min-width:122px;margin:0 10px;cursor:pointer;background:#090a0a!important;border:1px solid #fff!important;color:#fff!important;opacity:1!important}.software-log_shade .software-log_shade__pannel .software-log_shade__pannel-btn button[data-v-735db9cc]:hover{opacity:.9!important}#app *[data-v-5ced897a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.toast[data-v-5ced897a]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;width:150px;max-width:70%;min-height:30px;padding:10px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;transform:translate3d(-50%,-50%,0);z-index:9999}.toast .toast-close[data-v-5ced897a]{cursor:pointer;padding-bottom:36px;right:-61px;position:relative;font-size:20px}#app *[data-v-6d7664a4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@keyframes load-6d7664a4{0%{-webkit-transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg)}to{-webkit-transform:rotate(360deg)}}.loading[data-v-6d7664a4]{position:fixed;top:50%;left:50%;display:flex;flex-direction:column;align-items:center;justify-content:space-around;box-sizing:content-box;max-width:150px;padding:16px;color:#fff;font-size:14px;text-align:center;background-color:#000000b3;border-radius:8px;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);z-index:999999}.loading .icon[data-v-6d7664a4]{width:35px;height:35px;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:load-6d7664a4 1s linear infinite}.loading .msg[data-v-6d7664a4]{margin-top:10px;color:#fff}.app-container[data-v-c1f37206]{flex:0 0 100%;max-width:calc(50% - 20px);padding:15px;background:#88888822;border-radius:.375rem;overflow:hidden;margin:10px}.app-container .app-info[data-v-c1f37206]{display:flex;flex-wrap:wrap;width:100%;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed #999}.app-container .app-info .app-f[data-v-c1f37206]{flex:0 0 100%;max-width:150px}.app-container .app-info .app-f .app-icon[data-v-c1f37206]{width:100px;height:100px;margin:0 auto}.app-container .app-info .app-f .app-icon img[data-v-c1f37206]{max-width:100%}.app-container .app-info .app-f .app-tags[data-v-c1f37206]{width:100%;display:flex;align-items:center;padding:0 25px}.app-container .app-info .app-f .app-tags .tag[data-v-c1f37206]{font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:12px;font-size:.8125rem;white-space:nowrap;padding:.5rem}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;margin:0 2px}.app-container .app-info .app-f .app-tags .block[data-v-c1f37206]:last-child{display:none}.app-container .app-info .app-r[data-v-c1f37206]{flex:0 0 100%;max-width:calc(100% - 150px);padding:0 15px}.app-container .app-info .app-r .app-title[data-v-c1f37206]{width:100%;margin-bottom:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:26px;padding-top:12px}.app-container .app-info .app-r .app-title .app-version[data-v-c1f37206]{margin-left:10px;font-size:.8125rem}.app-container .app-info .app-r .app-as[data-v-c1f37206]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:10px}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]{padding:0;margin:0 0 0 10px;width:30px;border:none!important;cursor:pointer;background:none;box-shadow:none}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206] svg path{fill:currentColor}.app-container .app-info .app-r .app-as .star-btn[data-v-c1f37206]:hover svg path{filter:invert(.6)}.app-container .app-info .app-r .app-description[data-v-c1f37206]{font-size:12px;height:36px;line-height:18px;margin-bottom:10px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;padding:0}.app-container .app-info .app-r .app-description span[data-v-c1f37206]{-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box}.app-container .app-info .app-r .app-author[data-v-c1f37206],.app-container .app-info .app-r .app-date[data-v-c1f37206]{width:100%;height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-container .app-btns[data-v-c1f37206]{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end}.app-container .app-btns .auto[data-v-c1f37206]{flex:auto}.app-container .app-btns .app-margin-left[data-v-c1f37206]{margin:0 5px}.app-container .app-btns .app-btn[data-v-c1f37206]{padding-top:5px;padding-bottom:5px;text-decoration:none}#app *[data-v-c1f37206]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}@media screen and (max-width: 768px){.app-container[data-v-c1f37206]{max-width:100%;margin:10px 0}}#app *[data-v-708cb351]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-708cb351]{padding:15px}.cbi-section .containers[data-v-708cb351]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-e8823026]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.sort-container[data-v-e8823026]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.sort-container .sort-title[data-v-e8823026]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.sort-container .sort-value[data-v-e8823026]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.sort-container .sort-value .cbi-button[data-v-e8823026]{margin-right:5px}#app *[data-v-5b43124a]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.tags-container[data-v-5b43124a]{display:flex;flex-wrap:wrap;align-items:flex-start;margin-bottom:10px}.tags-container .tags-title[data-v-5b43124a]{width:50px;height:28px;font-size:14px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;line-height:28px}.tags-container .tags-value[data-v-5b43124a]{display:flex;flex-wrap:wrap;flex:0 0 100%;max-width:calc(100% - 50px)}.tags-container .tags-value .cbi-button[data-v-5b43124a]{margin-right:5px}#app *[data-v-67adb4c4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}form.search[data-v-67adb4c4]{width:100%;display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px;position:relative}form.search input[data-v-67adb4c4]{width:100%;height:36px;border-radius:19px;padding:0 40px}form.search .search-btn[data-v-67adb4c4]{position:absolute;left:20px;border:none!important;box-shadow:none!important;background:none!important;cursor:pointer;z-index:10;display:flex;flex-wrap:wrap;align-items:center;width:30px;padding:0;margin:0}form.search .search-btn[data-v-67adb4c4] svg path{stroke:currentColor}#app *[data-v-5d27abed]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.containers[data-v-5d27abed]{width:100%;height:100%;display:flex;flex-wrap:wrap}#app *[data-v-603a8f16]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-603a8f16]{padding:15px}.cbi-section[data-v-603a8f16] .cbi-value{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:10px}#app *[data-v-739bd664]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-739bd664]{padding:15px}.cbi-section .container_msg span[data-v-739bd664]{display:block;width:100%;margin-bottom:5px}.cbi-section form[data-v-739bd664]{width:100%;margin:30px 0}.cbi-section form .flex[data-v-739bd664]{width:100%;display:flex;flex-wrap:wrap;align-items:center}.cbi-section form .flex label.upload-file[data-v-739bd664]{width:100%;height:54px;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:0 20px;cursor:pointer}.cbi-section form .flex label.upload-file span[data-v-739bd664]{font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:22px}.cbi-section form .flex label.upload-file .button[data-v-739bd664]{width:116px;height:38px;background:rgba(255,255,255,.2);border-radius:6px;font-size:12px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.cbi-section form .flex label.upload-file input[data-v-739bd664]{visibility:hidden}.cbi-section form .flex label.upload-file[data-v-739bd664]:hover{opacity:.9}.cbi-section form button.upload-button[data-v-739bd664]{width:118px;height:36px;display:flex;align-items:center;justify-content:center;background:linear-gradient(144deg,#009aff 0%,#0060ff 100%);border-radius:10px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#fff}.cbi-section form button.upload-button[data-v-739bd664]:hover{opacity:.9}#app *[data-v-19ff0ff6]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.cbi-section[data-v-19ff0ff6]{width:100%;min-height:400px;display:block;background:rgba(0,0,0,.9)}.cbi-section .webapp-container[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit}.cbi-section .webapp-container iframe[data-v-19ff0ff6]{width:100%;height:100%;min-height:inherit;border:none}#app *[data-v-49481c33]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-49481c33]{display:flex;flex-wrap:wrap}.log-containers .model[data-v-49481c33]{width:100%;flex:0 0 100%;display:block;margin-left:18px;margin-top:18px}.log-containers .containers-tit[data-v-49481c33]{margin:1rem 0;display:flex;align-items:center;align-content:center;padding-left:16px}.log-containers .containers-tit .app-btn[data-v-49481c33]{margin-left:3rem}em[data-v-49481c33]{width:100%;display:block;border-bottom:1px solid #eee;margin:1rem 0}#app *[data-v-eca17d82]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.Lightweight[data-v-eca17d82]{margin-top:20px;margin-left:18px}.Lightweight .Lightweight-container .model[data-v-eca17d82]{margin-bottom:10px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit[data-v-eca17d82]{margin-bottom:20px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-tit span[data-v-eca17d82]{display:block;line-height:24px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup[data-v-eca17d82]{display:flex}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .Lightweight-backup .app-btn[data-v-eca17d82]{margin-left:14px}.Lightweight .Lightweight-container .Lightweight-container1 .container1-center .upload-file[data-v-eca17d82]{color:#000}input[hidden][data-v-eca17d82]{display:none!important}#app *[data-v-fffb7be4]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.local[data-v-fffb7be4]{margin-top:20px}.local .local-container[data-v-fffb7be4]{margin-left:18px}.local .local-container .model[data-v-fffb7be4]{margin-bottom:10px}.local .local-container .local-container1[data-v-fffb7be4]{width:800px;height:400px}.local .local-container .local-container1 .container1-center[data-v-fffb7be4]{text-align:left}.local .local-container .local-container1 .container1-center .local-tit span[data-v-fffb7be4]{display:block;line-height:24px}.local .local-container .local-container1 .container1-center .local-device[data-v-fffb7be4]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .local-input[data-v-fffb7be4]{display:flex;align-items:center}.local .local-container .local-container1 .container1-center .local-input .app-btn[data-v-fffb7be4]{margin-left:14px}.local .local-container .local-container1 .container1-center .list[data-v-fffb7be4]{margin-top:20px;margin-bottom:10px}.local .local-container .local-container1 .container1-center .select[data-v-fffb7be4]{flex:0 0 100%;max-width:100%}#app *[data-v-ee364f80]{-webkit-box-sizing:border-box;-webkit-tap-highlight-color:transparent;box-sizing:border-box;word-wrap:break-word;outline:none}.log-containers[data-v-ee364f80]{width:100%;overflow:auto;margin-top:20px}.log-containers .model[data-v-ee364f80]{margin-top:18px;margin-bottom:10px}.log-containers .app-btn[data-v-ee364f80]{height:30px;line-height:30px}.log-containers .tabs[data-v-ee364f80]{padding-left:0}.log-containers textarea[data-v-ee364f80]{font-family:Lucida Console;font-size:14px;outline:none;width:100%;margin:0;resize:none;border-radius:.8rem;padding:15px} diff --git a/ddnsto/Makefile b/ddnsto/Makefile index c9cb9c01..43b65bf9 100644 --- a/ddnsto/Makefile +++ b/ddnsto/Makefile @@ -14,7 +14,7 @@ PKG_VERSION:=0.3.0 PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://fw.koolcenter.com/binary/ddnsto/ -PKG_HASH:=skip +PKG_HASH:=cefd2494cb1c21e2c1616290f715dd6415cd460aafc107c38bb9910c13f42448 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION) diff --git a/filebrowser/Makefile b/filebrowser/Makefile index 9ab2a595..47a6d732 100644 --- a/filebrowser/Makefile +++ b/filebrowser/Makefile @@ -11,7 +11,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=b73d278 PKG_SOURCE_URL:=https://github.com/filebrowser/filebrowser -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=66b9df31f98bec22715a7fe9ca73962c1e5a5c1b3bcfb99fd0ac1703118ee4c8 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE diff --git a/gost/Makefile b/gost/Makefile index 74ff1f06..28efe9ce 100644 --- a/gost/Makefile +++ b/gost/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ginuerzh/gost/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=skip +PKG_HASH:=143174a9ba5b0b6251d1d9a52267220f97bec1319676618746c1a5d7a7a86d96 PKG_LICENSE:=MIT PKG_LICENSE_FILE:=LICENSE diff --git a/lua-maxminddb/Makefile b/lua-maxminddb/Makefile index a1100971..363d254d 100644 --- a/lua-maxminddb/Makefile +++ b/lua-maxminddb/Makefile @@ -13,7 +13,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/fabled/lua-maxminddb.git PKG_SOURCE_DATE:=2019-03-14 PKG_SOURCE_VERSION:=93da9f4e6c814c3a23044dd2cdd22d4a6b4f665b -PKG_MIRROR_HASH:=skip +PKG_MIRROR_HASH:=b99ef18516b705b3e73b15a9d5ddc99add359299b52639fe3c81dd761591d9d9 PKG_LICENSE:=MIT PKG_LICENSE_FILE:=LICENSE diff --git a/luci-app-adguardhome/Makefile b/luci-app-adguardhome/Makefile index d072ff1d..db03e8ac 100644 --- a/luci-app-adguardhome/Makefile +++ b/luci-app-adguardhome/Makefile @@ -6,8 +6,6 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-adguardhome -PKG_VERSION:=1.8 -PKG_RELEASE:=12 PKG_MAINTAINER:= LUCI_TITLE:=LuCI app for AdGuardHome diff --git a/luci-app-adguardhome/root/etc/init.d/AdGuardHome b/luci-app-adguardhome/root/etc/init.d/AdGuardHome old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/etc/uci-defaults/40_luci-AdGuardHome b/luci-app-adguardhome/root/etc/uci-defaults/40_luci-AdGuardHome old mode 100755 new mode 100644 index 24bea1cb..37e192cd --- a/luci-app-adguardhome/root/etc/uci-defaults/40_luci-AdGuardHome +++ b/luci-app-adguardhome/root/etc/uci-defaults/40_luci-AdGuardHome @@ -10,4 +10,6 @@ uci -q batch <<-EOF >/dev/null 2>&1 EOF rm -f /tmp/luci-indexcache + +chmod +x /etc/init.d/AdGuardHome /usr/share/AdGuardHome/* exit 0 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/addhost.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/addhost.sh old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/firewall.start b/luci-app-adguardhome/root/usr/share/AdGuardHome/firewall.start old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/getsyslog.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/getsyslog.sh old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/gfw2adg.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/gfw2adg.sh old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/tailto.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/tailto.sh old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/update_core.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/update_core.sh old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/waitnet.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/waitnet.sh old mode 100755 new mode 100644 diff --git a/luci-app-adguardhome/root/usr/share/AdGuardHome/watchconfig.sh b/luci-app-adguardhome/root/usr/share/AdGuardHome/watchconfig.sh old mode 100755 new mode 100644 diff --git a/luci-app-advanced/root/usr/share/rpcd/acl.d/luci-app-advanced.json b/luci-app-advanced/root/usr/share/rpcd/acl.d/luci-app-advanced.json deleted file mode 100644 index 8cb0ef85..00000000 --- a/luci-app-advanced/root/usr/share/rpcd/acl.d/luci-app-advanced.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "luci-app-advanced": { - "description": "Grant UCI access for luci-app-advanced", - "read": { - "uci": [ "advanced" ] - }, - "write": { - "uci": [ "advanced" ] - } - } -} diff --git a/luci-app-aliddns/po/zh-cn b/luci-app-aliddns/po/zh-cn deleted file mode 120000 index 8d69574d..00000000 --- a/luci-app-aliddns/po/zh-cn +++ /dev/null @@ -1 +0,0 @@ -zh_Hans \ No newline at end of file diff --git a/luci-app-argon-config/Makefile b/luci-app-argon-config/Makefile index d2842153..618a1111 100644 --- a/luci-app-argon-config/Makefile +++ b/luci-app-argon-config/Makefile @@ -8,7 +8,7 @@ PKG_MAINTAINER:=jerrykuku LUCI_TITLE:=LuCI page for Argon Config LUCI_PKGARCH:=all -LUCI_DEPENDS:=+luci-compat +luci-theme-argon +LUCI_DEPENDS:=+luci-compat define Package/$(PKG_NAME)/conffiles /etc/config/argon diff --git a/luci-app-argonne-config/Makefile b/luci-app-argonne-config/Makefile index 51ec874a..97bc7083 100644 --- a/luci-app-argonne-config/Makefile +++ b/luci-app-argonne-config/Makefile @@ -8,7 +8,7 @@ PKG_MAINTAINER:=jerrykuku LUCI_TITLE:=LuCI page for Argonne Config LUCI_PKGARCH:=all -LUCI_DEPENDS:=+luci-compat +luci-theme-argonne +LUCI_DEPENDS:=+luci-compat define Package/$(PKG_NAME)/conffiles /etc/config/argonne diff --git a/luci-app-argonne-config/po/zh_Hans b/luci-app-argonne-config/po/zh_Hans deleted file mode 120000 index 41451e4a..00000000 --- a/luci-app-argonne-config/po/zh_Hans +++ /dev/null @@ -1 +0,0 @@ -zh-cn \ No newline at end of file diff --git a/luci-app-bypass/po/zh_Hans b/luci-app-bypass/po/zh_Hans deleted file mode 120000 index 41451e4a..00000000 --- a/luci-app-bypass/po/zh_Hans +++ /dev/null @@ -1 +0,0 @@ -zh-cn \ No newline at end of file diff --git a/luci-app-clash/Makefile b/luci-app-clash/Makefile index 257337c3..6bdb5277 100644 --- a/luci-app-clash/Makefile +++ b/luci-app-clash/Makefile @@ -11,7 +11,7 @@ define Package/$(PKG_NAME) CATEGORY:=LuCI SUBMENU:=3. Applications TITLE:=LuCI app for clash - DEPENDS:=+luci-base +wget +iptables +coreutils-base64 +coreutils +coreutils-nohup +bash +ipset +libustream-openssl +curl +jsonfilter +ca-bundle +iptables-mod-tproxy +kmod-tun + DEPENDS:=+luci-base +wget +iptables +coreutils-base64 +coreutils +coreutils-nohup +bash +ipset +libustream-openssl +curl +jsonfilter +ca-certificates +iptables-mod-tproxy +kmod-tun PKGARCH:=all MAINTAINER:=frainzy1477 endef diff --git a/luci-app-clash/po/zh_Hans b/luci-app-clash/po/zh_Hans deleted file mode 120000 index 41451e4a..00000000 --- a/luci-app-clash/po/zh_Hans +++ /dev/null @@ -1 +0,0 @@ -zh-cn \ No newline at end of file diff --git a/luci-app-clash/root/usr/share/clash/dashboard/img/ffac0fa1d89f15922b4594863b8b32e9.png b/luci-app-clash/root/usr/share/clash/dashboard/img/ffac0fa1d89f15922b4594863b8b32e9.png deleted file mode 100644 index 6798639d..00000000 Binary files a/luci-app-clash/root/usr/share/clash/dashboard/img/ffac0fa1d89f15922b4594863b8b32e9.png and /dev/null differ diff --git a/luci-app-clash/root/usr/share/clash/dashboard/js/1.bundle.658aa6a6e3feec8f168b.min.js b/luci-app-clash/root/usr/share/clash/dashboard/js/1.bundle.658aa6a6e3feec8f168b.min.js deleted file mode 100644 index e8981cca..00000000 --- a/luci-app-clash/root/usr/share/clash/dashboard/js/1.bundle.658aa6a6e3feec8f168b.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1.bundle.658aa6a6e3feec8f168b.min.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(e,t,n){"use strict";e.exports=n(54)},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(55)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){e.exports=n(58)()},function(e,t,n){"use strict";e.exports=n(62)},function(e,t,n){var r=n(38),o=n(88);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(85),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(39)(Object,"create");e.exports=r},function(e,t,n){var r=n(109);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(115);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function s(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===l(e)?e.get(t):e[t]}function f(e,t,n){var r=l(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return K&&e instanceof Map}function h(e){return Y&&e instanceof Set}function v(e){return e.o||e.t}function m(e){if(Array.isArray(e))return e.slice();var t=ne(e);delete t[Z];for(var n=te(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&u(e,(function(e,t){return g(t,!0)}),!0))}function y(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var t=re[e];return t||r(19,e),t}function S(e,t){re[e]=t}function x(){return G}function _(e,t){t&&(w("Patches"),e.u=[],e.s=[],e.v=t)}function E(e){T(e),e.p.forEach(k),e.p=null}function T(e){e===G&&(G=e.l)}function R(e){return G={p:[],l:G,h:e,m:!0,_:0}}function k(e){var t=e[Z];0===t.i||1===t.i?t.j():t.g=!0}function C(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||w("ES5").S(t,e,o),o?(n[Z].P&&(E(t),r(4)),i(e)&&(e=P(t,e),t.l||M(t,e)),t.u&&w("Patches").M(n[Z],e,t.u,t.s)):e=P(t,n,[]),E(t),t.u&&t.v(t.u,t.s),e!==X?e:void 0}function P(e,t,n){if(b(t))return t;var r=t[Z];if(!r)return u(t,(function(o,i){return O(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return M(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=m(r.k):r.o;u(3===r.i?new Set(o):o,(function(t,i){return O(e,r,o,t,i,n)})),M(e,o,!1),n&&e.u&&w("Patches").R(r,n,e.u,e.s)}return r.o}function O(e,t,n,r,a,u){if(o(a)){var l=P(e,a,u&&t&&3!==t.i&&!s(t.D,r)?u.concat(r):void 0);if(f(n,r,l),!o(l))return;e.m=!1}if(i(a)&&!b(a)){if(!e.h.N&&e._<1)return;P(e,a),t&&t.A.l||M(e,a)}}function M(e,t,n){void 0===n&&(n=!1),e.h.N&&e.m&&g(t,n)}function A(e,t){var n=e[Z];return(n?v(n):e)[t]}function I(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function N(e){e.P||(e.P=!0,e.l&&N(e.l))}function z(e){e.o||(e.o=m(e.t))}function L(e,t,n){var r=p(t)?w("MapSet").T(t,n):h(t)?w("MapSet").F(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:x(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=oe;n&&(o=[r],i=ie);var a=Proxy.revocable(o,i),u=a.revoke,l=a.proxy;return r.k=l,r.j=u,l}(t,n):w("ES5").J(t,n);return(n?n.A:x()).p.push(r),r}function F(e){return o(e)||r(22,e),function e(t){if(!i(t))return t;var n,r=t[Z],o=l(t);if(r){if(!r.P&&(r.i<4||!w("ES5").K(r)))return r.t;r.I=!0,n=j(t,o),r.I=!1}else n=j(t,o);return u(n,(function(t,o){r&&c(r.t,t)===o||f(n,t,e(o))})),3===o?new Set(n):n}(e)}function j(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function D(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Z];return oe.get(t,e)},set:function(t){var n=this[Z];oe.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][Z];if(!o.P)switch(o.i){case 5:r(o)&&N(o);break;case 4:n(o)&&N(o)}}}function n(e){for(var t=e.t,n=e.k,r=te(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Z){var a=t[i];if(void 0===a&&!s(t,i))return!0;var u=n[i],l=u&&u[Z];if(l?l.t!==a:!d(u,a))return!0}}var c=!!t[Z];return r.length!==te(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var i={};S("ES5",{J:function(t,n){var r=Array.isArray(t),o=function(t,n){if(t){for(var r=Array(n.length),o=0;o1?r-1:0),u=1;u1?n-1:0),i=1;i=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var i=w("Patches").$;return o(e)?i(e,t):this.produce(e,(function(e){return i(e,t.slice(n+1))}))},e}(),ue=new ae,le=ue.produce,se=ue.produceWithPatches.bind(ue),ce=ue.setAutoFreeze.bind(ue),fe=ue.setUseProxies.bind(ue),de=ue.applyPatches.bind(ue),pe=ue.createDraft.bind(ue),he=ue.finishDraft.bind(ue);t.default=le},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(17).Symbol;e.exports=r},function(e,t,n){var r=n(119);e.exports=function(e){return null==e?"":r(e)}},,function(e,t,n){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",o="day",i="week",a="month",u="quarter",l="year",s="date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p={s:d,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+d(r,2,"0")+":"+d(o,2,"0")},m:function e(t,n){if(t.date()-1&&(t.__listeners[r]=t.__listeners[t.__listeners.length-1],t.__listeners.length--)}}},e.prototype.notify=function(){for(var e=0,t=this.__listeners;en.errorRetryCount)){var i=Math.min(o.retryCount||0,8),u=~~((Math.random()+.5)*(1<0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0));return Promise.all(l).then((function(){return s.get(r)}))}return Promise.resolve(s.get(r))},O=function(e,t,n){var r=T[e];if(e&&r)for(var o=0;o0));return[2,Promise.all(h).then((function(){if(c)throw c;return s.get(o)}))]}if(c)throw c;return[2,l]}}))}))};var A=v.Provider,I=function(){for(var e=this,t=[],n=0;n=1&&(o=t[0]),t.length>2?(i=t[1],u=t[2]):"function"==typeof t[1]?i=t[1]:"object"==typeof t[1]&&(u=t[1]);var l=s.serializeKey(o),c=l[0],h=l[1],y=l[2];u=Object.assign({},f,Object(r.useContext)(v),u),void 0===i&&(i=u.fetcher);var C=s.get(c)||u.initialData,P=s.get(y),A=Object(r.useRef)({data:!1,error:!1,isValidating:!1}),I=Object(r.useRef)({data:C,error:P,isValidating:!1}),N=Object(r.useState)(null)[1],z=Object(r.useCallback)((function(e){var t=!1;for(var n in e)I.current[n]=e[n],A.current[n]&&(t=!0);if(t||u.suspense){if(L.current)return;N({})}}),[]),L=Object(r.useRef)(!1),F=Object(r.useRef)(c),j=Object(r.useRef)({emit:function(e){for(var t=[],n=1;n=0&&(n[r]=n[n.length-1],n.pop())}},U=Object(r.useCallback)((function(t){return void 0===t&&(t={}),m(e,void 0,void 0,(function(){var e,n,r,o,a,l,f;return g(this,(function(d){switch(d.label){case 0:if(!c||!i)return[2,!1];if(L.current)return[2,!1];t=Object.assign({dedupe:!1},t),e=!0,n=void 0!==S[c]&&t.dedupe,d.label=1;case 1:return d.trys.push([1,6,,7]),z({isValidating:!0}),r=void 0,o=void 0,n?(o=x[c],[4,S[c]]):[3,3];case 2:return r=d.sent(),[3,5];case 3:return u.loadingTimeout&&!s.get(c)&&setTimeout((function(){e&&j.current.emit("onLoadingSlow",c,u)}),u.loadingTimeout),S[c]=null!==h?i.apply(void 0,h):i(c),x[c]=o=Date.now(),[4,S[c]];case 4:r=d.sent(),setTimeout((function(){delete S[c],delete x[c]}),u.dedupingInterval),j.current.emit("onSuccess",r,c,u),d.label=5;case 5:return x[c]>o||R[c]&&(o<=R[c]||o<=k[c]||0===k[c])?(z({isValidating:!1}),[2,!1]):(s.set(c,r),s.set(y,void 0),a={isValidating:!1},void 0!==I.current.error&&(a.error=void 0),u.compare(I.current.data,r)||(a.data=r),z(a),n||O(c,r,void 0),[3,7]);case 6:return l=d.sent(),delete S[c],delete x[c],s.set(y,l),I.current.error!==l&&(z({isValidating:!1,error:l}),n||O(c,void 0,l)),j.current.emit("onError",l,c,u),u.shouldRetryOnError&&(f=(t.retryCount||0)+1,j.current.emit("onErrorRetry",l,c,u,U,Object.assign({dedupe:!0},t,{retryCount:f}))),[3,7];case 7:return e=!1,[2,!0]}}))}))}),[c]);if(w((function(){if(c){L.current=!1;var e=I.current.data,t=s.get(c)||u.initialData;F.current===c&&u.compare(e,t)||(z({data:t}),F.current=c);var n,r,o=function(){return U({dedupe:!0})};(u.revalidateOnMount||!u.initialData&&void 0===u.revalidateOnMount)&&(void 0!==t?b(o):o()),u.revalidateOnFocus&&(n=p(o,u.focusThrottleInterval)),u.revalidateOnReconnect&&(r=o);var i=function(e,t,n,r){void 0===e&&(e=!0),void 0===r&&(r=!0);var i={},a=!1;return void 0===t||u.compare(I.current.data,t)||(i.data=t,a=!0),I.current.error!==n&&(i.error=n,a=!0),a&&z(i),!!e&&(r?o():U())};return B(_,n),B(E,r),B(T,i),function(){z=function(){return null},L.current=!0,V(_,n),V(E,r),V(T,i)}}}),[c,U]),w((function(){var t=null,n=function(){return m(e,void 0,void 0,(function(){return g(this,(function(e){switch(e.label){case 0:return I.current.error||!u.refreshWhenHidden&&!a()||!u.refreshWhenOffline&&!d()?[3,2]:[4,U({dedupe:!0})];case 1:e.sent(),e.label=2;case 2:return u.refreshInterval&&(t=setTimeout(n,u.refreshInterval)),[2]}}))}))};return u.refreshInterval&&(t=setTimeout(n,u.refreshInterval)),function(){t&&clearTimeout(t)}}),[u.refreshInterval,u.refreshWhenHidden,u.refreshWhenOffline,U]),u.suspense){var W=s.get(c)||C,H=s.get(y)||P;if(void 0===W&&void 0===H){if(S[c]||U(),S[c]&&"function"==typeof S[c].then)throw S[c];W=S[c]}if(void 0===W&&H)throw H;return{error:H,data:W,revalidate:U,mutate:D,isValidating:I.current.isValidating}}return Object(r.useMemo)((function(){var e={revalidate:U,mutate:D};return Object.defineProperties(e,{error:{get:function(){return A.current.error=!0,F.current===c?I.current.error:P},enumerable:!0},data:{get:function(){return A.current.data=!0,F.current===c?I.current.data:C},enumerable:!0},isValidating:{get:function(){return A.current.isValidating=!0,I.current.isValidating},enumerable:!0}}),e}),[U])},N=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function u(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}l((r=r.apply(e,t||[])).next())}))},z=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=1&&(o=t[0]),t.length>2?(i=t[1],a=t[2]):"function"==typeof t[1]?i=t[1]:"object"==typeof t[1]&&(a=t[1]);var u=(a=Object.assign({},f,Object(r.useContext)(v),a)).initialSize,l=void 0===u?1:u,c=a.revalidateAll,d=void 0!==c&&c,p=a.persistSize,h=void 0!==p&&p,m=a.fetcher,g=L(a,["initialSize","revalidateAll","persistSize","fetcher"]);void 0===i&&(i=m);var y=null;try{y=s.serializeKey(o(0,null))[0]}catch(k){}var b=Object(r.useState)(!1)[1],w=null;y&&(w="context@"+y);var S,x=null;y&&(x="size@"+y,S=s.get(x));var _=Object(r.useRef)(S||l),E=Object(r.useRef)(!1);Object(r.useEffect)((function(){E.current?h||(_.current=l):E.current=!0}),[y]);var T=I(y?["many",y]:null,(function(){return N(e,void 0,void 0,(function(){var e,t,n,r,u,l,c,f,p,h;return z(this,(function(v){switch(v.label){case 0:e=s.get(w)||{},t=e.originalData,n=e.force,r=[],u=null,l=0,v.label=1;case 1:return l<_.current?(c=s.serializeKey(o(l,u)),f=c[0],p=c[1],f?(h=s.get(f),d||n||void 0===n&&0===l||t&&!a.compare(t[l],h)||void 0===h?null===p?[3,3]:[4,i.apply(void 0,p)]:[3,6]):[3,8]):[3,8];case 2:return h=v.sent(),[3,5];case 3:return[4,i(f)];case 4:h=v.sent(),v.label=5;case 5:s.set(f,h),v.label=6;case 6:r.push(h),u=h,v.label=7;case 7:return++l,[3,1];case 8:return s.delete(w),[2,r]}}))}))}),g),R=T.mutate;return T.size=_.current,T.mutate=Object(r.useCallback)((function(e,t){if(void 0===t&&(t=!0),t&&void 0!==e){var n=T.data;s.set(w,{originalData:n,force:!1})}else t&&s.set(w,{force:!0});return R(e,t)}),[R,T.data,w]),T.setSize=Object(r.useCallback)((function(e){return"function"==typeof e?_.current=e(_.current):"number"==typeof e&&(_.current=e),s.set(x,_.current),b((function(e){return!e})),T.mutate((function(e){return e}))}),[T.mutate,x]),T}t.default=I},function(e,t,n){"use strict";n.r(t),n.d(t,"MemoryRouter",(function(){return B})),n.d(t,"Prompt",(function(){return U})),n.d(t,"Redirect",(function(){return G})),n.d(t,"Route",(function(){return Q})),n.d(t,"Router",(function(){return D})),n.d(t,"StaticRouter",(function(){return ne})),n.d(t,"Switch",(function(){return re})),n.d(t,"generatePath",(function(){return $})),n.d(t,"matchPath",(function(){return Y})),n.d(t,"useHistory",(function(){return ae})),n.d(t,"useLocation",(function(){return ue})),n.d(t,"useParams",(function(){return le})),n.d(t,"useRouteMatch",(function(){return se})),n.d(t,"withRouter",(function(){return oe})),n.d(t,"BrowserRouter",(function(){return ce})),n.d(t,"HashRouter",(function(){return fe})),n.d(t,"Link",(function(){return ge})),n.d(t,"NavLink",(function(){return we}));var r=n(3),o=n(0),i=n.n(o),a=(n(14),n(2));function u(e){return"/"===e.charAt(0)}function l(e,t){for(var n=t,r=n+1,o=e.length;r=0;d--){var p=o[d];"."===p?l(o,d):".."===p?(l(o,d),f++):f&&(l(o,d),f--)}if(!s)for(;f--;f)o.unshift("..");!s||""===o[0]||o[0]&&u(o[0])||o.unshift("");var h=o.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var f=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),o=c(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var d=function(e,t){if(!e)throw new Error("Invariant failed")};function p(e){return"/"===e.charAt(0)?e:"/"+e}function h(e){return"/"===e.charAt(0)?e.substr(1):e}function v(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function g(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(a.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=s(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=y(e,t,d(),w.location);c.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=w.index+e;return t>=0&&t=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(i)})),e.exports=l}).call(this,n(136))},function(e,t,n){"use strict";var r=n(7),o=n(138),i=n(41),a=n(140),u=n(143),l=n(144),s=n(45);e.exports=function(e){return new Promise((function(t,c){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password||"";d.Authorization="Basic "+btoa(h+":"+v)}var m=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),i(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?u(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};o(t,c,r),p=null}},p.onabort=function(){p&&(c(s("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(s("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),c(s(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(145),y=(e.withCredentials||l(m))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),c(e),p=null)})),void 0===f&&(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(139);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(e){void 0!==t[e]&&(n[e]=t[e])})),r.forEach(i,(function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):void 0!==t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):void 0!==e[o]&&(n[o]=e[o])})),r.forEach(a,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}));var u=o.concat(i).concat(a),l=Object.keys(t).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(l,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},,function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){"use strict";var r=n(34),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var u=l(t),v=l(n),m=0;mO.length&&O.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var l=!1;if(null===t)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+N(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s