PageSourceSearch

https://www.veo.com.vn/_next/static/chunks/0pm6tka4_htkd.js

js veo.com.vn collected 2026-10-09 22:40:37 UTC 8,907 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,27102,e=>{"use strict";var t=e.i(43476),l=e.i(71645);e.s(["default",0,function({children:e,className:r="",delay:s=0,direction:a="up"}){let n=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=n.current;if(!e)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){e.dataset.revealed="true";return}let t=new IntersectionObserver(([l])=>{l.isIntersecting&&(e.dataset.revealed="true",t.unobserve(e))},{rootMargin:"0px 0px -10% 0px",threshold:.14});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("div",{ref:n,"data-scroll-reveal":a,className:r,style:{"--reveal-delay":`${s}ms`},children:e})}])},48044,e=>{"use strict";var t=e.i(43476),l=e.i(71645),r=e.i(22016);function s(e,t,l=75){return`/_next/image?url=${encodeURIComponent(e)}&w=${t}&q=${l}`}function a(e){let t=e.match(/^(\/banners\/.+-cover)\.webp$/);if(e.startsWith("/uploads/"))return{src:s(e,1920),srcSet:`${s(e,750)} 750w, ${s(e,1080)} 1080w, ${s(e,1920)} 1920w`};if(!t)return{src:e,srcSet:void 0};let l=t[1];return{src:`${l}-1600.webp`,srcSet:`${l}-960.webp 960w, ${l}-1600.webp 1600w, ${e} 2400w`}}e.s(["default",0,function({banners:e}){let[s,n]=(0,l.useState)(0),[i,o]=(0,l.useState)(!1),[c,d]=(0,l.useState)(()=>new Set([0])),u=(0,l.useRef)(null),m=(0,l.useRef)(!1),h=(0,l.useCallback)(e=>{d(t=>{if(t.has(e))return t;let l=new Set(t);return l.add(e),l})},[]),x=(0,l.useCallback)(()=>{n(t=>{let l=(t+1)%e.length;return h(l),l})},[e.length,h]),b=(0,l.useCallback)(()=>{n(t=>{let l=(t-1+e.length)%e.length;return h(l),l})},[e.length,h]);(0,l.useEffect)(()=>{if(i||0===e.length)return;let t=setInterval(x,7e3);return()=>clearInterval(t)},[i,x,e.length]),(0,l.useEffect)(()=>{if(e.length<=1)return;let t=(s+1)%e.length,l=window.setTimeout(()=>h(t),7e3),r=window.setTimeout(()=>{d(new Set(e.map((e,t)=>t)))},15e3);return()=>{window.clearTimeout(l),window.clearTimeout(r)}},[e,s,h]);let p=(0,l.useCallback)(e=>{"mouse"!==e.pointerType&&(u.current={x:e.clientX,y:e.clientY},m.current=!1,o(!0))},[]),f=(0,l.useCallback)(e=>{let t=u.current;if(!t)return;let l=e.clientX-t.x,r=e.clientY-t.y;Math.abs(l)>12&&Math.abs(l)>Math.abs(r)&&(m.current=!0)},[]),w=(0,l.useCallback)(e=>{let t=u.current;if(!t)return void o(!1);let l=e.clientX-t.x,r=e.clientY-t.y;u.current=null,Math.abs(l)>=40&&Math.abs(l)>
11.2*Math.abs(r)&&(m.current=!0,l<0?x():b()),o(!1)},[x,b]),g=(0,l.useCallback)(e=>{m.current&&(e.preventDefault(),e.stopPropagation(),m.current=!1)},[]);return 0===e.length?null:(0,t.jsxs)("section",{className:"relative w-full aspect-[4/3] min-h-[280px] touch-pan-y overflow-hidden sm:aspect-[3/1] sm:min-h-[220px]",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),onPointerDown:p,onPointerMove:f,onPointerUp:w,onPointerCancel:w,onClickCapture:g,children:[(0,t.jsx)("div",{className:"flex h-full transition-transform duration-700 ease-in-out",style:{transform:`translateX(-${100*s}%)`},children:e.map((e,l)=>{let n=a(e.image),i=e.mobileImage?a(e.mobileImage):null,o=c.has(l)?(0,t.jsxs)("picture",{children:[i&&(0,t.jsx)("source",{media:"(max-width: 639px)",srcSet:i.srcSet??i.src}),(0,t.jsx)("img",{src:n.src,srcSet:n.srcSet,sizes:"100vw",alt:"VEO Banner",width:1600,height:800,loading:0===l?"eager":"lazy",fetchPriority:0===l?"high":"auto",decoding:0===l?"sync":"async",className:"absolute inset-0 h-full w-full object-cover object-center"})]}):null;return e.href?(0,t.jsx)(r.default,{href:e.href,className:"relative w-full h-full shrink-0 block",tabIndex:l===s?0:-1,"aria-hidden":l!==s,"aria-label":"VEO Banner",children:o},e.id):(0,t.jsx)("div",{className:"relative w-full h-full shrink-0","aria-hidden":l!==s,children:o},e.id)})}),(0,t.jsx)("button",{type:"button",onClick:b,className:"absolute left-3 sm:left-4 top-1/2 -translate-y-1/2 z-20 w-10 h-10 sm:w-11 sm:h-11 rounded-full bg-black/30 hover:bg-black/50 text-white hidden sm:flex items-center justify-center transition-colors backdrop-blur-sm","aria-label":"Banner trước",children:(0,t.jsx)("span",{className:"material-symbols-outlined",style:{fontSize:24},children:"chevron_left"})}),(0,t.jsx)("button",{type:"button",onClick:x,className:"absolute right-3 sm:right-4 top-1/2 -translate-y-1/2 z-20 w-10 h-10 sm:w-11 sm:h-11 rounded-full bg-black/30 hover:bg-black/50 text-white hidden sm:flex items-center justify-center transition-colors backdrop-blur-sm","aria-label":"Banner tiếp theo",children:(0,t.jsx)("span",{className:"material-symbols-outlined",style:{fontSize:24},children:"chevron_right"})}),(0,t.jsx)("div",{className:"absolute bottom-4 sm:bottom-6 left-1/2 -translate-x-1/2 z-20 flex items-center gap-2",children:e.map((e,l)=>(0,t.jsx)("button",{type:"button",onClick:()=>n(l),className:`rounded-full transition-all duration-300 ${l===s?"w-6 h-2 bg-white":"w-2 h-2 bg-white/50 hover:bg-white/75"}`,"aria-label":`Banner ${l+1}`},l))})]})}],48044)},80752,e=>{"use strict";var t=e.i(43476),l=e.i(71645),r=e.i(57688),s=e.i(22016);e.s(["default",0,function({tours:e}){let a=(0,l.useRef)(null),[n,i]=(0,l.useState)(!1),o=(0,l.useCallback)(()=>{let e=a.current;if(!e)return;let t=e.scrollLeft<e.scrollWidth-e.clientWidth-2;i(e=>e===t?e:t)},[]),c=(0,l.useCallback)(()=>{window.requestAnimationFrame(o)},[o]);return(0,l.useEffect)(()=>{let e=a.current;if(e)return o(),e.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",o),()=>{e.removeEventListener("scroll",c),window.removeEventListener("resize",o)}},[c,o]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:`pointer-events-none absolute right-0 top-0 z-10 h-full w-16 bg-gradient-to-r from-transparent to-primary transition-opacity duration-300 ease-out xl:hidden ${n?"opacity-100":"opacity-0"}`}),(0,t.jsx)("div",{ref:a,onScroll:c,onTouchEnd:c,onPointerUp:c,onWheel:c,className:"-mb-3 flex snap-x snap-mandatory gap-6 overflow-x-auto scroll-smooth pb-3",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:e.map(e=>{var l;let a="north"===e.region?{label:"Miền Bắc",className:"bg-blue-100 text-blue-700"}:{label:"Miền Nam",className:"bg-green-100 text-green-700"};return(0,t.jsxs)(s.default,{href:`/du-lich-tinh-nguyen/${e.slug}`,className:"group block w-[82%] shrink-0 snap-start overflow-hidden rounded-xl bg-pure-white shadow-[0_10px_26px_rgba(28,4,43,0.16)] sm:w-[44%] xl:w-[calc(25%-18px)]",children:[(0,t.jsx)("div",{className:"relative h-44 overflow-hidden sm:h-52",children:(0,t.jsx)(r.default,{className:"object-cover transition-transform duration-500 group-hover:scale-105",src:e.image,alt:e.title,fill:!0,sizes:"(max-width: 640px) 82vw, (max-width: 1279px) 44vw, 25vw",loading:"lazy"})}),(0,t.jsxs)("div",{className:"p-4 sm:p-5",children:[(0,t.jsx)("span",{className:`mb-2 inline-flex w-fit roun
1ded-full px-2.5 py-0.5 text-xs font-bold ${a.className}`,children:a.label}),(0,t.jsx)("h3",{className:"mb-3 text-base font-semibold text-primary line-clamp-2",children:e.title}),(0,t.jsxs)("div",{className:"mb-4 space-y-2 text-xs",children:[(0,t.jsxs)("div",{className:"flex h-5 items-center gap-2",children:[(0,t.jsx)("span",{className:"material-symbols-outlined w-[18px] text-[18px] leading-none text-primary",children:"location_on"}),(0,t.jsx)("span",{className:"font-semibold leading-5 text-on-surface line-clamp-1",children:e.destinationName})]}),(0,t.jsxs)("div",{className:"flex h-5 items-center gap-2",children:[(0,t.jsx)("span",{className:"material-symbols-outlined w-[18px] text-[18px] leading-none text-primary",children:"calendar_today"}),(0,t.jsx)("span",{className:"font-semibold leading-5 text-on-surface",children:e.nearestScheduleLabel}),e.extraScheduleCount>0&&(0,t.jsxs)("span",{className:"rounded-full bg-primary/10 px-2 py-0.5 text-[10px] font-bold text-primary",children:["+",e.extraScheduleCount]})]}),(0,t.jsxs)("div",{className:"flex h-5 items-center gap-2",children:[(0,t.jsx)("span",{className:"material-symbols-outlined w-[18px] text-[18px] leading-none text-primary",children:"schedule"}),(0,t.jsx)("span",{className:"font-semibold leading-5 text-on-surface",children:e.duration})]})]}),(0,t.jsxs)("div",{className:"mt-auto border-t border-surface-variant pt-4",children:[(0,t.jsx)("p",{className:"mb-0.5 text-xs text-outline",children:"Chi phí từ"}),(0,t.jsx)("p",{className:"text-base font-bold text-secondary",children:(l=e.priceNumber,`${new Intl.NumberFormat("vi-VN").format(l)}đ/ người`)})]})]})]},e.slug)})})]}),(0,t.jsx)("div",{className:"mt-6 flex justify-center sm:hidden",children:(0,t.jsxs)(s.default,{href:"/du-lich-tinh-nguyen",className:"inline-flex items-center gap-2 rounded-full border border-white/35 px-6 py-2.5 font-bold text-pure-white transition-colors hover:border-solar-orange hover:text-solar-orange",children:["Xem tất cả tour",(0,t.jsx)("span",{className:"material-symbols-outlined text-lg",children:"arrow_forward"})]})})]})}])}]);

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.