PageSourceSearch

https://j2proxy.vn/_next/static/chunks/24330.22c7e4bbc388a1ac.js

js j2proxy.vn collected 2026-10-02 02:17:03 UTC 23,660 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24330],{5917:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(71847).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},6554:(e,t,l)=>{l.d(t,{S:()=>a});let a=(0,l(25959).v)(e=>({pathname:"",isAdminPath:!1,setPathname:t=>e({pathname:t,isAdminPath:t.startsWith("/admin")})}))},11701:(e,t,l)=>{l.d(t,{M5:()=>x,SQ:()=>p,_2:()=>h,lv:()=>f,nV:()=>u,rI:()=>d,ty:()=>m});var a=l(95155),r=l(12115),n=l(47971),s=l(27937),i=l(5917),o=l(99051),c=l(64269);let d=n.bL,m=n.l9;n.YJ,n.ZL;let f=n.Pb;n.z6;let u=r.forwardRef((e,t)=>{let{className:l,inset:r,children:i,...o}=e;return(0,a.jsxs)(n.ZP,{ref:t,className:(0,c.cn)("focus:bg-accent data-[state=open]:bg-accent flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",l),...o,children:[i,(0,a.jsx)(s.A,{className:"ml-auto"})]})});u.displayName=n.ZP.displayName;let x=r.forwardRef((e,t)=>{let{className:l,...r}=e;return(0,a.jsx)(n.G5,{ref:t,className:(0,c.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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-[--radix-dropdown-menu-content-transform-origin] overflow-hidden rounded-md border p-1 shadow-lg",l),...r})});x.displayName=n.G5.displayName;let p=r.forwardRef((e,t)=>{let{className:l,sideOffset:r=4,...s}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:t,sideOffset:r,className:(0,c.cn)("bg-popover text-popover-foreground z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md","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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",l),...s})})});p.displayName=n.UC.displayName;let h=r.forwardRef((e,t)=>{let{className:l,inset:r,...s}=e;return(0,a.jsx)(n.q7,{ref:t,className:(0,c.cn)("focus:bg-[rgb(from var(--sidebar-foreground) calc(r + 146) calc(g + 143) calc(b + 144))] focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",r&&"pl-8",l),...s})});h.displayName=n.q7.displayName,r.forwardRef((e,t)=>{let{className:l,children:r,checked:s,...o}=e;return(0,a.jsxs)(n.H_,{ref:t,className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm transition-colors outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",l),checked:s,...o,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(i.A,{className:"h-4 w-4"})})}),r]})}).displayName=n.H_.displayName,r.forwardRef((e,t)=>{let{className:l,children:r,...s}=e;return(0,a.jsxs)(n.hN,{ref:t,className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center rounded-sm py-1.5 pr-2 pl-8 text-sm transition-colors outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",l),...s,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(o.A,{className:"h-2 w-2 fill-current"})})}),r]})}).displayName=n.hN.displayName,r.forwardRef((e,t)=>{let{className:l,inset:r,...s}=e;
1return(0,a.jsx)(n.JU,{ref:t,className:(0,c.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",l),...s})}).displayName=n.JU.displayName,r.forwardRef((e,t)=>{let{className:l,...r}=e;return(0,a.jsx)(n.wv,{ref:t,className:(0,c.cn)("bg-muted -mx-1 my-1 h-px",l),...r})}).displayName=n.wv.displayName},15239:(e,t,l)=>{l.d(t,{default:()=>r.a});var a=l(54652),r=l.n(a)},21383:(e,t,l)=>{l.d(t,{A:()=>o});var a=l(95155),r=l(39180),n=l(64269),s=l(6554),i=l(72557);function o(e){var t,l;let{children:o,scrollable:c=!0,className:d="",openMarqueeTop:m=!0}=e,f=(0,r.r)(e=>e.config),u=(0,s.S)(e=>e.isAdminPath),x=null!=(l=null==f||null==(t=f.theme)?void 0:t.textmarquee)?l:"",p=(0,a.jsx)("div",{className:"relative flex min-h-[36px] w-full items-center justify-center overflow-hidden rounded-lg px-4 py-2",style:{background:"\n    linear-gradient(\n      90deg,\n      rgb(from var(--primary) calc(r + 49)  calc(g + 56)  calc(b + 111)) 0%,\n      rgb(from var(--primary) calc(r + 104) calc(g + 120) calc(b + 92)) 22%,\n      rgb(from var(--primary) calc(r + 70)  calc(g + 4)   calc(b + 96)) 70%,\n      rgb(from var(--primary) calc(r + 89)  calc(g - 19)  calc(b + 63)) 100%\n    )\n  "},children:(0,a.jsxs)("div",{className:"[container-type:inline-size] relative w-full overflow-hidden",children:[(0,a.jsx)("span",{className:"animate-marquee absolute left-full text-[13px] font-normal whitespace-nowrap text-white",children:x}),(0,a.jsx)("span",{className:"invisible text-[13px]",children:"\xa0"})]})});return(0,a.jsx)(a.Fragment,{children:c?(0,a.jsx)(i.F,{className:(0,n.cn)("z-0 mx-auto h-[calc(100dvh-56px)] w-full max-w-full overflow-x-hidden bg-white sm:h-[calc(100dvh-64px)] md:h-[calc(100dvh-70px)] [&_[data-slot=scroll-area-viewport]]:max-w-full [&_[data-slot=scroll-area-viewport]]:overflow-x-hidden"),children:(0,a.jsxs)("div",{className:(0,n.cn)("mx-auto flex min-h-full w-full min-w-0 flex-col gap-6 overflow-x-hidden p-3 sm:p-6 sm:pt-0",d),children:[!u&&m&&x&&p,(0,a.jsx)("div",{className:"flex w-full min-w-0 flex-1 pb-4 sm:pb-8 md:pb-12",children:o})]})}):(0,a.jsx)("div",{className:"z-0 mx-auto flex h-full w-full bg-white",children:(0,a.jsxs)("div",{className:(0,n.cn)("mx-auto flex min-h-full w-full min-w-0 flex-col gap-6 overflow-x-hidden p-3 sm:p-6 sm:pt-0",d),children:[!u&&m&&x&&p,(0,a.jsx)("div",{className:"flex w-full flex-1",children:o})]})})})}l(12115)},25959:(e,t,l)=>{l.d(t,{v:()=>s});var a=l(12115);let r=e=>{let t,l=new Set,a=(e,a)=>{let r="function"==typeof e?e(t):e;if(!Object.is(r,t)){let e=t;t=(null!=a?a:"object"!=typeof r||null===r)?r:Object.assign({},t,r),l.forEach(l=>l(t,e))}},r=()=>t,n={setState:a,getState:r,getInitialState:()=>s,subscribe:e=>(l.add(e),()=>l.delete(e))},s=t=e(a,r,n);return n},n=e=>{let t=(e=>e?r(e):r)(e),l=e=>(function(e,t=e=>e){let l=a.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return a.useDebugValue(l),l})(t,e);return Object.assign(l,t),l},s=e=>e?n(e):n},39180:(e,t,l)=>{l.d(t,{r:()=>r});var a=l(68019);let r=(0,l(25959).v)((e,t)=>({config:null,affiliateProgram:null,setConfig:t=>{var l,r;return e({config:{...t,theme:(null==t?void 0:t.theme)?{...t.theme,textmarquee:null!=(r=null!=(l=t.theme.textmarquee)?l:t.theme.textMarquee)?r:"",...t.theme.logo&&{logo:(0,a.V)(t.theme.logo,t.hostName)},...t.theme["logo-l"]&&{"logo-l":(0,a.V)(t.theme["logo-l"],t.hostName)}}:t.theme}})},setAffiliateProgram:t=>e({affiliateProgram:t}),getRotateUrl:()=>{var e,l;return null==(l=t().config)||null==(e=l.theme)?void 0:e.rotateUrl}}))},44285:(e,t,l)=>{l.r(t),l.d(t,{default:()=>g});var a=l(95155),r=l(12115),n=l(86651),s=l(64269),i=l(21383),o=l(52619),c=l.n(o),d=l(15239),m=l(39180);function f(e){let{children:t,className:l}=e,n="blog-thumbnail-clip-".concat((0,r.useId)().replace(/:/g,""));return(0,a.jsx)("div",{className:(0,s.cn)("relative aspect-[208/135] overflow-visible",l),children:(0,a.jsx)("div",{className:"absolute inset-0",style:{perspective:"".concat(400,"px")},children:(0,a.jsxs)("div",{className:"size-full [filter:drop-shadow(0px_4px_6px_rgba(0,0,0,0.15))]",style:{transformOrigin:"right center",transform:"rotateY(".concat(-16,"deg)"),transformStyle:"preserve-3d"},children:[(0,a.jsx)("svg",{className:"absolute size-0","aria-hidden":!0,
1children:(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:n,clipPathUnits:"objectBoundingBox",children:(0,a.jsx)("path",{d:function(e,t,l,a,r,n){let s=[{x:0,y:0},{x:208,y:0},{x:208,y:135},{x:0,y:135}],i=s.length,o=[];for(let e=0;e<i;e++){let t=s[(e-1+i)%i],l=s[e],c=s[(e+1)%i],d=t.x-l.x,m=t.y-l.y,f=c.x-l.x,u=c.y-l.y,x=Math.hypot(d,m),p=Math.hypot(f,u),h=Math.min(16,x/2,p/2),g=d/x,v=m/x,w=f/p,b=u/p,y=l.x+g*h,j=l.y+v*h,C=l.x+w*h,N=l.y+b*h,{rx:_,ry:k}=n(h),M=e=>e.toFixed(6);0===e?o.push("M ".concat(M(a(y))," ").concat(M(r(j)))):o.push("L ".concat(M(a(y))," ").concat(M(r(j)))),o.push("A ".concat(M(_)," ").concat(M(k)," 0 0 1 ").concat(M(a(C))," ").concat(M(r(N))))}return o.push("Z"),o.join(" ")}(208,135,0,e=>e/208,e=>e/135,e=>({rx:e/208,ry:e/135}))})})})}),(0,a.jsx)("div",{className:"relative size-full overflow-hidden",style:{clipPath:"url(#".concat(n,")")},children:t})]})})})}function u(e){let{label:t}=e;return(0,a.jsx)("span",{className:"inline-flex items-center justify-center rounded-full border border-white px-2 py-0.5 text-[10px] leading-[13px] font-normal whitespace-nowrap text-white",children:t})}function x(e){var t,l,r;let{blog:n}=e,s=(0,m.r)(e=>e.config),i=null==s?void 0:s.hostName,o=null==s||null==(t=s.theme)?void 0:t.logo,x=n.thumbnail?"https://".concat(i).concat(n.thumbnail.path):o?o.replace("/api/v1",""):"https://placehold.co/400x260/462E90/ffffff?text=Blog",p=Array.from(new Set([...(null==(l=n.category)?void 0:l.title)?[n.category.title]:[],...null!=(r=n.tags)?r:[]])).slice(0,4);return(0,a.jsx)(c(),{href:"/blogs/".concat(n.slug),className:"group block h-full w-full",children:(0,a.jsxs)("article",{className:"flex h-full w-full flex-col gap-4 roun
1ded-3xl bg-[#462E90] p-5 sm:p-6",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3 overflow-visible",children:[(0,a.jsx)("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-white sm:h-9 sm:w-9",children:(0,a.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:(0,a.jsx)("path",{d:"M10.0208 3.41421L1.41421 12.0208L0 10.6066L8.60659 2H1.02082V0H12.0208V11H10.0208V3.41421Z",fill:"black"})})}),(0,a.jsx)(f,{className:"min-h-[100px] w-[min(70%,220px)] flex-1 sm:min-h-[120px] sm:w-[min(68%,208px)]",children:(0,a.jsx)(d.default,{src:x,alt:n.title,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105",sizes:"(max-width: 640px) 70vw, 208px"})})]}),p.length>0&&(0,a.jsx)("div",{className:"flex flex-row flex-wrap items-center gap-2",children:p.map(e=>(0,a.jsx)(u,{label:e},e))}),(0,a.jsx)("h3",{className:"line-clamp-3 w-full text-sm leading-[18px] font-bold text-white sm:text-base sm:leading-[22px]",children:n.title})]})})}var p=l(96950),h=l(11701);function g(e){let{initialBlogs:t=[],initialCategories:l=[]}=e,[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(),[f,u]=(0,r.useState)(),g=(0,r.useMemo)(()=>Array.from(new Set(t.flatMap(e=>{var t;return null!=(t=e.tags)?t:[]}))),[t]),v=t.filter(e=>{var t,l,a,r;if(d&&(null==(t=e.category)?void 0:t.id)!==d)return!1;if(f){let t=f.toLowerCase();if(!(null==(l=e.tags)?void 0:l.some(e=>e.toLowerCase()===t)))return!1}if(o){let t=o.toLowerCase();return e.title.toLowerCase().includes(t)||(null==(a=e.excerpt)?void 0:a.toLowerCase().includes(t))||(null==(r=e.tags)?void 0:r.some(e=>e.toLowerCase().includes(t)))}return!0}),w=e=>{m(e)},b=e=>{u(e)};return(0,a.jsx)(i.A,{openMarqueeTop:!0,children:(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-6",children:[(0,a.jsxs)("div",{className:"flex w-full flex-col items-start gap-4",children:[(0,a.jsx)(p.D,{title:"Blog"}),(0,a.jsxs)("div",{className:"flex flex-row items-start gap-4",children:[(0,a.jsxs)("div",{className:"flex h-9 w-full min-w-[400px] flex-row items-center gap-3 rounded px-4 py-2",style:{border:"1px solid #D5D5D6"},children:[(0,a.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"8.5",cy:"8.5",r:"5.25",stroke:"#989898",strokeWidth:"1.67"}),(0,a.jsx)("line",{x1:"12.88",y1:"12.88",x2:"17.5",y2:"17.5",stroke:"#989898",strokeWidth:"1.67",strokeLinecap:"round"})]}),(0,a.jsx)("input",{type:"text",placeholder:"T\xecm kiếm sản phẩm, đơn h\xe0ng...",value:o,onChange:e=>c(e.target.value),className:"h-[18px] flex-1 border-none bg-transparent text-sm leading-[18px] font-normal text-black outline-none placeholder:text-[#989898]"})]}),(0,a.jsxs)(h.rI,{children:[(0,a.jsx)(h.ty,{asChild:!0,children:(0,a.jsx)("button",{className:"bg-primary flex h-9 w-9 flex-shrink-0 cursor-pointer items-center justify-center rounded",style:{padding:"4px 8px"},title:d?void 0:"Lọc theo danh mục",children:(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M10 3.75C10 3.21957 9.78929 2.71086 9.41421 2.33579C9.03914 1.96071 8.53043 1.75 8 1.75C7.46957 1.75 6.96086 1.96071 6.58579 2.33579C6.21071 2.71086 6 3.21957 6 3.75C6 4.28043 6.21071 4.78914 6.58579 5.16421C6.96086 5.53929 7.46957 5.75 8 5.75C8.53043 5.75 9.03914 5.53929 9.41421 5.16421C9.78929 4.78914 10 4.28043 10 3.75ZM17.25 4.5C17.4489 4.5 17.6397 4.42098 17.7803 4.28033C17.921 4.13968 18 3.94891 18 3.75C18 3.55109 17.921 3.36032 17.7803 3.21967C17.6397 3.07902 17.4489 3 17.25 3H11.75C11.5511 3 11.3603 3.07902 11.2197 3.21967C11.079 3.36032 11 3.55109 11 3.75C11 3.94891 11.079 4.13968 11.2197 4.28033C11.3603 4.42098 11.5511 4.5 11.75 4.5H17.25ZM5 3.75C5 3.94891 4.92098 4.13968 4.78033 4.28033C4.63968 4.42098 4.44891 4.5 4.25 4.5H2.75C2.55109 4.5 2.36032 4.42098 2.21967 4.28033C2.07902 4.13968 2 3.94891 2 3.75C2 3.55109 2.07902 3.36032 2.21967 3.21967C2.36032 3.07902 2.55109 3 2.75 3H4.25C4.44891 3 4.63968 3.07902 4.78033 3.21967C4.92098 3.36032 5 3.55109 5 3.75ZM4.25 17C4.44891 17 4.63968 16.921 4.78033 16.7803C4.92098 16.6397 5 16.4489 5 16.25C5 16.0511 4.92098 15.8603 4.78033 15.7197C4.63968 15.579 4.44891 15.5 4.25 15.5H2.75C2.55109 15.5 2.36032 15.579 2.21967 15.7197C2.07902 15.8603 2 16.0511 2 16.25C2 16.4489 2.07902 16.6397 2.21967 16.7803C2.36032 16.921 2.55109 17 2.75 17H4.25ZM17.25 17C17.4489 17 17.6397 16.921 17.7803 16.7803C17.921 16.6397 18 16.4489 18 16.25C18 16.0511 17.921 15.8603 17.7803 15.7197C17.6397 15.579 17.4489 15.5 17.25 15.5H11.75C11.5511 15.5 11.3603 15.579 11.2197 15.7197C11.079 15.8603 11 16.0511 11 16.25C11 16.4489 11.079 16.6397 11.2197 16.7803C11.3603 16.921 11.5511 17 11.75 17H17.25ZM9 10C9 10.1989 8.92098 10.3897 8.78033 10.5303C8.63968 10.671 8.44891 10.75 8.25 10.75H2.75C2.55109 10.75 2.36032 10.671 2.21967 10.5303C2.07902 10.3897 2 10.1989 2 10C2 9.80109 2.07902 9.61032 2.21967 9.46967C2.36032 9.32902 2.55109 9.25 2.75 9.25H8.25C8.44891 9.25 8.63968 9.32902 8.78033 9.46967C8.92098 9.61032 9 9.80109 9 10ZM17.25 10.75C17.4489 10.75 17.6397 10.671 17.7803 10.5303C17.921 10.3897 18 10.1989 18 10C18 9.80109 17.921 9.61032 17.7803 9.46967C17.6397 9.32902 17.4489 9.25 17.25 9.25H15.75C15.5511 9.25 15.3603 9.32902 15.2197 9.46967C15.079 9.61032 15 9.80109 15 10C15 10.1989 15.079 10.3897 15.2197 10.5303C15.3603 10.671 15.5511 10.75 15.75 10.75H17.25ZM14 10C14 9.46957 13.7893 8.96086 13.4142 8.58579C13.0391 8.21071 12.5304 8 12 8C11.4696 8 10.9609 8.21071 10.5858 8.58579C10.2107 8.96086 10 9.46957 10 10C10 10.5304 10.2107 11.0391 10.5858 11.4142C10.9609 11.7893 11.4696 12 12 12C12.5304 12 13.0391 11.7893 13.4142 11.4142C13.7893 11.0391 14 10.5304 14 10ZM10 16.25C10 15.7196 9.78929 15.2109 9.41421 14.8358C9.03914 14.4607 8.53043 14.25 8 14.25C7.46957 14.25 6.96086 14.4607 6.58579 14.8358C6.21071 15.2109 6 15.7196 6 16.25C6 16.7804 6.21071 17.2891 6.58579 17.6642C6.96086 18.0393 7.46957 18.25 8 18.25C8.53043 18.25 9.03914 18.0393 9.41421 17.6642C9.78929 17.2891 10 16.7804 10 16.25Z",fill:"white"})})})}),(0,a.jsxs)(h.SQ,{align:"end",children:[(0,a.jsx)(h._2,{onClick:()=>w(void 0),children:"Tất cả"}),l.map(e=>{if(e.children&&e.children.length>0){var t;return(0,a.jsxs)(h.lv,{children:[(0,a.jsx)(h.nV,{children:e.title}),(0,a.jsxs)(h.M5,{children:[(0,a.jsxs)(h._2,{onClick:()=>w(e.id),children:[e.title," (Tất cả)"]}),null==(t=e.children)?void 0:t.map(e=>(0,a.jsx)(h._2,{onClick:()=>w(e.id),children:e.title},e.id))]})]},e.id)}return(0,a.jsx)(h._2,{onClick:()=>w(e.id),children:e.title},e.id)})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-row flex-wrap items-center gap-2",children:[(0,a.jsx)("div",{className:"flex h-[26px] items-center justify-center px-1 py-1",children:(0,a.jsx)("span",{className:"text-sm leading-[18px] font-normal text-black",children:"Tag"})}),(0,a.jsx)("button",{onClick:()=>b(void 0),className:(0,s.cn)("flex h-[26px] cursor-pointer items-center justify-center rounded px-1 py-1",f?"bg-[#D5D5D6] text-sm leading-[18px] font-normal text-[#5F5F5F]":"text-primary bg-[rgb(from_var(--primary)_calc(r_+_142)_calc(g_+_143)_calc(b_+_101))] text-sm leading-[18px] font-bold"),children:"Tất cả"}),g.map(e=>{let t=(null==f?void 0:f.toLowerCase())===e.toLowerCase();return(0,a.jsx)("button",{onClick:()=>b(e),className:(0,s.cn)("flex h-[26px] cursor-pointer items-center justify-center rounded px-1 py-1",t?"text-primary bg-[rgb(from_var(--primary)_calc(r_+_142)_calc(g_+_143)_calc(b_+_101))] text-sm leading-[18px] font-bold":"bg-[#D5D5D6] text-sm leading-[18px] font-normal text-[#5F5F5F]"),children:e},e)})]})]}),0===v.length&&(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-center rounded-lg bg-white px-4 py-12 text-center sm:py-20",children:[(0,a.jsx)("div",{className:"mb-4 rounded-full bg-[#E2E5E5] p-4 sm:mb-6 sm:p-6",children:(0,a.jsx)(n.A,{className:"h-10 w-10 text-[#9FA4A3] sm:h-16 sm:w-16"})}),(0,a.jsx)("h3",{className:"mb-2 text-base font-bold text-black sm:mb-3 sm:text-xl",children:"Kh\xf4ng t\xecm thấy b\xe0i viết"}),(0,a.jsx)("p",{className:"text-sm text-[#616766] sm:text-base",children:o?"Thử t\xecm kiếm với từ kh\xf3a kh\xe1c":"Chưa c\xf3 b\xe0i viết n\xe0o"})]}),v.length>0&&(0,a.jsx)("div",{className:"flex w-full flex-col gap-6",children:(0,a.jsx)("div",{className:"grid w-full grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 lg:gap-8",children:v.map(e=>(0,a.jsx)("div",{className:"min-w-0",children:(0,a.jsx)(x,{blog:e})},e.id))})})]})})}},54652:(e,t,l)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var l in t)Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}(t,{default:function(){return o},getImageProps:function(){return i}});let a=l(28140),r=l(75040),n=l(81356),s=a._(l(71124));function i(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,l]of Object.entries(t))void 0===l&&delete t[e];return{props:t}}let o=n.Image},64269:(e,t,l)=>{l.d(t,{cn:()=>n,z:()=>s});var a=l(2821),r=l(75889);function n(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return(0,r.QP)((0,a.$)(t))}function s(e){var t,l;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{decimals:r=0,sizeType:n="normal"}=a;if(0===e)return"0 Byte";let s=Math.floor(Math.log(e)/Math.log(1024));return"".concat((e/Math.pow(1024,s)).toFixed(r)," ").concat("accurate"===n?null!=(t=["Bytes","KiB","MiB","GiB","TiB"][s])?t:"Bytest":null!=(l=["Bytes","KB","MB","GB","TB"][s])?l:"Bytes")}},68019:(e,t,l)=>{l.d(t,{V:()=>a});let a=(e,t)=>{if(!e||"string"!=typeof e)return"";let l=e.trim();if(l.startsWith("https://")||l.startsWith("http://"))return l.replace("/api/v1","");if((e=>e.startsWith("/api/v1/files")||e.startsWith("/files/")||e.includes("/files/"))(l)){let e="https://api.homeproxy.vn".replace(/\/$/,"");if(e){let t=l.startsWith("/")?l:"/".concat(l);return"".concat(e).concat(t).replace("/api/v1","")}}let a=(t||"https://app.homeproxy.vn").trim().replace(/^https?:\/\//,"").replace(/\/$/,"");return a?l.startsWith("/")?"https://".concat(a).concat(l).replace("/api/v1",""):"https://".concat(a,"/").concat(l).replace("/api/v1",""):l}},71847:(e,t,l)=>{l.d(t,{A:()=>i});var a=l(12115);let r=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter((e,t,l)=>!!e&&""!==e.trim()&&l.indexOf(e)===t).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,a.forwardRef)((e,t)=>{let{color:l="currentColor",size:s=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:m,...f}=e;return(0,a.createElement)("svg",{ref:t,...n,width:s,height:s,stroke:l,strokeWidth:o?24*Number(i)/Number(s):i,className:r("lucide",c),...f},[...m.map(e=>{let[t,l]=e;return(0,a.createElement)(t,l)}),...Array.isArray(d)?d:[d]])}),i=(e,t)=>{let l=(0,a.forwardRef)((l,n)=>{let{className:i,...o}=l;return(0,a.createElement)(s,{ref:n,iconNode:t,className:r("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),i),...o})});return l.displayName="".concat(e),l}},72557:(e,t,l)=>{l.d(t,{F:()=>i});var a=l(95155),r=l(12115),n=l(83360),s=l(64269);let i=r.forwardRef((e,t)=>{let{className:l,children:r,...i}=e;return(0,a.jsxs)(n.bL,{ref:t,"data-slot":"scroll-area",className:(0,s.cn)("relative overflow-hidden",l),...i,children:[(0,a.jsx)(n.LM,{"data-slot":"scroll-area-viewport",className:(0,s.cn)("h-full w-full rounded-[inherit]",(null==l?void 0:l.includes("!rounded-none"))&&"!rounded-none"),children:r}),(0,a.jsx)(o,{}),(0,a.jsx)(n.OK,{})]})});i.displayName=n.bL.displayName;let o=r.forwardRef((e,t)=>{let{className:l,orientation:r="vertical",...i}=e;return(0,a.jsx)(n.VM,{ref:t,"data-slot":"scroll-area-scrollbar",orientation:r,className:(0,s.cn)("flex touch-none transition-colors select-none","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",l),...i,children:(0,a.jsx)(n.lr,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})});o.displayName=n.VM.displayName},86651:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(71847).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},94446:(e,t,l)=>{l.d(t,{s:()=>s,t:()=>n});var a=l(12115);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let l=!1,a=e.map(e=>{let a=r(e,t);return l||"function"!=typeof a||(l=!0),a});if(l)return()=>{for(let t=0;t<a.length;t++){let l=a[t];"function"==typeof l?l():r(e[t],null)}}}}function s(...e){return a.useCallback(n(...e),e)}},96950:(e,t,l)=>{l.d(t,{D:()=>r});var a=l(95155);let r=e=>{let{title:t,description:l,showDiscountBadge:r=!1,discountBadgeText:n}=e;return(0,a.jsx)("div",{className:"mx-auto flex w-full items-center justify-between",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-mulish text-primary max-h-[20px] text-base leading-5 font-bold",children:t}),r&&n?(0,a.jsx)("span",{className:"font-mulish rounded-full bg-[#FE0000] px-2 py-1 font-bold text-white",children:n}):null]})})}},99051:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(71847).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])}}]);

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.