1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16878],{16878:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y});var l=a(95155),s=a(71105),n=a(17527),i=a(84162),r=a(97453),c=a(57207);function o(e){let{data:t,totalItems:a,columns:s}=e,[o]=(0,r.ZA)("limit",r.GJ.withDefault(50)),x=Math.ceil(a/o),{table:d}=(0,n.u)({data:t,columns:s,pageCount:x,shallow:!1,debounceMs:500});return(0,l.jsxs)("div",{className:"flex w-full flex-1 flex-col gap-3 sm:gap-6",children:[(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(c.A,{table:d})}),(0,l.jsx)(i.b,{table:d,showPagination:a>0,fitColumnsToWidth:!0,stretchLastColumn:!1})]})}var x=a(26467),d=a(70682),m=a(34513),p=a(12115),u=a(18720);let h=e=>{let{ip:t}=e,[a,s]=p.useState(!1),n=async()=>{try{await navigator.clipboard.writeText(String(t)),s(!0),u.toast.success("Ä\xe3 copy IP"),setTimeout(()=>s(!1),2e3)}catch(e){u.toast.error("Kh\xf4ng thá» copy")}};return(0,l.jsxs)("div",{className:"flex w-full min-w-0 items-center justify-center gap-1.5 px-1 sm:px-2",children:[(0,l.jsx)("span",{className:"shrink-0 text-[12px] font-bold whitespace-nowrap text-[#989898] sm:text-[13px]",children:"Proxy IP"}),(0,l.jsx)("span",{className:"shrink-0 whitespace-nowrap rounded-[4px] border border-white/10 px-2 py-1 text-[13px] leading-[19px] font-normal text-[#F5F5F6] tabular-nums",children:t}),(0,l.jsx)("button",{onClick:n,className:"text-primary hover:text-primary/80 flex h-6 w-6 shrink-0 items-center justify-center transition-colors",title:"Copy IP",children:a?(0,l.jsx)(m.F.CheckIcon,{className:"h-6 w-6"}):(0,l.jsx)(m.F.CopyIcon,{className:"h-6 w-6 cursor-pointer"})})]})},f=[{id:"stt",header:()=>(0,l.jsx)("div",{className:"w-full text-center text-[13px] font-semibold whitespace-nowrap text-[#989898]",children:"STT"}),size:52,minSize:48,maxSize:64,enableHiding:!1,cell:e=>{let{cell:t,table:a}=e;return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-normal whitespace-nowrap text-[#F5F5F6]",children:a.getState().pagination.pageIndex*a.getState().pagination.pageSize+t.row.index+1})}},{accessorKey:"id",header:()=>(0,l.jsx)("div",{className:"w-full text-center text-[13px] font-semibold whitespace-nowrap text-[#989898]",children:"ID"}),size:88,minSize:72,maxSize:110,meta:{label:"ID"},cell:e=>{let{getValue:t}=e;return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-normal whitespace-nowrap text-[#F5F5F6] tabular-nums",children:t()})}},{id:"s",header:()=>(0,l.jsx)("div",{className:"w-full px-1 text-center text-[13px] font-semibold whitespace-nowrap text-[#989898]",children:"Th\xf4ng tin Proxy cÅ©"}),accessorKey:"fromAddress",size:340,minSize:260,meta:{label:"Proxy IP cÅ©",placeholder:"T\xecm kiếm theo IP",variant:"search"},enableColumnFilter:!0,cell:e=>{let{getValue:t}=e,a=t();return(0,l.jsx)(h,{ip:a})}},{id:"toAddress",header:()=>(0,l.jsx)("div",{className:"w-full px-1 text-center text-[13px] font-semibold whitespace-nowrap text-[#989898]",children:"Th\xf4ng tin Proxy má»i"}),accessorKey:"toAddress",size:340,minSize:260,meta:{label:"Proxy Ip má»i"},cell:e=>{let{getValue:t}=e,a=t();return(0,l.jsx)(h,{ip:a})}},{id:"createdAt",accessorKey:"createdAt",header:()=>(0,l.jsx)("div",{className:"w-full text-center text-[13px] font-semibold whitespace-nowrap text-[#989898]",children:"Ng\xe0y Äá»i"}),meta:{label:"Ng\xe0y Äá»i"},enableSorting:!1,size:200,minSize:160,maxSize:220,cell:e=>{let{cell:t}=e,a=t.getValue(),s=(0,d.L_)((0,x.H)(a),"UTC"),n=(0,d.GP)(s,"dd/MM/yyyy HH:mm");return(0,l.jsx)("div",{className:"flex w-full items-center justify-center text-[13px] font-normal whitespace-nowrap text-[#989898] tabular-nums",children:n})}}];var w=a(45288),j=a(89905);function y(e){let{params:t}=e,{logs:a,total:n}=(0,j.a)(t);return(0,l.jsx)(s.A,{scrollable:!0,openMarqueeTop:!0,className:"over-table",children:(0,l.jsxs)("div",{className:"flex w-full flex-1 flex-col gap-6",children:[(0,l.jsx)(w.D,{title:"Lá»ch sá» Äá»i Proxy"}),(0,l.jsx)(o,{data:a,totalItems:n,columns:f})]})})}},45288:(e,t,a)=>{a.d(t,{D:()=>s});var l=a(95155);let s=e=>{let{title:t,description:a}=e;return(0,l.jsx)("div",{className:"mx-auto flex w-full items-center justify-between",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"text-[16px] leading-[125%] font-bold text-white",children:t}),a&&(0,l.jsx)("p",{className:"text-muted-foreground mt-3 text-sm",children:a})]})})}},89905:(e,t,a)=>{a.d(t,{a:()=>i});var l=a(13744),s=a(96199),n=a(85400);function i(e){var t,a;let{data:i,status:r}=(0,s.wV)(),{data:c}=(0,n.Ay)("authenticated"===r?["/api/v1/ipchangelogs",e]:null,e=>
1{let[t,a]=e;return l.A.fetchApi(t+a,null==i?void 0:i.accessToken).then(e=>null!=e?e:{data:[],total:0}).catch(()=>({data:[],total:0}))},{suspense:!0,revalidateOnFocus:!1});return{logs:null!=(t=null==c?void 0:c.data)?t:[],total:null!=(a=null==c?void 0:c.total)?a:0}}}}]);
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.