PageSourceSearch

https://j2proxy.vn/_next/static/chunks/6294.80037f851ef61750.js

js j2proxy.vn collected 2026-09-24 15:16:27 UTC 37,089 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6294],{2030:(e,s,t)=>{t.d(s,{Cn:()=>l,Gb:()=>n,JL:()=>a});let l=[{title:"Overview",url:"/",icon:"OverviewIcon",isActive:!0,shortcut:["o","o"],items:[{title:"Proxy Tĩnh",url:"/proxy-tinh",shortcut:["s","s"]},{title:"Proxy Xoay",url:"/proxy-xoay",shortcut:["r","r"]},{title:"Key Xoay",url:"/key-xoay",shortcut:["k","k"]},{title:"Proxy Datacenter",url:"/proxy-datacenter",shortcut:["u","u"]},{title:"Combo Proxy",url:"/combo-proxy",shortcut:["c","c"]},{title:"Proxy Marketplace",url:"/proxy-marketplace",shortcut:["m","p"]}],url_other:"/"},{title:"Chương tr\xecnh affiliate",url:"/affiliates",icon:"AffiliateProgramsIcon",isActive:!0,items:[]},{title:"Check Proxy",url:"/check-proxy",icon:"CheckProxyIcon",shortcut:["c","c"],isActive:!1,items:[]},{title:"Đơn h\xe0ng tĩnh",url:"/proxies",icon:"ShoppingCardIcon",shortcut:["o","o"],isActive:!1,items:[]},{title:"Đơn h\xe0ng Proxy Datacenter",url:"/proxies-datacenter",icon:"ShoppingCardIcon",shortcut:["o","o"],isActive:!1,items:[]},{title:"Đơn h\xe0ng xoay",url:"/proxies-xoay",icon:"ShoppingCardIcon",shortcut:["o","o"],isActive:!0,items:[{title:"Proxy xoay",url:"/proxies-xoay",shortcut:["s","s"]},{title:"Key xoay",url:"/keys-xoay",shortcut:["r","r"]}]},{title:"Lịch sử mua h\xe0ng",url:"/don-hang",icon:"OrderHistoryIcon",shortcut:["h","h"],isActive:!1,items:[]},{title:"Lịch sử giao dịch",url:"/lich-su",icon:"TransactionHistoryIcon",shortcut:["o","o"],isActive:!1,items:[]},{title:"Lịch sử đổi proxy",url:"/lich-su-doi-proxy",icon:"ChangeProxyHistoryIcon",shortcut:["p","p"],isActive:!1,items:[]},{title:"Tool Proxy",url:"/tool-proxy",icon:"ToolProxyIcon",shortcut:["t","t"],isActive:!1,items:[]},{title:"Blogs",url:"/blogs",icon:"BlogIcon",shortcut:["g","g"],isActive:!1,items:[]},{title:"B\xe0i viết hướng dẫn",url:"/huong-dan",icon:"GuildIcon",shortcut:["g","g"],isActive:!1,items:[]},{title:"T\xe0i liệu API",url:"/tai-lieu-api",icon:"apiDocument",isActive:!1,items:[]},{title:"Hỗ trợ",url:"/ho-tro",icon:"SupportIcon",shortcut:["g","g"],isActive:!1,items:[]}],a=[{title:"Đại l\xfd",url:"/admin/merchants",icon:"AdminMerchants",isActive:!0,items:[{title:"Tổng quan",url:"/admin/merchants",icon:"AdminOverview"},{title:"Ng\xe2n h\xe0ng",url:"/admin/merchants/banking",icon:"BankIcon"},{title:"Gửi mail",url:"/admin/merchants/send-mail",icon:"SendMailIcon"},{title:"Gi\xe1",url:"/admin/merchants/price",icon:"AdminPrice"},{title:"Giao diện",url:"/admin/merchants/interface",icon:"InterfaceIcon"},{title:"Templates",url:"/admin/merchants/templates",icon:"TemplateIcon"},{title:"SEO Google",url:"/admin/merchants/seo",icon:"SeoIcon"},{title:"Sitemap",url:"/admin/merchants/sitemap",icon:"SitemapIcon"}]},{title:"Th\xf4ng b\xe1o",url:"/admin/notifications",icon:"NotificationIcon",isActive:!0,items:[{title:"C\xe0i đặt th\xf4ng b\xe1o",url:"/admin/notifications/settings"},{title:"Th\xf4ng b\xe1o",url:"/admin/notifications/alerts"}]},{title:"Đại l\xfd con",url:"/admin/sub-merchants",icon:"AdminMerchants",isActive:!0,items:[{title:"Ch\xednh s\xe1ch",url:"/admin/sub-merchants/policies",icon:"AdminSubMerchants"},{title:"Cost",url:"/admin/sub-merchants/costs",icon:"AdminSubMerchants"},{title:"Danh s\xe1ch đại l\xfd",url:"/admin/sub-merchants/list",icon:"AdminSubMerchants"},{title:"Danh s\xe1ch người d\xf9ng",url:"/admin/sub-merchants/users",icon:"AdminSubMerchants"},{title:"Lịch sử giao dịch",url:"/admin/sub-merchants/transactions",icon:"AdminSubMerchants"},{title:"Đơn h\xe0ng",url:"/admin/sub-merchants/orders",icon:"AdminSubMerchants"}]},{title:"Chương tr\xecnh affiliate",url:"/admin/affiliate-programs",icon:"AffiliateProgramsIcon",isActive:!0,items:[{title:"Ch\xednh s\xe1ch affiliate",url:"/admin/affiliate-programs/policies",icon:"AffiliatePoliciesIcon"},{title:"Thiết lập",url:"/admin/affiliate-programs/settings",icon:"AffiliateSettingsIcon"},{title:"Danh s\xe1ch Affiliate",url:"/admin/affiliate-programs/affiliates",icon:"AffiliateListIcon"},{title:"Danh s\xe1ch clicks",url:"/admin/affiliate-programs/clicks",icon:"Aff
1iliateClicksIcon"},{title:"Danh s\xe1ch user được giới thiệu",url:"/admin/affiliate-programs/referrals",icon:"AffiliateReferralsIcon"},{title:"Danh s\xe1ch hoa hồng",url:"/admin/affiliate-programs/commissions",icon:"AffiliateCommissionsIcon"},{title:"Danh s\xe1ch r\xfat tiền",url:"/admin/affiliate-programs/payouts",icon:"AffiliatePayoutsIcon"}]},{title:"Danh s\xe1ch sản phẩm",url:"/admin/products",icon:"AdminProducts",isActive:!1,items:[]},{title:"Danh s\xe1ch người d\xf9ng",url:"/admin/users",icon:"AdminUsers",isActive:!1,items:[]},{title:"Danh mục blog",url:"/admin/blog-categories",icon:"FolderTree",isActive:!1,items:[]},{title:"Blogs",url:"/admin/blogs",icon:"FileText",isActive:!1,items:[]},{title:"B\xe0i viết hướng dẫn",url:"/admin/huong-dan",icon:"GuildIcon",isActive:!1,items:[]},{title:"Người d\xf9ng proxies",url:"/admin/users-proxies",icon:"AdminUsersProxies",isActive:!1,items:[{title:"Proxy Tĩnh",url:"/admin/users-proxies/static",items:[{title:"Proxy d\xe2n cư",url:"/admin/users-proxies/static/residential",items:[]},{title:"Proxy datacenter US",url:"/admin/users-proxies/static/datacenter",items:[]}]},{title:"Proxy Xoay",url:"/admin/users-proxies/rotate",items:[]}]},{title:"Lịch sử nạp",url:"/admin/transactions",icon:"AdminTransactions",isActive:!1,items:[]},{title:"Lịch sử lợi nhuận",url:"/admin/profit-history",icon:"AdminProfitLogs",isActive:!1,items:[]},{title:"Biến động số dư",url:"/admin/merchant-logs",icon:"AdminMerchantLogs",isActive:!1,items:[]},{title:"Y\xeau cầu của t\xf4i",url:"/admin/my-approvals",icon:"AffiliateListIcon",isActive:!1,items:[]},{title:"Files",url:"/admin/files",icon:"AdminFiles",isActive:!1,items:[]}],n=["liam","olivia","noah","ava","william","sophia","james","isabella","oliver","emma"]},4224:(e,s,t)=>{t.d(s,{G:()=>r});var l=t(35389),a=t(85400);let n={revalidateOnFocus:!1,revalidateOnReconnect:!1,dedupingInterval:3e5,revalidateIfStale:!1};function r(e){let{data:s,isLoading:t}=(0,a.Ay)(e?["products-static",e]:null,e=>{let[,s]=e;return(0,l.F7)(s)},n),{data:r,isLoading:i}=(0,a.Ay)("locations",()=>(0,l.Vs)(),n);return{products:null!=s?s:[],locations:null!=r?r:[],isLoading:t||i}}},5695:(e,s,t)=>{t.d(s,{D:()=>n});var l=t(95155),a=t(6554);let n=e=>{let{title:s,description:t}=e;return(0,a.S)(e=>e.isAdminPath),(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-text-normal font-semibold tracking-tight text-2xl",children:s}),t&&(0,l.jsx)("p",{className:"text-muted-foreground mt-3 text-sm",children:t})]})})}},7139:(e,s,t)=>{t.d(s,{bq:()=>d,eb:()=>p,gC:()=>h,l6:()=>c,yv:()=>m});var l=t(95155),a=t(12115),n=t(47887),r=t(24033),i=t(12108),o=t(64269);let c=n.bL;n.YJ;let m=n.WT,d=a.forwardRef((e,s)=>{let{className:t,children:a,...i}=e;return(0,l.jsxs)(n.l9,{ref:s,className:(0,o.cn)("border-input bg-background ring-offset-background data-[placeholder]:text-muted-foreground flex h-10 w-full items-center justify-between gap-2 rounded-lg border px-3 py-2.5 text-sm whitespace-nowrap shadow-[4px_4px_8px_0_var(--shadow-proxy-input))] focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1","data-[state=open]:border-primary data-[state=open]:ring-primary/20 data-[state=open]:ring-[3px]",t),...i,children:[a,(0,l.jsx)(n.In,{asChild:!0,className:"hover:cursor-pointer",children:(0,l.jsx)(r.A,{className:"text-border-input h-[18px] w-[18px]"})})]})});d.displayName=n.l9.displayName;let x=a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)(n.PP,{ref:s,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,l.jsx)(i.A,{className:"h-4 w-4"})})});x.displayName=n.PP.displayName;let u=a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)(n.wn,{ref:s,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,l.jsx)(r.A,{className:"h-4 w-4"})})});u.displayName=n.wn.displayName;let h=a.forwardRef((e,s)=>{let{className:t,children:a,position:r="popper",...i}=e;return(0,l.jsx)(n.ZL,{children:(0,l.jsxs)(n.UC,{ref:s,className:(0,o.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...i,children:[(0,l.jsx)(x,{}),(0,l.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,l.jsx)(u,{})]})})});h.displayName=n.UC.displayName,a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)(n.JU,{ref:s,className:(0,o.cn)("px-2 py-1.5 text-sm font-semibold",t),...a})}).displayName=n.JU.displayName;let p=a.forwardRef((e,s)=>{let{className:t,children:a,...r}=e;return(0,l.jsx)(n.q7,{ref:s,className:(0,o.cn)("focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default items-center rounded-lg py-1.5 pr-8 pl-2 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...r,children:(0,l.jsx)(n.p4,{children:a})})});p.displayName=n.q7.displayName,a.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,l.jsx)(n.wv,{ref:s,className:(0,o.cn)("bg-muted -mx-1 my-1 h-px",t),...a})}).displayName=n.wv.displayName},12700:(e,s,t)=>{t.d(s,{k:()=>h});var l=t(2030),a=t(66280),n=t(86091),r=t(75507),i=t(66942),o=t(46671),c=t.n(o),m=t(96199),d=t(12115),x=t(22544);let u={dayOfUse:1,quantity:1,prefix_ip:"random",protocolType:"HTTP",user:"random",password:"random",payment:"",location:"random"};function h(e){var s,t,o;let{product:h,defaultValues:p,totalPriceOverride:f,originTotalPriceOverride:j,buildPayload:g,onPayloadBuilt:v,onAuthRequired:N,openPaymentOnSubmit:w=!0}=e,{data:y,status:b}=(0,m.wV)(),[C,A]=(0,d.useState)("1"),[I,k]=(0,d.useState)("1"),P=(0,x.mN)({resolver:(0,i.u)(n.xm),defaultValues:{...u,...p},mode:"onChange",reValidateMode:"onChange"}),{formState:{isSubmitting:T}}=P,{rulesByCategory:M}=(0,a.S1)(),S=(null==h||null==(s=h.category)?void 0:s.id)?M[h.category.id]:void 0,V=P.watch("quantity"),B=P.watch("dayOfUse"),F=Number(V),L=Number(B),E=Number.isFinite(F)&&F>=1?F:0,R=Number.isFinite(L)&&L>=1?L:0,D=(0,r.Zz)({price:Number(null!=(t=null==h?void 0:h.price)?t:0),quantity:E,days:R,discountRules:S}),q=(0,r.Zz)({price:Number(null!=(o=null==h?void 0:h.originPrice)?o:0),quantity:E,days:R,hasDiscountConfig:!1}),z=null!=f?f:D,U=null!=j?j:q,[O,J]=(0,d.useState)(!1),[_,G]=(0,d.useState)({}),[K,H]=(0,d.useState)(!1),W=async e=>{var s,t;if(!(null==y||null==(s=y.user)?void 0:s.accessToken)){J(!0),null==N||N();return}if(g){let s=g({values:e,product:h,totalPrice:Number(null!=z?z:0),originTotalPrice:U});if(!s)return;G(s),null==v||v(s),w&&H(!0);return}let a={...e};"random"===a.location&&delete a.location,"random"===a.prefix_ip&&(a.prefix_ip=""),a.user&&"random"!==a.user.toLowerCase()||(a.user=(null!=(t=c().sample(l.Gb))?t:"admin")+Math.floor(1e3*Math.random())),a.password&&"random"!==a.password.toLowerCase()||(a.password=btoa(Math.random().toString()).substring(12).toLowerCase());let n={products:[{...a,provider:h.provider,product:{id:h.id}}],total:z};G(n),null==v||v(n),w&&H(!0)};return(0,d.useEffect)(()=>{"authenticated"===b&&J(!1)},[b,J]),{session:y,status:b,form:P,isSubmitting:T,dayOfUseInputValue:C,setDayOfUseInputValue:A,quantityInputValue:I,setQuantityInputValue:k,wQuantity:V,wDayOfUse:B,totalPrice:z,originTotalPrice:U,openLogin:O,setOpenLogin:J,payload:_,paymentModal:K,setPaymentModal:H,onSubmit:W}}},30030:(e,s,t)=>{t.d(s,{q:()=>l});let l=[{name:"HTTP",value:"HTTP"},{name:"SOCKS5",value:"SOCKS"}
1]},42348:(e,s,t)=>{t.d(s,{A:()=>l});let l=(0,t(71847).A)("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]])},64850:(e,s,t)=>{t.r(s),t.d(s,{default:()=>S});var l=t(95155),a=t(46671),n=t.n(a),r=t(42348),i=t(12115),o=t(25819),c=t(2649),m=t(33965),d=t(23117),x=t(7139),u=t(13744),h=t(78194),p=t(30030),f=t(86091),j=t(15239),g=t(61145),v=t(12700),N=t(10951),w=t(93897);function y(e){var s,t,a;let{product:n,locations:r}=e,{form:i,isSubmitting:y,dayOfUseInputValue:b,setDayOfUseInputValue:C,quantityInputValue:A,setQuantityInputValue:I,totalPrice:k,originTotalPrice:P,openLogin:T,payload:M,paymentModal:S,setPaymentModal:V,onSubmit:B}=(0,v.k)({product:null!=n?n:{},defaultValues:{user:"",password:""}});return(null==n?void 0:n.id)?(0,l.jsxs)(c.Zp,{className:"mx-auto w-full min-w-0 max-w-[360px]",children:[(0,l.jsxs)(c.aR,{className:"flex items-center justify-center px-2 sm:px-0",children:[(null==n||null==(s=n.provider)?void 0:s.toUpperCase())==="VIETTEL"&&(0,l.jsx)(j.default,{src:"/images/images-template-5/viettel.webp",alt:"VIETTEL",width:235,height:128,className:"h-20 w-auto max-w-[200px] object-contain sm:h-30 sm:max-w-[235px]"}),(null==n||null==(t=n.provider)?void 0:t.toUpperCase())==="VNPT"&&(0,l.jsx)(j.default,{src:"/images/images-template-5/vnpt.webp",alt:"VNPT",width:235,height:128,className:"h-20 w-auto max-w-[200px] object-contain sm:h-30 sm:max-w-[235px]"}),(null==n||null==(a=n.provider)?void 0:a.toUpperCase())==="FPT"&&(0,l.jsx)(j.default,{src:"/images/images-template-5/fpt.webp",alt:"FPT",width:235,height:128,className:"h-20 w-auto max-w-[200px] object-contain sm:h-30 sm:max-w-[235px]"})]}),(0,l.jsx)(c.Wu,{children:(0,l.jsx)(m.lV,{...i,children:(0,l.jsxs)("form",{onSubmit:i.handleSubmit(B),className:"flex flex-col gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4",children:[(0,l.jsx)("div",{className:"border-border-divider w-full border-t"}),(0,l.jsx)(m.zB,{control:i.control,name:"location",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["Địa điểm",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsxs)(x.l6,{onValueChange:e=>s.onChange(e),...s,children:[(0,l.jsx)(m.MJ,{children:(0,l.jsx)(x.bq,{className:"flex w-full flex-row",children:(0,l.jsx)(x.yv,{})})}),(0,l.jsxs)(x.gC,{children:[(0,l.jsx)(x.eb,{value:"random",children:(0,l.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,l.jsx)(N.F.LocationIcon,{className:"text-icon !h-5 !w-5"}),(0,l.jsx)("p",{className:"text-text-normal text-sm font-normal",children:"Ngẫu nhi\xean"})]})},"random"),r.length>0?r.map(e=>(0,l.jsx)(x.eb,{value:e.slug,children:e.name},e.id)):h.B.map(e=>(0,l.jsx)(x.eb,{value:e.value,children:e.name},e.name))]})]}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:i.control,name:"dayOfUse",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["Ng\xe0y sử dụng",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"",children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(N.F.CalendarIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"number",placeholder:"Nhập số ng\xe0y",value:b,className:"text-text-normal placeholder:text-icon no-spinner h-10 pl-10",onKeyDown:f.Y$,onChange:e=>{(0,f.Wj)({form:i,name:"dayOfUse",nextValue:e.target.value,setInputValue:C,onValueChange:s.onChange})},onBlur:()=>(0,f.xf)({form:i,name:"dayOfUse",setInputValue:C,onValueChange:s.onChange,min:1})})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:i.control,name:"quantity",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["Số lượng",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"",children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(N.F.CartIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"number",placeholder:"Nhập số lượng",value:A,className:"text-text-normal placeholder:text-icon no-spinner h-10 pl-10",onKeyDown:f.Y$,onChange:e=>{(0,f.Wj)({form:i,name:"quantity",nextValue:e.target.value,setInputValue:I,onValueChange:s.onChange})},onBlur:()=>(0,f.xf)({form:i,name:"quantity",setInputValue:I,onValueChange:s.onChange,min:1})})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:i.control,name:"prefix_ip",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["Đầu IP",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"",children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(N.F.GlobalIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"text",placeholder:"Ngẫu nhi\xean",value:"random"===s.value?"":s.value,className:"placeholder:text-text-normal text-text-normal no-spinner h-10 pl-10",readOnly:!0,disabled:!0})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:i.control,name:"protocolType",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["Giao thức",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsxs)(x.l6,{onValueChange:e=>s.onChange(e),...s,children:[(0,l.jsx)(m.MJ,{children:(0,l.jsx)(x.bq,{className:"w-full",children:(0,l.jsx)(x.yv,{placeholder:"Chọn giao thức"})})}),(0,l.jsx)(x.gC,{children:(0,l.jsx)(x.gC,{children:p.q.map(e=>(0,l.jsx)(x.eb,{value:e.value,children:(0,l.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,l.jsx)(N.F.LinkIcon,{className:"text-icon !h-5 !w-5"}),(0,l.jsx)("p",{className:"text-text-normal text-sm font-normal",children:e.value})]})},e.name))})})]}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:i.control,name:"user",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["T\xe0i khoản",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(N.F.UserIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{className:"text-text-placeholder placeholder:text-text-placeholder no-spinner h-10 pl-10",value:"random"===s.value?"":s.value,placeholder:"random",onChange:e=>s.onChange(e.target.value.trim())})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:i.control,name:"password",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-text-normal gap-0 text-sm font-normal",children:["Mật khẩu",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(N.F.KeyIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"text",placeholder:"random",value:"random"===s.value?"":s.value,className:"text-text-normal placeholder:text-text-placeholder no-spinner h-10 pl-10",onChange:e=>s.onChange(e.target.value)})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,l.jsx)("div",{className:"border-border-divider w-full border-[1.5px] border-t"}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,l.jsx)("p",{className:"text-normal text-base font-medium",children:"Th\xe0nh tiền"}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,l.jsxs)("span",{className:"text-primary text-xl font-semibold sm:text-2xl",children:[Number(null!=k?k:0)>0?u.A.formatNum2(Number(null!=k?k:0)):"","đ"]}),P&&k&&Number(P)>Number(k)?(0,l.jsxs)("span",{className:"text-2xl font-semibold text-[#B8B8B8] line-through",children:[u.A.formatNum2(P),"đ"]}):null]})]})]})]}),(0,l.jsx)("div",{className:"flex h-12 gap-4",children:(0,l.jsxs)(o.$,{type:"submit",disabled:y,className:"h-12 w-full gap-2 rounded-lg py-2.5 pr-4 pl-3",children:[(0,l.jsx)(N.F.CartIcon,{className:"text-primary-foreground !h-5 !w-5"}),(0,l.jsx)("p",{className:"text-primary-foreground text-sm font-semibold",children:"Mua h\xe0ng"})]})})]})})}),T&&(0,l.jsx)(w.A,{}),(0,l.jsx)(g.A,{open:S,onClose:()=>V(!1),payload:M,formParent:i})]}):null}var b=t(49008),C=t(5695),A=t(65047);function I(e){var s;let{product:t,locations:a=[]}=e,n=null==t||null==(s=t.provider)?void 0:s.trim().toUpperCase(),{form:r,isSubmitting:i,dayOfUseInputValue:j,setDayOfUseInputValue:y,quantityInputValue:b,setQuantityInputValue:C,totalPrice:A,originTotalPrice:I,openLogin:k,payload:P,paymentModal:T,setPaymentModal:M,onSubmit:S}=(0,v.k)({product:null!=t?t:{},defaultValues:{user:"",password:""}});return t?(0,l.jsxs)(c.Zp,{className:"w-full min-w-0 max-w-[360px]",children:[(0,l.jsxs)(c.aR,{className:"relative flex items-center justify-center px-2 sm:px-0",children:["VIETTEL"===n&&(0,l.jsx)(N.F.ViettelIcon,{className:"h-20 w-auto max-w-[200px] gap-4 sm:!h-32 sm:max-w-[235px]"}),"VNPT"===n&&(0,l.jsx)(N.F.VNPTIcon,{className:"h-20 w-auto max-w-[200px] gap-4 sm:!h-32 sm:max-w-[235px]"}),"FPT"===n&&(0,l.jsx)(N.F.FPTIcon,{className:"h-20 w-auto max-w-[200px] gap-4 sm:!h-32 sm:max-w-[235px]"})]}),(0,l.jsx)(c.Wu,{children:(0,l.jsx)(m.lV,{...r,children:(0,l.jsxs)("form",{onSubmit:r.handleSubmit(S),className:"flex flex-col gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4",children:[(0,l.jsx)("div",{className:"border-border-divider w-full border-t"}),(0,l.jsx)(m.zB,{control:r.control,name:"location",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["Địa điểm",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsxs)(x.l6,{onValueChange:e=>s.onChange(e),...s,children:[(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsx)(x.bq,{className:"flex w-full min-w-0 flex-row sm:max-w-[224px]",children:(0,l.jsx)(x.yv,{})})}),(0,l.jsxs)(x.gC,{children:[(0,l.jsx)(x.eb,{value:"random",children:(0,l.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,l.jsx)(N.F.LocationIcon,{className:"text-icon !h-5 !w-5"}),(0,l.jsx)("p",{className:"text-text-normal text-sm font-normal",children:"Ngẫu nhi\xean"})]})},"random"),a.length>0?a.map(e=>(0,l.jsx)(x.eb,{value:e.slug,children:null==e?void 0:e.name},e.id)):h.B.map(e=>(0,l.jsx)(x.eb,{value:e.value,children:e.name},e.name))]})]}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:r.control,name:"dayOfUse",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["Ng\xe0y sử dụng",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsxs)("div",{className:"relative w-full min-w-0 sm:max-w-[224px]",children:[(0,l.jsx)(N.F.CalendarIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"number",min:1,placeholder:"Nhập số ng\xe0y",value:j,className:"text-text-normal placeholder:text-icon no-spinner h-10 pl-10",onKeyDown:f.Y$,onChange:e=>{(0,f.Wj)({form:r,name:"dayOfUse",nextValue:e.target.value,setInputValue:y,onValueChange:s.onChange})}})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:r.control,name:"quantity",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["Số lượng",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsxs)("div",{className:"relative w-full min-w-0 sm:max-w-[224px]",children:[(0,l.jsx)(N.F.CartIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"number",min:1,placeholder:"Nhập số lượng",value:b,className:"text-text-normal placeholder:text-icon no-spinner h-10 pl-10",onKeyDown:f.Y$,onChange:e=>{(0,f.Wj)({form:r,name:"quantity",nextValue:e.target.value,setInputValue:C,onValueChange:s.onChange})}})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:r.control,name:"prefix_ip",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["Đầu IP",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsxs)("div",{className:"relative w-full min-w-0 sm:max-w-[224px]",children:[(0,l.jsx)(N.F.GlobalIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"text",placeholder:"Ngẫu nhi\xean",value:"random"===s.value?"":s.value,className:"placeholder:text-text-normal text-text-normal no-spinner h-10 pl-10",readOnly:!0,disabled:!0})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:r.control,name:"protocolType",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["Giao thức",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsxs)(x.l6,{onValueChange:e=>s.onChange(e),...s,children:[(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsx)(x.bq,{className:"w-full min-w-0 sm:max-w-[224px]",children:(0,l.jsx)(x.yv,{placeholder:"Chọn giao thức"})})}),(0,l.jsx)(x.gC,{children:(0,l.jsx)(x.gC,{children:p.q.map(e=>(0,l.jsx)(x.eb,{value:e.value,children:(0,l.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,l.jsx)(N.F.LinkIcon,{className:"text-icon !h-5 !w-5"}),(0,l.jsx)("p",{className:"text-text-normal text-sm font-normal",children:null==e?void 0:e.value})]})},e.name))})})]}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:r.control,name:"user",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["T\xe0i khoản",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsxs)("div",{className:"relative w-full min-w-0 sm:max-w-[224px]",children:[(0,l.jsx)(N.F.UserIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{className:"text-text-placeholder placeholder:text-text-placeholder no-spinner h-10 pl-10",value:"random"===s.value?"":s.value,placeholder:"random",onChange:e=>s.onChange(e.target.value.trim())})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:r.control,name:"password",render:e=>{let{field:s}=e;return(0,l.jsxs)(m.eI,{className:"flex w-full min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)(m.lR,{className:"text-text-normal shrink-0 gap-0 text-sm font-normal sm:min-w-[110px]",children:["Mật khẩu",(0,l.jsx)("span",{className:"text-error",children:"*"})]}),(0,l.jsx)(m.MJ,{className:"flex-1",children:(0,l.jsxs)("div",{className:"relative w-full min-w-0 sm:max-w-[224px]",children:[(0,l.js
1x)(N.F.KeyIcon,{className:"text-icon pointer-events-none absolute top-1/2 left-3 !h-5 !w-5 -translate-y-1/2"}),(0,l.jsx)(d.p,{type:"text",placeholder:"random",value:"random"===s.value?"":s.value,className:"text-text-normal placeholder:text-text-placeholder no-spinner h-10 pl-10",onChange:e=>s.onChange(e.target.value)})]})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,l.jsx)("div",{className:"border-border-divider w-full border-[1.5px] border-t"}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,l.jsx)("p",{className:"text-normal text-base font-medium",children:"Th\xe0nh tiền"}),(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,l.jsxs)("span",{className:"text-primary text-xl font-semibold sm:text-2xl",children:[u.A.formatNum2(null!=A?A:""),"đ"]}),I&&A&&Number(I)>Number(A)?(0,l.jsxs)("span",{className:"text-2xl font-semibold text-[#B8B8B8] line-through",children:[u.A.formatNum2(I),"đ"]}):null]})]})]})]}),(0,l.jsx)("div",{className:"flex h-12 gap-4",children:(0,l.jsxs)(o.$,{type:"submit",disabled:i,className:"h-12 w-full gap-2 rounded-lg py-2.5 pr-4 pl-3",children:[(0,l.jsx)(N.F.CartIcon,{className:"text-primary-foreground !h-5 !w-5"}),(0,l.jsx)("p",{className:"text-primary-foreground text-sm font-semibold",children:"Mua h\xe0ng"})]})})]})})}),k&&(0,l.jsx)(w.A,{}),(0,l.jsx)(g.A,{open:T,onClose:()=>M(!1),payload:P,formParent:r})]}):null}var k=t(4224),P=t(64269);let T=[{id:"viettel",label:"Viettel",slug:"viettel"},{id:"fpt",label:"FPT",slug:"fpt"},{id:"vnpt",label:"VNPT",slug:"vnpt"}],M="flex w-full min-w-0 max-w-full flex-col gap-3 px-3 sm:gap-4 sm:px-4 md:px-6";function S(e){let{appConfig:s,initialProducts:t,initialLocations:a}=e,{products:o,locations:c,isLoading:m}=(0,k.G)(void 0!==t||null==s?void 0:s.merchantId),d=null!=t?t:o,x=null!=a?a:c,[u,h]=(0,i.useState)("viettel"),[p,f]=(0,i.useState)(void 0);if(!p&&d.length>0){var j;f(null!=(j=d.find(e=>"viettel"===e.slug))?j:d[0])}if(m)return(0,l.jsx)(b.A,{scrollable:!0,className:"over-table bg-background-blur",children:(0,l.jsxs)("div",{className:M,children:[(0,l.jsx)(C.D,{title:"Proxy d\xe2n cư"}),(0,l.jsxs)("div",{className:"mx-auto grid w-full min-w-0 max-w-[1296px] grid-cols-1 gap-4 sm:gap-5 xl:grid-cols-3 xl:gap-6 2xl:gap-8",children:[(0,l.jsx)(A.A,{}),(0,l.jsx)(A.A,{}),(0,l.jsx)(A.A,{})]})]})});if(0===d.length)return(0,l.jsx)(b.A,{scrollable:!0,className:"over-table bg-background-blur",children:(0,l.jsxs)("div",{className:M,children:[(0,l.jsx)(C.D,{title:"Proxy d\xe2n cư"}),(0,l.jsx)("p",{className:"text-center",children:"Kh\xf4ng c\xf3 sản phẩm"})]})});let g=n().groupBy(d,e=>{var s;return null==(s=e.category)?void 0:s.id});return(0,l.jsx)(b.A,{scrollable:!0,className:"over-table bg-background-blur",children:(0,l.jsxs)("div",{className:M,children:[(0,l.jsx)(C.D,{title:"Proxy d\xe2n cư"}),(0,l.jsxs)(i.Suspense,{fallback:(0,l.jsx)("div",{className:"flex min-h-[200px] w-full items-center justify-center",children:(0,l.jsx)(r.A,{className:"text-primary animate-spin"})}),children:[(0,l.jsxs)("div",{className:"mx-auto flex w-full min-w-0 max-w-[480px] flex-col items-center gap-4 py-2 sm:gap-5 sm:py-4 xl:hidden",children:[(0,l.jsx)("div",{className:"flex w-full min-w-0 justify-center gap-2 overflow-x-auto rounded-lg bg-[color-mix(in_oklab,var(--primary),white_94%)] p-2 sm:max-w-[400px] sm:gap-3 sm:px-3 sm:py-2.5",children:T.map(e=>(0,l.jsx)("button",{type:"button",onClick:()=>{var s,t;h(s=e.slug),f(null!=(t=d.find(e=>e.slug===s))?t:d[0])},className:(0,P.cn)("flex min-w-0 flex-1 items-center justify-center whitespace-nowrap rounded-sm px-2 py-2 text-xs hover:cursor-pointer sm:px-3 sm:py-2.5 sm:text-sm",u===e.id?"bg-primary text-primary-foreground font-semibold":"text-text-normal font-normal"),children:e.label},e.id))}),(0,l.jsx)("div",{className:"flex w-full justify-center",children:(0,l.jsx)(I,{product:p,locations:x})})]}),(0,l.jsx)("div",{className:"hidden xl:block",children:Object.entries(g).map(e=>{var s,t,a;let[n,r]=e;return(0,l.jsxs)("div",{className:"mx-auto grid w-full min-w-0 max-w-[1296px] grid-cols-1 gap-5 xl:grid-cols-3 xl:gap-6 2xl:gap-8",children:[(0,l.jsx)(y,{product:r[0],locations:x},null==(s=r[0])?void 0:s.id),(0,l.jsx)(y,{product:r[2],locations:x},null==(t=r[2])?void 0:t.id),(0,l.jsx)(y,{product:r[1],locations:x},null==(a=r[1])?void 0:a.id)]},n)})})]})]})})}},65047:(e,s,t)=>{t.d(s,{A:()=>r});
1var l=t(95155),a=t(86948),n=t(20243);function r(){return(0,l.jsxs)(a.Zp,{className:"w-full min-w-0",children:[(0,l.jsx)(a.aR,{className:"flex items-center justify-center px-2 sm:px-0",children:(0,l.jsx)(n.E,{className:"h-20 w-[180px] sm:h-32 sm:w-[235px]"})}),(0,l.jsx)(a.Wu,{children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4",children:[(0,l.jsx)("div",{className:"border-border-divider w-78 border-t"}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-20"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-24"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-20"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-16"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-20"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-20"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"w-full space-y-2",children:[(0,l.jsx)(n.E,{className:"h-4 w-20"}),(0,l.jsx)(n.E,{className:"h-10 w-full"})]}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,l.jsx)("div",{className:"border-border-divider w-full border-[1.5px] border-t"}),(0,l.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[(0,l.jsx)(n.E,{className:"h-6 w-24"}),(0,l.jsx)(n.E,{className:"h-8 w-32"})]})]})]}),(0,l.jsx)(n.E,{className:"h-12 w-full"})]})})]})}},73457:(e,s,t)=>{t.d(s,{S:()=>i});var l=t(95155);t(12115);var a=t(38162),n=t(5917),r=t(64269);function i(e){let{className:s,...t}=e;return(0,l.jsx)(a.bL,{"data-slot":"checkbox",className:(0,r.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:border-primary hover:ring-primary/40 size-4 shrink-0 cursor-pointer rounded-[4px] border shadow-xs transition-shadow outline-none hover:ring-2 focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),...t,children:(0,l.jsx)(a.C1,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,l.jsx)(n.A,{className:"size-3.5"})})})}},78194:(e,s,t)=>{t.d(s,{B:()=>l});let l=[{name:"Hồ Ch\xed Minh",value:"HCM"},{name:"B\xecnh Dương",value:"BDG"}]},80389:(e,s,t)=>{t.d(s,{c:()=>i});var l=t(95155);t(12115);var a=t(55817),n=t(31719),r=t(64269);function i(e){let{className:s,...t}=e;return(0,l.jsx)(a.bL,{children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(a.pd,{className:(0,r.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",s),...t}),(0,l.jsx)(a.lM,{id:t.id+"btn-toggle",className:"absolute top-1/2 right-2 -translate-y-1/2 text-gray-500 hover:text-gray-700",children:(0,l.jsx)(a.In,{visible:(0,l.jsx)(n.N5q,{}),hidden:(0,l.jsx)(n.V$C,{})})})]})})}}}]);

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.