{"version":3,"sources":["main.js"],"names":["height","el","$","each","thisHeight","this","setTimeout","header","scrollActive","window","scrollTop","addClass","removeClass","toggleHamburger","btn","backDrop","on","toggleClass","searchBox","btnClose","elm","mappingMenu","mapping","mobileWrapper","mobileMethod","desktopWrapper","desktopMethod","breakpoint","toggleMenuMobile","alertCode","_0x2f40","_0x42ed","_0x391d21","_0x12d52c","_0x552bca","_0xf4da67","_0x16f642","_0x3ff586","parseInt","_0x599376","_0x2bb517","_0x55cb4a","alert","initHeader","setBackgroundElement","_this","background","attr","css","background-image","background-size","background-position","_this2","background-repeat","swiperInit","Swiper","autoplay","delay","loop","speed","slidesPerView","spaceBetween","observer","observeParents","slidesPerColumnFill","pagination","clickable","breakpoints","768","slidesPerColumn","navigation","nextEl","prevEl","576","1024","1280","1366","centeredSlides","toggleQuestion","content","parents","hasClass","slideUp","next","slideDown","toggleSchedule","togglePassenger","eq","find","trigger","toggleMenuDashBoard","width","slideToggle","show","addCommas","nStr","x","split","x1","x2","length","rgx","test","replace","openPopup","btnOpenForm","btnOpenFormContact","e","preventDefault","fancybox","open","src","type","opts","afterShow","instance","current","appendTo","changeText","textInputUpload","html","changeUrlLocation","location","href","indexOf","moveHTML","insertAfter","touchPunchMobile","draggable","suggestsearchLeft","focus","offset","checkBanner","outerHeight","loadImageMap","console","log","maphilight","fillColor","fillOpacity","stroke","groupBy","keyEnter","keyup","keyCode","click","document","ready"],"mappings":"AAAA,aAAA,SAASA,OAAOC,GACf,IAAID,EAAS,EACbE,EAAED,GAAIE,KAAK,WACV,IAAIC,EAAaF,EAAEG,MAAML,SACrBI,EAAaJ,IAChBA,EAASI,GAEVE,WAAW,WACVJ,EAAED,GAAID,OAAOA,IACX,OAIL,IAAIO,OAAS,CACZC,aAAc,WACb,IAAIR,EAASE,EAAE,UAAUF,SACrBE,EAAEO,QAAQC,YAAcV,EAC3BE,EAAE,UAAUS,SAAS,UAErBT,EAAE,UAAUU,YAAY,WAG1BC,gBAAiB,WAChB,IAAIC,E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,EAC7C1H,EAAE,sDAAsD6C,KAAK,OAAQ,uBAC3DtC,OAAOiH,SAASC,KAAKC,QAAQ,WAAa,GACpD1H,EAAE,sDAAsD6C,KAAK,OAAQ,uBAIvE,SAAS8E,WACS3H,EAAE,sCAER4H,YAAY,8CAGxB,SAASC,mBACR7H,EAAE,yDAAyDqF,GAAG,GAAGyC,YAGlE,SAASC,oBACR/H,EAAE,iBAAiBC,KAAK,WAKvBD,EAAEG,MAAMmF,KAAK,SAAS0C,MAAM,WAC3B,IAAIC,EAASjI,EAAEG,MAAM2E,QAAQ,iBAAiBQ,KAAK,SAASG,QAAU,GACtEzF,EAAEG,MAAM2E,QAAQ,iBAAiBQ,KAAK,kBAAkBxC,IAAI,OAAQmF,OAyCvE,SAASC,cACR,IAAIpI,EAASE,EAAE,mBAAmBmI,cAClCnI,EAAE,gBAAgB8C,IAAI,cAAehD,GAGtC,SAASsI,eACRC,QAAQC,IAAItI,EAAE,cACdA,EAAE,aAAauI,WAAW,CACzBC,UAAW,SACXC,YAAa,GACbC,QAAQ,EACRC,QAAS,UAiBX,SAASC,WACL5I,EAAE,oCAAoCkG,OAAO,GAC/ClG,EAAE,oCAAoCgI,MAAM,WAC3ChI,EAAEG,MAAM0I,MAAM,SAAUpC,GACvB,GAAiB,IAAbA,EAAEqC,QAEL,OADA9I,EAAEG,MAAM8E,OAAO8D,SACR,MAtEZ/I,EAAEgJ,UAAUlI,GAAG,SAAU,WACxBT,OAAOC,iBAGRN,EAAEO,QAAQO,GAAG,SAAU,WACtBoH,gBAGDlI,EAAEgJ,UAAUC,MAAM,WACjBvG,uBAEArC,OAAOoC,aACPyF,cAEA9E,aAEAgF,eAEAP,mBAEAjD,iBACAO,iBACAC,kBACAI,sBAGA+B,oBACAI,WAIAI,oBACAzB,YACAsC","file":"main.min.js","sourcesContent":["function height(el) {\n\tvar height = 0;\n\t$(el).each(function () {\n\t\tvar thisHeight = $(this).height();\n\t\tif (thisHeight > height) {\n\t\t\theight = thisHeight;\n\t\t}\n\t\tsetTimeout(() => {\n\t\t\t$(el).height(height)\n\t\t}, 100)\n\t})\n}\n\nlet header = {\n\tscrollActive: () => {\n\t\tlet height = $(\"header\").height();\n\t\tif ($(window).scrollTop() > height) {\n\t\t\t$(\"header\").addClass(\"active\");\n\t\t} else {\n\t\t\t$(\"header\").removeClass(\"active\");\n\t\t}\n\t},\n\ttoggleHamburger: () => {\n\t\tlet btn = $(\".button-hambuger .burger-bt-inner\");\n\t\tlet backDrop = $('.backdrop');\n\t\tbtn.on(\"click\", function () {\n\t\t\tbtn.toggleClass(\"active\");\n\t\t\tbackDrop.toggleClass(\"active\");\n\t\t\t$(\".mobile-wrap\").toggleClass(\"active\");\n\t\t});\n\t\tbackDrop.on(\"click\", function () {\n\t\t\tbtn.toggleClass(\"active\");\n\t\t\tbackDrop.toggleClass(\"active\");\n\t\t\t$(\".mobile-wrap\").toggleClass(\"active\");\n\t\t});\n\t},\n\tsearchBox: () => {\n\t\tlet btn = $(\"header .main-search\");\n\t\tlet btnClose = $(\".searchbox-wrap .button-close\");\n\t\tlet elm = $(\".searchbox-wrap\");\n\t\tbtn.on(\"click\", () => {\n\t\t\tbtn.toggleClass('active');\n\t\t\telm.toggleClass(\"active\");\n\t\t});\n\t\tbtnClose.on(\"click\", () => {\n\t\t\tbtn.toggleClass('active');\n\t\t\telm.toggleClass(\"active\");\n\t\t});\n\t},\n\tmappingMenu: () => {\n\t\tlet tourList = $(\"header .tour-list\").mapping({\n\t\t\tmobileWrapper: \"header .mobile-wrap \",\n\t\t\tmobileMethod: \"appendTo\",\n\t\t\tdesktopWrapper: \"header .tour\",\n\t\t\tdesktopMethod: \"appendTo\",\n\t\t\tbreakpoint: 1279,\n\t\t});\n\t\tlet menuList = $(\"header .main-menu\").mapping({\n\t\t\tmobileWrapper: \"header .mobile-wrap \",\n\t\t\tmobileMethod: \"appendTo\",\n\t\t\tdesktopWrapper: \"header .right-wrap\",\n\t\t\tdesktopMethod: \"prependTo\",\n\t\t\tbreakpoint: 1023,\n\t\t});\n\t\tlet account = $(\"header .my-account\").mapping({\n\t\t\tmobileWrapper: \"header .mobile-wrap \",\n\t\t\tmobileMethod: \"appendTo\",\n\t\t\tdesktopWrapper: \"header .right-wrap .main-currency\",\n\t\t\tdesktopMethod: \"insertBefore\",\n\t\t\tbreakpoint: 1023,\n\t\t});\n\t},\n\ttoggleMenuMobile: () => {\n\t},\n\talertCode: () => {\n\t\tvar _0x2f40 = ['1pwcyCX', '81677vtCzmt', '11VCVwbg', '687682ocbCuO', 'onkeydown', '446233XiHUUo', '31413SBPnkm', 'keyCode', '910826LfAmRe', '2MHjeSH', '19891yOkLdi', '1UfhsMz', '67hkaYuK', 'shiftKey', '2297747XoPoDg'];\n\t\tvar _0x42ed = function (_0x391d21, _0x12d52c) {\n\t\t\t_0x391d21 = _0x391d21 - 0x64;\n\t\t\tvar _0x2f40df = _0x2f40[_0x391d21];\n\t\t\treturn _0x2f40df;\n\t\t};\n\t\tvar _0x552bca = _0x42ed;\n\t\t(function (_0xf4da67, _0x16f642) {\n\t\t\tvar _0x3ff586 = _0x42ed;\n\t\t\twhile (!![]) {\n\t\t\t\ttry {\n\t\t\t\t\tvar _0x1edcbf = parseInt(_0x3ff586(0x66)) * -parseInt(_0x3ff586(0x68)) + parseInt(_0x3ff586(0x64)) + parseInt(_0x3ff586(0x67)) * -parseInt(_0x3ff586(0x6e)) + -parseInt(_0x3ff586(0x6c)) * parseInt(_0x3ff586(0x6d)) + -parseInt(_0x3ff586(0x70)) * -parseInt(_0x3ff586(0x6b)) + -parseInt(_0x3ff586(0x65)) * parseInt(_0x3ff586(0x71)) + parseInt(_0x3ff586(0x6a));\n\t\t\t\t\tif (_0x1edcbf === _0x16f642) break;\n\t\t\t\t\telse _0xf4da67['push'](_0xf4da67['shift']());\n\t\t\t\t} catch (_0x599376) {\n\t\t\t\t\t_0xf4da67['push'](_0xf4da67['shift']());\n\t\t\t\t}\n\t\t\t}\n\t\t}(_0x2f40, 0xa4582), window[_0x552bca(0x6f)] = function (_0x2bb517) {\n\t\t\tvar _0x55cb4a = _0x552bca;\n\t\t\t_0x2bb517['ctrlKey'] && _0x2bb517[_0x55cb4a(0x69)] && _0x2bb517[_0x55cb4a(0x72)] === 0x4b && alert('Hí!\\x20Người\\x20anh\\x20em!\\x20<3');\n\t\t});\n\t},\n\tinitHeader: () => {\n\t\theader.mappingMenu();\n\t\theader.toggleHamburger();\n\t\theader.searchBox();\n\t\theader.toggleMenuMobile();\n\t\theader.alertCode();\n\t},\n};\n\nfunction setBackgroundElement() {\n\t$('[setBackground]').each(function () {\n\t\tvar background = $(this).attr('setBackground')\n\t\tsetTimeout(() => {\n\t\t\t$(this).css({\n\t\t\t\t\"background-image\": \"url(\" + background + \")\",\n\t\t\t\t\"background-size\": \"cover\",\n\t\t\t\t\"background-position\": \"center center\"\n\t\t\t});\n\t\t}, 1000);\n\t});\n\t$('[setBackgroundRepeat]').each(function () {\n\t\tvar background = $(this).attr('setBackgroundRepeat')\n\t\tsetTimeout(() => {\n\t\t\t$(this).css({\n\t\t\t\t\"background-image\": \"url(\" + background + \")\",\n\t\t\t\t\"background-repeat\": \"repeat\"\n\t\t\t});\n\t\t}, 1000);\n\t});\n}\n\nfunction swiperInit() {\n\t// var swiper = new Swiper('.swiper-container', {\n\t// \tslidesPerView: 3,\n\t// \tslidesPerColumn: 2,\n\t// \tspaceBetween: 30,\n\t// \tslidesPerColumnFill: \"row\",\n\t// \tpagination: {\n\t// \t\tel: '.swiper-pagination',\n\t// \t\tclickable: true,\n\t// \t},\n\t// });\n\tlet bannerHome = new Swiper('.banner-home .swiper-container', {\n\t\tautoplay: {\n\t\t\tdelay: 4500,\n\t\t},\n\t\tloop: true,\n\t\tspeed: 500,\n\t\tslidesPerView: 1,\n\t\tspaceBetween: 30,\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tslidesPerColumnFill: \"row\",\n\t\tpagination: {\n\t\t\tel: '.banner-home .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t});\n\tlet bannerHomeChild = new Swiper('.home-banner-child .swiper-container', {\n\t\tautoplay: {\n\t\t\tdelay: 4500,\n\t\t},\n\t\tloop: true,\n\t\tspeed: 500,\n\t\tslidesPerView: 1,\n\t\tspaceBetween: 30,\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tslidesPerColumnFill: \"row\",\n\t\tpagination: {\n\t\t\tel: '.home-banner-child .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tbreakpoints: {\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t}\n\t});\n\tlet bannerChild = new Swiper('.banner-child .swiper-container', {\n\t\tloop: true,\n\t\tspeed: 1000,\n\t\tslidesPerView: 1,\n\t\tspaceBetween: 30,\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tslidesPerColumnFill: \"row\",\n\t\tpagination: {\n\t\t\tel: '.banner-child .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\t\n\t});\n\tvar tourSlide = new Swiper('.home-2 .swiper-container', {\n\t\tslidesPerView: 1,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 20,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tpagination: {\n\t\t\tel: '.home-2 .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.home-2 .button-next',\n\t\t\tprevEl: '.home-2 .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 10,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t\tspaceBetween: 20,\n\t\t\t},\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 4,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t\tspaceBetween: 12,\n\t\t\t},\n\t\t\t1366: {\n\t\t\t\tslidesPerView: 4,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t\tspaceBetween: 20,\n\t\t\t},\n\t\t}\n\t});\n\tvar serviceSlide = new Swiper('.home-4 .swiper-container', {\n\t\tslidesPerView: 1,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 30,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tpagination: {\n\t\t\tel: '.home-4 .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.home-4 .button-next',\n\t\t\tprevEl: '.home-4 .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 4,\n\t\t\t},\n\t\t}\n\t});\n\tvar travelGuideSlide = new Swiper('.travel-guide-2-section .travel-guides-list .swiper-container', {\n\t\tslidesPerView: 1,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 30,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tpagination: {\n\t\t\tel: '.travel-guide-2-section .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.travel-guide-2-section .button-next',\n\t\t\tprevEl: '.travel-guide-2-section .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 1,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\tslidesPerColumn: 2,\n\t\t\t},\n\t\t}\n\t});\n\tvar about3Slide = new Swiper('.about-3-section .swiper-container', {\n\t\tslidesPerView: 1,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 10,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tloop: true,\n\t\tautoplay: {\n\t\t\tdelay: 7000,\n\t\t},\n\t\tpagination: {\n\t\t\tel: '.about-3-section .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.about-3-section .button-next',\n\t\t\tprevEl: '.about-3-section .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\tcenteredSlides: true,\n\t\t\t\tloop: true,\n\t\t\t},\n\t\t}\n\t});\n\tvar about5Slide = new Swiper('.about-5-section .swiper-container', {\n\t\tslidesPerView: 2,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 10,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tpagination: {\n\t\t\tel: '.about-5-section .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.about-5-section .button-next',\n\t\t\tprevEl: '.about-5-section .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 4,\n\t\t\t},\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 5,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 6,\n\t\t\t},\n\t\t}\n\t});\n\tlet about6Slide = new Swiper('.about-6-section .swiper-container', {\n\t\tslidesPerView: 1,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 10,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tpagination: {\n\t\t\tel: '.about-6-section .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.about-6-section .button-next',\n\t\t\tprevEl: '.about-6-section .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 15,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 20,\n\t\t\t},\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 25,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t\tspaceBetween: 30,\n\t\t\t},\n\t\t}\n\t});\n\tlet tourOtherSlide = new Swiper('.tour-detail-2-section .swiper-container', {\n\t\tslidesPerView: 1,\n\t\tslidesPerColumn: 1,\n\t\tspaceBetween: 20,\n\t\tslidesPerColumnFill: \"row\",\n\t\tobserver: true,\n\t\tobserveParents: true,\n\t\tpagination: {\n\t\t\tel: '.tour-detail-2-section .swiper-pagination',\n\t\t\tclickable: true,\n\t\t},\n\t\tnavigation: {\n\t\t\tnextEl: '.tour-detail-2-section .button-next',\n\t\t\tprevEl: '.tour-detail-2-section .button-prev',\n\t\t},\n\t\tbreakpoints: {\n\t\t\t576: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 20,\n\t\t\t},\n\t\t\t768: {\n\t\t\t\tslidesPerView: 2,\n\t\t\t\tspaceBetween: 30,\n\t\t\t},\n\t\t\t1024: {\n\t\t\t\tslidesPerView: 3,\n\t\t\t},\n\t\t\t1280: {\n\t\t\t\tslidesPerView: 4,\n\t\t\t},\n\t\t}\n\t});\n}\n\nfunction toggleQuestion() {\n\tlet btn = $('.question-item .title');\n\tlet content = $('.question-item .content')\n\tbtn.on('click', function () {\n\t\tif ($(this).parents('.question-item').hasClass('active')) {\n\t\t\tcontent.slideUp('fast');\n\t\t\t$(this).next().slideUp('fast');\n\t\t\t$('.question-item').removeClass('active');\n\t\t\t$(this).parents('.question-item').removeClass('active');\n\t\t} else {\n\t\t\tcontent.slideUp('fast');\n\t\t\t$(this).next().slideDown('fast');\n\t\t\t$('.question-item').removeClass('active');\n\t\t\t$(this).parents('.question-item').addClass('active');\n\t\t}\n\t});\n}\n\nfunction toggleSchedule() {\n\tlet btn = $('.schedule-item .title-schedule');\n\tlet content = $('.schedule-item .content')\n\tbtn.on('click', function () {\n\t\tif ($(this).parents('.schedule-item').hasClass('active')) {\n\t\t\tcontent.slideUp('fast');\n\t\t\t$(this).next().slideUp('fast');\n\t\t\t$('.schedule-item').removeClass('active');\n\t\t\t$(this).parents('.schedule-item').removeClass('active');\n\t\t} else {\n\t\t\tcontent.slideUp('fast');\n\t\t\t$(this).next().slideDown('fast');\n\t\t\t$('.schedule-item').removeClass('active');\n\t\t\t$(this).parents('.schedule-item').addClass('active');\n\t\t}\n\t});\n}\n\nfunction togglePassenger() {\n\tlet btn = $('.passenger-item .passenger-title');\n\tlet content = $('.passenger-item .passenger-form')\n\n\tbtn.on('click', function () {\n\t\tif ($(this).parents('.passenger-item').hasClass('active')) {\n\t\t\tcontent.slideUp();\n\t\t\t$(this).next().slideUp();\n\t\t\t$('.passenger-item').removeClass('active');\n\t\t\t$(this).parents('.passenger-item').removeClass('active');\n\t\t} else {\n\t\t\tcontent.slideUp();\n\t\t\t$(this).next().slideDown();\n\t\t\t$('.passenger-item').removeClass('active');\n\t\t\t$(this).parents('.passenger-item').addClass('active');\n\t\t}\n\t});\n\tsetTimeout(() => {\n\t\t$('.passenger-list .passenger-item').eq(0).find('.passenger-title').trigger('click');\n\t}, 1500);\n}\n\nfunction toggleMenuDashBoard() {\n\tlet btn = $('.user-sidebar');\n\tbtn.on('click', function () {\n\t\t$(window).width() <= 991 ? $('.user-sidelink').slideToggle() : $('.user-sidelink').show();\n\t})\n}\n\n// function priceRangeFilter() {\n\n// \t// change price\n// \t$(\"#slider-range\").slider({\n// \t\trange: true,\n// \t\tmin: 0,\n// \t\tmax: 10000000,\n// \t\tvalues: [0, 8000000],\n// \t\tslide: function (event, ui) {\n// \t\t\t$(\"#price-show\").html(\"Từ \" + \"\" + addCommas(ui.values[0]) + \" - \" + addCommas(ui.values[1]) + \" VND\");\n// \t\t}\n// \t});\n\n// \t// show price default\n// \t$('#price-show').html(\"Từ \" + \"\" + addCommas($(\"#slider-range\").slider(\"values\", 0)) + \" - \" + addCommas($(\"#slider-range\").slider(\"values\", 1)) + \" VND\");\n\n// }\n\n// format price (VND)\nfunction addCommas(nStr) {\n\tnStr += '';\n\tlet x = nStr.split('.');\n\tlet x1 = x[0];\n\tlet x2 = x.length > 1 ? '.' + x[1] : '';\n\tvar rgx = /(\\d+)(\\d{3})/;\n\twhile (rgx.test(x1)) {\n\t\tx1 = x1.replace(rgx, '$1' + '.' + '$2');\n\t}\n\treturn x1 + x2;\n}\n\nfunction openPopup() {\n\tlet btnOpenForm = $('.tour-design-detail-section .icon-form');\n\tlet btnOpenFormContact = $('.home-4 .post-button .btn-red');\n\t\n\t// let successTour = $('.tour-detail-section .box-price .book-tour .btn-book-tour');\n\n\tbtnOpenForm.on('click', function (e) {\n\t\te.preventDefault();\n\t\t$.fancybox.open({\n\t\t\tsrc: '.tour-design-detail-form',\n\t\t\ttype: 'inline',\n\t\t\topts: {\n\t\t\t\tafterShow: function (instance, current) {\n\t\t\t\t\t$(\".fancybox-is-open\").appendTo(\"form\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\treturn false;\n\t});\n\tbtnOpenFormContact.on('click', function (e) {\n\t\te.preventDefault();\n\t\t$.fancybox.open({\n\t\t\tsrc: '.tour-design-detail-form',\n\t\t\ttype: 'inline',\n\t\t\topts: {\n\t\t\t\tafterShow: function (instance, current) {\n\t\t\t\t\t$(\".fancybox-is-open\").appendTo(\"form\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\treturn false;\n\t});\n\n\t// successTour.on('click', function (e) {\n\t// \te.preventDefault();\n\t// \t$.fancybox.open({\n\t// \t\tsrc: '.alert-success-popup',\n\t// \t\ttype: 'inline',\n\t// \t\topts: {\n\t// \t\t\tafterShow: function (instance, current) {\n\t// \t\t\t\t$(\".fancybox-is-open\").appendTo(\"form\");\n\t// \t\t\t}\n\t// \t\t}\n\t// \t});\n\t// \treturn false;\n\t// });\n\n}\n\nfunction changeText(){\n\tlet textInputUpload = $('.text-input-type-file').html();\n\t$('.box-cart-page .wrap-form .form-group.form-upload .ruInputs .ruFileWrap label').html(textInputUpload);\n\n\t$('.box-cart-page .wrap-form .form-group.form-upload .ruInputs .ruFileWrap label').each(function(){\n\t\t$(this).on('click', function(){\n\t\t\tsetTimeout(function(){\n\t\t\t\tlet textInputUpload = $('.text-input-type-file').html();\n\t\t\t\t$(this).html(textInputUpload);\n\t\t\t},100)\n\t\t})\n\t})\n}\n\nfunction changeUrlLocation(){\n\tif (window.location.href.indexOf(\"/en-US\") > -1) {\n\t\t$('.box-cart-page .cart-button .button-list .btn-back').attr('href', '/en-US/Default.aspx')\n\t} else if (window.location.href.indexOf(\"/vi-VN\") > -1) {\n\t\t$('.box-cart-page .cart-button .button-list .btn-back').attr('href', '/vi-VN/Default.aspx')\n\t}\n}\n\nfunction moveHTML(){\n\tlet elmComment = $('.product-detail-page .commentpanel')\n\n\telmComment.insertAfter('.tour-detail-section .box-detail .body-box')\n}\n\nfunction touchPunchMobile(){\n\t$('.box-nav .price-range .slider-range .ui-slider-handle').eq(0).draggable();\n}\n\nfunction suggestsearchLeft(){\n\t$('.place-search').each(function(){\n\t\t// if($(this).find('input').hasClass('focus-visible')){\n\t\t// \tlet offset2 = $(this).find('label').width() + 20\n\t\t// \t$(this).find('.suggestsearch').css('left', offset2)\n\t\t// }\n\t\t$(this).find('input').focus(function(){\n\t\t\tlet offset = $(this).parents('.place-search').find('label').width() + 20\n\t\t\t$(this).parents('.place-search').find('.suggestsearch').css('left', offset)\n\t\t});\n\t})\n}\n\n$(document).on('scroll', function () {\n\theader.scrollActive();\n});\n\n$(window).on('resize', function () {\n\tcheckBanner()\n});\n\n$(document).ready(function () {\n\tsetBackgroundElement();\n\n\theader.initHeader();\n\tcheckBanner();\n\t// swiper\n\tswiperInit();\n\n\tloadImageMap();\n\n\ttouchPunchMobile();\n\n\ttoggleQuestion();\n\ttoggleSchedule();\n\ttogglePassenger();\n\ttoggleMenuDashBoard();\n\n\t// changeText();\n\tchangeUrlLocation();\n\tmoveHTML();\n\t\n\t// change price filter \n\t// priceRangeFilter();\n\tsuggestsearchLeft();\n\topenPopup();\n\tkeyEnter();\n});\n\nfunction checkBanner() {\n\tlet height = $('.main-banner-ad').outerHeight();\n\t$('.banner-home').css('margin-top', -height);\n}\n\nfunction loadImageMap() {\n\tconsole.log($('#imageMap'));\n\t$('#imageMap').maphilight({\n\t\tfillColor: 'cb8c1d',\n\t\tfillOpacity: 0.7,\n\t\tstroke: false,\n\t\tgroupBy: 'group',\n\t});\n\t// $('.main-image area').each(function() {\n\t// \tlet index = $(this).data('index')\n\t// \t$(this).qtip({\n\t// \t\tcontent: {\n\t// \t\t\ttext: $(\".tooltip-container .map-tooltip[data-index='\" + index + \"']\").clone()\n\t// \t\t},\n\t// \t\tposition: {\n\t// \t\t\tcontainer: $('div.main-image'),\n\t// \t\t\tmy: 'bottom center',\n\t// \t\t\tat: 'top center',\n\t// \t\t}\n\t// \t})\n\t// });\n}\n\nfunction keyEnter(){\n\tif($('.searchbox-wrap .searchbox input').length>0){\n\t\t$(\".searchbox-wrap .searchbox input\").focus(function () {\n\t\t\t$(this).keyup(function (e) {\n\t\t\t\tif (e.keyCode == 13) {\n\t\t\t\t\t$(this).next().click();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\n"]}