import{j as e,B as o,g as d,A as f,b,r as x,cl as P,cm as G,au as k,bq as C,cn as L,e_ as I,U as F,a0 as p,V as w,x as S,Z as A,ag as Q,G as q,e$ as K,c3 as Z,f0 as M,dA as N,ee as U,f1 as J,f2 as X,a as E,f3 as Y,X as ee,ce as te,f4 as se,dH as ne,f5 as oe,f6 as z,aJ as R,f7 as ie}from"./index-D5jBmCgz.js";import{A as _,a as O,b as H}from"./AccordionDetails-DuVMOcHL.js";import{S as D}from"./index-ChTWpGjl.js";import{r as re}from"./reviews-BhD9gogG.js";import{I as ae}from"./Icon-B7d5BvT9.js";/* empty css */const le="/assets/home-faqs-illustration-BkbEru7O.svg";function $(t){return e.jsx(o,{component:"li",position:"relative",mb:2.5,...t,sx:{"&::before":{content:"''",display:"inline-block",verticalAlign:"middle",width:{xs:4,md:6},height:{xs:4,md:6},marginRight:3.75,borderRadius:"100%",background:d.black}}})}function ce({items:t}){const s=f("mdDown"),i=b(),[c,r]=x.useState(null),a=P?{href:G(k("faq"))}:{component:C,to:k("faq")};function m(n,g){r(g?n:!1)}const l=window.navigator.userAgent.indexOf(L)!==-1;x.useEffect(()=>{r(0)},[t]);const h=e.jsxs(o,{display:"flex",justifyContent:"flex-end",flexDirection:{xs:"column",md:"row"},alignItems:"center",gap:{xs:8,md:31},mt:{xs:12,md:26.5},children:[e.jsx(o,{textAlign:{xs:"center",md:"inherit"},children:e.jsx(I,{component:"img",sx:{width:"100%",maxWidth:241,height:"auto"},src:le,alt:i.formatMessage({id:"home.basicConcepts.imageAlt"}),width:"241",height:"233",loading:"lazy"})}),e.jsxs(F,{width:"100%",maxWidth:397,alignItems:{xs:"center",md:"flex-start"},children:[e.jsx(p,{variant:s?"subtitle1":"h3",component:"h5",fontWeight:400,textAlign:{xs:"center",md:"initial"},children:e.jsx(w,{id:"home.concepts.bottomTitle"})}),e.jsx(p,{variant:s?"body2":"body1",fontWeight:600,color:d.gray.text,mt:4,textAlign:{xs:"center",md:"initial"},children:e.jsx(w,{id:"home.concepts.bottomText"})}),e.jsx(S,{...a,size:"small",sx:{"&&&":{mt:7,minWidth:165}},children:e.jsx(w,{id:"home.concepts.doubsButton"})})]})]});return e.jsx(A,{in:!0,children:e.jsxs(o,{component:"ul",mt:{xs:10,lg:4},children:[t.map((n,g)=>e.jsx(o,{component:"li",children:e.jsxs(_,{expanded:c===g||l,onChange:(u,j)=>m(g,j),children:[e.jsx(O,{children:n.title}),e.jsxs(H,{textComponent:n.list&&n.list.length?"div":"p",children:[n.text,n.list&&!!n.list.length&&e.jsx(o,{component:"ul",sx:{width:"100%",paddingLeft:8,marginTop:2.5},children:n.list.map((u,j)=>e.jsx($,{children:u},`CollapsibleList-listItem--${j.toString()}`))})]})]})},`CollapsibleList-items--${g.toString()}`)),h]})})}function V({children:t,onClick:s=()=>{},iconComponent:i,selected:c,sx:r={},...a}){const m=c?d.primary.blue:d.gray.dark,l=i||(()=>null);return e.jsxs(o,{disableRipple:!0,component:Q,borderRadius:"8px 8px 0 0",py:3,px:i?2:6,sx:h=>({borderBottom:"2px solid transparent",borderColor:c?d.primary.blue:d.gray.light,background:c?d.primary.lightBlue:"transparent",transition:q.transition(),...typeof r=="function"?r(h):r}),height:48,onClick:s,...a,children:[i&&e.jsx(l,{fontSize:"inherit",sx:{fontSize:56,mr:3,color:m}}),e.jsx(p,{variant:"body1",color:m,fontWeight:700,children:t})]})}function de(){const t=K(),s=f("mdUp"),i=f("mdDown"),c=Z(),[r,a]=x.useState(0),m=t[r];return e.jsxs(o,{pb:{xs:10,md:25},pt:10,position:"relative",component:"section",children:[e.jsxs(M,{sx:{maxWidth:814},children:[e.jsx(p,{variant:i?"h3":"h2",component:"h2",textAlign:"center",children:e.jsx(w,{id:"home.faqsTitle"})}),t&&!!t.length&&e.jsx(e.Fragment,{children:s?e.jsx(o,{py:{xs:4,md:5},mt:3,width:"auto",maxWidth:"100%",overflow:{xs:"auto",sm:"initial"},children:e.jsx(N,{value:r,onChange:l=>a(l),children:e.jsx(o,{display:"flex",gap:5,children:t.map((l,h)=>e.jsx(U,{value:h,component:V,children:l.title},`Faqs-Tabs--${h.toString()}`))})})}):e.jsx(J,{mt:8,selectedIdx:r,value:r,options:t.map((l,h)=>({title:l.title,value:h})),menuWidth:200,menuMaxHeight:230,onSelect:l=>a(l)})}),c?e.jsx("div",{children:t.map(l=>{var h;return(h=l==null?void 0:l.items)==null?void 0:h.map((n,g)=>{var u;return e.jsxs("div",{children:[e.jsx(p,{component:"h5",variant:s?"subtitle3":"body1",fontWeight:600,children:n.title}),e.jsx("p",{children:n.text}),!!((u=n==null?void 0:n.list)!=null&&u.length)&&e.jsx("ul",{children:n.list.map((j,y)=>e.jsx($,{children:j},`faqItem-listItem-crawler--${y.toString()}`))})]},`faqItem-crawler--${g.toString()}`)})})}):e.jsx(ce,{items:m.items})]}),e.jsx(o,{position:"absolute",sx:{background:{md:"linear-gradient(12deg, rgba(201, 201, 255, 0.4) 20%, #F7f7f7 60%)"},bottom:0,left:0,width:"100%",height:671,zIndex:-2}}),e.jsx(o,{position:"absolute",sx:{background:d.gray.light,top:0,left:0,width:"100%",height:"100%",zIndex:-3}})]})}const he="/assets/concepts-2x-BFsBs1Mb.webp",me={en:{links:{qrCode:"QR_code"}},cs:{links:{qrCode:"QR_kód"}},da:{links:{qrCode:"QR_CODE"}},de:{links:{qrCode:"QR-Code"}},es:{links:{qrCode:"Código_QR"}},eu:{links:{qrCode:"QR_kode"}},fi:{links:{qrCode:"R-koodi"}},fr:{links:{qrCode:"Code_QR"}},it:{links:{qrCode:"Codice_QR"}},ja:{links:{qrCode:"QRコード"}},ko:{links:{qrCode:"QRコード"}},nb:{links:{qrCode:"QR-kode"}},nl:{links:{qrCode:"QR-code"}},pl:{links:{qrCode:"Kod_QR"}},pt:{links:{qrCode:"Código_QR"}},ro:{links:{qrCode:"Cod_QR"}},ru:{links:{qrCode:"QR-код"}},sl:{links:{qrCode:"Koda_QR"}},sv:{links:{qrCode:"QR-kod"}},th:{links:{qrCode:"รหัสคิวà¸à¸²à¸£à¹Œ"}},tr:{links:{qrCode:"QR_kodu"}},uk:{links:{qrCode:"QR-код"}},el:{links:{qrCode:"Κώδικας_QR"}},id:{links:{qrCode:"Kode_QR"}},bg:{links:{qrCode:"QR_код"}},hu:{links:{qrCode:"QR-kód"}},hr:{links:{qrCode:"QR_kod"}},sr:{links:{qrCode:"Kju-ar_kod"}},sk:{links:{qrCode:"R_kód"}},ms:{links:{qrCode:"Kod_QR"}},ca:{links:{qrCode:"Codi_QR"}},no:{links:{qrCode:"QR-kode"}},lv:{links:{qrCode:"KvadrÄtkods"}},zh:{links:{qrCode:"QR碼"}}},xe=(t,s)=>{t==="nb"&&(t="no");const{links:i}=me[t],c=i[s];return`https://${t}.wikipedia.org/wiki/${c}`};function T(){const t=X(),s=f("mdDown"),i=E(h=>h.user.locale),c=s?!1:0,[r,a]=x.useState(c);function m(h,n){a(n?h:!1)}const l=window.navigator.userAgent.indexOf(L)!==-1;return e.jsx(o,{component:"ul",width:"100%",maxWidth:{md:505},children:t.map((h,n)=>e.jsx(o,{component:"li",maxWidth:{md:397},children:e.jsxs(_,{expanded:r===n||l,onChange:(g,u)=>m(n,u),children:[e.jsx(O,{children:h.title}),e.jsxs(H,{children:[h.text,n===0&&e.jsx(o,{component:C,to:{pathname:xe(i,"qrCode")},target:"_blank",sx:{marginLeft:2,color:d.primary.blue},children:e.jsx(w,{id:"common.learnMore"})})]})]})},`BasicConcepts-CollapsibleList--${n.toString()}`))})}function ge(){const t=b(),s=f("mdDown"),i=f("smDown");return e.jsxs(M,{component:"section",sx:{paddingTop:{xs:8,md:30},paddingBottom:{xs:8,md:30},position:"relative"},children:[e.jsx(p,{variant:s?"h3":"h2",component:"h2",textAlign:"center",children:e.jsx(w,{id:"home.basicConcepts.title"})}),e.jsx(p,{variant:s?"body1":"subtitle3",component:"p",fontWeight:600,color:d.gray.text,textAlign:"center",mt:2,maxWidth:605,children:e.jsx(w,{id:"home.basicConcepts.description"})}),e.jsxs(o,{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"center",gap:{xs:9,md:23.5},width:"100%",marginTop:{xs:9,md:25},children:[s&&e.jsx(T,{}),e.jsx(o,{textAlign:{xs:"center",md:"inherit"},children:e.jsx(I,{component:"img",sx:{width:"100%",maxWidth:{xs:280,md:400},height:"auto"},src:i?Y:he,alt:t.formatMessage({id:"home.basicConcepts.imageAlt"}),width:"400",height:"545",loading:"lazy"})}),!s&&e.jsx(T,{})]})]})}const pe="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20%3e%3cpath%20d='M9.5%200.5L11.7336%206.92574L18.535%207.06434L13.114%2011.1743L15.084%2017.6857L9.5%2013.8L3.91604%2017.6857L5.88599%2011.1743L0.464963%207.06434L7.26642%206.92574L9.5%200.5Z'%20fill='%23FBBC05'%20/%3e%3c/svg%3e",ue="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20%3e%3cpath%20d='M9.5%200.5L11.7336%206.92574L18.535%207.06434L13.114%2011.1743L15.084%2017.6857L9.5%2013.8L3.91604%2017.6857L5.88599%2011.1743L0.464963%207.06434L7.26642%206.92574L9.5%200.5Z'%20fill='%23cccccc'%20/%3e%3c/svg%3e";function fe({rating:t,...s}){const i=Math.round(t);return e.jsx(o,{display:"flex",alignItems:"center",...s,children:Array(5).fill(null).map((c,r)=>{const a=r>=i;return e.jsx("img",{src:a?ue:pe,alt:""},`testimonials-star--${r}`)})})}function je({author:t,avatar:s,rating:i,text:c,time:r,originalLanguage:a,active:m,...l}){const h=f("lgDown"),n=f("mdDown"),g=x.useMemo(()=>ee(r).format("LL"),[r]);return e.jsxs(o,{...l,sx:{width:"100%",minHeight:m&&!h?288:236,minWidth:n?264:291,padding:8,background:d.white,borderRadius:2,boxShadow:m||h?"0px 10px 25px 0px rgba(205, 209, 224, 0.75)":"none",transition:q.transition(),...q.hover({boxShadow:"0px 10px 25px 0px rgba(205, 209, 224, 0.75)"},!0)},children:[e.jsx(te,{timeout:350,in:m||h,unmountOnExit:!0,exit:!1,children:e.jsxs(o,{display:"flex",gap:2.5,alignItems:"center",children:[s&&e.jsx("img",{style:{width:44,height:"auto",verticalAlign:"top",borderRadius:4},src:s,alt:t,width:"44",height:"44",loading:"lazy"}),e.jsxs(o,{children:[e.jsx(o,{component:"p",sx:{color:d.black,fontSize:16,fontWeight:700,lineHeight:1},children:t}),r&&e.jsx(o,{component:"p",sx:{color:d.gray.darkest,fontSize:12,fontWeight:400,lineHeight:"23px"},children:g})]})]})}),i&&e.jsxs(o,{display:"flex",alignItems:"center",gap:2,children:[e.jsx(fe,{rating:i,py:5}),e.jsx(o,{component:"p",sx:{color:d.black,fontSize:16,fontWeight:600,lineHeight:"28px"},children:i.toFixed(1).toString().replace(".",",")})]}),c&&e.jsx(o,{sx:{color:d.gray.darkest,fontSize:14,fontWeight:400,lineHeight:"18px"},children:e.jsx("div",{style:{maxHeight:150,overflow:"hidden",textOverflow:"ellipsis",WebkitLineClamp:7,WebkitBoxOrient:"vertical",display:"-webkit-box"},dangerouslySetInnerHTML:{__html:c}})})]})}function be(){const[t,s]=x.useState(!1),[i,c]=x.useState([]),r=b(),{locale:a}=r,m=async()=>{try{s(!0);const l=await re.getItems(a);c(l)}catch(l){console.warn("Error fetching reviews",l)}finally{s(!1)}};return x.useEffect(()=>{m()},[a]),{loading:t,items:i}}function we(){const t=x.useRef(null),s=b(),i=f("mdDown"),c=Z(),[r,a]=x.useState(0),{items:m=[],loading:l}=be(),h=u=>{a(u)},n=u=>{t.current&&t.current.slickGoTo(u)};x.useEffect(()=>{l||!m.length||(document.body.dataset.reviewsReady="")},[l,m]);const g=x.useMemo(()=>({className:"testimonials-slider",autoplay:!0,speed:500,autoplaySpeed:12e3,dots:!1,centerMode:!0,arrows:!1,infinite:!0,slidesToShow:3,slidesToScroll:1,touchThreshold:500,afterChange:h,responsive:[{breakpoint:1279,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:700,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!1}}]}),[]);return e.jsxs(o,{component:"section",position:"relative",pt:{md:12,xs:10},pb:{md:16,xs:4},overflow:"hidden",sx:{"&& .testimonials-slider":{display:"flex",flexDirection:"column",".slick-track":{display:"flex",alignItems:"center"},".slick-custom-dot":{display:"flex !important",gap:2,margin:"auto"}}},children:[e.jsx(o,{position:"absolute",bottom:0,left:0,width:"100%",height:530,zIndex:-1,sx:{background:"linear-gradient(180deg, #FFF -15%, #f7f7f7 100%)"}}),e.jsxs(o,{sx:{width:"calc(100% - 40px)",maxWidth:1050,margin:"auto"},children:[e.jsx(p,{variant:"h3",fontWeight:400,sx:{textAlign:"center"},children:s.formatMessage({id:"home.testimonials.title"})}),e.jsxs(p,{variant:i?"body1":"subtitle3",color:d.gray.text,fontWeight:600,textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:{xs:"column",sm:"row"},mt:4,children:[s.formatMessage({id:"home.testimonials.description"}),e.jsx(o,{component:"span",width:87,display:"inline-flex",alignItems:"center",ml:{xs:0,sm:2},mt:{xs:2,sm:0},children:e.jsx("img",{src:se,alt:"Google logo",style:{width:"100%",height:"auto",verticalAlign:"top",display:"block"},width:"87",height:"35"})})]})]}),e.jsxs(o,{marginTop:{xs:6,md:20},sx:{width:{xs:"100%",md:"calc(100% - 40px)"},maxWidth:1050,margin:"auto","& .slick-track":{minHeight:320},"& .slick-slide":{"&, & *":{"&:focus-visible":{outline:"none"}},"& > div":{padding:i?5:2.5}}},children:[l&&e.jsx(o,{sx:{width:"100%",height:300,display:"flex",justifyContent:"center",alignItems:"center"},children:e.jsx(ne,{size:24})}),!!(m!=null&&m.length)&&!l&&e.jsx(D,{ref:t,...g,children:m.map((u,j)=>{const y=c||r===j;return e.jsx(je,{...u,onClick:()=>n(j),active:y},`Testimonials-item--${j}`)})}),!i&&e.jsx(o,{display:"flex",justifyContent:"center",marginTop:{xs:10,md:10},children:e.jsx(S,{variant:"outlinedV2",size:"small",component:"a",href:oe.google.link,target:"_blank",style:{minWidth:149,margin:"auto"},children:s.formatMessage({id:"home.testimonials.seeMore"})})})]})]})}function ke({image:t,imageXl:s,title:i,description:c,to:r=k("qrCodesOn")}){const a=b(),m=f("mdDown"),[l,h]=x.useState(!1);return e.jsxs(o,{maxWidth:328,minHeight:{xs:405,md:430},px:2,py:2,borderRadius:2,display:"flex",flexDirection:"column",onMouseOver:()=>h(!0),onMouseLeave:()=>h(!1),sx:n=>({background:d.white,border:`1px solid ${d.gray.normal}`,boxShadow:"0px 4px 6px 0px rgba(205, 209, 224, 0.15)","& .image-wrapper":{maxHeight:242,transition:q.transition()},"&:hover":{[n.breakpoints.up("md")]:{"& .image-wrapper":{maxHeight:220}}}}),children:[e.jsx(o,{width:"100%",borderRadius:2,maxHeight:{xs:180,md:242},overflow:"hidden",background:d.gray.light,className:"image-wrapper",children:e.jsx(I,{component:"img",srcSet:`${s} 1464w`,sizes:"(min-width: 1920px) 1464px, (min-width: 960px) 356px, calc(100vw - 40px)",src:t,alt:i,sx:{width:"100%",verticalAlign:"top",height:"auto"},width:"307",height:"270",loading:"lazy"})}),i&&e.jsx(p,{variant:"body1",fontWeight:600,sx:{mt:7},children:i}),c&&e.jsx(p,{variant:"body2",color:d.gray.text,mt:2,children:c}),e.jsx(A,{in:l||m,children:e.jsxs(o,{component:C,sx:{color:d.primary.blue,"@media (hover: hover)":{"&:hover":{color:d.primary.darkBlue}},"&:active":{color:d.primary.darkBlue}},display:"flex",alignItems:"center",gap:2,mt:2,to:r,children:[e.jsx(p,{variant:"body2",fontWeight:600,children:a.formatMessage({id:"common.moreInfo"})}),e.jsx(ae,{name:"arrow_right"})]})})]})}const ve="/assets/qrs-on-cards-B2g5E0es.webp",Ce="/assets/qrs-on-cards-2x-4t0A1eJG.webp",ye="/assets/qrs-on-brochures-DOVUkGne.webp",qe="/assets/qrs-on-brochures-2x-DQaxf5W3.webp",Me="/assets/qrs-on-bottles-n0qrz0HM.webp",Se="/assets/qrs-on-bottles-2x-D8iq-LcN.webp",Ie="/assets/qrs-on-menus-BtN3ntq5.webp",Fe="/assets/qrs-on-menus-2x-Dk6RspsO.webp",Re="/assets/qrs-on-packaging-BiDu3woO.webp",De="/assets/qrs-on-packaging-2x-C6qrR1zO.webp",We="/assets/qrs-on-flyers-CPkFj-2J.webp",Be="/assets/qrs-on-flyers-2x-BPWiaElX.webp",v={cards:{main:ve,large:Ce},brochures:{main:ye,large:qe},flyers:{main:We,large:Be},bottles:{main:Me,large:Se},menus:{main:Ie,large:Fe},packaging:{main:Re,large:De}};function Te(){const t=b();return x.useMemo(()=>["cards","flyers","brochures","bottles","packaging","menus"],[]).map((i,c)=>{var r,a;return{id:i,image:(r=v==null?void 0:v[i])==null?void 0:r.main,imageXl:(a=v==null?void 0:v[i])==null?void 0:a.large,title:t.formatMessage({id:`home.qrsOn.items.${c}.name`}),description:t.formatMessage({id:`home.qrsOn.items.${c}.description`})}})}function Le({onClick:t,...s}){return e.jsx(z,{...s,onClick:t,direction:"right",positioned:!1})}function Ae({onClick:t,...s}){return e.jsx(z,{...s,onClick:t,direction:"left",positioned:!1})}function Qe(){const t=b(),s=x.useRef(null),i=f("mdDown"),c=f("smDown"),r=Te(),[a,m]=x.useState(0),l=x.useMemo(()=>({ref:s,infinite:!1,slidesToScroll:1,slidesToShow:3,variableWidth:!1,arrows:!1,touchThreshold:500,afterChange:n=>m(n),responsive:[{breakpoint:659,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:540,settings:{slidesToShow:1.1,slidesToScroll:1}}]}),[]),h=e.jsx(S,{size:"small",variant:"outlinedV2",component:C,to:k("qrCodesOn"),sx:{"&&&":{minWidth:104}},children:t.formatMessage({id:"common.seeMore"})});return e.jsxs(o,{sx:{background:{xs:"linear-gradient(270deg, #F0F0FF 30%, #FFF 70%)",md:"linear-gradient(254deg, #F0F0FF 0%, #FFFFFF 68.52%)"},"& .slick-track":{display:"flex"},"& .slick-slide":{"&:not(:first-child)":{marginLeft:5}}},width:"100%",padding:{xs:"65px 0 57px",md:"100px 0 90px"},overflow:"hidden",component:"section",children:[e.jsxs(M,{flexDirection:{xs:"column",md:"row"},alignItems:{xs:"flex-start",md:"flex-end"},justifyContent:{md:"space-between"},gap:{xs:5.5,md:10},children:[e.jsxs(F,{maxWidth:795,children:[e.jsx(p,{variant:"caption",fontWeight:700,color:d.primary.blue,component:"h3",textTransform:"uppercase",children:t.formatMessage({id:"home.qrsOn.title"})}),e.jsx(p,{variant:i?"h3":"h2",component:"h2",fontWeight:400,mt:5,maxWidth:795,children:t.formatMessage({id:"home.qrsOn.description"})})]}),c&&h]}),!!(r!=null&&r.length)&&e.jsxs(e.Fragment,{children:[e.jsx(D,{style:{marginTop:i?20:64,marginLeft:"auto",marginRight:"auto",maxWidth:1024,width:i?"calc(100% - 40px)":"calc(100% - 80px)"},...l,children:r.map(n=>e.jsx(ke,{...n,to:k("qrCodesOnInternal").replace(":category",n.id)},`QrsOn-Item--${n.id}`))}),!c&&e.jsxs(M,{display:"flex",flexDirection:"row",justifyContent:"space-between",gap:5,width:"100%",mt:6,children:[e.jsxs(o,{display:"flex",justifyContent:"flex-start",gap:3,children:[e.jsx(Ae,{disabled:a===0,onClick:()=>{a>0&&s.current.slickPrev()}}),e.jsx(Le,{disabled:a>r.length-4,onClick:()=>{a<r.length-3&&s.current.slickNext()}})]}),h]})]})]})}function Ze({title:t,image:s,imageMobile:i,id:c}){const r=b(),a=f("mdDown"),m=f("smDown"),l=k("qrForBusinessInternal").replace(":category",c);return e.jsxs(o,{width:"100%",height:{xs:300,md:353},position:"relative",display:"flex",sx:{background:d.black,py:{xs:7,md:20.5},px:{xs:7,md:12},zIndex:-1,".slick-active &":{zIndex:1}},alignItems:{xs:"flex-end",md:"flex-start"},borderRadius:6,overflow:"hidden",children:[e.jsx(o,{position:"absolute",top:0,left:{xs:0,sm:"unset"},right:{xs:"unset",sm:0},height:353,width:{xs:"100%",sm:"69%"},children:e.jsx(I,{component:"img",src:m?i:s,alt:t,sx:{height:{xs:"auto",sm:"100%"},width:{xs:"100%",sm:"auto"}},...m?{width:"280",height:"272"}:{width:"711",height:"353"},loading:"lazy"})}),e.jsx(o,{position:"absolute",top:0,right:0,display:"flex",flexDirection:{xs:"column",sm:"row"},width:"100%",height:{xs:300,sm:353},sx:{background:{xs:"linear-gradient(0deg, #220E27 10%, rgba(34, 14, 39, 0.20) 62%)",sm:"linear-gradient(90deg, #220E27 32%, rgba(34, 14, 39, 0.20) 60%)"}}}),e.jsxs(F,{position:"relative",maxWidth:{xs:164,md:320},alignItems:"flex-start",children:[t&&e.jsx(p,{variant:a?"subtitle3":"h3",component:"p",color:d.white,fontWeight:400,children:t}),e.jsx(S,{size:"small",variant:"outlinedV2",white:"true",component:C,to:l,sx:{"&&&":{minWidth:104,mt:7}},children:r.formatMessage({id:"common.seeMore"})})]})]})}const Ee="/assets/qrs-for-events-x2-BbQNiFKV.webp",ze="/assets/qrs-for-events-mobile-x2-DQkMn9Wo.webp",_e="/assets/qrs-for-nonprofits-x2-DeCCr4jR.webp",Oe="/assets/qrs-for-nonprofits-mobile-x2-B5BoZL0j.webp",He="/assets/qrs-for-photographers-x2-nbhH3joU.webp",$e="/assets/qrs-for-photographers-mobile-x2-xJLtdkYU.webp";function Ve(t){return e.jsxs(R,{width:"56",height:"56",fill:"none",viewBox:"0 0 56 56",...t,children:[e.jsx("path",{d:"M43.561 38.458a.695.695 0 0 0-.917-.364l-2.247.973-2.975-6.86a5.782 5.782 0 0 0 2.464-2.933 6.33 6.33 0 0 0-.168-4.872c-.784-1.729-1.855-3.36-3.164-4.851a1.406 1.406 0 0 0-1.05-.476c-.189 0-.378.035-.56.119l-6.629 2.877a1.216 1.216 0 0 0-.315.203 1.51 1.51 0 0 0-.315-.203l-6.629-2.877a1.437 1.437 0 0 0-.56-.119c-.392 0-.777.168-1.05.476a19.659 19.659 0 0 0-3.164 4.851c-.7 1.54-.763 3.318-.168 4.872a5.787 5.787 0 0 0 2.464 2.933l-2.975 6.86-2.247-.973a.69.69 0 0 0-.917.364.693.693 0 0 0 .364.917l5.761 2.499a.647.647 0 0 0 .28.056.7.7 0 0 0 .644-.42.693.693 0 0 0-.364-.917l-2.233-.966 2.975-6.86a5.733 5.733 0 0 0 1.624.238c2.366 0 4.536-1.421 5.53-3.619.406-.889.728-1.855.987-2.877a16.56 16.56 0 0 0 .987 2.877c.994 2.198 3.171 3.619 5.53 3.619a5.77 5.77 0 0 0 1.624-.238l2.975 6.86-2.233.966a.695.695 0 0 0 .28 1.337.798.798 0 0 0 .28-.056l5.761-2.499a.695.695 0 0 0 .364-.917h-.014Zm-17.822-9.646c-.798 1.764-2.513 2.8-4.256 2.8-.357 0-.707-.049-1.057-.133l-1.281-.56c-1.855-1.197-2.597-3.717-1.589-5.929a18.35 18.35 0 0 1 2.94-4.508l6.629 2.877c-.21 2.128-.693 3.927-1.386 5.453Zm8.778 2.793c-1.743 0-3.458-1.029-4.256-2.8-.693-1.533-1.176-3.325-1.386-5.453l6.629-2.877a17.955 17.955 0 0 1 2.94 4.508c1.008 2.212.259 4.725-1.589 5.929l-1.281.56c-.35.091-.707.133-1.057.133ZM27.839 18.235a.702.702 0 0 1-.7-.7v-2.772c0-.385.315-.7.7-.7.385 0 .7.315.7.7v2.772c0 .385-.315.7-.7.7Z",fill:"currentColor"}),e.jsx("path",{d:"M30.61 19.621a.697.697 0 0 1-.497-1.19l2.08-2.079a.697.697 0 1 1 .987.987l-2.08 2.079a.687.687 0 0 1-.496.203h.007ZM25.067 19.621a.717.717 0 0 1-.497-.203l-2.08-2.079a.697.697 0 1 1 .988-.987l2.079 2.079a.697.697 0 0 1-.497 1.19h.007Z",fill:"currentColor"}),e.jsx("path",{d:"M19.761 31.255c-2.296-1.001-3.318-3.822-2.212-6.265a18.35 18.35 0 0 1 2.94-4.508l6.629 2.877c-.21 2.128-.693 3.927-1.386 5.453-1.071 2.359-3.759 3.402-5.978 2.443h.007Z",fill:"#fff"}),e.jsx("path",{d:"M25.886 26.117h-8.078c-.098.994-.028 4.242 3.311 4.746 2.709.168 4.13-1.799 4.767-4.746Z",fill:"currentColor"}),e.jsx("path",{d:"M36.24 31.255c2.295-1.001 3.317-3.822 2.211-6.265a18.35 18.35 0 0 0-2.94-4.508l-6.629 2.877c.21 2.128.693 3.927 1.386 5.453 1.071 2.359 3.76 3.402 5.978 2.443h-.007Z",fill:"#fff"}),e.jsx("path",{d:"M30.114 26.117h8.078c.098.994.028 4.242-3.311 4.746-2.709.168-4.13-1.799-4.767-4.746Z",fill:"currentColor"})]})}function Pe(t){return e.jsxs(R,{width:"56",height:"56",fill:"none",viewBox:"0 0 56 56",...t,children:[e.jsx("path",{d:"M42.623 25.004h-1.477c-.65-1.785-1.267-3.108-2.793-4.354.05-.7-.133-2.674.273-5.355-2.072.182-3.885.854-4.984 2.877a13.632 13.632 0 0 0-4.074-.63c-6.72 0-12.166 4.823-12.166 10.773 0 2.975 1.365 5.67 3.57 7.623l.54 4.774h5.816l.497-1.743c.574.07 1.148.126 1.743.126.4 0 .791-.021 1.176-.056l.497 1.673h5.866l.49-4.319c1.87-1.456 3.22-3.402 3.808-5.621h1.218c.567 0 1.022-.455 1.022-1.022v-3.717c0-.567-.455-1.022-1.022-1.022v-.007Z",fill:"#fff"}),e.jsx("path",{d:"M25.62 21.812a.684.684 0 0 1-.525-.238.698.698 0 0 1 .056-.987c1.407-1.253 4.543-1.323 6.195-.546.35.161.497.581.336.931a.696.696 0 0 1-.931.336c-1.204-.567-3.738-.511-4.676.322a.694.694 0 0 1-.462.175l.007.007Z",fill:"currentColor"}),e.jsx("path",{d:"M42.623 24.304h-.987c-.546-1.442-1.19-2.758-2.569-3.969v-.518c-.014-1.001-.028-2.513.26-4.417a.685.685 0 0 0-.183-.581.724.724 0 0 0-.574-.217c-1.589.14-3.808.588-5.243 2.751a14.258 14.258 0 0 0-3.752-.511c-5.845 0-10.787 3.493-12.348 8.26-.385-.042-.84-.112-1.302-.224.147-.154.266-.329.357-.511a1.75 1.75 0 0 0 .021-1.54c-.427-.994-1.568-1.33-2.485-1.141-.938.196-1.547.896-1.547 1.764-.014.609.231 1.099.623 1.498-.238.07-.476.133-.679.182a.707.707 0 0 0-.539.833c.07.329.357.553.686.553.05 0 .098 0 .147-.014a10.13 10.13 0 0 0 1.911-.623c.931.364 1.932.525 2.471.595a9.994 9.994 0 0 0-.182 1.834c0 2.996 1.281 5.817 3.605 7.959l.511 4.508a.697.697 0 0 0 .693.623h5.817a.7.7 0 0 0 .672-.504l.336-1.176c.686.063 1.274.077 1.897.042l.343 1.141a.706.706 0 0 0 .672.497h5.866a.692.692 0 0 0 .693-.623l.455-4.025c1.764-1.442 3.017-3.255 3.668-5.285h.693a1.72 1.72 0 0 0 1.722-1.722v-3.717a1.72 1.72 0 0 0-1.722-1.722h-.007Zm-27.594-.567c-.098.203-.343.399-.65.588-.435-.238-.722-.525-.715-.847 0-.217.147-.357.434-.413.07-.014.14-.021.217-.021.294 0 .602.112.707.357.07.154.056.245.007.343v-.007Zm27.916 6.006a.326.326 0 0 1-.322.322h-1.218a.71.71 0 0 0-.679.525c-.539 2.037-1.77 3.85-3.563 5.25a.715.715 0 0 0-.266.476l-.413 3.696h-4.718l-.35-1.176a.694.694 0 0 0-.728-.497c-.93.077-1.7.07-2.772-.07a.703.703 0 0 0-.763.504l-.357 1.239h-4.662l-.469-4.151a.734.734 0 0 0-.23-.448c-2.15-1.897-3.333-4.417-3.333-7.098 0-5.551 5.145-10.073 11.466-10.073 1.302 0 2.604.203 3.864.602a.705.705 0 0 0 .826-.336c.721-1.33 1.834-2.086 3.556-2.401-.175 1.596-.16 2.898-.154 3.724 0 .336.007.595 0 .77a.706.706 0 0 0 .26.595c1.322 1.078 1.903 2.212 2.575 4.053.098.28.364.462.658.462h1.477c.175 0 .322.147.322.322v3.717l-.007-.007Z",fill:"currentColor"}),e.jsx("path",{d:"M33.355 26.11c-.742-.847-2.212-1.288-4.123-.028-1.617-1.155-3.164-.854-3.976-.035-.798.805-1.211 2.45.273 4.459 1.07 1.274 2.303 2.289 3.66 3.031.015.007.029.014.043.014.014 0 .035 0 .049-.014 1.764-1.12 2.96-2.1 3.752-3.087 1.35-1.526 1.176-3.374.329-4.34h-.007Z",fill:"currentColor"})]})}function Ge(t){return e.jsxs(R,{width:"56",height:"56",fill:"none",viewBox:"0 0 56 56",...t,children:[e.jsx("path",{d:"M16.842 25.886h23.373v13.888a2.014 2.014 0 0 1-2.009 2.009H18.851a2.014 2.014 0 0 1-2.009-2.009V25.886Z",fill:"#fff"}),e.jsx("path",{d:"m17.248 19.173 18.62-4.893c1.064-.28 2.177.294 2.478 1.281l.903 2.947-22.484 5.908-.903-2.947c-.301-.987.315-2.016 1.386-2.296Z",fill:"currentColor"}),e.jsx("path",{d:"M40.215 24.486H22l17.612-4.627c.37-.098.679-.343.868-.672.182-.336.224-.728.112-1.092l-.903-2.947c-.42-1.379-1.764-2.338-3.27-2.338-.307 0-.608.042-.902.119l-18.62 4.893a3.434 3.434 0 0 0-2.107 1.61 3.121 3.121 0 0 0-.26 2.45l.904 2.947c.042.14.112.273.189.385a1.385 1.385 0 0 0-.182.679v13.888a3.409 3.409 0 0 0 3.409 3.409h19.355a3.409 3.409 0 0 0 3.409-3.409V25.893c0-.77-.63-1.4-1.4-1.4v-.007Zm-22.967-5.313 18.62-4.893a2.14 2.14 0 0 1 .553-.07c.875 0 1.68.532 1.932 1.351l.903 2.947-22.484 5.908-.903-2.947c-.301-.987.315-2.016 1.386-2.296h-.007Zm22.967 20.608a2.009 2.009 0 0 1-2.01 2.009H18.852a2.009 2.009 0 0 1-2.01-2.009v-8.659h23.374v8.659Zm0-9.359H16.842v-4.529h23.373v4.529Z",fill:"currentColor"}),e.jsx("path",{d:"M16.842 25.886v4.536h3.927l3.087-4.536h-7.014ZM27.839 25.886l-3.087 4.536h4.984l3.094-4.536h-4.991ZM36.813 25.886l-3.087 4.536h6.49v-4.536h-3.403Z",fill:"currentColor"}),e.jsx("path",{d:"m30.786 15.617-3.836 1.008 4.48 3.934 3.836-1.008-4.48-3.934ZM22.323 17.843l-3.83 1.008 4.48 3.934 3.837-1.008-4.487-3.934Z",fill:"#fff"}),e.jsx("path",{d:"m31.486 36.246-4.242 2.275c-.287.154-.623-.084-.623-.448V33.53c0-.364.336-.602.623-.448l4.242 2.275c.336.175.336.714 0 .889Z",fill:"currentColor"})]})}function Ke(){const t=b(),s=E(c=>c.user.translationsReady);return x.useMemo(()=>[{id:"events",title:t.formatMessage({id:"home.qrsFor.banner.events.title"}),pagination:{text:t.formatMessage({id:"home.qrsFor.banner.events.button"}),icon:Ve},image:Ee,imageMobile:ze},{id:"nonprofits",title:t.formatMessage({id:"home.qrsFor.banner.nonprofits.title"}),pagination:{text:t.formatMessage({id:"home.qrsFor.banner.nonprofits.button"}),icon:Pe},image:_e,imageMobile:Oe},{id:"photographers",title:t.formatMessage({id:"home.qrsFor.banner.photographers.title"}),pagination:{text:t.formatMessage({id:"home.qrsFor.banner.photographers.button"}),icon:Ge},image:He,imageMobile:$e}],[s])}function Ne(){const t=b(),s=x.useRef(null),i=f("mdDown"),[c,r]=x.useState(0),a=Ke(),m=n=>{r(n)},l=x.useMemo(()=>({ref:s,dots:!1,arrows:!1,fade:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,afterChange:m,waitForAnimate:!1}),[]),h=n=>{var g;(g=s==null?void 0:s.current)==null||g.slickGoTo(n),r(n)};return e.jsx(o,{width:"100%",py:{xs:13,md:16},sx:{background:{xs:d.gray.light,md:d.white}},component:"section",children:e.jsxs(M,{children:[e.jsx(p,{variant:"caption",fontWeight:700,color:d.primary.blue,component:"h3",textTransform:"uppercase",children:t.formatMessage({id:"home.qrsFor.caption"})}),e.jsx(p,{variant:i?"h3":"h2",component:"h2",fontWeight:400,mt:5,textAlign:"center",children:t.formatMessage({id:"home.qrsFor.title"})}),e.jsx(p,{variant:"subtitle3",component:"p",mt:2,color:d.gray.text,textAlign:"center",children:t.formatMessage({id:"home.qrsFor.description"})}),e.jsx(D,{style:{marginTop:48,width:"100%"},...l,children:!!(a!=null&&a.length)&&a.map(n=>e.jsx(Ze,{...n},n.id))}),e.jsx(o,{mt:{xs:6,md:11},width:"100%",display:"flex",justifyContent:{xs:"center",md:"space-between"},children:!!(a!=null&&a.length)&&a.map((n,g)=>{var W,B;const u=g===c,j=u?d.primary.blue:d.gray.dark,y=((W=n.pagination)==null?void 0:W.icon)||(()=>null);return i?e.jsx(o,{disableRipple:!0,component:Q,py:2,px:1,onClick:()=>h(g),children:e.jsx(o,{width:40,height:0,sx:{borderBottom:"2px solid transparent",borderColor:u?d.primary.blue:d.gray.dark,transition:q.transition()}})},n.id):e.jsx(V,{width:"33%",maxWidth:293,height:80,onClick:()=>h(g),selected:u,iconComponent:()=>e.jsx(y,{fontSize:"inherit",sx:{fontSize:56,mr:3,color:j}}),children:(B=n.pagination)==null?void 0:B.text},n.id)})}),e.jsx(o,{mt:{xs:9,md:11},display:"flex",justifyContent:"center",children:e.jsx(S,{size:"small",variant:"outlinedV2",component:C,to:k("qrForBusiness"),sx:{"&&&":{minWidth:104}},children:t.formatMessage({id:"common.seeMore"})})})]})})}function st(){const t=x.useRef(),s=ie(t);return e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:t}),s&&e.jsxs(e.Fragment,{children:[e.jsx(Qe,{}),e.jsx(Ne,{}),e.jsx(ge,{}),e.jsx(we,{}),e.jsx(de,{})]})]})}export{st as default};