(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{1119:function(e,t,r){"use strict";r.r(t);var n=r(7),o=(r(40),r(38),r(22),r(14),r(19),r(115),r(64)),l=r(238),c=r(60),m={name:"Airport",components:{Banner:c.b,BannerGray:c.e,Cardmembers:c.i,FormDigits:c.n,FooterSlider:c.m,NewSliderHero:c.x,Terms:c.J},mixins:[o.a,l.a],head:function(){var e,t=this.$config.frontURL,r=this.$route.fullPath,n=r.match(/\/[a-z]{2}(\/.+)/)?r.match(/\/[a-z]{2}(\/.+)/)[1]:r,o=null===(e=this.countries)||void 0===e?void 0:e.map((function(e){return{rel:"alternate",hreflang:"".concat(e.language,"-").concat(e.slug),href:"".concat(t,"/").concat(e.slug).concat(n)}}));return null==o||o.unshift({rel:"canonical",href:"".concat(t).concat(r)}),{link:o,title:this.metaTitle,meta:this.h__generate_headers({title:this.metaTitle,current_url:this.metaUrl,main_image:this.metaImage,description:this.metaDescription,locale:this.metaLocale}),htmlAttrs:{lang:this.country.language}}},asyncData:function(e){return Object(n.a)(regeneratorRuntime.mark((function t(){var r,n,o,l,c,m,h,d,_,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.store,n=e.route,t.next=3,r.dispatch("page/getPage",{url_page:"airport-pages",route:n});case 3:return o=t.sent,l=o.page,c=o.page_detail,m=o.sliders,h=o.items,d=o.terms,_=o.country,f=o.countries,t.next=13,r.commit("page/askBin",l.ask_bin);case 13:return t.abrupt("return",{page:l,page_detail:c,sliders:m,items:h,terms:d,country:_,countries:f});case 14:case"end":return t.stop()}}),t)})))()},mounted:function(){var e,t=this.$router.currentRoute.path.match(/\/[a-z]{2}(\/.+)/);e=t&&t[1]?t[1]:this.$router.currentRoute.path,window.dataLayer.push({event:"virtualPageview",virtualPageURL:this.$router.currentRoute.path,virtualPageTitle:this.title,url_benefit:e})},computed:{metaTitle:function(){return"".concat(this.page_detail.full_title," | American Express ").concat(this.country.name)},metaUrl:function(){return"".concat("https://experiences.global").concat(this.$nuxt.$route.fullPath)},metaImage:function(){return"".concat("https://experiences.global","/images/logo.svg")},metaDescription:function(){return this.page_detail.full_text},metaLocale:function(){var e;return"".concat(this.country.language,"_").concat(null===(e=this.country.slug)||void 0===e?void 0:e.toUpperCase())}}},h=r(2),component=Object(h.a)(m,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"airport"},[e.page_detail.published?[r("h1",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[e._v(e._s(e.metaTitle||"Experiences Global"))]),e._v(" "),r("NewSliderHero",{attrs:{sliders:e.sliders}}),e._v(" "),r("BannerGray",{attrs:{destacated:e.page.full_banner_destacated,text:e.page.full_banner_text}}),e._v(" "),r("no-ssr",[r("FormDigits")],1),e._v(" "),r("Cardmembers",{attrs:{page:"AirportPage"}}),e._v(" "),e.page_detail.show_sliders_footer?r("FooterSlider",{attrs:{page:"AirportPage"}}):e._e(),e._v(" "),r("Terms",{attrs:{terms:e.terms}})]:[r("Banner",{attrs:{title:e.$t("general.benefit_not_available.title"),text:e.$t("general.benefit_not_available.subtitle"),cta:e.$t("general.benefit_not_available.button")}}),e._v(" "),r("FooterSlider",{attrs:{page:"AirportPage"}})]],2)}),[],!1,null,null,null);t.default=component.exports}}]);