1import{W as U,_ as j,r as N,R as S,Z as x,u as A,X as E,c as $,e as i,f as d,g as e,w as p,T as W,j as _,t as s,H as X,i as o,cL as Z,F as m,l as b,s as g,o as r,x as P}from"./kV3UbmWC.js";import{B as q}from"./BLItm3Mv.js";import{_ as R}from"./B0wlrHEG.js";import{_ as J}from"./wdHy-0HH.js";import{c as K}from"./75aSrvi5.js";const M=U("/images/home/residential.webp"),O={class:"buy"},Q={class:"content"},Y={class:"header"},ee={class:"label"},te={class:"plans"},se={class:"list"},le=["onClick"],ne={key:0},ae={key:0,class:"popular"},oe={class:"list days"},ie=["onClick"],re={key:0,class:"popular"},ue={class:"features"},de={class:"total"},ce={__name:"buy",setup(pe){const y=N(!1),z=S(),c=x(),D=A(),{contactInter:k}=E("contactInter"),n=N(),F=$(()=>c.residential.length>0?(n.value=c.residential[0],c.residential):[]),G=$(()=>n.value?n.value.extension_of_time_days.length==0||n.value.extension_of_time_days.length==1?[1]:n.value.extension_of_time_days:[]),w=t=>{if(!t)return"-";const{local_price:l,time_days_price_rate:u,flow_value:v,flow_give:f,default_time_days:h}=t;return`$${(l*(1+(h-1)*u)/(v+f)).toFixed(2)}/GB`},V=$(()=>{if(!n.value)return"-";const{local_price:t,time_days_price_rate:l,default_time_days:u}=n.value;return`$${(t*(1+(u-1)*l)).toFixed(2)}`}),H=t=>{n.value=t},I=()=>{var t,l;z.push(D(`/user/pay/${(t=n.value)==null?void 0:t.id}/?etd=${(l=n.value)==null?void 0:l.default_time_days}`))};return c.getProductList(),(t,l)=>{var T,C;const u=W,v=X,f=Z("i18n-t"),h=q;return r(),i(m,null,[d(v,null,{default:p(()=>[d(u,null,{default:p(()=>[_(s(t.$t("ProductNames.ResidentialProxies"))+" - ProxyLite",1)]),_:1})]),_:1}),e("div",O,[e("div",Q,[e("section",Y,[l[2]||(l[2]=e("img",{loading:"lazy",width:"44",height:"44",src:M,alt:"Proxylite"},null,-1)),e("div",null,[e("div",ee,[_(s(t.$t("ProductNames.ResidentialProxies"))+" ",1),e("span",null,s(t.$t("user.overviewTab.explore.popular")),1)]),e("p",null,s(t.$t("user.residentialTab.buy.t1")),1)])]),e("section",te,[e("h3",null,s(t.$t("user.residentialTab.buy.t2")),1),e("p",null,[d(f,{keypath:"user.residentialTab.buy.t3",scope:"global"},{default:p(()=>[e("span",{onClick:l[0]||(l[0]=(...a)=>o(k)&&o(k)(...a))},s(t.$t("common.ContactUs")),1)]),_:1})]),e("h4",null,s(t.$t("user.residentialTab.buy.t4")),1),e("div",se,[(r(!0),i(m,null,b(o(F),(a,B)=>{var L;return r(),i("div",{class:g(["item",{active:((L=o(n))==null?void 0:L.id)===a.id}]),onClick:_e=>H(a)},[l[3]||(l[3]=e("img",{loading:"lazy",class:"check",width:"20",height:"20",src:R,alt:"proxylite"},null,-1)),e("b",null,[_(s(a.flow_value)+"GB ",1),a.flow_give?(r(),i("span",ne,"+"+s(a.flow_give)+"GB",1)):P("",!0)]),e("p",null,s(w(a)),1),B==2?(r(),i("div",ae,s(t.$t("user.residentialTab.buy.t6")),1)):P("",!0)],10,le)}),256))]),e("h4",null,s(t.$t("user.residentialTab.buy.t5")),1),e("div",oe,[(r(!0),i(m,null,b(o(G),a=>(r(),i("div",{class:g(["item",{active:o(n).default_time_days===a}]),onClick:B=>o(n).default_time_days=a},[l[4]||(l[4]=e("img",{loading:"lazy",class:"check",width:"20",height:"20",src:R,alt:"proxylite"},null,-1)),e("b",null,s(`${a*30} ${t.$t("common.Days")}`),1),a==2?(r(),i("div",re,s(t.$t("user.residentialTab.buy.t6")),1)):P("",!0)],10,ie))),256))])]),e("section",ue,[e("h4",null,s(t.$t("user.residentialTab.buy.t7")),1),e("ul",null,[(r(!0),i(m,null,b(t.$tm("user.residentialTab.buy.t8"),a=>(r(),i("li",null,[l[5]||(l[5]=e("img",{loading:"lazy",src:J,alt:"ProxyLite",width:"16",height:"16"},null,-1)),e("span",null,s(t.$rt(a)),1)]))),256))])])]),e("div",{class:g(["summary",{expanded:o(y)}])},[e("div",{class:"summary_toggle",onClick:l[1]||(l[1]=a=>y.value=!o(y))},[d(o(K))]),e("h5",null,s(t.$t("pricing.pay.title2")),1),e("dl",null,[e("dt",null,[e("span",null,s(t.$t("ProductNames.ResidentialProxies")),1),e("span",null,s((T=o(n))==null?void 0:T.flow_value)+"GB",1)]),e("dd",null,[e("span",null,s(t.$t("pricing.pay.Price")),1),e("span",null,s(w(o(n))),1)]),e("dd",null,[e("span",null,s(t.$t("user.residentialTab.buy.t5")),1),e("span",null,s(`${((C=o(n))==null?void 0:C.default_time_days)*30} ${t.$t("common.Days")}`),1)])]),e("div",de,[e("span",null,s(t.$t("pricing.pay.t12")),1),e("span",null,s(o(V)),1)]),d(h,{theme:"primary",block:"",onClick:I},{default:p(()=>[_(s(t.$t("order-pay.t1")),1)]),_:1})],2)])],64)}}},$e=j(ce,[["__scopeId","data-v-5e499eb9"]]);export{$e 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.