1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3401],{13401:(e,t,r)=>{r.r(t),r.d(t,{GenerateVoucher:()=>h});var s=r(26514),c=r(60269),i=r(80254),l=r(75406),n=r(81586),o=r(39285),a=r(59429),u=r(55047);let h=(0,a.PA)(({setLoading:e,className:t,...r})=>{let{t:a}=(0,u.Bd)("common"),{user:h,settings:d}=(0,n.Pj)(),p=async()=>{e(!0),await h.postVoucherClubClaim(),h.fetchVoucherClubPoints(),h.fetchClubVouchers(),e(!1)};return h?.clubPoints?.currentVoucherPrice?(0,s.jsxs)("section",{"data-testid":i.Q.AccountVouchersClubPointsSection,className:(0,l.cn)({"p-7 flex flex-col lg:flex-row gap-7 lg:gap-12 bg-orange-300 mb-7":!0,[`${t}`]:t}),...r,children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:(0,l.cn)({"mb-4 font-semibold":!0,...(0,o.H)({base:"text-lg",orsay:"text-2xl"})}),children:a("vouchers__gratulation",{price:h?.clubPoints?.currentVoucherPrice.toLocaleString(),currency:d.defaultCurrency})}),(0,s.jsx)("p",{className:"text-base",children:a("vouchers__validity")})]}),(0,s.jsx)("div",{children:(0,s.jsx)(c.S,{onClick:p,className:"w-full max-w-[291px] lg:min-w-60",variant:"inverted",children:a("vouchers__button__generate")})})]}):null})},39285:(e,t,r)=>{r.d(t,{H:()=>c});var s=r(81586);let c=({base:e="",celio:t,gap:r,geox:c,orsay:i,ua:l})=>{let{settings:n}=(0,s.Pj)(),o=e;return n.isCelio()&&"string"==typeof t&&(o=t),n.isGap()&&"string"==typeof r&&(o=r),n.isGeox()&&"string"==typeof c&&(o=c),n.isOrsay()&&"string"==typeof i&&(o=i),n.isUa()&&"string"==typeof l&&(o=l),{[o.trim()]:!!o.trim()}}}}]);
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.