1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56651,e=>{"use strict";var n=e.i(35364);let t={hotline:"0934 589 488",switchboard:"1900 6695",header_logo_image:"/aivivu-logo.webp",footer_logo_image:"/aivivu-logo-footer.webp"};function i(e){return e.replace(/\D/g,"")}e.s(["formatPhone",0,function(e){let n=i(e);return/^0\d{9}$/.test(n)?`${n.slice(0,4)} ${n.slice(4,7)} ${n.slice(7)}`:/^1900\d{4}$/.test(n)?`${n.slice(0,4)} ${n.slice(4)}`:e.trim()||t.hotline},"phoneHref",0,function(e){let n=i(e);return n?`tel:${n}`:"tel:0934589488"},"useContactNumbers",0,function(){let[e,i]=(0,n.useState)(t);return(0,n.useEffect)(()=>{let e=!0;return fetch("/api/public/contact",{cache:"no-store"}).then(e=>e.ok?e.json():null).then(n=>{e&&n&&i({hotline:n.hotline?.trim()||t.hotline,switchboard:n.switchboard?.trim()||t.switchboard,header_logo_image:n.header_logo_image?.trim()||t.header_logo_image,footer_logo_image:n.footer_logo_image?.trim()||t.footer_logo_image})}).catch(()=>void 0),()=>{e=!1}},[]),e}])},98138,e=>{"use strict";var n=e.i(27741),t=e.i(35364),i=e.i(56651);let a=[{key:"home",label:"Trang chá»§",href:"/"},{key:"flights",label:"Vé máy bay",href:"/ve-may-bay/",children:[{label:"Vé máy bay Äi quá»c tế",href:"/ve-may-bay/#diem-den"},{label:"Vé máy bay vá» Viá»t Nam",href:"/ve-may-bay/ve-viet-nam/"}]},{key:"airlines",label:"Hãng bay",href:"/hang-hang-khong/"},{key:"services",label:"Äá»i vé & hà nh lý",href:"/doi-ve-mua-hanh-ly/"},{key:"visa",label:"Visa",href:"/dich-vu-visa/"},{key:"combo",label:"Combo du lá»ch",href:"/combo-du-lich/"},{key:"articles",label:"Bà i viết",href:"/bai-viet/"}];function r({footer:e=!1,src:t=""}){return(0,n.jsx)("a",{className:`site-brand-logo aivivu-logo${e?" footer-brand-logo":""}`,href:"/","aria-label":"AIVIVU Travel",children:(0,n.jsx)("img",{src:t||(e?"/aivivu-logo-footer.webp":"/aivivu-logo.webp"),alt:"AIVIVU Travel"})})}let s={flights:"Cần chá»t hà nh trình và giá vé phù hợp?",airlines:"Bay Äúng hãng, an tâm trá»n hà nh trình.",services:"Äá»i vé, thêm hà nh lý â rõ rà ng trưá»c giá» bay.",visa:"Cần kiá»m tra nhanh há» sÆ¡ visa trưá»c khi chuẩn bá»?"},c=[{id:1,menu_group:"explore",label:"Khám phá",href:"",parent_id:null,
1sort_order:1},{id:2,menu_group:"services",label:"Dá»ch vụ",href:"",parent_id:null,sort_order:2},{id:3,menu_group:"explore",label:"Trang chá»§",href:"/",parent_id:1,sort_order:1},{id:4,menu_group:"explore",label:"Vé máy bay",href:"/ve-may-bay/",parent_id:1,sort_order:2},{id:5,menu_group:"explore",label:"Hãng hà ng không",href:"/hang-hang-khong/",parent_id:1,sort_order:3},{id:6,menu_group:"explore",label:"Bà i viết",href:"/bai-viet/",parent_id:1,sort_order:4},{id:7,menu_group:"services",label:"Äá»i vé & hà nh lý",href:"/doi-ve-mua-hanh-ly/",parent_id:2,sort_order:1},{id:8,menu_group:"services",label:"Visa",href:"/dich-vu-visa/",parent_id:2,sort_order:2},{id:9,menu_group:"services",label:"Combo du lá»ch",href:"/combo-du-lich/",parent_id:2,sort_order:3}];function l({active:e,priorityCta:t}){let{hotline:a}=(0,i.useContactNumbers)(),r=t?.title??s[e],c=t?.description??"Gá»i ngay Äá» ÄÆ°á»£c tư vấn miá»
n phÃ, kiá»m tra Äiá»u kiá»n và phản há»i phương án rõ rà ng.";return r?(0,n.jsx)("section",{className:`landing-priority-cta${t?.style?" airline-priority-cta":""}`,style:t?.style,"aria-label":"Tư vấn ưu tiên AIVIVU",children:(0,n.jsx)("div",{className:"shell",children:(0,n.jsxs)("div",{className:"landing-priority-card",children:[(0,n.jsxs)("div",{className:"landing-priority-copy",children:[(0,n.jsx)("p",{children:"AIVIVU CARE · PHẢN Há»I ƯU TIÃN"}),(0,n.jsx)("strong",{children:r}),(0,n.jsx)("span",{children:c})]}),(0,n.jsxs)("div",{className:"landing-priority-trust",children:[(0,n.jsx)("span",{children:"â Há» trợ 24/7"}),(0,n.jsx)("span",{children:"â Báo phà trưá»c xá» lý"}),(0,n.jsx)("span",{children:"â Äại lý uy tÃn"})]}),(0,n.jsxs)("div",{className:"landing-priority-actions",children:[(0,n.jsxs)("a",{className:"landing-priority-call",href:(0,i.phoneHref)(a),"aria-label":`Gá»i hotline AIVIVU 24 tr\xean 7 qua sá» ${(0,i.formatPhone)(a)}`,children:[(0,n.jsx)("small",{children:"HOTLINE 24/7"}),(0,n.jsxs)("b",{children:[(0,n.jsx)("i",{"aria-hidden":"true",children:"â"}),(0,i.formatPhone)(a)]})]}),(0,n.jsx)("a",{className:"landing-priority-zalo",href:"https://zalo.me/1701711923908278986",target:"_blank",rel:"noopener noreferrer",children:"Chat Zalo OA"})]})]})})}):null}e.s(["SiteFooter",0,function(){let{hotline:e,footer_logo_image:a}=(0,i.useContactNumbers)(),s=function(){let[e,n]=(0,t.useState)(c);return(0,t.useEffect)(()=>{fetch("/api/footer-menus").then(e=>e.ok?e.json():null).then(e=>{Array.isArray(e?.items)&&n(e.items)}).catch(()=>void 0)},[]),e}(),l=s.filter(e=>null===e.parent_id);return(0,n.jsxs)("footer",{className:"site-footer",children:[(0,n.jsxs)("div",{className:"shell site-footer-grid",children:[(0,n.jsxs)("div",{className:"site-footer-brand",children:[(0,n.jsx)(r,{footer:!0,src:a}),(0,n.jsx)("p",{children:"Vé máy bay, Äá»i vé, hà nh lý, visa và combo du lá»ch â rõ rà ng, táºn tâm, Äá»ng hà nh xuyên suá»t hà nh trình."})]}),(0,n.jsx)("div",{className:"site-footer-menu-groups",children:l.map(e=>(0,n.jsxs)("section",{children:[(0,n.jsx)("b",{children:e.label}),s.filter(n=>n.parent_id===e.id).map(e=>(0,n.jsx)("a",{href:e.href,children:e.label},e.id))]},e.id))}),(0,n.jsx)("div",{className:"site-footer-support",children:(0,n.jsxs)("a",{className:"site-footer-hotline",href:(0,i.phoneHref)(e),"aria-label":`Gá»i hotline AIVIVU 24 tr\xean 7 ${(0,i.formatPhone)(e)}`,children:[(0,n.jsx)("i",{"aria-hidden":"true",children:"â"}),(0,n.jsxs)("span",{className:"site-footer-hotline-copy",children:[(0,n.jsx)("small",{children:"Hotline 24/7"}),(0,n.jsx)("strong",{children:(0,i.formatPhone)(e)})]})]})})]}),(0,n.jsxs)("div",{className:"shell site-footer-offices",children:[(0,n.jsxs)("div",{className:"site-footer-office-title",children:[(0,n.jsx)("small",{children:"Há» THá»NG VÄN PHÃNG"}),(0,n.jsx)("h2",{children:"AIVIVU luôn á» gần bạn"}),(0,n.jsx)("p",{children:"Ghé vÄn phòng hoặc gá»i trưá»c Äá» ÄÆ°á»£c chuyên viên há» trợ nhanh."})]}),(0,n.jsxs)("address",{children:[(0,n.jsx)("span",{className:"office-city",children:"01 · Hà Ná»i"}),(0,n.jsx)("b",{children:"VÄn phòng AIVIVU Hà Ná»i"}),(0,n.jsxs)("a",{href:"https://maps.app.goo.gl/DEYGYQv3pzMZpnk6A",target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)("span",{children:"â"}
1),"95H Lý Nam Äế, Hoà n Kiếm, HN"]}),(0,n.jsxs)("a",{href:"https://maps.app.goo.gl/DEYGYQv3pzMZpnk6A",target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)("span",{children:"â"}),"8/16 Huỳnh Thúc Kháng, Giảng Võ, HN"]}),(0,n.jsx)("a",{className:"office-phone",href:"tel:02437474848",children:"Tel: 024 3747 4848"})]}),(0,n.jsxs)("address",{children:[(0,n.jsx)("span",{className:"office-city",children:"02 · Há» Chà Minh"}),(0,n.jsx)("b",{children:"VÄn phòng AIVIVU TP. Há» Chà Minh"}),(0,n.jsxs)("a",{href:"https://maps.app.goo.gl/gjMJSTpgbBj13PPQ6",target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)("span",{children:"â"}),"96 Tôn Thất Tùng, Bến Thà nh, HCM"]}),(0,n.jsx)("a",{className:"office-phone",href:"tel:02839205999",children:"Tel: 028 3920 5999"})]})]}),(0,n.jsxs)("div",{className:"shell site-footer-bottom",children:[(0,n.jsx)("span",{children:"Thuá»c quyá»n sá» hữu Công ty CP Aivivu"}),(0,n.jsxs)("span",{className:"site-footer-legal",children:[(0,n.jsx)("a",{href:"/ve-chung-toi/",children:"Vá» AIVIVU"}),(0,n.jsx)("a",{href:"/tuyen-dung/",children:"Tuyá»n dụng"}),(0,n.jsx)("a",{href:"/chinh-sach-bao-mat/",children:"ChÃnh sách bảo máºt"}),(0,n.jsx)("a",{href:"/dieu-khoan-su-dung/",children:"Äiá»u khoản sá» dụng"})]})]})]})},"SiteHeader",0,function({active:e="",priorityCta:t,showPriorityCta:s=!0}){let{switchboard:c,header_logo_image:o}=(0,i.useContactNumbers)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("header",{className:"site-header",children:(0,n.jsxs)("div",{className:"shell site-header-inner",children:[(0,n.jsx)(r,{src:o}),(0,n.jsx)("nav",{className:"site-desktop-nav","aria-label":"Äiá»u hưá»ng chÃnh",children:a.map(t=>t.children?(0,n.jsxs)("details",{className:"site-nav-dropdown",children:[(0,n.jsxs)("summary",{className:e===t.key?"active":"",children:[t.label,(0,n.jsx)("span",{"aria-hidden":"true",children:"â"})]}),(0,n.jsx)("div",{className:"site-nav-dropdown-menu",children:t.children.map(e=>(0,n.jsx)("a",{href:e.href,children:e.label},e.href))})]},t.key):(0,n.jsx)("a",{className:e===t.key?"active":"",href:t.href,children:t.label},t.key))}),(0,n.jsxs)("a",{className:"site-hotline",href:(0,i.phoneHref)(c),"aria-label":`Gá»i tá»ng Ä\xe0i tư vấn AIVIVU ${(0,i.formatPhone)(c)}`,children:[(0,n.jsx)("span",{"aria-hidden":"true",children:"â"}),(0,n.jsx)("strong",{children:(0,i.formatPhone)(c)})]}),(0,n.jsxs)("details",{className:"site-mobile-menu",children:[(0,n.jsx)("summary",{"aria-label":"Má» menu Äiá»u hưá»ng",children:"â°"}),(0,n.jsx)("nav",{children:a.flatMap(t=>t.children?t.children.map(i=>(0,n.jsx)("a",{className:e===t.key?"active submenu":"submenu",href:i.href,children:i.label},i.href)):[(0,n.jsx)("a",{className:e===t.key?"active":"",href:t.href,children:t.label},t.key)])})]})]})}),s&&(0,n.jsx)(l,{active:e,priorityCta:t})]})}])},34403,e=>{"use strict";var n=e.i(27741),t=e.i(35364);e.s(["default",0,function(){let[e,i]=(0,t.useState)(null),[a,r]=(0,t.useState)(""),[s,c]=(0,t.useState)(!0);async function l(){c(!0);try{let e=await fetch("/api/form-captcha",{cache:"no-store"}),n=await e.json();if(!e.ok||"string"!=typeof n.prompt||"string"!=typeof n.token)throw Error("captcha");i(n),r(Date.now().toString())}catch{i(null)}finally{c(!1)}}return(0,t.useEffect)(()=>
1{l()},[]),(0,n.jsxs)("div",{className:"form-captcha","aria-live":"polite",children:[(0,n.jsx)("input",{className:"form-honeypot",name:"website",tabIndex:-1,autoComplete:"off","aria-hidden":"true"}),(0,n.jsx)("input",{name:"captcha_token",type:"hidden",value:e?.token||"",readOnly:!0}),(0,n.jsx)("input",{name:"form_started_at",type:"hidden",value:a,readOnly:!0}),(0,n.jsxs)("div",{className:"form-captcha-head",children:[(0,n.jsx)("b",{children:"Xác minh chá»ng spam"}),(0,n.jsx)("button",{type:"button",onClick:l,disabled:s,"aria-label":"Tạo mã xác minh má»i",children:"â»"})]}),(0,n.jsxs)("div",{className:"form-captcha-row",children:[(0,n.jsx)("span",{children:s?"Äang tạo mãâ¦":e?.prompt||"Không thá» tạo mã. Hãy thá» tải lại."}),(0,n.jsxs)("label",{children:[(0,n.jsx)("span",{className:"sr-only",children:"Kết quả xác minh"}),(0,n.jsx)("input",{name:"captcha_answer",inputMode:"numeric",required:!0,disabled:!e||s,placeholder:"Kết quả","aria-label":"Nháºp kết quả xác minh"})]})]})]})},"formCaptchaPayload",0,function(e){return{captcha_token:String(e.get("captcha_token")||""),captcha_answer:String(e.get("captcha_answer")||""),website:String(e.get("website")||""),form_started_at:String(e.get("form_started_at")||""),source_url:window.location.href}}])},5673,e=>{"use strict";var n=e.i(27741),t=e.i(35364);function i(e){return`${e.city} (${e.code})`}function a(e){let n=e.match(/\(([A-Za-z]{3})\)/)?.[1];return n?n.toUpperCase():e.trim().match(/^[A-Za-z]{3}$/)?.[0]?.toUpperCase()??""}let r="aivivu:airport-search-history",s=[{title:"Viá»t Nam",codes:["SGN","HAN","DAD","CXR","PQC","VCA"]},{title:"Châu Ã",codes:["BKK","SIN","KUL","HKG","TPE","NRT","KIX","ICN","PEK","PVG"]},{title:"Châu Ãu",codes:["LHR","CDG","FRA","AMS","IST"]},{title:"Châu Mỹ",codes:["LAX","SFO","SEA","JFK","ORD","YVR","YYZ"]},{title:"Châu Äại Dương & Trung Äông",codes:["SYD","MEL","DXB","DOH"]}],c=new Map([{code:"SGN",city:"TP. Há» Chà Minh",country:"Viá»t Nam",countryCode:"VN",airport:"Tân SÆ¡n Nhất"},{code:"HAN",city:"Hà Ná»i",country:"Viá»t Nam",countryCode:"VN",airport:"Ná»i Bà i"},{code:"DAD",city:"Äà Nẵng",country:"Viá»t Nam",countryCode:"VN",airport:"Äà Nẵng"},{code:"CXR",city:"Nha Trang",country:"Viá»t Nam",countryCode:"VN",airport:"Cam Ranh"},{code:"PQC",city:"Phú Quá»c",country:"Viá»t Nam",countryCode:"VN",airport:"Phú Quá»c"},{code:"VCA",city:"Cần ThÆ¡",country:"Viá»t Nam",countryCode:"VN",airport:"Cần ThÆ¡"},{code:"BKK",city:"Bangkok",country:"Thái Lan",countryCode:"TH",airport:"Suvarnabhumi"},{code:"DMK",city:"Bangkok",country:"Thái Lan",countryCode:"TH",airport:"Don Mueang"},{code:"SIN",city:"Singapore",country:"Singapore",countryCode:"SG",airport:"Changi"},{code:"KUL",city:"Kuala Lumpur",country:"Malaysia",countryCode:"MY",airport:"Kuala Lumpur"},{code:"CGK",city:"Jakarta",country:"Indonesia",countryCode:"ID",airport:"Soekarno-Hatta"},{code:"DPS",city:"Bali",country:"Indonesia",countryCode:"ID",airport:"Ngurah Rai"},{code:"MNL",city:"Manila",country:"Philippines",countryCode:"PH",airport:"Ninoy Aquino"},{code:"HKG",city:"Hong Kong",country:"Hong Kong",countryCode:"HK",airport:"Hong Kong"},{code:"TPE",city:"Äà i Bắc",country:"Äà i Loan",countryCode:"TW",airport:"Taoyuan"},{code:"NRT",city:"Tokyo",country:"Nháºt Bản",countryCode:"JP",airport:"Narita"},{code:"HND",city:"Tokyo",country:"Nháºt Bản",countryCode:"JP",airport:"Haneda"},{code:"KIX",city:"Osaka",country:"Nháºt Bản",countryCode:"JP",airport:"Kansai"},{code:"ICN",city:"Seoul",country:"Hà n Quá»c",countryCode:"KR",airport:"Incheon"},{code:"PEK",city:"Bắc Kinh",country:"Trung Quá»c",countryCode:"CN",airport:"Capital"},{code:"PVG",city:"Thượng Hải",country:"Trung Quá»c",countryCode:"CN",airport:"Pudong"},{code:"CAN",city:"Quảng Châu",country:"Trung Quá»c",countryCode:"CN",airport:"Bạch Vân"},{code:"DEL",city:"New Delhi",country:"Ấn Äá»",countryCode:"IN",airport:"Indira Gandhi"},{code:"BOM",city:"Mumbai",country:"Ấn Äá»",countryCode:"IN",airport:"Chhatrapati Shivaji"},{code:"DXB",city:"Dubai",country:"Các Tiá»u vương quá»c Ả Ráºp Thá»ng nhất",countryCode:"AE",airport:"Dubai"},{code:"DOH",city:"Doha",country:"Qatar",countryCode:"QA",airport:"Hamad"},{code:"IST",city:"Istanbul",country:"Thá» NhÄ© Kỳ",countryCode:"TR",airport:"Istanbul"},{code:"LHR",city:"London",country:"Anh",countryCode:"GB",airport:"Heathrow"},{code:"CDG",city:"Paris",country:"Pháp",countryCode:"FR",airport:"Charles de Gaulle"},{code:"FRA",city:"Frankfurt",country:"Äức",countryCode:"DE",airport:"Frankfurt"},{code:"AMS",city:"Amsterdam",country:"Hà Lan",countryCode:"NL",airport:"Schiphol"},{code:"SYD",city:"Sydney",country:"Ãc",countryCode:"AU",airport:"Kingsford Smith"},{code:"MEL",city:"Melbourne",country:"Ãc",countryCode:"AU",airport:"Tullamarine"},{code:"LAX",city:"Los Angeles",country:"Hoa Kỳ",countryCode:"US",airport:"Los Angeles"},{code:"SFO",city:"San Francisco",country:"Hoa Kỳ",countryCode:"US",airport:"San Francisco"},{code:"SEA",city:"Seattle",country:"Hoa Kỳ",countryCode:"US",airport:"Seattle-Tacoma"},{code:"JFK",city:"New York",country:"Hoa Kỳ",countryCode:"US",airport:"John F. Kennedy"},{code:"IAD",city:"Washington D.C.",country:"Hoa Kỳ",countryCode:"US",airport:"Dulles"},{code:"ORD",city:"Chicago",country:"Hoa Kỳ",countryCode:"US",airport:"O'Hare"},{code:"BOS",city:"Boston",country:"Hoa Kỳ",countryCode:"US",airport:"Logan"},{code:"DFW",city:"Dallas",country:"Hoa Kỳ",countryCode:"US",airport:"Dallas/Fort Worth"},{code:"MIA",city:"Miami",country:"Hoa Kỳ",countryCode:"US",airport:"Miami"},{code:"YVR",city:"Vancouver",country:"Canada",countryCode:"CA",airport:"Vancouver"},{code:"YYZ",city:"Toronto",country:"Canada",countryCode:"CA",airport:"Pearson"}].map(e=>[e.code,e])),l=e=>c.get(e);function o({label:e,value:a,onChange:c,placeholder:h,id:d,forceClose:u=!1,onActivate:m}){let[g,p]=(0,t.useState)([]),[y,x]=(0,t.useState)([]),[b,j]=(0,t.useState)(!1),[v,f]=(0,t.useState)(!1),[N,C]=(0,t.useState)(!1),w=(0,t.useRef)(null);function k(e){c(i(e));let n=[e,...y.filter(n=>n.code!==e.code)].slice(0,6);x(n);try{window.localStorage.setItem(r,JSON.stringify(n))}catch{}j(!1),f(!1)}function S(e){return(0,n.jsxs)("button",{type:"button",role:"option","aria-selected":a===i(e),onMouseDown:e=>e.preventDefault(),onClick:()=>k(e),children:[(0,n.jsx)("b",{children:e.code}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:e.city}),(0,n.jsxs)("small",{children:[e.airport?`${e.airport} \xb7 `:"",e.country]})]})]},`${e.code}-${e.city}`)}(0,t.useEffect)(()=>{x(function(){try{let e=JSON.parse(window.localStorage.getItem(r)||"[]");return Array.isArray(e)?e.filter(e=>e&&"string"==typeof e.code&&"string"==typeof e.city).slice(0,6):[]}catch{return[]}}())},[]),(0,t.useEffect)(()=>{u&&(j(!1),f(!1))},[u]),(0,t.useEffect)(()=>{let e=a.trim();if(!e||!b||v)return void p([]);let n=window.setTimeout(async()=>{w.current?.abort();let n=new AbortController;w.current=n,C(!0);try{let t=await fetch(`/api/airports/search?q=${encodeURIComponent(e)}`,{signal:n.signal}),i=await t.json();t.ok&&Array.isArray(i.items)&&p(i.items)}catch(e){e instanceof DOMException&&"AbortError"===e.name||p([])}finally{n.signal.aborted||C(!1)}},220);return()=>{window.clearTimeout(n),w.current?.abort()}},[a,b,v]);let T=b&&v;return(0,n.jsxs)("div",{className:"airport-field",children:[(0,n.jsxs)("label",{htmlFor:d,children:[(0,n.jsx)("span",{children:e}),(0,n.jsx)("input",{id:d,value:a,onChange:e=>{m?.(),j(!0),f(!1),c(e.target.value)},onFocus:()=>{m?.(),j(!0),f(!0)},onKeyDown:e=>{"Escape"===e.key&&j(!1)},placeholder:h??"Nháºp thà nh phá» hoặc mã sân bay",autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-expanded":b,"aria-controls":`${d}-suggestions`})]}),b&&(0,n.jsx)("div",{className:`airport-suggestions${T?" airport-suggestions-browse":""}`,id:`${d}-suggestions`,role:"listbox","aria-label":`Gợi \xfd ${e.toLowerCase()}`,children:T?(0,n.jsxs)(n.Fragment,{children:[y.length>0&&(0,n.jsxs)("section",{className:"airport-suggestion-section airport-history",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"Äiá»m Äã tìm gần Äây"}),(0,n.jsx)("button",{type:"button",onClick:()=>{x([]);try{window.localStorage.removeItem(r)}catch{}},children:"Xóa"})]}),(0,n.jsx)("nav",{children:y.map(S)})]}),(0,n.jsxs)("section",{className:"airport-suggestion-section",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"Thà nh phá» ná»i báºt"}),(0,n.jsx)("small",{children:"Chá»n nhanh theo khu vá»±c"})]}),s.map(e=>{let t=e.codes.map(l).filter(e=>!!e);return(0,n.jsxs)("div",{className:"airport-featured-group",children:[(0,n.jsx)("strong",{children:e.title}),(0,n.jsx)("nav",{children:t.map(e=>(0,n.jsxs)("button",{type:"button",onMouseDown:e=>e.preventDefault(),onClick:()=>k(e),children:[e.city,(0,n.jsx)("small",{children:e.code})]},e.code))})]},e.title)})]})]}):(0,n.jsxs)(n.Fragment,{children:[N&&!g.length&&(0,n.jsx)("p",{children:"Äang tìm sân bayâ¦"}),!N&&!g.length&&(0,n.jsx)("p",{children:"Không tìm thấy. Hãy thá» tên thà nh phá», quá»c gia hoặc mã sân bay."}),g.map(S)]})})]})}let h=["T2","T3","T4","T5","T6","T7","CN"],d=["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],u=e=>String(e).padStart(2,"0"),m=e=>`${e.getFullYear()}-${u(e.getMonth()+1)}-${u(e.getDate())}`,g=e=>{let[n,t,i]=e.split("-").map(Number);return new Date(n||new Date().getFullYear(),Math.max(0,(t||1)-1),i||1)};function p({label:e,value:i,min:a,onChange:r,className:s="",forceClose:c=!1,onActivate:l}){let[o,u]=(0,t.useState)(!1),[y,x]=(0,t.useState)(()=>g(i||a)),b=a||m(new Date),j=(0,t.useMemo)(()=>{let e=new Date(y.getFullYear(),y.getMonth(),1),n=(e.getDay()+6)%7,t=new Date(e);return t.setDate(e.getDate()-n),Array.from({length:42},(e,n)=>{let i=new Date(t);return i.setDate(t.getDate()+n),i})},[y]),v=y.getMonth();return(0,t.useEffect)(()=>{c&&u(!1)},[c]),(0,n.jsxs)("div",{className:`flight-date-field ${s}`,children:[(0,n.jsx)("span",{children:e}),(0,n.jsxs)("button",{type:"button",className:"flight-date-toggle",onClick:()=>{l?.(),x(g(i||a)),u(!0)},"aria-haspopup":"dialog","aria-expanded":o,children:[(0,n.jsx)("b",{children:i?i.split("-").reverse().join("/"):"Chá»n ngà y"}),(0,n.jsx)("i",{"aria-hidden":"true",children:"â£"})]}),o&&(0,n.jsxs)("div",{className:"flight-calendar",role:"dialog","aria-label":`Chá»n ${e.toLowerCase()}`,children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("button",{type:"button","aria-label":"Tháng trưá»c",onClick:()=>x(new Date(y.getFullYear(),y.getMonth()-1,1)),children:"â¹"}),(0,n.jsxs)("b",{children:[d[v]," ",y.getFullYear()]}),(0,n.jsx)("button",{type:"button","aria-label":"Tháng sau",onClick:()=>
1x(new Date(y.getFullYear(),y.getMonth()+1,1)),children:"âº"})]}),(0,n.jsx)("div",{className:"flight-calendar-weekdays",children:h.map(e=>(0,n.jsx)("span",{children:e},e))}),(0,n.jsx)("div",{className:"flight-calendar-days",children:j.map(e=>{let t=m(e),a=e.getMonth()!==v;return(0,n.jsx)("button",{type:"button",disabled:t<b,onClick:()=>{let n;!((n=m(e))<b)&&(r(n),u(!1))},className:`${a?"muted":""}${t===i?" selected":""}${t===m(new Date)?" today":""}`,children:e.getDate()},t)})})]})]})}let y=e=>e.toISOString().slice(0,10),x=e=>{let n=new Date;return n.setDate(n.getDate()+e),y(n)},b=e=>e.split("-").reverse().join("");e.s(["default",0,function({initial:e={},variant:i="home"}){let[r,s]=(0,t.useState)(e.origin||"TP. Há» Chà Minh (SGN)"),[c,l]=(0,t.useState)(e.destination||"Äà Nẵng (DAD)"),[h,d]=(0,t.useState)("one_way"===e.tripType?"one_way":"round_trip"),[u,m]=(0,t.useState)(e.departureDate||x(7)),[g,j]=(0,t.useState)(e.returnDate||x(14)),[v,f]=(0,t.useState)({adults:Math.max(1,e.adults||1),children:Math.max(0,e.children||0),infants:Math.max(0,e.infants||0)}),[N,C]=(0,t.useState)(!1),[w,k]=(0,t.useState)(null),S=(0,t.useRef)(null),[T,_]=(0,t.useState)(""),D=(0,t.useMemo)(()=>y(new Date),[]),V=v.adults+v.children+v.infants,$=`${v.adults} ngưá»i lá»n${v.children?`, ${v.children} trẻ em`:""}${v.infants?`, ${v.infants} em b\xe9`:""}`;function A(e,n){f(t=>{if(n>0&&t.adults+t.children+t.infants>=9)return t;let i={...t,[e]:Math.max(+("adults"===e),t[e]+n)};return"infants"===e&&i.infants>i.adults&&(i.infants=i.adults),"adults"===e&&n<0&&i.infants>i.adults&&(i.infants=i.adults),i})}return(0,t.useEffect)(()=>{if(!N)return;let e=e=>{S.current?.contains(e.target)||(C(!1),k(e=>"passengers"===e?null:e))},n=e=>{"Escape"===e.key&&C(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",n),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",n)}},[N]),(0,t.useEffect)(()=>{"passengers"!==w&&C(!1)},[w]),(0,n.jsxs)("form",{className:`booking-card ${"landing"===i?"":"shell"} flight-search-widget ${"results"===i?"flight-search-widget-results":"landing"===i?"flight-search-widget-landing":""}`,onSubmit:function(e){e.preventDefault();let n=a(r),t=a(c);if(!n||!t)return void _("Vui lòng chá»n Äiá»m Äi và Äiá»m Äến từ danh sách gợi ý sân bay.");if(n===t)return void _("Äiá»m Äi và Äiá»m Äến cần khác nhau.");if(!u)return void _("Vui lòng chá»n ngà y Äi.");if("round_trip"===h&&(!g||g<u))return void _("Ngà y vá» cần bằng hoặc sau ngà y Äi.");let i=new URLSearchParams({origin:r,destination:c,departure_date:u,trip_type:h,adults:String(v.adults),children:String(v.children),infants:String(v.infants)});"round_trip"===h&&i.set("return_date",g);let s=`${n}${t}${b(u)}${"round_trip"===h?`-${t}${n}${b(g)}`:""}`;i.set("SearchParam",`${s}-${v.adults}${v.children}${v.infants}`),i.set("Airline",""),i.set("Info","book-avv"),i.set("Style",""),window.location.assign(`/tim-kiem-chuyen-bay?${i.toString()}`)},children:[(0,n.jsxs)("div",{className:"booking-tabs",role:"tablist","aria-label":"Loại hà nh trình",children:[(0,n.jsx)("button",{type:"button",className:"round_trip"===h?"active":"",onClick:()=>d("round_trip"),role:"tab","aria-selected":"round_trip"===h,children:"Khứ há»i"}),(0,n.jsx)("button",{type:"button",className:"one_way"===h?"active":"",onClick:()=>d("one_way"),role:"tab","aria-selected":"one_way"===h,children:"Má»t chiá»u"})]}),(0,n.jsxs)("div",{className:`booking-fields ${"one_way"===h?"booking-fields-one-way":""}`,children:[(0,n.jsx)(o,{id:"flight-origin",label:"Äiá»m Äi",value:r,onChange:s,forceClose:null!==w&&"origin"!==w,onActivate:()=>k("origin")}),(0,n.jsx)("button",{className:"swap-route",type:"button",onClick:()=>{s(c),l(r)},"aria-label":"Äá»i Äiá»m Äi và Äến",children:"â"}),(0,n.jsx)(o,{id:"flight-destination",label:"Äiá»m Äến",value:c,onChange:l,forceClose:null!==w&&"destination"!==w,onActivate:()=>k("destination")}),(0,n.jsx)(p,{label:"Ngà y Äi",value:u,min:D,onChange:m,forceClose:null!==w&&"departure"!==w,onActivate:()=>k("departure")}),"round_trip"===h&&(0,n.jsx)(p,{className:"return-date",label:"Ngà y vá»",value:g,min:u||D,onChange:j,forceClose:null!==w&&"return"!==w,onActivate:()=>k("return")}),(0,n.jsxs)("div",{className:"travellers passenger-field",ref:S,children:[(0,n.jsx)("span",{children:"Hà nh khách"}),(0,n.jsxs)("button",{type:"button",className:"passenger-toggle",onClick:()=>{k("passengers"),C(e=>!e)},"aria-expanded":N,"aria-haspopup":"dialog",children:[(0,n.jsx)("b",{children:$}),(0,n.jsx)("i",{"aria-hidden":"true",children:"â"})]}),N&&(0,n.jsxs)("div",{className:"passenger-popover",role:"dialog","aria-label":"Chá»n hà nh khách",children:[(0,n.jsxs)("div",{className:"passenger-popover-head",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"Hà nh khách"}),(0,n.jsx)("small",{children:"Tá»i Äa 9 khách má»i lượt tìm"})]}),(0,n.jsx)("button",{type:"button",className:"passenger-close",onClick:()=>{C(!1),k(null)},"aria-label":"Äóng chá»n hà nh khách",children:"Ã"})]}),[["adults","Ngưá»i lá»n","Từ 12 tuá»i"],["children","Trẻ em","Từ 2â11 tuá»i"],["infants","Em bé","Dưá»i 2 tuá
1»i"]].map(([e,t,i])=>(0,n.jsxs)("div",{className:"passenger-row",children:[(0,n.jsxs)("span",{children:[(0,n.jsx)("b",{children:t}),(0,n.jsx)("small",{children:i})]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("button",{type:"button",onClick:()=>A(e,-1),disabled:v[e]===+("adults"===e),"aria-label":`Giảm ${t}`,children:"â"}),(0,n.jsx)("strong",{"aria-live":"polite",children:v[e]}),(0,n.jsx)("button",{type:"button",onClick:()=>A(e,1),disabled:V>=9||"infants"===e&&v.infants>=v.adults,"aria-label":`TÄng ${t}`,children:"+"})]})]},e)),(0,n.jsx)("p",{className:"passenger-rule",children:"Em bé cần Äi cùng Ãt nhất má»t ngưá»i lá»n."}),(0,n.jsx)("button",{className:"passenger-done",type:"button",onClick:()=>{C(!1),k(null)},children:"Xong"})]})]}),(0,n.jsxs)("button",{className:"find-flight",type:"submit",children:["Tìm chuyến bay ",(0,n.jsx)("span",{children:"â"})]})]}),(0,n.jsx)("p",{className:"search-note","aria-live":"polite",children:T||"Chá»n hà nh trình Äá» xem kết quả và mức giá tham khảo."})]})}],5673)},7443,e=>{"use strict";var n=e.i(27741),t=e.i(35364);let i=[{id:1,title:"Bay thông minh, du lá»ch trá»n vẹn",subtitle:"Äặt vé máy bay, Äá»i vé, visa và combo du lá»ch á» má»t nÆ¡i Äáng tin cáºy.",image_url:"/generated/home-slide-1.webp",cta_label:"Tìm chuyến bay",cta_href:"#dat-ve"}];function a(e,n){if(!e.includes("images.unsplash.com/"))return e;let t=new URL(e);return t.searchParams.set("auto","format"),t.searchParams.set("fit","crop"),t.searchParams.set("w",String(n)),t.searchParams.set("q","76"),t.toString()}var r=e.i(98138),s=e.i(34403),c=e.i(5673);let l=e=>`${e.toLocaleString("vi-VN")}Ä`,o=new Set(["SGN","HAN","DAD","CXR","PQC","VCA","UIH","HUI","DLI","VII","HPH","THD","VDO"]),h=e=>e.match(/\(([A-Z]{3})\)/)?.[1]??e,d=e=>{let n=new Date;return n.setHours(12,0,0,0),n.setDate(n.getDate()+e),n.toISOString().slice(0,10)},u=e=>e.split("-").reverse().slice(0,2).join("/"),m=e=>e.split("-").reverse().join(""),g=[{city:"New York",country:"Mỹ",code:"JFK",badge:"Mua nhiá»u",note:"Du lá»ch · ThÄm thân",image:"/generated/destination-new-york.webp",href:"/ve-may-bay-di-new-york"},{city:"Toronto",country:"Canada",code:"YYZ",badge:"Hay mua",note:"ThÄm thân · Du há»c",image:"/generated/destination-toronto.webp",href:"/ve-may-bay-di-toronto"},{city:"Sydney",country:"Ãc",code:"SYD",badge:"Ná»i báºt",note:"Du lá»ch · Du há»c",image:"/generated/destination-sydney.webp",href:"/ve-may-bay-di-sydney"},{city:"London",country:"Anh",code:"LHR",badge:"Công tác",note:"Công tác · ThÄm thân",image:"/generated/destination-anh.webp",href:"/ve-may-bay-di-london"},{city:"Paris",country:"Pháp",code:"CDG",badge:"Du lá»ch",note:"Du lá»ch · Công tác",image:"/generated/destination-phap.webp",href:"/ve-may-bay-di-paris"},{city:"Berlin",country:"Äức",code:"BER",badge:"Giá tá»t",note:"Du há»c · ThÄm thân",image:"/generated/destination-berlin.webp",href:"/ve-may-bay-di-berlin"},{city:"Moscow",country:"Nga",code:"MOW",badge:"Khám phá",note:"Du lá»ch · Công tác",image:"/generated/route-moscow-v1.webp",href:"/ve-may-bay-di-moscow"},{city:"Rome",country:"Ã",code:"FCO",badge:"Má»i",note:"Du lá»ch · ThÄm thân",image:"/generated/route-rome-v1.webp",href:"/ve-may-bay-di-rome"}],p=[{city:"Hà Ná»i",country:"Miá»n Bắc",code:"HAN",badge:"Mua nhiá»u",note:"Công tác · Du lá»ch",image:"/generated/destination-ha-noi.webp",href:"/ve-may-bay-di-ha-noi"},{city:"Äà Nẵng",country:"Miá»n Trung",code:"DAD",badge:"Hay mua",note:"Du lá»ch · Gia Äình",image:"/generated/destination-da-nang.webp",href:"/ve-may-bay-di-da-nang"},{city:"Phú Quá»c",country:"Kiên Giang",code:"PQC",badge:"Nghá» dưỡng",note:"Biá»n Äẹp · Gia Äình",image:"/generated/route-phu-quoc-v1.webp",href:"/ve-may-bay-di-phu-quoc"},{city:"Nha Trang",country:"Khánh Hòa",code:"CXR",badge:"Du lá»ch",note:"Biá»n Äẹp · Nghá» dưỡng",image:"/generated/route-nha-trang-v1.webp",href:"/ve-may-bay-di-nha-trang"},{city:"Quy NhÆ¡n",country:"Bình Äá»nh",code:"UIH",badge:"Giá tá»t",note:"Khám phá · Gia Äình",image:"/generated/route-quy-nhon-v1.webp",href:"/ve-may-bay-di-quy-nhon"},{city:"Äà Lạt",country:"Lâm Äá»ng",code:"DLI",badge:"Cuá»i tuần",note:"Cặp Äôi · Nghá» dưỡng",image:"/generated/route-da-lat-v1.webp",href:"/ve-may-bay-di-da-lat"}];e.s(["default",0,function({initialData:e}){let y=e.visaLandings,[x,b]=(0,t.useState)(0),[j,v]=(0,t.useState)(!1),[f,N]=(0,t.useState)(""),[C,w]=(0,t.useState)(null),[k,S]=(0,t.useState)("ticket_change"),[T,_]=(0,t.useState)("domestic"),[D,V]=(0,t.useState)("international"),$=e.slides[x]??i[0],A=a($.image_url,1600),H=e.airlineServices.filter(e=>e.service_type===k),I=(0,t.useMemo)(()=>{let n=e.cheapFlights.filter(e=>o.has(h(e.destination))).slice(0,3).map((e,n)=>({...e,id:`db-${e.id}`,departureDate:d(10+4*n),tripType:"one_way",category:"domestic"}));n.some(e=>"CXR"===h(e.destination))||n.push({id:"domestic-cxr",airline:"Vietnam Airlines",origin:"TP. Há» Chà Minh (SGN)",destination:"Nha Trang (CXR)",departureDate:d(22),price:929e3,badge:"Biá»n Äẹp",tripType:"one_way",category:"domestic"});let t=e.cheapFlights.find(e=>!o.has(h(e.destination)));return{domestic:n,international:[t?{...t,id:`db-${t.id}`,departureDate:d(14),price:Math.max(t.price,239e4),tripType:"one_way",category:"international"}:{id:"international-bkk",airline:"AirAsia",origin:"TP. Há» Chà Minh (SGN)",destination:"Bangkok (DMK)",departureDate:d(14),price:239e4,badge:"Gần Viá»t Nam",tripType:"one_way",category:"international"},{id:"usa-lax",airline:"Vietnam Airlines",origin:"TP. Há» Chà Minh (SGN)",destination:"Los Angeles (LAX)",departureDate:d(18),returnDate:d(32),price:34704e3,badge:"Mỹ ná»i báºt",tripType:"round_trip",category:"international"},{id:"usa-sfo",airline:"STARLUX Airlines",origin:"TP. Há» Chà Minh (SGN)",destination:"San Francisco (SFO)",departureDate:d(21),returnDate:d(35),price:27213e3,badge:"Giá tá»t Äi Mỹ",tripType:"round_trip",category:"international"},{id:"usa-sea",airline:"EVA Air",origin:"TP. Há» Chà Minh (SGN)",destination:"Seattle (SEA)",departureDate:d(25),returnDate:d(39),price:299e5,badge:"Bá» Tây Hoa Kỳ",tripType:"round_trip",category:"international"}]}},[e.cheapFlights]);function M(e){e.startsWith("#")?document.querySelector(e)?.scrollIntoView({behavior:"smooth",block:"start"}):window.location.assign(e)}async function P(e){if(e.preventDefault(),!C)return;let n=new FormData(e.currentTarget),t=await fetch("/api/service-requests",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({request_type:C.type,booking_reference:n.get("reference"),customer_name:n.get("name"),customer_phone:n.get("phone"),customer_email:n.get("email"),note:`${C.note?`${C.note} 2`:""}
2${String(n.get("note")??"")}`,...(0,s.formCaptchaPayload)(n)})}),i=await t.json();t.ok?(w(null),N(`Ä\xe3 gá»i y\xeau cầu. Chuy\xean vi\xean AIVIVU sẽ li\xean há» sá»m. M\xe3 há» trợ: ${i.reference}. ${i.email_message}`),document.querySelector("#doi-ve")?.scrollIntoView({behavior:"smooth"})):N(i.error??"Chưa thá» gá»i yêu cầu.")}(0,t.useEffect)(()=>{if(e.slides.length<2||j||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let n=window.setInterval(()=>{b(n=>(n+1)%e.slides.length)},6e3);return()=>window.clearInterval(n)},[e.slides.length,j]),(0,t.useEffect)(()=>{if(e.slides.length<2)return;let n=e.slides[(x+1)%e.slides.length];new Image().src=a(n.image_url,1600)},[x,e.slides]);let K=!!$.title?.trim(),L=$.image_url.includes("/generated/home-editorial-"),G=L?$.image_url.match(/home-editorial-([a-z-]+)-v\d+\.webp$/)?.[1]??"generic":"";return(0,n.jsxs)("main",{id:"trang-chu",children:[(0,n.jsx)("div",{className:"announce",children:(0,n.jsxs)("div",{className:"shell",children:[(0,n.jsxs)("span",{children:["⦠",e.settings.announcement]}),(0,n.jsx)("a",{href:"tel:19006695",children:"Tư vấn: 1900 6695"})]})}),(0,n.jsx)(r.SiteHeader,{active:"home"}),(0,n.jsxs)("section",{className:`hero${K?"":" hero-no-copy"}${L?` hero-editorial hero-editorial-${G}`:""}`,style:{"--hero-image":`url(${A})`},children:[K&&(0,n.jsxs)("div",{className:"shell hero-content",children:[(0,n.jsx)("p",{className:"hero-kicker",children:"AIVIVU · Äại lý du lá»ch trá»±c tuyến"}),(0,n.jsx)("h1",{children:$.title}),$.subtitle&&(0,n.jsx)("p",{children:$.subtitle}),(0,n.jsxs)("div",{className:"hero-actions",children:[(0,n.jsxs)("button",{className:"hero-cta hero-booking-cta",type:"button",onClick:()=>M("#dat-ve"),children:["Äặt vé ngay ",(0,n.jsx)("span",{children:"â"})]}),$.cta_label&&(0,n.jsxs)("button",{className:"hero-cta hero-secondary-cta",type:"button",onClick:()=>M($.cta_href),children:[$.cta_label," ",(0,n.jsx)("span",{children:"â"})]})]}),(0,n.jsxs)("div",{className:"hero-trust",children:[(0,n.jsx)("span",{children:"â Giá minh bạch"}),(0,n.jsx)("span",{children:"â Há» trợ Äá»i vé"}),(0,n.jsx)("span",{children:"â Tư vấn 24/7"})]})]}),e.slides.length>1&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:"slide-arrow prev",type:"button","aria-label":"Slide trưá»c",onClick:()=>b(n=>(n-1+e.slides.length)%e.slides.length),children:"â¹"}),(0,n.jsx)("button",{className:"slide-arrow next",type:"button","aria-label":"Slide tiếp theo",onClick:()=>b(n=>(n+1)%e.slides.length),children:"âº"}),(0,n.jsxs)("div",{className:"slide-dots shell","aria-label":"Äiá»u khiá»n banner",children:[e.slides.map((e,t)=>(0,n.jsx)("button",{className:t===x?"active":"",type:"button","aria-label":`Banner ${t+1}`,"aria-current":t===x?"true":void 0,onClick:()=>b(t)},e.id)),(0,n.jsx)("button",{className:"slide-pause",type:"button","aria-label":j?"Tiếp tục tá»± chuyá»n slide":"Tạm dừng tá»± chuyá»n slide",onClick:()=>v(e=>!e),children:j?"â¶":"â
¡"})]})]})]}),(0,n.jsx)("section",{id:"dat-ve",className:"booking-area",children:(0,n.jsx)(c.default,{})}),(0,n.jsx)("section",{id:"tai-sao-aivivu",className:"why-aivivu",children:(0,n.jsxs)("div",{className:"shell why-aivivu-inner",children:[(0,n.jsxs)("div",{className:"why-aivivu-heading",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"overline",children:"AIVIVU care · Äặt vé an tâm hÆ¡n"}),(0,n.jsxs)("h2",{children:[(0,n.jsx)("span",{children:"Vì sao Äặt vé tại"})," ",(0,n.jsx)("i",{children:"AIVIVU?"})]})]}),(0,n.jsx)("p",{className:"why-aivivu-lead",children:"Không chá» tìm má»t mức giá tá»t. AIVIVU giúp bạn hiá»u Äúng vé, chá»n Äúng hà nh trình và luôn có ngưá»i há» trợ khi cần."})]}),(0,n.jsxs)("div",{className:"why-aivivu-grid",children:[(0,n.jsxs)("article",{children:[(0,n.jsxs)("div",{className:"why-card-top",children:[(0,n.jsx)("span",{children:"01"}),(0,n.jsx)("b",{"aria-hidden":"true",children:"â"})]}),(0,n.jsx)("h3",{children:"Giá vé dá»
Äá»i chiếu"}),(0,n.jsx)("p",{children:"Nhìn rõ hà nh trình, giá» bay và chi phà trưá»c khi quyết Äá»nh."})]}),(0,n.jsxs)("article",{children:[(0,n.jsxs)("div",{className:"why-card-top",children:[(0,n.jsx)("span",{children:"02"}),(0,n.jsx)("b",{"aria-hidden":"true",children:"â"})]}),(0,n.jsx)("h3",{children:"Tư vấn Äúng hà nh trình"}),(0,n.jsx)("p",{children:"Chá»n giá» bay, hà nh lý và Äiá»u kiá»n vé hợp vá»i nhu cầu thá»±c tế."})]}),(0,n.jsxs)("article",{children:[(0,n.jsxs)("div",{className:"why-card-top",children:[(0,n.jsx)("span",{children:"03"}),(0,n.jsx)("b",{"aria-hidden":"true",children:"â¦"})]}),(0,n.jsx)("h3",{children:"Há» trợ sau Äặt chá»"}),(0,n.jsx)("p",{children:"Cần Äá»i vé hay mua hà nh lý, bạn luôn có nÆ¡i Äá» há»i nhanh."})]}),(0,n.jsxs)("article",{children:[(0,n.jsxs)("div",{className:"why-card-top",children:[(0,n.jsx)("span",{children:"04"}),(0,n.jsx)("b",{"aria-hidden":"true",children:"â"})]}),(0,n.jsx)("h3",{children:"Sẵn sà ng trưá»c giá» bay"}),(0,n.jsx)("p",{children:"Nháºn hưá»ng dẫn rõ rà ng từ lúc giữ chá» Äến ngà y khá»i hà nh."})]})]}),(0,n.jsxs)("div",{className:"why-aivivu-footer",children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("b",{children:"Äúng vé."})," Äá»§ thông tin. Có ngưá»i Äá»ng hà nh."]}),(0,n.jsxs)("button",{type:"button",onClick:()=>M("#dat-ve"),children:["Bắt Äầu Äặt vé ",(0,n.jsx)("span",{children:"â"})]})]})]})}),(0,n.jsx)("section",{id:"doi-ve",className:"section airline-services-home",children:(0,n.jsxs)("div",{className:"shell",children:[(0,n.jsxs)("div",{className:"section-top",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"overline",children:"Há» trợ sau Äặt chá»"}),(0,n.jsxs)("h2",{className:"service-section-title",children:["Äá»i vé & mua hà nh lý ",(0,n.jsx)("i",{children:"theo từng hãng bay."})]})]}),(0,n.jsx)("a",{className:"text-button",href:"/doi-ve-mua-hanh-ly/",children:"Xem tất cả dá»ch vụ â"})]}),(0,n.jsxs)("div",{className:"airline-service-tabs",role:"tablist","aria-label":"Chá»n loại dá»ch vụ",children:[(0,n.jsx)("button",{className:"ticket_change"===k?"active":"",type:"button",role:"tab","aria-selected":"ticket_change"===k,onClick:()=>S("ticket_change"),children:"Äá»i vé"}),(0,n.jsx)("button",{className:"extra_baggage"===k?"active":"",type:"button",role:"tab","aria-selected":"extra_baggage"===k,onClick:()=>S("extra_baggage"),children:"Mua thêm hà nh lý"})]}),(0,n.jsx)("div",{className:"airline-service-home-grid",children:H.map(e=>(0,n.jsxs)("a",{className:"airline-service-home-card",href:`/${e.slug}`,style:{"--airline-service-brand":e.airline_brand_color||"#174b82"},children:[(0,n.jsx)("img",{src:a(e.hero_image||i[0].image_url,700),alt:`${"ticket_change"===e.service_type?"Äá»i vé":"Mua thêm hà nh lý"} ${e.airline_name}`,loading:"lazy",decoding:"async",fetchPriority:"low"}),(0,n.jsx)("span",{children:"ticket_change"===e.service_type?"Äá»I VÃ":"MUA HÃNH LÃ"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{children:e.title}),(0,n.jsx)("b",{children:"Xem chi tiết â"})]})]},e.id))})]})}),(0,n.jsx)("section",{id:"ve-gia-re",className:"cheap-section",children:(0,n.jsxs)("div",{className:"shell",children:[(0,n.jsxs)("div",{className:"section-top",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"overline light",children:"Giá vé Äang tá»t"}
2),(0,n.jsxs)("h2",{children:["Vé máy bay giá rẻ ",(0,n.jsx)("i",{children:"hôm nay."})]})]}),(0,n.jsx)("p",{className:"section-copy",children:"Giá từ ÄÆ°á»£c Äá»i chiếu theo mặt bằng vé gần nhất và có thá» thay Äá»i theo chá» còn lại. Bấm âTìm véâ Äá» kiá»m tra Äúng ngà y bay."})]}),(0,n.jsxs)("div",{className:"cheap-tabs",role:"tablist","aria-label":"Chá»n nhóm ÄÆ°á»ng bay",children:[(0,n.jsx)("button",{type:"button",role:"tab","aria-selected":"domestic"===T,className:"domestic"===T?"active":"",onClick:()=>_("domestic"),children:"Ná»i Äá»a"}),(0,n.jsx)("button",{type:"button",role:"tab","aria-selected":"international"===T,className:"international"===T?"active":"",onClick:()=>_("international"),children:"Quá»c tế · Mỹ ná»i báºt"})]}),(0,n.jsx)("div",{className:"cheap-grid",role:"tabpanel",children:I[T].map(e=>{let t,i,a,r;return(0,n.jsxs)("article",{className:"cheap-card",children:[(0,n.jsxs)("div",{className:"cheap-head",children:[(0,n.jsx)("span",{children:e.badge}),(0,n.jsx)("b",{children:e.airline})]}),(0,n.jsxs)("div",{className:"cheap-route",children:[(0,n.jsx)("strong",{children:h(e.origin)}),(0,n.jsx)("i",{children:"â"}),(0,n.jsx)("strong",{children:h(e.destination)})]}),(0,n.jsxs)("p",{children:[e.origin," â ",e.destination]}),(0,n.jsxs)("div",{className:"cheap-bottom",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("small",{children:"round_trip"===e.tripType?`Khứ há»i \xb7 ${u(e.departureDate)} â ${u(e.returnDate??"")}`:`Má»t chiá»u \xb7 ${u(e.departureDate)}`}),(0,n.jsxs)("b",{children:["Từ ",l(e.price)]})]}),(0,n.jsx)("a",{href:(t=h(e.origin),i=h(e.destination),a=new URLSearchParams({origin:e.origin,destination:e.destination,departure_date:e.departureDate,trip_type:e.tripType,adults:"1",children:"0",infants:"0",Airline:"",Info:"book-avv",Style:""}),e.returnDate&&a.set("return_date",e.returnDate),r=`${t}${i}${m(e.departureDate)}${e.returnDate?`-${i}${t}${m(e.returnDate)}`:""}`,a.set("SearchParam",`${r}-100`),`/tim-kiem-chuyen-bay?${a.toString()}`),"aria-label":`T\xecm v\xe9 ${e.origin} Äi ${e.destination}`,children:"Tìm vé"})]})]},e.id)})})]})}),(0,n.jsx)("section",{id:"duong-bay-noi-bat",className:"featured-routes-section",children:(0,n.jsxs)("div",{className:"shell",children:[(0,n.jsxs)("div",{className:"featured-routes-heading",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"overline",children:"ÄÆ°á»ng bay ÄÆ°á»£c quan tâm"}),(0,n.jsxs)("h2",{children:["Chá»n thà nh phá», ",(0,n.jsx)("i",{children:"bắt Äầu hà nh trình."})]}),(0,n.jsx)("p",{children:"Khám phá các ÄÆ°á»ng bay phá» biến theo Äúng nhu cầu du lá»ch, thÄm thân, du há»c và công tác."})]}),(0,n.jsxs)("div",{className:"featured-route-tabs",role:"tablist","aria-label":"Chá»n ÄÆ°á»ng bay quá»c tế hoặc ná»i Äá»a",children:[(0,n.jsx)("button",{type:"button",role:"tab","aria-selected":"international"===D,className:"international"===D?"active":"",onClick:()=>V("international"),children:"Quá»c tế"}),(0,n.jsx)("button",{type:"button",role:"tab","aria-selected":"domestic"===D,className:"domestic"===D?"active":"",onClick:()=>V("domestic"),children:"Ná»i Äá»a"})]})]}),(0,n.jsx)("div",{className:"featured-route-grid",role:"tabpanel",children:("international"===D?g:p).map(e=>(0,n.jsxs)("article",{className:"featured-route-card",children:[(0,n.jsxs)("a",{className:"featured-route-image",href:e.href,"aria-label":`Xem v\xe9 m\xe1y bay Äi ${e.city}`,children:[(0,n.jsx)("img",{src:a(e.image,720),alt:`To\xe0n cảnh ${e.city}, ${e.country}`,loading:"lazy",decoding:"async",fetchPriority:"low"}),(0,n.jsx)("span",{children:e.badge}),(0,n.jsx)("b",{children:e.code})]}),(0,n.jsxs)("div",{className:"featured-route-body",children:[(0,n.jsx)("p",{children:e.country}),(0,n.jsxs)("h3",{children:["Vé máy bay Äi ",e.city]}),(0,n.jsx)("small",{children:e.note}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("a",{href:e.href,children:["Xem ÄÆ°á»ng bay ",(0,n.jsx)("span",{children:"â"})]}),(0,n.jsx)("a",{href:"#dat-ve",children:"Äặt vé"})]})]})]},`${D}
2-${e.city}`))}),(0,n.jsxs)("div",{className:"featured-routes-footer",children:[(0,n.jsx)("span",{children:"Chưa thấy Äiá»m Äến bạn cần?"}),(0,n.jsx)("a",{href:"/ve-may-bay/",children:"Xem tất cả ÄÆ°á»ng bay â"})]})]})}),(0,n.jsxs)("section",{id:"visa",className:"section shell home-visa-section",children:[(0,n.jsxs)("div",{className:"section-top",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"overline",children:"Dá»ch vụ visa"}),(0,n.jsxs)("h2",{children:["Chuẩn bá» visa",(0,n.jsx)("br",{}),(0,n.jsx)("i",{children:"an tâm hÆ¡n."})]})]}),(0,n.jsx)("a",{className:"text-button",href:"/dich-vu-visa/",children:"Xem tất cả dá»ch vụ visa â"})]}),(0,n.jsx)("div",{className:"home-visa-landing-grid",children:y.map((t,i)=>{let a;return(0,n.jsxs)("a",{className:"home-visa-landing-card",href:`/dich-vu-visa/${t.slug}`,children:[(0,n.jsxs)("div",{className:"home-visa-card-top",children:[(0,n.jsx)("span",{children:String(i+1).padStart(2,"0")}),(0,n.jsx)("img",{src:(a=t.slug,e.visaLandings.find(e=>e.slug===a)?.flag_image??""),alt:`Cá» ${t.name}`,width:"160",height:"107",loading:"lazy"})]}),(0,n.jsx)("small",{children:t.region}),(0,n.jsxs)("h3",{children:["Visa ",t.name]}),(0,n.jsx)("p",{children:t.tagline}),(0,n.jsxs)("b",{children:["Xem há» sÆ¡ ",(0,n.jsx)("i",{children:"â"})]})]},t.slug)})})]}),(0,n.jsx)("section",{id:"combo",className:"combo-section",children:(0,n.jsxs)("div",{className:"shell",children:[(0,n.jsxs)("div",{className:"section-top combo-section-top",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"overline",children:"Combo du lá»ch"}),(0,n.jsxs)("h2",{children:["Chá»n combo, ",(0,n.jsx)("i",{children:"Äi nhẹ nhà ng hÆ¡n."})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"section-copy",children:"Vé bay, lưu trú và lá»ch trình rõ rà ng trong má»t lá»±a chá»n."}),(0,n.jsx)("a",{className:"text-button",href:"/combo-du-lich/",children:"Xem tất cả combo â"})]})]}),(0,n.jsx)("div",{className:"combo-grid",children:e.combos.map(e=>(0,n.jsxs)("a",{className:"combo-card",href:`/combo-du-lich/${e.slug}`,children:[(0,n.jsx)("img",{src:a(e.hero_image,800),alt:e.title,loading:"lazy",decoding:"async",fetchPriority:"low"}),(0,n.jsxs)("div",{className:"combo-card-body",children:[(0,n.jsx)("span",{children:e.duration||"Combo linh hoạt"}),(0,n.jsx)("h3",{children:e.title}),(0,n.jsxs)("p",{children:[e.origin||"Viá»t Nam"," ",(0,n.jsx)("b",{children:"â"})," ",e.destination]}),(0,n.jsx)("small",{children:e.transport||e.excerpt}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:e.price_from?`Từ ${l(e.price_from)}`:"Liên há»"}),(0,n.jsx)("b",{className:"combo-card-link",children:"Xem combo â"})]})]})]},e.id))}),!e.combos.length&&(0,n.jsx)("p",{className:"combo-empty",children:"Các combo Äang ÄÆ°á»£c cáºp nháºt. Vui lòng quay lại sau hoặc liên há» AIVIVU Äá» ÄÆ°á»£c tư vấn."})]})}),(0,n.jsxs)("section",{className:"shell promise-bar",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"10+ nÄm"}),(0,n.jsx)("span",{children:"Äá»ng hà nh cùng khách Viá»t"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"200+ hãng bay"}),(0,n.jsx)("span",{children:"lá»±a chá»n trong nưá»c & quá»c tế"})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"24/7 há» trợ"}),(0,n.jsx)("span",{children:"trưá»c, trong và sau hà nh trình"})]}),(0,n.jsx)("button",{type:"button",onClick:()=>w({type:"general",title:"Yêu cầu tư vấn hà nh trình"}),children:"Lên kế hoạch cùng AIVIVU â"})]}),(0,n.jsx)(r.SiteFooter,{}),C&&(0,n.jsx)("section",{className:"modal-backdrop",role:"dialog","aria-modal":"true","aria-labelledby":"service-title",children:(0,n.jsxs)("form",{className:"modal-panel",onSubmit:P,children:[(0,n.jsx)("button",{type:"button",className:"modal-close",onClick:()=>w(null),"aria-label":"Äóng",children:"Ã"}),(0,n.jsx)("p",{className:"overline",children:"AIVIVU care"}),(0,n.jsx)("h2",{id:"service-title",children:C.title}),(0,n.jsx)("p",{className:"modal-text",children:"Äiá»n há» tên và sá» Äiá»n thoại Äá» chúng tôi gá»i lại, tư vấn rõ rà ng vá» chi phà và quy trình."}),(0,n.jsxs)("label",{children:["Mã Äặt chá» / sá» vé (nếu có)",(0,n.jsx)("input",{name:"reference",placeholder:"Và dụ: ABCD12"})]}),(0,n.jsxs)("label",{children:["Há» và tên",(0,n.jsx)("input",{name:"name",required:!0,placeholder:"Nguyá»
n VÄn A"})]}),(0,n.jsxs)("label",{children:["Sá» Äiá»n thoại",(0,n.jsx)("input",{name:"phone",type:"tel",required:!0,inputMode:"tel",placeholder:"0934 589 488"})]}),(0,n.jsxs)("label",{children:["Email (không bắt buá»c)",(0,n.jsx)("input",{name:"email",type:"email",placeholder:"[email protected]"})]}),(0,n.jsxs)("label",{children:["Ná»i dung cần há» trợ",(0,n.jsx)("textarea",{name:"note",required:!0,placeholder:"Mô tả nhu cầu cá»§a bạn..."})]}),(0,n.jsx)(s.default,{}),(0,n.jsx)("button",{className:"modal-submit",type:"submit",children:"Gá»i yêu cầu tư vấn â"})]})})]})}],7443)}]);
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.