const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Website-CmzNZjhn.js","assets/index-Csef3-wA.js","assets/styles-SxUIMUkx.js","assets/mockup-video-BqUvLByR.js","assets/Wifi-ChQOvD8z.js","assets/Icon-o1TUwOIX.js","assets/Video-CeGsd-9t.js","assets/Pdf-C_NrWymf.js","assets/mockup_pdf-B-5vjlGQ.js","assets/Images-BG7rHASL.js","assets/mockup-images3-CJBxWM9x.js","assets/Landing-DTXCiT1U.js","assets/mockup_landing-Bn1gUOmy.js","assets/Text-Cne2uqJN.js","assets/Email-CUSTBb8r.js","assets/index-DGijHKv5.js","assets/styles-CT3k-gUG.js","assets/Sms-XQ61I605.js","assets/index-DS7hY5Wr.js","assets/Whatsapp-W5EOIXDT.js","assets/index-BFEe8nfO.js","assets/Barcode-Dc95QT3y.js","assets/Search-jdFxEjle.js","assets/Star-DKzdxUkk.js"])))=>i.map(i=>d[i]); import{r as e,_ as a,bk as k,b as h,j as o,Z as b,bl as y,m as v,bm as l,g as p,G as j,bn as f,bo as w,y as E,bp as I,bq as T}from"./index-Csef3-wA.js";import{S as R,M as z,i as x,c as L}from"./twitter_nocolor-CZZvV2f4.js";import{M as P,a as D}from"./Menu-BepZ_SI4.js";const _=e.lazy(()=>a(()=>import("./Website-CmzNZjhn.js"),__vite__mapDeps([0,1,2,3]))),N=e.lazy(()=>a(()=>import("./Wifi-ChQOvD8z.js"),__vite__mapDeps([4,1,2,3,5]))),W=e.lazy(()=>a(()=>import("./Video-CeGsd-9t.js"),__vite__mapDeps([6,1,2,3]))),A=e.lazy(()=>a(()=>import("./Pdf-C_NrWymf.js"),__vite__mapDeps([7,1,8,2,3]))),V=e.lazy(()=>a(()=>import("./Images-BG7rHASL.js"),__vite__mapDeps([9,1,10,2,3]))),B=e.lazy(()=>a(()=>import("./Landing-DTXCiT1U.js"),__vite__mapDeps([11,1,12,2,3]))),C=e.lazy(()=>a(()=>import("./Text-Cne2uqJN.js"),__vite__mapDeps([13,1,2,3]))),O=e.lazy(()=>a(()=>import("./Email-CUSTBb8r.js"),__vite__mapDeps([14,1,15,16]))),S=e.lazy(()=>a(()=>import("./Sms-XQ61I605.js"),__vite__mapDeps([17,1,18,16]))),M=e.lazy(()=>a(()=>import("./Whatsapp-W5EOIXDT.js"),__vite__mapDeps([19,1,20,16]))),Q=e.lazy(()=>a(()=>import("./Barcode-Dc95QT3y.js"),__vite__mapDeps([21,1,2,3,22,5,23]))),q={url:_,"url-static":_,wifi:N,video:W,app:"",business:"",event:"",menu:D,"vcard-plus":"",pdf:A,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=k(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(b,{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 Y({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{Y as Q};