1import{_}from"./bxl9QzLy.js";import{V as b}from"./DqnVWLDb.js";import{u as m}from"./Da0nx2w4.js";import{_ as k,I as u,c as n,o as i,a as s,h as r,d as P,n as g,t as o,F as C,r as f}from"./DihDAdJ2.js";let h=null;const v={name:"CashbackPoints",components:{VPicture:b},pointsContent:["Cashback.Points.Point1","Cashback.Points.Point2"],images:[{media:"(max-width: 767px)",url:"/img/cashback/cashback-points-banner-mobile.png",srcSet:"279, 558, 837",sizes:"279px"},{media:"(min-width: 768px)",url:"/img/cashback/cashback-points-banner-desktop.png",srcSet:"540, 568, 588, 1080, 1136, 1176, 1620, 1704, 1764",sizes:"(max-width: 1399px) 568x, (max-width: 1799px) 540px, 588px"}],data(){return{cashbackPointsWidth:0}},computed:{styles(){return{"--width":`${this.cashbackPointsWidth}px`}}},mounted(){this.cashbackPointsWidth=this.$refs.cashbackPoints.clientWidth,window.addEventListener("resize",this.throttleHandlePageResize)},beforeUnmount(){window.removeEventListener("resize",this.throttleHandlePageResize)},methods:{...u(m,{setPassedObj:"setPassedObj"}),openCountryModal(){this.setPassedObj({eventName:"country-link",eventValue:"check-in"})},throttleHandlePageResize(){clearTimeout(h),h=setTimeout(()=>{this.handlePageResize()},100)},handlePageResize(){this.cashbackPointsWidth=this.$refs.cashbackPoints.clientWidth}}},w={class:"cashback-points"},$={class:"cashback-points__banner-wrapper"},x=["innerHTML"],y={class:"cashback-points__description-wrapper"},z={class:"cashback-points__description-title"},R={class:"cashback-points__description-content-wrapper"},S={class:"cashback-points__description-icon"},V={class:"cashback-points__description-text"};function E(t,c,H,M,T,e){const d=P("VPicture"),p=_;return i(),n("div",w,[s("div",$,[r(d,{"image-options":t.$options.images,alt:"cashback-points",class:"cashback-points__banner"},null,8,["image-options"]),s("div",{ref:"cashbackPoints",style:g(e.styles),class:"cashback-points__banner-title",innerHTML:t.$t("Cashback.Points.CashbackSum")},null,12,x)]),s("div",y,[s("h3",z,o(t.$t("Cashback.Points.Title")),1),s("div",R,[(i(!0),n(C,null,f(t.$options.pointsContent,(a,l)=>(i(),n("div",{key:l,class:"cashback-points__description-content"},[s("div",S,[r(p,{name:"cashback/snowflake"})]),s("p",V,o(t.$t(a)),1)]))),128))]),s("button",{class:"cashback-points__registration-button",onClick:c[0]||(c[0]=(...a)=>e.openCountryModal&&e.openCountryModal(...a))},o(t.$t("Cashback.Points.Registration")),1)])])}const I=k(v,[["render",E]]);export{I as 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.