1import{d as M,i as n,j as R,u as F,E as D,o,c as l,am as E,D as c,a as e,t,R as _,P as r,Q as u,U as w,a1 as T,F as I,ab as A,ac as N}from"./DWU_OSrH.js";import{v as G}from"./C80O5lVp.js";import{j as V}from"./CLRAE-3v.js";import{_ as $}from"./1K9DhM1B.js";import{_ as z}from"./BvUPtpF4.js";import{g as Q}from"./CzzSb2aW.js";import{_ as U}from"./DlAUqK2U.js";const h=p=>(A("data-v-796da4f9"),p=p(),N(),p),q={class:"price-list bg-[#F8F9FB] pb-[90px] pt-[80px] wide:pt-[.8rem] wide:pb-[.1rem] wide:px-[.32rem]"},H={class:"max-container"},J={key:0,class:"sub-title text-16 text-primaryYellow mt-[80px] text-center font-PoppinsMedium wide:text-[.32rem]"},K={key:1,class:"title text-[40px] text-primaryBlack mt-[20px] text-center font-PoppinsSemiBold wide:text-[.52rem]"},O={key:2,class:"list mt-[24px] wide:mt-[.32rem]"},W={class:"flex justify-center wide:flex-col wide:items-center"},X={class:"flex items-center mr-[40px] wide:mb-[.2rem]"},Z=h(()=>e("img",{src:$,alt:"check",class:"w-[20px] h-[20px]"},null,-1)),ee={class:"font-PoppinsMedium text-16 text-primaryBlack ml-[6px]"},te={class:"flex justify-between items-center"},se={class:"font-PoppinsSemiBold text-primaryBlack text-[24px]"},ie={key:0},oe={key:1},le={key:0,class:"min-w-[72px] h-[24px] rounded-[18px] bg-primaryYellow text-12 font-PoppinsSemiBold text-primaryBlack flex justify-center items-center px-[10px]"},ne={class:"flex mt-[6px]"},ce={class:"text-14 font-PoppinsRegular text-[#9699AC]"},re=h(()=>e("div",{class:"text-14 font-PoppinsSemiBold text-primaryYellow ml-[4px] mb-[18px]"},null,-1)),ae={class:"desc"},pe={class:"check flex items-center mb-[12px] last:mb-0"},de=h(()=>e("img",{src:$,alt:"check",class:"w-[16px] h-[16px]"},null,-1)),me={class:"text-14 text-secondBlack font-PoppinsRegular ml-[6px]"},xe={class:"flex justify-between items-center mt-[28px]"},_e={class:"flex items-center"},ue={class:"text-[36px] font-PoppinsSemiBold text-primaryBlack block"},he={class:"text-16 font-PoppinsMedium text-primaryBlack translate-y-[25%]"},fe={class:"line-through text-14 font-PoppinsRegular text-[#9699AC] translate-y-[25%]"},ve=["onClick"],we={class:"flex justify-between items-center relative"},ye={class:"absolute top-[-50px] left-[50%] translate-x-[-50%] h-[36px] w-[138px] flex items-center justify-center rounded-[8px] bg-primaryYellow"},ge=h(()=>e("img",{src:z,alt:"black-star",class:"w-[12px] h-[12px] translate-y-[-10%]"},null,-1)),ke={class:"text-14 text-[#2D3347] font-PoppinsMedium ml-[7px]"},be={class:"font-PoppinsSemiBold text-[24px] text-white"},$e={key:0,class:"min-w-[72px] h-[24px] rounded-[18px] bg-primaryYellow text-12 font-PoppinsSemiBold text-primaryBlack flex justify-center items-center px-[10px]"},Be={class:"flex mt-[6px]"},Pe={class:"text-14 font-PoppinsRegular text-[#9699AC]"},Le={class:"text-14 font-PoppinsSemiBold text-primaryYellow ml-[4px] mb-[18px]"},Ce={class:"desc"},je={class:"check flex items-center mb-[12px] last:mb-0"},Se=h(()=>e("img",{src:$,alt:"check",class:"w-[16px] h-[16px]"},null,-1)),Ye={class:"text-14 text-[#B6B8C9] font-PoppinsRegular ml-[6px]"},Me={class:"flex justify-between items-center mt-[28px]"},Re={class:"flex items-center"},Fe={class:"text-[36px] font-PoppinsSemiBold text-white block"},De={class:"text-16 font-PoppinsMedium text-white translate-y-[25%]"},Ee={class:"line-through text-14 font-PoppinsRegular text-[#9699AC] translate-y-[25%]"},Te=["onClick"],Ie={class:"flex justify-center mt-[40px] items-center"},Ae=["onClick"],Ne=M({__name:"price-list",props:{showTitle:{type:Boolean,default:!0}},setup(p){n(!0);const B=n();R(()=>{B.value.addEventListener("wheel",()=>{})});const{t:f}=F(),y=p,j=n([f("products.proxies.residential.priceList.desc1"),f("products.proxies.residential.priceList.desc2"),f("products.proxies.residential.priceList.desc3")]),a=n([]),d=n(),m=n(!0);m.value=!0,Q("9").then(s=>{m.value=!1,d.value=s.data||[],d.value&&(a.value=d.value.slice(0,4)||[])}).catch(()=>{m.value=!1});const g=n(1),S=s=>{var k,v;g.value=s,g.value==1?a.value=(k=d.value)==null?void 0:k.slice(0,4):a.value=(v=d.value)==null?void 0:v.slice(4)},Y=D(),P=s=>{if(!window.localStorage.getItem("token")){T.warning(f("loginFirst")),V("/login");return}I(Y(`/pay/${s}`))};return(s,k)=>{var L;const v=G;return o(),l("div",q,[E((o(),l("div",H,[e("div",{class:w([c(m)?"tmp-hidden":""])},[y.showTitle?(o(),l("div",J,t(s.$t("products.proxies.residential.priceList.subTitle")),1)):_("",!0),y.showTitle?(o(),l("h2",K,t(s.$t("products.proxies.residential.priceList.title")),1)):_("",!0),y.showTitle?(o(),l("div",O,[e("ul",W,[(o(!0),l(r,null,u(c(j),i=>
1(o(),l("li",X,[Z,e("span",ee,t(i),1)]))),256))])])):_("",!0),e("div",{class:w(["mt-[58px] flex wide:flex-col wide:mt-[.48rem] px-[40px] wide:px-0",[((L=c(a))==null?void 0:L.length)>3?"between":""]]),ref_key:"resPriceListRef",ref:B},[(o(!0),l(r,null,u(c(a),(i,b)=>{var C;return o(),l("div",{class:w(["item px-[24px] py-[32px] border border-[#EDEFF7] w-[265px] rounded-[14px] bg-white wide:w-full wide:mb-[.32rem] last:wide:mt-[.32rem]",[b==3?"last":"",((C=c(a))==null?void 0:C.length)>3?"":"mr"]])},[b<3?(o(),l(r,{key:0},[e("div",te,[e("div",se,[i.flow_value==1?(o(),l("span",ie,t(i.flow_value)+" GB ",1)):(o(),l("span",oe,t(i.flow_value)+" GB ",1))]),i.tip1?(o(),l("div",le,t(i.tip1),1)):_("",!0)]),e("div",ne,[e("div",ce,t(s.$t("common.total"))+": ",1),re]),e("div",ae,[(o(),l(r,null,u(5,x=>e("div",pe,[de,e("div",me,t(s.$t(`products.proxies.residential.priceList.infoList${x}`)),1)])),64))]),e("div",xe,[e("div",_e,[e("div",ue,t(`$${i.usd_price}`),1),e("div",he," /"+t(s.$t("common.month")),1)])]),e("div",fe,t(`$${i.original_usd_price}/${s.$t("common.month")}`),1),e("div",{class:"w-full h-[44px] bg-primaryYellow rounded-[8px] font-PoppinsMedium text-18 text-primaryBlack flex justify-center items-center mt-[27px] cursor-pointer hover:bg-hoverYellow",onClick:x=>P(i.id)},t(s.$t("common.buyNow")),9,ve)],64)):(o(),l(r,{key:1},[e("div",we,[e("div",ye,[ge,e("div",ke,t(s.$t("products.proxies.unlimited.priceList.star")),1)]),e("div",be,[e("span",null,t(i.flow_value)+" GB ",1)]),i.tip1?(o(),l("div",$e,t(i.tip1),1)):_("",!0)]),e("div",Be,[e("div",Pe,t(s.$t("common.total"))+": ",1),e("div",Le,t(`$${i.usd_price} / ${s.$t("common.month")}`),1)]),e("div",Ce,[(o(),l(r,null,u(5,x=>e("div",je,[Se,e("div",Ye,t(s.$t(`products.proxies.residential.priceList.infoList${x}`)),1)])),64))]),e("div",Me,[e("div",Re,[e("div",Fe,t(`$${i.usd_price}`),1),e("div",De," /"+t(s.$t("common.month")),1)])]),e("div",Ee,t(`$${i.original_usd_price}/${s.$t("common.month")}`),1),e("div",{class:"w-full h-[44px] bg-primaryYellow rounded-[8px] font-PoppinsMedium text-18 text-primaryBlack flex justify-center items-center mt-[27px] cursor-pointer hover:bg-hoverYellow",onClick:x=>P(i.id)},t(s.$t("common.buyNow")),9,Te)],64))],2)}),256))],2),e("div",Ie,[(o(),l(r,null,u(2,i=>e("div",{class:w(["w-[8px] h-[8px] bg-[#D6DBE5] rounded-[50%] cursor-pointer mr-[10px]",[c(g)==i?"active-point":""]]),onClick:b=>S(i)},null,10,Ae)),64))])],2)])),[[v,c(m)]])])}}}),Je=U(Ne,[["__scopeId","data-v-796da4f9"]]);export{Je 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.