(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-980849aa"],{"09d1":function(t,e,n){"use strict";var o=n("0c4b"),a=n.n(o);a.a},"0c4b":function(t,e,n){},"1bf6":function(t,e,n){},"3b09":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v2-title"},[t._t("default")],2)},a=[],i=n("2b0e"),r=i["default"].extend({name:"v2-title"}),s=r,c=(n("09d1"),n("2877")),l=Object(c["a"])(s,o,a,!1,null,"7c15a328",null);e["a"]=l.exports},"58d2":function(t,e,n){},"63fe":function(t,e,n){},"7b73":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("RewardCard",t._b({on:{redeem:function(e){return t.redeem(e)},likelyRedeemed:function(e){return t.$emit("likelyRedeemed",e)},ctaClick:function(e){return t.$emit("ctaClick",e)},expanded:function(e){return t.$emit("expanded")}}},"RewardCard",t.computedProps,!1))},a=[],i=n("5530"),r=n("2b0e"),s=n("3fae"),c=n("724c"),l=r["default"],d=l.extend({name:"PromotionCard",components:{RewardCard:s["a"]},props:Object(i["a"])({},c["a"]),data:function(){return{}},computed:{computedProps:function(){return Object(i["a"])({},this.$props,{type:"promotion",offerStatus:"can_redeem",selected:!1,successColor:"",moreInfoIcon:"fa-solid fa-tag",moreInfoTitle:"Promotion"})}},methods:{redeem:function(t){this.$emit("redeem",t)}}}),u=d,f=n("2877"),_=Object(f["a"])(u,o,a,!1,null,null,null);e["a"]=_.exports},a925:function(t,e,n){},b055:function(t,e,n){"use strict";var o=n("58d2"),a=n.n(o);a.a},b344a:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"empty-state__container",style:Object.assign({},{fontFamily:t.STYLE_CONFIG.basicFont,borderRadius:t.rounded?"10px":"0px"},t.styles)},[t._t("default",[n("Airplane"),n("div",{staticClass:"empty-state__copy"},[t._t("copy",[t._v(" "+t._s(t.text)+" ")])],2),n("Button",{ref:"empty-state__button",attrs:{backgroundColor:t.STYLE_CONFIG.buttonBackgroundColor,color:t.STYLE_CONFIG.buttonTextColor,width:"145px",rounded:t.rounded,fontFamily:t.STYLE_CONFIG.basicFont},nativeOn:{click:function(e){return t.handleEmptyStateClick(e)}}},[t._v(" "+t._s(t.copy.book)+" ")])],{ctaClickHandler:t.handleEmptyStateClick})],2)},a=[],i=n("5530"),r=n("2b0e"),s=n("2f62"),c=n("a469"),l=n("4293"),d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{id:"paper-airplane-svg",width:t.width,height:t.height,viewBox:"0 0 842 500",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M2 301.354C28.0862 345.316 142.957 488.145 299.932 472.624C415.719 461.175 450.958 393.86 450.958 347.609C450.958 322.878 446.382 237.242 379.106 240.911C349.278 242.538 328.382 285.326 349.817 318.756C367.1 345.711 406.612 364.217 439.059 361.802C494.435 357.681 556.218 316.815 591 283.843",stroke:"#929194","stroke-width":"4","stroke-dasharray":"10 10"}}),n("path",{attrs:{d:"M774 103.297L506.503 181.295L580.503 209.296L774 103.297Z",fill:"#CDCDCD"}}),n("path",{attrs:{d:"M774.003 103.299L611.5 275.797L580.506 209.298L774.003 103.299Z",fill:"#9F9F9F"}}),n("path",{attrs:{d:"M611.5 275.797L646.5 238.797L619.5 223.297L611.5 275.797Z",fill:"#707070"}}),n("path",{attrs:{d:"M774 103.297L681.5 308.297L619.5 223.297L774 103.297Z",fill:"#CDCDCD"}})])},u=[],f={name:"Airplane",props:{width:{type:String,required:!1,default:"280"},height:{type:String,required:!1,default:"160"}}},_=f,p=n("2877"),C=Object(p["a"])(_,d,u,!1,null,null,null),m=C.exports,b=r["default"],h=b.extend({name:"EmptyState",components:{Button:l["a"],Airplane:m},props:{styles:{type:Object,required:!1,default:function(){return{}}},text:{type:String,required:!1},rounded:{type:Boolean,required:!1,default:!0}},data:function(){return{copy:{book:"BOOK A STAY"}}},computed:Object(i["a"])({},Object(s["c"])([c["jb"],c["j"]])),methods:{handleEmptyStateClick:function(){window.open(this.CUSTOM_URL_1,"_newtab")}}}),v=h,O=(n("b055"),Object(p["a"])(v,o,a,!1,null,"08e0a96a",null));e["a"]=O.exports},c673:function(t,e,n){"use strict";var o=n("63fe"),a=n.n(o);a.a},cbef:function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",{style:{color:t.STYLE_CONFIG.mainTextColor},attrs:{id:"v2-promotions"}},[n("ConnectedMilestoneNotificationBar"),n("Title",{style:{fontFamily:t.STYLE_CONFIG.stylizedFont}},[t._v(" "+t._s(t.HEADER_COPY.promotions))]),n("div",{style:{margin:"0 10px"}},[0===t.promotions.length?n("EmptyState",{ref:"promotion-list__empty-state",attrs:{text:t.EMPTY_STATE_COPY.promotions.copy,id:"promotions-list__empty-state-upcoming",rounded:t.STYLE_CONFIG.roundedCorners}}):t._e()],1),t._l(t.promotions,(function(e,o){return n("div",{key:e.reward_data.id,staticClass:"promotions__card-container",style:{marginTop:0===o?"0px":"12px"}},[n("PromotionCard",t._b({on:{"~expanded":function(n){return t.$store.dispatch("eventTracking/TRACK_EVENT",{eventAction:"Intent promotion",eventLabel:e.reward_data.client_facing_description})},redeem:function(n){return t.redeem(n,e)},likelyRedeemed:function(n){t.UPDATE_LIKELY_REDEEMED({id:n.id,uuid:e.offer_uuid}),t.$store.dispatch("eventTracking/TRACK_EVENT",{eventAction:"Claim promotion",eventLabel:e.reward_data.client_facing_description})}}},"PromotionCard",t.getProps(e),!1))],1)}))],2):t._e()},a=[],i=(n("96cf"),n("1da1")),r=n("5530"),s=n("2b0e"),c=n("2f62"),l=n("41b3"),d=n("7b73"),u=n("3b09"),f=n("724c"),_=n("b344a"),p=n("d090"),C=s["default"],m=C.extend({name:"Promotions",components:{Title:u["a"],PromotionCard:d["a"],EmptyState:_["a"],ConnectedMilestoneNotificationBar:p["a"]},data:function(){return{show:!1}},computed:Object(r["a"])({},Object(c["e"])("transactions",["promotions"]),{},Object(c["c"])(["STYLE_CONFIG","EMPTY_STATE_COPY","HEADER_COPY","REDEMPTION_METHOD_COPY_CONFIG"])),mounted:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.show=!1,e.next=3,t.FETCH_SELECTIONS({config:{mutation:l["G"],isPromotion:!0,active:!0}});case 3:t.show=!0;case 4:case"end":return e.stop()}}),e)})))()},methods:Object(r["a"])({},Object(c["b"])("transactions",["FETCH_SELECTIONS",l["U"],l["T"]]),{getProps:function(t){return Object(f["b"])({reward:t,offerStatus:null,selected:!1,footerColor:"",successColor:"",accentColor:this.STYLE_CONFIG.buttonBackgroundColor,buttonTextColor:this.STYLE_CONFIG.buttonTextColor,fontFamily:this.STYLE_CONFIG.basicFont,rounded:this.STYLE_CONFIG.roundedCorners,redemptionCtaCopyConfig:this.REDEMPTION_METHOD_COPY_CONFIG})},redeem:function(t,e){var n=this;return Object(i["a"])(regeneratorRuntime.mark((function o(){var a;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,n[l["U"]](Object(r["a"])({},t,{redemptionStatus:"se_re"}));case 2:a=o.sent,a.error||n.$store.dispatch("eventTracking/TRACK_EVENT",{eventAction:"Redeem now",eventLabel:e.reward_data.client_facing_description});case 4:case"end":return o.stop()}}),o)})))()}})}),b=m,h=(n("ffe5"),n("2877")),v=Object(h["a"])(b,o,a,!1,null,"246124d9",null);e["default"]=v.exports},d090:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.COMPONENT_CONFIG.showMilestoneBanner?n("div",{staticClass:"connected-milestone-notification-bar__container"},[n("NotificationBar",{attrs:{accentColor:t.STYLE_CONFIG.highlightColor,rounded:t.STYLE_CONFIG.roundedCorners},scopedSlots:t._u([{key:"content",fn:function(){return[n("div",{staticClass:"milestone-notification-bar__content-container",style:{color:t.STYLE_CONFIG.mainTextColor}},[n("div",{staticClass:"milestone-notification-bar__title"},[t._v(" Explore Your Milestones ")]),n("div",{staticClass:"milestone-notification-bar__body"},[t._v(" Milestones are rewards we offer as a token of thanks, explore the exclusive milestones available to you! ")])])]},proxy:!0}],null,!1,1842465720)},[n("div",{staticClass:"milestone-notification-bar__cta-container",style:{color:t.STYLE_CONFIG.highlightColor},attrs:{slot:"cta"},on:{click:function(e){return t.handleCtaClick()}},slot:"cta"},[n("span",{staticClass:"milestone-notification-bar__cta-copy"},[t._v("View Milestones")]),n("svg",{staticClass:"milestone-notification-bar__cta-caret",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 8 12",fill:"none"}},[n("path",{staticClass:"milestone-notification-bar__cta-caret__path",attrs:{d:"M0.276298 0.264139C0.102338 0.433317 0.00461293 0.662742 0.00461294 0.901961C0.00461294 1.14118 0.102338 1.37061 0.276298 1.53978L4.86955 6.00545L0.276298 10.4711C0.107268 10.6413 0.0137383 10.8691 0.0158526 11.1057C0.0179669 11.3422 0.115556 11.5685 0.287602 11.7358C0.459647 11.903 0.692384 11.9979 0.935684 12C1.17898 12.002 1.41338 11.9111 1.58839 11.7468L6.83769 6.64327C7.01165 6.47409 7.10938 6.24467 7.10938 6.00545C7.10938 5.76623 7.01165 5.5368 6.83769 5.36762L1.58839 0.264139C1.41438 0.0950108 1.1784 5.43587e-08 0.932344 5.66138e-08C0.686291 5.8869e-08 0.450311 0.0950108 0.276298 0.264139Z",fill:t.STYLE_CONFIG.highlightColor}})])])])],1):t._e()},a=[],i=n("5530"),r=n("2b0e"),s=n("2f62"),c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"notification-bar__container",style:Object.assign({},{borderRadius:t.rounded?"3px 10px 10px 3px":"0px"},t.styles,{"--accent-color":t.accentColor})},[n("div",{staticClass:"notification-bar__accent",style:{borderRadius:t.rounded?"9px":"0px"}}),n("div",{staticClass:"notification-bar__content-container"},[n("div",{staticClass:"notification-bar__content"},[t._t("content")],2)]),n("div",{staticClass:"notification-bar__cta-container"},[t._t("cta")],2)])},l=[],d=r["default"].extend({name:"NotificationBar",props:{accentColor:{type:String,required:!0,default:"#000000"},rounded:{type:Boolean,required:!0,default:!0},styles:{type:Object,required:!1,default:function(){return{}}}}}),u=d,f=(n("d4ed"),n("2877")),_=Object(f["a"])(u,c,l,!1,null,null,null),p=_.exports,C=r["default"].extend({name:"ConnectedMilestoneNotificationBar",components:{NotificationBar:p},computed:Object(i["a"])({},Object(s["c"])(["STYLE_CONFIG","IS_STAFF","COMPONENT_CONFIG"])),methods:{handleCtaClick:function(){this.$router.push({name:this.IS_STAFF?"v2-staff-view-guest-milestones":"v2-guest-milestones",query:this.$route.query})}}}),m=C,b=(n("c673"),Object(f["a"])(m,o,a,!1,null,"cda3b63e",null));e["a"]=b.exports},d4ed:function(t,e,n){"use strict";var o=n("1bf6"),a=n.n(o);a.a},ffe5:function(t,e,n){"use strict";var o=n("a925"),a=n.n(o);a.a}}]);
//# sourceMappingURL=chunk-980849aa.88750b4f.js.map