(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{1115:function(t,e,n){"use strict";n.r(e);var r=n(7),l=(n(40),n(38),n(22),n(14),n(19),n(115),n(64)),o=n(238),c=n(60),d={name:"Myfitnesspal",components:{Banner:c.b,BannerBlue:c.c,Cardmembers:c.i,FooterSlider:c.m,FormDigits:c.n,SliderHero:c.E,Terms:c.J},mixins:[l.a,o.a],head:function(){var t,e=this.$config.frontURL,n=this.$route.fullPath,r=n.match(/\/[a-z]{2}(\/.+)/)?n.match(/\/[a-z]{2}(\/.+)/)[1]:n,l=null===(t=this.countries)||void 0===t?void 0:t.map((function(t){return{rel:"alternate",hreflang:"".concat(t.language,"-").concat(t.slug),href:"".concat(e,"/").concat(t.slug).concat(r)}}));return null==l||l.unshift({rel:"canonical",href:"".concat(e).concat(n)}),{link:l,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(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,l,o,c,d,f,m,h,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.store,r=t.route,e.next=3,n.dispatch("page/getPage",{url_page:"myfitnesspal-pages",route:r});case 3:return l=e.sent,o=l.page,c=l.page_detail,d=l.sliders,f=l.items,m=l.terms,h=l.country,_=l.countries,e.next=13,n.commit("page/askBin",o.ask_bin);case 13:return e.abrupt("return",{page:o,page_detail:c,sliders:d,items:f,terms:m,country:h,countries:_});case 14:case"end":return e.stop()}}),e)})))()},mounted:function(){var t,e=this.$router.currentRoute.path.match(/\/[a-z]{2}(\/.+)/);t=e&&e[1]?e[1]:this.$router.currentRoute.path,window.dataLayer.push({event:"virtualPageview",virtualPageURL:this.$router.currentRoute.path,virtualPageTitle:this.title,url_benefit:t})},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 t;return"".concat(this.country.language,"_").concat(null===(t=this.country.slug)||void 0===t?void 0:t.toUpperCase())}}},f=(n(971),n(2)),component=Object(f.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"myfitnesspal"},[t.page_detail.published?[n("h1",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.metaTitle||"Experiences Global"))]),t._v(" "),n("SliderHero",{attrs:{sliders:t.sliders}}),t._v(" "),n("Banner",{attrs:{title:t.page.full_first_banner_title}}),t._v(" "),n("BannerBlue",{attrs:{title:t.page.full_second_banner_title,text:t.page.full_second_banner_text}}),t._v(" "),n("no-ssr",[n("FormDigits")],1),t._v(" "),n("Cardmembers",{attrs:{page:"MyfitnesspalPage"}}),t._v(" "),t.page_detail.show_sliders_footer?n("FooterSlider",{attrs:{page:"MyfitnesspalPage"}}):t._e(),t._v(" "),n("Terms",{attrs:{terms:t.terms}})]:[n("Banner",{attrs:{title:t.$t("general.benefit_not_available.title"),text:t.$t("general.benefit_not_available.subtitle"),cta:t.$t("general.benefit_not_available.button")}}),t._v(" "),n("FooterSlider",{attrs:{page:"MyfitnesspalPage"}})]],2)}),[],!1,null,"f81c7d86",null);e.default=component.exports},857:function(t,e,n){var content=n(972);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("f6dd23e8",content,!0,{sourceMap:!1})},971:function(t,e,n){"use strict";n(857)},972:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,"[data-v-f81c7d86]:root{--bk:#f2f3f5;--white:#fff;--gray1:#d9d9d6;--gray2:#a7a8aa;--gray3:#707070;--black:#000;--accentblue:#66a9e2;--deepblue:#00175a;--brightblue:#006fcf;--brightblue2:#1067b2;--transparent:transparent}html[data-v-f81c7d86]{font-size:62.5%}@media screen and (max-width:1920px){html[data-v-f81c7d86]{font-size:.52083vw}}@media screen and (min-width:1023.1px)and (max-width:1220px){html[data-v-f81c7d86]{font-size:.60241vw}}@media screen and (max-width:1023px){html[data-v-f81c7d86]{font-size:2.66667vw}}html body[data-v-f81c7d86]{font-size:1.6rem}.myfitnesspal[data-v-f81c7d86]{width:100%}",""]),r.locals={},t.exports=r}}]);