1import{K as e,Z as t,s as n,t as r}from"./jsx-runtime-Dto-l-31.js";import{a as i,i as a}from"./CookieConsentProvider-ChksojRz.js";import{t as o}from"./useTranslation-D3EEO24l.js";import{t as s}from"./proxy-Cx7lXvcZ.js";import{t as c}from"./faq-section-iaP_wLGU.js";import{t as l}from"./footer-BqzXdkZu.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"./google-play-en-LHpAZzqA.js";import{t as g}from"./giftcards-BDard3jG.js";var _=t(e(),1),v=r();function y(){let{t:e,i18n:t}=o(`giftcards`),n={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.03,delayChildren:.2}}},r={hidden:{opacity:0,scale:.8},show:{opacity:1,scale:1,transition:{type:`spring`,stiffness:100,damping:15}}},i=Math.ceil(g.length/3),a=[g.slice(0,i),g.slice(i,i*2),g.slice(i*2)],c=(0,_.useRef)(null),l=(0,_.useRef)(null),u=(0,_.useCallback)(()=>{let e=c.current,t=l.current;if(!e||!t)return;let n=e.scrollWidth-e.clientWidth;if(n<=0)return;let r=e.scrollLeft/n;t.style.left=`${r*92}px`},[]);return(0,v.jsxs)(`div`,{className:`container mx-auto px-0 py-7 lg:px-4 lg:py-24`,children:[(0,v.jsxs)(`div`,{className:`lg:hidden`,children:[(0,v.jsx)(`div`,{className:`relative mx-auto mb-4 h-1 w-[120px] rounded-full bg-gray-300`,children:(0,v.jsx)(`div`,{ref:l,className:`absolute h-full w-7 rounded-full bg-gray-500`,style:{left:0}})}),(0,v.jsx)(`div`,{ref:c,onScroll:u,className:`scrollbar-hide overflow-x-scroll`,children:(0,v.jsx)(`div`,{className:`flex w-max flex-col gap-5 pl-4`,children:a.map((i,a)=>(0,v.jsx)(s.div,{variants:n,initial:`hidden`,whileInView:`show`,viewport:{once:!0},className:`flex gap-5`,children:i.map(n=>(0,v.jsxs)(s.div,{variants:r,className:`group mb-[10px] flex w-[224px] flex-shrink-0 flex-col items-center`,children:[(0,v.jsx)(`div`,{className:`mb-5 flex h-[169px] w-[224px] items-center justify-center`,children:(0,v.jsx)(`img`,{src:n.image,alt:n.name,loading:`lazy`,className:`h-full w-full object-contain`})}),(0,v.jsx)(`span`,{className:`text-center text-lg font-extrabold text-navy-blue`,children:n.name}),(0,v.jsxs)(`span`,{className:`text-lg font-extrabold text-primary`,children:[new Intl.NumberFormat(t.language||`de`,{style:`percent`,minimumFractionDigits:1,currency:`EUR`}).format(Math.abs(Number(n.cashback/100))),` `,e(`brands.cashbackSuffix`)]})]},n.key))},a))})})]}),(0,v.jsx)(s.div,{variants:n,initial:`hidden`,whileInView:`show`,viewport:{once:!0},className:`hidden justify-center gap-5 lg:flex lg:flex-wrap`,children:g.map(n=>(0,v.jsxs)(s.div,{variants:r,className:`group mb-[10px] flex w-[224px] flex-col items-center`,children:[(0,v.jsx)(`div`,{className:`mb-5 flex h-[169px] w-[224px] items-center justify-center`,children:(0,v.jsx)(`img`,{src:n.image,alt:n.name,loading:`lazy`,className:`h-full w-full object-contain`})}),(0,v.jsx)(`span`,{className:`text-center text-lg font-extrabold text-navy-blue`,children:n.name}),(0,v.jsxs)(`span`,{className:`text-lg font-extrabold text-primary`,children:[new Intl.NumberFormat(t.language||`de`,{style:`percent`,minimumFractionDigits:1,currency:`EUR`}).format(Math.abs(Number(n.cashback/100))),` `,e(`brands.cashbackSuffix`)]})]},n.key))})]})}function b(){let{t:e,i18n:t}=o(`giftcards`),n=t.language===`de`;return(0,v.jsxs)(`section`,{className:`relative my-7 bg-[#f4fef5] py-10 lg:my-0 lg:py-24`,id:`download`,children:[(0,v.jsx)(`div`,{className:`container mx-auto max-w-[980px] px-4 md:px-6`,children:(0,v.jsxs)(`div`,{className:`lg:flex lg:items-center lg:justify-between`,children:[(0,v.jsxs)(s.div,{className:i(`space-y-4 whitespace-pre-line`,n?`w-full`:`max-w-lg`),initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:[(0,v.jsxs)(`h2`,{className:`text-4xl font-bold text-navy-blue md:text-5xl lg:text-6xl`,children:[(0,v.jsx)(`span`,{className:`text-primary`,children:e(`cta.highlight`)}),e(`cta.title`)]}),(0,v.jsx)(`p`,{className:`text-base text-navy-blue lg:text-xl`,children:e(`cta.subtitle`)}),(0,v.jsxs)(`div`,{className:`mt-4 flex flex-row gap-2 sm:gap-4 lg:hidden`,children:[(0,v.jsx)(`a`,{href:`https://apps.apple.com/${n?`de`:`us`}/app/fliz-pay/id6480379711`,target:`_blank`,rel:`noopener noreferrer`,children:(0,v.jsx)(`img`,{src:n?d:m,alt:`Apple Store`,className:`backface-hidden h-14 w-auto transform-gpu cursor-pointer`})}),(0,v.jsx)(`a`,{href:`https://play.google.com/store/apps/details?id=com.flizpay2&hl=${t.language}`,target:`_blank`,rel:`noopener noreferrer`,children:(0,v.jsx)(`img`,{src:n?f:h,alt:`Google Play Store`,className:`backface-hidden h-14 w-auto transform-gpu cursor-pointer`})})]})]}),(0,v.jsx)(s.div,{className:`hidden justify-end lg:flex`,initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:(0,v.jsx)(u,{imageSettings:{src:p,height:72,width:72,excavate:!0},value:`https://flizpay.de/app`,level:`H`,size:255,bgColor:`transparent`,fgColor:`#001f3f`})})]})}),(0,v.jsx)(`div`,{className:`absolute inset-0 -z-10 bg-[radial-gradient(45rem_50rem_at_top,theme(colors.primary/8),transparent)] opacity-20`})]})}function x(){let{t:e,i18n:t}=o(`giftcards`),n=t.language===`de`;return(0,v.jsxs)(`section`,{className:`relative overflow-hidden bg-background pb-7 pt-12 lg:pb-12 lg:pt-24`,children:[(0,v.jsx)(`div`,{className:`container mx-auto px-4 md:px-6`,children:(0,v.jsxs)(`div`,{className:`mx-auto max-w-4xl space-y-8 text-center`,children:[(0,v.jsxs)(s.h1,{initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},transition:{duration:.5},className:a(`text-4xl font-bold tracking-tight md:text-5xl lg:text-6xl`,n?`text-primary`:`text-navy-blue`),children:[e(`hero.${n?`highlight`:`title`}`),(0,v.jsx)(`span`,{className:a(n?`text-navy-blue`:`text-primary`),children:e(`hero.${n?`title`:`highlight`}`)})]}),(0,v.jsx)(s.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:`mx-auto mt-6 max-w-[780px] text-base text-navy-blue lg:text-xl`,children:e(`hero.subtitle`)})]})}),(0,v.jsx)(`div`,{className:`absolute inset-0 -z-10 bg-[radial-gradient(45rem_50rem_at_top,theme(colors.primary/8),transparent)] opacity-20`})]})}var S=n(function(){return(0,v.jsxs)(`main`,{children:[(0,v.jsx)(x,{}),(0,v.jsx)(y,{}),(0,v.jsx)(b,{}),(0,v.jsx)(c,{type:`giftcards`}),(0,v.jsx)(l,{})]})});export{S 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.