const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Website-B0XPq2oo.js","assets/index-DnB1XXdB.js","assets/styles-Dj_rTrMW.js","assets/mockup-video-BqUvLByR.js","assets/Wifi-DOJbJG2F.js","assets/Icon-J4cd48xR.js","assets/Phone-SkqePKWB.js","assets/Video-6uZCTO0T.js","assets/Pdf-DufHia55.js","assets/mockup_pdf-B-5vjlGQ.js","assets/Images-2XvUrvlV.js","assets/mockup-images3-CJBxWM9x.js","assets/Landing-CKuoQJxH.js","assets/mockup_landing-Bn1gUOmy.js","assets/Text-CmcjEKXu.js","assets/Email-Xzg9K0Nh.js","assets/index-GeNT8hOl.js","assets/styles-D70fo_QL.js","assets/Sms-xO6FeuXv.js","assets/index-DpTIWDKo.js","assets/Whatsapp-CDe3glzy.js","assets/index-CXmGbpaI.js","assets/Barcode-J3BV4C_t.js","assets/Search-BF985Gek.js","assets/Star-BDIRaGT3.js"])))=>i.map(i=>d[i]); import{r as e,_ as a,b5 as b,b as h,j as o,Y as k,b6 as y,m as v,b7 as l,i as p,I as j,b8 as f,b9 as w,A as E,ba as I,bb as T}from"./index-DnB1XXdB.js";import{S as R,M as z,i as x,c as L}from"./twitter_nocolor-BV2e2BPP.js";import{M as P,a as D}from"./Menu-DcEXusp2.js";const _=e.lazy(()=>a(()=>import("./Website-B0XPq2oo.js"),__vite__mapDeps([0,1,2,3]))),A=e.lazy(()=>a(()=>import("./Wifi-DOJbJG2F.js"),__vite__mapDeps([4,1,2,3,5,6]))),N=e.lazy(()=>a(()=>import("./Video-6uZCTO0T.js"),__vite__mapDeps([7,1,2,3]))),W=e.lazy(()=>a(()=>import("./Pdf-DufHia55.js"),__vite__mapDeps([8,1,9,2,3]))),V=e.lazy(()=>a(()=>import("./Images-2XvUrvlV.js"),__vite__mapDeps([10,1,11,2,3]))),B=e.lazy(()=>a(()=>import("./Landing-CKuoQJxH.js"),__vite__mapDeps([12,1,13,2,3]))),C=e.lazy(()=>a(()=>import("./Text-CmcjEKXu.js"),__vite__mapDeps([14,1,2,3]))),O=e.lazy(()=>a(()=>import("./Email-Xzg9K0Nh.js"),__vite__mapDeps([15,1,16,17]))),S=e.lazy(()=>a(()=>import("./Sms-xO6FeuXv.js"),__vite__mapDeps([18,1,19,17]))),M=e.lazy(()=>a(()=>import("./Whatsapp-CDe3glzy.js"),__vite__mapDeps([20,1,21,17]))),Q=e.lazy(()=>a(()=>import("./Barcode-J3BV4C_t.js"),__vite__mapDeps([22,1,2,3,23,5,6,24]))),q={url:_,"url-static":_,wifi:A,video:N,app:"",business:"",event:"",menu:D,"vcard-plus":"",pdf:W,images:V,"link-list":"",mp3:"",coupon:"",landing:B,playlist:"",text:C,email:O,sms:S,whatsapp:M,barcode:Q,product:""};function F({type:t,large:s=!1,...n}){const r=y(),m=b(t),u=h(),{src:d,...i}=(r==null?void 0:r[t])||{},c=d?()=>o.jsx(x.ImageWrapper,{children:o.jsx(x.Image,{src:d,alt:u.formatMessage({id:"mockups.imagesAlt"},{qrName:m}),...i})}):q[t];return o.jsx(P,{type:t,...n,children:o.jsx(k,{in:!0,children:o.jsx("div",{style:{height:"100%",marginTop:"-10px"},className:"home-mockup",children:o.jsx(e.Suspense,{fallback:o.jsx("div",{}),children:c?o.jsx(c,{large:s}):o.jsx(R,{className:t,children:o.jsx(z,{large:s,type:t})})})})},t)})}const H=v(t=>({root:{overflow:"hidden",[t.breakpoints.down("lg")]:{width:"calc(100% - 40px)",margin:"auto",borderRadius:12,background:"none !important",marginBottom:30},[t.breakpoints.down("md")]:{marginBottom:0}},container:{width:"100%",maxWidth:1280,height:475,margin:"auto",display:"grid",gridTemplateColumns:"repeat(2, 1fr)",[t.breakpoints.up("md")]:{height:576},[l]:{height:650},[t.breakpoints.down("lg")]:{display:"flex",flexDirection:"column",height:"auto",marginTop:-30},[t.breakpoints.down("md")]:{marginTop:-80}},infoWrapper:{paddingTop:30,paddingBottom:30,height:"100%",display:"flex",justifyContent:"center",flexDirection:"column",[t.breakpoints.up("md")]:{".reverse &":{paddingLeft:170}},[t.breakpoints.down("lg")]:{order:1,background:p.gray.light,padding:"32px 24px 30px"},[l]:{".reverse &":{paddingRight:40,paddingLeft:130}}},title:{color:p.black,fontSize:40,fontWeight:700,[t.breakpoints.down("lg")]:{fontSize:28}},description:{maxWidth:480,marginTop:20,color:p.gray.darkest,fontSize:20,fontWeight:400,lineHeight:"32px",[t.breakpoints.up("md")]:{paddingRight:20},[t.breakpoints.down("lg")]:{marginTop:12,fontSize:14,lineHeight:"22px"}},actions:{display:"flex",alignItems:"center",gap:13,marginTop:44},button:{},link:{color:p.primary.blue,fontSize:18,fontWeight:700,marginLeft:13,padding:"5px 10px",transition:j.transition(),"&:hover, &:active":{color:p.primary.darkBlue}},mockupWrapper:{position:"relative",display:"flex",alignItems:"flex-end",marginRight:55,[t.breakpoints.down("lg")]:{overflow:"hidden",marginRight:0,"&::before":{content:'""',position:"absolute",borderRadius:"12px 12px 0 0",bottom:22,left:0,display:"block",height:330,width:"100%",background:({type:s})=>{var n;return(n=L[s])==null?void 0:n.background}}}},mockupImage:{position:"absolute",top:0,left:0,maxWidth:"100%",[l]:{transform:"scale(1.2)"},[t.breakpoints.down("lg")]:{position:"relative"}},mockupCell:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end",position:"absolute",bottom:-80,overflow:"hidden",right:"5%","& .home-mockup":{overflow:"hidden"},[t.breakpoints.up("md")]:{transform:"scale(1.2)",bottom:-75,right:"15%"},[l]:{marginBottom:0,transform:"translateY(85px)",right:"0%"},".reverse &":{justifyContent:"flex-start",right:"initial",left:"5%",[t.breakpoints.up("md")]:{left:"20%"},[l]:{left:"0%"}},[t.breakpoints.down("lg")]:{position:"relative",left:"initial !important",right:"initial !important",bottom:-105,justifyContent:"center !important"}}}),"QrBanner");function G({id:t,reverse:s=!1,name:n,description:r="",bgGradient:m="",bgImgProps:u={},urlBg:d=""}){const i=H({type:t,reverse:s}),c=h(),g=o.jsxs("div",{className:i.mockupWrapper,children:[o.jsx(f,{lgDown:!0,children:o.jsx("div",{className:i.mockupImage,style:{background:`url("${d}")`,...u}})}),o.jsx("div",{className:i.mockupCell,children:o.jsx(F,{withoutContainer:!0,large:!0,type:t,dark:w.includes(n)})})]});return o.jsx("section",{className:E([i.root,{reverse:s}]),style:{background:m},children:o.jsxs("div",{className:i.container,children:[!s&&g,o.jsxs("div",{className:i.infoWrapper,children:[o.jsx("h3",{className:i.title,children:n}),o.jsx("p",{className:i.description,children:r}),o.jsxs("div",{className:i.actions,children:[o.jsx(I,{className:i.button,hasArrow:!1,homeRedirect:!0}),o.jsx(f,{lgDown:!0,children:o.jsx(T,{to:`/qr-types/${t}`,className:i.link,children:c.formatMessage({id:"qrTypes.moreInfo"})})})]})]}),s&&g]})})}export{G as Q};