PageSourceSearch

https://www.proxylite.com/site-assets/Cebdo9XT.js

js proxylite.com collected 2026-09-29 22:26:15 UTC 5,577 bytes, 3 lines download raw bytes

1import{W as q,_ as J,a as K,r as u,c as w,C as L,D as W,e as v,o as d,g as e,t as o,f as _,w as g,j as $,E as H,i as l,F as M,l as x,s as Q,h as X,I as P,v as Z,J as ee,L as te,K as R,dF as ae,dk as se,dq as oe}from"./kV3UbmWC.js";import{_ as le}from"./wsYK5a2B.js";import{S as ne,O as ie}from"./DLYgGeFx.js";import{D as re}from"./VXYkDjaB.js";import{d as c}from"./CfX1vOTs.js";import{u as ue,a as ce,b as de,c as me,d as pe,e as ve,i as _e}from"./Tufn7SaD.js";import{i as fe}from"./CaS9MynH.js";import"./CH0wpSbt.js";import"./DjhezoFL.js";import"./C8krmiux.js";import"./C8y2i2b6.js";import"./Y2BTtirQ.js";import"./CFKTYMyI.js";import"./C3Ex1624.js";import"./I5BtFwJl.js";import"./BLItm3Mv.js";import"./75aSrvi5.js";import"./oi1Cz4vz.js";import"./BGKs7_5k.js";import"./B0T2cu8x.js";import"./CHIgUVhi.js";const be=q("/images/user/user9.png"),ge={class:"ResidentialProxy"},ye={class:"product"},he={class:"title"},Ye={class:"label"},De={class:"button"},Te={class:"progress"},we={class:"top"},$e={class:"remaining"},ke={class:"colorType"},Me={class:"value"},xe={class:"value"},Ce={class:"situation"},Fe={class:"used_echarts"},Be={class:"search"},Le={class:"account"},Pe=["onClick"],Re={class:"params"},Ie=["onClick"],Ne={__name:"ResidentialProxy",setup(Ve){ue([ce,de,me,pe,ve,fe]);const{t:m,locale:I}=K();let y=u(null),h=w(()=>L("userInfo").value?L("userInfo").value:{}),f=u("main"),i=u([c().subtract(6,"day").format("YYYY-MM-DD"),c().format("YYYY-MM-DD")]),p=u(""),C=u([]),Y=u(!0);const F=w(()=>Number(h.value.product_residence_total_count/1024/1024||0).toFixed(1)),B=w(()=>Number((h.value.product_residence_total_count-h.value.product_residence_remain_count)/1024/1024||0).toFixed(2)),N=w(()=>Number((B.value/F.value*100).toFixed(0))||0),V=u([{label:m("user.overviewTab.products.main.account[0]"),value:"main"},{label:m("user.overviewTab.products.main.account[1]"),value:"sub"}]),U=u([{label:m("user.overviewTab.products.main.time[0]"),value:"Yesterday"},{label:m("user.overviewTab.products.main.time[1]"),value:"7"},{label:m("user.overviewTab.products.main.time[2]"),value:"30"}]),S=t=>{t=="7"?i.value=[c().subtract(6,"day").format("YYYY-MM-DD"),c().format("YYYY-MM-DD")]:t=="30"?i.value=[c().subtract(29,"day").format("YYYY-MM-DD"),c().format("YYYY-MM-DD")]:i.value=[c().subtract(1,"day").format("YYYY-MM-DD"),c().format("YYYY-MM-DD")],b()},A=t=>{f.value=t.value,t.value=="sub"?y.value.dispose():b()},G=t=>((t||0)*1/1024/1024).toFixed(2),z=async()=>{await se({language:I.value,product_type:9}).then(({code:t,data:a,msg:r})=>{t==200&&(C.value=a.list)})},b=async()=>{if(f.value=="sub"&&!p.value)return R.error(m("user.staticTab.msg"));Y.value=!0;let{code:t,data:a,msg:r}=await ae({start_time:i.value[0],end_time:i.value[1],product_type:9,username:f.value=="sub"?p.value:""});if(t==200){let n=[],D=[];a.list.forEach(T=>{n.push(T.day),D.push((T.flow*1/1024).toFixed(2))}),E(n,D)}else R.error(r),Y.value=!1},E=(t,a)=>{y.value=oe(_e(document.getElementById("main")));let r={tooltip:{trigger:"axis",formatter:n=>`<div>
2					<div>${n[0].marker} ${n[0].name}:&nbsp;&nbsp;&nbsp;&nbsp;<span>${n[0].data} MB</span></div>
3				</div>`},grid:{left:"3%",right:"4%",bottom:"3%"},xAxis:{type:"category",boundaryGap:!1,data:t},yAxis:{type:"value",axisLabel:{formatter:n=>(+n).toFixed(2)+"MB"}},series:[{type:"line",data:a,itemStyle:{color:"#0056fb"}}]};r&&y.value.setOption(r),window.onresize=function(){y.value.resize()},Y.value=!1};return W(async()=>{b(),z()}),(t,a)=>{const r=H,n=le,D=ie,T=ne,O=re,j=te;return d(),v("div",ge,[e("div",ye,[e("div",he,[e("div",Ye,[a[2]||(a[2]=e("img",{loading:"lazy",width:"44",height:"44",src:be,alt:"ProxyLite"},null,-1)),e("span",null,o(t.$t("ProductNames.ResidentialProxies")),1)]),e("div",De,[_(r,{to:"/buy/residential/"},{default:g(()=>[$(o(t.$t("user.overviewTab.products.main.Recharge")),1)]),_:1}),_(r,{to:"/user/getproxy/extract/"},{default:g(()=>[$(o(t.$t("user.overviewTab.products.main.Come")),1)]),_:1})])]),e("div",Te,[e("div",we,[e("div",$e,[$(o(t.$t("common.RemainingTraffic"))+": ",1),e("span",null,o(`${G(l(h).product_residence_remain_count)} GB`),1)]),e("ul",ke,[e("li",null,[a[3]||(a[3]=e("div",{class:"bg"}
3,null,-1)),e("div",Me,o(t.$t("common.UsedTraffic")),1)]),e("li",null,[a[4]||(a[4]=e("div",{class:"bg"},null,-1)),e("div",xe,o(t.$t("common.TotalTraffic")),1)])])]),_(n,{percent:l(N),showInfo:!1,strokeColor:"#FF9F36",strokeLinecap:"butt"},null,8,["percent"]),e("div",Ce,[e("span",null,o(`${t.$t("common.UsedTraffic")}: ${l(B)} GB`),1),e("span",null,o(`${t.$t("common.TotalTraffic")}: ${l(F)} GB`),1)])])]),e("div",Fe,[_(j,{attach:"#attach",loading:l(Y)},{default:g(()=>[e("div",Be,[e("div",Le,[(d(!0),v(M,null,x(l(V),s=>(d(),v("div",{class:Q(["account-item",{active:l(f)==s.value}]),onClick:k=>A(s),key:s.value},o(s.label),11,Pe))),128))]),e("div",Re,[X(_(T,{onChange:b,modelValue:l(p),"onUpdate:modelValue":a[0]||(a[0]=s=>P(p)?p.value=s:p=s),placeholder:t.$t("user.residentialTab.plr")},{default:g(()=>[(d(!0),v(M,null,x(l(C),(s,k)=>(d(),Z(D,{key:k,value:s.username,label:s.username},{default:g(()=>[$(o(s.username),1)]),_:2},1032,["value","label"]))),128))]),_:1},8,["modelValue","placeholder"]),[[ee,l(f)=="sub"]]),(d(!0),v(M,null,x(l(U),s=>(d(),v("div",{class:"time",key:s.value,onClick:k=>S(s.value)},o(s.label),9,Ie))),128)),_(O,{modelValue:l(i),"onUpdate:modelValue":a[1]||(a[1]=s=>P(i)?i.value=s:i=s)},null,8,["modelValue"]),e("div",{class:"button",onClick:b},o(t.$t("help.Search")),1)])]),a[5]||(a[5]=e("div",{id:"main"},null,-1))]),_:1},8,["loading"])])])}}},lt=J(Ne,[["__scopeId","data-v-4bc85e5a"]]);export{lt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.