PageSourceSearch

https://www.happyeasygo.com/flight/_nuxt/27cce3a.js

js happyeasygo.com collected 2026-09-24 10:09:07 UTC 28,089 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[16,10,11,12,13],{303:function(e,t,a){},304:function(e,t,a){},305:function(e,t,a){},306:function(e,t,a){},307:function(e,t,a){},308:function(e,t,a){},309:function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxODAiIHZpZXdCb3g9IjAgMCAxOTIwIDE4MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0wIDAuMDAwMTQ2NzAzVjE4MEgxOTIwVjAuMDAwMTUxMzc4QzE2OTAuNyAxMDcuNjI4IDEzNDUuNzYgMTc2LjEwNSA5NjAgMTc2LjEwNUM1NzQuMjQxIDE3Ni4xMDUgMjI5LjI5NSAxMDcuNjI4IDAgMC4wMDAxNDY3MDNaIiBmaWxsPSIjRjNGNEY1Ii8+Cjwvc3ZnPgo="},310:function(e,t,a){"use strict";a(303)},311:function(e,t,a){"use strict";a(304)},312:function(e,t,a){"use strict";a(305)},313:function(e,t,a){"use strict";a(306)},314:function(e,t,a){"use strict";a(307)},315:function(e,t,a){"use strict";a(308)},317:function(e,t,a){"use strict";function r(e){if(p(e))throw TypeError("Cannot convert a Symbol value to a number");var t,a,r,n,i,o,s,c=d(e,"number");if("string"==typeof c&&2<c.length)if(43===(t=(c=y(c)).charCodeAt(0))||45===t){if(88===(e=c.charCodeAt(2))||120===e)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+c}for(i=(n=c.slice(2)).length,o=0;o<i;o++)if((s=n.charCodeAt(o))<48||r<s)return NaN;return parseInt(n,a)}return+c}var n=a(19),i=a(7),o=a(116),s=a(26),c=a(17),l=a(63),u=a(224),p=a(91),d=a(221),h=a(8),f=a(78),g=a(77).f,m=a(46).f,b=a(23).f,y=a(334).trim,v="Number",w=i[v],D=w.prototype,O=l(f(D))==v;if(o(v,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var j,S=function(e){var e=arguments.length<1?0:e,t=this;return t instanceof S&&(O?h(function(){D.valueOf.call(t)}):l(t)!=v)?u(new w(r(e)),t,S):r(e)},I=n?g(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),C=0;I.length>C;C++)c(w,j=I[C])&&!c(S,j)&&b(S,j,m(w,j));(S.prototype=D).constructor=S,s(i,v,S)}},318:function(e,t,a){},324:function(e,t,a){"use strict";a.r(t);a(45),a(50),a(52),a(62),a(149);var r=function(e){if(e){var t=new Date(e),a=t.getFullYear(),e=t.getMonth()+1,t=t.getDate(),t=t<10?"0".concat(t):t;return"".concat(a,e<10?"-0":"-").concat(e,"-").concat(t)}},n={name:"UseSearchFlightPc",data:function(){return{openDateType:"startDate",guestRoomState:!1,calendarShow:!1,searchInfo:{startDate:r(new Date),endDate:r(new Date((new Date).getTime()+864e5))},calendarPosition:{x:0,y:0}}},provide:function(){return{}},computed:{calendarStyle:function(){return"left: auto;\n                right: 32px;\n                top: ".concat(this.calendarPosition.y,"px;\n                position: absolute;\n                border: none; box-shadow: 0px 2px 10px rgb(0 0 0 / 30%), 0px 2px 2px rgb(0 0 0 / 30%)")}},mounted:function(){},methods:{handleCalendarPosition:function(e){this.calendarPosition.x=e.x,this.calendarPosition.y=e.y,this.calendarPosition.arrowX=e.arrowX},handleCalendarShow:function(e){this.calendarShow=e},emitSelectDate:function(e){e&&(this.openDateType=e)},handleCalendar:function(t){var a=this;Object.keys(t).forEach(function(e){a.searchInfo[e]=t[e]})}}},a=(a(312),a(89)),n=Object(a.a)(n,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("client-only",[a("div",{staticClass:"use-search-pc"},[a("SearchFlightPc",{attrs:{calendarShow:t.calendarShow,checkInDate:t.searchInfo.startDate,checkOutDate:t.searchInfo.endDate,fontColor:"#fa8c1a"},on:{handleCalendar:t.handleCalendar,emitSelectDate:t.emitSelectDate,handleCalendarShow:t.handleCalendarShow,handleCalendarPosition:t.handleCalendarPosition},scopedSlots:t._u([{key:"calendar",fn:function(e){return[a("CalendarPc",{style:t.calendarStyle,attrs:{arrowStyle:{left:t.calendarPosition.arrowX+"px"}
1,openDateType:t.openDateType,calendarType:"single",allowCurrentDate:!0,calendarShow:t.calendarShow,startDate:t.searchInfo.startDate,endDate:t.searchInfo.endDate,priceInfo:e.priceInfo},on:{"update:calendarShow":function(e){t.calendarShow=e},"update:calendar-show":function(e){t.calendarShow=e},handleCalendar:t.handleCalendar}})]}}])})],1)])},[],!1,null,"a70db0d8",null);t.default=n.exports},325:function(e,t,a){"use strict";a.r(t);a(50),a(51),a(73),a(45),a(74);var r=a(12),n=(a(38),a(53),a(75)),i=a(302);function o(t,e){var a,r=Object.keys(t);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(t),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,a)),r}var s={data:function(){return{description:""}},props:{NotificationContent:{type:Array,default:function(){return[]}},bannerData:{type:Object,default:function(){return{}}},bannerTitle:{type:String}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach(function(e){Object(r.a)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(n.mapGetters)({isMobile:"isMobile"})),mounted:function(){this.description=this.htmlDecode(this.bannerTitle)},methods:{htmlDecode:function(e){(t=document.createElement("div")).innerHTML=e;var e=t.innerText||t.textContent,t=null;return e},jump:function(){""!==this.bannerData.href&&Object(i.a)(this.bannerData.href,!this.isMobile)},handleNotice:function(e){this.isMobile?Object(i.b)("/bulletinDetail?bulletId=".concat(e.id),this.isMobile,!1):Object(i.b)("/messageHintDetails/?id=".concat(e.id),this.isMobile,!1)},deleteNotice:function(e){this.$emit("deleteNotice",e)},back:function(){window.location.href=window.location.origin}}},n=(a(310),a(89)),s=Object(n.a)(s,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{class:["banner banner-image",{"cursor-pointer":""!==this.bannerData.href,"mobile-banner":e.isMobile}],style:"background-image: url("+e.bannerData.url+")",on:{click:e.jump}},[t("client-only",[e.isMobile?e._e():t("Notification",{staticClass:"notification",attrs:{data:e.NotificationContent},on:{handleNotice:e.handleNotice,deleteNotice:e.deleteNotice},nativeOn:{click:function(e){e.stopPropagation()}}})],1),e._v(" "),t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.bannerData.url,expression:"bannerData.url"}],staticClass:"header-banner",attrs:{alt:e.bannerData.alt}}),e._v(" "),e.isMobile?e._e():t("img",{staticClass:"img-mark",attrs:{src:a(309),alt:"img-mark"}}),e._v(" "),t("h1",{staticClass:"description",domProps:{innerHTML:e._s(e.description)}}),e._v(" "),e.isMobile?t("i",{staticClass:"iconfont icon-back1",on:{click:e.back}}):e._e()],1)},[],!1,null,"4315164b",null);t.default=s.exports},326:function(e,t,a){"use strict";a.r(t);var r={data:function(){return{bread:[{type:"root",title:"Home",url:"https://www.happyeasygo.com/"},{type:"normal",title:"Flights",url:""}]}},methods:{}},a=(a(311),a(89)),r=Object(a.a)(r,function(){var a=this,e=a.$createElement,r=a._self._c||e;return r("div",{staticClass:"flight-bread"},[r("div",{staticClass:"ul-li"},a._l(a.bread,function(e,t){return r("a",{key:t,class:[{home:"root"===e.type},{"not-end":t<a.bread.length-1}],attrs:{href:e.url||"javascript:void(0);",title:e.title||""}},[a._v("\n            "+a._s(e.title)+"\n        ")])}),0)])},[],!1,null,"417215fa",null);t.default=r.exports},327:function(e,t,a){"use strict";a.r(t);a(50),a(38),a(51),a(73),a(45),a(74);var r=a(12),n=a(302),i=a(75);function o(t,e){var a,r=Object.keys(t);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(t),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,a)),r}i={props:{data:{type:Array,required:!0,default:function(){return[]}}},data:function(){return{}},methods:{jumpDetail:function(e){this.isMobile?window.location.href=e:window.open(e)},jumpView:function(){Object(n.b)("/offer",this.isMobile,!1)}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(a),!0).forEach(function(e){Object(r.a)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(i.mapGetters)({isMobile:"isMobile"}))},a(313),a=a(89),i=Object(a.a)(i,function(){var a=this,e=a.$createElement,r=a._self._c||e;return r("div",{staticClass:"flight-best-offers"},[r("ScrollContainer",{attrs:{title:a.isMobile?"Best Offers on Flights":" Best Offers on Flight Tickets",moveDistance:736,data:a.data,jumpView:a.jumpView,isShowRightCorner:"",titleLabel:"h2",spacing:a.isMobile?8:16},scopedSlots:a._u([{key:"content",fn:function(e){var t=e.item;return[r("div",{staticClass:"hhdc-item",on:{click:function(e){return a.jumpDetail(t.url)}}},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.pic,expression:"item.pic"}],staticClass:"landingPageImg",attrs:{alt:t.title}}),a._v(" "),r("div",{staticClass:"hhdc-item-description"},[r("h3",{staticClass:"title"},[a._v(a._s(t.title))]),a._v(" "),r("p",{staticClass:"description"},[a._v(a._s(t.alt))])])])]}}])})],1)},[],!1,null,"034589b9",null),t.default=i.exports},328:function(e,t,a){"use strict";a.r(t);a(50),a(38),a(51),a(73),a(45),a(74);var r=a(12),n=a(75);function i(t,e){var a,r=Object.keys(t);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(t),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,a)),r}n={data:function(){return{options:{spaceId:324252}}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach(function(e){Object(r.a)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(n.mapGetters)({isMobile:"isMobile"})),methods:{}},a(314),a=a(89),n=Object(a.a)(n,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",[e.isMobile?e._e():t("DownloadPc",{attrs:{options:e.options}}),e._v(" "),e.isMobile?t("DownloadM"):e._e(),e._v(" "),e.isMobile?e._e():t("div",{staticClass:"flight-content"},[t("SendEmail",{staticClass:"send-emial"})],1)],1)},[],!1,null,"33fd567f",null),t.default=n.exports},329:function(e,t,a){"use strict";a.r(t);var r={data:function(){return{bread:[{type:"root",title:"Home",url:"https://www.happyeasygo.com/"},{type:"normal",title:"Flights",url:""}]}},methods:{}},a=(a(315),a(89)),r=Object(a.a)(r,function(){var a=this,e=a.$createElement,r=a._self._c||e;return r("div",{staticClass:"flight-bread"},[r("div",{staticClass:"ul-li"},a._l(a.bread,function(e,t){return r("a",{key:t,class:[{home:"root"===e.type},{"not-end":t<a.bread.length-1}],attrs:{href:e.url||"javascript:void(0);",title:e.title||""}},[a._v("\n            "+a._s(e.title)+"\n        ")])}),0)])},[],!1,null,"4744fdf9",null);t.default=r.exports},332:function(e,t,a){a(333)},333:function(e,t,a){"use strict";var r=a(6),l=a(92),n=a(150),i=a(223),u=a(222);r({target:"Promise",stat:!0},{allSettled:function(e){var s=this,t=n.f(s),c=t.resolve,a=t.reject,r=i(function(){var r=l(s.resolve),n=[],i=0,o=1;u(e,function(e){var t=i++,a=!1;n.push(void 0),o++,r.call(s,e).then(function(e){a||(a=!0,n[t]={status:"fulfilled",value:e},--o||c(n))},function(e){a||(a=!0,n[t]={status:"rejected",reason:e},--o||c(n))})}),--o||c(n)});return r.error&&a(r.value),t.promise}})},334:function(e,t,a){var r=a(30),n=a(18),a="["+a(335)+"]",i=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),a=function(t){return function(e){e=n(r(e));return 1&t&&(e=e.replace(i,"")),e=2&t?e.replace(o,""):e}};e.exports={start:a(1),end:a(2),trim:a(3)}},335:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},336:function(e,t,a){"use strict";a(318)},343:function(e,t,a){"use strict";a.r(t);a(50),a(38),a(73),a(74);function o(e){try{if(a=localStorage.getItem(e)){try{var t=JSON.parse(a),a="object"!==Object(f.a)(t)&&"number"==typeof t?t=t>=Math.pow(2,53)?String(a):t:t}catch(e){}return a.startTime?(new Date).getTime()-a.startTime>a.expires?(localStorage.removeItem(e),!1):a.data:a}return""}catch(e){}}function r(e){for(var t in e)t=e[a=t],localStorage.setItem(a,JSON.stringify(t));var a}var n=a(12),u=a(29),s=a(14),c=(a(64),a(21),a(332),a(33),a(39),a(54),a(51),a(62),a(76),a(149),a(219),a(90),a(45),a(79),a(80),a(317),a(93),a(220)),i={data:function(){return{timer:null}},mounted:function(){this.getDeviceType(),window.addEventListener("resize",this.resizeCallback,!1),window.addEventListener("pageshow",this.pageshowCallback,!1)},methods:{resizeCallback:function(){clearTimeout(this.timer),this.timer=setTimeout(this.getDeviceType,300)},pageshowCallback:function(e){e.persisted&&(clearTimeout(this.timer),this.timer=setTimeout(this.getDeviceType,300))},getDeviceType:function(){var t=this;this.$nextTick(function(){var e=document.body.clientWidth<=720;t.$store.commit(c.SET_IS_MOBILE,e)})}}},l=a(75),p=a(186),d=a(187),h=(a(52),function(){function e(){Object(p.a)(this,e)}return Object(d.a)(e,null,[{key:"getItem",value:function(e){return unescape(document&&document.cookie.replace(new RegExp("(?:(?:^|.*;
1)\\s*".concat(escape(e).replace(/[-.+*]/g,"\\$&"),"\\s*\\=\\s*([^;]*).*$)|^.*$")),"$1"))||null}},{key:"setItem",value:function(e,t,a,r,n,i){if(!e||/^(?:expires|max-age|path|domain|secure)$/i.test(e))return!1;var o="";if(document){if(a)switch(a.constructor){case Number:o=a===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age=".concat(a);break;case String:o="; expires=".concat(a);break;case Date:o="; expires=".concat(a.toUTCString())}return document.cookie="".concat(escape(e),"=").concat(escape(t)).concat(o).concat(n?"; domain=".concat(n):"").concat(r?"; path=".concat(r):";path=/").concat(i?"; secure":""),!0}}},{key:"removeItem",value:function(e,t,a){var r=new Date;r.setTime(r.getTime()-1);var n=this.getItem(e);if(document)return null!=n&&(document.cookie="".concat(escape(e),"=").concat(n,";expires=").concat(r.toUTCString()).concat(t?";domain=".concat(t):"").concat(a?";path=".concat(a):";path=/")),!0}},{key:"hasItem",value:function(e){try{return new RegExp("(?:^|;\\s*)".concat(escape(e).replace(/[-.+*]/g,"\\$&"),"\\s*\\=")).test(document.cookie)}catch(e){}}},{key:"keys",value:function(){if(document){for(var e=document.cookie.replace(/((?:^|\s*;)[^=]+)(?=;|$)|^\s*|\s*(?:=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=unescape(e[t]);return e}}}]),e}()),f=a(36),g=a(302);function m(t,e){var a,r=Object.keys(t);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(t),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,a)),r}function b(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?m(Object(a),!0).forEach(function(e){Object(n.a)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}i={name:"Flight",head:function(){return{meta:[{hid:"robots",name:"robots",content:"index, follow"}],link:[{rel:"canonical",href:"https://www.happyeasygo.com/flight/"}],script:[{type:"application/ld+json",json:this.headScript||{}}]}},asyncData:function(l){return Object(s.a)(regeneratorRuntime.mark(function e(){var t,a,r,n,i,o,s,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.$api,l.$cookies,a=l.store,c="",c=a.getters.isMobile?"activityType=1&type=51&device=0":"type=51&device=1&businessType=1",645,r=637,e.next=7,Promise.allSettled([n.getHeaderHtml(),n.getFooterHtml("Flight",a.getters.isMobile),n.Home.getAdvList(c),n.Home.getAdvListByDevice({spaceId:324253}),n.Home.getAdvListByDevice({spaceId:324254}),n.Home.getNodeList({params:{cId:r}}),n.Home.getAdvListByDevice({spaceId:324261})]);case 7:return i=e.sent,o=i.map(function(e){return"fulfilled"!==e.status?null:e.value}),s=Object(u.a)(o,7),t=s[0],a=s[1],c=s[2],r=s[3],n=s[4],i=s[5],o=s[6],s=[],c&&c.list&&Array.isArray(c.list)&&0<c.list.length&&(s=c.list.map(function(e){return b(b({},e),{},{startDate:new Date(e.startDate.replace(/-/g,"/")),endDate:new Date(e.endDate.replace(/-/g,"/")),pic:e.url,url:e.href})}).filter(function(e){return new Date(e.startDate)-new Date((new Date).toLocaleDateString())<=0})),c=function(e){if(!e||e.indexOf('<section data-mark="FAQ">')<0)return{};var e=e.split('<section data-mark="FAQ">')[1].replace(new RegExp("\\</section>","g"),"").split("<section>"),a={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[]};return e.forEach(function(e){var t=e.split("</h3>")[0].replace("<h3>",""),e=e.split("<p>")[1].replace("</p>","");
1a.mainEntity.push({"@type":"Question",name:t,acceptedAnswer:{"@type":"Answer",text:e}})}),a},e.abrupt("return",{headerHtml:t||"",footHtml:a||"",offersList:s||[],leftData:r&&r.data&&r.data.length&&r.data[0]||{},rightData:n&&n.data&&n.data.length&&n.data[0]||{},bannerTitle:i&&!0===i.success&&i.list&&i.list.length&&i.list[0].content[0].content||"",bannerData:o&&o.data&&o.data.length&&o.data[0]||{},headScript:c(a)});case 13:case"end":return e.stop()}},e)}))()},data:function(){return{hasAirportsArr:!1,calendarShow:!1,calendarProps:{},flightModel:{},ifLogin:!1,memberInfoNew:null,list:[{url:"https://img.happyeasygo.com/oss/ossuploadfile/webmodle/2021/08/05/2672d55e519b47608ce2aa171ce81388.jpg"},{url:"https://img.happyeasygo.com/oss/ossuploadfile/webmodle/2021/09/15/14a4c38087294a42b9c6bafdb9cdf574.jpg"},{url:"https://img.happyeasygo.com/oss/ossuploadfile/webmodle/2021/07/14/730d1fa506a64a1492ea462bf368fe55.jpg"}],noticeList:[],searchHistory:[],bestFlightDeals:[],btDelList:[],swipeList:[]}},mixins:[i],provide:function(){return{api:this.$api.Home}},computed:b({},Object(l.mapGetters)({isMobile:"isMobile",isLogin:"isLogin"})),mounted:function(){var e,t,a,r=h.getItem("USERINFOM")||h.getItem("USERINFO");if(r&&(this.ifLogin=!0,this.$store.commit(c.SET_IS_LOGIN,!0),this.memberInfoNew=JSON.parse(r),e={userId:r.userId,cellphone:r.cellphone||"",email:r.email||"",userName:r.userName},t=new Date,r=new Date(t),h.setItem("g-info",e,new Date(r.setDate(t.getDate()+30)),"/",".happyeasygo.com")),this.checklocalStorage(),this.getSearchHistory(),this.getCheapFlightsNew(),Boolean(localStorage["_hegbt"]))try{var n=(a={},["_hegbt"].forEach(function(e){a[e]=o(e)}),a.hegbt),i=n.expired-(new Date).getTime()<=0;!i&&Array.isArray(n.list)?this.btDelList=i?[]:n.list:localStorage.removeItem("_hegbt")}catch(e){}this.getBulletinListByDevice(),this.getSliderData()},methods:{deleteNotice:function(e){this.btDelList.push(this.noticeList[e].id),r({_hegbt:{list:this.btDelList,expired:(new Date).getTime()+2592e6}})},handleNotice:function(e){this.isMobile?Object(g.b)("/bulletinDetail?bulletId=".concat(e.id),this.isMobile,!1):Object(g.b)("/messageHintDetails/?id=".concat(e.id),this.isMobile,!1)},getSliderData:function(){var a=this;return Object(s.a)(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={spaceId:324262},e.next=3,a.$api.Home.getAdvListByDevice(t);case 3:200===(t=e.sent).code&&Array.isArray(t.data)&&t.data&&(a.swipeList=t.data);case 5:case"end":return e.stop()}},e)}))()},getBulletinListByDevice:function(){var r=this;return Object(s.a)(regeneratorRuntime.mark(function e(){var t,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.$api.Home.getBulletinListByDevice();case 2:(t=e.sent).data instanceof Array&&0<t.data.length&&(a=[],a=r.btDelList.length?t.data.filter(function(e){return!r.btDelList.includes(e.id)}):t.data,r.noticeList=a.map(function(e){return{text:e.title_text,id:e.id}}));case 4:case"end":return e.stop()}},e)}))()},handleCalendar:function(e){this.calendarProps=JSON.parse(JSON.stringify(e)),this.calendarShow=!0},setLowestPrice:function(e){this.calendarProps.lowPrice=e.lowPrice,this.calendarProps.lowestPrice=e.lowestPrice},setTripType:function(e){this.calendarProps.flight.tripType=e},setSearchDate:function(e){this.calendarProps.flight.departDate=e.departDate,this.calendarProps.flight.returnDate=e.returnDate},handleClose:function(){this.flightModel=this.calendarProps.flight,this.calendarShow=!1},handleLogin:function(){var e=window.location.href;Object(g.b)("/login?backurl=".concat(e),this.isMobile,!1)},handleMenu:function(e){e.inHegFlight?"/trip"!==e.href&&"/privateCoupons"!==e.href||this.isLogin?"/flight"!==e.href?Object(g.b)(e.href,this.isMobile,!1):window.location.href=e.href:this.handleLogin():window.location.href=e.href},jumpPageHandler:function(e){Object(g.b)(e.href,this.isMobile,!1)},handleLogout:function(){var n=this;return Object(s.a)(regeneratorRuntime.mark(function e(){var t,a,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.$indicator.open({spinnerType:"fading-circle"}),e.next=3,n.$api.User.signOutToken().then(function(e){return[null,e]}).catch(function(e){return[e]});case 3:a=e.sent,r=Object(u.a)(a,2),t=r[0],a=r[1],n.realLogin=!1,n.$indicator.close(),r="Log out successful!",n.$store.commit(c.SET_IS_LOGIN,!1),(t||a&&200!==a.code)&&(r=t&&t.message||a&&a.message||"Sign out fail!"),n.$Toast({message:r,duration:1500}),n.clearUserLoginInfo(),n.ifLogin=!1;case 15:case"end":return e.stop()}},e)}))()},clearUserLoginInfo:function(){this.username="",this.memberInfo=null,this.removeLoginLocal()},GetOwnArirportsObj:function(e){if(!e)return null;var t={airport:e.aN||"",city:e.cN||"",cn:e.cnN||"",iata:e.iata||"",airportCnStr:e.airportCnStr||"",cC:e.cC||"",needCtyCode:e.needCtyCode,type:e.type||""};return e.type&&"airport"===e.type?t.airportCnStr="":e.type&&"city"===e.type&&(t.airportCnStr="All Airports"),t},splitComma:function(e){return e?e.split(","):[""]},GetApiRecommendChange:function(e,t,a){var r=this,n={};if(!e||!a||0===a.length)return n;var e=this.splitComma(e),i=e&&1<e.length?e[1]:e[0]||"";
1return a?(a.forEach(function(e){("city"===t&&"city"===e.type&&i===e.cC||"airport"===e.type&&i===e.iata&&"airport"===t)&&(n=r.GetOwnArirportsObj(e))}),n):void 0},removeLoginLocal:function(){var e=["TOKEN","USERID","USERINFO","USERINFOM"];if(localStorage){for(var t=0,a=e.length;t<a;t++)localStorage.removeItem(e[t]);localStorage.searchOrder&&localStorage.removeItem("searchOrder"),h.hasItem("_hegt")&&h.removeItem("_hegt",".happyeasygo.com"),h.removeItem("USERINFO",".happyeasygo.com"),h.removeItem("USERID",".happyeasygo.com"),h.removeItem("USERINFOM",".happyeasygo.com"),h.removeItem("g-info",".happyeasygo.com")}},handleEntry:function(e){switch(e){case"My Orders":this.isLogin?Object(g.b)("/trip",this.isMobile,!1):Object(g.b)("/login",this.isMobile,!1);break;case"My Coupons":this.isLogin?Object(g.b)("/privateCoupons",this.isMobile,!1):Object(g.b)("/login",this.isMobile,!1);break;case"Flight Status":window.open("https://flightstatus.happyeasygo.com");break;case"Web Check-in":Object(g.b)("/Check-in",this.isMobile,!1)}},checklocalStorage:function(){var e=!(!Boolean(localStorage.airports1)||"undefined"===localStorage.airports1)&&0<JSON.parse(localStorage.getItem("airports1")).length,t=localStorage.airports1_CHECK?Number(localStorage.getItem("airports1_CHECK")):-864e5,t=864e5<=new Date-new Date(t);this.hasAirportsArr=!e||t},getSearchHistory:function(){var i=this;return Object(s.a)(regeneratorRuntime.mark(function e(){var t,a,r,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={data:{}},i.isLogin&&(a.data.userId=h.getItem("USERID")),e.next=4,i.$api.Home.searchHistory(a);case 4:if(200!==(t=e.sent).code)return e.abrupt("return");e.next=7;break;case 7:t.data&&t.data.list&&t.data.list instanceof Array&&0<t.data.list.length&&(a=t.data.list,r=[],a.map(function(e){return b(b({},e),{},{departDate:e.departDate.replace(/-/g,"/"),returnDate:(e.returnDate||e.departDate).replace(/-/g,"/")})}),n=[],t.data&&t.data.airports&&t.data.airports instanceof Array&&0<t.data.airports.length&&(n=t.data.airports),i.hasAirportsArr&&(a.forEach(function(e){e.departAirport=i.GetApiRecommendChange(e.from,e.fromType,n),e.arriveAirport=i.GetApiRecommendChange(e.to,e.toType,n),e.departAirport&&e.departAirport.city&&e.arriveAirport&&e.arriveAirport.city&&r.push(e)}),i.searchHistory=r));case 8:case"end":return e.stop()}},e)}))()},getCheapFlightsNew:function(){var i=this;return Object(s.a)(regeneratorRuntime.mark(function e(){var t,a,r,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a={data:{userId:h.getItem("USERID")?h.getItem("USERID"):""}},e.next=3,i.$api.Home.getCheapFlightsNew(a);case 3:(t=e.sent).data&&t.data.list instanceof Array&&0<t.data.list.length&&(a=[],r=[],a=t.data.list.map(function(e){return b(b({},e),{},{departureDate:e.departureDate.replace(/-/g,"/")})}),n=[],t.data.airports instanceof Array&&0<t.data.airports.length&&(n=t.data.airports),a.forEach(function(e){e.departAirport=i.GetApiRecommendChange(e.origin,e.originType,n),e.arriveAirport=i.GetApiRecommendChange(e.destination,e.destinationType,n),e.departAirport&&e.departAirport.city&&e.arriveAirport&&e.arriveAirport.city&&r.push(e)}),i.bestFlightDeals=r);case 5:case"end":return e.stop()}},e)}))()}}},a(336),l=a(89),i=Object(l.a)(i,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flight-wp"},[a("header",{directives:[{name:"show",rawName:"v-show",value:!e.isMobile,expression:"!isMobile"}],staticClass:"header header-pc",domProps:{innerHTML:e._s(e.headerHtml)}}),e._v(" "),e.isMobile?a("HegHeader"):e._e(),e._v(" "),a("HomeBackgroundBanner",{staticClass:"backgroundBanner",attrs:{NotificationContent:e.noticeList,bannerTitle:e.bannerTitle,bannerData:e.bannerData},on:{deleteNotice:e.deleteNotice,handleNotice:e.handleNotice}}),e._v(" "),a("div",{staticClass:"flight-content home-space"},[e.isMobile?e._e():a("HomeBreadPc"),e._v(" "),e.isMobile?a("div",{staticClass:"flight-search-m"},[a("FlightSearch",{attrs:{flightModel:e.flightModel},on:{handleCalendar:e.handleCalendar,handleEntry:e.handleEntry},scopedSlots:e._u([{key:"notification",fn:function(){return[a("client-only",[e.isMobile?a("Notification",{staticClass:"notification",attrs:{data:e.noticeList},on:{deleteNotice:e.deleteNotice,handleNotice:e.handleNotice}}
1):e._e()],1)]},proxy:!0}],null,!1,304745203)})],1):e._e(),e._v(" "),e.isMobile?e._e():a("div",{class:"flight-search-pc home-space zindex100 "+(e.isMobile?"mHeight":"pcHeight")},[a("HomeSearchFlight")],1),e._v(" "),a("div",{staticClass:"slides-wp home-space"},[e.swipeList.length?a("slides",{staticClass:"slide-wp-index",attrs:{slideData:e.swipeList}}):e._e()],1),e._v(" "),a("ServiceToSupport",{staticClass:"home-space",attrs:{rightData:e.rightData,leftData:e.leftData}}),e._v(" "),e.offersList.length?a("HomeBestOffersonFlights",{attrs:{data:e.offersList}}):e._e(),e._v(" "),a("client-only",[e.bestFlightDeals.length?a("HomeBestFlightDeals",{attrs:{data:e.bestFlightDeals}}):e._e(),e._v(" "),e.isLogin&&e.searchHistory.length?a("HomeSearchHistory",{attrs:{data:e.searchHistory}}):e._e()],1)],1),e._v(" "),a("client-only",[e.calendarShow?a("CalendarM",{attrs:{flight:e.calendarProps.flight,lowPrice:e.calendarProps.lowPrice,lowestPrice:e.calendarProps.lowestPrice,type:e.calendarProps.type,isHotel:!1},on:{setLowestPrice:e.setLowestPrice,setTripType:e.setTripType,setSearchDate:e.setSearchDate,closeSearchFormItemPage:e.handleClose}}):e._e()],1),e._v(" "),a("HomeDownload"),e._v(" "),e.isMobile?a("HomeBreadM"):e._e(),e._v(" "),a("footer",{domProps:{innerHTML:e._s(e.footHtml)}})],1)},[],!1,null,"39a732d2",null),t.default=i.exports;installComponents(i,{HomeBackgroundBanner:a(325).default,HomeBreadPc:a(326).default,HomeSearchFlight:a(324).default,HomeBestOffersonFlights:a(327).default,HomeBestFlightDeals:a(341).default,HomeSearchHistory:a(342).default,HomeDownload:a(328).default,HomeBreadM:a(329).default})}}]);

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.