PageSourceSearch

https://j2proxy.vn/_next/static/chunks/25699.cd41f69fbf81cffc.js

js j2proxy.vn collected 2026-09-24 15:19:26 UTC 8,607 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25699],{20508:(e,t,r)=>{r.d(t,{A:()=>s});let s=(0,r(71847).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},39180:(e,t,r)=>{r.d(t,{r:()=>l});var s=r(68019);let l=(0,r(25959).v)((e,t)=>({config:null,affiliateProgram:null,setConfig:t=>{var r,l;return e({config:{...t,theme:(null==t?void 0:t.theme)?{...t.theme,textmarquee:null!=(l=null!=(r=t.theme.textmarquee)?r:t.theme.textMarquee)?l:"",...t.theme.logo&&{logo:(0,s.V)(t.theme.logo,t.hostName)},...t.theme["logo-l"]&&{"logo-l":(0,s.V)(t.theme["logo-l"],t.hostName)}}:t.theme}})},setAffiliateProgram:t=>e({affiliateProgram:t}),getRotateUrl:()=>{var e,r;return null==(r=t().config)||null==(e=r.theme)?void 0:e.rotateUrl}}))},47776:(e,t,r)=>{r.r(t),r.d(t,{default:()=>j});var s=r(95155),l=r(12115),a=r(3998),n=r(86948),i=r(41052),d=r(65142),c=r(80389),o=r(12774),h=r(20508);function x(e){let{initialData:t,pageTitle:r,onSuccess:l}=e,{form:x,onSubmit:m,isSubmitting:p}=(0,o.v)({initialData:t,onSuccess:l});return(0,s.jsxs)(n.Zp,{className:"mx-auto w-full",children:[(0,s.jsx)(n.aR,{children:(0,s.jsxs)(n.ZB,{className:"flex items-center text-left text-2xl font-bold",children:[(0,s.jsx)(h.A,{className:"text-primary mr-2 h-5 w-5"}),r]})}),(0,s.jsx)(n.Wu,{children:(0,s.jsx)(i.lV,{...x,children:(0,s.jsxs)("form",{onSubmit:x.handleSubmit(m),className:"space-y-6",children:[(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Th\xf4ng tin c\xe1 nh\xe2n"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[(0,s.jsx)(i.zB,{control:x.control,name:"firstName",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"Họ"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(d.p,{placeholder:"Nhập họ",...t})}),(0,s.jsx)(i.C5,{})]})}}),(0,s.jsx)(i.zB,{control:x.control,name:"lastName",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"T\xean"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(d.p,{placeholder:"Nhập t\xean",...t})}),(0,s.jsx)(i.C5,{})]})}})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Th\xf4ng tin li\xean hệ"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[(0,s.jsx)(i.zB,{control:x.control,name:"phone",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"Số điện thoại"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(d.p,{disabled:!0,placeholder:"Nhập số điện thoại",...t})}),(0,s.jsx)(i.C5,{})]})}}),(0,s.jsx)(i.zB,{control:x.control,name:"email",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"Email"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(d.p,{disabled:!0,placeholder:"Nhập email",type:"email",...t})}),(0,s.jsx)(i.C5,{})]})}})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Th\xf4ng tin t\xe0i khoản"}),(0,s.jsx)(i.zB,{control:x.control,name:"userName",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"T\xean đăng nhập"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(d.p,{disabled:!0,placeholder:"Nhập t\xean đăng nhập",...t})}),(0,s.jsx)(i.C5,{})]})}})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Đổi mật khẩu (t\xf9y chọn)"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[(0,s.jsx)(i.zB,{control:x.control,name:"oldPassword",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"Mật khẩu cũ"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(c.c,{placeholder:"Nhập mật khẩu cũ",...t})}),(0,s.jsx)(i.C5,{})]})}}),(0,s.jsx)(i.zB,{control:x.control,name:"password",render:e=>{let{field:t}=e;return(0,s.jsxs)(i.eI,{children:[(0,s.jsx)(i.lR,{children:"Mật khẩu mới"}),(0,s.jsx)(i.MJ,{children:(0,s.jsx)(c.c,{placeholder:"Nhập mật khẩu mới",...t})}),(0,s.jsx)(i.C5,{})]})}})]}),(0,s.jsx)("p",{className:"text-sm text-gray-500",children:"Để trống nếu kh\xf4ng muốn thay đổi mật khẩu"})]}),(0,s.jsx)("div",{className:"flex justify-end pt-4",children:(0,s.jsx)(a.$,{type:"submit",size:"lg",disabled:p,children:p?"Đang cập nhật...":"Cập nhật th\xf4ng tin"})})]})})})]})}var m=r(60183),p=r(18794),u=r(24316);function j(){let{user:e,mutate:t}=(0,u.s)();return(0,s.jsx)(m.default,{scrollable:!0,children:(0,s.jsx)("div",{className:"flex-1 space-y-4",children:(0,s.jsx)(l.Suspense,{fallback:(0,s.jsx)(p.A,{}),children:(0,s.jsx)(x,{initialData:e,pageTitle:"Th\xf4ng tin t\xe0i khoản",onSuccess:function(r){e&&t({...e,firstName:r.firstName,lastName:r.lastName},{revalidate:!0})}})})})})}},65142:(e,t,r)=>{r.d(t,{p:()=>a});var s=r(95155);r(12115);var l=r(64269);function a(e){let{className:t,type:r,...a}=e;return(0,s.jsx)("input",{type:r,"data-slot":"input",className:(0,l.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-primary focus-visible:ring-primary/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...a})}},68019:(e,t,r)=>{r.d(t,{V:()=>s});let s=(e,t)=>{if(!e||"string"!=typeof e)return"";let r=e.trim();if(r.startsWith("https://")||r.startsWith("http://"))return r.replace("/api/v1","");
1if((e=>e.startsWith("/api/v1/files")||e.startsWith("/files/")||e.includes("/files/"))(r)){let e="https://api.homeproxy.vn".replace(/\/$/,"");if(e){let t=r.startsWith("/")?r:"/".concat(r);return"".concat(e).concat(t).replace("/api/v1","")}}let s=(t||"https://app.homeproxy.vn").trim().replace(/^https?:\/\//,"").replace(/\/$/,"");return s?r.startsWith("/")?"https://".concat(s).concat(r).replace("/api/v1",""):"https://".concat(s,"/").concat(r).replace("/api/v1",""):r}},80389:(e,t,r)=>{r.d(t,{c:()=>i});var s=r(95155);r(12115);var l=r(55817),a=r(31719),n=r(64269);function i(e){let{className:t,...r}=e;return(0,s.jsx)(l.bL,{children:(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(l.pd,{className:(0,n.cn)("placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-primary focus-visible:ring-primary/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...r}),(0,s.jsx)(l.lM,{id:r.id+"btn-toggle",className:"absolute top-1/2 right-2 -translate-y-1/2 text-gray-500 hover:text-gray-700",children:(0,s.jsx)(l.In,{visible:(0,s.jsx)(a.N5q,{}),hidden:(0,s.jsx)(a.V$C,{})})})]})})}},86948:(e,t,r)=>{r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>a,aR:()=>n,wL:()=>o});var s=r(95155);r(12115);var l=r(64269);function a(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card",className:(0,l.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...r})}function n(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-header",className:(0,l.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...r})}function i(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-title",className:(0,l.cn)("leading-none font-semibold",t),...r})}function d(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-description",className:(0,l.cn)("text-muted-foreground text-sm",t),...r})}function c(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-content",className:(0,l.cn)("px-4",t),...r})}function o(e){let{className:t,...r}=e;return(0,s.jsx)("div",{"data-slot":"card-footer",className:(0,l.cn)("flex items-center px-4 [.border-t]:pt-6",t),...r})}}}]);

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.