1import{u as w}from"./Da0nx2w4.js";import{f,g as x,Q as K,c as p,o as y,j as T,n as M,a as o,t as e,_ as eo,d as ao,h as r,w as P,A as q,s as b,x as J,y as X,F as A,r as S,q as so,u as ro,v as no,U as lo,B as E}from"./DihDAdJ2.js";import{_ as I}from"./bxl9QzLy.js";import{j as H,z as W}from"./DsvKFbFK.js";import{V as U}from"./Dmiazl5n.js";import{u as io}from"./BBapef_b.js";import{V as co}from"./n6G7l8C4.js";import{u as po,a as yo}from"./DiLXEDfm.js";const _o={class:"loyalty-program-footer__content"},uo={class:"loyalty-program-footer__content-left"},mo={class:"loyalty-program-footer__label"},go=["innerHTML"],ho={class:"loyalty-program-footer__content-right"},$o={class:"loyalty-program-footer__description"},g="/img/cashback/footerBannerNew.png",vo=f({__name:"LoyaltyProgramFooter",setup(d){const c=w(),t=K(),a=x(()=>({"--bg-mobile":`-webkit-image-set( 2 url('/image-proxy?source=${t.public.AppUrl}${g}&width=360') 1x, 3 url('/image-proxy?source=${t.public.AppUrl}${g}&width=720') 2x, 4 url('/image-proxy?source=$runtimeConfig.public.AppUrl }${g}&width=1080') 3x 5 )`,"--bg-tablet":`-webkit-image-set( 6 url('/image-proxy?source=${t.public.AppUrl}${g}&width=1023') 1x, 7 url('/image-proxy?source=${t.public.AppUrl}${g}&width=2046') 2x, 8 url('/image-proxy?source=${t.public.AppUrl}${g}&width=3069') 3x 9 )`,"--bg-desktop":`-webkit-image-set( 10 url('/image-proxy?source=${t.public.AppUrl}${g}&width=1920') 1x, 11 url('/image-proxy?source=${t.public.AppUrl}${g}&width=2840') 2x, 12 url('/image-proxy?source=${t.public.AppUrl}${g}&width=5760') 3x 13 )`}));function _(){c.setPassedObj({eventName:"country-link",eventValue:"check-in"})}return(i,v)=>(y(),p("div",{style:M(a.value),class:T([{"cashback-footer_vn-font":i.$i18n.locale==="vn"},"loyalty-program-footer"])},[o("div",_o,[o("div",uo,[o("span",mo,e(i.$t("LoyaltyProgram.Header.Label")),1),o("div",{class:"loyalty-program-footer__main-logo",innerHTML:i.$t("LoyaltyProgram.Header.Title")},null,8,go)]),o("div",ho,[o("p",$o,e(i.$t("LoyaltyProgram.Header.Description")),1),o("button",{class:"loyalty-program-footer__button",onClick:_},e(i.$t("LoyaltyProgram.Header.Registration")),1)])])],6))}}),bo={name:"LoyaltyProgramFooterBottom",components:{SwLink:H}},fo={class:"loyalty-program-footer-bottom__copyrights"};function Po(d,c,t,a,_,i){const v=I,$=ao("sw-link");return y(),p("footer",{class:T([{"loyalty-program-footer-bottom_vn-font":d.$i18n.locale==="vn"},"loyalty-program-footer-bottom"])},[r($,{to:"/",class:"loyalty-program-footer-bottom__company-logo"},{default:P(()=>[r(v,{name:"cashback/logo"})]),_:1}),o("p",fo,e(d.$t("Footer.Copyright")),1)],2)}const wo=eo(bo,[["render",Po]]),ko={class:"loyalty-program-header__content"},Lo={class:"loyalty-program-header__label"},qo=["innerHTML"],xo={class:"loyalty-program-header__description"},h="/img/cashback/headerBannerNew.png",Co=f({__name:"LoyaltyProgramHeader",setup(d){const c=w(),t=K(),a=x(()=>({"--bg-mobile":`-webkit-image-set( 14 url('/image-proxy?source=${t.public.AppUrl}${h}?width=400') 1x, 15 url('/image-proxy?source=${t.public.AppUrl}${h}?width=800') 2x, 16 url('/image-proxy?source=${t.public.AppUrl}${h}?width=1200') 3x 17 )`,"--bg-tablet":`-webkit-image-set( 18 url('/image-proxy?source=${t.public.AppUrl}${h}?width=800') 1x, 19 url('/image-proxy?source=${t.public.AppUrl}${h}?width=1600') 2x, 20 url('/image-proxy?source=${t.public.AppUrl}${h}?width=2400') 3x 21 )`,"--bg-desktop":`-webkit-image-set( 22 url('/image-proxy?source=${t.public.AppUrl}${h}?width=1920') 1x, 23 url('/image-proxy?source=${t.public.AppUrl}${h}?width=2840') 2x, 24 url('/image-proxy?source=${t.public.AppUrl}${h}?width=5760') 3x 25 )`}));function _(){c.setPassedObj({eventName:"country-link",eventValue:"check-in"})}return(i,v)=>{const $=I;return y(),p("div",{style:M(a.value),class:T([{"loyalty-program-header_vn-font":i.$i18n.locale==="vn"},"loyalty-program-header"])},[r(q(H),{to:"/",class:"loyalty-program-header__company-logo"},{default:P(()=>[r($,{name:"cashback/logo"})]),_:1}),o("div",ko,[o("span",Lo,e(i.$t("LoyaltyProgram.Header.Label")),1),o("div",{class:"loyalty-program-header__main-logo",innerHTML:i.$t("LoyaltyProgram.Header.Title")},null,8,qo),o("p",xo,e(i.$t("LoyaltyProgram.Header.Description")),1),o("button",{class:"loyalty-program-header__button",onClick:_},e(i.$t("LoyaltyProgram.Header.Registration")),1)])],6)}}}),Ao={class:"loyalty-program-points__banner-wrapper"},So=["innerHTML"],Ho={class:"loyalty-program-points__description-wrapper"},To={class:"loyalty-program-points__description-title"},Mo={class:"loyalty-program-points__description-sub-title"},Uo={class:"loyalty-program-points__description-content-wrapper"},Bo={class:"loyalty-program-points__description-icon"},Fo={class:"loyalty-program-points__description-text"},Ro={class:"loyalty-program-points__description-sign"},zo=f({__name:"LoyaltyProgramPoints",setup(d){const c=w(),t=["LoyaltyProgram.Points.Point1","LoyaltyProgram.Points.Point2","LoyaltyProgram.Points.Point3"],a=b(0),_=b(null),i=b(null),v=x(()=>({"--width":`${a.value}px`}));J(()=>{var l;a.value=(l=i.value)==null?void 0:l.clientWidth,window.addEventListener("resize",k)}),X(()=>{window.removeEventListener("resize",k)});function $(){c.setPassedObj({eventName:"country-link",eventValue:"check-in"})}function k(){clearTimeout(_.value),_.value=setTimeout(()=>{L()},100)}function L(){var l;a.value=(l=i.value)==null?void 0:l.clientWidth}return(l,B)=>{const C=I;return y(),p("div",{style:M(v.value),class:"loyalty-program-points"},[o("div",Ao,[r(U,{url:"/img/cashback/cashback-points-banner-desktop.png",alt:"loyalty-program-points-points",sizes:"(max-width: 767px) 320px, 568px",class:"loyalty-program-points__banner"}),o("div",{ref_key:"loyaltyProgramPoints",ref:i,class:"loyalty-program-points__banner-title",innerHTML:l.$t("LoyaltyProgram.Points.CashbackSum")},null,8,So)]),o("div",Ho,[o("h3",To,e(l.$t("LoyaltyProgram.Points.Title")),1),o("p",Mo,e(l.$t("LoyaltyProgram.Points.Description")),1),o("div",Uo,[(y(),p(A,null,S(t,(F,R)=>o("div",{key:R,class:"loyalty-program-points__description-content"},[o("div",Bo,[r(C,{name:"cashback/snowflake"})]),o("p",Fo,e(l.$t(F)),1)])),64))]),o("p",Ro,e(l.$t("LoyaltyProgram.Points.Sign")),1),o("button",{class:"loyalty-program-points__registration-button",onClick:$},e(l.$t("LoyaltyProgram.Points.Registration")),1)])],4)}}}),Io={class:"loyalty-program-refer"},Qo=["innerHTML"],Vo={class:"loyalty-program-refer__description"},No=f({__name:"LoyaltyProgramRefer",setup(d){const c=w();function t(){c.setPassedObj({eventName:"country-link",eventValue:"check-in"})}return(a,_)=>(y(),p("div",Io,[r(U,{url:"/img/cashback/referBanner.png",alt:"loyalty-program-refer",sizes:"(max-width: 767px) 400px, (max-width: 1399px) 768x, 873px",class:"loyalty-program-refer__banner"}),o("p",{class:"loyalty-program-refer__title",innerHTML:a.$t("LoyaltyProgram.Refer.Title")},null,8,Qo),o("p",Vo,e(a.$t("LoyaltyProgram.Refer.Description")),1),o("button",{class:"loyalty-program-refer__button",onClick:t},e(a.$t("LoyaltyProgram.Refer.Registration")),1)]))}}),jo={class:"loyalty-program-presents"},Do={class:"loyalty-program-presents__text"},Oo={class:"loyalty-program-presents__text-title"},Eo={class:"loyalty-program-presents__text-description"},Wo=f({__name:"LoyaltyProgramPresents",setup(d){const c=w();function t(){c.setPassedObj({eventName:"country-link",eventValue:"check-in"})}return(a,_)=>(y(),p("div",jo,[o("div",Do,[o("span",Oo,e(a.$t("LoyaltyProgram.Presents.Title")),1),o("p",Eo,e(a.$t("LoyaltyProgram.Presents.Description")),1),o("button",{class:"loyalty-program-presents__button",onClick:t},e(a.$t("LoyaltyProgram.Presents.Registration")),1)]),r(U,{url:"/img/cashback/clubPresents.png",alt:"loyalty-program-presents",sizes:"(max-width: 767px) 400px, 617px",class:"loyalty-program-presents__banner"})]))}}),Go={class:"loyalty-program-questions"},Ko={class:"loyalty-program-questions__header"},Jo={class:"loyalty-program-questions__header-banner-wrapper"},Xo=["innerHTML"],Yo={class:"loyalty-program-questions__header-content"},Zo={class:"loyalty-program-questions__header-title"},ot={class:"loyalty-program-questions__content"},tt={class:"loyalty-program-questions__rules"},et=["id"],at={class:"loyalty-program-questions__rules-title"},st=["innerHTML"],rt={class:"loyalty-program-questions__ask"},nt={class:"loyalty-program-questions__ask-title"},lt={class:"loyalty-program-questions__ask-text"},it={class:"loyalty-program-questions__ask-mail-wrapper"},ct={class:"loyalty-program-questions__ask-mail-icon"},pt={class:"loyalty-program-questions__ask-mail-icon"},yt=35,G="Cashback.Questions.Mail1",_t=f({__name:"LoyaltyProgramQuestions",async setup(d){var V;let c,t;const a=so(),_=w(),i=po(),v=yo(),{t:$}=ro(),k=b(null),L=b(0),l=b(null),B=b([]),C=x(()=>{let s=[];return $(G).includes("Cashback.Questions.Mail")||(s=$(G).split("/").map(u=>({type:u.includes("@")?"mail":"phone",value:u}))),{phones:s.filter(u=>u.type==="phone"),mails:s.filter(u=>u.type==="mail")}}),F=x(()=>({"--width":`${L.value}px`})),{data:R}=([c,t]=no(async()=>io(async()=>({activeFaqs:(await oo(yt)).filter(n=>!!n&&n.IsActive).map(n=>({question:n.Question,answer:n.Answer}))??[]}),"$NaQjiKh_bw")),c=await c,t(),c);B.value=((V=R.value)==null?void 0:V.activeFaqs)??[],J(()=>{var s;L.value=(s=l==null?void 0:l.value)==null?void 0:s.clientWidth,window.addEventListener("resize",Q)}),X(()=>{window.removeEventListener("resize",Q)});function Y(){_.setPassedObj({eventName:"country-link",eventValue:"check-in"})}function Q(){clearTimeout(k),k.value=setTimeout(()=>{Z()},100)}function Z(){var s;L.value=(s=l==null?void 0:l.value)==null?void 0:s.clientWidth}async function oo(s){var m,N;const u=await v.findBaseFaq({filter:{CurrentPage:1,PerPage:10,RegionId:((m=a.region)==null?void 0:m.id)??0,LanguageId:((N=a.getCurrentLanguage)==null?void 0:N.id)??0,FaqGroupId:s},header:""}),n=(u==null?void 0:u.List)??[];return await Promise.all(n.map(async to=>{var j,D,O;const z=await i.findFaq({filter:{CurrentPage:1,PerPage:10,RegionId:((j=a.region)==null?void 0:j.id)??0,LanguageId:((D=a.getCurrentLanguage)==null?void 0:D.id)??0,BaseFaqID:to.Id},header:""});return(O=z==null?void 0:z.List)==null?void 0:O[0]}))}return(s,u)=>(y(),p("div",Go,[o("div",Ko,[o("div",Jo,[r(U,{url:"/img/cashback/cashback-percent-banner.png",alt:"loyalty-program-questions",sizes:"(max-width: 767px) 500px, 768px",class:"loyalty-program-questions__header-banner"}
25),o("div",{style:M(F.value),class:"loyalty-program-questions__header-banner-title",innerHTML:s.$t("LoyaltyProgram.Questions.CashbackSum")},null,12,Xo)]),o("div",Yo,[o("h2",Zo,e(s.$t("LoyaltyProgram.Questions.Title")),1),o("button",{class:"loyalty-program-questions__header-registration",onClick:Y},e(s.$t("LoyaltyProgram.Questions.Registration")),1)])]),o("div",ot,[o("div",tt,[(y(!0),p(A,null,S(B.value,(n,m)=>(y(),p("div",{key:m,class:"loyalty-program-questions__rules-item-wrapper"},[o("div",{id:`faq${m+1}`,class:"loyalty-program-questions__rules-anchor"},null,8,et),r(co,{"is-initial-open":(s._.provides[lo]||s.$route).hash===`#faq${m+1}`,"arrow-icon":"",class:"loyalty-program-questions__rules-item"},{title:P(()=>[o("span",at,e(n.question),1)]),content:P(()=>[o("div",{class:"loyalty-program-questions__rules-dropdown-content",innerHTML:n.answer},null,8,st)]),_:2},1032,["is-initial-open"])]))),128))]),o("div",rt,[o("h3",nt,e(s.$t("LoyaltyProgram.Questions.MoreQuestions")),1),o("p",lt,e(s.$t("LoyaltyProgram.Questions.AskQuestion")),1),o("div",it,[(y(!0),p(A,null,S(C.value.phones,(n,m)=>(y(),p("div",{key:m,class:"loyalty-program-questions__ask-mail"},[o("div",ct,[r(q(W),{name:"sw-social/phone-32"})]),r(q(H),{"hover-color":"none",to:n.value.includes("@")?`mailto:${n}`:`tel:${n}`,class:"loyalty-program-questions__ask-mail-item"},{default:P(()=>[E(e(s.$t(n.value)),1)]),_:2},1032,["to"])]))),128)),(y(!0),p(A,null,S(C.value.mails,(n,m)=>(y(),p("div",{key:m,class:"loyalty-program-questions__ask-mail"},[o("div",pt,[r(q(W),{name:"sw-social/email-32"})]),r(q(H),{"hover-color":"none",to:n.value.includes("@")?`mailto:${n}`:`tel:${n}`,class:"loyalty-program-questions__ask-mail-item"},{default:P(()=>[E(e(s.$t(n.value)),1)]),_:2},1032,["to"])]))),128))])])])]))}}),ft=f({__name:"cashback",setup(d){return(c,t)=>{const a=vo,_=wo;return y(),p("div",{class:T([{"loyalty-program_vn-font":c.$i18n.locale==="vn"},"loyalty-program"])},[r(Co),r(zo),r(No),r(Wo),r(_t),r(a),r(_)],2)}}});export{ft 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.